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
Michael Uleysky
90f6c74c0a
Fix incorrect check.
9 years ago
Michael Uleysky
403b2edb62
Add function Exist() to temaplates OBType and OBTypeM to check if ObjectBase* pointer is non-zero.
9 years ago
Michael Uleysky
186017f05c
Check compiler options.
9 years ago
Michael Uleysky
b0969362a7
OBType and OBTypeM now can accept zero pointer as constructor parameter.
...
OBType can be autoconverted to pointer on template parameter class.
9 years ago
Michael Uleysky
c218ef8eaf
Use templates for generating standart arifmetic functions.
...
Automatic translation of strings to numbers in arifmetic functions.
9 years ago
Michael Uleysky
c4ff7d9233
Add template OBTypeM as multiple-types analog of OBType.
9 years ago
Michael Uleysky
3ef04a9ba0
Add tolower function for strings.
9 years ago
Michael Uleysky
5bed99ad81
Simple converters from strings to double, int and unsigned int added to common.h
9 years ago
Michael Uleysky
0a4dbbadc7
Change type of pointer argument of the function DeallocateBlob() from void* to int8_t*, as Blob() return value.
9 years ago
Michael Uleysky
b442834bdc
Make template Get available for modules.
9 years ago
Michael Uleysky
162a18c72b
Replace IS_OTYPE macros on more useful template OBType
9 years ago
Michael Uleysky
60e557a711
Disable CMake in-source build
9 years ago
Michael Uleysky
ebc4f236db
CMake build system
9 years ago
Michael Uleysky
c63bbdc2ab
Let modules to change list of source files.
9 years ago
Michael Uleysky
71a5ea4272
More strict .gitignore
9 years ago
Michael Uleysky
c5bff0c2f0
Add externally defined CFLAGS and LDFLAGS to compiler and linker options.
9 years ago
Michael Uleysky
4463f6b69a
Make symlinks on all binary files in directory bin
9 years ago
Michael Uleysky
9e85bfe6c7
Fix compilation on Ubuntu
9 years ago
Michael Uleysky
705b220ae1
Build system for modules
9 years ago
Michael Uleysky
7e68629fbe
Add directives in config files for loading modules and setup search paths for modules and includes.
9 years ago
Michael Uleysky
1cf8c24537
Move includes in separate dir
9 years ago
Michael Uleysky
17dcff67cb
Functions accept const ObjectList*, not ObjectList*
9 years ago
Michael Uleysky
c5d4c27a55
Enable Link-Time Optimisation
9 years ago
Michael Uleysky
ef38fb1781
Rearrange code. common.h now have all api for modules.
9 years ago
Michael Uleysky
0ea30b894a
Move exported definitions in common.h
9 years ago
Michael Uleysky
a8d1239b46
Rename arifmetic.{cpp,h} to builtin.{cpp,h}
9 years ago
Michael Uleysky
a23c393e9e
Fix clang and cppcheck warnings
9 years ago
Michael Uleysky
f90e798502
Multithreading support
9 years ago
Michael Uleysky
28cb54ff70
Command-line options.
9 years ago
Michael Uleysky
92e9368e56
Tracking bison locations, so grammatical error messages are informative now.
...
Also, some cosmetic cleanups.
9 years ago
Michael Uleysky
bd9deb8734
Memory leak in case of some grammatical errors
9 years ago