Commit Graph

9898 Commits

Author SHA1 Message Date
Moses Miller 032e1397d9 Backends: Vulkan: use separate barrier for buffer. (#8772) 2025-07-07 16:58:42 +02:00
Moses Miller c2d9b07533 Backends: Vulkan: fixed texture synchronization. (#8772) 2025-07-07 16:58:41 +02:00
ocornut 4ef1145241 Fonts: fixed dynamically changing font loader from losing Fallback and Ellipsis glyphs. (#8763)
Only the call to ImFontAtlasBuildSetupFontLoader() is the notable change. The change in ImFontAtlasFontInitOutput() is merely to use an existing helper function.
2025-07-07 16:54:08 +02:00
ocornut 57a93e1a19 Backends: Allegro5: fixed texture update broken on some platforms where ALLEGRO_LOCK_WRITEONLY needed all texels to be rewritten. (#8770) 2025-07-07 15:36:24 +02:00
ocornut 94c888ebda Docs: update 1.92.0 changelogs to cover more internal fields. (#8764) 2025-07-07 15:27:47 +02:00
ocornut 495d6f1e39 Undef 'Status' in main header file. (#8751, #8765) 2025-07-07 14:56:50 +02:00
ocornut 68971223aa CI: Fix/amend be63037.
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-07-07 10:42:45 +02:00
ocornut 4441aa8b60 CI: Fix/amend be63037. 2025-07-07 10:41:01 +02:00
ocornut 497ebec01d CI: Fix/amend be63037. 2025-07-07 10:36:49 +02:00
ocornut be63037654 CI: Updated to use latest Windows image + VS2022.
(Untested)
2025-07-07 10:34:59 +02:00
Matthew Pohlmann 0448428322 Fonts: Change ImFontConfig::FontNo back to int from S8 (#8775)
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
When used with FreeType this value is passed as `face_index` which needs to be 32-bits.

# Conflicts:
#	docs/CHANGELOG.txt
2025-07-05 19:25:45 +02:00
ocornut fd75bdccb0 Fonts: for large size fonts, layout/size calculation only load glyphs metrics. Actual glyphs are renderer+packed when used by drawing functions. (#8758, #8465)
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
(Breaking) breaks signature of ImFontLoader::FontBakedLoadGlyph, sorry.
2025-06-30 21:16:20 +02:00
ocornut 51b3495ad8 Fonts: set a maximum font size of 512.0f at ImGui:: API level to reduce edge cases. 2025-06-30 21:04:55 +02:00
ocornut b7e5d76c79 Fonts: added ImFontAtlas::SetFontLoader() to dynamically change font loader at runtime without using internal API. (#8752, #8465) 2025-06-30 20:01:02 +02:00
Aidan Sun 8ccfdf7ba0 CI: Fixed dllimport/dllexport tests. (#8757) 2025-06-30 18:48:28 +02:00
ocornut 8c61ee5498 Tables: fixed comments about DisableDefaultContextMenu. (#8746)
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
2025-06-29 18:05:28 +02:00
ocornut d99ab9f903 Backends: SDL2: undef Status for X11. (#8751)
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
2025-06-28 17:15:18 +02:00
ocornut de7625b8c2 Docs: tweak/fixed comments. (#8750, #8749) 2025-06-28 17:12:05 +02:00
ocornut bc051dcf91 Textures: Fixed support for #define ImTextureID_Invalid to non-zero value.
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
2025-06-27 17:03:13 +02:00
ocornut 0fe5166531 Demo: amend "Font Size" demo. (#8738) 2025-06-27 16:54:31 +02:00
Demonese 9fbe560218 Demo: Added "Widgets/Text/Different Size Text" section to show font system changes in v1.92. (#8738) 2025-06-27 16:54:31 +02:00
morrazzzz fff47f1119 Backends: SDL3: avoid calling SDL_StartTextInput() again if already active. (#8727) 2025-06-27 16:35:59 +02:00
Thomas Quante 8e3aac5744 Backends: Vulkan: use nonCoherentAtomSize to align upload_size, fixing validation error on some setups. (#8743, #8744) 2025-06-27 16:32:17 +02:00
ocornut 68046106dd Docs: update Backends with basic Platform backend instructions. 2025-06-27 15:32:19 +02:00
ocornut 47570d045d Docs: update Backends with direction for implementing RenderDrawData function and supporting ImGuiBackendFlags_RendererHasTextures. (#8735, #8465) 2025-06-27 15:03:10 +02:00
omar ec13fa436b Docs: tidying up Backends.md, add index, prepare for adding more docs. 2025-06-27 13:59:51 +02:00
Christian Fillion 22ad62c90c Backends: OSX: added ImGuiMouseCursor_Wait and ImGuiMouseCursor_Progress mouse cursor support. (#8739)
Yet another undocumented standard cursor.
Amend 8a35386.
2025-06-27 13:35:03 +02:00
ocornut f18aea5246 Version 1.92.1 WIP 2025-06-27 13:30:45 +02:00
Ves Georgiev 5ee9c2ad1f Demo: Fixed font scaling warning if ImGuiBackendFlags_RendererHasTextures is set (#8736) 2025-06-27 01:06:42 +02:00
Aidan Sun 4f4bc7cc8f Replace IMGUI_API with inline for PushTextureID() and PopTextureID() (#8729) 2025-06-26 09:46:54 +02:00
ocornut 85b2fe8486 Docs: update binaries. v1.92.0 2025-06-25 18:46:41 +02:00
ocornut 673eb7de96 Version 1.92.0 2025-06-25 18:19:56 +02:00
ocornut da3c86925a Demo: added TextLinkOpenURL() call in Widgets section. 2025-06-25 18:19:56 +02:00
ocornut 2819ab32f8 Layout: commented out legacy ErrorCheckUsingSetCursorPosToExtendParentBoundaries() fallback. (#5548, #4510, #3355, #1760, #1490, #4152, #150) 2025-06-25 16:39:23 +02:00
ocornut 6f21bed66d Fonts: removing assert from legacy PushFont() to mirror new PushFont(). for consistency. 2025-06-25 16:23:06 +02:00
ocornut 719a3fe98e Additional comments on ErrorCheckUsingSetCursorPosToExtendParentBoundaries(). (#5548) 2025-06-25 16:06:18 +02:00
ocornut 5bc70c68e2 Fonts: fix PushFont(NULL) to work as advertised.
Didn't properly finish ca72eb0.
2025-06-25 15:55:25 +02:00
ocornut dcf14505e2 Backends: SDLGPU: fixes call to SDL_MapGPUTransferBuffer(). Fixes artifacts on OSX/Metal. (#8465, #8703) 2025-06-25 15:48:56 +02:00
ocornut d8c6953710 Fonts: comments. 2025-06-25 12:10:13 +02:00
ocornut 89b5a2c3d5 (Breaking) Fonts: removed ImFontFlags_DefaultToLegacySize.
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
scheduled / scheduled (push) Has been cancelled
2025-06-24 19:10:10 +02:00
ocornut 97e0d59619 (Breaking) Fonts: removed PushFontSize(), PopFontSize(). 2025-06-24 19:09:51 +02:00
ocornut ca72eb0596 (Breaking) Fonts: obsolete PushFont() default parameter. 2025-06-24 19:09:28 +02:00
Geert Bleyen 04a5b9c2cf Backends: SDL3: fixed pulling SDL_PROP_WINDOW_COCOA_WINDOW_POINTER into viewport->PlatformHandleRaw. (#8725, #8726)
SDL_VIDEO_DRIVER_COCOA does not exist on SDL3.
2025-06-24 18:14:39 +02:00
ocornut 776897d3c9 Fonts: fixed PVS Studio false positive "expression 'cmd_count != draw_list->CmdBuffer.Size' is always false." (#8720, #8465)
Amend 608dd96
2025-06-24 15:24:09 +02:00
ocornut 0218ddd575 Fonts: moved GetFont(), GetFontSize(), GetFontBaked() to higher section. 2025-06-24 15:00:42 +02:00
ocornut 6722d789e9 (Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font". 2025-06-24 14:44:38 +02:00
ocornut 6e846c56b4 Demo: fixed ID conflicts. (#8723)
build / Windows (push) Has been cancelled
build / Linux (push) Has been cancelled
build / MacOS (push) Has been cancelled
build / iOS (push) Has been cancelled
build / Emscripten (push) Has been cancelled
build / Android (push) Has been cancelled
2025-06-24 12:25:04 +02:00
ocornut 608dd96de6 Fonts: fixed RenderText() asserting when crossing VtxOffset change boundaries. (#8720, #8465) 2025-06-24 12:21:07 +02:00
ocornut a49ddaac89 Fonts: add comments and examples for GlyphExcludeRanges[]. 2025-06-24 11:06:41 +02:00
ocornut 613a6a964c Fonts: AddFontDefault() adds to GlyphOffset.y instead of overriding it. 2025-06-24 10:27:24 +02:00