Commit Graph

  • bc051dcf91 Textures: Fixed support for #define ImTextureID_Invalid to non-zero value. ocornut 2025-06-27 17:03:13 +02:00
  • 3ec62dfeff Merge branch 'master' into docking ocornut 2025-06-27 16:59:03 +02:00
  • 0fe5166531 Demo: amend "Font Size" demo. (#8738) ocornut 2025-06-27 16:54:16 +02:00
  • 9fbe560218 Demo: Added "Widgets/Text/Different Size Text" section to show font system changes in v1.92. (#8738) Demonese 2025-06-27 10:33:25 +08:00
  • fff47f1119 Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727) morrazzzz 2025-06-24 23:30:38 +03:00
  • 8e3aac5744 Backends: Vulkan: use nonCoherentAtomSize to align upload_size, fixing validation error on some setups. (#8743, #8744) Thomas Quante 2025-06-27 15:52:39 +02:00
  • 68046106dd Docs: update Backends with basic Platform backend instructions. ocornut 2025-06-27 15:15:34 +02:00
  • 47570d045d Docs: update Backends with direction for implementing RenderDrawData function and supporting ImGuiBackendFlags_RendererHasTextures. (#8735, #8465) ocornut 2025-06-27 14:51:13 +02:00
  • ec13fa436b Docs: tidying up Backends.md, add index, prepare for adding more docs. omar 2025-06-27 13:59:51 +02:00
  • 22ad62c90c Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739) Christian Fillion 2025-06-26 22:43:41 -04:00
  • f18aea5246 Version 1.92.1 WIP ocornut 2025-06-26 20:35:35 +02:00
  • 5ee9c2ad1f Demo: Fixed font scaling warning if ImGuiBackendFlags_RendererHasTextures is set (#8736) Ves Georgiev 2025-06-27 00:06:42 +01:00
  • 3f0699cf02 Backends: Vulkan: Fix failing assertion for platforms where viewports are not supported (#8734) Stanislav Vasilev 2025-06-26 21:31:46 +03:00
  • 4f4bc7cc8f Replace IMGUI_API with inline for PushTextureID() and PopTextureID() (#8729) Aidan Sun 2025-06-26 03:46:54 -04:00
  • 85b2fe8486 Docs: update binaries. v1.92.0 ocornut 2025-06-25 18:46:41 +02:00
  • adfa5364cd Merge branch 'master' into docking v1.92.0-docking ocornut 2025-06-25 18:27:19 +02:00
  • 673eb7de96 Version 1.92.0 ocornut 2025-06-25 18:13:10 +02:00
  • da3c86925a Demo: added TextLinkOpenURL() call in Widgets section. ocornut 2025-06-25 18:19:48 +02:00
  • 2819ab32f8 Layout: commented out legacy ErrorCheckUsingSetCursorPosToExtendParentBoundaries() fallback. (#5548, #4510, #3355, #1760, #1490, #4152, #150) ocornut 2025-06-25 16:39:23 +02:00
  • 6f21bed66d Fonts: removing assert from legacy PushFont() to mirror new PushFont(). for consistency. ocornut 2025-06-25 16:23:06 +02:00
  • 719a3fe98e Additional comments on ErrorCheckUsingSetCursorPosToExtendParentBoundaries(). (#5548) ocornut 2025-06-25 16:04:51 +02:00
  • 5bc70c68e2 Fonts: fix PushFont(NULL) to work as advertised. ocornut 2025-06-25 15:55:25 +02:00
  • dcf14505e2 Backends: SDLGPU: fixes call to SDL_MapGPUTransferBuffer(). Fixes artifacts on OSX/Metal. (#8465, #8703) ocornut 2025-06-25 15:46:25 +02:00
  • d8c6953710 Fonts: comments. ocornut 2025-06-25 12:08:00 +02:00
  • e4bba0b53c Merge branch 'master' into docking ocornut 2025-06-24 19:10:26 +02:00
  • 89b5a2c3d5 (Breaking) Fonts: removed ImFontFlags_DefaultToLegacySize. ocornut 2025-06-24 19:06:46 +02:00
  • 97e0d59619 (Breaking) Fonts: removed PushFontSize(), PopFontSize(). ocornut 2025-06-24 19:01:59 +02:00
  • ca72eb0596 (Breaking) Fonts: obsolete PushFont() default parameter. ocornut 2025-06-24 18:53:40 +02:00
  • 04a5b9c2cf Backends: SDL3: fixed pulling SDL_PROP_WINDOW_COCOA_WINDOW_POINTER into viewport->PlatformHandleRaw. (#8725, #8726) Geert Bleyen 2025-06-24 16:13:44 +02:00
  • 776897d3c9 Fonts: fixed PVS Studio false positive "expression 'cmd_count != draw_list->CmdBuffer.Size' is always false." (#8720, #8465) ocornut 2025-06-24 15:24:09 +02:00
  • 7cd567202e Merge branch 'master' into docking ocornut 2025-06-24 15:17:29 +02:00
  • 0218ddd575 Fonts: moved GetFont(), GetFontSize(), GetFontBaked() to higher section. ocornut 2025-06-24 15:00:42 +02:00
  • 6722d789e9 (Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font". ocornut 2025-06-24 14:44:38 +02:00
  • 6e846c56b4 Demo: fixed ID conflicts. (#8723) ocornut 2025-06-24 12:25:04 +02:00
  • 608dd96de6 Fonts: fixed RenderText() asserting when crossing VtxOffset change boundaries. (#8720, #8465) ocornut 2025-06-24 12:21:07 +02:00
  • a49ddaac89 Fonts: add comments and examples for GlyphExcludeRanges[]. ocornut 2025-06-24 10:50:30 +02:00
  • 613a6a964c Fonts: AddFontDefault() adds to GlyphOffset.y instead of overriding it. ocornut 2025-06-24 10:27:24 +02:00
  • 0dc2885f3e InputText: fix for InsertChars() to work on read-only buffer. (#8714, #8689, #8242) ocornut 2025-06-22 13:04:06 +02:00
  • efe2b21a5f Backends: GLFW: Fixed not installing WndProc hook in all GLFW version, so AddMouseSourceEvent() logic was missing for some viewports. ocornut 2025-06-21 20:10:18 +02:00
  • e132b444a9 Backends: GLFW: Fixed crash when using GLFW 3.3 (#8713, #8676, #8239, #8069) ocornut 2025-06-21 20:04:22 +02:00
  • 4fde473f38 Backends: warning fixes (for docking branch). ocornut 2025-06-20 15:24:25 +02:00
  • afe20dc9b6 Backends: warning fix. ocornut 2025-06-20 15:23:52 +02:00
  • b580c11303 Merge branch 'master' into docking ocornut 2025-06-20 15:19:36 +02:00
  • e97e55adbc Backends: Fixed various warnings discovered when using MinGW GCC 15/Clang on latest backends. ocornut 2025-06-20 14:46:32 +02:00
  • 2f9c518ca8 Textures: ImTextureData::GetPixels() returns void* for clarity. ocornut 2025-06-20 15:15:27 +02:00
  • 9a50c09172 Bsckends: SDL2, GLFW: fixed ImGui_ImplXXXX_GetContentScaleXXX functions never using SDL 2.0.4 & GLFW 3.3 path in master. ocornut 2025-06-20 14:30:33 +02:00
  • 3a964d18e0 Comments on ImGuiMod_XXXX and ImGuiKey_GamepadXXXX values. ocornut 2025-06-20 10:11:07 +02:00
  • 8d6e66d38c Backends: DX10, DX11, DX12, OpenGL3, Vulkan, WGPU: Assert when CreateDeviceObjects() calls return false. ocornut 2025-06-20 09:49:06 +02:00
  • f7dabede8b Backends: Allegro5: Fixed missing invisible mouse cursor, broken by ee8941e0d. ocornut 2025-06-20 09:45:26 +02:00
  • 725d185a31 Backends: DirectX12: fixed build on MinGW. (#8702, #4594) PlayDay 2025-06-19 05:54:54 +02:00
  • 2a8c75f3e6 Backends: GLFW: amend for multi-context support with multi-viewport. (#8676, #8239, #8069) ocornut 2025-06-18 17:01:49 +02:00
  • c2c38beec8 Merge branch 'master' into docking ocornut 2025-06-18 16:55:11 +02:00
  • f633a60581 Backends: GLFW: Added support for multiple Dear ImGui contexts. (#8676, #8239, #8069) ocornut 2025-06-18 16:40:35 +02:00
  • d290e583c5 Backends: GLFW: fixed WndProc relying on current context. (#8676, #8239, #8069) ocornut 2025-06-18 15:50:49 +02:00
  • c56e8b4964 imgui_freetype: fixed NULL that creeped in instead of nullptr. ocornut 2025-06-18 15:31:00 +02:00
  • 344d5ff4b7 Merge branch 'master' into docking ocornut 2025-06-17 20:15:12 +02:00
  • b2c73596ae InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. (#8689) ocornut 2025-06-17 20:11:22 +02:00
  • 12626b85c4 InputText: minor changes to match for both insert chars paths to look more similar. ocornut 2025-06-17 19:24:10 +02:00
  • 08bb348142 Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) ocornut 2025-06-17 14:52:34 +02:00
  • 041abe8522 Revert "Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]" ocornut 2025-06-17 14:57:39 +02:00
  • 39a90ac4d6 Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl] ocornut 2025-06-17 14:52:34 +02:00
  • f2e4e80391 Windows: BeginChild(): fixed being unable to combine manual resize on one axis and automatic resize on the other axis. (#8690) ocornut 2025-06-17 14:01:01 +02:00
  • fe048efeab DrawList, Fonts: fixed PushFont()/AddImage() not restoring correct atlas texture id when using multiple atlas (#8694) ocornut 2025-06-17 11:56:43 +02:00
  • 24f7328e5f DrawList, Fonts: fixed ImFontAtlasTextureRepack() overwriting draw list shared data UV's etc. even when not bound. (#8694, #8465) ocornut 2025-06-17 11:55:40 +02:00
  • 842837e35b imgui_freetype: fix conversion null -> bool in FontBakedLoadGlyph (#8696) Pascal Thomet 2025-06-16 18:36:33 +02:00
  • 6b3cbb10a2 Backends: Vulkan: correct minimum pool size assertion (#8691) Shawn Hatori 2025-06-16 05:59:26 -04:00
  • d896eab166 Backends: OSX: ImGui_ImplOSX_HandleEvent() only process event for window containing our viewports. Amend 7ac99a4 for docking. (#8644) ocornut 2025-06-13 17:48:02 +02:00
  • 4cf85ee543 Merge branch 'master' into docking ocornut 2025-06-13 17:43:30 +02:00
  • cfa43e721a Windows: clicking on a window close button doesn't claim focus and bring to front. (#8683) ocornut 2025-06-13 17:40:17 +02:00
  • d8da97f756 Fonts: UpdateCurrentFontSize() early out doesn't need to clear FontBaked. ocornut 2025-06-13 16:47:23 +02:00
  • ca3169310e Fonts: fixed FontBaked=NULL in initial call to SetCurrentWindow() in Begin() using previous frame value of SkipItems. (#8465) ocornut 2025-06-13 16:43:58 +02:00
  • 1ec1510ef7 Fonts: clarify assert. (#8680) ocornut 2025-06-12 16:35:51 +02:00
  • 7ac99a4366 Backends: OSX: ImGui_ImplOSX_HandleEvent() only process event for window containing our view. (#8644) ocornut 2025-06-12 15:43:12 +02:00
  • b7f13df130 Docs: reformat Changelog. ocornut 2025-06-12 15:42:51 +02:00
  • 571dae9664 Backends: WGPU: added ImGuiBackendFlags_RendererHasTextures support. (#8465) ocornut 2025-06-12 15:12:07 +02:00
  • b178fd4286 Backends: WebGPU: moved sampler creation out of ImGui_ImplWGPU_CreateFontsTexture(). ocornut 2025-06-12 14:55:46 +02:00
  • 115a8e74c2 Fonts: update misc comments, docs. ocornut 2025-06-12 14:18:23 +02:00
  • 41f4acfb4f Fonts: add has_textures parameters to ImFontAtlasUpdateNewFrame(). ocornut 2025-06-12 11:44:11 +02:00
  • 7b8e000133 Fixed duplicate symbols in some compile-time configurations. ocornut 2025-06-12 11:25:15 +02:00
  • 1ce75e2bca Fixed duplicate symbols in some compile-time configurations. ocornut 2025-06-12 11:25:15 +02:00
  • e8f831deaa Merge branch 'master' into docking ocornut 2025-06-12 11:07:27 +02:00
  • f6fc166584 TreeNode: fixed runtime asan warning (#2920) ocornut 2025-06-12 11:07:08 +02:00
  • a0b3eceec7 Fixed using IMGUI_DISABLE_DEMO_WINDOWS without IMGUI_DISABLE_DEBUG_TOOLS and without linking with imgui_demo.cpp ocornut 2025-06-12 11:02:32 +02:00
  • 7d70c0ff9f Merge branch 'master' into docking ocornut 2025-06-11 20:53:22 +02:00
  • 7a42233d43 imgui_freetype: fixed using legacy names. ocornut 2025-06-11 20:47:17 +02:00
  • 895bff6524 Removed unneeded check in RenderText() loop + disable static analyzer false-positive warnings. ocornut 2025-06-11 19:16:50 +02:00
  • e43fd75378 Merge branch 'master' into docking ocornut 2025-06-11 19:04:44 +02:00
  • df068ce11e Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section. ocornut 2025-06-11 18:30:18 +02:00
  • e4055e763f Fonts: Misc merge fixes. ocornut 2025-06-11 18:11:45 +02:00
  • 1e130e045b Examples: set ConfigDpiScaleFonts / ConfigDpiScaleViewports in all examples already setup for scaling. ocornut 2025-06-11 18:09:33 +02:00
  • 65857236c7 Backends: GLFW, SDL2, SDL3, update for docking to use helpers. ocornut 2025-06-11 18:07:43 +02:00
  • 6af6cec23f Merge branch 'master_fonts' into docking ocornut 2025-06-11 18:02:31 +02:00
  • 96be957315 Docs: update Changelog, FAQ, Fonts docs. ocornut 2025-06-11 14:09:38 +02:00
  • 4acce85656 Fonts: tweaks demo and exposure to sliders, etc. ocornut 2025-06-11 17:12:07 +02:00
  • cc3d4cab21 (Breaking) renamed ImFontConfig::FontBuilderFlags -> FontLoaderFlags. ImFontAtlas::FontBuilderFlags -> FontLoaderFlags. ImGuiFreeTypeBuilderFlags -> ImGuiFreeTypeLoaderFlags. ocornut 2025-06-11 14:38:45 +02:00
  • e1481a731d Fonts: fixed NewFrame() when atlas builder has been created but fonts not added. Fixed GetCustomRect() after atlas clear. ocornut 2025-06-11 13:20:17 +02:00
  • 29fbf3c1ec Fonts: demote ImFont::GetFontBaked() as slighty internal. ocornut 2025-06-10 18:09:44 +02:00
  • 0e769c5418 Fonts: amend UpdateCurentFontSize() early out optimization. ocornut 2025-06-10 17:56:09 +02:00
  • 573f08135d Fonts: fixed PopFont() broken recovery. ocornut 2025-06-10 17:47:30 +02:00
  • 2e67bd4de7 Fonts: rename to ImFontAtlasBuildLegacyPreloadAllGlyphRanges(). ocornut 2025-06-06 18:07:27 +02:00