ocornut
6bb769489f
ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf)
2025-11-20 18:10:00 +01:00
ocornut
8a45c4e45a
ImStrv: allow constructing from two null pointers.
2025-11-20 18:10:00 +01:00
ocornut
43e8a7c6d0
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.
2025-11-20 18:10:00 +01:00
ocornut
acc9de8412
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.
2025-11-20 18:10:00 +01:00
ocornut
747609639c
ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079)
...
amended for gcc/clang warnings
amended to facilitate merge with docking
2025-11-20 18:10:00 +01:00
ocornut
18b09185ac
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.
2025-11-20 18:10:00 +01:00
璀境石
a4418fc8b4
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
2025-11-20 18:10:00 +01:00
ocornut
1b25225c7f
ImStrv: standardized code doing format copy, optimized ImStrStr
2025-11-20 18:09:59 +01:00
ocornut
76d088f900
ImStrv: Fixed various compile errors/warnings.
2025-11-20 18:09:59 +01:00
ocornut
c3725e19c8
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks.
2025-11-20 18:07:58 +01:00
ocornut
7a164c87ad
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.
2025-11-20 18:07:32 +01:00
ocornut
4ce208b809
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.
2025-11-20 18:07:32 +01:00
Rokas Kupstys
daaa126ff1
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2025-11-20 18:07:32 +01:00
ocornut
6d910d5487
Version 1.92.5
v1.92.5
2025-11-20 17:49:52 +01:00
ocornut
26ff93dadc
Examples: NULL: fixed msvc project.
2025-11-20 14:51:25 +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
Rokas Kupstys
e8448d0494
CI: general update + rename steps.
2025-11-20 14:33:23 +01:00
ocornut
4ab86e1d61
Nav: fixed scoring when using PageUp/PageDown from a focused item which is outside of visible boundaries. ( #9079 )
...
We only use ImGuiNavMoveFlags_AlsoScoreVisibleSet when starting point is visible.
2025-11-19 19:01:22 +01:00
ocornut
0faa0dba15
Drag and Drop: rework cancel drag and drop logic to be overridable. ( #9071 )
2025-11-19 18:26:44 +01:00
ocornut
db6b8e0fb3
Drag and Drop: handling of Escape after UpdateKeyboardInputs(). ( #9071 )
2025-11-19 18:26:43 +01:00
ocornut
1f16ca5e5c
Docs: update ShowUserGuide() + PR guidelines. ( #9071 )
2025-11-19 18:26:43 +01:00
ocornut
b4a3d423e0
Docs: amend BeginDisabled() comments. ( #9082 )
2025-11-19 17:06:44 +01:00
achabense
68894d4149
Docs: fixed outdated comment. ( #9082 )
2025-11-19 17:03:14 +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
405c802607
Nav: shallow tweaks.
2025-11-18 18:22:36 +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
6ae32c696a
Backends: fixed misc zealous Clang warnings.
2025-11-18 16:34:35 +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
c3835de38a
CI: fixes warning building example_null w/ msvc as DLL
2025-11-17 18:01:51 +01:00
ocornut
52caa2f38a
CI: fixes warning building example_null w/ msvc as DLL
2025-11-17 17:50:37 +01:00
ocornut
04af1a3917
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
2025-11-17 17:43:09 +01:00
ocornut
e1f9b8b3a7
CI: fixes warning building example_null w/ mingw 64-bit, as DLL
2025-11-17 16:49:34 +01:00
ocornut
cfb48969af
Examples: CI: backtrack and make example_null embed backend: simpler for all sorts of quick build scripts.
2025-11-17 16:38:07 +01:00
ocornut
0cf5b93a0a
CI, Backends: fixes for example_null building. Add consistent IMGUI_IMPL_API in backend.
2025-11-17 16:18:12 +01:00
ocornut
d99baf332c
CI: fixes for example_null building.
2025-11-17 16:11:05 +01:00
ocornut
7e919a543c
Examples: fix example_null Makefile.
...
Amend b885382,eb19a77
2025-11-17 15:58:12 +01:00
ocornut
eb19a77848
Examples: fix example_null Makefile.
...
Amend b885382
2025-11-17 15:52:32 +01:00
ocornut
b885382a63
Backends: Null: added imgui_impl_null platform/renderer backend.
2025-11-17 15:28:03 +01:00
ocornut
9e15ebb402
Backends: GLFW: fixed last ImGui_ImplGlfw_Shutdown() call not immediately clearing the context map. ( #9075 , #8676 , #8239 , #8069 )
...
Amend/fix f633a6058
2025-11-17 13:38:17 +01:00
ocornut
f145b0cffd
Debug Tools: ID Stack Tool: refactor, extract data/code into ImGuiDebugItemPathQuery for reuse.
2025-11-13 18:32:43 +01:00
ocornut
c254db7637
Debug Tools: ID Stack Tool: store ResultsComplete and don't display incomplete paths.
2025-11-13 16:19:27 +01:00
ocornut
5a0c67c4b8
Debug Tools: ID Stack Tool: extracted code into a StackToolGetResultAsPath() function.
2025-11-13 16:15:00 +01:00
ocornut
ec6219752d
Fonts: calling ImFontAtlas::Clear() mid-frame without re-adding a font will lead to a more explicit crash. ( #9067 )
...
+ reformat Changelog.
2025-11-13 15:54:50 +01:00
ocornut
d246850787
Fonts: added comment about the classic AddFontFromMemoryTTF() issue. ( #9067 , #6916 , #6781 , #5330 , #4307 , #2042 , #2029 , #1734 , #1259 , #220 )
2025-11-13 15:42:19 +01:00
ocornut
e60e5bff63
Misc: standardized casing of keyboard mods in comments and demo ("CTRL" -> "Ctrl").
2025-11-13 15:24:03 +01:00
ocornut
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.
2025-11-13 15:05:16 +01:00
ocornut
e3979c2098
Demo: removing absolute __FILE_ from being emitted by default. ( #9033 )
2025-11-13 14:23:25 +01:00