Michael Uleysky
de1eb76336
Code for compare strings with templates.
8 years ago
Michael Uleysky
522a4b2092
Remove unused mutexes from DepTree::thread_params.
8 years ago
Michael Uleysky
b2a7e3627c
Remove unneeded functions from ObjectPair and ObjectList classes.
8 years ago
Michael Uleysky
18911f66b5
Gmt module: all functions return const ObjectBase*
8 years ago
Michael Uleysky
acc973982a
Enforce constantness of all Objects.
8 years ago
Michael Uleysky
da0c897a95
Error reporting in arifmetic and Get<> functions.
...
Replace 0 on nullptr.
8 years ago
Michael Uleysky
79c55b1618
Add support for extended error reporting by functions (functions can return ObjectError object with description of error).
8 years ago
Michael Uleysky
0e49a86bd6
Rewrite parser and evaluator.
...
1) Use plain representation of expressions instead of recursive objects.
2) Make G_tosave, G_toprint and G_vars local.
3) DepTree nodes contains expressions itself instead of references on global objects.
4) Location tracking of errors.
8 years ago
Michael Uleysky
eeeb74f2f4
Error messages from lexical and grammatical parsers now contains include stack.
9 years ago
Michael Uleysky
e1443f1636
Gmt module: Add functions Convert2PNG and Convert2JPG.
9 years ago
Michael Uleysky
64e4613c67
Gmt module: Add function Convert2PDF.
9 years ago
Michael Uleysky
b3c59f832d
Gmt module: Fix memory leak, pointer returned by Get() must be deleted, so, use Find() instead.
9 years ago
Michael Uleysky
176bdb2be0
New function Find() for ObjectPair and ObjectList. Same as Get() but return constant pointer on already existing object.
9 years ago
Michael Uleysky
f34ab7676c
Gmt module: Add function Map.
9 years ago
Michael Uleysky
602fcdf675
Unset CMAKE_SHARED_MODULE_PREFIX to prevent building modules as lib<name>.so. Modules names are <name>.so.
9 years ago
Michael Uleysky
8802277bdb
Gmt module: Add interface to ghostscript.
9 years ago
Michael Uleysky
09b2684d4b
Gmt module: Search and use libgs.
9 years ago
Michael Uleysky
d458087d33
Gmt module: Function GMT_DrawFrame for drawing map frame with ticks and annotations.
9 years ago
Michael Uleysky
7fcf2ee526
Ignore kdevelop files in .gitignore.
9 years ago
Michael Uleysky
5c5e722d53
Gmt module: Rewrite template structure.
...
Write selectors from ObjectList: BaseM2Type (multiple names), BaseMT2Type (multiple names and unnamed parameter with corresponding type),
BaseMD2Type (same as BaseM2Type, but with default value), BaseMTD2Type (same as BaseMT2Type, but with default value).
Define these selectors also for bool type.
9 years ago
Michael Uleysky
c3c6f4643d
Use ToString for printing and dumping ObjectSimple classes.
9 years ago
Michael Uleysky
79ab3b72a7
Gmt module: Fix potential segmentation fault.
9 years ago
Michael Uleysky
4df0d70633
Gmt module: Make ObjectGMTLayer class via ObjectGMTClass template. Add function GMT_LayerShift.
9 years ago
Michael Uleysky
b710786dab
Gmt module: Add BaseM2Double for easy access to parameters with multiple names.
9 years ago
Michael Uleysky
1197c50567
Gmt module: Add structure and function for representation of font parameters.
9 years ago
Michael Uleysky
78e9176d0b
Gmt module: Use ToString instead of std::to_string
9 years ago
Michael Uleysky
05ba7c2421
Gmt module: Rewrite modgmt_func in more template way.
9 years ago
Michael Uleysky
8c2f0c6ef8
Gmt module: Add function Pen.
9 years ago
Michael Uleysky
07752e21c9
Gmt module: Make Base2Something slightly more generic.
9 years ago
Michael Uleysky
9dec1223ca
Gmt module: Rename all files to begin with modgmt_
9 years ago
Michael Uleysky
db9f8b1a93
Gmt module: Functions Color, ColorGray, ColorRGB, ColorHSV, and ColorCMYK.
9 years ago
Michael Uleysky
f1d960a769
Gmt module: Base2Something raise error flag if initialized by pointer of incompatible type.
...
Some small changes.
9 years ago
Michael Uleysky
30e3eaeadc
Gmt module: Prevent conflict of definitions of yyguts_t from different lex files.
9 years ago
Michael Uleysky
5973d82042
Gmt module: Transformation to lowercase was not used then setting projection by name.
9 years ago
Michael Uleysky
07f43394f4
Gmt module: Place const qualifiers where needed.
9 years ago
Michael Uleysky
86ecc17747
Gmt module: Change logic of Projection and Region function.
...
Now, if arguments list contains object of corresponding type, function no just makes copy of this argument, but modify it parameters by other arguments.
9 years ago
Michael Uleysky
ff4503585c
Gmt module: Using Split instead of manual splitting.
9 years ago
Michael Uleysky
fbb0c9a9ed
Gmt module: Realization of Get functions for GMT objects.
...
Realization of Coord, Region and Projection functions.
Move some code from modgmt to modgmt_internals.
Some helper functions.
9 years ago
Michael Uleysky
6267df2b4b
Gmt module: In struct gmt_projection:
...
1) Add NOTDEF values to enums.
2) Change type of projections parameters from double to gmt_coord.
3) Correct Value() function to also print region.
4) Setting project type by the name.
Correct list of include files.
9 years ago
Michael Uleysky
86456cb5dd
Gmt module: ObjectBase-based classes for gmt module.
9 years ago
Michael Uleysky
772cf30db2
Gmt module: Structures, representing GMT entities.
9 years ago
Michael Uleysky
c0d77b160d
Gmt module: CMake build system for gmt module
9 years ago
Michael Uleysky
db62ae83ec
Gmt module: Filters in callgmtmodule. Add default filter and lex-based filter for cutting header and footer of generated eps files.
9 years ago
Michael Uleysky
b0a801a855
Gmt module: Gmt module initial commit
9 years ago
Michael Uleysky
5703808781
Using ToString instead of std::to_string with different format conversion for double
9 years ago
Michael Uleysky
235437354e
Check and really use linker flags
9 years ago
Michael Uleysky
fc13d6586a
Fix incorrect parameter type.
9 years ago
Michael Uleysky
92a617eaac
Prevent conflict of definition of yyguts_t from different lex files.
9 years ago
Michael Uleysky
360cbd42a0
Move const qualifier in right place.
9 years ago
Michael Uleysky
8e9d4c3f0e
Function Split to break strings by delimiters.
9 years ago