Skip to content

libConfuse v3.3

Latest
Compare
Choose a tag to compare
@troglobit troglobit released this 25 Jun 05:28
· 34 commits to master since this release

Changes

  • Support building static library on Windows
  • Support for fmemopen() in Windows UWP applications
  • Support for cfg_getopt(cfg, "sub=name|option"), i.e., get an option from a sub-section, by Peter Rosin
  • Support for CFGF_MODIFIED flag, to detect changes to settings in memory after parsing, by Peter Rosin
  • Support for filtering out settings when printing, by Peter Rosin
  • Support for dynamic key=value sections with no pre-runtime knowledge of setting names, useful for environment variables and similar
  • Updated German translation, by Chris Leick

Fixes

  • Fix loop-forever bug found by Christian Reitter; a .conf file containing only "=", will cause even the simplest parser to loop forever in internal function cfg_getopt_secidx()
  • Issue #113: Fail to build strdup() replacement
  • Issue #118: Fix build on Windows, missing fmemopen() replacement
  • Issue #120: Handle shell and C++ comments with no space separator
  • Issue #125: Drop developer debug msg QSTR: ...
  • Issue #131: Fix CFG_PTR_CB() regression, segfaults when, e.g., cfg_free() is called. Found and fixed by Peter Rosin
  • Issue #135: Revert CFGF_RESET flag if cfg_setmulti() family fail
  • Issue #137: Memory leak in cfg_setopt() for PTR options