505ff536f9
Textures: fixed an issue preventing multi-contexts from using each others' fonts if context 2 runs after context 1's Render() function. (#9039)
ocornut2025-10-31 16:37:42 +01:00
db577cd445
Fonts: rename internal fields for consistency.
ocornut2025-10-31 16:16:45 +01:00
149587b85b
Config/build infos emit infos to convey when IM_ASSERT() macro is disabled.
ocornut2025-10-30 18:03:36 +01:00
670a92723a
Move IM_STRINGIFY() to imgui.h
ocornut2025-10-30 17:47:06 +01:00
3c578fa87e
InputText: restore truncating, now between UTF-8 codepoint. (#9029)
ocornut2025-10-29 18:40:40 +01:00
8df962a6ed
Debug Tools: fixed DebugTextEncoding() potentially reading out of bounds if provided a trailing truncated UTF-8 sequence.
ocornut2025-10-29 17:34:02 +01:00
2a194e21a0
InputText: revert truncation behavior from e612536 as it can truncate mid-UTF8. (#9029)
ocornut2025-10-29 17:24:23 +01:00
9753c741b9
Disabled, ButtonBehavior: fixed a bug when a previously enabled item that got nav focus and then turns disabled could still be activated using keyboard. (#9036)
ocornut2025-10-29 16:43:27 +01:00
7c483a0eba
Add indentation to ButtonBehavior() - no logic change.
ocornut2025-10-29 16:39:37 +01:00
40f9e4e8e2
Windows: store BgClickFlags which allows the equivalent of io.ConfigWindowsMoveFromTitleBarOnly to be overridden on a per window basis. (#899, #3071, #5044, + #3379)
ocornut2025-10-28 18:32:35 +01:00
b8573a7e33
Groups: fixed an issue reporting IsItemEdited() signal after EndGroup() for some widgets e.g. Checkbox(), Selectable(). (#9028)
ocornut2025-10-23 13:54:14 +02:00
b46f099a3f
Backends: GLFW: fixed building on Linux platforms where Wayland headers are not available. (#9024, #8969, #8921, #8920)
ocornut2025-10-20 23:57:09 +02:00
71447b94fb
Examples: GLFW+WebGPU: default build to legacy for now. (#8381)
ocornut2025-10-16 18:23:02 +02:00
3dc511c71d
Backends: WebGPU: update to compile with Dawn and Emscripten's 4.0.10+ '--use-port=emdawnwebgpu' ports. (#8381, #8898)
BrutPittandocornut2025-10-16 18:13:34 +02:00
36de604a5b
InputText: avoid continuously overwriting ownership of ImGuiKey_Enter / ImGuiKey_KeypadEnter in order to allow e.g. external Shortcut to override behavior. (#9004)
ocornut2025-10-16 16:12:29 +02:00
2a5e9a15e4
InputTextMultiline: fixed a crash when using ImGuiInputTextFlags_WordWrap and resizing the parent window while keeping the multi-line field active. (#9007, #3237)
ocornut2025-10-15 19:12:40 +02:00
d7fec5e1d3
Tables: fixed a bug where nesting BeginTable()->Begin()->BeginTable(). (#9005)
ocornut2025-10-15 16:50:11 +02:00
25e5baf5f0
(Breaking) Clipper: commented out legacy IncludeRangeByIndices name obsoleted in 1.89.9. (#6424, #3841)
ocornut2025-10-14 19:00:27 +02:00
c8db91b7b4
(Breaking) TreeNode, Selectable: commented out legacy ImGuiTreeNodeFlags_AllowItemOverlap, ImGuiSelectableFlags_AllowItemOverlap names obsoleted in 1.89.7.
ocornut2025-10-14 18:52:27 +02:00
702cc9993a
Relaxed internal assert in MarkItemEdited() some more. (#8997)
ocornut2025-10-14 16:07:07 +02:00
bad5ee167b
Shortcuts: added support for combining ImGuiInputFlags_RouteFocused with ImGuiInputFlags_RouteOverActive,. (#9004)
ocornut2025-10-13 15:03:26 +02:00
b6e277980f
Shortcuts: reorganize route scoring so values are easier to read. (#9004)
ocornut2025-10-13 15:02:55 +02:00
5af650fc6d
Examples: GLFW+WGPU: various tweaks to reduce diff with #8381ocornut2025-10-09 18:54:16 +02:00
2b770a029b
InputText: fixed an infinite loop error happening if a custom input text callback modifies/clear BufTextLen before calling InsertChars(). (#8994, #3237)
ocornut2025-10-08 19:00:34 +02:00
bee2720faa
Docs: clarify meaning/purpose of IMGUI_ENABLE_FREETYPE. (#8993)
ocornut2025-10-08 18:44:07 +02:00
fd0873c61f
Test Engine: fixed mismatched macro signature when disabled.
ocornut2025-10-07 15:59:45 +02:00
bcf722e637
Docs: updated FAQ "What is the difference between Dear ImGui and traditional UI toolkits?". (#8862)
ocornut2025-10-02 20:06:10 +02:00
8c22b8aef6
Textures: allowed backend to destroy texture while inside the NewFrame/EndFrame scope. (#8811)
ocornut2025-10-01 18:38:27 +02:00
fc4105c8a8
Backends: DX9,DX10,DX11,DX12,Metal,Vulkan,WGPU,SDLRenderer2,SDLRenderer3: ensure that a texture in _WantDestroy state always turn to _Destroyed. (#8977)
ocornut2025-10-01 17:49:22 +02:00
ea564a6a5e
Textures: fixed a crash if a texture marked as _WantDestroy by a backend after it had already been destroyed. (#8977, #8811)
ocornut2025-10-01 17:40:20 +02:00
9809b0b061
Textures: Fixed not updating ImTextureData's RefCount when destroying a context using a shared ImFontAtlas. (#8975)
ocornut2025-10-01 14:55:16 +02:00
b987970870
Textures: fixed an issue preventing multi-contexts sharing a ImFontAtlas from being possible to destroy in any order.
ocornut2025-10-01 14:58:30 +02:00
3ff195f702
Backends: DX12: let bd->FrameIndex start at 0 to match docking. (#8961)
ocornut2025-09-29 16:00:17 +02:00
e459e5bf0a
Backends: GLFW: fixed build on platform that are neither Windows, macOS or known Unixes. (#8969, #8920, #8921)
ocornut2025-09-29 15:45:43 +02:00
1c87024840
InputText: fixed single-line InputText() not applying fine character clipping properly (regression in 1.92.3). (#8967)
ocornut2025-09-29 13:38:27 +02:00
3470e6112b
(Breaking) Backends: Vulkan: moved fields in ImGui_ImplVulkan_InitInfo: RenderPass, Subpass, MSAASamples, PipelineRenderingCreateInfo. (#8946, #8110, #8111, #8686)
ocornut2025-09-26 18:23:03 +02:00
01686c6294
Backends: Vulkan: added a way to specify custom vertex/fragment shaders. (#8585, #8271)
johan0Aandocornut2025-04-05 21:36:20 +02:00
bf2e0b2c6f
Tables: change ImGuiTableFlags_NoBordersInBody behavior to not draw border in body even when resizing. (#8893)
ocornut2025-09-25 19:07:51 +02:00
cee40f8af9
Examples: made examples's main.cpp consistent with returning 1 on error.
ocornut2025-09-24 17:48:48 +02:00
940627d008
Backends: SDL2: Fixed build for Emscripten and SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE=0 platforms.
ocornut2025-09-24 15:29:00 +02:00
f61a7ef222
Backends: SDL2,SDL3: avoid using the SDL_GetGlobalMouseState() path when one of our window is hovered. Fix mouse coordinate issue in fullscreen apps with macOS notch + better X11 perfs. (#7919, #7786)
ocornut2025-09-24 14:48:33 +02:00
5f6eaa5278
Backends: Win32: minor optimization not submitting gamepad input if packet number has not changed. (#8556)
ocornut2025-09-23 16:29:30 +02:00
d701ffb478
Examples: added SDL3+DirectX11 example. Minor amends + fix both SDL2/SDL3+DirectX11 to allow WARP driver. (#8956, #8957)
ocornut2025-09-22 21:37:41 +02:00