ocornut
77e1a0c97c
ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf)
2026-07-03 17:10:11 +02:00
璀境石
d9ba27c42d
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
2026-07-03 17:10:10 +02:00
ocornut
9f56c53b7a
ImStrv: standardized code doing format copy, optimized ImStrStr
2026-07-03 17:10:09 +02:00
ocornut
0829ffe82b
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings.
2026-07-03 17:10:09 +02:00
ocornut
5414b312c0
ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion.
...
Squashed commits (initially a commit from rokups + many rework by ocornut. keeping them separate commits made rebasing unnecessarily tricking so merged from 2024/02)
ImStrv: many fixes (see details), added imconfig class extension example, added natvis description.
ImStrv: rework toward ensuring End is always set to constant can be compile time calculated
ImStrv: using length(), fix ambiguous empty() function, fix altered behaviors, removed unused operators.
ImStrv: various tweaks and fixes. removed ImGuiTextRange from ImGuiTextFilter, fix test engine hooks, removed constructor only used twice.
2026-07-03 17:10:08 +02:00
Rokas Kupstys
f15ef9c27f
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2026-07-03 17:10:08 +02:00
ocornut
5fb77dfde1
Settings: added io.ConfigIniSettingsAutoDiscardMonths, trimming tool in in Metrics->Settings + internal CleanupIniSettings(). ( #9460 )
...
cc #437 #2564
2026-07-03 16:36:46 +02:00
ocornut
f7e8343ee9
Settings, IO: added io.ConfigIniSettingsSaveLastUsedDate, platform_io.Platform_SessionDate, IMGUI_DISABLE_TIME_FUNCTIONS(). ( #9460 )
...
cc #437
2026-07-03 16:36:45 +02:00
ocornut
8fc25800e0
Fonts, Context: assert that ImFontAtlas has no other references when destroying an owned atlas. ( #9426 )
2026-07-02 15:02:59 +02:00
ocornut
279d04f7a3
Added GetItemClickedCountWithSingleClickDelay(), io.MouseSingleClickDelay. ( #8337 )
2026-07-01 18:53:29 +02:00
ocornut
0edad6d097
Internals: track WasSelected/WasSoleSelected data for ActiveId. ( #8337 )
2026-07-01 18:53:27 +02:00
ocornut
e408733ecc
BeginMenu(), MenuItem() use NextItemData.Flags + Fixed typo in comment. ( #9456 )
2026-07-01 12:38:32 +02:00
ocornut
ac6f9683b5
Style: added MenuItemRounding, SelectableRounding, ImGuiStyleVar_MenuItemRounding, ImGuiStyleVar_SelectableRounding. ( #7589 , #9375 , #9453 )
2026-06-25 11:43:50 +02:00
ocornut
0e355af09e
RenderNavCursor: take rounding as input. Removed ImGuiNavRenderCursorFlags_NoRounding.
...
Toward #7589
2026-06-24 18:34:30 +02:00
ocornut
26432cfdc6
Style, Nav: scale the NavCursor border thickness when using large values with ScallAllSizes().
2026-06-24 17:57:04 +02:00
ocornut
2f94e7dc13
Tables: add support for ImGuiTableFlags_TrackTopologyChanges ( #9108 , #4046 )
2026-06-24 15:50:17 +02:00
Clownacy
b2377d616d
Nav, Popups: fixed context menu activation with gamepad erroneously testing for _NavEnableKeyboard instead of _NavEnableGamepad. ( #9454 )
...
cc: #8803 , #9270
2026-06-24 13:49:28 +02:00
Cleroth
9a5c070308
Windows: fixed double-click collapse toggle not owning the mouse button. ( #9439 )
2026-06-17 15:21:36 +02:00
ocornut
94a3dcc5fa
Tables: tweaked debug tools + minor data packing in in ImGuiTableColumn
2026-06-15 16:15:39 +02:00
ocornut
2e0f949039
Tables, Debug Log: added IMGUI_DEBUG_LOG_TABLE, ImGuiDebugLogFlags_EventTable. Clicking "Clear settings" calls TableResetSettings() immediately.
2026-06-12 22:12:25 +02:00
ocornut
e5ff2d07d7
Tables: Context-menu: added "Reset" sub-menu and "Reset Visibility" option.
2026-06-11 19:15:55 +02:00
ocornut
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 )
...
# Conflicts:
# docs/CHANGELOG.txt
2026-06-02 19:05:40 +02:00
ocornut
995e4a65ff
(Breaking) TreeNode: commented out legacy name ImGuiTreeNodeFlags_SpanTextWidth which was obsoleted in 1.90.7 (May 2024). Use ImGuiTreeNodeFlags_SpanLabelWidth instead.
2026-06-02 18:37:01 +02:00
ocornut
75f985998b
Using custom ceilf inline impl in ImGui::CalcTextSize().
...
Amend 7b0bf230 , 4622fa4b6 , 12b7977 . (#791 )
2026-05-29 15:59:44 +02:00
ocornut
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.
...
ceilf() is still measurable e.g. ballpark +0.5 for 200k calls.
2026-05-28 19:19:11 +02:00
ocornut
783eba926f
Docs: retroactively amend 1.92.8 changelog about ImDrawFlags_Closed value.
...
Amend 6df50a0
2026-05-28 11:37:37 +02:00
ocornut
24a80f74a4
InputText, Style: added InputTextCursorSize to configure cursor/caret thickness. ( #7031 , #9409 )
2026-05-22 19:12:36 +02:00
ocornut
e41d691da1
Demo: Tree Nodes: extract 'Tree Nodes->Selectable Nodes' into its own thing.
...
+ comments (#9401 )
2026-05-18 14:31:58 +02:00
ocornut
93e396ffb7
Textures: call ImTextureDataUpdateNewFrame() for textures registered via RegisterUserTexture(). ( #8789 , #8465 )
...
Amend
2026-05-15 16:38:45 +02:00
ocornut
db161b84c9
Windows: clicking on a window's empty-space to move/focus a window checks for lack of queued focus request. ( #9382 )
2026-05-15 13:45:03 +02:00
ocornut
4088a4f40c
Windows: clicking on a window's empty-space to move/focus a window checks for lack of mouse button ownership. ( #9382 )
2026-05-15 13:44:40 +02:00
ocornut
46a050fff2
Nav: minor optimization NavUpdate().
...
To be honest this is mostly to ease debug stepping in the common case.
2026-05-15 13:43:45 +02:00
ocornut
c7767926ce
Version 1.92.9 WIP
2026-05-15 13:28:32 +02:00
ocornut
8936b58fe2
Version 1.92.8
...
Include minor bits: adjust activeid logging, tweak comments.
2026-05-12 16:30:30 +02:00
ocornut
4ac473b2c7
Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d + ac1f57b. ( #9355 )
2026-05-11 16:35:40 +02:00
ocornut
ac1f57ba0c
Fixed BeginMenu() leading to window with is_resizable_width=true. Fix/amend 95bd1577d. ( #9355 )
...
We should instead probably make BeginChild() not set on ImGuiWindowFlags_AlwaysAutoResize on either ResizeX or ResizeY, but that'll be done later.
2026-05-11 16:34:33 +02:00
ocornut
eb453f2be6
Checkbox, Style: added ImGuiCol_CheckboxSelectedBg. ( #9392 )
2026-05-11 14:30:34 +02:00
ocornut
56b37bf93c
Inputs: SetItemKeyOwner(): does not set ownership is key is already taken.
...
(#456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
2026-05-07 21:22:33 +02:00
ocornut
0eae77f783
Inputs: SetItemKeyOwner(): return true if ownership has been requested, which can to be checked to accurately gate further input test.
...
(#456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
2026-05-07 21:15:27 +02:00
ocornut
02ccd9f348
Scrolling, Inputs: using mouse wheel to scroll takes and keeps ownership of the corresponding keys while a wheeling window is locked.
...
Ref 4448d975d . (#2604 , #3795 )
2026-05-07 20:51:57 +02:00
ocornut
a70b97ee48
Warning fixes.
2026-05-07 16:51:34 +02:00
ocornut
6df50a0667
(Breaking) DrawList: swapped the last two arguments of AddRect(), AddPolyline(), PathStroke(). thickness<>flags.
...
Added inline redirection functions when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is off.
Marked the old functions are =delete when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is on, to allow for better type-checking.
The aim is to be able to use/add flags to more ImDrawList functions, and making existing functions consistents was deemed very desirable.
2026-05-07 16:37:57 +02:00
ocornut
976c5c0f3a
Textures: extract ImTextureDataQueueUpload() out of ImFontAtlasTextureBlockQueueUpload() ( #8465 )
...
Not atlas specific, in support of texture system.
2026-05-06 16:19:39 +02:00
Mikko Mononen
691b89baae
ImDrawList: added AddLineH(), AddLineV() helpers. ( #9360 )
...
This commit is aimed to be a lossless transform. Further layout fixes in subsequent commits.
2026-04-28 17:04:54 +02:00
ocornut
ab36fbaf48
Drag and Drop, Style: added ImGuiStyleVar_DragDropTargetRounding. ( #9056 )
...
+ readded rounding arg to RenderDragDropTargetRectEx().
2026-04-27 18:23:56 +02:00
ocornut
db23a78c60
Internals: store ImGuiItemStatusFlags_EditedInternal bypassing ImGuiItemFlags_NoMarkEdited.
...
Convenient if the same signal is not passed via e.g. return value. (#8665 , #9299 , #8065 , #3946 , #6284 , #9117 )
2026-04-24 15:15:16 +02:00
ocornut
7e7f3adb80
Removed DrawCallback_SetSamplerCustom feature for now. Too unreliable to get working everywhere. ( #9378 )
2026-04-23 21:50:52 +02:00
ocornut
82f46a73f8
(Breaking) Moved ImDrawCallback_ResetRenderState -> ImGui::GetPlatformIO().DrawCallback_ResetRenderState + added room in ImGuiPlatformIO for more standard backend-agnostic draw callbacks. ( #9378 )
2026-04-23 21:50:41 +02:00
ocornut
f934719fbf
TabBar: comments about ImGuiTabBarFlags_FittingPolicyMixed and TabMinWidthShrink. ( #9376 , #3421 , #8800 )
2026-04-23 18:31:53 +02:00
ocornut
ac261203a5
(Breaking) Backends: Vulkan: redesigned to use separate ImageView + Sampler instead of Combined Image Sampler. (fixes, amends) ( #914 )
2026-04-22 14:43:44 +02:00