3 Commits

Author SHA256 Message Date
6b568468dd Accepting request 1248387 from devel:libraries:c_c++
- update to 0.18:
  * Clean up pre-3.9 CMake support in CMakeLists.txt
  * Build pkg-config for msvc as well
  * Critical fix for binary compatibility with 0.16: Move the
    json_tokener_error_memory entry to the end of enum
    json_tokener_error.
  * Issue #829: attempt to detect clang-cl.exe and pass MSVC-
    compatile command line arguments.
  * PR #831 - rename WIN32 to _WIN32
  * PR #839 - Fix gcc 5 "may be used uninitialized" failure in
    json_pointer.c
  * PR #849 - random_seed.c: add a Coverity Scan suppression
  * Issue #854: Set error=json_tokener_error_memory in
    json_tokener_parser_verbose() when allocating the tokener
    fails.
  * Issue #857: fix a few places where json_tokener should have
    been returning json_tokener_error_memory but wasn't.
  * Handle yet another out-of-memory condition in json_tokener,
    duplocate can return NULL.
  * Various fixes in the fuzzers
  * A few minor doc fixes

    * Direct access to lh_table and lh_entry structure members is deprecated.
    * Speed up parsing by replacing ctype functions with simplified, faster
- update to 0.15:
  * Add `json_object_array_shrink()` (and `array_list_shrink()`) and use it in
  * Add a json_parse binary, for use in testing changes (not installed, but
  * change the floating point output format to %.17g so values with
      only created as libjson-c.so now and headers are only installed
    autoconf call to json-c-0.12-unused_variable_size.patch from

OBS-URL: https://build.opensuse.org/request/show/1248387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/json-c?expand=0&rev=31
2025-02-27 13:50:19 +00:00
b505b57a34 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/json-c?expand=0&rev=50 2025-02-25 13:58:03 +00:00
77b982fc6e - update to 1.91.8:
* ColorEdit, ColorPicker: redesigned how alpha is displayed in
    the preview square. (#8335, #1578, #346)
  * Removed ImGuiColorEditFlags_AlphaPreview (made value 0):
    it is now the default behavior.
  * Prior to 1.91.8: alpha was made opaque in the preview by
    default _unless_ using ImGuiColorEditFlags_AlphaPreview.
  * We now display the preview as transparent by default.
    You can use ImGuiColorEditFlags_AlphaOpaque to use old
    behavior.
  * The new flags may be combined better and allow finer
    controls:
  * ImGuiColorEditFlags_AlphaOpaque: disable alpha in the
    preview, but alpha value still editable.
  * ImGuiColorEditFlags_AlphaNoBg: disable rendering a
    checkerboard background behind transparent color.
  * ImGuiColorEditFlags_AlphaPreviewHalf: display half
    opaque / half transparent preview.
  * Backends: SDLGPU3: Renamed
    ImGui_ImplSDLGPU3_InitInfo::GpuDevice to Device
    for consistency. (#8163, #7998, #7988)
  * imgui_freetype: fixed issue where glyph advances would
    incorrectly be snapped to pixels. Effectively it would only
    be noticeable when hinting is disabled with
    ImGuiFreeTypeBuilderFlags_NoHinting, as hinting itself
    snaps glyph advances.
  * Inputs: added IsMouseReleasedWithDelay() helper. (#8337,
    #8320)
  * Windows, Style: Fixed small rendering issues with menu bar,
    resize grip and scrollbar when using thick border sizes.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/json-c?expand=0&rev=49
2025-02-25 13:56:21 +00:00
4 changed files with 46 additions and 20 deletions

BIN
json-c-0.17-20230812.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3112c1f25d39eca661fe3fc663431e130cc6e2f900c081738317fba49d29e298
size 401874

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Feb 25 13:55:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.18:
* Clean up pre-3.9 CMake support in CMakeLists.txt
* Build pkg-config for msvc as well
* Critical fix for binary compatibility with 0.16: Move the
json_tokener_error_memory entry to the end of enum
json_tokener_error.
* Issue #829: attempt to detect clang-cl.exe and pass MSVC-
compatile command line arguments.
* PR #831 - rename WIN32 to _WIN32
* PR #839 - Fix gcc 5 "may be used uninitialized" failure in
json_pointer.c
* PR #849 - random_seed.c: add a Coverity Scan suppression
* Issue #854: Set error=json_tokener_error_memory in
json_tokener_parser_verbose() when allocating the tokener
fails.
* Issue #857: fix a few places where json_tokener should have
been returning json_tokener_error_memory but wasn't.
* Handle yet another out-of-memory condition in json_tokener,
duplocate can return NULL.
* Various fixes in the fuzzers
* A few minor doc fixes
-------------------------------------------------------------------
Wed Dec 6 15:26:31 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package json-c
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,9 +19,9 @@
%define libname libjson-c
%define libsoname %{libname}5
%define oldlibname libjson
%define version_date 20230812
%define version_date 20240915
Name: json-c
Version: 0.17
Version: 0.18
Release: 0
Summary: JSON implementation in C
License: MIT
@@ -93,6 +93,7 @@ This package includes the json-c documentation.
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
-DENABLE_THREADING=ON \
-DENABLE_RDRAND=ON
%cmake_build
%check
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}