ocornut
8dc457fda2
Internals: added indent, shallow tweaks + unused context pointer to InputTextCalcTextLenAndLineCount() to reduce noise in wip patch.
...
Visualize this commit with white-space changes disabled.
2025-09-02 15:39:22 +02:00
ocornut
0ef9610e70
InputText, stb_textedit: Revert special handling when pressing Down/PageDown on last line of a buffer without a trailing carriage return.
...
Revert fbf70070bb
.
2025-09-02 15:39:14 +02:00
ocornut
5c92699f5f
stb_textedit: trim trailing blanks for simplicity.
...
In theory your editorconfig has this disabled for this file but MSVC plugin doesn't seem to handle this properly.
2025-08-28 18:43:41 +02:00
ocornut
771fae623d
ImRect: added AsVec4() helper. Using ImRect in InputTextEx().
2025-08-27 21:43:25 +02:00
ocornut
6351f00ff1
Clipper, Tables: removed row_increase >= 0
assert. ( #8886 )
...
Seeing cases in my own tests that are not obvious so it seems like too much of a burden for the user to assert/crash, as the row count is not always useful anyhow.
2025-08-27 20:31:05 +02:00
ocornut
55cbc66508
InputText: allow passing an empty string with buf_size==0. ( #8907 )
2025-08-27 20:21:31 +02:00
ocornut
9f969944d5
stb_textedit: fixed misleading cursor-1 in STB_TEXTEDIT_K_LINESTART handlers. ( #7925 )
...
`state->cursor - 1` in STB_TEXTEDIT_K_LINESTART handlers was technically misleadingly not UTF-8 compliant but things would naturally work anyhow.
2025-08-27 19:22:48 +02:00
ocornut
4d216d4510
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
2025-08-27 18:57:56 +02:00
ocornut
aa2f40c3bb
Clipper, Tables: added ImGuiListClipperFlags, ImGuiListClipperFlags_NoSetTableRowCounters. ( #8886 )
...
a0cdac48e0
revealed the issue but technically the core issue is that clipper assume 1 item = 1 table row.
2025-08-27 18:54:57 +02:00
Christian Fillion
a309d2dcac
Fonts: fixed assertion failure when ImFontAtlasRectEntry::Generation overflows. ( #8906 )
2025-08-27 14:39:08 +02:00
ocornut
87c1ab7988
Windows: changed how g.CurrentItemFlags is modified before windows' CloseButton() submission to be less misleading. ( #8903 )
...
I don't think anyone would have `ImGuiItemFlags_NoFocus` set globally but technically it might.
2025-08-26 18:48:08 +02:00
ocornut
319c481abb
AddFontDefault(): shallow simplification.
2025-08-26 17:57:51 +02:00
ocornut
229d56e37a
Debug Tools: ID Stack Tool: when ### is used, uncontributing prefix before the ### is now skipped. ( #8904 , #4631 )
2025-08-26 16:30:13 +02:00
ocornut
7d230594de
Fixed ImHashSkipUncontributingPrefix() not looping in case of multiple ### elements.
2025-08-26 16:29:14 +02:00
ocornut
75a4a48d1f
Internals: extracted ImHashSkipUncontributingPrefix() out of CreateNewWindowSettings() and added note about it.
2025-08-26 16:23:06 +02:00
ocornut
9e864012ae
Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in output path. ( #8904 , #4631 )
2025-08-26 15:58:59 +02:00
ocornut
783f1e62cc
Debug Tools: ID Stack Tool: fixed using fixed-size buffers preventing long identifiers from being displayed in the tool. ( #8905 , #4631 )
2025-08-26 15:36:56 +02:00
ocornut
e728b96600
Fixed Bullet() fixed tesselation amount which looked out of place in very large sizes.
2025-08-20 20:22:31 +02:00
ocornut
fe03035112
Docs: advertise ProggyVector font as an alternative.
2025-08-20 20:02:49 +02:00
ocornut
a28cb615ff
Viewports, Docking: Fixed a bug where closing a viewport using OS facilities would erroneously close all windows located in the viewport. ( #8887 )
2025-08-20 19:09:45 +02:00
ocornut
515c0b526f
Backends: SDL_GPU: typo + changelog. ( #8892 )
2025-08-20 18:53:25 +02:00
PTSVU
03e39ca7f5
Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. ( #8892 )
...
(docking branch commit)
2025-08-20 18:51:50 +02:00
PTSVU
7c6fa8f8f7
Backends: SDL_GPU: add swapchain parameters to ImGui_ImplSDLGPU3_InitInfo. ( #8892 )
...
(master branch commit, values are not used)
2025-08-20 18:43:04 +02:00
ocornut
4ebfe1cba5
Merge branch 'master' into docking
2025-08-20 18:28:39 +02:00
ocornut
42656b3aa1
Scrollbar, Style: added style.ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding. ( #8895 )
2025-08-20 18:27:35 +02:00
ocornut
89b7fc906a
DrawList: fixed CloneOutput() taking a copy of the ImDrawListSharedData pointer. Missing Changelog. ( #8894 , #1860 )
2025-08-20 17:57:06 +02:00
ocornut
0c4f50090a
DrawList: fixed CloneOutput() taking a copy of the ImDrawListSharedData pointer. ( #8894 , #1860 )
...
Amend b82e99c032
2025-08-20 17:49:18 +02:00
ocornut
720e94f3da
Rework FormatTextureIDForDebugDisplay() ImDrawCmd version as FormatTextureRefForDebugDisplay().
2025-08-19 15:32:38 +02:00
ocornut
321e9eb919
Fixes for printing out ImTextureID value when it is typedef to other types. ( #8889 )
2025-08-19 15:32:12 +02:00
scribam
655601169b
Examples: Android+OpenGL3: update Gradle project, amend. ( #8888 , #8878 )
2025-08-19 15:20:53 +02:00
scribam
361e370fe0
Examples: Android+OpenGL3: update Gradle project ( #8888 , #8878 )
2025-08-19 15:16:15 +02:00
ocornut
86ec5c8342
Version 1.92.3 WIP
2025-08-19 15:15:49 +02:00
ocornut
1f7f1f54af
Revert IsItemHovered() change for TabId. ( #8877 , #8883 )
...
Amend 774ddb5
for docking. Revert 5a6fa33
.
v1.92.2b-docking
2025-08-13 17:32:36 +02:00
ocornut
160e3683ab
Merge branch 'master' into docking
2025-08-13 17:31:15 +02:00
ocornut
45acd5e0e8
Version 1.92.2b
v1.92.2b
2025-08-13 17:31:01 +02:00
ocornut
774ddb58bd
Fixed IsItemHovered() failing on disabled items and items that have no identifier. Made holding on disabled items not leak IsItemDisabled() between disabled items when window has _NoMove. ( #8877 , #8883 )
...
See amends to "widgets_status_common", "widgets_disabled_2" tests.
2025-08-13 17:08:04 +02:00
ocornut
4dee11a089
Make ImGuiInputSource int.
...
(primarily to avoid "result of comparison 'ImGuiInputSource' < 0 is always false" in GetInputSourceName().
2025-08-13 17:02:23 +02:00
omar
43e3ac0dc6
Docs: fixed unneeded usage of Build(). ( #8883 )
2025-08-13 15:17:53 +02:00
ocornut
02f654cbce
Backends: Allegro5: fixed missing support for ImGuiKey_PrintScreen under Windows.
2025-08-12 20:02:08 +02:00
ocornut
e1baadba84
Backends: Allegro5: Fixed texture format setup. ( #8770 , #8465 )
...
Amend/fix ee8941e
.
2025-08-12 15:02:58 +02:00
ocornut
e2a662eed8
Backends: Allegro5: fixed use of obsolete IM_OFFSETOF().
2025-08-12 11:41:11 +02:00
ocornut
e1a93805db
Backends: Allegro5: Added ImGui_ImplAllegro5_SetDisplay().
2025-08-12 11:33:10 +02:00
ocornut
af920e1e6f
Version 1.92.3 WIP
2025-08-12 11:30:41 +02:00
Wouter Vermaelen
863e989c25
imgui_freetype.cpp: fix gcc -Wmissing-declarations ( #8879 )
2025-08-11 19:39:26 +02:00
ocornut
031a18c417
Merge branch 'master' into docking
v1.92.2-docking
2025-08-11 16:47:16 +02:00
ocornut
2b24f5fa71
Version 1.92.2
v1.92.2
2025-08-11 16:47:06 +02:00
ocornut
e10300ed3c
Docs: Special thanks.
2025-08-11 16:26:10 +02:00
ocornut
104f58fc48
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-08-11 15:44:21 +02:00
ocornut
5a6fa33b88
Fixed an inconsistency between IsItemHovered() and internal hovering check, where IsItemHovered() would return true if mouse was first clicked on the background of a non-moveable window. ( #8877 )
2025-08-11 15:41:38 +02:00
ocornut
8239a0e0c4
Nav, Tables: fix NavIsScrollPushableX logic clamping value stored in NavApplyItemToResult(), which would break scrolling. ( #8816 , #2221 )
...
Amend 47c4148
.
2025-08-11 15:17:02 +02:00