Commit Graph

288 Commits

Author SHA1 Message Date
Hugues Delorme
39132c0b3f gmio_core/internal: fix strlen in GMIO_CONST_STRING_FROM_ARRAY() 2015-10-28 16:13:23 +01:00
Hugues Delorme
6d8d694806 gmio_core/internal: fix GCC "char subscripts" warnings in string_utils.h 2015-10-28 16:12:23 +01:00
Hugues Delorme
b7dc8335dd gmio_core/internal: fix GCC compilation error 2015-10-28 16:11:31 +01:00
Hugues Delorme
7a63ad86aa gmio_core/internal: create string.h for string objects 2015-10-22 09:58:38 +02:00
Hugues Delorme
7aeb74ef40 fast_atof: use gmio_clocale_isdigit() 2015-10-21 18:38:04 +02:00
Hugues Delorme
88252c8f8d gmio_core/internal: add gmio_clocale_isdigit()
Also use tables for islower/isupper conversions
2015-10-21 18:37:21 +02:00
Hugues Delorme
d7d51fa210 gmio_stl: faster parsing of STL ascii contents
Don't try to qualify each eaten word from the text stream.
Instead str compare the next word with the expected token string
2015-10-21 18:35:09 +02:00
Hugues Delorme
a66370a76a gmio_stl: cache add/get triangle function pointers 2015-10-14 18:17:03 +02:00
Hugues Delorme
83725f4201 gmio_support: cache OCC triangles and vertices arrays 2015-10-14 12:06:47 +02:00
Hugues Delorme
f5c93e70fe gmio_stl: µ optimizations in gmio_stlb_read_facets() 2015-10-06 11:30:36 +02:00
Hugues Delorme
0e7e0f9ff9 gmio_stl: fix compilation errors in stla_stats.* 2015-09-25 20:13:43 +02:00
Hugues Delorme
bfc38e58b8 gmio_stl: add stla_stats API(no implementation yet) 2015-09-25 16:26:08 +02:00
Hugues Delorme
598123ca47 Rename gmio_buffer -> gmio_memblock 2015-09-25 13:16:41 +02:00
Hugues Delorme
53002389e1 gmio_support: add gmio_[i/o]stream_cpp() functions 2015-09-21 15:58:44 +02:00
Hugues Delorme
ff2368e053 support: add (broken) support of C++ standard streams 2015-09-20 22:58:56 +02:00
Hugues Delorme
215fd68c2b gmio_core: more doc 2015-09-19 23:15:06 +02:00
Hugues Delorme
f6e5f8937b Fix minor code styles issues 2015-09-19 23:14:42 +02:00
Hugues Delorme
b0517b2f39 gmio: add get/set_pos functions to gmio_stream 2015-09-18 14:33:23 +02:00
Hugues Delorme
5ecb401bc0 core_internal: disable unsused function 2015-09-14 11:27:27 +02:00
Hugues Delorme
ac7fd554f8 stla: fix two potential bugs in gmio_stla_read()
* more tolerant read of solid name (can even include "solid")
* set the attribute_byte_count to 0 (triangle passed to callback)
2015-09-11 16:34:18 +02:00
Hugues Delorme
2a65d7b55b cmake: add coveralls support 2015-09-09 17:13:12 +02:00
Hugues Delorme
e60938ea84 Use Doxygen grouping 2015-09-09 11:44:34 +02:00
Hugues Delorme
16fdbb799c gmio_stl: fix Doxygen warnings about invalid <name> HTML tag 2015-09-09 10:56:42 +02:00
Hugues Delorme
409e590f28 gmio_support: make OCC support more C-ish 2015-09-09 10:54:45 +02:00
Hugues Delorme
36a4fd281e tests: add fake_support
fake_support allows to test compilation of gmio_support
is successful. It provides fake sources of the required
3rd party libraries (Qt and OpenCascade).
Fake sources allows to quickly check if nothing is broken
in gmio_support after API changes.
It will also be useful for CI.
2015-09-02 12:07:17 +02:00
Hugues Delorme
56bb6d8e65 cmake: simplifications
* All options reside in the top-level CMakeLists.txt file
* No need to find gmio library, just add "gmio" as a target dependency
* In tests, link to gmio library instead of recompiling needed source code
2015-09-01 18:20:31 +02:00
Hugues Delorme
9fa87e8b20 gmio_support: delete functions gmio_stl_set_occmesh*() 2015-09-01 17:32:57 +02:00
Hugues Delorme
d81ecefa09 cmake: rename option GMIO_BUILD_WITH_LIBSTL -> GMIO_BUILD_LIBSTL 2015-09-01 17:31:33 +02:00
Hugues Delorme
226f763bad cmake: fix build error with .rc file 2015-08-31 16:35:02 +02:00
Hugues Delorme
1ceacf01f0 cmake: fix installation of generated headers 2015-08-31 15:01:47 +02:00
Hugues Delorme
01d8806d2b Merge branch 'master' of https://github.com/fougue/gmio 2015-08-31 14:31:04 +02:00
Hugues Delorme
a06fdc331d cmake: split main CMakeLists.txt into sub-directory files 2015-08-11 23:57:57 +02:00
Hugues Delorme
56142b5826 gmio_stl: move param doc inline 2015-07-28 15:14:39 +02:00
Hugues Delorme
ef7538a4c8 gmio_support: fix build errors since API changes (xxx_func -> func_xxx) 2015-07-24 13:06:34 +02:00
Hugues Delorme
c406a8bb92 Replace fougsys.fr -> fougue.pro 2015-07-13 11:44:29 +02:00
Hugues Delorme
f0f30bb8f1 gmio_stl: silent false-positive coverity defect 2015-07-13 11:20:26 +02:00
Hugues Delorme
13b1d32a9a Rename pointer on functions members
xxx_func -> func_xxx
2015-07-10 11:33:05 +02:00
Hugues Delorme
26fc957569 gmio_stl: fix case where solid name is composed of many words 2015-07-10 10:55:02 +02:00
Hugues Delorme
2857f5ca30 gmio_stl: add gmio_stl_get_format_file() 2015-07-10 09:54:22 +02:00
Hugues Delorme
9fe35b1fc0 gmio_core/internal: add gmio_string_buffer_clear() and gmio_copy_spaces() 2015-07-10 09:52:20 +02:00
Hugues Delorme
1707dd7891 gmio_core: move internal build options into config.h.cmake 2015-06-11 17:22:13 +02:00
Hugues Delorme
44d73a66c8 Fix project name in some license headers 2015-06-10 16:18:59 +02:00
Hugues Delorme
5e51857bc2 gmio: move define GMIO_USE_FAST_ATOF in config.h.cmake 2015-06-10 16:17:06 +02:00
Hugues Delorme
2b099f8edb gmio_stl: simplify doc on STL error codes 2015-06-10 16:11:16 +02:00
Hugues Delorme
9091d714b2 gmio_stl: fix doc about filepath argument in stl_io.h 2015-06-10 15:05:49 +02:00
Hugues Delorme
02f083e02e gmio_core: simplify implementation of toupper() and tolower() in string_utils.h
Also activate GMIO_STRINGUTILS_DIRECT_TESTS
2015-06-09 16:55:06 +02:00
Hugues Delorme
602b4c74d0 gmio_core: fix minor indentation issue 2015-06-09 16:53:42 +02:00
Hugues Delorme
3508eaa236 gmio_stl: fix regression in gmio_stlb_read() 2015-05-28 17:32:05 +02:00
Hugues Delorme
304e1c39bb gmio_core,stl: add new error code GMIO_ERROR_STDIO 2015-05-28 17:31:36 +02:00
Hugues Delorme
62401d5655 gmio_core: fix bug in gmio_eat_word() 2015-05-28 16:20:27 +02:00