Commit Graph

107 Commits

Author SHA1 Message Date
Hugues Delorme
7d853cc3b1 Fix remaining compiler errors since renaming the library to 'gmio' 2014-04-17 10:19:23 +02:00
Hugues Delorme
675e95583a gmio_support: fix missing code adaptations 2014-04-04 16:00:43 +02:00
Hugues Delorme
33ed203983 gmio_core: there was still old FOUG_ prefixes in config.h.cmake 2014-04-04 15:50:42 +02:00
Hugues Delorme
f1e0b1a169 Rename gmio_stl_geom->gmio_stl_mesh and gmio_stl_geom_creator->gmio_stl_mesh_creator 2014-03-31 15:52:04 +02:00
Hugues Delorme
121181bf15 Fix minor code style issues 2014-03-31 15:39:21 +02:00
Hugues Delorme
085644a5e5 Rename FougDataX to gmio (GeoMetry Input/Output) 2014-03-28 16:33:35 +01:00
Hugues Delorme
db04be340a Improve doc 2014-03-27 17:36:18 +01:00
Hugues Delorme
b41d0d4f77 stl: fix constness of input param for foug_stla_write() 2014-03-27 17:35:40 +01:00
Hugues Delorme
8540248028 support: fix minor include issue 2014-03-13 22:56:59 +01:00
Hugues Delorme
37af93feab stl: get rid of FOUG_SLTB_READ_WRITE_ALIGN_SAFE 2014-03-13 22:55:55 +01:00
Hugues Delorme
ab794ded78 Major reorganization of source files into a better source tree 2014-03-13 17:49:39 +01:00
Hugues Delorme
c4bb9015d6 libstl: fix minor code style issue 2014-03-13 17:03:04 +01:00
Hugues Delorme
52fea697cb Surround declaration of functions with FOUG_C_LINKAGE_BEGIN and FOUG_C_LINKAGE_END
This avoids linking errors with use of FougDataX in C++ programs
2014-03-13 15:57:04 +01:00
Hugues Delorme
381dd0d9b7 libstl: rename foug_stl_rw_error to foug_stl_error 2014-03-13 14:41:05 +01:00
Hugues Delorme
41eec9b1b5 Add more doc 2014-03-13 14:37:55 +01:00
Hugues Delorme
01d9e3a3f7 Separate detection of GCC builtin bswap() functions for 16b and 32b 2014-02-25 09:53:36 +01:00
Hugues Delorme
e8b169d79d libstl: replace stl{a,b}_{read,write}.h files by stl_io.h 2014-02-13 17:02:18 +01:00
Hugues Delorme
3b6b1f631e Add more documentation 2014-02-13 16:39:59 +01:00
Hugues Delorme
660c2699e7 Don't declare anonymous enum/struct in the public API 2014-02-13 16:18:09 +01:00
Hugues Delorme
c4c08b1e5c Add more documentation for global header files (just below src/ folder) 2014-02-13 11:51:42 +01:00
Hugues Delorme
3ccd118545 libstl: minor improvement in stla_read hook 2014-02-11 11:18:59 +01:00
Hugues Delorme
6f1d3ac97e libstl: check string iterator limit before access in foug_stl_get_format() 2014-02-11 11:14:49 +01:00
Hugues Delorme
e5b19fb151 occ_support: remove unused attributes in foug_OccStlMeshDomain 2014-02-04 16:29:38 +01:00
Hugues Delorme
bdf97c30e3 Fix buggy foug_decode_uint32_me() 2014-02-04 15:45:31 +01:00
Hugues Delorme
56ab56b0e8 foug_stl_get_format: fix potential bug where read_size is less than fixed_buffer size 2014-01-30 10:32:28 +01:00
Hugues Delorme
fecc9fb478 Revamp error checking 2014-01-30 10:19:22 +01:00
Hugues Delorme
6abac58deb Considerable simplify libstl API 2014-01-29 16:59:19 +01:00
Hugues Delorme
a2f39de890 Fix minor code style issues 2014-01-29 11:34:10 +01:00
Hugues Delorme
55a6837c76 occ_libstl.cpp: adapt to API changes 2014-01-29 11:33:55 +01:00
Hugues Delorme
cb9428c87d stla_read.h: remove typedefs to function pointers 2014-01-29 11:33:19 +01:00
Hugues Delorme
7f13b9248f stlb_read: remove typedef for function pointers, also simplify hookds 2014-01-29 11:32:47 +01:00
Hugues Delorme
966359881e stream: error_func() returns int instead of int32_t 2014-01-29 11:31:44 +01:00
Hugues Delorme
e548e342b9 stl_format.c: fix case that would return FOUG_STL_ASCII_FORMAT instead of FOUG_STL_UNKNOWN_FORMAT 2014-01-29 11:29:55 +01:00
Hugues Delorme
36594dc120 global.h: alais foug_bool_t to int (instead of int8_t) 2014-01-29 11:28:36 +01:00
Hugues Delorme
59e5daf983 Major reorganization to improve performance 2014-01-28 19:06:24 +01:00
Hugues Delorme
dbe36c0eb1 libstl: add stl_format.h,c 2014-01-28 19:05:18 +01:00
Hugues Delorme
c11804fcea libstl: put all error codes in stl_error.h 2014-01-28 19:04:32 +01:00
Hugues Delorme
b41817fcad ascii_parse: add function foug_checked_next_chars() 2014-01-28 10:11:26 +01:00
Hugues Delorme
340ed4f117 ascii_parse: simplify cookie function 2014-01-27 22:57:10 +01:00
Hugues Delorme
6ae2de4985 Move convert.* into internal/ folder 2014-01-27 15:30:46 +01:00
Hugues Delorme
fb9985855a libstl: put ASCII text parsing into separated header/source files 2014-01-27 15:28:12 +01:00
Hugues Delorme
11d5668d4b Simplify cookie mechanism 2014-01-27 15:03:50 +01:00
Hugues Delorme
90f5f084f6 libstl: use strtof() if available (in stla_read.c)
strtof() is faster than strtod(), see:
http://www.gnu.org/software/libc/manual/html_node/Parsing-of-Floats.html
"(...) strtof can be substantially faster than strtod, but has less precision"

strtof() was added in C99 so BUILD_STRICT_C90 must be disabled to have any
chance to use it (MSVC does not provide strtof(), GCC does).
2014-01-23 17:30:23 +01:00
Hugues Delorme
5f0f9f9273 global: improve byte swapping functions (endian.h)
Use platform's builtin byte swapping functions when available
2014-01-23 17:28:59 +01:00
Hugues Delorme
0539a111fd cmake: many improvements about build options and platform checks
* Add option BUILD_STRICT_C90
* Rename options WITH_* by BUILD_WITH_*
* Detect if platform provides builtin byte swap functions
2014-01-23 17:24:50 +01:00
Hugues Delorme
5720614cdc libstl: use field instead of function pointer where possible 2014-01-22 19:17:19 +01:00
Hugues Delorme
6f7d8c4121 stlb: add define to control whether to use memcpy() or safe-align copy 2014-01-22 18:29:57 +01:00
Hugues Delorme
4750e2c989 Add convert.h/convert.c 2014-01-22 18:28:58 +01:00
Hugues Delorme
450c3fd1af Rename qt4_support to qt_support 2014-01-21 16:19:27 +01:00
Hugues Delorme
d0e9c44ae6 Add doxygen file 2014-01-21 16:18:17 +01:00