6e0ee6ff03
Fonts: removed misleading SizePixels >= 0.0f test and stbtt_ScaleForMappingEmToPixels() call in ImGui_ImplStbTrueType_FontSrcInit(). (#8857)
ocornut2025-12-03 20:15:25 +01:00
d27dce58cd
Backends: Win32: handle WM_IME_CHAR/WM_IME_COMPOSITION messages to support Unicode inputs on MBCS Windows. (#9099, #3653, #5961)
ulhcandocornut2025-11-28 23:05:45 +08:00
87b193399e
Backends: Win32: change param to MultiByteToWideChar() to be consistent (should be no-op?).
ocornut2025-12-03 13:30:46 +01:00
bfe137893a
Debug Log: fixed incorrectly printing characters in IO log when submitting non-ASCII values to io.AddInputCharacter(). (#9099)
ocornut2025-12-01 17:02:51 +01:00
620a33dd85
TreeNode: fixed highlight position when used inside a line with a large text baseline offset.
ocornut2025-11-27 22:01:25 +01:00
47766ca403
Demo: fix in 'Demo->Selection->Multi-Select in a Table' section.
ocornut2025-11-27 23:40:52 +01:00
7c6febed66
Tables: fixed an issue where submitting non-integer row heights would eventually advance table parent layout by +0/+1 depending on its visibility.
ocornut2025-11-27 22:54:51 +01:00
1a62292ac0
Tables: fixed an issue where a very thin scrolling table would advance parent layout slightly differently depending on its visibility.
ocornut2025-11-27 22:37:00 +01:00
2026e3db88
Menus: fixed BeginMenu() child popup position when used inside a line with a baseline offset.
ocornut2025-11-27 21:48:10 +01:00
3ff8c466bf
Menus: fixed BeginMenuEx() icon/arrow baseline when using inside a line with an offset.
ocornut2025-11-27 20:05:07 +01:00
1f54665799
Menus: fixed MenuItem() label baseline when using inside a line with an offset.
ocornut2025-11-27 19:46:13 +01:00
9c75ef5a61
Tables: clarify TableNextRow() row_height and adjust demo to make this clearer (demo height were arbitrary and therefore misleading).
ocornut2025-11-26 18:25:30 +01:00
f0699effed
Examples: Win32+DirectX12: Disable breaking on the D3D12_MESSAGE_ID_FENCE_ZERO_WAIT warning. (#9093, #9084)
Rémy Tassouxandocornut2025-11-22 12:47:10 +01:00
75db81cf08
Backends: SDL_GPU3: select between metallib and MSL shaders based on availability. (#9076)
ocornut2025-11-26 15:05:05 +01:00
fd887f5241
Backends: SDL_GPU3: use MSL on macOS and MetalLib on iOS to fix shader compatibility. (#9076)
Leon Lysakandocornut2025-11-26 14:51:22 +01:00
285e3042ba
Docs: tweaks. Add reference to imgui-module from main README. (#9092, #8868)
ocornut2025-11-26 14:49:11 +01:00
d981b33dd0
Textures: amend to please static analyzer.
ocornut2025-11-26 14:24:55 +01:00
3fef0d553d
Textures: fixed a building issue when ImTextureID is defined as a struct.
ocornut2025-11-26 14:11:22 +01:00
3a45bae9dc
Backends: Vulkan: helper for creating a swapchain selects VkSwapchainCreateInfoKHR's compositeAlpha based on cap.supportedCompositeAlpha. (#8784)
ocornut2025-11-24 18:11:23 +01:00
98636f4a23
Fonts: fixed handling of ImFontConfig::FontDataOwnedByAtlas = false which did erroneously make a copy of the font data. (#9086)
ocornut2025-11-24 15:39:41 +01:00
5f82275ba1
Docs: updated 1.91.5 logs for missing info that GetKeyIndex() was removed at this date.
ocornut2025-11-24 14:49:16 +01:00
136d067eed
Scrollbar: fixed a codepath leading to a divide-by-zero. (#9089)
ocornut2025-11-24 14:27:03 +01:00
4ab86e1d61
Nav: fixed scoring when using PageUp/PageDown from a focused item which is outside of visible boundaries. (#9079)
ocornut2025-11-19 19:01:03 +01:00
0faa0dba15
Drag and Drop: rework cancel drag and drop logic to be overridable. (#9071)
ocornut2025-11-19 18:26:31 +01:00
db6b8e0fb3
Drag and Drop: handling of Escape after UpdateKeyboardInputs(). (#9071)
ocornut2025-11-19 17:21:17 +01:00
23bd697f05
Drag and Drop: Pressing Escape while carrying a payload automatically cancel the active drag and drop. (#9071)
ocornut2025-11-18 19:17:20 +01:00
37f9153105
Nav: improved/clarified behavior when requesting PageUp/PageDown from a focused item which is outside of visible boundaries. (#9079)
ocornut2025-11-18 18:59:06 +01:00
81e01ddebe
Nav: reworked PageUp/PageDown to pick same-page top/bottom page based on inner rectangle rather than clipping rectangle.
ocornut2025-11-18 18:57:32 +01:00
91b5256c57
Clipper: fixed an issue when using up/down from an item outside of visible bound and using the clipper. (#9079)
ocornut2025-11-18 17:00:01 +01:00
9afc62d087
InputText: Fixed an assert when using ImGuiInputTextFlags_ReadOnly and making underlying contents shorter while text is selected. (#9069)
ocornut2025-11-18 16:20:51 +01:00
c3835de38a
CI: fixes warning building example_null w/ msvc as DLL
ocornut2025-11-17 18:01:51 +01:00
52caa2f38a
CI: fixes warning building example_null w/ msvc as DLL
ocornut2025-11-17 17:50:37 +01:00
04af1a3917
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
ocornut2025-11-17 17:43:09 +01:00
e1f9b8b3a7
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
ocornut2025-11-17 16:49:34 +01:00
cfb48969af
Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.
ocornut2025-11-17 16:36:54 +01:00
0cf5b93a0a
CI, Backends: fixes for example_null building. Add consistent IMGUI_IMPL_API in backend.
ocornut2025-11-17 16:18:12 +01:00
d99baf332c
CI: fixes for example_null building.
ocornut2025-11-17 16:11:05 +01:00
9e15ebb402
Backends: GLFW: fixed last ImGui_ImplGlfw_Shutdown() call not immediately clearing the context map. (#9075, #8676, #8239, #8069)
ocornut2025-11-17 13:37:20 +01:00
f145b0cffd
Debug Tools: ID Stack Tool: refactor, extract data/code into ImGuiDebugItemPathQuery for reuse.
ocornut2025-11-13 16:43:34 +01:00
c254db7637
Debug Tools: ID Stack Tool: store ResultsComplete and don't display incomplete paths.
ocornut2025-11-13 16:19:27 +01:00
5a0c67c4b8
Debug Tools: ID Stack Tool: extracted code into a StackToolGetResultAsPath() function.
ocornut2025-11-13 16:14:45 +01:00
ec6219752d
Fonts: calling ImFontAtlas::Clear() mid-frame without re-adding a font will lead to a more explicit crash. (#9067)
ocornut2025-11-13 15:54:36 +01:00
e60e5bff63
Misc: standardized casing of keyboard mods in comments and demo ("CTRL" -> "Ctrl").
ocornut2025-11-13 15:24:03 +01:00
873fe34b31
Debug Tools: ID Stack Tool: preserve first data type, so user of PushOverrideID() e.g. TreeNode() elements don't get demoted from _String to _ID.
ocornut2025-11-13 15:05:16 +01:00
e3979c2098
Demo: removing absolute __FILE_ from being emitted by default. (#9033)
ocornut2025-11-13 14:22:34 +01:00
68a44776bd
Misc: tweak conflicting id error tooltip to use a link.
ocornut2025-11-13 13:44:47 +01:00
613cfaf0b4
Tooltips: made BeginTooltipEx() not hide nested tooltips.
ocornut2025-11-13 13:44:21 +01:00
de917ebb95
Windows: move auto-fit block into braces for clarify. (no-op)
ocornut2025-11-11 21:48:17 +01:00
52e9d94f93
Windows: reorganize auto-fitting code blocks in Begin(), aimed to have no side-effect, but..
ocornut2025-11-11 20:01:07 +01:00
fc262355ca
Windows: Fixed an issue where repeated calls to SetNextWindowSize() using 0.0f to auto-size would keep marking ini settings as dirty.
ocornut2025-11-11 19:40:24 +01:00
7537ba2b44
Windows: fixed single-axis auto-sizing (via double-clicking a border) to take account of remaining scrollbar on the other axis. (#9060)
ocornut2025-11-10 19:36:16 +01:00
bd0e2036e0
Drag and Drop: added ImGuiDragDropFlags_AcceptDrawAsHovered. (#8632)
ocornut2025-11-06 18:07:02 +01:00
b0d3c3a674
Drag and Drop: prev/curr storage for DragDropAcceptFlags. ImGuiDragDropFlags_AcceptNoPreviewTooltip test uses DragDropAcceptFlagsPrev for consistency. (#143)
ocornut2025-11-06 17:59:01 +01:00
dacd080639
Docs: added link to imgui-module. (#8868(
ocornut2025-11-06 17:30:00 +01:00
8e2e87d638
(Breaking) Commented out legacy SetItemAllowOverlap() obsoleted in 1.89.7: this never worked right. Use SetNextItemAllowOverlap() _before_ item instead.
ocornut2025-11-06 16:27:09 +01:00
e389502ffb
Amends comments referring to 1.92.X to refer to 1.92.0. FontAllowUserScaling not marked obsolete anymore.
ocornut2025-11-06 16:19:21 +01:00
1c3a60047c
(Breaking) IO: commented out legacy io.ClearInputCharacters() obsoleted in 1.89.8.
ocornut2025-11-06 16:14:41 +01:00
62162747e7
(Breaking) Keys: commented out legacy names which were obsoleted in 1.89.
ocornut2025-11-06 16:12:56 +01:00
e674f57bb6
Backends: SDL3: Fixed an issue with missing characters events when an already active text field changes viewports. (#9054)
ocornut2025-11-05 18:54:47 +01:00
1897248bda
Misc: added assert to detect ~ImGuiContext() called without DestroyContext(). (#9051)
ocornut2025-11-04 17:55:18 +01:00
051a31594f
Metrics: fixed table and columns rect highlight from display when metrics window is not in the same viewport as the table.
ocornut2025-11-03 19:48:57 +01:00
dc6e0f4b9e
Tables: Angled headers: fixed an auto-resize feedback loop that could affect tables with empty non-resizing columns using angled headers.
ocornut2025-11-03 19:35:19 +01:00
df3f2fff88
Examples: WebGPU: moved CreateWGPUSurface to the bottom of the file due to interference with X.h. (#8381)
BrutPittandocornut2025-11-01 10:41:59 +01:00
8e5e79054e
Examples: WGPU: tweak headers and standardize other things so examples have less differences. (#8381)
ocornut2025-11-03 19:04:44 +01:00
3cc8b470a6
Backends, Examples: WebGPU: header optimization. Added the code for using Dawn “pre-built” library. (#8381)
BrutPittandocornut2025-11-01 10:43:26 +01:00
f1becf7e4b
Amend 149587b config/build infos change to be resilient to IM_ASSERT() macros using stringification inside a list.
ocornut2025-11-03 14:31:14 +01:00
778aed9966
Examples: GLFW+WebGPU: update to latest specs and to work on Emscripten 4.0.10+ and latest Dawn-Native, WGPU-Native. (#8381, #8567, #8191, #7435)
BrutPittandocornut2025-10-31 18:58:05 +01:00