From 458a1090314a965dd37b02c918d83077a0142ad5 Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 14 Feb 2023 15:42:32 +0100 Subject: [PATCH] Version 1.89.3 --- docs/CHANGELOG.txt | 40 +++++++++++++++++++++------------------- imgui.cpp | 2 +- imgui.h | 6 +++--- imgui_demo.cpp | 2 +- imgui_draw.cpp | 2 +- imgui_internal.h | 2 +- imgui_tables.cpp | 2 +- imgui_widgets.cpp | 2 +- 8 files changed, 30 insertions(+), 28 deletions(-) diff --git a/docs/CHANGELOG.txt b/docs/CHANGELOG.txt index fb9df81e2..06f7e1afa 100644 --- a/docs/CHANGELOG.txt +++ b/docs/CHANGELOG.txt @@ -32,29 +32,39 @@ HOW TO UPDATE? ----------------------------------------------------------------------- - VERSION 1.89.3 (In Progress) + VERSION 1.89.3 (Released 2023-02-14) ----------------------------------------------------------------------- +Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.89.3 + Breaking Changes: - Backends+Examples: SDL2: renamed all unnumbered references to "sdl" to "sdl2". - This is in prevision for the future release of SDL3 (#6146) + This is in prevision for the future release of SDL3 and its associated backend. (#6146) - imgui_impl_sdl.cpp -> imgui_impl_sdl2.cpp - imgui_impl_sdl.h -> imgui_impl_sdl2.h - example_sdl_xxxx/ -> example_sdl2_xxxx/ (folders and projects) All changes: +- SeparatorText(): Added SeparatorText() widget. (#1643) [@phed, @ocornut] + - Added to style: float SeparatorTextBorderSize. + - Added to style: ImVec2 SeparatorTextAlign, SeparatorTextPadding. +- Tables: Raised max Columns count from 64 to 512. (#6094, #5305, #4876, #3572) + The previous limit was due to using 64-bit integers but we moved to bits-array + and tweaked the system enough to ensure no performance loss. +- Tables: Solved an ID conflict issue with multiple-instances of a same table, + due to how unique table instance id was generated. (#6140) [@ocornut, @rodrigorc] - Inputs, Scrolling: Made horizontal scroll wheel and horizontal scroll direction consistent - accross backends/os. (#4019, #6096, #1463) [@PathogenDavid, @ocornut, @rokups] + across backends/os. (#4019, #6096, #1463) [@PathogenDavid, @ocornut, @rokups] - Clarified that 'wheel_y > 0.0f' scrolls Up, 'wheel_y > 0.0f' scrolls Down. Clarified that 'wheel_x > 0.0f' scrolls Left, 'wheel_x > 0.0f' scrolls Right. - Backends: Fixed horizontal scroll direction for Win32 and SDL backends. (#4019) - Shift+WheelY support on non-OSX machines was already correct. (#2424, #1463) - (whereaas on OSX machines Shift+WheelY turns into WheelX at the OS level). - - If you use a custom-backend, you should verify horizontal wheel direction. - - Axises are flipped by OSX for mouse & touchpad when 'Natural Scrolling' is on. - - Axises are flipped by Windows for touchpad when 'Settings->Touchpad->Down motion scrolls up' is on. + (whereas on OSX machines Shift+WheelY turns into WheelX at the OS level). + - If you use a custom backend, you should verify horizontal wheel direction. + - Axises are flipped by OSX for mouse & touch-pad when 'Natural Scrolling' is on. + - Axises are flipped by Windows for touch-pad when 'Settings->Touchpad->Down motion scrolls up' is on. - You can use 'Demo->Tools->Debug Log->IO" to visualize values submitted to Dear ImGui. - Known issues remaining with Emscripten: - The magnitude of wheeling values on Emscripten was improved but isn't perfect. (#6096) @@ -64,14 +74,6 @@ All changes: to find a way to detect this and set io.ConfigMacOSXBehaviors manually (if you know a way let us know!), or offer the "OSX-style behavior" option to their user. - Window: Avoid rendering shapes for hidden resize grips. -- SeparatorText(): Added SeparatorText() widget. (#1643) [@phed, @ocornut] - - Added to style: float SeparatorTextBorderSize. - - Added to style: ImVec2 SeparatorTextAlign, SeparatorTextPadding. -- Tables: Raised max Columns count from 64 to 512. (#6094, #5305, #4876, #3572) - The previous limit was due to using 64-bit integers but we moved to bits-array - and tweaked the system enough to ensure no performance loss. -- Tables: Solved an ID conflict issue with multiple-instances of a same table, - due to how unique table instance id was generated. (#6140) [@ocornut, @rodrigorc] - Text: Fixed layouting of wrapped-text block skipping successive empty lines, regression from the fix in 1.89.2. (#5720, #5919) - Text: Fixed clipping of single-character "..." ellipsis (U+2026 or U+0085) when font @@ -95,15 +97,15 @@ All changes: can exacerbate that. (#6114, #3644) - Backends: OSX: Fixed scroll/wheel scaling for devices emitting events with hasPreciseScrollingDeltas==false (e.g. non-Apple mices). -- Backends: Win32: flipping WM_MOUSEHWHEEL value to match other backends and +- Backends: Win32: flipping WM_MOUSEHWHEEL horizontal value to match other backends and offer consistent horizontal scrolling direction. (#4019) -- Backends: SDL2: flipping SDL_MOUSEWHEEL 'wheel.x' value to match other backends and +- Backends: SDL2: flipping SDL_MOUSEWHEEL horizontal value to match other backends and offer consistent horizontal scrolling direction. (#4019) - Backends: SDL2: Removed SDL_MOUSEWHEEL value clamping. (#4019, #6096, #6081) - Backends: SDL2: Added support for SDL 2.0.18+ preciseX/preciseY mouse wheel data for smooth scrolling as reported by SDL. (#4019, #6096) - Backends: SDL2: Avoid calling SDL_SetCursor() when cursor has not changed, as the function - is surprisingly costly on Mac with latest SDL (may be fixed in next SDL version). (#6113) + is surprisingly costly on Mac with latest SDL (already fixed in SDL latest trunk). (#6113) - Backends: SDL2: Implement IME handler to call SDL_SetTextInputRect()/SDL_StartTextInput(). It will only works with SDL 2.0.18+ if your code calls 'SDL_SetHint(SDL_HINT_IME_SHOW_UI, "1")' prior to calling SDL_CreateWindow(). Updated all examples accordingly. (#6071, #1953) @@ -126,7 +128,7 @@ All changes: - Examples: Win32: Fixed examples using RegisterClassW() since 1.89 to also call DefWindowProcW() instead of DefWindowProc() so that title text are correctly converted when application is compiled without /DUNICODE. (#5725, #5961, #5975) [@markreidvfx] -- Examples: SDL2+SDL_Renderer: Added call to SDL_RenderSetScale() to display is correct on a +- Examples: SDL2+SDL_Renderer: Added call to SDL_RenderSetScale() to fix display on a Retina display (albeit lower-res as our other unmodified examples). (#6121, #6065, #5931). diff --git a/imgui.cpp b/imgui.cpp index 96f79beb3..c39d19f9a 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (main code and documentation) // Help: diff --git a/imgui.h b/imgui.h index de6049e1e..4c2c93b08 100644 --- a/imgui.h +++ b/imgui.h @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (headers) // Help: @@ -22,8 +22,8 @@ // Library Version // (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM > 12345') -#define IMGUI_VERSION "1.89.3 WIP" -#define IMGUI_VERSION_NUM 18928 +#define IMGUI_VERSION "1.89.3" +#define IMGUI_VERSION_NUM 18930 #define IMGUI_HAS_TABLE /* diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 2859c947c..aa2ed498d 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (demo code) // Help: diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 6ce480db0..97097cef8 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (drawing and font code) /* diff --git a/imgui_internal.h b/imgui_internal.h index 702bdadcb..6fd5aabfa 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (internal structures/api) // You may use this file to debug, understand or extend Dear ImGui features but we don't provide any guarantee of forward compatibility. diff --git a/imgui_tables.cpp b/imgui_tables.cpp index e29324744..ce5213e0c 100644 --- a/imgui_tables.cpp +++ b/imgui_tables.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (tables and columns code) /* diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 4f03181cf..fc71faff1 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -1,4 +1,4 @@ -// dear imgui, v1.89.3 WIP +// dear imgui, v1.89.3 // (widgets code) /*