Hello community, here is the log from the commit of package json-c for openSUSE:Factory checked in at 2020-08-23 09:18:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/json-c (Old) and /work/SRC/openSUSE:Factory/.json-c.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "json-c" Sun Aug 23 09:18:33 2020 rev:26 rq:827515 version:0.15 Changes: -------- --- /work/SRC/openSUSE:Factory/json-c/json-c.changes 2020-06-19 16:48:37.254183022 +0200 +++ /work/SRC/openSUSE:Factory/.json-c.new.3399/json-c.changes 2020-08-23 09:18:34.802598704 +0200 @@ -1,0 +2,43 @@ +Mon Aug 17 10:02:27 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- update to 0.15: + * Deprecate `array_list_new()` in favor of `array_list_new2()` + * Remove the THIS_FUNCTION_IS_DEPRECATED define. + * Remove config.h.win32 + * Add a `JSON_TOKENER_ALLOW_TRAILING_CHARS` flag to allow multiple objects + to be parsed even when `JSON_TOKENER_STRICT` is set. + * Add `json_object_new_array_ext(int)` and `array_list_new_2(int)` to allow + arrays to be allocated with the exact size needed, when known. + * Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in + json_tokener to minimize the amount of memory used. + * Add a json_parse binary, for use in testing changes (not installed, but + available in the apps directory). + * Split the internal json_object structure into several sub-types, one for + each json_type (json_object_object, json_object_string, etc...). + This improves memory usage and speed, with the benchmark under + bench/ report 5.8% faster test time and 6%(max RSS)-12%(peak heap) + less memory usage. + Memory used just for json_object structures decreased 27%, so use cases + with fewer arrays and/or strings would benefit more. + * Minimize memory usage in array handling in json_tokener by shrinking + arrays to the exact number of elements parsed. On bench/ benchmark: + 9% faster test time, 39%(max RSS)-50%(peak heap) less memory usage. + Add json_object_array_shrink() and array_list_shrink() functions. + * #616 - Parsing of surrogate pairs in unicode escapes now properly handles + incremental parsing. + * Fix incremental parsing of numbers, especially those with exponents, e.g. + so parsing "[0", "e+", "-]" now properly returns an error. + Strict mode now rejects missing exponents ("0e"). + * Successfully return number objects at the top level even when they are + followed by a "-", "." or "e". This makes parsing things like "123-45" + behave consistently with things like "123xyz". + * #589 - Detect broken RDRAND during initialization; also, fix segfault + in the CPUID check. + * #592 - Fix integer overflows to prevert out of bounds write on large input. + * Protect against division by zero in linkhash, when creaed with zero size. + * #602 - Fix json_parse_uint64() internal error checking, leaving the retval + untouched in more failure cases. + * #614 - Prevent truncation when custom double formatters insert extra \0's +- remove 0001-Detect-broken-RDRAND-during-initialization.patch (upstream) + +------------------------------------------------------------------- Old: ---- 0001-Detect-broken-RDRAND-during-initialization.patch json-c-0.14.tar.gz New: ---- json-c-0.15-20200726.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ json-c.spec ++++++ --- /var/tmp/diff_new_pack.UbXsX5/_old 2020-08-23 09:18:35.366599016 +0200 +++ /var/tmp/diff_new_pack.UbXsX5/_new 2020-08-23 09:18:35.370599019 +0200 @@ -20,16 +20,14 @@ %define libsoname %{libname}5 %define oldlibname libjson Name: json-c -Version: 0.14 +Version: 0.15 Release: 0 Summary: JSON implementation in C License: MIT Group: Development/Libraries/C and C++ URL: https://github.com/json-c/json-c -Source0: %{URL}/archive/%{name}-%{version}-20200419.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/json-c/json-c/archive/json-c-0.15-20200726.tar.gz Source1: baselibs.conf -# fix for boo#1173022 -Patch0: https://patch-diff.githubusercontent.com/raw/json-c/json-c/pull/624.patch#/0001-Detect-broken-RDRAND-during-initialization.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libtool @@ -87,7 +85,7 @@ This package includes the json-c documentation. %prep -%autosetup -p1 +%autosetup -p1 -n %{name}-json-c-0.15-20200726 %build %if 0%{?suse_version} <= 1110