Initial directory structure.

git-svn-id: http://inih.googlecode.com/svn/trunk@1 f5d6dc10-6d35-11de-b131-07d8e4d3762e
First commit. Basically just committing what I published in the blog entry.

git-svn-id: http://inih.googlecode.com/svn/trunk@2 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Committing simple config file example as per project home page.

git-svn-id: http://inih.googlecode.com/svn/trunk@3 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Adding some folders

git-svn-id: http://inih.googlecode.com/svn/trunk@4 f5d6dc10-6d35-11de-b131-07d8e4d3762e
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.


git-svn-id: http://inih.googlecode.com/svn/trunk@5 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Added X-Macros example.
Simplified INIReaderTest.cpp.


git-svn-id: http://inih.googlecode.com/svn/trunk@6 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fixed Issue 3: INIReader::GetInteger() was buggy because the scope of the string Get() returned was too temporary for how I was using it's c_str(). Thanks, dreamer.dead for the bug report.
Included <cstdlib> in INIReader.cpp to get strtol().
Make ini.h have extern "C" wrapper in it so it's easier to include from C++ code (gcc seemed to do this automagically, but MSVC not so much).

git-svn-id: http://inih.googlecode.com/svn/trunk@7 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fix issue 5:
* ';' comments must have ';' preceded by whitespace char
* add '#' comments as per Python's ConfigParser
* added unit tests for the above


git-svn-id: http://inih.googlecode.com/svn/trunk@8 f5d6dc10-6d35-11de-b131-07d8e4d3762e
As per issue 4, document more explicitly that ini_parse() doesn't stop on first error.

git-svn-id: http://inih.googlecode.com/svn/trunk@9 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Added kerrigan29a's patch to allow name:value style lines as per Python's ConfigParser.
Added tests for the above and updated baselines.


git-svn-id: http://inih.googlecode.com/svn/trunk@10 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Added GetBoolean() to C++ API.
Used std::transform() to convert strings to lower instead of for loop.


git-svn-id: http://inih.googlecode.com/svn/trunk@11 f5d6dc10-6d35-11de-b131-07d8e4d3762e
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.


git-svn-id: http://inih.googlecode.com/svn/trunk@12 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fixed issue 11: #include <stdio.h> in ini.h now that FILE is used in it.

git-svn-id: http://inih.googlecode.com/svn/trunk@13 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Issue 11: changed Subversion eol-style to native.

git-svn-id: http://inih.googlecode.com/svn/trunk@14 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Per issue 13, return error status from handler() in example.

git-svn-id: http://inih.googlecode.com/svn/trunk@15 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fixed issue 16: properly handle comments on multi-line values.
Added batch file to run unit tests.


git-svn-id: http://inih.googlecode.com/svn/trunk@16 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Issue 18: Fixed multi-line handling in C++ wrapper, per jeffhawke77.

git-svn-id: http://inih.googlecode.com/svn/trunk@17 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Allow UTF-8 BOM char sequence at start of file.

git-svn-id: http://inih.googlecode.com/svn/trunk@20 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fixed char/unsigned char issue with r20. Added unit test for BOM handling.

git-svn-id: http://inih.googlecode.com/svn/trunk@21 f5d6dc10-6d35-11de-b131-07d8e4d3762e
Fixed issue 20: Replaced use of non-portable stricmp() in examples with strcmp().

git-svn-id: http://inih.googlecode.com/svn/trunk@22 f5d6dc10-6d35-11de-b131-07d8e4d3762e