Commit Graph

141 Commits

Author SHA1 Message Date
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
Hugues Delorme
0981f63658 gmio_core/internal: rename buffer->str for gmio_string_t variables 2015-10-29 11:25:04 +01:00
Hugues Delorme
39132c0b3f gmio_core/internal: fix strlen in GMIO_CONST_STRING_FROM_ARRAY() 2015-10-28 16:13:23 +01:00
Hugues Delorme
6d8d694806 gmio_core/internal: fix GCC "char subscripts" warnings in string_utils.h 2015-10-28 16:12:23 +01:00
Hugues Delorme
b7dc8335dd gmio_core/internal: fix GCC compilation error 2015-10-28 16:11:31 +01:00
Hugues Delorme
7a63ad86aa gmio_core/internal: create string.h for string objects 2015-10-22 09:58:38 +02:00
Hugues Delorme
7aeb74ef40 fast_atof: use gmio_clocale_isdigit() 2015-10-21 18:38:04 +02:00
Hugues Delorme
88252c8f8d gmio_core/internal: add gmio_clocale_isdigit()
Also use tables for islower/isupper conversions
2015-10-21 18:37:21 +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
b0517b2f39 gmio: add get/set_pos functions to gmio_stream 2015-09-18 14:33:23 +02:00
Hugues Delorme
5ecb401bc0 core_internal: disable unsused function 2015-09-14 11:27:27 +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
9fe35b1fc0 gmio_core/internal: add gmio_string_buffer_clear() and gmio_copy_spaces() 2015-07-10 09:52:20 +02:00
Hugues Delorme
1707dd7891 gmio_core: move internal build options into config.h.cmake 2015-06-11 17:22:13 +02:00
Hugues Delorme
5e51857bc2 gmio: move define GMIO_USE_FAST_ATOF in config.h.cmake 2015-06-10 16:17:06 +02:00
Hugues Delorme
02f083e02e gmio_core: simplify implementation of toupper() and tolower() in string_utils.h
Also activate GMIO_STRINGUTILS_DIRECT_TESTS
2015-06-09 16:55:06 +02:00
Hugues Delorme
602b4c74d0 gmio_core: fix minor indentation issue 2015-06-09 16:53:42 +02:00
Hugues Delorme
62401d5655 gmio_core: fix bug in gmio_eat_word() 2015-05-28 16:20:27 +02:00
Hugues Delorme
3bd7ec8782 gmio_core: introduce ctype.h code alternative in string_utils.h 2015-05-28 13:57:18 +02:00
Hugues Delorme
37dcad8e5e gmio_core: fix bug in gmio_clocale_char_iequals() 2015-05-28 11:04:41 +02:00
Hugues Delorme
fec6742698 GeomIO -> gmio 2015-05-28 09:40:24 +02:00
Hugues Delorme
cad2a28f65 gmio_core: more doc in string_parse.h 2015-05-26 18:25:14 +02:00
Hugues Delorme
e79341ec26 gmio_core: more inlining in string_parse.h 2015-05-26 18:20:07 +02:00
Hugues Delorme
f677dc8f4f gmio_core: micro-optimization in gmio_next_char() 2015-05-26 17:59:03 +02:00
Hugues Delorme
4d1dd420fc gmio_core: remove NULL tests on input string in fast_atof.h 2015-05-26 17:57:53 +02:00
Hugues Delorme
3452545b76 gmio_core: micro-optimizations in implementation of string_parse.h 2015-05-07 15:56:44 +02:00
Hugues Delorme
0702632c95 gmio_core: optimize gmio_clocale_isspace() with table of chars 2015-05-07 15:55:54 +02:00
Hugues Delorme
25df817b82 Update copyright 2015-04-30 18:19:45 +02:00
Hugues Delorme
e6aa381bad gmio_core: fix possible crashes in fast_atof.h 2015-04-10 14:26:32 +02:00
Hugues Delorme
b7aa93bcfa gmio_core: add conversion routines for float32/int32 2015-04-10 14:25:57 +02:00
Hugues Delorme
d2026aacb4 gmio_core: fix linking error when fast_atof.h get included more than once 2015-04-10 10:11:21 +02:00
Hugues Delorme
cc28eb9d54 gmio_core: inline functions in convert.h 2015-04-10 10:10:25 +02:00
Hugues Delorme
560ca7c28b gmio_core: in string_parse.c, enable GMIO_USE_FAST_ATOF by default 2015-04-02 16:09:49 +02:00
Hugues Delorme
ef3beb2b50 gmio_core: add gmio_task_iface structure 2015-04-02 16:08:11 +02:00
Hugues Delorme
6a5ac600bd gmio_core: fix bug in gmio_next_char_from_stream() 2015-04-02 15:38:06 +02:00
Hugues Delorme
a04b9b2cda gmio_core/internal: make gmio_next_char() easier to maintain 2015-03-31 17:09:36 +02:00
Hugues Delorme
f58b6e56b4 gmio_core: add string_utils.h 2015-03-31 16:16:04 +02:00
Hugues Delorme
5d379980f6 gmio_core: use internal C-locale isspace() + bug fixes 2015-03-31 15:53:58 +02:00
Hugues Delorme
a099b94cf2 gmio_core: fix GCC compilation error in fast_atof.h 2015-03-31 15:51:59 +02:00
Hugues Delorme
0f3b8d1e59 Improve use of inlined functions 2015-03-31 10:10:26 +02:00
Hugues Delorme
9f5cbf6297 Make all inline functions declared as "static" 2015-03-30 10:53:34 +02:00
Hugues Delorme
ac56054988 gmio_core: make error functions internal and inline 2015-03-30 10:26:39 +02:00
Hugues Delorme
e15e3f8142 Direct link to the license file 2015-03-30 09:05:25 +02:00
Hugues Delorme
b49357024b gmio_core: fix C4127 warnings in fast_atof.h 2015-03-26 11:47:10 +01:00
Hugues Delorme
83a8b004f1 gmio_core: adapt fast_atof.h for ISO-C90 2015-03-23 18:27:57 +01:00
Hugues Delorme
ba87db052f gmio_core: add original fast_atof.h from IrrLicht 2015-03-23 18:25:43 +01:00
Hugues Delorme
cc9e0b2546 gmio_core: add size_func and rewind_func function pointers to gmio_stream 2015-03-23 18:15:31 +01:00
Hugues Delorme
6b7ead1f24 Improve indentation 2015-03-20 11:42:38 +01:00
Hugues Delorme
86a05d38bb gmio_core: move some helper functions into internal/
This applies to gmio_stream and gmio_transfer helper functions
2015-03-13 11:04:14 +01:00
Hugues Delorme
85481e2e89 doc: effort to make it complete 2015-03-05 10:06:22 +01:00
Hugues Delorme
c0cdd90f96 Rename some internal implementation stuff 2015-03-03 16:54:13 +01:00
Hugues Delorme
e27d79b2e3 gmio_core/internal: fix constness in API of string_parse.h 2015-03-03 16:44:14 +01:00
Hugues Delorme
31e8daca93 Removed needless comment lines and doxygen tags 2015-03-03 11:37:38 +01:00
Hugues Delorme
0b0152dbb3 Rename gmio_realXX_t to gmio_floatXX_t (XX = 32,64) 2015-03-03 10:44:45 +01:00
Hugues Delorme
97923e2dfe Two spaces indentation for macros 2015-03-03 10:38:49 +01:00
Hugues Delorme
ae25e86825 Four spaces indentation 2015-03-03 10:35:36 +01:00
Hugues Delorme
7e32cf99d5 Fix Visual C++ C4267 warnings (conversion from size_t to uint32_t) 2015-03-03 10:29:47 +01:00
Hugues Delorme
819aec00d4 gmio_core: add utility file min_max.h 2015-03-02 18:00:10 +01:00
Hugues Delorme
edf3beca79 gmio_core: rename _ascii_ functions and files to _string_ 2015-03-02 17:54:57 +01:00
Hugues Delorme
1518324fba Add licence files and headers 2015-03-02 17:38:33 +01:00
Hugues Delorme
3350d8936f Minor doc and indentation improvements 2015-01-28 22:39:03 +01:00
Hugues Delorme
121181bf15 Fix minor code style issues 2014-03-31 15:39:21 +02:00
Hugues Delorme
085644a5e5 Rename FougDataX to gmio (GeoMetry Input/Output) 2014-03-28 16:33:35 +01:00