ocornut
b2f39318cb
Adding .cache to ignore list. ( #8674 )
2025-06-11 13:41:06 +02:00
Dylam De La Torre
201899b611
Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. ( #8664 )
...
* GL_PRIMITIVE_RESTART is not a valid enum for glEnable&co on GLES 3.20
* GL_CONTEXT_PROFILE_MASK is not a valid enum for glGetIntegerv on GLES 3.20
2025-06-04 23:48:56 +02:00
ocornut
c3d7ada9df
Demo: add indentation to simplify upcoming merges.
2025-06-04 22:27:34 +02:00
ocornut
91f72bbe1c
Demo: omit ImGui:: prefix from ShowStyleEditor(), ShowUserGuide() code.
2025-06-04 21:29:12 +02:00
ocornut
9485aeb5c8
Demo: changed default framed item width to use Min(GetFontSize() * 12, GetContentRegionAvail().x * 0.40f).
2025-06-04 17:35:45 +02:00
ocornut
e877f78b0e
TreeNode: minor amend to b7ab2b7. ( #2920 )
2025-06-02 20:57:21 +02:00
ocornut
ef503ab0c8
TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. ( #2920 )
...
TreeNode behavior would read TreeRecordsClippedNodesY2Mask from an older node at same lebel, and write to g.TreeNodeStack.Data[-1].
2025-06-02 20:50:38 +02:00
ocornut
b7ab2b7523
TreeNode: fixed an issue where tree lines are not drawn on node opening frame. ( #2920 )
2025-06-02 20:47:02 +02:00
ocornut
69e1fb50ca
Docs: fixed missing commit credit. ( #8656 )
2025-05-30 21:59:13 +02:00
Romain Moret
e6913f58b9
imgui_freetype: Update lunasvg API to support v3.0+ ( #8656 , #6842 , #6591 )
2025-05-30 21:58:25 +02:00
ocornut
c3a3a39e92
Nav: fixed abnormal clipping disable over large ranges, could lead to stall. ( #3841 , #1725 )
...
Amend 93cccd27f
2025-05-30 21:55:50 +02:00
ocornut
19289d587a
Nav: fixed scroll fallback (when there are no interactive widgets to jump to) not being enabled on windows with menu or title bar.
2025-05-30 21:54:33 +02:00
ocornut
c53c9a8644
Clipper: further mitigation/improvements for abnormally large contents ranges (larger than e.g. 2^31). ( #3609 , #8215 )
2025-05-30 21:53:25 +02:00
ocornut
87a6443c5b
Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. ( #3609 , #8215 )
2025-05-30 21:52:51 +02:00
ocornut
77f1d3b317
Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section.
2025-05-26 19:32:28 +02:00
ocornut
407a0b972e
(Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale.
...
This will be needed for upcoming changes.
2025-05-23 16:08:00 +02:00
ocornut
5f0acadf7d
RenderTextEllipsis() added breaking comments.
2025-05-20 18:06:12 +02:00
ocornut
143924bbf3
Image(), ImageWithBg(): added extra comments. ( #8131 , #8238 )
2025-05-20 17:53:17 +02:00
ocornut
1ffa7a40ac
TextLinkOpenURL(): added bool return value on click. ( #8645 , #8451 , #7660 )
2025-05-20 17:32:50 +02:00
ocornut
415dddf0fa
Tooltips: tooltips have a maximum size corresponding to host display/monitor size.
2025-05-19 18:42:55 +02:00
ocornut
10a0eb3e1c
Alter windows min/max size logic to prioritize enforcing size_max bounds rather than size_min.
...
Docking branch until now used the opposite, aka ImClamp(size_desired, size_min, ImMax(size_min, size_max));, will be standardized across branches.
2025-05-19 18:42:28 +02:00
ocornut
cdb5cbe6f8
(Breaking) Commented out ImGuiListClipper::ForceDisplayRangeByIndices() which was obsoleted in 1.89.6.
...
Amend ecb0aaa .
2025-05-15 17:44:27 +02:00
ocornut
d93d918eca
(Breaking) Commented out PushAllowKeyboardFocus()/PopAllowKeyboardFocus() which was obsoleted in 1.89.4. ( #3092 )
...
Amend e83fb46 .
2025-05-15 17:43:27 +02:00
ocornut
6d939fcedc
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. ( #1079 , #8639 )
2025-05-15 17:35:29 +02:00
ocornut
9361c35176
Backends: SDL2, SDL3: maximum room for sanitizer to not be zealous.
2025-05-15 15:36:42 +02:00
ocornut
b5a73033ab
Examples: Apple: Amend build scripts and gitignore, fix misc OSX warnings. ( #8637 )
...
# Conflicts:
# backends/imgui_impl_metal.mm
2025-05-14 18:23:31 +02:00
Pascal Thomet
2df9e9b103
Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. ( #8637 )
...
- Works only for macOS: use XCode for iOS
- It will produce a raw exe. It will not a produce an macOS application bundle (i.e a folder that includes exe and resources). To get app bundles, use the XCode project.
- An adjustment was required in main.mm (for macOS only), to ensure that the exe can run without any plist or storyboard under macOS
2025-05-14 18:23:31 +02:00
omar
2fd474132d
Update pull_request_template.md
2025-05-14 16:53:36 +02:00
ocornut
4e487cfa99
stb_textedit: subsequent comments to match ocornut/stb branch. ( #8635 , #7925 )
2025-05-14 14:05:19 +02:00
ocornut
1387d356aa
stb_textedit: subsequent fixes for next/prev word impl (not used by imgui) + PageUp/Home/End (no side effect but more correct) ( #8635 , #7925 )
2025-05-14 13:38:36 +02:00
ocornut
5c3ac93335
stb_textedit: minor edits to match PR submitted upstream.
2025-05-14 13:17:53 +02:00
ocornut
61242e2e6a
InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. ( #8635 , #7925 )
...
Bug introduced in abd07f6d30 .
Ref https://github.com/nothings/stb/issues/188
2025-05-14 11:37:55 +02:00
ocornut
08689c51a9
Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName.
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
2025-05-13 15:50:51 +02:00
ocornut
4a6ba95392
Backends: SDL3: Comments ( #6146 )
2025-05-12 19:19:30 +02:00
tamas-rabel
b9ac32a0d5
Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. ( #8631 )
2025-05-12 00:04:44 +02:00
ocornut
f484af34c2
Font: rename ImFont::AddRemapChar() parameters for clarity. ( #609 )
2025-05-08 18:05:05 +02:00
WSSDude
ba513ba804
Backends: DX10, DX11, DX12: honor FramebufferScale. ( #8412 )
...
# Conflicts:
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
2025-05-07 19:19:30 +02:00
ocornut
bf68040dc5
Backends: Vulkan: fixed build with VK_NO_PROTOTYPES.
...
Amend bbc89b6 (#8600 )
2025-05-07 15:42:23 +02:00
ChrisTom-94
bbc89b6391
Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. ( #8600 , #8176 )
2025-05-07 15:23:03 +02:00
ocornut
64a5e27486
Docs: bad merge error.
2025-05-07 14:22:19 +02:00
ChrisTom-94
d1dc2a3298
Backends: Vulkan: Load dynamic rendering functions using vkGetDeviceProcAddr() + try both non-KHR and KHR versions. ( #8600 , #8326 , #8365 )
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# docs/CHANGELOG.txt
2025-05-07 11:50:32 +02:00
ocornut
46235e91f6
Examples: SDL3: specify SDL_WINDOW_HIGH_PIXEL_DENSITY and make centering consistent + call SDL_RenderScale().
2025-05-05 20:04:32 +02:00
ocornut
afd3a36f69
Demo: added basic Fonts section under main demo (same as Metrics one) for visibility.
2025-05-05 19:39:56 +02:00
ocornut
c5e2bb7cd1
Backends: SDLGPU3: Fixed creating atlas texture earlier than other backends.
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
2025-05-05 19:20:12 +02:00
ocornut
e3bfaab3f7
Examples: update xcode projects.
2025-05-05 18:38:55 +02:00
ocornut
c0dfd65d67
Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. ( #8594 )
2025-04-30 16:23:58 +02:00
ocornut
20066a8964
Examples: DirectX12+Win32: also test for IsIconic() for sleeping since we don't seem to get a DXGI_STATUS_OCCLUDED signal when minimized. ( #8603 )
...
Amend ec1d2be96f . (#2496 , #3907 , #6308 , #7615 )
This technically prevents multi-viewports from working with io.ConfigViewportsNoDefaultParent=true but this is a more fringe case to handle for our example app, better tradeoff imho to use IsIconic().
2025-04-30 11:30:06 +02:00
ocornut
3f8033324f
Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. ( #8601 )
2025-04-30 11:10:58 +02:00
ocornut
75ddd9a6cd
Backends: SDLGPU3: added support for ImDrawCallback_ResetRenderState. ( #8599 )
2025-04-28 23:10:43 +02:00
Ryan Jensen
b3c96bde8c
Demo: use IM_ARRAYSIZE more consistently InputText calls in demo window ( #8596 )
2025-04-26 16:10:00 +02:00