From b8fcb1d0579d54d3d3bd69073d3f1d904e038be50227f842dbdd66d512e2fa74 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 30 Jun 2020 07:42:46 +0000 Subject: [PATCH] Accepting request 816964 from home:jubalh:branches:devel:libraries:c_c++ - Update to 3.3: 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 OBS-URL: https://build.opensuse.org/request/show/816964 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libconfuse?expand=0&rev=9 --- confuse-3.2.2.tar.xz | 3 --- confuse-3.3.tar.xz | 3 +++ libconfuse.changes | 29 +++++++++++++++++++++++++++++ libconfuse.spec | 6 +++--- 4 files changed, 35 insertions(+), 6 deletions(-) delete mode 100644 confuse-3.2.2.tar.xz create mode 100644 confuse-3.3.tar.xz diff --git a/confuse-3.2.2.tar.xz b/confuse-3.2.2.tar.xz deleted file mode 100644 index 96be482..0000000 --- a/confuse-3.2.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9240b653d02e8cfc52db48e8c4224426e528e1faa09b65e8ca08a197fad210b -size 473912 diff --git a/confuse-3.3.tar.xz b/confuse-3.3.tar.xz new file mode 100644 index 0000000..7b67baf --- /dev/null +++ b/confuse-3.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1dd50a0320e135a55025b23fcdbb3f0a81913b6d0b0a9df8cc2fdf3b3dc67010 +size 485140 diff --git a/libconfuse.changes b/libconfuse.changes index fbac1e2..d08a25b 100644 --- a/libconfuse.changes +++ b/libconfuse.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Thu Jun 25 07:08:53 UTC 2020 - Michael Vetter + +- Update to 3.3: + 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 + ------------------------------------------------------------------- Fri Oct 12 14:40:04 UTC 2018 - Jan Engelhardt diff --git a/libconfuse.spec b/libconfuse.spec index 60c75a2..af15e8e 100644 --- a/libconfuse.spec +++ b/libconfuse.spec @@ -1,7 +1,7 @@ # # spec file for package libconfuse # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define library_name libconfuse2 Name: libconfuse -Version: 3.2.2 +Version: 3.3 Release: 0 Summary: A configuration file parser library License: LGPL-2.1-or-later