Michael Uleysky
218d8c0f00
Gmt module: Add possibility for ParsePositionalParameters to parse only part of list.
8 years ago
Michael Uleysky
3d1f1ea499
Gmt module: Fix segfault.
8 years ago
Michael Uleysky
3be794e42c
Gmt module: Simplify code.
8 years ago
Michael Uleysky
8a24425a16
Gmt module: generate parameter name from template.
8 years ago
Michael Uleysky
4578ce31ad
Gmt module: Add templates and classes for parsing parameters from ObjectList.
8 years ago
Michael Uleysky
9c0776b92e
Gmt module: Cleanup modgmt_structs.h
8 years ago
Michael Uleysky
4e9addae93
Simple tests system.
8 years ago
Michael Uleysky
c59ac16589
Fix false error if more then one function have same name.
8 years ago
Michael Uleysky
5827eebde3
Add header guard in builtin.h.
8 years ago
Michael Uleysky
a48e2f9d42
Gmt module: Fix compilation on Ubuntu.
8 years ago
Michael Uleysky
afc5ae64d8
Gmt module: Replace ObjectList::ListValues::size_type on ObjectList::IndexType.
8 years ago
Michael Uleysky
c02f46df5e
Using ObjectList::IndexType instead of ObjectList::ListValues::size_type.
...
Add STL-compatible forward iterator for ObjectList.
8 years ago
Michael Uleysky
3ec43c7de5
Gmt module: Add class for comparision 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.
8 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