Ben Hoyt
12758aae01
Delete unittest binaries after use
2016-10-11 09:33:13 -04:00
Ben Hoyt
dbf771afeb
Issue #55 : handle empty value immediately followed by comment
2016-10-11 09:31:22 -04:00
Ben Hoyt
441b65ba83
Add option to disable inline comments and to specify which inline comment character are allowed: https://github.com/benhoyt/inih/issues/40
2016-01-02 12:43:09 -05:00
Ben Hoyt
e6735fff64
Fix issue noted by @jgroffen where if both : and = were used on a line, = would take precedence ( https://github.com/benhoyt/inih/pull/44 )
2016-01-02 11:29:40 -05:00
benhoyt@gmail.com
f2914d460c
Add INI_STOP_ON_FIRST_ERROR per Robin Getz (defaults to off).
...
Add unit test baseline with this option on.
See also f4b25de039
2013-12-19 19:38:21 +00:00
benhoyt@gmail.com
9b0825f08d
Fix issue 25: Be sure to call isspace() with unsigned char -- nasty things happen when char type is "signed char" like MSVC's default.
...
Add unit tests including some non-ASCII UTF-8 chars to repro with MSVC.
2013-01-06 08:40:00 +00:00
benhoyt@gmail.com
23d69228bf
Fixed char/unsigned char issue with r20. Added unit test for BOM handling.
2012-06-19 13:48:44 +00:00
benhoyt
0a54de5b78
Fixed issue 16: properly handle comments on multi-line values.
...
Added batch file to run unit tests.
2012-01-02 20:15:12 +00:00
benhoyt@gmail.com
328c3d4f8a
Issue 11: changed Subversion eol-style to native.
2011-06-27 19:44:29 +00:00
benhoyt@gmail.com
b1170c9568
Issue 7: Factored out ini_parse_file() so users can parse INI file with just a FILE* instead of a filename, and use fmemopen.
...
Forgot to commit examples/test.ini in previous commit.
Fix strncmp redefine warning when compiling tests/unittest.c.
2011-06-24 18:48:58 +00:00
benhoyt
d83f6c327e
Added kerrigan29a's patch to allow name:value style lines as per Python's ConfigParser.
...
Added tests for the above and updated baselines.
2011-03-10 02:58:58 +00:00
benhoyt@gmail.com
d1939f4857
Fix issue 5:
...
* ';' comments must have ';' preceded by whitespace char
* add '#' comments as per Python's ConfigParser
* added unit tests for the above
2010-09-27 13:56:09 +00:00
benhoyt
4d08274b35
Moved examples to their own examples/ dir.
...
Only define INI_ALLOW_MULTILINE if it's not already defined.
Added C++ INIReader class.
Moved license into LICENSE.txt, added README.txt.
Added unit tests and checked in baseline files.
Made line lengths < 80 chars.
2009-08-20 21:59:32 +00:00