ocornut
7312545ac3
ImStrv: fix in ShowIDStackToolWindow().
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-04-09 15:03:57 +02:00
ocornut
6e0d9ebf66
ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf)
2025-04-09 15:03:57 +02:00
ocornut
0df88e7854
ImStrv: allow constructing from two null pointers.
2025-04-09 15:03:57 +02:00
ocornut
3f96a6a2db
ImStrv: Combo(), ListBox(): maybe seems better to not introducte 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-04-09 15:03:56 +02:00
ocornut
59940f9808
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.
2025-04-09 15:03:56 +02:00
ocornut
2fac31d270
ImStrv: Fixed BeginCombo() with ImGuiComboFlags_CustomPreview + fixes for latest (amended).
2025-04-09 15:03:56 +02:00
ocornut
887c1ac055
ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079)
...
amended for gcc/clang warnings
amended to facilitate merge with docking
2025-04-09 15:03:56 +02:00
ocornut
1820ae6b6e
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-04-09 15:03:56 +02:00
ocornut
fad9917fdb
ImStrv: Fixed various compile errors/warnings.
2025-04-09 15:03:56 +02:00
璀境石
884c29f344
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
2025-04-09 15:03:56 +02:00
ocornut
688c9af6f7
ImStrv: standardized code doing format copy, optimized ImStrStr
2025-04-09 15:03:56 +02:00
ocornut
6f054247af
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks.
2025-04-09 15:03:56 +02:00
ocornut
a5e4823251
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-04-09 15:03:56 +02:00
ocornut
ca0f5bd500
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-04-09 15:03:56 +02:00
Rokas Kupstys
d2421199ac
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2025-04-09 15:03:02 +02:00
Zane van Iperen
74e453cf15
Backends: SDL2, SDL3: don't attempt to call SDL_CaptureMouse() on drivers where we don't call SDL_GetGlobalMouseState(). ( #8561 )
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-04-09 14:58:32 +02:00
ocornut
789de09dda
TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets ( #2920 )
2025-04-09 12:04:09 +02:00
ocornut
39f34e1e58
TreeNode: Don't latch GetColorU32(ImGuiCol_TreeLines). ( #2920 )
...
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
Trade off doesn't seem worth it for large trees. User who really needs to alter colors can do it by adjusting Push/Pop locations.
2025-04-08 19:58:59 +02:00
ocornut
e5b218e6d1
TreeNode: added ImGuiTreeNodeFlags_DrawTreeXXX flags. ( #2920 )
...
# Conflicts:
# docs/CHANGELOG.txt
2025-04-08 19:58:59 +02:00
ocornut
faa03031b4
Windows: loosened code to handle ImGuiButtonFlags_FlattenChildren so that master matches docking. ( #8554 )
...
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
This essentially merges 059560d2
back into master.
2025-04-07 18:21:34 +02:00
ocornut
974bf58a21
Backends: Vulkan: Build and warning fixes. ( #8282 )
2025-04-07 17:39:00 +02:00
ocornut
91652c317e
Backends: Vulkan: Deep-copy ImGui_ImplVulkan_InitInfo::PipelineRenderingCreateInfo's pColorAttachmentFormats buffer when set, in order to reduce common user-error of specifying a pointer to data that gets out of scope. ( #8282 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# docs/CHANGELOG.txt
2025-04-07 16:40:14 +02:00
ocornut
9701810bc3
TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h ( #8551 )
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-04-07 11:41:21 +02:00
ocornut
b4bd596a39
Fonts: word-wrapping code handle ideographic comma & full stop (U+3001, U+3002). ( #8540 )
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-04-01 22:57:07 +02:00
ocornut
fcab22f80f
Fonts: fixed CalcWordWrapPositionA() fallback when width is too small to wrap with multibyte codepoints.. ( #8540 )
2025-04-01 22:57:07 +02:00
Shixian Sheng
8098d79ca2
Docs: fixed link typo ( #8538 )
build / Windows (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / Android (push) Waiting to run
2025-04-01 09:10:30 +02:00
ocornut
4bdb0ac685
Comments
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-03-31 15:12:28 +02:00
ocornut
b6786595a4
Backends: SDLGPU3: Made ImGui_ImplSDLGPU3_PrepareDrawData() reuse GPU Transfer Buffers which were unusually slow to recreate every frame. ( #8534 )
2025-03-31 14:45:29 +02:00
ocornut
a26fcf58cc
Nav: fixed assertion when holding gamepad FaceLeft/West button + pressing a keyboard key. ( #8525 )
build / Windows (push) Waiting to run
build / Linux (push) Waiting to run
build / MacOS (push) Waiting to run
build / iOS (push) Waiting to run
build / Emscripten (push) Waiting to run
build / Android (push) Waiting to run
2025-03-30 16:40:39 +02:00
ocornut
8bbdfefe05
Nav: added bool ConfigNavWindowingWithGamepad to disable windowing with gamepad. ( #8525 , #4828 , #3255 , #5641 )
2025-03-30 15:05:27 +02:00
ocornut
187acb8609
Nav: polling gamepad for ImGuiKey_NavGamepadMenu use routing-friendly Shortcut() so Ctrl+Tab equivalent may be hijacked. ( #8525 , #4828 , #3255 , #5641 )
2025-03-30 14:46:58 +02:00
Green Sky
5c9fb8f064
Backends: SDL3: Update for API changes: Revert SDL_GetClipboardText() memory ownership change. ( #8530 , #7801 )
...
see https://github.com/libsdl-org/SDL/pull/10390
2025-03-30 13:52:39 +02:00
gan74
7674cbc9b2
Added extra operators to ImVec4. ( #8510 )
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-03-23 13:09:14 +01:00
ocornut
dbd9ae287a
Windows: fixed SetNextWindowCollapsed()/SetWindowCollapsed() breaking codepath that preserve last contents size when collapsed. ( #7691 )
2025-03-23 12:57:14 +01:00
ocornut
702a67807b
Move Changelog entry. ( #8509 )
2025-03-21 20:17:49 +01:00
puugz
a806d2f9b8
Backends: SDLGPU: Fixed typo in function name Imgui_ImplSDLGPU3_PrepareDrawData() -> ImGui_ImplSDLGPU3_PrepareDrawData(). ( #8509 , 8163, #7998 , #7988 )
2025-03-21 20:16:56 +01:00
ocornut
ca3ba28768
Internals: made MousePos an argument of UpdateHoveredWindowAndCaptureFlags(). ( #8431 , #1152 )
2025-03-21 17:21:45 +01:00
tanksdude
f5003aff69
Docs: Fix some typos ( #8505 )
2025-03-21 16:23:09 +01:00
ocornut
102f3f3a0d
IO: variations in analog-only components of gamepad events do not interfere with trickling of mouse position events ( #4921 , #8508 )
2025-03-21 16:18:36 +01:00
ocornut
979c7d76ab
Backends: SDL2, SDL3, OSX: Fill gamepad inputs and set ImGuiBackendFlags_HasGamepad regardless of ImGuiConfigFlags_NavEnableGamepad being set. ( #8508 )
2025-03-21 15:42:47 +01:00
ocornut
d467950a5e
Style, InputText: added ImGuiCol_InputTextCursor to configure color of the InputText cursor/caret. ( #7031 )
2025-03-19 17:50:40 +01:00
ocornut
0ecb2bbe74
Version 1.92.0 WIP
2025-03-19 17:45:20 +01:00
ocornut
ee48ffe021
Added comments about line/rect thickness needing scaling. ( #7031 )
2025-03-19 17:42:19 +01:00
ocornut
5679de60c5
Error Handling: added better report and recovery for extraneous EndPopup() call. ( #1651 , #8499 )
2025-03-18 17:35:43 +01:00
ocornut
f5befd2d29
Version 1.91.9b
2025-03-17 20:17:26 +01:00
ocornut
cfed7a3a54
Tables: fixed assert/issues loading settings. ( #8496 , #7934 )
...
Not sure what I did with 05742f9b6f
but I missed on the primary filter.
2025-03-17 20:04:50 +01:00
ocornut
93b446a962
Backtrack of version tagging 1.92.0 > 1.91.9b for publishing a hotfix ( #8496 )
2025-03-17 19:39:52 +01:00
ocornut
a7dc184772
Moved ImDrawIdx definition lower in imgui.h. Moved ImTextureID slightly below in its own section.
2025-03-17 19:19:25 +01:00
ocornut
bfaef8ca17
Version 1.92.0 WIP
2025-03-17 19:09:07 +01:00
ocornut
2737dbb1e1
Docs: Fixed typo. Very oops. ( #8495 )
2025-03-17 11:51:57 +01:00