Hugues Delorme
2ec351d8d3
tests: hopefully fix Clang warnings about printf() uses
2016-03-01 18:18:05 +01:00
Hugues Delorme
74ae9ba752
gmio_stl: change API to use pointer arguments instead of confusing value
2016-03-01 14:50:31 +01:00
Hugues Delorme
77c65947bb
Add support of multi STL solids loading
2016-02-24 16:46:48 +01:00
Hugues Delorme
9260bc480a
tests: add missing test case "solid_jburkardt_sphere.stla" for test_stl_read()
2016-02-22 17:15:30 +01:00
Hugues Delorme
706fc26b0e
gmio_support: iterate on all StlMesh_Mesh's domains
2016-02-18 18:20:23 +01:00
Hugues Delorme
9cf0ac13df
Fix Clang compilation error
2016-02-12 11:55:39 +01:00
Hugues Delorme
bd5a6cde4e
tests: fix test_stl_triangle_compute_normal()
2016-02-11 11:05:32 +01:00
Hugues Delorme
c425484c64
tests: remove debug trace
2016-02-05 12:20:37 +01:00
Hugues Delorme
f6b71695c0
gmio_stl: add utility function gmio_stl_triangle_compute_normal()
2016-02-05 12:20:14 +01:00
Hugues Delorme
b7bceff748
gmio_stl: simplify code of gmio_stla_infos_get()
2016-02-03 11:43:52 +01:00
Hugues Delorme
f8e73f5747
gmio_stl: simplify API of gmio_stl_mesh_creator
2016-02-01 16:53:45 +01:00
Hugues Delorme
30e87e7d29
tests: weakier benchmark requirement for fast_atof()
2016-01-29 12:48:31 +01:00
Hugues Delorme
75cd51398e
gmio_stl: improve API
2016-01-29 12:47:01 +01:00
Hugues Delorme
9ae18d1b9e
Replace gmio_bool_t with bool
2016-01-26 17:03:58 +01:00
Hugues Delorme
0c15f9f325
Get rid of gmio_floatXX_t typedefs
2016-01-26 16:00:36 +01:00
Hugues Delorme
fb8f7e0502
tests: enable models for testing
2016-01-26 11:50:55 +01:00
Hugues Delorme
5969cad14b
tests: add new tests for gmio_stlb_header functions
2016-01-26 11:50:29 +01:00
Hugues Delorme
2a525d654b
tests: test gmio_stl_infos_get() against all STL models
2016-01-21 16:11:45 +01:00
Hugues Delorme
0e479bdc48
tests: add new comparison testing facilities
2016-01-21 14:52:26 +01:00
Hugues Delorme
523cd028b8
gmio_stl: rename gmio_stl_triangle::normal -> gmio_stl_triangle::n
2016-01-20 17:47:30 +01:00
Hugues Delorme
b63f722142
tests: use a randomly computed array of floats in fast_atof benchmark
2016-01-14 10:24:15 +01:00
Hugues Delorme
332edde857
tests: remove --debug from ctest command
2016-01-13 17:29:53 +01:00
Hugues Delorme
6bf6f8789b
tests: verbose ctest
2016-01-13 15:42:50 +01:00
Hugues Delorme
d0b213a652
tests: move gmio_stlb_header_to_printable_str() to gmio_stl/stlb_header.h
2016-01-13 15:25:18 +01:00
Hugues Delorme
9dc842a35d
tests: enable fast_atof() benchmark check only for release builds
2016-01-13 10:55:59 +01:00
Hugues Delorme
4a34063af9
gmio_core: rename string_utils.h -> string_ascii_utils.h
2016-01-13 10:21:27 +01:00
Hugues Delorme
f2a1665493
gmio_core: rename gmio_stringstream_init() to gmio_stringstream_init_pos()
2016-01-13 10:04:41 +01:00
Hugues Delorme
351bb6cafc
benchmarks: give void* instead of char* to benchmark functions
2016-01-12 17:37:45 +01:00
Hugues Delorme
8c5aea272f
tests: add benchmark for fast_atof()
2016-01-12 16:32:11 +01:00
Hugues Delorme
decb5fedc7
tests: add gmio_ro_buffer() and gmio_rw_buffer() constructors
2016-01-12 16:31:18 +01:00
Hugues Delorme
02668e0cb0
tests: remove typedef around struct gmio_ro_buffer
2016-01-05 11:48:56 +01:00
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