0
0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-18 17:11:23 +01:00

Commit Graph

  • 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) docking 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. master 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
  • f7fd75e9ec ImStrv: Added ImStrv formatter for LLDB (e.g. Xcode) features/string_view David Mentler 2025-10-01 20:45:42 +02:00
  • 23a93afdff ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf) ocornut 2024-07-02 18:50:28 +02:00
  • 1d18540bf4 ImStrv: allow constructing from two null pointers. ocornut 2024-05-03 16:24:52 +02:00
  • 2b510f541c ImStrv: Combo(), ListBox(): seems better to not introduce the ImStrv [] versions? ocornut 2024-04-03 10:02:32 +09:00
  • baba3fec6b ImStrv: convert Combo()/ListBox() to use ImStrv in their getters. ocornut 2024-04-03 09:58:36 +09:00
  • 1500621224 ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079) ocornut 2022-09-29 22:51:33 +02:00
  • 7ceaaff9e4 ImStrv: backtracked for now on supporting ImStrv for format strings. ocornut 2022-08-25 12:54:07 +02:00
  • 66947795f8 ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906) 璀境石 2022-08-22 11:05:58 +02:00
  • 651b721ba9 ImStrv: standardized code doing format copy, optimized ImStrStr ocornut 2021-05-25 14:08:20 +02:00
  • bd152fd872 ImStrv: Fixed various compile errors/warnings. ocornut 2022-08-22 11:06:33 +02:00
  • 932c281377 ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks. ocornut 2021-03-31 15:06:32 +02:00
  • b50672a003 ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv() ocornut 2021-02-01 17:04:50 +01:00
  • ef598afc79 ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion. ocornut 2020-08-24 11:37:01 +03:00
  • fd5f6016f8 ImStrv: Step 1 - change string type to ImStrv in API. (REBASED) Rokas Kupstys 2020-07-14 14:14:17 +03: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
  • f106ccd5fa Backends: Vulkan: clarify ImGui_ImplVulkanH_Window members. ocornut 2026-01-05 15:58:08 +01:00
  • 01a4cff8f9 Docking: moving redundant clears in one place for simplicity. ocornut 2026-01-05 14:40:29 +01:00
  • 00dfb3c896 Fixed implicit/fallback "Debug" window from staying visible if once docked. (#9151) ocornut 2026-01-05 14:36:33 +01:00
  • 25158fe33b Textures: prevent assert/crash of having a destroyed texture recreated without the pixels data available (#9150, #8811) Sammy Fatnassi 2026-01-03 14:26:29 -05:00
  • 960921f03a Happy new year! ocornut 2026-01-03 01:07:58 +01:00
  • 922a11f084 Docs: update links, refs. ocornut 2025-12-23 19:33:37 +01:00
  • 396b33d0d0 Merge branch 'master' into docking ocornut 2025-12-23 18:19:15 +01:00
  • b7b8f52437 Examples: Android: update for consistency (untested). ocornut 2025-12-23 17:57:01 +01:00
  • 05581da183 AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap). ocornut 2025-12-23 17:44:18 +01:00
  • f006400f05 Fonts: added AddFontDefaultVector() with embedded ProggyVector data. ocornut 2025-08-26 17:54:10 +02:00
  • cde6ad3967 Removed unused ImRect::Floor(). Clarified IM_TRUNC(), IM_ROUND(), ImRound64(). ocornut 2025-12-23 14:40:00 +01:00
  • 73dd0e869d (Breaking) Fonts: remove ImFontConfig::PixelSnapV. Post-rescale GlyphOffset is always rounded. ocornut 2025-12-23 14:30:16 +01:00
  • 55ad3b4abd Fonts: added ExtraSizeScale feature (undocumented). ocornut 2025-12-22 19:57:04 +01:00
  • d1de937c31 Fonts: ImFontAtlasFontRebuildOutput() helper. ocornut 2025-12-22 19:57:21 +01:00
  • d365417e8b CI: reduce macOS runs since they are expensive. ocornut 2025-12-23 16:47:44 +01:00
  • 0ff810038d Added GetItemFlags() in public API. (#9127) ocornut 2025-12-22 18:33:12 +01:00
  • 9055c9ed22 imgui_freetype: fixed overwriting ImFontConfig::PixelSnapH when hinting is enabled. ocornut 2025-12-22 17:51:24 +01:00
  • d87650dffb Text: fixed unused variable warning on builds without asserts. ocornut 2025-12-21 18:22:48 +01:00
  • 0a4783309d Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Amend 4e7c055 for branch. ocornut 2025-12-21 18:06:51 +01:00
  • 26f7b2f5aa Merge branch 'master' into docking ocornut 2025-12-21 18:05:20 +01:00
  • a5dffbec38 Text: word-wrapping use a small lookup table. (#8990, #3237, #8503, #8139, #8439, #9094, #3002, #9066, #8838) ocornut 2025-12-21 16:42:58 +01:00
  • 22ffa3d6d3 Text: rewrite word-wrapping logic. (#8990, #3237, #8503, #8139, #8439, #9094, #3002, #9066, #8838) ocornut 2025-12-18 00:12:32 +01:00
  • 683f9160b9 Internals: ImBitArray: rename storage. ocornut 2025-12-18 20:54:21 +01:00
  • 4e7c05504a Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now. ocornut 2025-12-17 14:30:01 +01:00
  • 99bca397d8 Docs: clarify PixelSnapH / PixelSnapV + comment on PushTextWrapPos(). ocornut 2025-12-17 11:41:54 +01:00
  • ebbd8c320d Fix for latest external/win98 ocornut 2024-06-07 19:09:54 +02:00
  • dc48a7c88e Docs: amend fc89c61 ocornut 2025-12-15 16:59:22 +01:00
  • 9ca7ea00c8 Merge branch 'master' into docking ocornut 2025-12-11 23:25:47 +01:00
  • 4dac00ca0c Windows: fixed always updating internal buffer for ### window titles even when Ctrl+Tab window is hidden. Instead forcing an update on mismatching when appearing. ocornut 2025-12-11 23:12:52 +01:00
  • fc89c61089 Hashing: handling of "###" operator to reset to seed within a string identifier doesn't include the "###" characters in the output hash anymore. omar 2019-12-26 21:40:58 +01:00
  • 1e7d2adc29 Fixed Clang cast-align warning + Added missing Changelog entry in 1.92.4. (#8893) ocornut 2025-12-11 21:36:42 +01:00
  • bd6f48fe20 Backends: OpenGL3: Fixed embedded loader multiple init/shutdown cycles broken on some platforms. (#8792, #9112) ocornut 2025-12-11 18:28:23 +01:00
  • 0d2dd30ee9 Tabs: minor tweaks to facilitate mods altering spacing. ocornut 2025-12-11 17:17:57 +01:00
  • 9971251574 Fonts: amend/comment on FontDataOwnedByAtlas=false fix being a breaking change. (#9086, #8465) ocornut 2025-12-10 21:42:07 +01:00
  • a07b2828ce Backends: GLFW: add IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND. (#9109, #9116) ocornut 2025-12-10 18:57:02 +01:00
  • 9a4fd69f6d Backends: GLFW: avoid repeated glfwSetCursor()/glfwSetInputMode() calls when unnecessary. ocornut 2025-12-10 18:35:22 +01:00
  • cf64b7fa72 Tables: Fixed losing stored display order when reducing column count. (#9108, #4046) ocornut 2025-12-08 19:29:41 +01:00
  • a726bded11 Fonts: ClearOutputData() doesn't need to clear FallbackChar, EllipsisChar. Fixed crash changing font loader. ocornut 2025-12-05 19:12:50 +01:00
  • 7f78f52243 Demo: removed some hardcoded widths. ocornut 2025-12-05 18:44:21 +01:00
  • 60f8b0733c Rework color marker internals to facilitate arbitrary override using SetNextItemColorMarker(). ocornut 2025-12-05 18:06:34 +01:00
  • 6327b63064 Merge branch 'master' into docking ocornut 2025-12-05 16:38:51 +01:00
  • fa4b47c5e2 Added RGBA color markers to ColorEdit3/ColorEdit4 + opt-in ImGuiSliderFlags_ColorMarkers for Drags/Sliders. ocornut 2025-12-05 16:29:15 +01:00
  • a7ecbcdeba Shuffle ImGuiColorEditFlags flag values. ocornut 2025-12-04 16:45:45 +01:00
  • ded52c71d9 Debug Log: can output to debugger. Added ImGuiDebugLogFlags_OutputToDebugger. ocornut 2025-12-05 15:07:44 +01:00
  • 9d4fafa671 Nav: removed an unnecessary FindWindowByName() call. ocornut 2025-12-05 14:16:14 +01:00
  • 8e67fe13a5 Fixed an assert in background dimming code, which could trigger after using gamepad/keyboard to move a window to another viewport. (#9053) ocornut 2025-12-05 13:51:52 +01:00
  • e2c49530cb ImDrawList: harden/clarify static asserts about ImDrawCmd / ImDrawCmdHeader layout. ocornut 2025-12-05 13:42:15 +01:00
  • fee06a92ea Text: fixed word-wrapping function reading from *text_end when passed a string range. (#9107) achabense 2025-12-05 18:36:16 +08:00
  • d71091a957 Internals: amend RenderRectFilledRangeH() to avoid shadowed variables. ocornut 2025-12-04 16:27:54 +01:00
  • d1e262ad55 Internals: refactor RenderRectFilledRangeH() into RenderRectFilledInRangeH() to take absolute coordinates instead of normalized ones. ocornut 2025-12-04 15:57:31 +01:00
  • 6e0ee6ff03 Fonts: removed misleading SizePixels >= 0.0f test and stbtt_ScaleForMappingEmToPixels() call in ImGui_ImplStbTrueType_FontSrcInit(). (#8857) ocornut 2025-12-03 20:15:25 +01:00
  • 42e91c3155 Merge branch 'master' into docking ocornut 2025-12-03 13:35:35 +01:00
  • d27dce58cd Backends: Win32: handle WM_IME_CHAR/WM_IME_COMPOSITION messages to support Unicode inputs on MBCS Windows. (#9099, #3653, #5961) ulhc 2025-11-28 23:05:45 +08:00
  • 87b193399e Backends: Win32: change param to MultiByteToWideChar() to be consistent (should be no-op?). ocornut 2025-12-03 13:30:46 +01:00