ocornut
cf0b502fd6
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings.
2026-03-13 17:09:45 +01:00
ocornut
366e1a9e45
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-03-13 17:09:44 +01:00
Rokas Kupstys
9f6b804e58
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2026-03-13 17:09:44 +01:00
ocornut
49ee151ed6
Nav: pressing gamepad north button activates context menus.
...
+ update ShowUserGuide().
2026-03-13 15:07:46 +01:00
ocornut
b76ab6232d
Nav: changed Gamepad mapping for "Activate with Text Input" action from FaceUp press to FaceDown long press. ( #8803 , #787 )
2026-03-13 15:07:46 +01:00
ocornut
6dbda97fee
Backends: OpenGL2, OpenGL3, SDLRenderer3: replaced erroneous IM_ASSERT(tex->TexID == 0) calls. ( #9295 , #9293 )
...
Amend/fix 0db5919 which revealed this.
2026-03-12 19:29:39 +01:00
ocornut
90743d3112
Nav: allow ImGuiKey_Menu or Shift + F10 to work on Begin()...BeginPopupContextItem() sequence aiming at title bar. ( #8803 , #9270 )
2026-03-12 19:12:47 +01:00
ocornut
14a500a476
Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. Rework with polling in NavUpdate(). ( #8803 , #9270 )
...
This might be a little less flexible but removes burden from the higher-frequency calls.
2026-03-12 18:52:42 +01:00
ocornut
6cc99a6e2b
Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. Amends. ( #8803 , #9270 )
...
This doesn't attempt to move the shortcut polling in NavUpdate() yet.
2026-03-12 18:30:05 +01:00
exelix
a103826154
Nav: allow ImGuiKey_Menu or Shift + F10 to open context menus. ( #8803 , #9270 )
2026-03-12 18:24:34 +01:00
ocornut
0db591935f
Changed default ImTextureID_Invalid value to -1 instead of 0 +added comments. ( #9293 , #8745 , #8465 , #7090 )
2026-03-12 14:44:15 +01:00
ocornut
1fbab15c0a
Focus: fixed fallback "Debug" window temporarily taking focus and setting io.WantCaptureKeyboard for a frame. ( #9243 )
2026-03-11 21:59:44 +01:00
ocornut
5aa7d61139
InputText: reworked so that io.ConfigInputTextEnterKeepActive reactivate in order for e.g. IsItemDeactivatedAfterEdit() to work. Amends. ( #9001 , #9115 )
...
Rework. Fixes dangling InputTextReactivateId in case of field being hidden on activation.
2026-03-11 20:33:18 +01:00
xttt
03a9946a14
InputText: reworked so that io.ConfigInputTextEnterKeepActive reactivate in order for e.g. IsItemDeactivatedAfterEdit() to work. ( #9001 , #9115 )
2026-03-11 20:15:48 +01:00
Brenton Bostick
6f8bdb7bf7
Docs: fixed misc typos ( #9267 )
2026-03-09 14:51:06 +01:00
ocornut
ca166c0e5f
Docs: imgui_manual -> imgui_explorer.
...
Amend 650eca3 .
2026-03-09 14:24:03 +01:00
ocornut
ef022c5e0a
Separator: added and following style.SeparatorSize. ( #2657 , #9263 )
...
Reapply c5d83d8a from 1.70 which was reverted in 9534ef9b2 .
2026-02-26 17:21:57 +01:00
ocornut
650eca386e
Doc: update link to imgui_manual, add a new one near top of the demo + update binaries.
2026-02-25 20:34:35 +01:00
ocornut
8a15a1064d
Add DemoMarker() function to formalize access for other demos than imgui_demo.cpp ( #9261 , #3689 )
2026-02-25 19:25:57 +01:00
ocornut
dbee23e09c
Commented out legacy signatures for Combo()/ListBox() which were obsoleted in 1.90.
...
Amend b101cf4 .
2026-02-23 15:21:20 +01:00
ocornut
221bac8b06
Style: border sizes are now scaled and rounded by ScaleAllSizes(). Lift 1.0f limit in Style Editor.
2026-02-20 16:16:27 +01:00
ocornut
635a5c0a12
Clipper: clear DisplayStart/DisplayEnd fields when Step() returns false.
2026-02-18 16:08:49 +01:00
ocornut
b8a1f74fd9
Version 1.92.7 WIP
...
+ minor demo tweaks.
2026-02-18 16:05:51 +01:00
ocornut
e118ea06e0
Version 1.92.6
2026-02-17 17:45:07 +01:00
Laurenz Altenmüller
fbe973a8d0
Cast this to (void*) in zero-clearing memset calls to fix -Wnontrivial-memcall ( #9247 , #8295 , #8129 , #8135 )
...
Clang 20+ warns on memset(this, ...) for non-trivially copyable types via -Wnontrivial-memcall.
Should separately investigate -Wnonontrivial-memaccess vs -Wnonontrivial-memcall.
2026-02-16 16:29:00 +01:00
ocornut
d67c66c437
Changed RenderTextEllipsis() logic to not trim trailing blanks before the ellipsis. ( #9229 )
2026-02-11 13:24:38 +01:00
ocornut
7b365fa6b4
Nav: fixed another occurence of nav cursor briefly appearing when Tabbing with ImGuiConfigFlags_NavEnableKeyboard disabled. ( #9214 , #9218 )
...
Amend 1566c96cc + ea83628 .
2026-02-10 22:04:15 +01:00
ocornut
87262dd07a
Nav, IO: added undocumented ConfigNavEnableTabbing flag. ( #9218 )
2026-02-10 21:51:54 +01:00
tanksdude
5fe48b6a0e
Docs: fixed some typos ( #9217 )
2026-02-10 16:40:52 +01:00
ocornut
524f01d248
Metrics: browsing font baked data persist tree state when e.g. using LoadAll.
2026-02-05 16:29:26 +01:00
ocornut
ea83628438
Nav: fixed navigation cursor briefly appearing when using API to focus an InputText() in a window with _NoNavInputs flag. ( #9214 )
...
Amend 1566c96cc
2026-02-03 17:33:45 +01:00
ocornut
76860017d5
Clipper, Nav: fixed an UBSan warning when using in a ListClipper region . ( #9160 )
2026-02-02 17:24:32 +01:00
ocornut
a9ca61a7ce
Fonts: fixed an issue where using PushFont() from the implicit/fallback "Debug" window when its recorded state is collapsed would incorrectly early out. ( #9210 , #8865 )
...
Amend 0e769c5 , ca31693 , d8da97f , 1bf41a0 .
2026-02-02 16:00:33 +01:00
ocornut
6cc7787c77
Windows: shallow tweaks in window bg rendering to simplify diff w/ docking.
2026-01-29 14:14:15 +01:00
ocornut
8306e32495
Nav: fixed speed scale for resizing/moving with keyboard/gamepad. ( #323 )
...
Fix 04157da29 .
2026-01-28 15:14:15 +01:00
ocornut
814c6a194b
Log/Capture: fixed erroneously injecting extra carriage returns in output.
2026-01-26 12:29:42 +01:00
Tom Seddon
ab6c9d9b12
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-26 11:51:22 +01:00
ocornut
c6e54c7ab5
Comments about input queue being close to be supporting multi-thread. ( #5772 )
2026-01-25 13:29:21 +01:00
ocornut
d1cf58e590
Nav: fixed WrapX/LoopX handling in menu layer. ( #9178 )
...
Amend 3050f653cb
2026-01-23 16:00:28 +01:00
RegimantasSimkus
e1217227b2
Tooltips, Disabled: fixed EndDisabledOverrideReenable() assertion when nesting a tooltip in a disabled block. ( #9180 , #7640 )
...
Amend f953ebf9ca
2026-01-23 15:29:27 +01:00
ocornut
a117055b6b
Internals: move field for locality.
2026-01-22 20:13:35 +01:00
ocornut
3050f653cb
Menus, Nav: made navigation into menu-bar auto wrap on X axis. ( #9178 )
2026-01-22 17:33:35 +01:00
ocornut
66bb8add73
Docs: better document Shortcut() related stuff. ( #9188 ) Better document io.ConfigDpiScaleFonts. ( #9179 )
2026-01-22 14:35:16 +01:00
ocornut
12223cc3e9
Error handling: rework macros, add IM_ASSERT_USER_ERROR_RET(), IM_ASSERT_USER_ERROR_RETV() to simplify code.
2026-01-19 12:16:10 +01:00
ocornut
d7598aa84f
Backends: SDL2, SDL3: changed GetClipboardText() handler to return NULL on error aka clipboard contents is not text. ( #9168 )
...
Consistent with other backends.
2026-01-15 16:08:18 +01:00
ocornut
7143d711bf
Images, Style: added style.ImageRounding, ImGuiStyleVar_ImageRounding to configure rounding of Image() widgets. ( #2942 , #845 )
...
Moving border drawing above AddImage() call, should not make a difference for square images.
2026-01-14 15:55:03 +01:00
ocornut
0d08927dae
Error handling: Improve error handling and recovery for EndMenu()/EndCombo(). ( #1651 , #9165 , #8499 )
2026-01-14 14:59:39 +01:00
ocornut
f5384544cb
(Breaking) Commented out legacy names obsoleted in 1.90 (Sept 2023): BeginChildFrame(), EndChildFrame(), ShowStackToolWindow(), IM_OFFSETOF(), IM_FLOOR().
2026-01-08 17:33:09 +01:00
ocornut
7a02f4b545
Nav, Shortcuts, Tooltips: tooltip reference position not affected by remote shortcut activation. ( #9138 , #456 )
...
NavCalcPreferredRefPos() has different path for popups vs tooltip.
Amend 197f8904fe
2026-01-08 17:14:38 +01:00
ocornut
ca9b7b4071
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
2026-01-08 17:11:23 +01:00