Commit Graph

197 Commits

Author SHA1 Message Date
Hugues Delorme
b7832bb33d Fix most of GCC and MSVC warnings 2017-03-30 11:37:24 +02:00
Hugues Delorme
c1c58f087c Fix some TODO concerning error handling 2017-03-30 09:54:31 +02:00
Hugues Delorme
1521a12c71 Fix detected coverity defects 2017-03-29 12:04:11 +02:00
Hugues Delorme
0d3a7e755c tests: simplify use of testing framework
Also improve test results summary
2017-03-29 10:37:05 +02:00
Hugues Delorme
f54dd0a1fa gmio_stl: fix segfault in gmio_stla_infos_probe()
GitHub issue #8
2017-03-21 18:43:47 +01:00
Hugues Delorme
99991b0287 Add more unit tests 2017-03-20 16:22:15 +01:00
Hugues Delorme
843af6f4e9 cmake: enable c++11 when required 2017-03-16 16:41:13 +01:00
Hugues Delorme
3952c8e0ee gmio_amf: only one function for mesh element metadata 2017-03-16 16:39:57 +01:00
Hugues Delorme
ffcb0a5189 gmio_support: implement support of Poly_Triangulation
GitHub issue #5
2017-02-24 12:50:23 +01:00
Hugues Delorme
39ffae94c5 Use #pragma once 2017-01-30 11:41:20 +01:00
Hugues Delorme
70453b15a8 copyright: 2016 -> 2017 2017-01-26 18:05:12 +01:00
Hugues Delorme
14a7be93a6 gmio_amf: auto-define ZIP entry filename from filepath in gmio_amf_write_file() 2017-01-26 17:24:54 +01:00
Hugues Delorme
6897ca12d5 gmio_core: add new internal functions
gmio_fileutils_find_basefilename()
gmio_const_string_concat()
2017-01-26 17:23:50 +01:00
Hugues Delorme
4f319710be gmio_core: test zlib enum values 2017-01-19 17:49:11 +01:00
Hugues Delorme
bd1600a10d gmio_amf: rename some ZIP fields in gmio_amf_write_options 2017-01-19 17:26:42 +01:00
Hugues Delorme
abb7bafc4a gmio_core: fix zip64 corrupted output 2017-01-18 11:12:41 +01:00
Hugues Delorme
8999472912 gmio_core: drop support of obsolete ZIP disk 2017-01-13 10:49:15 +01:00
Hugues Delorme
0481df6e61 gmio_amf: add Zip64 support 2017-01-12 09:30:48 +01:00
Hugues Delorme
579989484c Merge branch 'develop' of https://github.com/fougue/gmio into develop 2017-01-06 17:02:18 +01:00
Hugues Delorme
8bcac9ad47 tests: fully test ZIP archive generated by gmio_amf_write() 2017-01-06 12:24:28 +01:00
Hugues Delorme
3a11906c96 tests: refactoring about variable decls 2017-01-04 17:29:32 +01:00
Hugues Delorme
778b371304 tests: fix test_stla_lc_numeric() in case environment's loale is already
"C"
2017-01-04 17:22:41 +01:00
Hugues Delorme
a2ad3b9d4b gmio_amf: add ZIP archiving (Zip64 format to be further supported) 2016-12-23 13:06:24 +01:00
Hugues Delorme
f369553af9 gmio_core: add 64b functions in byte_codec.h 2016-12-14 15:28:51 +01:00
Hugues Delorme
456eddc520 gmio_amf: add file format support(export only)
GitHub issue #6
2016-12-05 17:58:40 +01:00
Hugues Delorme
091f665a6d cmake: build static and DLL targets 2016-12-05 17:51:27 +01:00
Hugues Delorme
1168ef04ed gmio_core,stl: refactor basic error checking 2016-12-01 09:53:07 +01:00
Hugues Delorme
941a015bfb gmio_stl: rename functions/structs in stl_infos.h (_get -> _probe)
Rename :
  * Func gmio_stl_infos_get() -> gmio_stl_infos_probe()
  * Func gmio_stla_infos_get_streamsize() -> gmio_stla_infos_probe_streamsize()
  * Struct gmio_stl_infos_get_options -> gmio_stl_infos_probe_options

GitHub issue #3
2016-12-01 09:52:20 +01:00
Hugues Delorme
a525eca318 gmio_stl: fix ending error when reading multiple STL solids from stream
This fixes GitHub issue #2
2016-09-29 16:26:23 +02:00
Hugues Delorme
3f042c4778 tests: fix regression link error 2016-09-21 09:03:39 +02:00
Hugues Delorme
38ae856f36 gmio_support: OpenCascade support no longer requires C++11 2016-07-26 16:23:03 +02:00
Hugues Delorme
362c789f5b gmio_support: fix compilation error with OpenCascade v6.8.0 2016-07-25 16:17:38 +02:00
Hugues Delorme
4e013f213c tests: fix link errors when GMIO_BUILD_SHARED_LIBS=ON 2016-07-05 15:53:27 +02:00
Hugues Delorme
058db6cb4d test_stl: fix C90 compilation error 2016-07-05 14:28:38 +02:00
Hugues Delorme
df2eac3ff1 Relicense under BSD 2-clause 2016-07-05 12:46:22 +02:00
Hugues Delorme
89d268f052 gmio_stl: add read/write option stla_dont_check_lc_numeric
gmio_stla_read() and gmio_stla_write() now checks LC_NUMERIC is
either "C" or "POSIX", if not then GMIO_ERROR_BAD_LC_NUMERIC is returned.
This option is controlled with:
    * gmio_stl_read_options.stla_dont_check_lc_numeric
    * gmio_write_read_options.stla_dont_check_lc_numeric
2016-07-05 11:52:11 +02:00
Hugues Delorme
185b70084a fake_support: fix compilation error with Clang 2016-06-30 10:39:45 +02:00
Hugues Delorme
d2ba019733 gmio_support: fix duplicated vertices when reading STL file into StlMesh_Mesh 2016-06-29 16:52:32 +02:00
Hugues Delorme
be5dba661e Update copyright mention 2016-06-24 12:03:07 +02:00
Hugues Delorme
eb9719ef16 tests: include C sources directly
This avoids to declare prototypes of the test_xxx() functions
2016-06-16 10:29:27 +02:00
Hugues Delorme
751414654d gcc: add -std=c++0x where needed 2016-06-14 18:10:20 +02:00
Hugues Delorme
05ea032f3d gmio_support: refactor gmio_stl_mesh OCC support
Make use of gmio_support for OpenCascade less error-prone
and easier to maintain.
Ugly const_cast<> have also been eradicated.
2016-06-14 16:42:22 +02:00
Hugues Delorme
109e3143d6 fake_support: fix GCC compilation error wit NCollection_StlIterator.hxx 2016-04-25 18:29:39 +02:00
Hugues Delorme
cbfd3b438f fake_support/opencascade: simplify Handle and array classes 2016-04-25 17:17:39 +02:00
Hugues Delorme
1b2c4e945e gmio_support: provide gmio_stl_mesh support of TopoDS_Shape 2016-04-25 17:16:26 +02:00
Hugues Delorme
ac6d242f9a gmio_support: split stl_occ.h+cpp into stl_occ_mesh and stl_occ_meshvs 2016-04-15 12:37:05 +02:00
Hugues Delorme
6c2b784323 gmio_support: fix compiler errors with OpenCascade v7.0.0 2016-04-15 09:03:47 +02:00
Hugues Delorme
61a44ca6dc gmio_core/internal: rename gmio_string::max_len to "capacity" 2016-04-07 10:38:40 +02:00
Hugues Delorme
4a2322132d fake_support: fix warning in TColStd_PackedMapOfInteger 2016-04-06 14:37:35 +02:00
Hugues Delorme
67f70c0c4b gmio_support: add support of MeshVS_DataSource in gmio_stl 2016-04-06 11:29:40 +02:00