5117 Commits (e4233c6fb6071762a7ecea735e92a253c5794a0d)

Author SHA1 Message Date
ocornut e816bc6723 Merge misc changes from docking branch to reduce small drift. ago%!(EXTRA string=2 years)
ocornut 1b27ac982f Backends+Examples: SDL2: renamed imgui_impl_sdl.cpp/.h to imgui_impl_sdl2.cpp/.h. (#6146) ago%!(EXTRA string=2 years)
ocornut c807192abc Tables: amend f799a29 with a better solution + fix potential overflow (#6140) ago%!(EXTRA string=2 years)
ocornut d6ea56dfd9 Tables: amend f799a29 with a better solution + fix potential overflow (#6140) ago%!(EXTRA string=2 years)
ocornut 3617a96372 Backends, Inputs: Made horizontal scroll wheel and horizontal scroll direction consistent accross backends/os. (#4019, #6096, #1463) ago%!(EXTRA string=2 years)
nahkhiir 2efebe3315 ShowFontAtlas, Demo: optionally use style text color for tint. (#6129) ago%!(EXTRA string=2 years)
ocornut 27f2dd56d6 Internals: move "%s" skip-formatting logic to ImFormatStringToTempBuffer() function, meaning Text() and all the *V() functions can also benefit from it. (#3466) ago%!(EXTRA string=2 years)
ocornut 5741cbae45 Internals: ImFileOpen: fixed misleading use of ImWchar (would allocate more when ImWchar=ImWchar32) + update version for previous changes namely tab bar ones. ago%!(EXTRA string=2 years)
ocornut 07490618ae Misc: Tolerate zero delta-time under Emscripten. (#6114, #3644) ago%!(EXTRA string=2 years)
ocornut 3d8885cbbd TabBar: Internals: add GetCurrentTabBar(), TabBarFindTabByOrder(), TabBarGetCurrentTab(), TabBarGetTabOrder(), TabBarGetTabName(), TabBarQueueFocus() + clear LastTabItemIdx on EndTabBar(). (#5853, #5997) ago%!(EXTRA string=2 years)
ocornut 739a79b1e9 ImDrawList: Added missing early-out in AddPolyline() and AddConvexPolyFilled() when color alpha is zero. Window: Avoid rendering shapes for hidden resize grips. ago%!(EXTRA string=2 years)
ocornut ccf94e2e6e Strip seemingly unecessary tests, as UTF-8 decoder can not return null since 9cca1b2e9 ago%!(EXTRA string=2 years)
ocornut 55b8ce9b23 Reword ImTextCharFromUtf8() to avoid a warning + marked UTF-8 functions with IM_MSVC_RUNTIME_CHECKS_OFF. (#5987) ago%!(EXTRA string=2 years)
ocornut 1297a2be52 Text: Tweaked rendering of three-dots "..." ellipsis variant. Baking more data. (#2775, #4269) ago%!(EXTRA string=2 years)
ocornut 8801f02949 Text: Fix clipping of single-character "..." ellipsis when font is scaled. (#2775 ago%!(EXTRA string=2 years)
ocornut 482ac70a0b Version 1.89.3 WIP ago%!(EXTRA string=2 years)
ocornut d7c8516a4b Version 1.89.2 ago%!(EXTRA string=2 years)
ocornut 824baa6a4d Docking: fixed DockSpace() with ImGuiDockNodeFlags_KeepAliveOnly marking current window as written to,. (#6037) ago%!(EXTRA string=2 years)
ocornut 6939676372 Docking: fixed DockBuilderCopyDockSpace() crashing when windows not in the remapping list are docked on the left or top side of a split. (#6035) ago%!(EXTRA string=2 years)
Neil Bickford f1ddf63027 ScrollToRectEx: Fix bug where scrolling horizontally to an always-centered element that is not visible but could be would take the item's Y coordinate into account. ago%!(EXTRA string=2 years)
ocornut 59b63defe5 Misc shallow merge/sync from docking designed to faciliate cross-merging between docking and string_view. ago%!(EXTRA string=2 years)
ocornut 0949acb6e6 Shortcut: added Shortcut() function and ImGuiInputFlags in public API + Demo. (#456, #2637) ago%!(EXTRA string=2 years)
ocornut 1dae7df26f Misc: added GetItemID() in public API. ago%!(EXTRA string=2 years)
ocornut fd0b3734d3 Tables, Nav, Scrolling: fixed scrolling functions and focus tracking with frozen rows and columns. (#5143, #4868, #3692) ago%!(EXTRA string=2 years)
ocornut 16cee3d009 Internals: tidying up and standardizing outer decoration size storage. (toward #5143, #4868, #3692, #3518) ago%!(EXTRA string=2 years)
ocornut 820b1e651a Internals: reduced duplicate code in CalcNextScrollFromScrollTargetAndClamp() by looping through axiees. ago%!(EXTRA string=2 years)
ocornut 24b873a740 Internals: renaming inside ScrollToRectEx() + fixed misplaced changelog entry. ago%!(EXTRA string=2 years)
ocornut ed54e14f1b Refactor: moved UpdateAliasKey(), GetMergedModsFromKeys(), UpdateKeyboardInputs(), UpdateMouseInputs() to INPUTS section. ago%!(EXTRA string=2 years)
ocornut f83da768b6 Refactor: moved LockWheelingWindow(), FindBestWheelingWindow(), UpdateMouseWheel() to INPUTS section ago%!(EXTRA string=2 years)
ocornut f9ab2a0e9f Refactor: moved UpdateKeyRoutingTable() to INPUTS section. renamed GetKeyVector2d() -> GetKeyMagnitude2d() ago%!(EXTRA string=2 years)
ocornut 38a0d7ceb5 Refactor: added INPUTS section index, moved IsMouseHoveringRect() to INPUTS section. ago%!(EXTRA string=2 years)
ocornut b5883c1cfb Refactor: moved bits into Initialization section. ago%!(EXTRA string=2 years)
ocornut 45736443be Debug Tools: Metrics: added "Inputs" section, moved from Demo for consistency. ago%!(EXTRA string=2 years)
ocornut 87caf27ac4 Inputs, Scrolling: better selection of scrolling window when hovering nested windows and backend/OS is emitting dual-axis wheeling inputs. (#3795, #4559) ago%!(EXTRA string=2 years)
ocornut bf4c2e00c0 Docs: retroactively update 1.89 changelog/docs to clarify that strong typing ImGuiKey was technically a breaking change for users of legacy indices. (#4921) ago%!(EXTRA string=2 years)
ocornut cc3a2200a9 Internals: invert logic of mods key<>bool translation to facilitate other experiments and put emphasis on new API. (#5923, #4921) ago%!(EXTRA string=2 years)
ocornut 1a497c2499 Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of compile-time. (#5923, #456) ago%!(EXTRA string=2 years)
Teselka 969af7c773 Internal: Disable debug logs macro if IMGUI_DISABLE_DEBUG_TOOLS is defined. (#5901) ago%!(EXTRA string=2 years)
ocornut bd96f6eac4 Text: Fixed layouting of wrapped-text block when the last source line is above the clipping region. Regression added in 1.89. (#5720, #5919) ago%!(EXTRA string=2 years)
ocornut fad8afd62a Docking: amend to allow localizing docking specific user facing string. (#5895) ago%!(EXTRA string=2 years)
ocornut a8df192df0 Version 1.89.1 ago%!(EXTRA string=2 years)
ocornut 27c58c3946 Scrolling, Focus, Combo: fixed SetKeyboardFocusHere()/SetItemDefaultFocus()/ScrollToRectEx() during an appearing form not centering item. (#5902, #2812, #4242, #2900) ago%!(EXTRA string=2 years)
ocornut d2f9c5dfb7 Viewports: moving PlatformWindowCreated field to public structure. (#5882) ago%!(EXTRA string=2 years)
ocornut 856c6314ec Drag and Drop: fixed GetDragDropPayload() returning a non-NULL value before payload is submitted. (#5910, #143) ago%!(EXTRA string=2 years)
ocornut ffe0abbfc2 Internals: added basic localization system (#5895) ago%!(EXTRA string=2 years)
ocornut c3d9f8ee7e Layout: fixed End()/EndChild() incorrectly asserting if users manipulates cursor position inside a collapsed/culled window and IMGUI_DISABLE_OBSOLETE_FUNCTIONS is enabled. (#5548, #5911) ago%!(EXTRA string=2 years)
ocornut 9964740a47 Viewport: Fixed collapsed windows setting ImGuiViewportFlags_NoRendererClear without making title bar color opaque. ago%!(EXTRA string=2 years)
ocornut 7bee9a8f96 Inputs: fixed moving a window or drag and dropping from preventing input-owner-unaware code from accessing keys. (#5888, #4921, #456) ago%!(EXTRA string=2 years)
ocornut d60985df7f Inputs: fix moving a window or drag and dropping from capture mods. (#5888, #4921, #456) ago%!(EXTRA string=2 years)
ocornut 83cee9e091 InputText: replaced some uses of SetKeyOwner() + IsKeyPressed() with Shortcut() ago%!(EXTRA string=2 years)