Releases: benhoyt/inih
r61
This release optimises a couple of things and fixes a bug where name-only options were not processed after an error occurred. Thanks contributors! Details:
What's Changed
- add option to disable the test suite by @sage-etcher in #195
- add ini_parse_string_length() that avoids internal strlen(), and ease… by @lihuiba in #196
- Fix bug where name only options are not processed after an error has occurred by @msquire in #197
- Optimise ini_rstrip() by @msquire in #198
New Contributors
- @sage-etcher made their first contribution in #195
- @lihuiba made their first contribution in #196
- @msquire made their first contribution in #197
Full Changelog: r60...r61
r60: align versions, no code changes
This release is simply to fix the mismatch between the r59 version control tag and the meson.build version number. Both are "60" for this release.
What's Changed
- test long lines by @isidroas in #190
- Require C++ only for the host machine; bump project version to 59 by @bgilbert in #191
- meson: fix tests under Windows by @neheb in #192
New Contributors
Full Changelog: r59...r60
inih version 59
What's Changed
- INIReader: change variable visibility from private to protected by @meiyasan in #165
- Add meson test driver by @matoro in #170
- Swap rstrip() and lskip() to reduce execution time of strlen() by @isidroas in #177
- Add preprocessor exclusions when INI_ALLOW_MULTILINE=0 by @isidroas in #178
- tests: define only once the compiler and flag by @isidroas in #179
- Test that long sections are truncated by @isidroas in #180
- Add INIReader Sections and Keys methods by @Ishan09811 in #186
- If a line is longer than INI_MAX_LINE, consume input up to next newline by @benhoyt in #188
New Contributors
- @meiyasan made their first contribution in #165
- @matoro made their first contribution in #170
- @isidroas made their first contribution in #177
- @Ishan09811 made their first contribution in #186
Full Changelog: r58...r59
inih version 58
What's Changed
- [oss-fuzz] fuzzing support by @0x34d in #153
- [Fuzzing] fix harness by @0x34d in #156
- [Fuzzing] using cifuzz for PR by @0x34d in #154
- Specify C++11 std in meson build by @DownerCase in #157
- Add ini_ prefix even to static names so inih can be used as an #include by @benhoyt in #164
New Contributors
- @0x34d made their first contribution in #153
- @DownerCase made their first contribution in #157
Full Changelog: r57...r58
inih version 57
What's Changed
- MSVC throws C4244 by @AbsintheScripting in #142
- Added a GetUnsigned function for getting unsigned values. by @jcormier in #147
- meson.build: fix start-of-line_comment_prefix variable name by @ihilt in #149
- Added GetInteger64 and GetUnsigned64 to read 64-bit integers by @natcat256 in #151
New Contributors
- @AbsintheScripting made their first contribution in #142
- @jcormier made their first contribution in #147
- @ihilt made their first contribution in #149
- @natcat256 made their first contribution in #151
Full Changelog: r56...r57
inih version 56
inih version 55
Added "version" to meson.build
config: #135 (but bumped up to 55
in a subsequent commit, for this release).
inih version 54
Mainly #134, adding the visibility symbols to the Meson build config, but also other small tweaks to tests and so on.
inih version 53
inih version 52
Add INI_CUSTOM_ALLOCATOR
to allow using a custom memory allocator. Per the README:
By default when using the heap, the standard library's
malloc
,free
, andrealloc
functions are used; to use a custom allocator, specify-DINI_CUSTOM_ALLOCATOR=1
(and-DINI_USE_STACK=0
). You must define and link functions namedini_malloc
,ini_free
, and (ifINI_ALLOW_REALLOC
is set)ini_realloc
, which must have the same signatures as thestdlib.h
memory allocation functions.
See tests/unittest_alloc.c for an example.
Fixes #118.