Skip to content

Releases: benhoyt/inih

r61

25 Jul 08:35
Compare
Choose a tag to compare

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

Full Changelog: r60...r61

r60: align versions, no code changes

07 Apr 21:55
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: r59...r60

inih version 59

30 Mar 00:15
23acf2d
Compare
Choose a tag to compare

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

Full Changelog: r58...r59

inih version 58

24 Jan 17:06
5cc5e2c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: r57...r58

inih version 57

07 Jul 02:02
9cecf06
Compare
Choose a tag to compare

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

Full Changelog: r56...r57

inih version 56

12 Jul 21:15
Compare
Choose a tag to compare

inih version 55

25 Mar 21:32
Compare
Choose a tag to compare

Added "version" to meson.build config: #135 (but bumped up to 55 in a subsequent commit, for this release).

inih version 54

23 Mar 19:34
5a31af9
Compare
Choose a tag to compare

Mainly #134, adding the visibility symbols to the Meson build config, but also other small tweaks to tests and so on.

inih version 53

07 Feb 20:38
cb55f57
Compare
Choose a tag to compare

Updates to Meson config:

  • #124 meson: optionally depend on C++
  • #125 meson: enable distro settings by default
  • #126 meson: add static compile args to inih_dep

inih version 52

13 Oct 08:30
1e80a47
Compare
Choose a tag to compare

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, and realloc functions are used; to use a custom allocator, specify -DINI_CUSTOM_ALLOCATOR=1 (and -DINI_USE_STACK=0). You must define and link functions named ini_malloc, ini_free, and (if INI_ALLOW_REALLOC is set) ini_realloc, which must have the same signatures as the stdlib.h memory allocation functions.

See tests/unittest_alloc.c for an example.

Fixes #118.