Commit Graph

444 Commits

Author SHA1 Message Date
Hugues Delorme
1b1b2f03ea gmio_amf: make z_stream alloc/free functions parametrizable 2017-01-26 17:42:12 +01:00
Hugues Delorme
e7a36b4a60 Minor doc improvements 2017-01-26 17:25:05 +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
929f54e13c Clarify format of error codes 2017-01-12 10:25:30 +01:00
Hugues Delorme
0481df6e61 gmio_amf: add Zip64 support 2017-01-12 09:30:48 +01:00
Hugues Delorme
cad0804c17 Move back const_string.h in gmio_core/internal 2017-01-09 15:45:22 +01:00
Hugues Delorme
3914e51863 zip_utils.c: factorize initial bytes and magic read+check 2017-01-09 15:27:14 +01:00
Hugues Delorme
f1a6bf764c Harmonize gmio_adv_encode_xxx() API functions 2017-01-09 14:43:55 +01:00
Hugues Delorme
1c80b326ee Merge branch 'develop' of https://github.com/fougue/gmio into develop 2017-01-09 14:27:18 +01:00
Hugues Delorme
6f944d5efc zip_utils.c: remove needless comments 2017-01-09 14:27:13 +01:00
Hugues Delorme
5951d7be70 gmio_core: add gmio_adv_[de,en]code_xxx() functions in byte_codec.h 2017-01-09 12:58:19 +01:00
Hugues Delorme
fe6858a0b9 Merge branch 'develop' of https://github.com/fougue/gmio into develop 2017-01-09 12:18:34 +01:00
Hugues Delorme
b8ad964edc Minor fixes/improvements on the doxygen doc 2017-01-09 11:08:11 +01:00
Hugues Delorme
bf8e01d237 gmio_core: fix GCC compilation errors 2017-01-06 18:29:46 +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
7f794f532a Fix some compilation errors for Visual C++ 2012
Unfortunately Visual C++ 2012 can't compile gmio because it
does not support mixing declarations and instructions.
Visual C++ 2013 at least is a prerequisite.
2017-01-04 12:13:45 +01:00
Hugues Delorme
88655ddcdb core: fix some compilation warnings in zlib_utils.c 2016-12-28 20:13:22 +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
73eb7a522e gmio_core/internal: add ZIP utils 2016-12-23 13:04:52 +01:00
Hugues Delorme
d8da7293ef Drop C90 support for C99 instead 2016-12-14 15:46:59 +01:00
Hugues Delorme
f369553af9 gmio_core: add 64b functions in byte_codec.h 2016-12-14 15:28:51 +01:00
Hugues Delorme
d859adf366 gmio_core: move gmio_zlib_compress_options in zlib_compress.h
Also add internal/zlib_utils.h
2016-12-08 16:02:35 +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
fbf56aaa78 zlib: don't install headers and misc files 2016-12-05 15:39:03 +01:00
Hugues Delorme
4000e76080 zlib: move detection in root CMakeLists.txt 2016-12-05 15:10:37 +01:00
Hugues Delorme
9ce3e42fa8 gmio_core: rename error code name GMIO_ERROR_TRANSFER_STOPPED
GitHub issue #7
2016-12-01 10:39:12 +01:00
Hugues Delorme
bd7f665041 3rdparty: initial import of zlib 2016-12-01 10:38:59 +01:00
Hugues Delorme
4a10787a0d gmio_stl: simplify a bit by internally forcing non NULL read/write options 2016-12-01 09:53:09 +01:00
Hugues Delorme
07d7dd75be gmio_core: move gmio_check_lc_numeric() into internal/error_check.h 2016-12-01 09:53:09 +01:00
Hugues Delorme
1168ef04ed gmio_core,stl: refactor basic error checking 2016-12-01 09:53:07 +01:00
Hugues Delorme
ec5ea263d4 gmio_core: function gmio_stringstream_default_func_read() cannot be "inline" 2016-12-01 09:53:06 +01:00
Hugues Delorme
1bc3a98c5c gmio_stl: add "overload" function gmio_stl_infos_probe_file()
GitHub issue #4
2016-12-01 09:52:50 +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
ea8a789220 gmio_stl: remove public #include of internal header 2016-09-19 18:28:42 +02:00
Hugues Delorme
7082098bdb gmio_support: fix issue with not using the C++ universal initialiser in stream_qt.cpp 2016-07-26 16:23:42 +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
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
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
b9c4678c46 gmio_stl: fix crash with gmio_stla_infos_get() when flag_size not set 2016-06-23 17:48:59 +02:00
Hugues Delorme
4d913a9c6a gmio_stl: add some \sa doc 2016-06-16 10:29:59 +02:00