Commit Graph

  • cbaabde42b
    fix: #4594 PlayDay 2025-06-19 05:54:54 +0200
  • 2a8c75f3e6 Backends: GLFW: amend for multi-context support with multi-viewport. (#8676, #8239, #8069) ocornut 2025-06-18 17:01:49 +0200
  • c2c38beec8 Merge branch 'master' into docking ocornut 2025-06-18 16:55:11 +0200
  • f633a60581 Backends: GLFW: Added support for multiple Dear ImGui contexts. (#8676, #8239, #8069) ocornut 2025-06-18 16:40:35 +0200
  • d290e583c5 Backends: GLFW: fixed WndProc relying on current context. (#8676, #8239, #8069) ocornut 2025-06-18 15:50:49 +0200
  • c56e8b4964 imgui_freetype: fixed NULL that creeped in instead of nullptr. ocornut 2025-06-18 15:31:00 +0200
  • 344d5ff4b7 Merge branch 'master' into docking ocornut 2025-06-17 20:15:12 +0200
  • b2c73596ae InputText: fixed a buffer overrun that could happen when using dynamically resizing buffers. (#8689) ocornut 2025-06-17 20:11:22 +0200
  • 12626b85c4 InputText: minor changes to match for both insert chars paths to look more similar. ocornut 2025-06-17 19:24:10 +0200
  • 08bb348142 Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) ocornut 2025-06-17 14:52:34 +0200
  • 041abe8522 Revert "Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl]" ocornut 2025-06-17 14:57:39 +0200
  • 39a90ac4d6 Misc: removed static linkage from operators to facilitate using in C++ modules. (#8682, #8358) [@radjkarl] ocornut 2025-06-17 14:52:34 +0200
  • 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 +0200
  • fe048efeab DrawList, Fonts: fixed PushFont()/AddImage() not restoring correct atlas texture id when using multiple atlas (#8694) ocornut 2025-06-17 11:56:43 +0200
  • 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 +0200
  • d8529f6fdd Finalized the support of WGPU-Native for MacOS and minimal code adjustment BrutPitt 2025-06-17 05:33:11 +0200
  • 3d6b92e42c
    Merge branch 'ocornut:master' into master Michele Morrone 2025-06-17 05:19:57 +0200
  • 842837e35b
    imgui_freetype: fix conversion null -> bool in FontBakedLoadGlyph (#8696) Pascal Thomet 2025-06-16 18:36:33 +0200
  • 3a6c66b4cd
    imgui_freetype: fix conversion null -> bool in FontBakedLoadGlyph Pascal Thomet 2025-06-16 17:49:02 +0200
  • 6b3cbb10a2
    Backends: Vulkan: correct minimum pool size assertion (#8691) Shawn Hatori 2025-06-16 05:59:26 -0400
  • b09710f2f0
    Vulkan backend: Correct minimum pool size assertion Shawn Hatori 2025-06-15 20:10:40 -0400
  • b2359718c0 Support for EMSCRIPTEN >= 4.0.10 (using "--use-port=emdawnwebgpu") and NEW support for WGPU-Native BrutPitt 2025-06-15 22:45:40 +0200
  • 435bf6f69e Backends: Vulkan: Pipeline with dynamic rendering created for viewport should have its own rendering create info sylwester.mroz 2025-06-14 12:54:15 +0200
  • 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 +0200
  • 4cf85ee543 Merge branch 'master' into docking ocornut 2025-06-13 17:43:30 +0200
  • cfa43e721a Windows: clicking on a window close button doesn't claim focus and bring to front. (#8683) ocornut 2025-06-13 17:40:17 +0200
  • d8da97f756 Fonts: UpdateCurrentFontSize() early out doesn't need to clear FontBaked. ocornut 2025-06-13 16:47:23 +0200
  • 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 +0200
  • 068f62714f Adaptation to the last EMSCRIPTEN 4.0.10, using new "--use-port=emdawnwebgpu" compiler/linker flag BrutPitt 2025-06-12 22:13:59 +0200
  • 8f9afd1628
    Merge branch 'ocornut:master' into master Michele Morrone 2025-06-12 20:44:16 +0200
  • 1ec1510ef7 Fonts: clarify assert. (#8680) ocornut 2025-06-12 16:35:51 +0200
  • 7ac99a4366 Backends: OSX: ImGui_ImplOSX_HandleEvent() only process event for window containing our view. (#8644) ocornut 2025-06-12 15:43:12 +0200
  • b7f13df130 Docs: reformat Changelog. ocornut 2025-06-12 15:42:51 +0200
  • 571dae9664 Backends: WGPU: added ImGuiBackendFlags_RendererHasTextures support. (#8465) ocornut 2025-06-12 15:12:07 +0200
  • b178fd4286 Backends: WebGPU: moved sampler creation out of ImGui_ImplWGPU_CreateFontsTexture(). ocornut 2025-06-12 14:55:46 +0200
  • 115a8e74c2 Fonts: update misc comments, docs. ocornut 2025-06-12 14:18:23 +0200
  • 41f4acfb4f Fonts: add has_textures parameters to ImFontAtlasUpdateNewFrame(). ocornut 2025-06-12 11:44:11 +0200
  • 7b8e000133 Fixed duplicate symbols in some compile-time configurations. ocornut 2025-06-12 11:25:15 +0200
  • 1ce75e2bca Fixed duplicate symbols in some compile-time configurations. ocornut 2025-06-12 11:25:15 +0200
  • e8f831deaa Merge branch 'master' into docking ocornut 2025-06-12 11:07:27 +0200
  • f6fc166584 TreeNode: fixed runtime asan warning (#2920) ocornut 2025-06-12 11:07:08 +0200
  • 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 +0200
  • 7d70c0ff9f Merge branch 'master' into docking ocornut 2025-06-11 20:53:22 +0200
  • 7a42233d43 imgui_freetype: fixed using legacy names. ocornut 2025-06-11 20:47:17 +0200
  • 895bff6524 Removed unneeded check in RenderText() loop + disable static analyzer false-positive warnings. ocornut 2025-06-11 19:16:50 +0200
  • e43fd75378 Merge branch 'master' into docking ocornut 2025-06-11 19:04:44 +0200
  • 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 +0200
  • 03225d3e67
    Merge branch 'ocornut:master' into master Michele Morrone 2025-06-11 18:22:04 +0200
  • e4055e763f Fonts: Misc merge fixes. ocornut 2025-06-11 18:11:45 +0200
  • 1e130e045b Examples: set ConfigDpiScaleFonts / ConfigDpiScaleViewports in all examples already setup for scaling. ocornut 2025-06-11 18:09:33 +0200
  • 65857236c7 Backends: GLFW, SDL2, SDL3, update for docking to use helpers. ocornut 2025-06-11 18:07:43 +0200
  • 6af6cec23f Merge branch 'master_fonts' into docking ocornut 2025-06-11 18:02:31 +0200
  • 96be957315 Docs: update Changelog, FAQ, Fonts docs. ocornut 2025-06-11 14:09:38 +0200
  • 4acce85656 Fonts: tweaks demo and exposure to sliders, etc. ocornut 2025-06-11 17:12:07 +0200
  • 28e22d8028 check for allocated descriptor set Michael Böhme 2025-06-11 17:06:31 +0200
  • cc3d4cab21 (Breaking) renamed ImFontConfig::FontBuilderFlags -> FontLoaderFlags. ImFontAtlas::FontBuilderFlags -> FontLoaderFlags. ImGuiFreeTypeBuilderFlags -> ImGuiFreeTypeLoaderFlags. ocornut 2025-06-11 14:38:45 +0200
  • 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 +0200
  • 29fbf3c1ec Fonts: demote ImFont::GetFontBaked() as slighty internal. ocornut 2025-06-10 18:09:44 +0200
  • 0e769c5418 Fonts: amend UpdateCurentFontSize() early out optimization. ocornut 2025-06-10 17:56:09 +0200
  • 573f08135d Fonts: fixed PopFont() broken recovery. ocornut 2025-06-10 17:47:30 +0200
  • 2e67bd4de7 Fonts: rename to ImFontAtlasBuildLegacyPreloadAllGlyphRanges(). ocornut 2025-06-06 18:07:27 +0200
  • c18301f356 Examples: remove explicit font sizes from AddFontXXX() calls. Add commented out style.FontSizeBase assignment. ocornut 2025-06-06 16:36:58 +0200
  • 02f58b3207 Fonts: AddFont() functions now allow size_pixels==0.0f (only required when using certain functions) ocornut 2025-06-06 16:33:02 +0200
  • 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 +0200
  • b98e92839c Backends: SDL2, SDL3, GLFW: Backport small part of c90ea13 from docking. ocornut 2025-06-11 16:17:54 +0200
  • 8269924c33 Backends: GLFW: added ImGui_ImplGlfw_GetContentScaleForMonitor(), ImGui_ImplGlfw_GetContentScaleForWindow() helpers. ocornut 2025-06-06 16:14:22 +0200
  • 9da3e6696a Backends: SDL2: added ImGui_ImplSDL2_GetDpiScaleForDisplay(), ImGui_ImplSDL2_GetContentScaleForWindow() helpers. ocornut 2025-06-06 15:54:25 +0200
  • d72e66cdee Examples: remove comments/references about baking and GetGlyphRangesJapanese(). ocornut 2025-06-05 16:47:58 +0200
  • 2d2b1cee6b Fonts: internals: renamed g.FontSizeBeforeScaling to g.FontSizeBase for consistency. ocornut 2025-06-05 14:54:46 +0200
  • 3c27c643a9 Fonts: internals: renamed g.FontScale to g.FontBakedScale for clarity. Comments. ocornut 2025-06-05 14:40:37 +0200
  • d85e22d205 Added style.FontScaleDpi which is the field overwritten by ImGuiConfigFlags_DpiEnableScaleFonts. ocornut 2025-06-02 16:44:42 +0200
  • 8766efcba6 (Breaking) Renamed io.FontGlobalScale to style.FontScaleMain. ocornut 2025-06-04 18:16:14 +0200
  • 80c08f2286 (Breaking) Fonts: obsoleting SetWindowFontScale(). ocornut 2025-06-02 14:58:30 +0200
  • 59a11363a5 Fonts: ground work for allowing SizePixels to be optional. ocornut 2025-05-26 23:13:34 +0200
  • 402db2ef32 Fonts: fixed passing negative sizes to stb_truetype loader. ocornut 2025-06-05 15:21:52 +0200
  • 1e118ab891 Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame(). ocornut 2025-05-26 20:24:06 +0200
  • 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 +0200
  • 033cdc4133 Fonts: comments and slight packing of ImFontConfig fields. ocornut 2025-05-26 15:08:54 +0200
  • 69547bd4bd Fonts: ImFont::DefaultSize -> ImFont::LegacySize. ImFontFlags_UseDefaultSize -> ImFontFlags_DefaultToLegacySize. ocornut 2025-05-26 14:54:26 +0200
  • e3860aa6ac (Breaking) Fonts: removing obsolete ImFont::Scale. ocornut 2025-05-26 13:52:20 +0200
  • 25f9c318e3 Fonts: added "Input Glyphs Overlap Detection Tool". Added "Clear bakes", "Clear unused" buttons. Move code. ocornut 2025-05-22 17:45:22 +0200
  • 5926c877a1 Fonts: detect if ImFontAtlasUpdateNewFrame() is not being called. ocornut 2025-05-22 16:32:46 +0200
  • 9f8b4bdaf1 Fonts: fixed edge case calling RenderText() without priming with CalcTextSize(). ocornut 2025-05-21 20:35:04 +0200
  • b2343d6247 Fonts: fallback to default default rasterizer density + pick one from existing viewports at the time of calling AddUpdateViewport(). ocornut 2025-05-20 19:56:27 +0200
  • 83aad81279 Fonts: comments + made IMGUI_DEBUG_LOG_FONT() work without an ImGui context. ocornut 2025-05-20 18:12:08 +0200
  • f3780c7354 Fonts: adding GetFontBaked() in public API. ocornut 2025-05-19 18:14:12 +0200
  • 92ff153763 Fonts: added notes/comments and dummy type about renaming ImFontBuilderIO::GetBuilderForFreeType() to ImFontLoader::GetFontLoader(). ocornut 2025-05-19 14:03:45 +0200
  • 3d848a886a Fonts: fixed support for IMGUI_STB_NAMESPACE. ocornut 2025-05-19 13:43:16 +0200
  • 822903e56d Fonts: fixed ImFontAtlas::RemoveFont() with multiple sources. ocornut 2025-05-16 16:55:29 +0200
  • 5ee9845559 Fonts: automatically set current rasterizer density to viewport density. Effectively should fix most things on macOS. ocornut 2025-05-16 18:04:44 +0200
  • ea756ede16 Fonts: reorder ImFontFlags according likelihood of being useful. ocornut 2025-05-15 16:14:08 +0200
  • 1b51a88bba Fonts: moved compare operators to internal. Removed commented out ones aimed legacy backends: not needed anymore since we didn't rename ImTextureID. ocornut 2025-05-15 16:08:05 +0200
  • 39f6c793b3 Fonts: proof of concept support for user textures. ocornut 2025-05-12 10:22:15 +0200
  • 91ed6e67b4 Fonts: fixed support for multiple atlases. ocornut 2025-05-09 22:17:48 +0200
  • fad5280d4c Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id. ocornut 2025-05-11 23:51:45 +0200
  • 65e6039979 Fonts: remove unnecessary ImDrawListSharedData::FontAtlas which is actually getting in the way of using multiple atlases. ocornut 2025-05-09 22:46:39 +0200
  • 46fa9e8efb Fonts: Debug display status. Fixed truncated raw texture id. Fixed FormatTextureIDForDebugDisplay(). Comments. ocornut 2025-05-09 21:55:07 +0200
  • f6735c223c Fonts: remove ImFontHooks in favor of a AddRemapChar() implementation. ocornut 2025-05-08 17:59:18 +0200
  • 89e880dfd1 Fonts: adding ImFontHooks for codepoint remapping. ocornut 2025-05-08 17:35:20 +0200
  • 8523cbdf58 Fonts: rework ImFontLoader::FontBakedLoadGlyph() interface ocornut 2025-05-08 17:03:52 +0200