Commit graph

57 commits

Author SHA1 Message Date
CK Tan
a94dbebc17
Merge pull request #40 from gotnone/const
Add const qualifiers for access functions
2020-07-07 22:15:40 -07:00
Stanley Pinchak
8278e68df9 Add const qualifiers for access functions
The access functions do not mutate the toml_table.
Add const qualifiers to the parameters which are not mutated.
2020-06-17 17:39:24 -05:00
CK Tan
c59fa7a058 Note.txt 2020-06-13 16:19:27 -07:00
CK Tan
5bc8f64fdd Note.txt 2020-06-13 16:18:57 -07:00
CK Tan
cdbb9decfb Fixed issue #33 2020-02-08 12:54:09 -08:00
CK Tan
eaa5d04539 fix memory leak 2020-01-18 10:46:14 -08:00
CK Tan
4078d23a33 restructure and clean up toml_rtos 2019-12-29 11:55:17 -08:00
CK Tan
416be8de63 re-indent 2019-12-29 11:35:24 -08:00
CK Tan
10787cbff9 re-indent 2019-12-29 11:34:12 -08:00
CK Tan
532239d83a
Merge pull request #30 from theakman2/issue_29_strndup_memory_leak_fix
Fix for #29: STRNDUP memory leak fix
2019-12-29 11:30:30 -08:00
Theak
7efd69ca83 Fix for #29: STRNDUP memory leak fix 2019-12-29 14:09:02 +00:00
CK Tan
b92d6a2c82 remove use of dummy errbuf due to benign gcc warnings 2019-11-03 09:06:01 -08:00
CK Tan
f31bcd0adf prettier prints 2019-10-10 17:34:45 -07:00
CK Tan
f782b12864 test output from jq needs to be sorted 2019-10-10 17:32:54 -07:00
CK Tan
2453664abb updated test2/run.sh 2019-10-10 04:15:45 -07:00
CK Tan
987f4ef0d7 refine run.sh 2019-10-10 01:28:09 -07:00
CK Tan
685ca97470 refine run.sh 2019-10-10 01:23:20 -07:00
CK Tan
896561d5b7 update test2 2019-10-10 01:11:52 -07:00
CK Tan
9ed009b950 simplify example in README.md 2019-10-09 16:44:07 -07:00
CK Tan
a1a8911503
Updated Readme.md
v0.5 compliant
2019-10-09 16:40:11 -07:00
CK Tan
c32a6e92f1 v0.5 compliant 2019-10-08 16:58:18 -07:00
CK Tan
63793f92ef make STRDUP and STRNDUP static 2019-10-04 10:08:57 -07:00
CK Tan
bc951780ab tabify 2019-10-02 01:12:46 -07:00
CK Tan
15f44eba49 tabify 2019-10-02 01:11:34 -07:00
CK Tan
c5907e1504 use memutil functions for strdup and strndup 2019-09-27 16:32:59 -07:00
CK Tan
9394192bfc fix issue #22: add toml_set_memutil 2019-09-26 22:29:25 -07:00
CK Tan
4a31cd8cbf use the default CC per makefile var 2019-09-12 21:56:11 -07:00
CK Tan
f12c8f00b4
Merge pull request #20 from Miniwoffer/gitignore
Added binary files to the gitignore
2019-08-16 05:04:20 -07:00
CK Tan
3bc235331f Handle more test cases 2019-08-16 04:35:14 -07:00
Odin Hultgren Van Der Horst
aba3905eb8 Added binary files to the gitignore 2019-08-16 09:07:48 +02:00
CK Tan
b701a09579
Merge pull request #17 from obreitwi/feature/libtoml.so
Add rules for libtoml.so to Makefile
2019-06-24 09:31:04 -07:00
Oliver Breitwieser
93cae7a0e6 Add rules for libtoml.so to Makefile 2019-06-24 16:53:21 +02:00
CK Tan
e93b40c3ea
Merge pull request #16 from obloquy/master
Allow 0x/0o/0b integer prefixes
2019-05-30 18:24:12 -07:00
Jesper Peterson
386dccc84f Allow 0x/0o/0b integer prefixed in accordance with https://github.com/toml-lang/toml#integer 2019-05-10 17:17:29 +10:00
CK Tan
bd76f1276e support SPC separator in timestamp 2019-03-06 11:44:14 -08:00
CK Tan
c4325a38fb add toml_array_type() api 2019-02-27 11:31:49 -08:00
CK Tan
0ce0c0d9d0 handle make DEBUG=1 2019-02-19 15:52:01 -08:00
CK Tan
05e27a7cab copyright years 2019-02-19 10:51:51 -08:00
CK Tan
43f7a52064 Fix #14 and #13 2019-02-16 17:37:59 -08:00
CK Tan
3b6fe37d66
Merge pull request #12 from gotnone/helperfuncs
Helperfuncs
2019-01-09 12:48:25 -08:00
Stanley Pinchak
3fed0ab455 Add helper functions to access key
New functions for read only access to the key of toml_array_t and
toml_table_t structs
2019-01-08 13:31:10 -06:00
Stanley Pinchak
b53c016877 Add helper function for arrays
New function for read only access to the internal nelem member of
toml_array_t structs
2019-01-08 13:31:04 -06:00
Stanley Pinchak
88eacb3fe0 Add helper functions for tables
New functions for read only access to internal nkval, narr and ntab
members of toml_table_t structs.
2019-01-08 13:30:54 -06:00
CK Tan
f06bf3a5cc
Merge pull request #10 from iain-anderson/toml_cat_patch
Fix toml_cat abort on empty array
2018-07-09 18:45:26 -07:00
Iain Anderson
55334019ac Fix toml_cat abort on empty array 2018-07-04 14:30:45 +01:00
CK Tan
56c42b7aed Fix #7: toml_utf8_to_ucs() returns incorrect results 2018-06-08 14:41:44 -07:00
CK Tan
624013252b Small fix for WIN32 2018-01-04 03:18:08 -08:00
CK Tan
95ee4414f6
Merge pull request #6 from bamchoh/patch-2
string literal needs double quotation
2018-01-04 03:14:59 -08:00
bamchoh
79b40abd94
string literal needs double quatation 2018-01-04 18:56:40 +09:00
CK Tan
01ecb88d13 Fix issue #3 2017-11-18 11:57:45 -08:00