Commit Graph

113 Commits

Author SHA1 Message Date
Hugues Delorme
be5dba661e Update copyright mention 2016-06-24 12:03:07 +02:00
Hugues Delorme
61be8c6972 Add possibility to use google double-conversion library
String->float and float->string conversion functions may have
different implementations in stringstream.h depending on new
cmake options: GMIO_STR2FLOAT_LIB and GMIO_FLOAT2STR_LIB
2016-06-08 11:00:54 +02:00
Hugues Delorme
6c0e50cac4 gmio_core/internal: fix gmio_vec3{f,d}_cross_product() functions 2016-04-25 17:18:54 +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
e97c880343 gmio_core: use new integer type intmax_t instead for gmio_task_iface::func_handle_progress() 2016-04-07 10:13:32 +02:00
Hugues Delorme
911825e1c3 More doc 2016-04-06 17:33:05 +02:00
Hugues Delorme
2bce508e56 gmio_core: fix fallback of gmio_powf() 2016-03-14 17:35:18 +01:00
Hugues Delorme
33317b2613 Add more C99 compat functions 2016-03-14 17:07:06 +01: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
0a14409aea Doc fixes 2016-03-11 10:07:53 +01:00
Hugues Delorme
e9be2a62d5 gmio_stl: factor some internal code in stl_format.c 2016-03-11 10:02:02 +01:00
Hugues Delorme
8ea5125b4b Fix some warnings 2016-03-10 18:27:10 +01:00
Hugues Delorme
47123e2d26 Replace some sprintf() calls with snprintf() 2016-03-10 15:23:01 +01:00
Hugues Delorme
fb04b67308 gmio_core: fix compilation errors with fallback gmio_snprintf() 2016-03-08 18:22:12 +01:00
Hugues Delorme
10e2102b29 gmio_core/internal: add portable snprintf() wrapper 2016-03-08 17:28:43 +01:00
Hugues Delorme
bdb3b1e7e6 Hopefully fix newly detected coverity defects 2016-03-03 17:34:20 +01:00
Hugues Delorme
77c65947bb Add support of multi STL solids loading 2016-02-24 16:46:48 +01:00
Hugues Delorme
b42e2b36ee Fix Clang compiler error and warnings 2016-02-12 11:45:46 +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
07fdbb81f3 Minor doc fixes 2016-02-03 11:44:06 +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
775c756818 gmio_core: rename GMIO_STRINGUTILS_CTYPE_H -> GMIO_STRING_ASCII_UTILS_CTYPE_H 2016-01-13 10:37:04 +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
a6dff8a150 More doc 2016-01-13 10:15:04 +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
38bfdb6e72 gmio_core: add gmio_stringstream() constructor 2016-01-12 16:29:31 +01:00
Hugues Delorme
56241d22f6 gmio_core: fix spacing issues 2016-01-05 11:44:53 +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
bc986080d6 gmio_core: fix compilation error with GCC-4.6 2015-12-17 12:41:34 +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
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
82270193e6 gmio_core/internal: fix error in code example 2015-11-23 16:51:02 +01:00
Hugues Delorme
f686f35207 gmio_core/internal: embed gmio_stream inside gmio_stringstream 2015-11-23 16:44:45 +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
3afcde257d gmio_core/internal: make distinction between fast_strtof() and fast_atof() 2015-11-19 17:45:29 +01:00
Hugues Delorme
efeb15f36a gmio_core/internal: more doc in string.h, also add gmio_const_string() 2015-11-19 15:35:20 +01:00
Hugues Delorme
2db6415405 gmio_core: simplify strtof10() 2015-11-10 12:25:56 +01:00
Hugues Delorme
b356ced118 Introduce typedefs gmio_streamsize_t and gmio_streamoffset_t 2015-11-06 13:43:03 +01:00
Hugues Delorme
620930b33f gmio_core/internal: add gmio_to_float32() which is faster than gmio_get_float32() 2015-11-02 10:46:42 +01:00
Hugues Delorme
4be2c0b3fc gmio_core/internal: micro-optimizations in gmio_ascii_stricmp() 2015-11-02 10:45:55 +01:00
Hugues Delorme
72e4660dfa gmio_core/internal: minor optimizations in string_parse 2015-10-30 12:38:57 +01:00
Hugues Delorme
28dd6de941 gmio_core/internal: give <ctype.h> implementations for tolower/toupper functions 2015-10-30 11:51:31 +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
e4b7753fea gmio_core/internal: separate declaration/definition in string_utils.h 2015-10-29 11:45:21 +01:00