ocornut
9ca7ea00c8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
2025-12-11 23:25:47 +01:00
omar
fc89c61089
Hashing: handling of "###" operator to reset to seed within a string identifier doesn't include the "###" characters in the output hash anymore.
...
This has various simplifying properties.
Need a test engine update too.
+ Demo: removed misleading/unnecessary usage of ###.
2025-12-11 23:02:20 +01:00
ocornut
1e7d2adc29
Fixed Clang cast-align warning + Added missing Changelog entry in 1.92.4. ( #8893 )
2025-12-11 21:37:42 +01:00
ocornut
bd6f48fe20
Backends: OpenGL3: Fixed embedded loader multiple init/shutdown cycles broken on some platforms. ( #8792 , #9112 )
2025-12-11 18:28:23 +01:00
ocornut
9971251574
Fonts: amend/comment on FontDataOwnedByAtlas=false fix being a breaking change. ( #9086 , #8465 )
2025-12-10 21:42:07 +01:00
ocornut
a07b2828ce
Backends: GLFW: add IMGUI_IMPL_GLFW_DISABLE_X11 / IMGUI_IMPL_GLFW_DISABLE_WAYLAND. ( #9109 , #9116 )
...
cc #8884 , #8474 , #8289
2025-12-10 18:57:02 +01:00
ocornut
9a4fd69f6d
Backends: GLFW: avoid repeated glfwSetCursor()/glfwSetInputMode() calls when unnecessary.
2025-12-10 18:35:22 +01:00
ocornut
cf64b7fa72
Tables: Fixed losing stored display order when reducing column count. ( #9108 , #4046 )
...
Amend f2df804fcc
2025-12-08 19:29:41 +01:00
ocornut
a726bded11
Fonts: ClearOutputData() doesn't need to clear FallbackChar, EllipsisChar. Fixed crash changing font loader.
2025-12-05 19:12:50 +01:00
ocornut
6327b63064
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
2025-12-05 16:38:51 +01:00
ocornut
fa4b47c5e2
Added RGBA color markers to ColorEdit3/ColorEdit4 + opt-in ImGuiSliderFlags_ColorMarkers for Drags/Sliders.
...
+ Added ImGuiColorEditFlags_NoColorMarkers
+ Added style.ColorMarkerSize.
2025-12-05 16:32:48 +01:00
ocornut
ded52c71d9
Debug Log: can output to debugger. Added ImGuiDebugLogFlags_OutputToDebugger.
2025-12-05 15:07:44 +01:00
ocornut
8e67fe13a5
Fixed an assert in background dimming code, which could trigger after using gamepad/keyboard to move a window to another viewport. ( #9053 )
...
Due to missing ->Active check the dimming could render behind a window which was not submitted during the frame, appending to left-over ImDrawList data and in some situations tripping on the assert in RenderDimmedBackgroundBehindWindow().
The assumption that the PushClipRect won't match previous command is arguably a bit fragile, but this is what the assert is for.
2025-12-05 13:52:54 +01:00
achabense
fee06a92ea
Text: fixed word-wrapping function reading from *text_end when passed a string range. ( #9107 )
...
Likely caused by 4d4889bf1b (#5720 )
2025-12-05 13:23:26 +01:00
ocornut
42e91c3155
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_win32.cpp
2025-12-03 13:35:35 +01:00
ulhc
d27dce58cd
Backends: Win32: handle WM_IME_CHAR/WM_IME_COMPOSITION messages to support Unicode inputs on MBCS Windows. ( #9099 , #3653 , #5961 )
2025-12-03 13:34:57 +01:00
ulhc
962cc2381d
Backends: Win32: viewports created by backend direct messages to DefWindowProcW() in order to support Unicode text inputs. ( #9099 , #3653 , #5961 )
2025-12-03 13:22:06 +01:00
ocornut
bfe137893a
Debug Log: fixed incorrectly printing characters in IO log when submitting non-ASCII values to io.AddInputCharacter(). ( #9099 )
2025-12-01 17:03:04 +01:00
ocornut
620a33dd85
TreeNode: fixed highlight position when used inside a line with a large text baseline offset.
...
Most old logic e.g. df749e3f13 , ec0e953cca . Never quite worked for this situation.
2025-11-27 23:49:17 +01:00
ocornut
7c6febed66
Tables: fixed an issue where submitting non-integer row heights would eventually advance table parent layout by +0/+1 depending on its visibility.
2025-11-27 22:54:51 +01:00
ocornut
1a62292ac0
Tables: fixed an issue where a very thin scrolling table would advance parent layout slightly differently depending on its visibility.
2025-11-27 22:37:00 +01:00
ocornut
2026e3db88
Menus: fixed BeginMenu() child popup position when used inside a line with a baseline offset.
2025-11-27 21:51:04 +01:00
ocornut
1f54665799
Menus: fixed MenuItem() label baseline when using inside a line with an offset.
...
Amend f8fae02270
2025-11-27 19:54:06 +01:00
ocornut
9c75ef5a61
Tables: clarify TableNextRow() row_height and adjust demo to make this clearer (demo height were arbitrary and therefore misleading).
2025-11-26 18:25:30 +01:00
ocornut
75db81cf08
Backends: SDL_GPU3: select between metallib and MSL shaders based on availability. ( #9076 )
...
Amend fd887f5
2025-11-26 15:05:05 +01:00
Leon Lysak
fd887f5241
Backends: SDL_GPU3: use MSL on macOS and MetalLib on iOS to fix shader compatibility. ( #9076 )
...
Edit original PR to keep metallib shader binary since next commit is going to use them.
2025-11-26 15:01:03 +01:00
ocornut
285e3042ba
Docs: tweaks. Add reference to imgui-module from main README. ( #9092 , #8868 )
2025-11-26 14:49:11 +01:00
ocornut
772cbfd014
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-11-26 14:33:25 +01:00
ocornut
e768f91dc2
Textures: fixed displaying texture # in metrics/debugger.
2025-11-26 14:21:48 +01:00
ocornut
3fef0d553d
Textures: fixed a building issue when ImTextureID is defined as a struct.
...
+ Added CI for this case.
2025-11-26 14:21:48 +01:00
ocornut
3a45bae9dc
Backends: Vulkan: helper for creating a swapchain selects VkSwapchainCreateInfoKHR's compositeAlpha based on cap.supportedCompositeAlpha. ( #8784 )
2025-11-24 18:11:23 +01:00
ocornut
98636f4a23
Fonts: fixed handling of ImFontConfig::FontDataOwnedByAtlas = false which did erroneously make a copy of the font data. ( #9086 )
...
Amend 815168c7e
+ Added explicit casts for intent/clarity when passing to stb_truetype/freetype.
2025-11-24 15:58:01 +01:00
ocornut
5f82275ba1
Docs: updated 1.91.5 logs for missing info that GetKeyIndex() was removed at this date.
...
Amend 6f287dd16
2025-11-24 14:49:16 +01:00
ocornut
136d067eed
Scrollbar: fixed a codepath leading to a divide-by-zero. ( #9089 )
2025-11-24 14:27:03 +01:00
ocornut
324cea1f41
Version 1.92.6 WIP
2025-11-24 13:35:41 +01:00
ocornut
3912b3d9a9
Merge branch 'master' into docking
2025-11-20 18:01:02 +01:00
ocornut
6d910d5487
Version 1.92.5
2025-11-20 17:49:52 +01:00
ocornut
a484fd2b56
Examples: Win32+OpenGL3: enable DPI awareness. ( #9083 )
2025-11-20 14:50:08 +01:00
Rokas Kupstys
8ff7f35eec
CI: run imgui_test_suite as part of CI build.
2025-11-20 14:35:48 +01:00
ocornut
5e462eb29b
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
2025-11-18 19:20:08 +01:00
ocornut
23bd697f05
Drag and Drop: Pressing Escape while carrying a payload automatically cancel the active drag and drop. ( #9071 )
2025-11-18 19:18:10 +01:00
ocornut
37f9153105
Nav: improved/clarified behavior when requesting PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
2025-11-18 18:59:06 +01:00
ocornut
81e01ddebe
Nav: reworked PageUp/PageDown to pick same-page top/bottom page based on inner rectangle rather than clipping rectangle.
2025-11-18 18:57:32 +01:00
ocornut
91b5256c57
Clipper: fixed an issue when using up/down from an item outside of visible bound and using the clipper. ( #9079 )
2025-11-18 17:00:01 +01:00
ocornut
9afc62d087
InputText: Fixed an assert when using ImGuiInputTextFlags_ReadOnly and making underlying contents shorter while text is selected. ( #9069 )
2025-11-18 16:20:51 +01:00
ocornut
93eb459ae1
Docking: added io.ConfigDockingNoDockingOver to prevent merging windows into a same tab-bar.
2025-11-17 18:36:07 +01:00
ocornut
d99baf332c
CI: fixes for example_null building.
2025-11-17 16:11:05 +01:00
ocornut
eb19a77848
Examples: fix example_null Makefile.
...
Amend b885382
2025-11-17 15:52:32 +01:00
ocornut
219ba3b617
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
2025-11-17 15:38:58 +01:00
ocornut
b885382a63
Backends: Null: added imgui_impl_null platform/renderer backend.
2025-11-17 15:28:03 +01:00