1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-02-02 20:47:23 +01:00

1775 Commits

Author SHA1 Message Date
Selim Sandal
e6a7c7689f Backends: Metal: Fixed memory leaks. (#8276, #8166) 2025-01-08 12:03:18 +01:00
ocornut
f04d3cbdaa Backends: DirectX10: Expose selected render state in ImGui_ImplDX10_RenderState, which you can access in 'void* platform_io.Renderer_RenderState' during draw callbacks. (#6969, #5834, #7468, #3590)
Amend e94f95d
2025-01-06 18:28:01 +01:00
ocornut
af271e7330 Backends: DX11: Expose vertex constant buffer in ImGui_ImplDX11_RenderState.
DX9 and DX12 users can already alter the projection matrix (in undocumented ways, but possible)
2025-01-06 18:21:41 +01:00
ocornut
93a93071a2 Examples: Add Win32+Vulkan example, amends. (#8180) 2025-01-06 17:58:37 +01:00
ocornut
a2e21727c0 Backends: Vulkan: moved helpers to backend: ImGui_ImplVulkanH_SelectPhysicalDevice(), ImGui_ImplVulkanH_SelectQueueFamilyIndex(). (#8180) 2025-01-06 17:35:20 +01:00
ocornut
e7e898ea17 Tables: Fixed TableAngledHeadersRow() creating an infinite horizontal scrolling region when the table is hosted in a viewport with negative coordinates. 2025-01-06 16:12:39 +01:00
ocornut
d0021e1621 Backends: Metal: Fixed resource leak when using multiple contexts. (#7419) 2025-01-06 15:01:59 +01:00
ocornut
2f1194a296 Demo: Added label edition to Property Editor demo + fix an ID issue. (#8266) 2025-01-06 14:35:57 +01:00
juur
f169102c8e Misc: fixed misc/cpp/imgui_stdlib.h/.cpp not supporting IMGUI_DISABLE. (#8294) 2025-01-06 14:16:10 +01:00
Helodity
2d2c7d3f95 Backends: Allegro5: Avoid calling al_set_mouse_cursor() repeatedly since it appears to leak on on X11 (#8256). 2025-01-06 13:54:39 +01:00
ocornut
7219fa65c0 Revert "Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. (#3621)"
This reverts commit 61d4bf95dc5345c77b97b279011fce2c46efcaa8.
2024-12-20 17:20:57 +01:00
ocornut
61d4bf95dc Fonts: Allowing PushFont()/PopFont() to be called outside the imgui frame scope. (#3621) 2024-12-20 17:17:40 +01:00
ocornut
91e8f2b0fe Debug Tools: Debug Log: hovering 0xXXXXXXXX values in log is allowed even if a popup is blocking mouse access to the debug log window. (#5855) 2024-12-20 15:13:49 +01:00
ocornut
eed9502795 Error Handling: Fixed bugs recovering from within a table that created a child window, and from nested child windows. (#1651) 2024-12-20 14:28:04 +01:00
ocornut
fd93229770 Tables, MultiSelect: Fixed an issue where column width may be mismeasured when calling BeginMultiSelect() while inside a table. (#8250) 2024-12-19 18:14:22 +01:00
ocornut
9b0e61aaaa InputText: sanity checks to e.g. detect non zero-terminated buffers + removed a redundant strlen() call during activation. 2024-12-19 15:13:22 +01:00
ocornut
e900571ac2 InputText: Fixed issue when activating a ReadOnly field when the underlying value is being modified. (#8242) 2024-12-18 16:17:14 +01:00
ocornut
13c4084362 Nav: Fixed an issue where Alt key would clear current active item on windows with the ImGuiWindowFlags_NoNavInputs flag. (#8231) 2024-12-16 10:51:33 +01:00
ocornut
f5f11e94be InputText: Fixed a bug where character replacements performed from a callback were not applied when pasting from clipbard. (#8229) 2024-12-15 15:46:33 +01:00
ocornut
4ad5496474 Drags: Added ImGuiSliderFlags_NoSpeedTweaks flag to disable keyboard modifiers altering the tweak speed. (#8223) 2024-12-12 18:39:28 +01:00
Mahmood - Zer0xFF
e487eb9da0 Backends: Vulkan: Fixed setting VkSwapchainCreateInfoKHR::preTransform for platforms not supporting VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR. (#8222) 2024-12-11 15:41:24 +01:00
ocornut
f25665f360 Version 1.91.7 WIP 2024-12-11 15:37:16 +01:00
ocornut
993fa34749 Version 1.91.6 2024-12-11 15:05:36 +01:00
ocornut
c3ffd4c53e Misc: Added IMGUI_USE_LEGACY_CRC32_ADLER to use old tables. (#8169, #4933) 2024-12-11 12:13:28 +01:00
ocornut
d78e823449 InputText: added ImGuiInputTextFlags_ElideLeft. (#1442, #1440, #4391, #7208, #8216) 2024-12-09 15:00:04 +01:00
ocornut
d2645423de InputText: reactivating last activated InputText() doesn't restore horizontal scrolling.
Honestly not sure if the opposite is preferable or not (added commented out in the inactivate render path to test that).
Current behavior added along with recycling: f9928e96c7c762f97bbdf8cf48e04097b56da84a
2024-12-09 14:31:15 +01:00
bmarques1995
53dd7552dc Backends: DX12: let the user specifies the DepthStencilView format. (#8217)
This is particullarly important for those who use RenderPasses.
2024-12-09 12:23:09 +01:00
ocornut
43c51eb12d Tables: fixed SetNextWindowScroll() value being ignored by BeginTable() during the first frame or when scrolling flags have changed. (#8196) 2024-12-02 13:23:18 +01:00
ocornut
19a1f2a5d2 Fonts: fixed AddCustomRect() not being packed with TexGlyphPadding + not accounted in surface area. (#8107) 2024-11-29 18:58:01 +01:00
Teselka
326dc95f9c Misc: use native crc32 instructions on SEE 4.2 targets. (#8169, #4933) 2024-11-27 12:23:27 +01:00
Teselka
e6dd8f626a Misc: changed CRC32 table to use crc32c polynomial in order to be compatible with SSE 4.2 instructions. (#8169, #4933) 2024-11-27 12:20:00 +01:00
Arseny Kapoulkine
61ab94d553 Backends: Vulkan: Make descriptor pool optional (#8172, #4867)
Comments/amends by ocornut
2024-11-27 11:54:05 +01:00
ocornut
551b6c4d66 Tools: binary_to_compressed_c: added -u8/-u32/-base85 export options. 2024-11-20 14:32:44 +01:00
ocornut
d0e870aad2 Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb). (#8161)
Encoding as char to ensure compatibility with big endian (#81)
2024-11-20 14:16:34 +01:00
chuikingshek
5ae3dd52a0 Fonts: added IMGUI_DISABLE_DEFAULT_FONT macro. (#8161) 2024-11-20 13:45:42 +01:00
ocornut
eb0ad66d88 Demo: example tree used by Property Editor & Selection demos properly freed on app closure. (#8158) 2024-11-18 18:46:27 +01:00
ocornut
40b2286d16 (Breaking) Backends: DX12: changed ImGui_ImplDX12_Init() signature. Added ImGui_ImplDX12_InitInfo. Added support for Srv allocators.
Ref 7708
2024-11-15 19:15:25 +01:00
ocornut
8be0723fb7 Amend Changelog to better document how changing button behavior of InputInt/InputFloat step buttons affected some mis-uses (#8149) 2024-11-13 16:55:06 +01:00
ocornut
e97b97467e Error Handling: fixed cases where recoverable error handling would crash. (#1651) 2024-11-12 19:09:00 +01:00
ocornut
3381ab423b Version 1.91.6 WIP + fixed typo in tooltip. 2024-11-12 11:56:21 +01:00
ocornut
f401021d5a Version 1.91.5 2024-11-07 19:57:33 +01:00
ocornut
3b683927ee imgui_freetype: Fixed a crash in build font atlas when using merged fonts and the first font in a merged set has no loaded glyph. (#8081) 2024-11-07 14:39:54 +01:00
ocornut
3543dfda95 Docs: document removal of ImFont const qualifier as potentially breaking. 2024-11-06 18:14:44 +01:00
ocornut
d97bbf1904 Tabs, Style: made ImGuiCol_TabDimmedSelectedOverline alpha 0 (not visible) in default styles. 2024-11-06 18:08:15 +01:00
ocornut
df0776e931 (Breaking) Removed ImGuiKey_COUNT. (#4921) 2024-11-06 17:55:00 +01:00
ocornut
6f287dd16d (Breaking) Removed pre-1.87 obsolete io.KeyMap[], io.KeysDown[], io.NavInputs[]. Remove IMGUI_DISABLE_OBSOLETE_KEYIO. (#4921) 2024-11-06 17:54:59 +01:00
ocornut
ec2f1d69c8 Docs: word-wrap some the older changelogs. 2024-11-05 13:18:16 +01:00
ocornut
75f83de52a InputText: fixed a bug (regression in 1.91.2) where modifying text buffer within a callback would sometimes prevents further appending to the buffer. (#7925)
There's a confusion between TextA.Size and CurLenA we should be merging them.
Amend 19accb14a
2024-11-04 20:22:10 +01:00
ocornut
f77d22837c Examples: Android+OpenGL: Using ALooper_pollOnce() instead of ALooper_pollAll(). (#8013) 2024-11-04 14:24:54 +01:00
ocornut
772ca9e9a9 Log/Capture: added experimental io.ConfigWindowsCopyContentsWithCtrlC config option. 2024-10-30 15:38:58 +01:00