Michael Uleysky
cbfd462ff0
Gmt module: Conversion function for GMTPen now using new parameter reading scheme and error reporting.
8 years ago
Michael Uleysky
d02fd289f8
Gmt module: Functions ColorGray, ColorRGB, ColorHSV, ColorCMYK now using new parameter reading scheme and error reporting.
8 years ago
Michael Uleysky
591bc837eb
Gmt module: Fix error in conversion function from string to gmt_dash.
8 years ago
Michael Uleysky
b3c628f704
Tests: Add test for creating different GMTProjection's.
8 years ago
Michael Uleysky
55eef96865
Gmt module: Rename incorrect template name Base2NonNeg to right Base2Pos.
8 years ago
Michael Uleysky
41d13f16bd
Gmt module: Conversion function for GMTColor now using new parameter reading scheme and error reporting.
8 years ago
Michael Uleysky
a3a6fa88f9
Gmt module: Error reporting in all Convert functions.
8 years ago
Michael Uleysky
59dfac220a
Gmt module: Conversion function for GMTProjection now using new parameter reading scheme and error reporting.
8 years ago
Michael Uleysky
5b466460d6
Gmt module: Conversion function for GMTRegion now using new parameter reading scheme and error reporting.
8 years ago
Michael Uleysky
8a088d14c3
Gmt module: Rewrite Conver2Struct and its derivatives in form appropriate for new parameters parsing scheme.
8 years ago
Michael Uleysky
e485d26369
Gmt module. Add error reporting in function Convert of gmt_coord.
8 years ago
Michael Uleysky
6e9dfbf0e7
Gmt module: Using template-based projections names. Fix errors in string representations of projections.
8 years ago
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.
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