- Update to 2.13.1
* New Features:
- Add jansson_version_str() and jansson_version_cmp() for runtime
version checking
- Add json_object_update_new(), json_object_update_existing_new()
and json_object_update_missing_new() functions
- Add json_object_update_recursive()
* Bug fixes:
- Add infinite loop check in json_deep_copy()
- Enhance JANSSON_ATTRS macro to support earlier C standard(C89)
- Update version detection for sphinx-build
* Documentation improvements
OBS-URL: https://build.opensuse.org/request/show/801788
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libjansson?expand=0&rev=21
- update to new upstream release 2.11
* New features:
- Add `json_pack()` format specifiers s*, o* and O* for values
that can be omitted if null (#339).
- Add `json_error_code()` to retrieve numeric error codes
(#365, #380, #381).
- Enable thread safety for `json_dump()` on all systems.
Enable thread safe `json_decref()` and `json_incref()` for
modern compilers (#389).
- Add `json_sprintf()` and `json_vsprintf()` (#393).
* Bug Fixes:
- Fix incorrect report of success from `json_dump_file()` when
an error is returned by `fclose()` (#359).
- Make json_equal() const-correct (#344).
- Fix incomplete stealing of references by `json_pack()` (#374)
- changelog from 2.9
* New features:
- Add JSON_EMBED encoding flag allowing arrays and objects to
be encoded into existing streams (#329).
- Add `json_dumpb()` function for dumping to a pre-allocated
buffer (#328).
- Add `json_dumpfd()` and `json_loadfd()` functions for dumping
to streaming file descriptors (#328).
- Add support for parsing buffers larger than 2GB (#309).
OBS-URL: https://build.opensuse.org/request/show/647643
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libjansson?expand=0&rev=16
- update to new upstream release 2.9
* New features:
Add json_auto_t to automatically decref a value that goes out of scope.
Available only on GCC and Clang. (#301)
* Small documentation fixes.
- changelog from 2.8
* New features:
- Always preserve insertion order of object items. json_object_iter()
and friends, json_object_foreach() and json_dumps() and friends now
always work in the insertion order of object items (#293).
- Add json_object_foreach_safe() macro that allows json_object_del()
calls during iteration (#230).
- Add json_get_alloc_funcs() to allow reading the allocation functions
set by json_set_alloc_funcs() (#262, #264).
- Add json_pack() format specifiers s?, o? and O? for values that can
be null (#261, #270).
* Bug fixes:
- Fix a crash when parsing inputs consisting of very deeply nested
arrays or objects (#282, #284).
- Never convert numbers to integers in the parser when
JSON_DECODE_INT_AS_REAL is set.
- Fix a use-after-free in json_pack() error handling.
- Fix subnormal number parsing on mingw32.
- Handle out-of-memory situations gracefully in the hashtable
implementation
OBS-URL: https://build.opensuse.org/request/show/461496
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libjansson?expand=0&rev=14
Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.
If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":
--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif
Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------
(forwarded request 143897 from sbrabec)
OBS-URL: https://build.opensuse.org/request/show/144276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjansson?expand=0&rev=3
Verify GPG signature: Perform build-time offline GPG verification.
Please verify that included keyring matches your needs.
For manipulation with the offline keyring, please use gpg-offline tool from openSUSE:Factory, devel-tools-building or Base:System.
See the man page and/or /usr/share/doc/packages/gpg-offline/PACKAGING.HOWTO.
If you need to build your package for older products and don't want to mess spec file with ifs, please follow PACKAGING.HOWTO:
you can link or aggregate gpg-offline from
devel:tools:building or use following trick with "osc meta prjconf":
--- Cut here ----
%if 0%{?suse_version} <= 1220
Substitute: gpg-offline
%endif
Macros:
%gpg_verify(dnf) \
%if 0%{?suse_version} > 1220\
echo "WARNING: Using %%gpg_verify macro from prjconf, not from gpg-offline package."\
gpg-offline --directory="%{-d:%{-d*}}%{!-d:%{_sourcedir}}" --package="%{-n:%{-n*}}%{!-n:%{name}}""%{-f: %{-f*}}" --verify %{**}\
%else\
echo "WARNING: Dummy prjconf macro. gpg-offline is not available, skipping %{**} GPG signature verification!"\
%endif\
%nil
-----------------
OBS-URL: https://build.opensuse.org/request/show/143897
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libjansson?expand=0&rev=6