ocornut
e3854498fa
ImStrv: made length() returns an int as it simplify the most common case (of passing %.*s to printf)
2026-10-26 13:59:40 +01:00
ocornut
0bf9a6ac49
ImStrv: allow constructing from two null pointers.
2026-10-26 13:59:40 +01:00
ocornut
71ce91097a
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-10-26 13:59:40 +01:00
ocornut
81c9a72e9f
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-10-26 13:59:40 +01:00
ocornut
b57179a046
ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079)
...
amended for gcc/clang warnings
amended to facilitate merge with docking
2026-10-26 13:59:40 +01:00
ocornut
09f7ec1ba5
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-10-26 13:59:40 +01:00
璀境石
4d477b5084
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
2026-10-26 13:59:40 +01:00
ocornut
84971a4993
ImStrv: standardized code doing format copy, optimized ImStrStr
2026-10-26 13:59:40 +01:00
ocornut
1845eabf86
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks + fixed various compiles errors/warnings.
2026-10-26 13:59:40 +01:00
ocornut
3de2c4b14c
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-10-26 13:59:40 +01:00
ocornut
ac9042899f
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-10-26 13:59:40 +01:00
Rokas Kupstys
652998ed0b
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2026-10-26 13:59:39 +01:00
Harish Rajaselvan
4e99c0ab1a
CI: added Windows ARM64 build jobs. Examples: added ARM64 support in build_win.bat files. ( #9593 )
2026-10-23 18:05:20 +02:00
ocornut
09fe7b19d7
Examples: refactored remaining batch files to detect architecture. (Amend)
...
Amend 20ba6c4
2026-10-23 16:11:49 +02:00
ocornut
20ba6c4a28
Examples: refactored remaining batch files to detect architecture.
...
(also came to this while reviewing #9593 )
2026-10-23 16:09:59 +02:00
ocornut
6dd654f27a
Examples: renamed various helper batch files from build_win32.bat to build_win.bat.
...
(also came to this while reviewing #9593 )
2026-10-23 15:32:01 +02:00
ocornut
2b7a9dcca4
Examples: remove references to DXSDK_DIR which is for DX9.
...
(realized this while reviewing #9593 )
2026-10-23 14:44:55 +02:00
Michał Cichoń
7bd38119c7
Internals: CallContextHooks(): fixed iterating a reallocated array when a hook callback adds a hook. ( #9590 )
...
Note that Test Engine GuiFunc code is called within a hook anyhow.
2026-10-23 14:22:52 +02:00
ocornut
4be0b47ecc
(Breaking) Internals: ImStricmp/ImStrnicmp returned opposite sign when strings were different + ones in Demo.
...
Main functions unused by core imgui, so not strictly changing anything.
Demo functions were only comparing to 0.
2026-10-16 16:52:35 +02:00
ocornut
9d9a621f33
Fonts: expose ImFontBaked_BuildLoadGlyphAdvanceX() in imgui_internal.h.
2026-10-15 19:42:22 +02:00
ocornut
49a1450360
DrawList: added missing ImDrawFlags_RoundCornersMask_ -> ImDrawFlags_RoundMask_ legacy redirect.
...
Amend 0e756a6.
2026-10-15 18:53:04 +02:00
ocornut
c7d17f01cd
ImVec2: added a check for cases where a custom IM_VEC2_CLASS_EXTRA macro adds an extra operator= to ImVec2
2026-10-15 17:56:20 +02:00
ocornut
f5d2b7dd01
CI: fixes for macOS.
2026-10-15 16:32:52 +02:00
ocornut
145a2fbab6
Docs: update binaries.
2026-10-15 16:24:58 +02:00
ocornut
4c9c888fc5
Build: warning fixes for VS2015 and <v141.
2026-10-15 15:39:58 +02:00
ocornut
1ff218165d
(Breaking) Commented out legacy names/functions which were obsoleted in 1.91.1 (Sept 2024).
2026-10-15 14:56:24 +02:00
ocornut
93a14c8fda
(Breaking) Commented out legacy names/functions which were obsoleted from 1.90.7 (May 2024) to 1.91.0 (Sept 2024).
2026-10-15 14:51:48 +02:00
ocornut
cbe3d5fb88
Version 1.93.1 WIP
2026-10-15 14:34:31 +02:00
Pascal Thomet
f996126249
Demo: correct demo markers wordings ( #9586 )
2026-10-15 14:28:13 +02:00
ocornut
6d32174508
Allow IM_NODEBUGSTEP to be defined by user. ( #9584 )
...
Amend e2e9533991
2026-10-15 14:03:51 +02:00
ocornut
c1aaac65e8
Version 1.93.0
v1.93.0
2026-10-14 17:55:08 +02:00
ocornut
a6fad9bbda
Style: update StyleColorsDark() for 1.93: greyer WindowBg, dark FrameBg.
2026-10-14 16:45:24 +02:00
ocornut
a536894821
Examples: all examples now default to use a little bit of rounding (FrameRounding and GrabRounding).
2026-10-14 16:45:18 +02:00
ocornut
098c71133c
Demo: Plot, Vertical Sliders, Colors: better scaling.
...
+ enforce some rounding in vertical slider demo.
2026-10-13 16:38:13 +02:00
ocornut
09cd4416e8
PlotHistogram: fixed passing inverted coordinates to AddRectFilled().
2026-10-13 16:20:49 +02:00
Pascal Thomet
42a22377a4
Demo: Mixed Values: added IMGUI_DEMO_MARKER(). ( #9582 )
2026-10-12 23:07:30 +02:00
Mikko Mononen
6aa6626f29
DrawList: improved handling of very small circles.
...
See testbed case 354.
2026-10-12 15:31:16 +02:00
Yan Pujante
dc09bbee1e
Examples: GLFW/SDL2/SDL3+WebGPU: better select surface format instead of using surface_capabilities.formats[0]. ( #9576 )
2026-10-12 13:11:45 +02:00
ocornut
906c6838ad
Debug: fixed DebugNodeTexture()->FormatTextureRefForDebugDisplay() truncating displayed value to 32-bits. ( #9578 )
2026-10-12 12:56:19 +02:00
ocornut
2859f6723c
Docs: fixed various comments.
2026-10-07 19:50:23 +02:00
ocornut
b2ade5f3ad
DrawList: AddRectFilled: add support for ImDrawFlags_StrokeLegacy to handle inverted coordinates + non-AA path.
...
Fix cases 207 and 251 in testbed.
+ add braces near an IM_APPEND_TRI() to silence PVS-Studio reasonable warning "V640 The code's operational logic does not correspond with its formatting"
2026-10-07 19:07:18 +02:00
ocornut
75ac1ab2c3
DrawList: AddCircle: fixed issue not clearing path in unlikely case where Path.Size<3.
2026-10-07 18:53:55 +02:00
ocornut
cbf4f05419
DrawList: added io.ConfigDebugDrawListDefaultsToStrokeLegacy. ( #9504 )
2026-10-07 18:53:55 +02:00
Mikko Mononen
9e5e0bf9b2
DrawList: added explanation for IM_POLYLINE_CONVEX_POLY_MAX_BEVELS.
2026-10-07 18:53:55 +02:00
ocornut
d23a638613
Demo: Custom Rendering: added zig-zag concave shape, tweak color, tidy up section.
...
Demo: Custom Rendering: tweak animated rounding.
2026-10-07 18:53:55 +02:00
ocornut
f84d77c424
DrawList: changed _GetStrokePos() to a macro.
2026-10-07 18:53:55 +02:00
ocornut
cb66fcdaac
DrawList: rename ImDrawFlags_MiterOnly->ImDrawFlags_JoinMiter, ImDrawFlags_SquareCap->ImDrawFlags_CapSquare.
2026-10-07 18:53:55 +02:00
ocornut
7bccc3bc1e
DrawList: AddCircle, AddCircleFilled: fixed large circles being under-tessellated (when above ~140 with default CircleTessellationMaxError).
2026-10-07 18:53:55 +02:00
ocornut
475b793baa
Docs: reworked Changelog, comments.
2026-10-07 18:53:55 +02:00
ocornut
0e756a649d
(Breaking) DrawList: renamed ImDrawFlags_RoundCornersXXX to ImDrawFlags_RoundXXX. ( #9504 )
2026-10-07 18:53:55 +02:00