Commit Graph

  • 11de9df44c Minor optimization: reduce redudant label scanning in common widgets. ocornut 2026-04-09 14:25:34 +02:00
  • c2565fe642 Update ignore list ocornut 2026-04-09 13:59:45 +02:00
  • 95bd1577d6 Windows: Child windows with only ImGuiChildFlags_AutoResizeY flag keep using the proportional default ItemWidth. (#9355) ocornut 2026-04-09 12:53:20 +02:00
  • bbcc83e999 Merge branch 'master' into docking ocornut 2026-04-08 21:40:40 +02:00
  • dd17495a42 Detect and report error when calling End() instead of EndPopup() on a popup. (#9351) ocornut 2026-04-08 21:40:05 +02:00
  • 1870a779e1 Windows: fixed a single-axis auto-resizing feedback loop issue with nested containers and varying scrollbar visibility. (#9352) ocornut 2026-04-08 20:44:54 +02:00
  • a9bd173d89 Windows: shallow renames (should be no-op). ocornut 2026-04-08 20:15:08 +02:00
  • bccec3eabc Tables: fixed IdealMaxPos.y/CursorMaxPos.y computation being wrong when vertically scrolling. (#9352, #7651) ocornut 2026-04-08 20:01:00 +02:00
  • d946c6932b InputText: fixed a crash toggling ReadOnly flag while active. (#9354) ocornut 2026-04-08 15:56:59 +02:00
  • 4d38508c6b Tables: fixed an issue reporting ideal size to parent window/container when both scrollbars are visible but only one of ScrollX/ScrollY was explicitly requested. (#9352, #7651) ocornut 2026-04-08 15:07:11 +02:00
  • c0e6580b62 Reword code in CalcWindowAutoFitSize() to match the order used in size_desired calculation. ocornut 2026-04-08 14:28:06 +02:00
  • 6985925244 Clipper, Tables: Improved error reporting when misusing the clipper inside a table + made the assert a better recoverable error. (#9350) ocornut 2026-04-07 19:19:40 +02:00
  • 7cb0baeb77 imgui_freetype: add FreeType headers & compiled version number in the 'About Dear ImGui' user facing string. ocornut 2026-04-07 17:17:20 +02:00
  • 49df3116bc Backends: Metal: avoid redundant vertex buffer bind in SetupRenderState. (#9343) hunam 2026-04-03 19:38:07 +03:00
  • 03a0b00a34 InputTextMultiline: fixed an issue processing deactivation logic when an active multi-line edit is clipped due to being out of view. ocornut 2026-04-03 16:25:57 +02:00
  • 4a61188322 Version 1.92.8 WIP ocornut 2026-04-03 16:14:46 +02:00
  • f5f6ca07be Docs: minor Changelog amends. ocornut 2026-04-02 20:05:19 +02:00
  • b1bcb12a62 Merge branch 'master' into docking v1.92.7-docking ocornut 2026-04-02 19:25:58 +02:00
  • dac07199cf Version 1.92.7 v1.92.7 ocornut 2026-04-02 19:00:50 +02:00
  • 45866bea47 Tables: fixes not releasing ReorderColumn caused by 38f5e5a. Which could break clicking on header to sort. (#9312) ocornut 2026-04-02 18:57:50 +02:00
  • 65ebca8157 Fonts: fixed an issue introduced in 1.92.6 where style.FontBaseSize would be cleared during the first frame if no fonts was explicitely added before. ocornut 2026-04-02 18:34:05 +02:00
  • 9e9fdc97bb InputText: rename Edited->EditedThisFrame, add EditedBefore. (#701) + Comments + About box clipboard blurb include a comment. ocornut 2026-04-02 14:30:18 +02:00
  • 02e9b8cacd Tables: columns freeze doesn't enforce a particular order + rework changelog for clarity. (#9312) ocornut 2026-04-02 13:59:36 +02:00
  • fc5e421cb9 Tables: columns freeze doesn't enforce a particular order + rework changelog for clarity. (#9312) ocornut 2026-04-02 13:59:36 +02:00
  • 39d1be05e8 Tables: fixed FrozenColumns issue introduced by 505bc9a. ocornut 2026-04-01 21:35:55 +02:00
  • b7bdea3215 Tables: fixed FrozenColumns issue introduced by 505bc9a. ocornut 2026-04-01 21:35:55 +02:00
  • 757fd2f57b Merge branch 'master' into docking ocornut 2026-04-01 21:01:48 +02:00
  • bf10275aa7 Tables: allow reordering columns by dragging them in the context menu. (#9312) ocornut 2026-04-01 19:43:21 +02:00
  • 0867f6113a Tables: reorder allowed check sweep through columns, checks _NoOrder barrier, and reworked to be easy to use from context menu. (#9312) ocornut 2026-04-01 14:13:34 +02:00
  • 836278db6c Tables: context menu now present columns in display order. (#9312) ocornut 2026-03-20 21:22:53 +01:00
  • 505bc9a312 Tables: clarify FrozenColumns order to be in order space not in visible space. ocornut 2026-04-01 19:07:59 +02:00
  • 07acc8bc87 Tables: Angled Headers: angled section for column being reordered via the regular headers stay highlighted during reordering. ocornut 2026-04-01 20:05:17 +02:00
  • 6603cdef98 Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id. ocornut 2026-04-01 20:03:30 +02:00
  • 9df0d38d45 Tables: amend 2ac782f bad WIP merge broken reorder. (#9312) ocornut 2026-04-01 18:30:29 +02:00
  • 2ac782fbed Revert "Tables: rework TableSetColumnDisplayOrder() to take src_order. (#9312)" ocornut 2026-04-01 17:53:55 +02:00
  • 9fedea83f0 Tables: TableQueueSetColumnDisplayOrder() enforce handling ImGuiTableColumnFlags_NoReorder as advertised: can't reorder through them. (#9312) ocornut 2026-04-01 16:00:49 +02:00
  • ed4cffece7 Tables: store LeftMostUnfrozenOrder and amend TableQueueSetColumnDisplayOrder(). (#9312) ocornut 2026-03-24 16:02:20 +01:00
  • 7be8076e9b Tables: rework TableSetColumnDisplayOrder() to take src_order. (#9312) ocornut 2026-04-01 14:24:58 +02:00
  • 587c4cb87b Tables: rename locals in TableDrawDefaultContextMenu() to reduce confusion. ocornut 2026-04-01 15:24:37 +02:00
  • aab17456a7 Tables: mark setting as dirty when forcing reordering. ocornut 2026-03-23 15:08:27 +01:00
  • fe5c5298a6 Merge branch 'master' into docking ocornut 2026-03-31 21:48:34 +02:00
  • 3c78afbbbb Added missing ImVec2/ImVec4 operators. (#9339, #8510, #8258) Daniel K. O. (dkosmari) 2026-03-30 21:50:50 -03:00
  • 64f88934a7 Viewports: only apply AdjustWindowRectExForDpi() when Per-Monitor DPI Aware V2. Amend 54a865e. (#8897) ocornut 2026-03-31 20:22:53 +02:00
  • 54a865e472 Viewports: fixed setting/getting correct size when viewports have OS decorations (e.g. io.ConfigViewportsNoDecoration = false) and process is running in Per-Monitor V2 DPI mode. (#8897) ocornut 2026-03-29 14:38:18 +02:00
  • b003a85143 Backends: Vulkan: use a single call to vkCmdPushConstants(). (#9183, #9327) JoshBot-Debug 2026-01-23 22:31:05 +05:30
  • 689f837afa IO: added comments near ImGuiConfigFlags to refer to other fields. (#3379) ocornut 2026-03-30 13:04:38 +02:00
  • 97075fae4b Clipper: always pulls current context on ImGuiListClipper::Begin(). (#9324, #5856) ocornut 2026-03-30 12:53:30 +02:00
  • bd3c925680 DrawList: PathArcTo(): fixed erroneous segment count for small arcs on large circles. (#9331, #9313) thedmd 2026-03-29 10:20:24 +02:00
  • b62cf3894b Inputs: fixed an issue using SetKeyOwner() with ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease on ImGuiMod values. (#9323) ocornut 2026-03-25 22:00:14 +01:00
  • 148bd34a7e Viewports: add GetDebugName() helper. ocornut 2026-03-25 19:33:54 +01:00
  • e9eb04ea95 Internals: TempInputText: added callback/user_data parameters and made end of signature match InputText(). (#2718) ocornut 2026-03-25 17:44:55 +01:00
  • 8d8892ce0e Backends: SDL3: use SDL_HAS_EVENT_DISPLAY_USABLE_BOUNDS_CHANGED (SDL 3.4.0+) when available to avoid refreshing monitor work area every frame on Windows. (#8415) ocornut 2026-03-25 17:25:32 +01:00
  • ed2e5dd0f0 Examples+WebGPU: added support for WGVK in cmakefiles. (#9316, #9246, #9257) ocornut 2026-03-25 16:16:15 +01:00
  • 59183cf782 Backends, Examples: WebGPU: added support for WGVK. Remaining amends. (#9316, #9246, #9257) ocornut 2026-03-23 16:26:45 +01:00
  • 59780020f6 Backends, Examples: WebGPU: added support for WGVK. (#9316, #9246, #9257) r-lyeh 2026-03-21 00:36:24 +01:00
  • 0b82487fed TempInputText: amends. Rename ImGuiInputTextFlags_MergedItem to ImGuiInputTextFlags_TempInput for explicitness. (#2718) ocornut 2026-03-25 14:29:54 +01:00
  • 51f590a2a8 Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. (#9322) ocornut 2026-03-25 14:17:29 +01:00
  • 6c754ed2cb TempInputText, InputText: enforce making active via ImGuiInputTextFlags_MergedItem. Restore cursor as Rect is provided + comments. (#2718, #6690) ocornut 2026-03-24 16:21:31 +01:00
  • 79411a0405 Backends, Examples: WebGPU: fixed warnings + scale initial surface height for native. ocornut 2026-03-23 16:12:39 +01:00
  • 6b1776a7d2 Tables: context menu can be open using navigation Shift+F10 etc. (#8803, #9270) ocornut 2026-03-23 15:37:56 +01:00
  • 38f5e5a0b8 Tables: rework column reordering code. (#9312) ocornut 2026-03-23 14:42:26 +01:00
  • 697b6886e3 Docs: update FAQ about label/ID system. (#9318) ocornut 2026-03-23 14:13:30 +01:00
  • 8314fc3e5a Menus: shallow tweaks. ocornut 2026-03-20 20:47:07 +01:00
  • 50b488765f ButtonBehavior, Selectable: made low-level ImGuiButtonFlags_PressedOnRelease not explicitely avoid taking current active id. ImGuiButtonFlags_NoHoldingActiveId may be used for that. ocornut 2026-03-20 20:05:24 +01:00
  • e05bd9deb9 Merge branch 'master' into docking ocornut 2026-03-20 16:37:35 +01:00
  • 4af77622d9 Scrollbar: Fixed an issue which could lead initial click to move the current scroll by a pixel. ocornut 2026-03-20 16:14:17 +01:00
  • 2315b9f33d InputTextMultiline: fixed an issue where edit buffer wouldn't be reapplied to back buffer on the IsItemDeactivatedAfterEdit() frame. (#9308, #8915, #8273) ocornut 2026-03-20 15:47:26 +01:00
  • 04dfcd838b InputTextMultiline: fixed losing revert value when activating scrollbar. (toward #9308) ocornut 2026-03-20 15:39:02 +01:00
  • 2d957152e4 InputTextMultiline: avoid going through reactivation path and InputTextDeactivateHook() when activating scrollbar. (#9308) ocornut 2026-03-20 15:37:56 +01:00
  • 325563a982 InputTextMultiline: InputTextMultiline: fixed an issue calculating lines count when active. ocornut 2026-03-20 15:17:07 +01:00
  • 763db046fa Docs: fixed imgui_manual -> imgui_explorer link. (#9315) Pascal Thomet 2026-03-20 12:40:32 +01:00
  • 3a26b640b2 Drag and Drop: make SetDragDropPayload() memcpy size match our buffer. ocornut 2026-03-20 11:50:05 +01:00
  • 386ce49c58 Backends: DirectX9: fixed build typo in 0500e54. ocornut 2026-03-19 18:17:35 +01:00
  • b2c3e37d55 Multi-Select: fix/amend 9700846. . (#9307, #1861) ocornut 2026-03-19 16:58:14 +01:00
  • 9700846bb3 MultiSelect: added ImGuiMultiSelectFlags_SelectOnClickAlways mode. Prevents Drag and Drop of multiple items but allows BoxSelect to always reselect even when clicking inside a selecttion. (#9307, #1861) ocornut 2026-03-19 16:38:13 +01:00
  • 0b4967992a MultiSelect: Box-Select: removed now seemingly unnecessary 'selected==false' check, which will also prevent implementation of ImGuiMultiSelectFlags_SelectOnClickAlways. (#9307) ocornut 2026-03-19 16:29:03 +01:00
  • 20d8bcb600 (Breaking) MultiSelect: renamed ImGuiMultiSelectFlags_SelectOnClick to ImGuiMultiSelectFlags_SelectOnAuto. (#1861, #6518) ocornut 2026-03-19 16:04:04 +01:00
  • 358d3912c9 Backends: SDLRenderer2/3: fixed build, typo in 0500e54. ocornut 2026-03-19 12:34:11 +01:00
  • 4d1ba782ee Revert changing default value of ImTextureID_Invalid to -1. Back to 0. (#9295, #9310, #9293, #8745, #8465, #7090) ocornut 2026-03-19 11:54:42 +01:00
  • 0500e546b5 Backends: DX9, Metal, SDLRenderer2/3: fixed more assumptions that ImTextureID_Invald == 0 + Amend Changelogs. (#9310, #9293) ocornut 2026-03-19 11:47:01 +01:00
  • 7fc3092870 Backends: SDLGPU3: Prevent DestroyTexture from deleting invalid textures if ImTextureID_Invalid != 0. (#9310, #9293) Starman 2026-03-18 23:06:13 +00:00
  • b724f940d6 InputText: fixed selection highlight Y1 offset being very slightly off (since 1.92.3). (#9311) ocornut 2026-03-19 11:20:00 +01:00
  • 4252275c64 InputTextMultiline: fixed an issue calculating lines count when inactive, no word-wrap, and ending with a \n. ocornut 2026-03-18 20:10:14 +01:00
  • 6abe65aac6 InputText: amend fix to avoid PVS-Studio sort of rightful false positive. Amend f4c2f50. (#9174) ocornut 2026-03-18 18:57:02 +01:00
  • f4c2f50896 InputText: fixed a crash when handling ImGuiInputTextFlags_CallbackResize. (#9174) ocornut 2026-03-18 18:37:04 +01:00
  • 27cacb0e30 Fixed GetForegroundDrawList()/GetBackgroundDrawList() per-viewport buffers not being collected/ (#9303) ocornut 2026-03-18 16:48:18 +01:00
  • 709be8c495 Discard/GC of ImDrawList buffers for unused windows favor restoring them to ~Size*1.05 instead of Capacity when awakening again. (#9303) ocornut 2026-03-18 15:34:12 +01:00
  • 994ca12b29 Fixed warning. (Amend 1677236) ocornut 2026-03-16 18:51:38 +01:00
  • 6464276b62 InputText: cleanup/rework old comments + remove unnecessary indent in callback and main block setting apply_new_text. ocornut 2026-03-16 12:19:04 +01:00
  • 16772365e2 Moved ImGuiButtonFlags_AllowOverlap from imgui_internal.h to imgui.h + standardize comments. ocornut 2026-03-16 18:42:22 +01:00
  • 8957b3df03 InputScalar: minor rework to facilitate incoming change. Intended to have no side-effects. ocornut 2026-03-16 11:41:01 +01:00
  • 60d7fb207e Merge branch 'master' into docking ocornut 2026-03-13 17:09:34 +01:00
  • 4a2e3cce69 Examples: SDL2+WebGPU: fixes hi-dpi handling. (#9300) Yan Pujante 2026-03-13 08:58:12 -07:00
  • fd752d8357 InputText: Fixed a glitch when using ImGuiInputTextFlags_ElideLeft where the local x offset would be incorrect during the deactivation frame. (#9298) ocornut 2026-03-13 16:32:39 +01:00
  • d02c645e38 Nav: short Gamepad Activation press on InputText() always activate with Text Input mode. ocornut 2026-03-13 15:07:26 +01:00
  • 49ee151ed6 Nav: pressing gamepad north button activates context menus. ocornut 2026-03-13 15:01:10 +01:00
  • b76ab6232d Nav: changed Gamepad mapping for "Activate with Text Input" action from FaceUp press to FaceDown long press. (#8803, #787) ocornut 2026-03-13 14:48:10 +01:00
  • 6dbda97fee Backends: OpenGL2, OpenGL3, SDLRenderer3: replaced erroneous IM_ASSERT(tex->TexID == 0) calls. (#9295, #9293) ocornut 2026-03-12 19:27:50 +01:00
  • 90743d3112 Nav: allow ImGuiKey_Menu or Shift + F10 to work on Begin()...BeginPopupContextItem() sequence aiming at title bar. (#8803, #9270) ocornut 2026-03-12 19:12:47 +01:00
  • 14a500a476 Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. Rework with polling in NavUpdate(). (#8803, #9270) ocornut 2026-03-12 18:49:57 +01:00