Commit Graph

  • 8ccfdf7ba0 CI: Fixed dllimport/dllexport tests. (#8757) Aidan Sunandocornut 2025-06-29 17:32:48 -04:00
  • 8c61ee5498 Tables: fixed comments about DisableDefaultContextMenu. (#8746) ocornut 2025-06-29 18:05:28 +02:00
  • d99ab9f903 Backends: SDL2: undef Status for X11. (#8751) ocornut 2025-06-28 17:15:18 +02:00
  • de7625b8c2 Docs: tweak/fixed comments. (#8750, #8749) ocornut 2025-06-28 16:45:58 +02:00
  • bc051dcf91 Textures: Fixed support for #define ImTextureID_Invalid to non-zero value. ocornut 2025-06-27 17:03:13 +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) Demoneseandocornut 2025-06-27 10:33:25 +08:00
  • fff47f1119 Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727) morrazzzzandocornut 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 Quanteandocornut 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. omarandGitHub 2025-06-27 13:59:51 +02:00
  • 22ad62c90c Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739) Christian Fillionandocornut 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 GeorgievandGitHub 2025-06-27 00:06:42 +01:00
  • 4f4bc7cc8f Replace IMGUI_API with inline for PushTextureID() and PopTextureID() (#8729) Aidan SunandGitHub 2025-06-26 03:46:54 -04:00
  • 85b2fe8486 Docs: update binaries. ocornut 2025-06-25 18:46:41 +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
  • 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 Bleyenandocornut 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
  • 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
  • afe20dc9b6 Backends: warning fix. ocornut 2025-06-20 15:23:52 +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) PlayDayandocornut 2025-06-19 05:54:54 +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
  • 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 ThometandGitHub 2025-06-16 18:36:33 +02:00
  • 6b3cbb10a2 Backends: Vulkan: correct minimum pool size assertion (#8691) Shawn HatoriandGitHub 2025-06-16 05:59:26 -04: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
  • 1ce75e2bca Fixed duplicate symbols in some compile-time configurations. ocornut 2025-06-12 11:25:15 +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
  • 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
  • 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
  • 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
  • c18301f356 Examples: remove explicit font sizes from AddFontXXX() calls. Add commented out style.FontSizeBase assignment. ocornut 2025-06-06 16:36:58 +02:00
  • 02f58b3207 Fonts: AddFont() functions now allow size_pixels==0.0f (only required when using certain functions) ocornut 2025-06-06 16:33:02 +02:00
  • bc394410a2 Examples: Win32+DX9/DX10/DX11/DX12, SDL2+DX11/OpenGL2/OpenGL3/SDLRenderer/Vulkan, SDL3+OpenGL/SDLGPU/SDLRenderer/Vulkan: made example DPI aware by default. (master + docking: partial support for multi-dpi by scaling fonts + viewports but not style) ocornut 2025-06-02 15:32:54 +02:00
  • b98e92839c Backends: SDL2, SDL3, GLFW: Backport small part of c90ea13 from docking. ocornut 2025-06-11 16:17:54 +02:00
  • 8269924c33 Backends: GLFW: added ImGui_ImplGlfw_GetContentScaleForMonitor(), ImGui_ImplGlfw_GetContentScaleForWindow() helpers. ocornut 2025-06-06 16:14:22 +02:00
  • 9da3e6696a Backends: SDL2: added ImGui_ImplSDL2_GetDpiScaleForDisplay(), ImGui_ImplSDL2_GetContentScaleForWindow() helpers. ocornut 2025-06-06 15:54:25 +02:00
  • d72e66cdee Examples: remove comments/references about baking and GetGlyphRangesJapanese(). ocornut 2025-06-05 16:47:58 +02:00
  • 2d2b1cee6b Fonts: internals: renamed g.FontSizeBeforeScaling to g.FontSizeBase for consistency. ocornut 2025-06-05 14:54:46 +02:00
  • 3c27c643a9 Fonts: internals: renamed g.FontScale to g.FontBakedScale for clarity. Comments. ocornut 2025-06-05 14:40:37 +02:00
  • d85e22d205 Added style.FontScaleDpi which is the field overwritten by ImGuiConfigFlags_DpiEnableScaleFonts. ocornut 2025-06-02 16:44:42 +02:00
  • 8766efcba6 (Breaking) Renamed io.FontGlobalScale to style.FontScaleMain. ocornut 2025-06-04 18:16:14 +02:00
  • 80c08f2286 (Breaking) Fonts: obsoleting SetWindowFontScale(). ocornut 2025-06-02 14:58:30 +02:00
  • 59a11363a5 Fonts: ground work for allowing SizePixels to be optional. ocornut 2025-05-26 23:13:34 +02:00
  • 402db2ef32 Fonts: fixed passing negative sizes to stb_truetype loader. ocornut 2025-06-05 15:21:52 +02:00
  • 1e118ab891 Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame(). ocornut 2025-05-26 20:24:06 +02:00
  • b029be6b6c Fonts: avoid calling GetFontBaked() during SetFontSize(). Also fixes loading extraneous baked on atlas that will be locked ocornut 2025-05-26 18:55:55 +02:00
  • 033cdc4133 Fonts: comments and slight packing of ImFontConfig fields. ocornut 2025-05-26 15:08:54 +02:00
  • 69547bd4bd Fonts: ImFont::DefaultSize -> ImFont::LegacySize. ImFontFlags_UseDefaultSize -> ImFontFlags_DefaultToLegacySize. ocornut 2025-05-26 14:54:26 +02:00