Commit Graph

  • d15966ff6c Tables: fixed TableGcCompactSettings() not invalidating bound offset. A crash could in theory be triggered if clicking "Gc All" after saved tables have reduced column count. master ocornut 2026-06-18 19:19:38 +02:00
  • 9a5c070308 Windows: fixed double-click collapse toggle not owning the mouse button. (#9439) Cleroth 2026-06-13 05:35:13 +08:00
  • 73a6610e81 Backends: OpenGL3: Expose selected render state in ImGui_ImplOpenGL3_RenderState, allowing to dynamically select between use of glBindSampler() and glTexParameter(). (#9378) ocornut 2026-06-17 15:00:20 +02:00
  • 7aaf10f15b Docs: fixed typos (#9449) Brenton Bostick 2026-06-17 08:11:19 -04:00
  • 13fc81fc82 Tables: fixes incorrect forward declaration for a missing function + fixed tooltip comment. (#9445, #9448) ocornut 2026-06-17 12:49:52 +02:00
  • 2064059a7f Docs, Backends: OpenGL3, Vulkan: added comments about custom sampler. (#9378) ocornut 2026-06-16 16:09:04 +02:00
  • b47a3898b4 Fixed unused parameter 'table'. (#9447, #9446) Brenton Bostick 2026-06-17 06:51:54 -04:00
  • 036bf939b6 Merge branch 'master' into docking docking ocornut 2026-06-16 15:26:09 +02:00
  • 1ba29f2bec Fixed window using the ImGuiWindowFlags_AlwaysAutoResize flag would have ItemWidth default change when docked. (#9355, #9443) ocornut 2026-06-16 15:04:22 +02:00
  • 138c0e6c7d Added IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64. ocornut 2026-06-15 19:32:56 +02:00
  • b46a37eac9 Tables: comments about misleading TableSetupColumn() user_id parameter, renamed to user_data. ocornut 2026-06-15 18:40:42 +02:00
  • e6147a3993 Tables: allow calling TableQueueSetColumnDisplayOrder() between TableSetupColumn() and TableUpdateLayout() by removing an early out. ocornut 2026-06-15 18:17:23 +02:00
  • 721da6a34c Tables: apply queued requests in TableUpdateLayout() ocornut 2026-06-15 18:14:28 +02:00
  • 360183924b CI: use Visual Studio 2026. (correct path) ocornut 2026-06-15 17:06:14 +02:00
  • 2aaa6d8173 CI: use Visual Studio 2026. ocornut 2026-06-15 16:52:52 +02:00
  • 3240201de2 Fixing build. ocornut 2026-06-15 16:37:26 +02:00
  • 94a3dcc5fa Tables: tweaked debug tools + minor data packing in in ImGuiTableColumn ocornut 2026-06-15 16:12:16 +02:00
  • fea6f4603a ImSpan: added clear(), empty() helpers. ocornut 2026-06-10 20:18:31 +02:00
  • d43c3f929c Tables: split code from TableSetupColumn() so it can be more easily deferred. ocornut 2026-06-08 16:10:47 +02:00
  • 36ea9728d1 Tables: save/restore column ID (unused) ocornut 2025-12-11 18:19:39 +01:00
  • 2e0f949039 Tables, Debug Log: added IMGUI_DEBUG_LOG_TABLE, ImGuiDebugLogFlags_EventTable. Clicking "Clear settings" calls TableResetSettings() immediately. ocornut 2026-06-11 14:30:02 +02:00
  • 924f57181b Tables: Headers: fixed label being clipped early to reserve space for a sort marker even when no sort marker is displayed. ocornut 2026-06-12 18:22:45 +02:00
  • e5ff2d07d7 Tables: Context-menu: added "Reset" sub-menu and "Reset Visibility" option. ocornut 2026-06-11 18:39:53 +02:00
  • b10137f92f Internals: move function declarations into Tables section. ocornut 2026-06-10 17:18:25 +02:00
  • aa377352ef Tables: TableGcCompactTransientBuffers() can ditch AngledHeadersRequests data. ocornut 2026-06-08 16:39:10 +02:00
  • 4312c4399f Tables: moved RefScale update and application to TableUpdateLayout(). ocornut 2026-06-09 17:16:21 +02:00
  • f1dd18b75c Docs: minor amends to ImTextureData comments. ocornut 2026-06-10 15:55:48 +02:00
  • 0af8ae979d Shadows: Added experimental texture-based shadows (stripped of dynamic tex config and back-end code) features/shadows Ben Carter 2020-04-24 18:16:48 +02:00
  • 5220a3f48d Examples: WebGPU: Require C++20 to build Dawn examples (#9433, #9432) Oliver Dixon 2026-06-07 08:58:58 +01:00
  • 2af6dd9694 Merge branch 'master' into docking ocornut 2026-06-04 13:53:55 +02:00
  • 6acba3b47d ImDrawListSharedData: rename CircleSegmentMaxError to CircleTessellationMaxError. Remove misleading ArcFastRadiusCutoff assignment. ocornut 2026-06-03 20:57:51 +02:00
  • fc5e2f28fe Examples: WGPU: fixed typo for wvgk cloning. (#9428, #9387) ocornut 2026-06-03 19:24:06 +02:00
  • 7950c96f0e Backends: OpenGL3: GLSL version detection assume GLSL 410 when GL context is 4.1. Fixes an issue running on macOS with Wine. (#9427, #6577) Vladimir Perminov 2026-06-03 04:08:21 +03:00
  • 14278db024 Fonts: better document the fact that ImFontAtlas::Clear()/ClearFonts() functions are unlikely to be useful nowadays + fix tex->Updates[] ever-growing if ClearFonts() is called between frames. ocornut 2026-06-03 15:27:02 +02:00
  • c4eaac6d48 Fonts: fixed an issue where passing a manually created ImFontAtlas to CreateContext() would incorrectly destroy it in DestroyContext() when ref-count gets back to zero. (#9426) ocornut 2026-06-02 19:04:14 +02:00
  • 5a42cddcd2 Fixed a build issue when defined IMGUI_API + IMGUI_DISABLE_OBSOLETE_FUNCTIONS. (#9424) ocornut 2026-06-02 18:40:14 +02:00
  • 995e4a65ff (Breaking) TreeNode: commented out legacy name ImGuiTreeNodeFlags_SpanTextWidth which was obsoleted in 1.90.7 (May 2024). Use ImGuiTreeNodeFlags_SpanLabelWidth instead. ocornut 2026-06-02 18:37:01 +02:00
  • a054a016e2 Docs: Fonts: amends. omar 2026-06-02 18:09:48 +02:00
  • 045a0907f4 Docs: Fonts.md: added notes about TexMinWidth,TexMinHeight. omar 2026-06-02 18:05:23 +02:00
  • 5aa0393a15 DrawList: don't mark ImDrawListFlags_TextNoPixelSnap as internal in comments. (#3437, #9417, #2291) ocornut 2026-06-01 17:23:11 +02:00
  • f241419b78 Tabs: use AddRectFilled(). ocornut 2026-06-01 16:48:48 +02:00
  • 00abd2c325 Viewports: fixed an issue where the implicit "Debug" window while hidden would erroneously interfere with merging secondary viewports into the main viewport. ocornut 2026-06-01 16:21:30 +02:00
  • 3495e329f3 Fixed small typo in demo code (#9425) Flexan 2026-06-01 15:34:00 +02:00
  • 3b99fc4883 ColorButton: small rendering tweak/optimization for the alpha checkerboard. ocornut 2026-06-01 14:23:17 +02:00
  • 70f02b0558 Docs: Fix small grammar mistake in README. (#9423) Dex 2026-05-31 13:54:30 +02:00
  • cac16b0d16 DrawList: rename ImDrawListFlags_NoTextPixelSnap -> ImDrawListFlags_TextNoPixelSnap. (#3437, #9417, #2291) ocornut 2026-05-29 18:39:17 +02:00
  • 1d33ea939f DrawList: added ImDrawListFlags_NoTextPixelSnap to disable snapping of AddText() coordinates for a given scope. (#3437, #9417, #2291) ocornut 2026-05-29 18:10:29 +02:00
  • 75f985998b Using custom ceilf inline impl in ImGui::CalcTextSize(). ocornut 2026-05-29 15:59:44 +02:00
  • 12b7977555 Tweak CalcTextSize() awkward width rounding/ceiling code to reduce floating-point imprecisions altering the result by 1 even at relatively small width. (#791) + apply same fudge factor to less important roundings. ocornut 2026-05-28 19:19:11 +02:00
  • 4cb21e4a1e Merge branch 'master' into docking ocornut 2026-05-28 15:46:34 +02:00
  • 33bb693b4c DrawList: skip PathLineTo/PathStroke calls for common AddLine(), AddLineH(), AddLineV() functions. (#4091) ocornut 2026-05-28 15:37:29 +02:00
  • 783eba926f Docs: retroactively amend 1.92.8 changelog about ImDrawFlags_Closed value. ocornut 2026-05-28 11:37:37 +02:00
  • ac07da2b5b Fonts: Added macros to disable ProggyClean/ProggyVector separately. (#9407) qwer 2026-05-20 21:07:56 -07:00
  • 243097ca8f Docs: retroactively amend changelog for AddLineH(), AddLineV(). ocornut 2026-05-26 20:36:29 +02:00
  • fbcf95193f ImFontAtlas: moved common TexData calls into a same helper functions, so adding new ones is easier. ocornut 2026-05-22 20:03:30 +02:00
  • 24a80f74a4 InputText, Style: added InputTextCursorSize to configure cursor/caret thickness. (#7031, #9409) ocornut 2026-05-22 19:11:33 +02:00
  • 6be90b6008 ImStrv: detect and fixed misuses of CalcTextSize() old signature. (9321) features/string_view ocornut 2026-03-25 12:22:53 +01:00
  • 0869f48d15 ImStrv: Added ImStrv formatter for LLDB (e.g. Xcode) David Mentler 2025-10-01 20:45:42 +02:00
  • 7ed1658a4a 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
  • fc44fd5823 ImStrv: allow constructing from two null pointers. ocornut 2024-05-03 16:24:52 +02:00
  • f7b0515ebd ImStrv: Combo(), ListBox(): seems better to not introduce the ImStrv [] versions? ocornut 2024-04-03 10:02:32 +09:00
  • 81c6ae4a85 ImStrv: convert Combo()/ListBox() to use ImStrv in their getters. ocornut 2024-04-03 09:58:36 +09:00
  • fb80924e80 ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079) ocornut 2022-09-29 22:51:33 +02:00
  • 52a91b368c ImStrv: backtracked for now on supporting ImStrv for format strings. ocornut 2022-08-25 12:54:07 +02:00
  • acb9f24670 ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906) 璀境石 2022-08-22 11:05:58 +02:00
  • c770f51e27 ImStrv: standardized code doing format copy, optimized ImStrStr ocornut 2021-05-25 14:08:20 +02:00
  • 78de06fbc0 ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings. ocornut 2021-03-31 15:06:32 +02:00
  • 3513bb13b3 ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv() ocornut 2021-02-01 17:04:50 +01:00
  • ae4130c702 ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion. ocornut 2020-08-24 11:37:01 +03:00
  • ed91943dc2 ImStrv: Step 1 - change string type to ImStrv in API. (REBASED) Rokas Kupstys 2020-07-14 14:14:17 +03:00
  • 904b663184 Clarify support for "%s" shortcuts in functions taking format strings. (#9404, #3466, #6846) ocornut 2026-05-19 18:50:39 +02:00
  • 3e7b79aa17 Backends: Win32: use SetProcessDpiAwarenessContext instead of SetThreadDpiAwarenessContext when available, to fix the OpenGL3 Win32 example DPI scaling issue. (#9403) MouriNaruto 2026-05-19 23:21:36 +08:00
  • e41d691da1 Demo: Tree Nodes: extract 'Tree Nodes->Selectable Nodes' into its own thing. ocornut 2026-05-18 14:13:49 +02:00
  • 93e396ffb7 Textures: call ImTextureDataUpdateNewFrame() for textures registered via RegisterUserTexture(). (#8789, #8465) ocornut 2026-05-15 16:38:05 +02:00
  • 068e055510 Textures: extract ImTextureDataUpdateNewFrame() out of ImFontAtlasUpdateNewFrame(). (#8465) ocornut 2026-05-15 16:34:53 +02:00
  • 5a76f2adf1 Merge branch 'master' into docking ocornut 2026-05-15 15:14:52 +02:00
  • db161b84c9 Windows: clicking on a window's empty-space to move/focus a window checks for lack of queued focus request. (#9382) ocornut 2026-05-15 13:45:03 +02:00
  • 4088a4f40c Windows: clicking on a window's empty-space to move/focus a window checks for lack of mouse button ownership. (#9382) ocornut 2026-05-15 13:33:51 +02:00
  • 46a050fff2 Nav: minor optimization NavUpdate(). ocornut 2026-05-15 13:38:32 +02:00
  • c7767926ce Version 1.92.9 WIP ocornut 2026-05-15 11:31:46 +02:00
  • 310c719a1f Rework definition of ImDrawFlags_InvalidMask_ so it more strictly fits in an int32 for non C/C++ languages where it matters. (#9396, #9397) ocornut 2026-05-15 10:48:24 +02:00
  • b2546a5c93 Comments on not needing to use ImDrawFlags_RoundCornersAll. ocornut 2026-05-13 12:46:07 +02:00
  • e0f5f9a14c Amend AddRect(), AddPolyline() error detection to safely return an trigger error handling mechanism. ocornut 2026-05-12 17:40:28 +02:00
  • 201b7e8022 Demo: added variety of usage scenarios, hooking Alt, Mouse Wheel, Home, CTRL+Tab demos. features/demo_input_owner_and_routing ocornut 2022-09-20 19:50:12 +02:00
  • ba331feb28 Demo: added SetKeyOwner(), ImGuiInputFlags_LockThisFrame, ImGuiInputFlags_LockUntilRelease demo. ocornut 2022-09-20 19:48:54 +02:00
  • b61e56346a Merge branch 'master' into docking v1.92.8-docking ocornut 2026-05-12 16:43:34 +02:00
  • 8936b58fe2 Version 1.92.8 v1.92.8 ocornut 2026-05-12 15:48:41 +02:00
  • eebaddd340 Docs: added SECURITY.md. omar 2026-05-11 19:03:08 +02:00
  • 73afb6b6e6 Fonts: clarify that ClearFonts() be useful over calling Clear(). ocornut 2026-05-11 17:45:20 +02:00
  • b8f6c51af7 Fonts: move ClearFonts(), ClearInputData(), ClearTexData() implementation (no other changes) ocornut 2026-05-11 17:42:08 +02:00
  • 4ac473b2c7 Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d + ac1f57b. (#9355) ocornut 2026-05-11 16:35:40 +02:00
  • ac1f57ba0c Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d. (#9355) ocornut 2026-05-11 16:34:33 +02:00
  • 821a396556 Fixed warning on Clang 26. ocornut 2026-05-11 15:59:42 +02:00
  • 2b31f65167 Examples: WebGPU+GLFW/SDL2/SDL3: wire up the IMGUI_WGVK_DIR path. (#9387) manuel 2026-05-01 12:57:48 +02:00
  • b58836f287 Backends: WebGPU: detect WGSL support at runtime instead of excluding WGVK at compile time. (#9387) manuel 2026-05-01 12:57:48 +02:00
  • bca5a69928 BeginMenu()/MenuItem(): fixed accidental triggering of child menu items when opening a menu inside a small host window forcing the child menu window to be repositioned under the mouse cursor. (#8233, #9394) ocornut 2026-05-11 15:32:39 +02:00
  • eb453f2be6 Checkbox, Style: added ImGuiCol_CheckboxSelectedBg. (#9392) ocornut 2026-05-11 14:30:34 +02:00
  • 56b37bf93c Inputs: SetItemKeyOwner(): does not set ownership is key is already taken. ocornut 2026-05-07 21:22:02 +02:00
  • 0eae77f783 Inputs: SetItemKeyOwner(): return true if ownership has been requested, which can to be checked to accurately gate further input test. ocornut 2026-05-07 20:51:32 +02:00
  • 02ccd9f348 Scrolling, Inputs: using mouse wheel to scroll takes and keeps ownership of the corresponding keys while a wheeling window is locked. ocornut 2026-05-07 20:45:49 +02:00