David Mentler
e2b8a0ded9
ImStrv: Added ImStrv formatter for LLDB (e.g. Xcode)
2026-04-02 19:32:17 +02:00
ocornut
32b0d6b171
ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf)
2026-04-02 19:32:16 +02:00
ocornut
51c2138fb9
ImStrv: allow constructing from two null pointers.
2026-04-02 19:32:16 +02:00
ocornut
06b555ccf0
ImStrv: Combo(), ListBox(): seems better to not introduce the ImStrv [] versions?
...
As 1) user is unlikely to store that on their end. 2) nowadays with lambdas isn't an easy user-side conversion.
Then we limit explosion of an already messy API.
2026-04-02 19:32:16 +02:00
ocornut
5d9436c744
ImStrv: convert Combo()/ListBox() to use ImStrv in their getters.
...
Didn't convert Combo() "const char* items_separated_by_zeros" as this doesn't translate well when used via a ImStrv constructor, may actually aim to obsolete.
Fixed for shadowing local variable warning on 2025/06/25.
2026-04-02 19:32:16 +02:00
ocornut
a727898ba3
ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079)
...
amended for gcc/clang warnings
amended to facilitate merge with docking
2026-04-02 19:32:16 +02:00
ocornut
472f887a8e
ImStrv: backtracked for now on supporting ImStrv for format strings.
...
It's widely incomplete and slow, requires a printf function taking non-zero-terminated format string to work.
Might do it eventually but it's much less a problem than labels. Format string are more frequently inlined in code and tend to be small, so existing solutions at call site can work better for now.
2026-04-02 19:32:16 +02:00
璀境石
deaefcd7b8
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
2026-04-02 19:32:16 +02:00
ocornut
1b0b2d38be
ImStrv: standardized code doing format copy, optimized ImStrStr
2026-04-02 19:32:16 +02:00
ocornut
0990dcd34d
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings.
2026-04-02 19:32:16 +02:00
ocornut
dda893e82a
ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv()
...
This is mostly for the benefit of cimgui parser, ideally we would do without.
2026-04-02 19:32:16 +02:00
ocornut
ac5fdb3735
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-04-02 19:32:15 +02:00
Rokas Kupstys
81d06d1433
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2026-04-02 19:31:49 +02:00
ocornut
dac07199cf
Version 1.92.7
v1.92.7
2026-04-02 19:22:53 +02:00
ocornut
45866bea47
Tables: fixes not releasing ReorderColumn caused by 38f5e5a. Which could break clicking on header to sort. ( #9312 )
2026-04-02 18:59:23 +02:00
ocornut
65ebca8157
Fonts: fixed an issue introduced in 1.92.6 where style.FontBaseSize would be cleared during the first frame if no fonts was explicitely added before.
...
Amend 3aba95060e
2026-04-02 18:35:24 +02:00
ocornut
9e9fdc97bb
InputText: rename Edited->EditedThisFrame, add EditedBefore. ( #701 ) + Comments + About box clipboard blurb include a comment.
2026-04-02 15:48:49 +02:00
ocornut
fc5e421cb9
Tables: columns freeze doesn't enforce a particular order + rework changelog for clarity. ( #9312 )
2026-04-02 13:59:41 +02:00
ocornut
b7bdea3215
Tables: fixed FrozenColumns issue introduced by 505bc9a.
...
cc #9312
2026-04-01 21:35:55 +02:00
ocornut
bf10275aa7
Tables: allow reordering columns by dragging them in the context menu. ( #9312 )
2026-04-01 20:08:34 +02:00
ocornut
0867f6113a
Tables: reorder allowed check sweep through columns, checks _NoOrder barrier, and reworked to be easy to use from context menu. ( #9312 )
...
The sweep doesn't make a difference for reordering with headers as reordering is currently done 1 by 1. But menu ordering will change that.
2026-04-01 20:08:31 +02:00
ocornut
836278db6c
Tables: context menu now present columns in display order. ( #9312 )
2026-04-01 20:08:29 +02:00
ocornut
505bc9a312
Tables: clarify FrozenColumns order to be in order space not in visible space.
...
+ Removed LeftMostUnfrozenOrder + Angled Headers comments.
While not strictly part of #9312 , presenting a suitable reordering menu was made difficult by the old behavior.
2026-04-01 20:08:26 +02:00
ocornut
07acc8bc87
Tables: Angled Headers: angled section for column being reordered via the regular headers stay highlighted during reordering.
...
Easily possible thanks to 6603cde .
2026-04-01 20:05:34 +02:00
ocornut
6603cdef98
Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.
2026-04-01 20:03:30 +02:00
ocornut
9df0d38d45
Tables: amend 2ac782f bad WIP merge broken reorder. ( #9312 )
2026-04-01 18:30:29 +02:00
ocornut
2ac782fbed
Revert "Tables: rework TableSetColumnDisplayOrder() to take src_order. ( #9312 )"
...
This reverts commit 7be8076e9b .
Not a good idea as it's easier to reason and persist column index.
+ clear ReorderColumnDstOrder properly in reinit.
2026-04-01 17:57:13 +02:00
ocornut
9fedea83f0
Tables: TableQueueSetColumnDisplayOrder() enforce handling ImGuiTableColumnFlags_NoReorder as advertised: can't reorder through them. ( #9312 )
...
This would never using interactive reordering as reordering from headers was done on a 1 by 1 basis which was already covered in the test.
Hard to tell what's a sensible design for this tbh. Expecting _NoOrder columns to be sequential and leading/trailing anyhow.
2026-04-01 16:03:32 +02:00
ocornut
ed4cffece7
Tables: store LeftMostUnfrozenOrder and amend TableQueueSetColumnDisplayOrder(). ( #9312 )
2026-04-01 16:02:41 +02:00
ocornut
7be8076e9b
Tables: rework TableSetColumnDisplayOrder() to take src_order. ( #9312 )
2026-04-01 16:02:36 +02:00
ocornut
587c4cb87b
Tables: rename locals in TableDrawDefaultContextMenu() to reduce confusion.
2026-04-01 15:25:59 +02:00
ocornut
aab17456a7
Tables: mark setting as dirty when forcing reordering.
...
Otherwise the manufactured case of reloading a session that previously had e.g. a slider to adjust freeze count, resetting to 1 on new session, would keep showing you reordering items until another thing triggers marking dirty.
2026-04-01 15:25:57 +02:00
Daniel K. O. (dkosmari)
3c78afbbbb
Added missing ImVec2/ImVec4 operators. ( #9339 , #8510 , #8258 )
2026-03-31 21:44:09 +02:00
JoshBot-Debug
b003a85143
Backends: Vulkan: use a single call to vkCmdPushConstants(). ( #9183 , #9327 )
2026-03-31 16:07:46 +02:00
ocornut
689f837afa
IO: added comments near ImGuiConfigFlags to refer to other fields. ( #3379 )
2026-03-30 13:04:38 +02:00
ocornut
97075fae4b
Clipper: always pulls current context on ImGuiListClipper::Begin(). ( #9324 , #5856 )
...
Marked Ctx as internal in the comments.
2026-03-30 12:53:30 +02:00
thedmd
bd3c925680
DrawList: PathArcTo(): fixed erroneous segment count for small arcs on large circles. ( #9331 , #9313 )
2026-03-30 12:04:22 +02:00
ocornut
b62cf3894b
Inputs: fixed an issue using SetKeyOwner() with ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease on ImGuiMod values. ( #9323 )
2026-03-25 22:00:14 +01:00
ocornut
e9eb04ea95
Internals: TempInputText: added callback/user_data parameters and made end of signature match InputText(). ( #2718 )
2026-03-25 17:46:04 +01:00
ocornut
ed2e5dd0f0
Examples+WebGPU: added support for WGVK in cmakefiles. ( #9316 , #9246 , #9257 )
2026-03-25 16:16:15 +01:00
ocornut
59183cf782
Backends, Examples: WebGPU: added support for WGVK. Remaining amends. ( #9316 , #9246 , #9257 )
2026-03-25 15:31:39 +01:00
r-lyeh
59780020f6
Backends, Examples: WebGPU: added support for WGVK. ( #9316 , #9246 , #9257 )
...
Squashed: minified SPIRV binaries by stripping strings + emitting in binary_to_compressed_c.
2026-03-25 15:31:35 +01:00
ocornut
0b82487fed
TempInputText: amends. Rename ImGuiInputTextFlags_MergedItem to ImGuiInputTextFlags_TempInput for explicitness. ( #2718 )
2026-03-25 14:29:54 +01:00
ocornut
51f590a2a8
Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. ( #9322 )
...
Amend 9a4fd69f6
2026-03-25 14:17:29 +01:00
ocornut
6c754ed2cb
TempInputText, InputText: enforce making active via ImGuiInputTextFlags_MergedItem. Restore cursor as Rect is provided + comments. ( #2718 , #6690 )
2026-03-25 11:36:40 +01:00
ocornut
79411a0405
Backends, Examples: WebGPU: fixed warnings + scale initial surface height for native.
2026-03-23 16:21:50 +01:00
ocornut
6b1776a7d2
Tables: context menu can be open using navigation Shift+F10 etc. ( #8803 , #9270 )
2026-03-23 15:37:56 +01:00
ocornut
38f5e5a0b8
Tables: rework column reordering code. ( #9312 )
...
- Move more logic into TableQueueSetColumnDisplayOrder() so that it may be called from different locations.
- Use to checking if both columns are on same size of the frozen barrier slightly changed to avoid reordering hidden column (with caveat of ill-defined design for what's "right").
2026-03-23 15:14:58 +01:00
ocornut
697b6886e3
Docs: update FAQ about label/ID system. ( #9318 )
2026-03-23 14:13:36 +01:00
ocornut
8314fc3e5a
Menus: shallow tweaks.
2026-03-20 20:47:07 +01:00