Hugues Delorme
9d9d65bbd5
gmio_core: rename member gmio_rwargs::memblock -> stream_memblock
2016-01-05 11:44:10 +01:00
Hugues Delorme
0298cf3c89
gmio_stl: restore stream pos at exit of gmio_stl_infos_get()
2015-12-18 15:30:50 +01:00
Hugues Delorme
b514f12cc3
gmio_stl: rename STL write option for binary header
2015-12-17 19:02:24 +01:00
Hugues Delorme
71bc14b6dc
gmio_stl: API change in stl_io
2015-12-17 12:31:30 +01:00
Hugues Delorme
0f04b296fb
gmio_stl: separate implementations for ASCII/binary gmio_stl_infos_get()
2015-12-17 12:03:45 +01:00
Hugues Delorme
5aa0b38f5a
gmio_stl: major revamp of API
2015-12-09 18:51:03 +01:00
Hugues Delorme
99e1d9aefa
cmake: disable GCC warnings about universal zero initializer {0}
2015-12-04 12:48:00 +01:00
Hugues Delorme
9d08aa82ca
Fix code style issue
2015-12-03 18:17:42 +01:00
Hugues Delorme
d9f143d7d3
tests: add new STL ascii model
2015-12-03 18:10:09 +01:00
Hugues Delorme
a2c071369b
gmio_core: rename gmio_stream_pos -> gmio_streampos
2015-12-03 18:03:46 +01:00
Hugues Delorme
fb81b25407
Several changes
...
* Remove typedefs on struct and enums
* First working version of gmio_stla_stats_get()
2015-12-03 18:00:25 +01:00
Hugues Delorme
83cf16b11f
tests: simplify init of gmio_ro_buffer objects
2015-11-23 16:50:32 +01:00
Hugues Delorme
f686f35207
gmio_core/internal: embed gmio_stream inside gmio_stringstream
2015-11-23 16:44:45 +01:00
Hugues Delorme
0e526a6ec7
tests: distinct structs for read-only or read/write stream buffers
2015-11-23 16:35:26 +01:00
Hugues Delorme
de5bc9c6f4
tests: fix compilation error when GMIO_BUILD_SHARED_LIBS=ON
2015-11-20 12:02:09 +01:00
Hugues Delorme
c1db98e8c3
gmio_core/internal: rename gmio_string_stream_fwd_iterator -> gmio_stringstream
2015-11-20 11:53:57 +01:00
Hugues Delorme
be5c1cd65d
gmio_core/internal: add gmio_parse_float32()
2015-11-20 11:19:32 +01:00
Hugues Delorme
47b134797a
tests: use GMIO_PRAGMA_MSVC_WARNING_XXX()
2015-11-19 16:16:23 +01:00
Hugues Delorme
c4564cb5d2
tests: fix compilation errors when using UTEST_FAIL() in one line scope
2015-11-19 15:31:18 +01:00
Hugues Delorme
c800b4afc3
tests: fix resource leaks in test_stl_io.c
2015-11-06 15:29:29 +01:00
Hugues Delorme
02e7508ee6
utest: add new utest macro UTEST_FAIL()
2015-11-06 15:29:05 +01:00
Hugues Delorme
978770c161
Fix more MSVC and GCC compilation warnings
2015-11-06 13:56:16 +01:00
Hugues Delorme
b356ced118
Introduce typedefs gmio_streamsize_t and gmio_streamoffset_t
2015-11-06 13:43:03 +01:00
Hugues Delorme
5a6ef8366c
gmio_core: add typedef for 64b integers
2015-11-06 12:40:57 +01:00
Hugues Delorme
72e4660dfa
gmio_core/internal: minor optimizations in string_parse
2015-10-30 12:38:57 +01:00
Hugues Delorme
2f282d6c29
gmio_core/internal: rename gmio_clocale_xxx() -> gmio_ascii_xxx()
2015-10-29 15:23:21 +01:00
Hugues Delorme
7a63ad86aa
gmio_core/internal: create string.h for string objects
2015-10-22 09:58:38 +02:00
Hugues Delorme
4295ae5bc2
tests: fix compilation errors
2015-09-25 16:24:17 +02:00
Hugues Delorme
598123ca47
Rename gmio_buffer -> gmio_memblock
2015-09-25 13:16:41 +02:00
Hugues Delorme
cc18d93bb1
cmake: support TinyCC
2015-09-24 18:16:08 +02:00
Hugues Delorme
80bd4cb6d7
tests: conditionally compile internal source files
...
This fixes issue with gcov not generating .gcda files for internal sources
2015-09-22 22:38:04 +02:00
Hugues Delorme
d994e151b9
tests: add link to interesting resource about {0} initialization
2015-09-22 18:17:17 +02:00
Hugues Delorme
53002389e1
gmio_support: add gmio_[i/o]stream_cpp() functions
2015-09-21 15:58:44 +02:00
Hugues Delorme
6488c03667
tests: implement get/set_pos() functions for gmio_stream_buffer
2015-09-21 15:44:55 +02:00
Hugues Delorme
ff2368e053
support: add (broken) support of C++ standard streams
2015-09-20 22:58:56 +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
035e9c2ba6
tests: fix failure of test test_stlb_write()
...
Compiler: GCC v4.9.2
OS : linux-x64
2015-09-14 17:30:22 +02:00
Hugues Delorme
7cce53a9c5
tests: prefix core files with "_core_"
2015-09-14 11:25:29 +02:00
Hugues Delorme
047ef555f3
test_core: move main() in main_test_core.c
2015-09-14 11:20:12 +02:00
Hugues Delorme
a6ef1bc94e
tests: add TODO for test_core__buffer()
2015-09-14 11:10:42 +02:00
Hugues Delorme
10bf55f18f
tests: add test_stl_internal.c
2015-09-14 11:10:19 +02:00
Hugues Delorme
e559694bb5
test_stl: move main() in main_test_stl.c
2015-09-14 11:09:12 +02:00
Hugues Delorme
4c40002732
tests/stl_utils: add gmio_stl_nop_get_triangle()
2015-09-14 10:42:38 +02:00
Hugues Delorme
6e87e42dfe
tests: move UTEST_ASSERT() in utest_assert.h
2015-09-14 10:36:39 +02:00
Hugues Delorme
2346927bbc
tests: fix compilation error with GCC v4.6
2015-09-11 16:42:02 +02:00
Hugues Delorme
445cd44b73
tests: add test test_stla_write()
2015-09-11 16:36:03 +02:00
Hugues Delorme
4bde8be51f
tests: add gmio_string_trim_from_end() to utils
2015-09-11 16:35:34 +02:00
Hugues Delorme
287ad5c13f
tests: add more tools to stl_utils
2015-09-11 16:35:04 +02:00
Hugues Delorme
aca4e77976
tests: refactor tests tools for STL in stl_utils.*
2015-09-11 10:51:25 +02:00
Hugues Delorme
ffea4bb58b
tests: add tests for writing in STL binary format
2015-09-10 18:03:12 +02:00
Hugues Delorme
02dc1f734a
tests: add new testing model solid_one_facet.be_stlb
2015-09-10 16:12:05 +02:00
Hugues Delorme
edff3f77f8
tests: add test_core
2015-09-10 16:10:33 +02:00
Hugues Delorme
cdcf5f32fa
travis: hopefull fix code coverage instrumentation
2015-09-10 09:40:17 +02:00
Hugues Delorme
2a65d7b55b
cmake: add coveralls support
2015-09-09 17:13:12 +02:00
Hugues Delorme
2cf2751aef
tests: fix build errors when GMIO_BUILD_SHARED_LIBS=ON on Windows
2015-09-09 12:39:45 +02:00
Hugues Delorme
409e590f28
gmio_support: make OCC support more C-ish
2015-09-09 10:54:45 +02:00
Hugues Delorme
4c3976d91d
tests: add comment about GCC bug
2015-09-08 17:58:31 +02:00
Hugues Delorme
c1ae2923da
tests: let fake_support have its own CMakeLists.txt file
...
This should fix compilation errors when -DGMIO_BUILD_TESTS_FAKE_SUPPORT=ON
on travis CI.
Currently travis cmake version is v2.8.7 and it does not support
the INCLUDE_DIRECTORIES target property.
2015-09-08 17:57:59 +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
a06fdc331d
cmake: split main CMakeLists.txt into sub-directory files
2015-08-11 23:57:57 +02:00
Hugues Delorme
c406a8bb92
Replace fougsys.fr -> fougue.pro
2015-07-13 11:44:29 +02:00
Hugues Delorme
13b1d32a9a
Rename pointer on functions members
...
xxx_func -> func_xxx
2015-07-10 11:33:05 +02:00
Hugues Delorme
b10da55577
tests: fix compliance to ISO-C90
2015-07-10 11:05:35 +02:00
Hugues Delorme
5f5aecd7ec
test: add new STL ascii models
2015-07-10 11:01:20 +02:00
Hugues Delorme
a5e2ac0ead
tests:update test_internal.c for new changes in gmio_eat_word()
2015-07-10 10:57:14 +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
51e02017d9
tests: add check on sizeof() operator
2015-06-10 15:06:20 +02:00
Hugues Delorme
8d0263a088
tests: fix conformance to C90
2015-05-28 18:02:26 +02:00
Hugues Delorme
7964b7f917
tests: remove needless lines in license headers
2015-05-28 17:36:17 +02:00
Hugues Delorme
0f4789d710
tests: add new test test_stl
2015-05-28 17:33:42 +02:00
Hugues Delorme
37dcad8e5e
gmio_core: fix bug in gmio_clocale_char_iequals()
2015-05-28 11:04:41 +02:00
Hugues Delorme
fec6742698
GeomIO -> gmio
2015-05-28 09:40:24 +02:00
Hugues Delorme
0702632c95
gmio_core: optimize gmio_clocale_isspace() with table of chars
2015-05-07 15:55:54 +02:00
Hugues Delorme
25df817b82
Update copyright
2015-04-30 18:19:45 +02:00
Hugues Delorme
74032b0dcb
tests: add test_internal__fast_atof()
2015-04-10 14:28:26 +02:00
Hugues Delorme
e34b0508ad
tests: add utils
2015-04-10 14:28:05 +02:00
Hugues Delorme
a50fdabd36
tests: fix needless lines in license headers
2015-04-10 14:27:21 +02:00
Hugues Delorme
08767a0b1d
tests: add test_platform__compiler()
2015-04-09 18:19:39 +02:00
Hugues Delorme
e15e3f8142
Direct link to the license file
2015-03-30 09:05:25 +02:00
Hugues Delorme
4fcfbab5e0
gmio_core: add gmio_buffer structure
2015-03-23 18:18:28 +01:00
Hugues Delorme
cc9e0b2546
gmio_core: add size_func and rewind_func function pointers to gmio_stream
2015-03-23 18:15:31 +01:00
Hugues Delorme
39c3692d21
tests: add test_internal__safe_cast()
2015-03-19 16:35:17 +01:00
Hugues Delorme
2cc2efcc9f
tests: fix iso-c90 conformance
2015-03-03 17:10:10 +01:00
Hugues Delorme
e27d79b2e3
gmio_core/internal: fix constness in API of string_parse.h
2015-03-03 16:44:14 +01:00
Hugues Delorme
100af32b21
cmake: for MSVC, enable /W4 and /Zc:strictStrings
2015-03-03 16:27:02 +01:00
Hugues Delorme
0b0152dbb3
Rename gmio_realXX_t to gmio_floatXX_t (XX = 32,64)
2015-03-03 10:44:45 +01:00
Hugues Delorme
ae25e86825
Four spaces indentation
2015-03-03 10:35:36 +01:00
Hugues Delorme
edf3beca79
gmio_core: rename _ascii_ functions and files to _string_
2015-03-02 17:54:57 +01:00
Hugues Delorme
1518324fba
Add licence files and headers
2015-03-02 17:38:33 +01:00
Hugues Delorme
550cccba79
Fix minor code style issues
2014-11-21 11:41:52 +01:00
Hugues Delorme
4fa3e7f380
Use = {0} init instead of memset() where applicable
2014-11-19 09:41:10 +01:00
Hugues Delorme
085644a5e5
Rename FougDataX to gmio (GeoMetry Input/Output)
2014-03-28 16:33:35 +01:00
Hugues Delorme
b5da8aa18f
tests: fix build errors
2014-03-13 22:56:28 +01:00
Hugues Delorme
35e479bc28
Add unit tests for expected platform behavior
2014-02-11 11:13:15 +01:00
Hugues Delorme
a4d55f1396
Add missing stream_buffer.{h,c} files
2014-02-04 12:41:03 +01:00
Hugues Delorme
4bc3af5a1c
Add test_internal__ascii_parse()
2014-01-30 00:27:06 +01:00
Hugues Delorme
b4253a803d
Add first unit tests
2014-01-29 18:35:25 +01:00
Hugues Delorme
58e19b0554
Rename tests/ to benchs/
2014-01-29 17:52:25 +01:00