ocornut
352a7f101a
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
# imgui_demo.cpp
2026-02-20 18:07:02 +01:00
ocornut
b8a1f74fd9
Version 1.92.7 WIP
...
+ minor demo tweaks.
2026-02-18 16:05:51 +01:00
ocornut
2a1b69f057
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
2026-02-17 18:09:30 +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
3fb22b836b
Merge branch 'master' into docking
2026-02-12 20:08:03 +01:00
ocornut
041cdddf35
Fonts: add new ProggyForever font!
...
Amend f006400
2026-02-12 20:06:33 +01:00
ocornut
a8bf659143
Fonts: AddFontDefaultBitmap() doesn't need to explicitely set OversampleH/OversampleV to 1 as this is automatic.
2026-02-12 19:35:41 +01:00
ocornut
42f28ba305
Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent. (re)
...
Reapply 1bcc23e + offset for our current internal font using it.
2026-02-11 20:26:14 +01:00
ocornut
943fcc4f10
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# imgui.cpp
2026-02-10 20:52:55 +01:00
ocornut
c71b2a1fe6
Revert "Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent."
...
This reverts commit 1bcc23ef12 .
2026-02-10 17:56:37 +01:00
tanksdude
5fe48b6a0e
Docs: fixed some typos ( #9217 )
2026-02-10 16:40:52 +01:00
ocornut
1bcc23ef12
Fonts: avoid baking ExtraSizeScale twice into Ascent/Descent.
...
Amend 55ad3b4
With extreme values of ExtraSizeScale offset would be noticeable in Descent - TextLink() function - or Ascent - TableAngledHeadersRow() function.
2026-02-05 16:52:04 +01:00
ocornut
5166bec5d8
Scrollbar: rounding corners selected based on a generic helper.
...
CalcRoundingFlagsForRectInRect() is backported and used multiple times by docking.
2026-01-29 17:23:28 +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
Tom Seddon
08c777aeaa
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-24 18:21:23 +01:00
ocornut
2a08c87b8c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_sdlrenderer2/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_directx11/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_sdlrenderer3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui_internal.h
2026-01-23 16:05:50 +01:00
ocornut
7250fbde2e
Fixed warning compiling stb_truetype with MSVC, C++20 with /w15262 ( #9189 )
2026-01-23 14:29:20 +01:00
ocornut
3aba95060e
Fonts: adding new fonts after removing all fonts mid-frame properly updates current state.
2026-01-21 19:53:55 +01:00
ocornut
66e08b6575
Merge branch 'master' into docking (require next commit)
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-14 19:42:11 +01:00
ocornut
f64c7c37ef
Fonts: fixed a crash when trying to use AddFont() with MergeMode=true on a font that has already been rendered. ( #9162 )
2026-01-12 18:17:38 +01:00
ocornut
cab7088c85
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# imgui.cpp
2026-01-07 18:20:29 +01:00
ocornut
960921f03a
Happy new year!
2026-01-03 01:07:58 +01:00
ocornut
396b33d0d0
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-12-23 18:19:15 +01:00
ocornut
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +01:00
ocornut
f006400f05
Fonts: added AddFontDefaultVector() with embedded ProggyVector data.
2025-12-23 18:16:33 +01:00
ocornut
73dd0e869d
(Breaking) Fonts: remove ImFontConfig::PixelSnapV. Post-rescale GlyphOffset is always rounded.
...
Amend 99f6b305c , 99bca397d8 .
2025-12-23 18:16:33 +01:00
ocornut
55ad3b4abd
Fonts: added ExtraSizeScale feature (undocumented).
2025-12-23 18:16:32 +01:00
ocornut
d1de937c31
Fonts: ImFontAtlasFontRebuildOutput() helper.
2025-12-23 18:16:32 +01:00
ocornut
9055c9ed22
imgui_freetype: fixed overwriting ImFontConfig::PixelSnapH when hinting is enabled.
...
Fix/amend 99f6b305c1 .
2025-12-22 17:52:32 +01:00
ocornut
d87650dffb
Text: fixed unused variable warning on builds without asserts.
2025-12-21 18:22:48 +01:00
ocornut
26f7b2f5aa
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-12-21 18:05:20 +01:00
ocornut
a5dffbec38
Text: word-wrapping use a small lookup table. ( #8990 , #3237 , #8503 , #8139 , #8439 , #9094 , #3002 , #9066 , #8838 )
2025-12-21 18:04:01 +01:00
ocornut
22ffa3d6d3
Text: rewrite word-wrapping logic. ( #8990 , #3237 , #8503 , #8139 , #8439 , #9094 , #3002 , #9066 , #8838 )
2025-12-21 18:04:00 +01:00
ocornut
4e7c05504a
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
2025-12-17 14:30:01 +01:00
ocornut
9ca7ea00c8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_opengl3.cpp
# imgui.cpp
2025-12-11 23:25:47 +01:00
ocornut
a726bded11
Fonts: ClearOutputData() doesn't need to clear FallbackChar, EllipsisChar. Fixed crash changing font loader.
2025-12-05 19:12:50 +01:00
ocornut
6327b63064
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
2025-12-05 16:38:51 +01:00
ocornut
e2c49530cb
ImDrawList: harden/clarify static asserts about ImDrawCmd / ImDrawCmdHeader layout.
2025-12-05 13:42:15 +01:00
achabense
fee06a92ea
Text: fixed word-wrapping function reading from *text_end when passed a string range. ( #9107 )
...
Likely caused by 4d4889bf1b (#5720 )
2025-12-05 13:23:26 +01:00
ocornut
d71091a957
Internals: amend RenderRectFilledRangeH() to avoid shadowed variables.
2025-12-04 16:27:54 +01:00
ocornut
d1e262ad55
Internals: refactor RenderRectFilledRangeH() into RenderRectFilledInRangeH() to take absolute coordinates instead of normalized ones.
...
Amend 01d4bf299a (#1296 )
2025-12-04 16:13:12 +01:00
ocornut
6e0ee6ff03
Fonts: removed misleading SizePixels >= 0.0f test and stbtt_ScaleForMappingEmToPixels() call in ImGui_ImplStbTrueType_FontSrcInit(). ( #8857 )
...
Logic was picked in 9a9712807e while extracting code from stbtt_PackFontRangesGatherRects(), but ScaleForMappingEmToPixels() was actually never called: we assert against negative SizePixels since 2015.
2025-12-03 20:15:58 +01:00
ocornut
772cbfd014
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-11-26 14:33:25 +01:00
ocornut
3fef0d553d
Textures: fixed a building issue when ImTextureID is defined as a struct.
...
+ Added CI for this case.
2025-11-26 14:21:48 +01:00
ocornut
98636f4a23
Fonts: fixed handling of ImFontConfig::FontDataOwnedByAtlas = false which did erroneously make a copy of the font data. ( #9086 )
...
Amend 815168c7e
+ Added explicit casts for intent/clarity when passing to stb_truetype/freetype.
2025-11-24 15:58:01 +01:00
ocornut
324cea1f41
Version 1.92.6 WIP
2025-11-24 13:35:41 +01:00
ocornut
3912b3d9a9
Merge branch 'master' into docking
2025-11-20 18:01:02 +01:00
ocornut
6d910d5487
Version 1.92.5
2025-11-20 17:49:52 +01:00
ocornut
219ba3b617
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
2025-11-17 15:38:58 +01:00