From 8fd468fb9dd2bb12a789b4391271daaed8d14d071284af54c6a0059d361383d9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 22 Jan 2024 11:45:47 +0000 Subject: [PATCH] Accepting request 1140581 from home:dirkmueller:Factory - update to 1.10.1: * imgui_freetype: commented out ImGuiFreeType::BuildFontAtlas() obsoleted in 1.81. Prefer using #define IMGUI_ENABLE_FREETYPE or see commented code for manual calls. * Removed CalcListClipping() marked obsolete in 1.86. (#3841) Prefer using ImGuiListClipper which can return non-contiguous ranges. * Internals, Columns: commented out legacy ImGuiColumnsFlags_XXX symbols redirecting to ImGuiOldColumnsFlags_XXX * Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. (#2625, #7143) * Navigation (Keyboard/gamepad): - Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overridden back to true when navigation is enabled. SetNextFrameWantCaptureKeyboard() is always higher priority. - Nav: Activation can also be performed with Keypad Enter. * Drag and Drop: - Fixed drop target highlight on items temporarily pushing a widened clip rect (namely Selectables and Treenodes using SpanAllColumn flag) so the highlight properly covers all columns. (#7049, #4281, #3272) * InputText: - InputTextMultiline: Fixed Tab character input not repeating - InputTextMultiline: Tabbing through a multi-line text editor which allows Tab character inputs (using the ImGuiInputTextFlags_AllowTabInput flag) doesn't automatically activate it, in order to allow passing through multiple widgets easily. * Drags, Sliders, Inputs: OBS-URL: https://build.opensuse.org/request/show/1140581 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=16 --- imgui.changes | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ imgui.spec | 4 +-- v1.90.1.tar.gz | 3 ++ v1.90.tar.gz | 3 -- 4 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 v1.90.1.tar.gz delete mode 100644 v1.90.tar.gz diff --git a/imgui.changes b/imgui.changes index de9d783..6d4e37d 100644 --- a/imgui.changes +++ b/imgui.changes @@ -1,3 +1,81 @@ +------------------------------------------------------------------- +Mon Jan 22 10:20:29 UTC 2024 - Dirk Müller + +- update to 1.10.1: + * imgui_freetype: commented out ImGuiFreeType::BuildFontAtlas() + obsoleted in 1.81. + Prefer using #define IMGUI_ENABLE_FREETYPE or see commented + code for manual calls. + * Removed CalcListClipping() marked obsolete in 1.86. (#3841) + Prefer using ImGuiListClipper which can return non-contiguous + ranges. + * Internals, Columns: commented out legacy ImGuiColumnsFlags_XXX + symbols redirecting to ImGuiOldColumnsFlags_XXX + * Commented out obsolete ImGuiKey_KeyPadEnter redirection to + ImGuiKey_KeypadEnter. (#2625, #7143) + * Navigation (Keyboard/gamepad): + - Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are + not overridden back to true when navigation is enabled. + SetNextFrameWantCaptureKeyboard() is always higher priority. + - Nav: Activation can also be performed with Keypad Enter. + * Drag and Drop: + - Fixed drop target highlight on items temporarily pushing a + widened clip rect (namely Selectables and Treenodes using + SpanAllColumn flag) so the highlight properly covers + all columns. (#7049, #4281, #3272) + * InputText: + - InputTextMultiline: Fixed Tab character input not repeating + - InputTextMultiline: Tabbing through a multi-line text editor + which allows Tab character inputs (using the + ImGuiInputTextFlags_AllowTabInput flag) doesn't + automatically activate it, in order to allow passing + through multiple widgets easily. + * Drags, Sliders, Inputs: + + DragScalarN, SliderScalarN, InputScalarN: Fixed incorrect + pushes into ItemWidth stack when number of components is 1. + + Drags, Sliders, Inputs: removed all attempts to filter + non-numerical characters during text editing. Invalid + inputs not applied to value, visibly reverted after + validation. + + Drags, Sliders, Inputs: removal of filter means that "nan" + and "inf" values may be input. (#7096) + + DragScalarN, SliderScalarN, InputScalarN, + PushMultiItemsWidths: improve multi-components width + computation to better distribute the error. + * Menus: + + Tweaked hover slack logic, adding an extra timeout to avoid + situations where a slow vertical movements toward another + parent BeginMenu() can keep the wrong child menu open. + * Color Editors: + + ColorEdit: Layout tweaks for very small sizes. (#7120, #7121) + + ColorPicker: Fixed saturation/value cursor radius not + scaling properly. + * Debug Tools: + - Added io.ConfigDebugIsDebuggerPresent option. When enabled, + this adds buttons in various locations of Metrics/Debugger + to manually request a debugger break: + - Metrics: Reorganize Tools menu. + - Added DebugFlashStyleColor() to identify a style color. + * Settings: Fixed an issue marking settings as dirty when merely + clicking on a border or resize grip without moving it. + * Misc: Added IMGUI_USER_H_FILENAME to change the path included + when using IMGUI_INCLUDE_IMGUI_USER_H. (#7039) [@bryceberger] + * Misc: Rework debug display of texture id in Metrics window to + avoid compile-error when ImTextureID is defined to be larger + than 64-bits. (#7090) + * Misc: Added extra courtesy ==/!= operators when + IMGUI_DEFINE_MATH_OPERATORS is defined. + * Misc: Fixed text functions fast-path for handling "%s" and + "%.*s" to handle null pointers gracefully, like most printf + implementations. (#7016, #3466, #6846 + * Misc: Renamed some defines in imstb_textedit.h to avoid + conflicts when using unity/jumbo builds on a codebase where + another copy of the library is used. + * Misc: During shutdown, check that io.BackendPlatformUserData + and io.BackendRendererUserData are NULL in order to catch + cases where backend was not shut down. (#7175) + * Misc: Reworked Issue Template to a shinier and better form. + ------------------------------------------------------------------- Sat Nov 25 20:24:55 UTC 2023 - Dirk Müller diff --git a/imgui.spec b/imgui.spec index 427cf39..9978342 100644 --- a/imgui.spec +++ b/imgui.spec @@ -1,7 +1,7 @@ # # spec file for package imgui # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: imgui -Version: 1.90 +Version: 1.90.1 Release: 0 Summary: Immediate Mode Graphical User interface for C++ with minimal dependencies License: MIT diff --git a/v1.90.1.tar.gz b/v1.90.1.tar.gz new file mode 100644 index 0000000..69468c3 --- /dev/null +++ b/v1.90.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21dcc985bb2ae8fe48047c86135dbc438d6980a8f2e08babbda5be820592f282 +size 1649235 diff --git a/v1.90.tar.gz b/v1.90.tar.gz deleted file mode 100644 index b880415..0000000 --- a/v1.90.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:170986e6a4b83d165bfc1d33c2c5a5bc2d67e5b97176287485c51a2299249296 -size 1638971