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.Dirk Mueller2025-02-25 13:56:21 +00:00
3a20e27066Accepting request 1131387 from devel:libraries:c_c++
Ana Guerrero
2023-12-07 18:09:19 +00:00
407043aa27Accepting request 1131386 from home:Guillaume_G:PAC_BTI
Paolo Stivanin
2023-12-06 15:31:11 +00:00
671a9a2e31Accepting request 1123145 from devel:libraries:c_c++
Ana Guerrero
2023-11-05 11:18:35 +00:00
59eff26345- Remove deprecated suse_version checks
Paolo Stivanin
2023-11-03 08:50:19 +00:00
6a6875c55c- 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
Paolo Stivanin
2023-11-03 08:49:25 +00:00
3453c45496- 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"Dirk Mueller2020-08-17 10:03:47 +00:00