Revisions of json-c
Ana Guerrero (anag+factory)
accepted
request 1123145
from
Paolo Stivanin (polslinux)
(revision 29)
- Update to 0.17: + New features: * json_patch: add first implementation only with patch application * Add --disable-static and --disable-dynamic options to the cmake-configure script. * Add -DBUILD_APPS=NO option to disable app build * Minimum cmake version is now 3.9 + Significant changes and bug fixes: * When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and closing curly or square braces on same line for empty objects or arrays. * Disable locale handling when targeting a uClibc system due to problems with its duplocale() function. * When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow now result in a json_tokener_error_parse_number. Without that flag values are capped at INT64_MIN/UINT64_MAX. * Fix memory leak with emtpy strings in json_object_set_string * json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes) * Add back json_number_chars, but only because it's part of the public API. * Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain platforms. * Specify dependent libraries, including -lbsd, in a more consistent way so linking against a static json-c works better * Fix a variety of build problems and add & improve tests * Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259 - Remove deprecated suse_version checks
Dominique Leuenberger (dimstar_suse)
accepted
request 971042
from
Paolo Stivanin (polslinux)
(revision 28)
Dominique Leuenberger (dimstar_suse)
accepted
request 894477
from
Paolo Stivanin (polslinux)
(revision 27)
Dominique Leuenberger (dimstar_suse)
accepted
request 827515
from
Dirk Mueller (dirkmueller)
(revision 26)
- 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"
Dominique Leuenberger (dimstar_suse)
accepted
request 815425
from
Paolo Stivanin (polslinux)
(revision 25)
Dominique Leuenberger (dimstar_suse)
accepted
request 799297
from
Marcus Meissner (msmeissn)
(revision 24)
Dominique Leuenberger (dimstar_suse)
accepted
request 587174
from
Marcus Meissner (msmeissn)
(revision 23)
Dominique Leuenberger (dimstar_suse)
accepted
request 483312
from
Marcus Meissner (msmeissn)
(revision 21)
1
Dominique Leuenberger (dimstar_suse)
accepted
request 412253
from
Dirk Mueller (dirkmueller)
(revision 20)
1
Adrian Schröter (adrianSuSE)
committed
(revision 18)
Split 13.2 from Factory
Stephan Kulow (coolo)
accepted
request 229465
from
Ismail Dönmez (namtrac)
(revision 17)
- Add json-c-hash-dos-and-overflow-random-seed-4e.patch to fix CVE-2013-6370 and CVE-2013-6371 (bnc#870147)
Stephan Kulow (coolo)
accepted
request 220927
from
Stephan Kulow (coolo)
(revision 16)
- Update metadata (description, RPM groups), and remove .la file in %install, not %check. (forwarded request 220837 from jengelh)
Stephan Kulow (coolo)
accepted
request 213290
from
Michal Vyskocil (mvyskocil)
(revision 15)
- Upgrade to 0.11 version: - SONAME change. - Fix provides and obsoletes accordingly - symlink the .pc file to the oldname for software that needs it - Remove json-c-fix-headers.patch integrated upstream (forwarded request 213239 from fridrich_strba)
Adrian Schröter (adrianSuSE)
committed
(revision 14)
Split 13.1 from Factory
Stephan Kulow (coolo)
accepted
request 158153
from
Stephan Kulow (coolo)
(revision 13)
- add json-c-fix-headers.patch from master branch to fix compilation of apps using the lib (forwarded request 158152 from coolo)
Stephan Kulow (coolo)
accepted
request 157635
from
Ismail Dönmez (namtrac)
(revision 12)
replace sr 157134 Added one by one changes for patches in the changes (forwarded request 157617 from bruno_friedmann)
Adrian Schröter (adrianSuSE)
committed
(revision 11)
Split 12.3 from Factory
Displaying revisions 1 - 20 of 30