Commit Graph

  • 713e034d95 Backends: OpenGL3: Fix for zealous warning. (#5947) ocornut 2022-12-03 15:12:20 +0100
  • 844e0ae688 Fixes/amend 9825f7f + amend Changelog (#4857, #5937) ocornut 2022-12-01 20:18:32 +0100
  • 0e2a167bdb Fonts: added a 'void* UserData' field in ImFontAtlas, as a convenience for use by applications using multiple font atlases. ocornut 2022-12-01 20:08:43 +0100
  • 9825f7fa87 Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles. (#4857, #5937) ocornut 2022-12-01 18:40:36 +0100
  • 66ad2ad539 Properly detect SSE instruction support in 32-bit MSVC build. (#5943) assiduous 2022-11-30 11:57:54 -0800
  • a5e96ff99e Make ImGuiInputTextState not depend on the implicit GImGui context. (#5856) Marc Delorme 2022-11-01 21:56:10 +0900
  • 45736443be Debug Tools: Metrics: added "Inputs" section, moved from Demo for consistency. ocornut 2022-11-30 20:08:57 +0100
  • 87caf27ac4 Inputs, Scrolling: better selection of scrolling window when hovering nested windows and backend/OS is emitting dual-axis wheeling inputs. (#3795, #4559) ocornut 2022-11-30 17:46:57 +0100
  • a5f3596e6c Backends: Allegro5: use al_draw_indexed_prim() or al_draw_prim() depending on version. (#5937) ocornut 2022-11-30 14:43:00 +0100
  • 50aeeff96c Backends: Allegro5: Brough back al_draw_indexed_prim when available. (#5937) Espyo 2022-11-29 20:56:10 +0000
  • 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) ocornut 2022-11-29 21:36:59 +0100
  • cc3a2200a9 Internals: invert logic of mods key<>bool translation to facilitate other experiments and put emphasis on new API. (#5923, #4921) ocornut 2022-11-29 18:57:38 +0100
  • 1a497c2499 Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of compile-time. (#5923, #456) ocornut 2022-11-29 18:11:09 +0100
  • 969af7c773 Internal: Disable debug logs macro if IMGUI_DISABLE_DEBUG_TOOLS is defined. (#5901) Teselka 2022-11-20 23:45:55 +0200
  • 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) ocornut 2022-11-28 14:59:13 +0100
  • 6af38b1a43 Fixed version string for consistency (#5918) ocornut 2022-11-28 14:42:30 +0100
  • a8df192df0 Version 1.89.1 ocornut 2022-11-24 21:24:33 +0100
  • 27c58c3946 Scrolling, Focus, Combo: fixed SetKeyboardFocusHere()/SetItemDefaultFocus()/ScrollToRectEx() during an appearing form not centering item. (#5902, #2812, #4242, #2900) ocornut 2022-11-24 17:40:51 +0100
  • 233d7ad3f2 Backends: WebGPU: fixed validation error with default depth buffer settings. (#5869, #5914) kdchambers 2022-11-23 15:58:02 -0500
  • 856c6314ec Drag and Drop: fixed GetDragDropPayload() returning a non-NULL value before payload is submitted. (#5910, #143) ocornut 2022-11-23 17:58:14 +0100
  • ffe0abbfc2 Internals: added basic localization system (#5895) ocornut 2022-11-23 16:05:16 +0100
  • 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) ocornut 2022-11-23 15:18:59 +0100
  • 3a685749cb ColorEdit: fixed label overlapping when using style.ColorButtonPosition == ImGuiDir_Left. (#5912) ocornut 2022-11-23 14:40:58 +0100
  • 16476f99fd Backends: GLFW: cancel out errors emitted by glfwGetKeyName() when a name is missing. (#5908) ocornut 2022-11-22 18:08:25 +0100
  • 5bb2874940 Version 1.89.1 WIP ocornut 2022-11-16 17:55:27 +0100
  • 7bee9a8f96 Inputs: fixed moving a window or drag and dropping from preventing input-owner-unaware code from accessing keys. (#5888, #4921, #456) ocornut 2022-11-16 17:53:35 +0100
  • d60985df7f Inputs: fix moving a window or drag and dropping from capture mods. (#5888, #4921, #456) ocornut 2022-11-16 17:40:44 +0100
  • 83cee9e091 InputText: replaced some uses of SetKeyOwner() + IsKeyPressed() with Shortcut() ocornut 2022-11-16 15:55:10 +0100
  • 81160fee56 Version 1.89 ocornut 2022-11-15 14:23:44 +0100
  • a582d92c31 Inputs: modulate wheel lock timer for small amount of wheeling. Slightly lower timer. (#3795) ocornut 2022-11-15 12:25:15 +0100
  • 03d3343e21 Docs: Update FAQ.md explaining how to enable hidpi for Windows app. (#5880) macaba 2022-11-10 15:31:18 +0000
  • 00b6370848 Backends: WebGPU: fixed rendering when a depth buffer is enabled. (#5869) Peter Nimmervoll 2022-11-07 21:35:05 +0100
  • 7380b9816e Scrolling: Exposed SetNextWindowScroll() in public API. (#1526) ocornut 2022-11-09 17:03:07 +0100
  • cda26635cd Inputs: refacotr/extract CalcRoutingScore() out of SetShortcutRouting(), easier to follow with early returns. ocornut 2022-11-09 16:32:30 +0100
  • b8b0f9d02e Backends: OpenGL3: Reverted use of glBufferSubData(). (#4468, #4504, #3381, #2981, #4825, #4832, #5127) ocornut 2022-11-09 15:57:54 +0100
  • f0ad810553 Inputs: tweak comments, typos. ocornut 2022-11-08 22:31:40 +0100
  • 637ddfce09 Inputs, Nav: made it possible to remap CTRL+Tab (#4828, #3255, #5641) ocornut 2022-11-08 20:06:04 +0100
  • 6c9c4879d9 Inputs: made Shortcut() routing id defaults to current FocusScope ID. (#456, #2637, #3724) ocornut 2022-10-26 14:53:45 +0200
  • d576724bfd Inputs: made ImGuiInputFlags_RouteFocused the default for Shortcut(). (#456, #2637, #3724) ocornut 2022-11-03 19:21:25 +0100
  • 4d6a9ef93f Inputs: added routing priorities. (#456, #2637, #3724) ocornut 2022-10-19 18:53:53 +0200
  • 7ff2d3353c Inputs: added wip/experiment routing system: Shortcut(), RoutingFocused policy, SetShortcutRouting(). (#456, #2637, #3724) ocornut 2022-09-14 21:47:27 +0200
  • c59ebb2d71 Inputs: added basic Shortcut() function - no routing yet. (#456) ocornut 2022-07-05 14:48:55 +0200
  • 8c95c084cb Inputs: changed specs of SetKeyOwner() to alter OwnerCurr immediately. ocornut 2022-09-20 18:58:08 +0200
  • 4448d975d1 Inputs: added wip/internal Input Owner system. (#456, #2637, #2620, #2891, #3370, #4828, #5108, #5242, #5641) ocornut 2022-05-17 15:36:25 +0200
  • 44d98bfd6d Fix build with IMGUI_DISABLE_DEBUG_TOOLS ocornut 2022-11-04 16:35:57 +0100
  • 529cba19b0 Debug Tools: Added DebugLocateItem()/DebugLocateItemOnHover() to visually locate items when hovering a 0xXXXXXXXX value. (#5855, #2673, #4631) ocornut 2022-10-24 22:53:43 +0200
  • 7109f32f96 Internals: tidying up and stripping more of focus scope code. ocornut 2022-11-03 16:25:15 +0100
  • 9f66a3a9ed Internals: rework FocusScope system, current scope doesn't need to be in window + child doesn't inherit. ocornut 2022-10-19 20:54:19 +0200
  • 1eac0024c0 InputText: copy and select all shortcuts don't need repeat (tho it was harmless0 ocornut 2022-11-03 18:23:42 +0100
  • 90e9465fa5 Window: Fixed position not being clamped while auto-resizing (#5843) ocornut 2022-11-02 12:36:41 +0100
  • 6e9dfe1de1 Window: Auto-fit size takes account of work rectangle (menu bars eating from viewport). (#5843) ocornut 2022-11-02 12:36:22 +0100
  • 86f2af2bc7 Backends: OSX: Fixed mouse coordinate before clicking on the host window. (#5842) Akira Maezawa 2022-11-02 01:52:20 +0900
  • c2694ef75e Examples: Android: Using LoadIniSettingsFromMemory() / SaveIniSettingsToMemory() to save in appropriate location for Android. (#5836) Rewtio 2022-10-30 05:09:13 +0700
  • 22bcfca700 IO: Clear AppFocusLost in EndFrame() in order to allow backend or application code to poll and react to it ocornut 2022-10-28 20:01:20 +0200
  • a241dc7990 IO: Fixed AddFocusEvent(false) to also clear MouseDown[] state. (#4921) ocornut 2022-10-27 20:17:19 +0200
  • a61bbdc239 Commented out redirecting OpenPopupContextItem() which was briefly the name of OpenPopupOnItemClick() from 1.77 to 1.79. ocornut 2022-10-26 22:22:53 +0200
  • 9db6b1a0d9 Backends: Win32: minor tidying up. (#5819) Teselka 2022-10-25 13:39:27 +0300
  • baea25e657 Drag and Drop: extracted a RenderDragDropTargetRect() function (#1603) ocornut 2022-10-25 15:07:00 +0200
  • 431fc6a7f6 Internals: using ItemAdd() consistently for internal items: windows & tables resize grips/borders, ScrollbarEx(). ocornut 2022-10-24 22:45:05 +0200
  • 178aee4b1c Debug Tools: Debug Log: add and use ImGuiTextLineIndex. ocornut 2022-10-21 18:55:47 +0200
  • 578df14f27 CI: Remove left-over discord stuff. ocornut 2022-10-24 12:02:06 +0200
  • f6bd7c8e53 Debug Tools: Item Picker: remove IMGUI_DEBUG_TOOL_ITEM_PICKER_EX since it doesn't work on non-ItemHoverable() items anyway. (#2673) ocornut 2022-10-21 18:03:46 +0200
  • bc918404fe Internals: using ImToUpper() since std one does too many things. ocornut 2022-10-21 16:13:52 +0200
  • 9a35bfea39 Internals: added temporary ImGuiItemStatusFlags_Visible (used internally - please do not use). ocornut 2022-10-19 16:52:23 +0200
  • de1593d5c0
    Backends: DX12: Fixed stale comments. (#5798) David 2022-10-20 01:25:00 -0500
  • e3fa56ae05 BeginMenu(): Menus: Fixed a one-frame issue where SetNextWindowXXX data are not consumed by a BeginMenu(). ocornut 2022-10-19 12:07:56 +0200
  • 5ac94ad898 Window: Fixed an issue where uncollapsed a window would show a scrollbar for a frame. ocornut 2022-10-18 16:29:35 +0200
  • ab6e48b833 Backends: GLFW: Perform a dummy glfwGetError() read to cancel missing mouse cursors errors. (#5785) ocornut 2022-10-18 12:17:59 +0200
  • 08752b372e Menus, Popups: Experimental fix for issue where clicking on an open BeginMenu() item called from a window which is neither a popup neither a menu used to incorrectly close and reopen the menu. (#5775) ocornut 2022-10-14 18:43:04 +0200
  • 81176737f8 Menus: Fixed using IsItemHovered()/IsItemClicked() on BeginMenu(). (#5775) ocornut 2022-10-14 17:39:04 +0200
  • 3920b1c764 Removed commented out old flags from when Tables was a branch. ocornut 2022-10-12 23:35:53 +0200
  • b15347cb7d Tables: activating an ID (e.g. clicking button inside) column doesn't prevent columns output flags from having ImGuiTableColumnFlags_IsHovered set. (#2957) ocornut 2022-10-13 15:15:42 +0200
  • 3e8d198133 Removed runtime patching of obsolete/invalid "%f"/"%.0f" types of format strings for DragInt()/SliderInt(). ocornut 2022-10-12 23:07:15 +0200
  • 5196bd15e9
    Docs: Update outdated code sample (#5766) thedemons 2022-10-11 22:45:27 +0700
  • c54230d14e Backends: Using nullptr instead of NULL. (#5760, #4537) + fix additional warnings. ocornut 2022-10-11 12:22:29 +0200
  • 8a44c31c95 Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor (#2604, #3795, #4559) ocornut 2022-10-06 14:42:22 +0200
  • dfa1bb0ac7 Backends: OSX: Fixed mouse inputs on flipped views. (#5756) ocornut 2022-10-06 14:27:27 +0200
  • 85a368b58d Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. (#5745) ocornut 2022-10-04 18:00:42 +0200
  • c7d3d22ae1 Scrolling: Mitigated issue where multi-axis mouse-wheel inputs (usually from touch pad events) are incorrectly locking scrolling in a parent window. (#4559, #3795, #2604) ocornut 2022-10-04 15:39:55 +0200
  • 80a870a3e5 Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again (#2604) + small refactor ocornut 2022-09-28 12:08:40 +0200
  • 282b2b5afb Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. (#914, #5738). ocornut 2022-10-04 12:30:45 +0200
  • a588f00f7b Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. (#914, #5738). ocornut 2022-10-04 12:02:48 +0200
  • 5884219867 imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. (#5731) cfillion 2022-09-28 23:37:39 -0400
  • f2a522d70d ImDrawList: Not using alloca() anymore, lift single polygon size limits. (#5704, #1811) ocornut 2022-09-30 15:43:27 +0200
  • cc5058e5d7 IO: Filter duplicate input events during the AddXXX() calls. (#5599, #4921) ocornut 2022-09-29 21:59:32 +0200
  • fac8295d6e IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of 839c3100), will filter earlier in next commit. (#5599) ocornut 2022-09-29 21:31:36 +0200
  • 9e7f460c09 Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer. (#4921, #456) ocornut 2022-09-29 20:42:45 +0200
  • 0749453355 Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. (#5730) ocornut 2022-09-29 19:51:54 +0200
  • 9f6aae3bf2 Nav: Fixed race condition pressing Esc during popup opening frame causing crash. ocornut 2022-09-29 19:48:27 +0200
  • bd2355a047 Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). (#1207) ocornut 2022-09-29 19:25:26 +0200
  • 3532ed1621 Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. (#5730) ocornut 2022-09-29 18:07:35 +0200
  • d5d705069d Various comments ocornut 2022-09-29 17:26:52 +0200
  • e74a50f525 Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. (#5676, #5727) Andrew D. Zonenberg 2022-09-28 08:19:34 -0700
  • d17627b9c6 InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. (#5724) ocornut 2022-09-28 17:38:41 +0200
  • 0a7054c7e4 Backends: Win32: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). (#5725, #1807, #471, #2815, #1060) ocornut 2022-09-28 17:00:45 +0200
  • a229a7f39f Examples: Win32: Always use RegisterClassW() to ensure windows are Unicode. (#5725) ocornut 2022-09-28 16:57:09 +0200
  • e0330c1696 Fonts, Text: Fixed wrapped-text not doing a fast-forward on lines above the clipping region. (#5720) ocornut 2022-09-28 14:54:38 +0200
  • 4d4889bf1b Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code. ocornut 2022-09-28 12:42:06 +0200
  • 5c4426c5b8 Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. (#5721) ocornut 2022-09-28 12:22:34 +0200
  • 12c0246890 Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. (#255) ocornut 2022-09-28 12:07:43 +0200