Commit Graph

102 Commits

Author SHA1 Message Date
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
83553795d5 compiler_config.pri: let qmake specify -fstrict-aliasing for release builds 2014-01-28 19:01:33 +01:00
Hugues Delorme
60bdef344f cmake: simplify definition of source files to be compiled 2014-01-28 19:00:36 +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
013e57e0ff cmake: fix building of internal source files 2014-01-27 22:56:25 +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
af1e85c4a7 cmake: install also "support" source files 2014-01-27 15:04:22 +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
4ce5795b0d Update CMake build file 2014-01-21 18:28:29 +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
Hugues Delorme
23587a905e Reorganize source files 2014-01-21 11:59:40 +01:00
Hugues Delorme
3e7b8546eb Remove out-dated C++ stuff 2014-01-21 11:07:00 +01:00
Hugues Delorme
a539d38315 Rename qmake.build to qmake 2014-01-21 11:04:41 +01:00
Hugues Delorme
4f6ed17071 occ_support: minor performance improvement 2014-01-21 10:52:53 +01:00
Hugues Delorme
e3915c0bc7 Add more doxygen documentation 2014-01-21 10:51:23 +01:00
Hugues Delorme
b9f3c71d24 Fix minor indentation issues 2014-01-21 10:49:24 +01:00
Hugues Delorme
e2ecf5361c Fix minor qmake projects issues 2014-01-21 10:47:32 +01:00
Hugues Delorme
efbb6d1211 Use regular target suffix (_d for debug and none for release) 2014-01-21 10:45:41 +01:00
Hugues Delorme
db509d6863 Fix indentation issues 2014-01-09 22:22:57 +01:00
Hugues Delorme
af1de1c9cf Fix build errors with OpenCascade 6.6.0 2013-05-28 17:06:53 +02:00
Hugues Delorme
5467ff633f Merge branch 'master' of ssh://slave.lautre.net:22/home/projects/fougsys/fougdataex 2013-04-29 15:48:45 +02:00
Hugues Delorme
9d20aa9569 Fix warnings in occ_libstl.cpp with Visual C++ 2013-04-29 15:47:44 +02:00
Hugues Delorme
95dec25370 Fix link error caused by OCC support with Visual C++ 2013-04-29 15:44:59 +02:00
Hugues Delorme
4e7049ae02 stla: fix typo error in grammar documentation 2013-04-29 13:21:39 +02:00
Hugues Delorme
d46de3ea86 stla: document grammar for STL ASCII 2013-04-29 12:24:51 +02:00
Hugues Delorme
e2bdc6b891 libstl: fix minor code style issues 2013-04-29 11:47:15 +02:00
Hugues Delorme
70e91ea437 bench_libstl: back to work 2013-04-27 00:23:00 +02:00
Hugues Delorme
a7e2f23957 qmake.build: fix GCC link errors with occ_support 2013-04-27 00:22:17 +02:00
Hugues Delorme
d55f1831e1 occ_support: fix minor code style issues 2013-04-27 00:20:12 +02:00
Hugues Delorme
4924de91cb stlb: introduce 'byte_order' parameter (for now only little-endian is supported) 2013-04-27 00:16:38 +02:00
Hugues Delorme
e983afe159 stla: implement writing 2013-04-27 00:11:53 +02:00