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
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
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
be5dba661e
Update copyright mention
2016-06-24 12:03:07 +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
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
e4492f92f9
Rename gmio_stl_coords -> gmio_vec3_f32(core)
2016-03-11 10:33:13 +01:00
Hugues Delorme
10e2102b29
gmio_core/internal: add portable snprintf() wrapper
2016-03-08 17:28:43 +01:00
Hugues Delorme
480c0fbf11
gmio_stl: use snprintf() instead of sprintf() in stla_error_token_expected()
2016-03-08 15:24: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
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
31f07a07ca
gmio_stla: copy token string on next_token error
2016-02-22 17:14:47 +01:00
Hugues Delorme
07fdbb81f3
Minor doc fixes
2016-02-03 11:44:06 +01:00
Hugues Delorme
f8e73f5747
gmio_stl: simplify API of gmio_stl_mesh_creator
2016-02-01 16:53:45 +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
78ecd577dc
gmio_stl: extract some STL ascii parsing functions to be reusable
2016-01-22 10:52:37 +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
0d7eb270bc
gmio_stl: make use of gmio_stl_read_args::func_stla_get_streamsize
2016-01-13 15:00:08 +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
9d9d65bbd5
gmio_core: rename member gmio_rwargs::memblock -> stream_memblock
2016-01-05 11:44:10 +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
9d08aa82ca
Fix code style issue
2015-12-03 18:17:42 +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
f686f35207
gmio_core/internal: embed gmio_stream inside gmio_stringstream
2015-11-23 16:44:45 +01:00
Hugues Delorme
5e32375553
gmio_stl: delete unused functions
2015-11-23 16:35:43 +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
083a885d0f
gmio_stl: reorganize stla_read.c
2015-11-20 11:20:06 +01:00
Hugues Delorme
b356ced118
Introduce typedefs gmio_streamsize_t and gmio_streamoffset_t
2015-11-06 13:43:03 +01:00
Hugues Delorme
6988b777e9
gmio_stl: improve speed of STL ascii read operations
2015-11-02 10:47:11 +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
d7d51fa210
gmio_stl: faster parsing of STL ascii contents
...
Don't try to qualify each eaten word from the text stream.
Instead str compare the next word with the expected token string
2015-10-21 18:35:09 +02:00
Hugues Delorme
a66370a76a
gmio_stl: cache add/get triangle function pointers
2015-10-14 18:17:03 +02:00
Hugues Delorme
598123ca47
Rename gmio_buffer -> gmio_memblock
2015-09-25 13:16:41 +02:00
Hugues Delorme
f6e5f8937b
Fix minor code styles issues
2015-09-19 23:14:42 +02:00
Hugues Delorme
ac7fd554f8
stla: fix two potential bugs in gmio_stla_read()
...
* more tolerant read of solid name (can even include "solid")
* set the attribute_byte_count to 0 (triangle passed to callback)
2015-09-11 16:34:18 +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
26fc957569
gmio_stl: fix case where solid name is composed of many words
2015-07-10 10:55:02 +02:00
Hugues Delorme
28d133dfa0
gmio_stl: fix doc
2015-05-28 09:52:56 +02:00
Hugues Delorme
fec6742698
GeomIO -> gmio
2015-05-28 09:40:24 +02:00