Commit Graph

  • 3d79353e45 Cast this to (void*) in zero-clearing memset calls to fix -Wnontrivial-memcall. Amends for docking (#9247, #8295, #8129, #8135) ocornut 2026-02-16 16:30:21 +01:00
  • fbe973a8d0 Cast this to (void*) in zero-clearing memset calls to fix -Wnontrivial-memcall (#9247, #8295, #8129, #8135) Laurenz Altenmüller 2026-02-16 14:36:36 +01:00
  • eaa32bb787 Avoid using SSE intrinsic on ARM64/ARM64EC targets. (#9209, #5943, #4091) Naveen Regulla 2026-01-31 07:45:47 +05:30
  • 9f2b3bcf7a Backends: SDL2, SDL3: systems other than X11 are back to starting mouse capture on mouse down. Only X11 requires waiting for a drag by defaultadded ImGui_ImplSDL2_SetMouseCaptureMode(), ImGui_ImplSDL3_SetMouseCaptureMode(). (#9235, #3650, #6410, #3956, #3835) ocornut 2026-02-13 15:58:20 +01:00
  • 3fb22b836b Merge branch 'master' into docking ocornut 2026-02-12 20:08:03 +01:00
  • 041cdddf35 Fonts: add new ProggyForever font! ocornut 2026-02-05 16:03:19 +01:00
  • a8bf659143 Fonts: AddFontDefaultBitmap() doesn't need to explicitely set OversampleH/OversampleV to 1 as this is automatic. ocornut 2026-02-12 19:35:41 +01:00
  • 9c33672e5c Examples: reword a comment to not mention AddFontDefault() explicitly. ocornut 2026-02-12 18:36:22 +01:00
  • 42f28ba305 Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent. (re) ocornut 2026-02-11 20:11:13 +01:00
  • 291787bcac Fonts: comment about swapping EllipsisChar value. (#9228) ocornut 2026-02-11 18:59:11 +01:00
  • d67c66c437 Changed RenderTextEllipsis() logic to not trim trailing blanks before the ellipsis. (#9229) ocornut 2026-02-11 13:24:38 +01:00
  • 7b365fa6b4 Nav: fixed another occurence of nav cursor briefly appearing when Tabbing with ImGuiConfigFlags_NavEnableKeyboard disabled. (#9214, #9218) ocornut 2026-02-10 22:04:15 +01:00
  • 87262dd07a Nav, IO: added undocumented ConfigNavEnableTabbing flag. (#9218) ocornut 2026-02-10 21:50:05 +01:00
  • 8ed10d538e Docs: update comment on ImGuiConfigFlags_NavEnableKeyboard. (#9218) Ryan Jensen 2026-02-06 15:29:27 -06:00
  • 943fcc4f10 Merge branch 'master' into docking ocornut 2026-02-10 20:52:55 +01:00
  • 9f30044333 Backends: GLFW: try to set IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND automatically if headers are not available. (#9225) ocornut 2026-02-10 20:47:56 +01:00
  • fd9873a5c2 Tables: internals: extract TableSetColumnDisplayOrder() out of TableBeginApplyRequests() and clarify API limitations. ocornut 2026-02-10 18:12:53 +01:00
  • c71b2a1fe6 Revert "Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent." ocornut 2026-02-10 17:56:37 +01:00
  • 5fe48b6a0e Docs: fixed some typos (#9217) tanksdude 2026-02-10 07:40:52 -08:00
  • 1bcc23ef12 Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent. ocornut 2026-02-05 16:46:15 +01:00
  • 524f01d248 Metrics: browsing font baked data persist tree state when e.g. using LoadAll. ocornut 2026-02-05 16:29:26 +01:00
  • 226f62fa8f Demo: amend Shortcuts demo to clarify that ImGuiInputFlags_RouteOverActive may be used with focused route. (#9004) ocornut 2026-02-05 15:25:26 +01:00
  • ea83628438 Nav: fixed navigation cursor briefly appearing when using API to focus an InputText() in a window with _NoNavInputs flag. (#9214) ocornut 2026-02-03 17:33:45 +01:00
  • 76860017d5 Clipper, Nav: fixed an UBSan warning when using in a ListClipper region . (#9160) ocornut 2026-02-02 17:24:32 +01:00
  • 4b8e41cffb TabBar: expose NextScrollToTabId to internal API. ocornut 2026-01-30 18:41:40 +01:00
  • a9ca61a7ce Fonts: fixed an issue where using PushFont() from the implicit/fallback "Debug" window when its recorded state is collapsed would incorrectly early out. (#9210, #8865) ocornut 2026-02-02 16:00:33 +01:00
  • 913a3c6056 TabBar: expose NextScrollToTabId to internal API. ocornut 2026-01-30 18:41:40 +01:00
  • 921842e8a1 Docking: make dock node tab bar ID match parent ID of its tab items. ocornut 2026-01-30 18:44:01 +01:00
  • 7a49ad6f5a Docking: use DockContextDeleteNode() instead of raw IM_DELETE(), so we can better rework ownership of dock node tab bars. ocornut 2026-01-30 17:55:58 +01:00
  • f58378711f Docking: fixed various rendering issues and ability to have rounded floating dock nodes. Amend 91ce8cc. (#6993, #6151) ocornut 2026-01-29 19:14:48 +01:00
  • 10ebda0b5e Docking, Viwport: Fixed a regression in 1.92.4 where partially moving a floating docking node with split over the main viewport would set the window in an invalid state. ocornut 2026-01-29 18:55:30 +01:00
  • 91ce8ccdbc Docking: fixed various rendering issues and ability to have rounded floating dock nodes. (#6993, #6151) ocornut 2026-01-29 18:08:43 +01:00
  • d6d5580099 Merge branch 'master' into docking w/ custom fix in Scrollbar() ocornut 2026-01-29 17:50:41 +01:00
  • a6598f6fdb Windows: clarify/simplify background rendering: alpha should always be zero for DockNodeHost windows. (#2522) ocornut 2026-01-29 14:05:32 +01:00
  • 5166bec5d8 Scrollbar: rounding corners selected based on a generic helper. ocornut 2026-01-29 17:23:28 +01:00
  • 6cc7787c77 Windows: shallow tweaks in window bg rendering to simplify diff w/ docking. ocornut 2026-01-29 14:12:57 +01:00
  • 960aff24fc Backends: Win32: use XInput Packet to avoid resubmitting gamepad data. (#9202, #8556) Ahmed Samy 2026-01-27 00:43:09 +02:00
  • 8306e32495 Nav: fixed speed scale for resizing/moving with keyboard/gamepad. (#323) ocornut 2026-01-28 15:14:15 +01:00
  • 63e9fbc265 Backends: GLFW: fix previous commit, would break multi-monitor. (#9195, #7902, #5683) ocornut 2026-01-28 14:51:21 +01:00
  • 814c6a194b Log/Capture: fixed erroneously injecting extra carriage returns in output. ocornut 2026-01-26 12:29:42 +01:00
  • ab6c9d9b12 Ignore -Wsign-conversion warnings when building with gcc. (#9192) Tom Seddon 2026-01-24 17:21:23 +00:00
  • d12b1a938e Demo: improved Selectable() demos. (#9193) ocornut 2026-01-26 11:37:55 +01:00
  • c91bcea7a8 Backends: SDLGPU3: fixed missing release of TexSamplerNearest. (#9196) ocornut 2026-01-25 13:30:19 +01:00
  • c6e54c7ab5 Comments about input queue being close to be supporting multi-thread. (#5772) ocornut 2026-01-13 16:38:58 +01:00
  • be2cfc26c9 Backends: GLFW: improve workarounds for cases where GLFW is unable to provide reliable monitor info. (#9195, #7902, #5683) ocornut 2026-01-25 13:24:20 +01:00
  • 08c777aeaa Ignore -Wsign-conversion warnings when building with gcc. (#9192) Tom Seddon 2026-01-24 17:21:23 +00:00
  • 2a08c87b8c Merge branch 'master' into docking ocornut 2026-01-23 16:05:50 +01:00
  • d1cf58e590 Nav: fixed WrapX/LoopX handling in menu layer. (#9178) ocornut 2026-01-23 16:00:28 +01:00
  • e1217227b2 Tooltips, Disabled: fixed EndDisabledOverrideReenable() assertion when nesting a tooltip in a disabled block. (#9180, #7640) RegimantasSimkus 2026-01-19 17:05:13 +00:00
  • 7250fbde2e Fixed warning compiling stb_truetype with MSVC, C++20 with /w15262 (#9189) ocornut 2026-01-23 14:29:20 +01:00
  • a117055b6b Internals: move field for locality. ocornut 2026-01-22 18:24:12 +01:00
  • b015acc464 Viewports: added GetWindowViewport() in imgui_internal.h to increase consistency with code using this public API in docking branch. (#9140) ocornut 2026-01-22 17:50:25 +01:00
  • 3050f653cb Menus, Nav: made navigation into menu-bar auto wrap on X axis. (#9178) ocornut 2026-01-22 17:33:35 +01:00
  • fb06d32844 Demo: rework DockSpace(), DockSpaceOverViewport() demo. ocornut 2026-01-22 15:58:17 +01:00
  • 66bb8add73 Docs: better document Shortcut() related stuff. (#9188) Better document io.ConfigDpiScaleFonts. (#9179) ocornut 2026-01-22 14:28:46 +01:00
  • 3aba95060e Fonts: adding new fonts after removing all fonts mid-frame properly updates current state. ocornut 2026-01-21 19:53:31 +01:00
  • cb3b7ff4fb InputText: added mGuiInputTextCallbackData::EventActive helpers. (#9174) ocornut 2026-01-21 18:46:38 +01:00
  • d448045669 InputText: Added ImGuiInputTextCallbackData::ID field. ocornut 2026-01-21 18:34:28 +01:00
  • f21307e5c9 InputText: ImGuiInputTextCallbackData::SelectAll() sets CursorPos. Added SetSelection() helper. ocornut 2026-01-21 18:25:38 +01:00
  • 42b7704b70 InputText: add ImGuiInputTextState::SetSelection() helper + make TextSrc valid outside scope for non-read only fields. (#9174) ocornut 2026-01-21 18:18:55 +01:00
  • 3803203d47 CI: update outdated GitHub Actions versions (#9186) Pádraic Slattery 2026-01-21 17:34:30 +01:00
  • 8c0b410371 Docs: tweaks. ocornut 2026-01-19 16:18:18 +01:00
  • 8b86c939c7 Backends: DirectX10, DirectX11, SDLGPU3: added nearest sampler in ImGui_ImplDX10_RenderState/ImGui_ImplDX11_RenderState/ImGui_ImplSDLGPU3_RenderState struct. ocornut 2025-09-08 16:26:58 +02:00
  • b933599f00 Backends: DirectX12: added helpers to switch to Linear sampler (yet not made public, but intended to be forward declared). (#9173) thedmd 2025-09-27 15:09:52 +02:00
  • 12223cc3e9 Error handling: rework macros, add IM_ASSERT_USER_ERROR_RET(), IM_ASSERT_USER_ERROR_RETV() to simplify code. ocornut 2026-01-19 12:04:43 +01:00
  • ea122de913 Error handling: Improve error handling and recovery for TableSetupColumn(). ocornut 2026-01-19 11:49:11 +01:00
  • 14dfd5bf6b Examples: DX12: update to VS2019 so it supports WIndows SDK 10.0 simplified versioning. ocornut 2026-01-19 11:42:08 +01:00
  • 5dde06b327 Docs: fixed 'Tearaway' link in credits section (#9176) E 2026-01-18 17:45:38 -05:00
  • f89ef40cb2 Backends: Win32: fixed an issue from 1.90.5 where newly appearing windows that are not parented to the main viewport don't have task bar icon appear before the windows was explicited refocused. (#7354, #8669) ocornut 2026-01-16 18:43:02 +01:00
  • c389a9528f Viewports: reworked IsViewportAbove() test as an alternate fix for #8948, #9172, #9131, #9128. ocornut 2026-01-16 16:28:19 +01:00
  • 9eebd37b59 Viewports: update LastFocusedStampCount earlier. Fix (#8948, #9172, #9131, #9128) but probably have other side effects too. ocornut 2026-01-16 16:26:19 +01:00
  • 7038e71ae2 Viewports: renamed local to make algorithm easier to follow + comments. Should be no-op. (#8948, #9172, #9131, #9128) ocornut 2026-01-16 15:52:02 +01:00
  • 21d3299e58 Backends: fixed reappearing uses to NULL to favor nullptr. ocornut 2026-01-15 16:08:40 +01:00
  • d7598aa84f Backends: SDL2, SDL3: changed GetClipboardText() handler to return NULL on error aka clipboard contents is not text. (#9168) ocornut 2026-01-15 16:07:07 +01:00
  • 5b5d5b049d Amends for docking for 9a6eb0a and 7a02f4b. (#9138) ocornut 2026-01-14 19:45:51 +01:00
  • 66e08b6575 Merge branch 'master' into docking (require next commit) ocornut 2026-01-14 19:42:11 +01:00
  • 9a6eb0ab25 Backends: Vulkan: ImGui_ImplVulkanH_DestroyWindow() oes not call vkDestroySurfaceKHR(): because surface is created by caller. (#9163) ocornut 2026-01-14 19:23:57 +01:00
  • a1dfaf4869 ImageButton() doesn't use a clamped style.FrameRounding value but instead adjust inner image rounding when FramePadding > FrameRounding. (#2942, #845) ocornut 2026-01-14 15:54:55 +01:00
  • 7143d711bf Images, Style: added style.ImageRounding, ImGuiStyleVar_ImageRounding to configure rounding of Image() widgets. (#2942, #845) ocornut 2026-01-14 15:24:30 +01:00
  • 0d08927dae Error handling: Improve error handling and recovery for EndMenu()/EndCombo(). (#1651, #9165, #8499) ocornut 2026-01-14 14:59:39 +01:00
  • 791ad9b82d InvisibleButton: allow calling with size (0,0) to fit to available content size. (#9166, #7623) ocornut 2026-01-13 16:15:48 +01:00
  • f64c7c37ef Fonts: fixed a crash when trying to use AddFont() with MergeMode=true on a font that has already been rendered. (#9162) ocornut 2026-01-12 18:17:38 +01:00
  • d1c5a66557 Backends: WebGPU: rework unsupported path into an assert. (#9155, #9156) ocornut 2026-01-12 12:11:10 +01:00
  • f5384544cb (Breaking) Commented out legacy names obsoleted in 1.90 (Sept 2023): BeginChildFrame(), EndChildFrame(), ShowStackToolWindow(), IM_OFFSETOF(), IM_FLOOR(). ocornut 2026-01-08 17:26:25 +01:00
  • fedf227ea4 Amend 7a02f4b. ocornut 2026-01-08 17:17:06 +01:00
  • 7a02f4b545 Nav, Shortcuts, Tooltips: tooltip reference position not affected by remote shortcut activation. (#9138, #456) ocornut 2026-01-08 17:14:38 +01:00
  • ca9b7b4071 InputText, Nav: amend 1566c96. (incorrectly commited old chunk) ocornut 2026-01-08 17:11:23 +01:00
  • 1566c96ccd InputText, Nav: fixed remote/shortcut InputText() not teleporting mouse cursor when nav cursor is active and io.ConfigNavMoveSetMousePos is enabled. ocornut 2026-01-08 17:04:52 +01:00
  • 3389dfd9dd IsItemHovered() doesn't filter out the signal when activated item is a shortcut remote activation. (#9138, #456) ocornut 2026-01-08 15:58:12 +01:00
  • 84a9d532b6 Backends: GLFW: Load X11 functions dynamically to avoid x11 linking requirement. (#9116, #9109) Dario Mylonopoulos 2025-12-09 18:13:59 +01:00
  • ca46e5d959 Backends: SDL2/SDL3: adjusted IME offset to match other backends and master branch. (#6071, #1953) ocornut 2026-01-08 14:41:17 +01:00
  • 9ce41a92c3 Misc/shallow merges from docking branch to reduce small drift. ocornut 2026-01-08 14:31:25 +01:00
  • 43a90adc61 Docs: Fix spelling errors (#9158) maf 2026-01-08 16:17:44 +08:00
  • 8103582b65 Backends: Vulkan: amend 1dc1964 for multi-viewports (#9152) ocornut 2026-01-07 18:20:41 +01:00
  • cab7088c85 Merge branch 'master' into docking ocornut 2026-01-07 18:18:59 +01:00
  • 7b3ad4a282 (Breaking) Popups: changed 'ImGuiPopupFlags popup_flags = 1' default value to be '= 0' for BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick(). (#9157, #9146) ocornut 2026-01-07 18:15:15 +01:00
  • 4ce188def8 Backends: WebGPU: clarify build failure when attempting to build with Dawn for iOS. (#9155, #9156) JD31 2026-01-07 16:37:59 +01:00
  • b467a0466c Docs: amends comments about fonts. ocornut 2026-01-06 19:07:46 +01:00
  • 69a501df6e Backends: OpenGL3: call ImGui_ImplOpenGL3_InitLoader() in ImGui_ImplOpenGL3_CreateDeviceObjects() / ImGui_ImplOpenGL3_DestroyDeviceObjects(). (#9112) ocornut 2026-01-05 16:46:56 +01:00
  • 1dc1964d5b Backends: Vulkan: change ImGui_ImplVulkanH_Window::ClearEnable to fuller featured AttachmentDesc. (#9152) ocornut 2026-01-05 16:26:59 +01:00