Commit Graph

181 Commits

Author SHA1 Message Date
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
Hugues Delorme
2f873e3089 Rename gmio_vec3 structs
*gmio_vec3_f32 -> gmio_vec3f
*gmio_vec3_f64 -> gmio_vec3d
2016-03-14 17:07:05 +01:00
Hugues Delorme
d5133928c4 API simplification, more homogeneous 2016-03-11 12:43:30 +01:00
Hugues Delorme
e4492f92f9 Rename gmio_stl_coords -> gmio_vec3_f32(core) 2016-03-11 10:33:13 +01:00
Hugues Delorme
8ea5125b4b Fix some warnings 2016-03-10 18:27:10 +01:00
Hugues Delorme
603adc474c tests: centralize STL read testcases 2016-03-10 17:55:38 +01:00
Hugues Delorme
a66112d114 tests: add testcase solid_header_no_facets.le_stlb 2016-03-10 15:39:06 +01:00
Hugues Delorme
47123e2d26 Replace some sprintf() calls with snprintf() 2016-03-10 15:23:01 +01:00
Hugues Delorme
f99983b3fa Add target for "examples" 2016-03-07 17:48:33 +01:00
Hugues Delorme
bdb3b1e7e6 Hopefully fix newly detected coverity defects 2016-03-03 17:34:20 +01:00
Hugues Delorme
ffb980ae63 Fix warnings about integer comparisons 2016-03-02 18:05:19 +01:00
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