Commit Graph

  • 4e487cfa99 stb_textedit: subsequent comments to match ocornut/stb branch. (#8635, #7925) ocornut 2025-05-14 14:05:19 +0200
  • 1387d356aa stb_textedit: subsequent fixes for next/prev word impl (not used by imgui) + PageUp/Home/End (no side effect but more correct) (#8635, #7925) ocornut 2025-05-14 13:37:30 +0200
  • 5c3ac93335 stb_textedit: minor edits to match PR submitted upstream. ocornut 2025-05-14 13:14:31 +0200
  • 61242e2e6a InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. (#8635, #7925) ocornut 2025-05-14 11:35:38 +0200
  • 08689c51a9 Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName. ocornut 2025-05-13 15:48:00 +0200
  • 4a6ba95392 Backends: SDL3: Comments (#6146) ocornut 2025-05-12 19:19:23 +0200
  • 6732721d02 WIP - Fonts: fixed support for RasterizerDensity with legacy backends. ocornut 2025-05-12 19:16:19 +0200
  • 0bb2c30cc5 WIP - Fonts: proof of concept support for user textures. ocornut 2025-05-12 10:22:15 +0200
  • e68c3a4a4d WIP - Fonts: fixed support for multiple atlases. ocornut 2025-05-09 22:17:48 +0200
  • ffff306944 WIP - 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
  • b2ec3c6aa0 WIP - Fonts: remove unnecessary ImDrawListSharedData::FontAtlas which is actually getting in the way of using multiple atlases. ocornut 2025-05-09 22:46:39 +0200
  • a1c4e7ccd5 WIP - Fonts: Debug display status. Fixed truncated raw texture id. Comments. ocornut 2025-05-09 21:55:07 +0200
  • 1718d4b146 WIP - Fonts: remove ImFontHooks in favor of a AddRemapChar() implementation. ocornut 2025-05-08 17:59:18 +0200
  • c3d05c4187 WIP - Fonts: adding ImFontHooks for codepoint remapping ocornut 2025-05-08 17:35:20 +0200
  • 5a24046fd6 WIP - Fonts: rework ImFontLoader::FontBakedLoadGlyph() interface ocornut 2025-05-08 17:03:52 +0200
  • c15f6556c8 WIP - Fonts: don't pretend to smoothly recover from OOM for now + debug log filename on load failure. ocornut 2025-05-05 20:58:38 +0200
  • ed67f276df WIP - Fonts: make RasterizerDensity a dynamic field. (temporarily exposed as SetFontRasterizerDensity()). ocornut 2025-04-30 21:29:09 +0200
  • 18fe974f32 WIP - Fonts: comments. ocornut 2025-04-27 15:33:44 +0200
  • 3695623eaf imgui_freetype: removed anonymous namespace + extracting two functions outside of ImGui_ImplFreeType_FontSrcData. ocornut 2025-04-26 17:24:38 +0200
  • 65af2aa6a5 imgui_freetype: moving data out of ImGui_ImplFreeType_FontSrcData. ocornut 2025-04-26 17:05:36 +0200
  • 3eabc32181 WIP - Fonts: rework toward reducing reliance on ImFontConfig::DstFont since we ought to separate them. ocornut 2025-04-24 18:27:55 +0200
  • 5fbeaed3ee WIP - Fonts: make ImFont::Sources a vector ocornut 2025-04-24 17:54:16 +0200
  • 6b4268815a WIP - Fonts: shallow rework of ImFontAtlasBakedAddFontGlyph() to facilitate upcoming change. ocornut 2025-04-22 17:56:00 +0200
  • 7f0d5235e3 WIP - Fonts: rename many internal functions for consistency. No other changes. ocornut 2025-04-22 12:08:28 +0200
  • d1d88348be WIP - Fonts: add ImFontGlyph::SourceIdx. Extract code out of DebugNodeFont() into DebugNodeFontGlyphesForSrcMask(). ocornut 2025-04-21 18:06:50 +0200
  • b7cd1b4309 WIP - Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont(). ocornut 2025-04-17 17:48:29 +0200
  • 413a455f7a WIP - Fonts: ImFontAtlasBuildInit() is always called with atlas->Builder == NULL. ocornut 2025-04-17 16:53:12 +0200
  • 70126811b3 WIP - Fonts: fixed unused variable warning. ocornut 2025-04-17 16:47:54 +0200
  • 35a8f1c524 WIP - Fonts: no need to load current baked on SkipItems window? + removed unused field. ocornut 2025-04-17 15:00:35 +0200
  • 6f75f1a5db WIP - Fonts: packing of shared basic/line/cursor data uses more public API. ocornut 2025-04-14 16:20:31 +0200
  • ad61454a94 WIP - Fonts: encode additional data in ImFontAtlasRectId to detect invalid id + added Rects debug browser. ocornut 2025-04-11 17:16:06 +0200
  • 8fe4560edb WIP - Fonts: fixed compaction gc-ing baked fonts used in the current frame + rename. ocornut 2025-03-31 22:38:05 +0200
  • 1a3e52fd4e WIP - Fonts: misc tidying up. ocornut 2025-04-09 17:16:40 +0200
  • 5dee14c33c WIP - Fonts: internal rendering uses higher level functions. ocornut 2025-04-07 18:42:06 +0200
  • 054595a28a WIP - Fonts: do not mark whole ImTextureData struct as IMGUI_API to fix warning when used in ImVector<> (8559) ocornut 2025-04-09 15:16:59 +0200
  • cd2e6bac30 WIP - Fonts: changing loader/backend or loader flags may be done without losing custom rects. Sharing more code. ocornut 2025-04-03 19:10:16 +0200
  • e792f14a76 WIP - Fonts: tidying up. ocornut 2025-04-02 15:10:11 +0200
  • 8c78ea9ead WIP - Fonts: add optional out parameter to AddCustomRect() ocornut 2025-03-31 22:18:42 +0200
  • 6f72ec45ab WIP - Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data. ocornut 2025-03-31 21:43:15 +0200
  • 14c3105f9a WIP - Fonts: added RemoveCustomRect(). ocornut 2025-03-31 19:24:59 +0200
  • a05ed51bcf WIP - Fonts: moved ImFontAtlasRectId back to public API. ocornut 2025-03-31 18:37:11 +0200
  • 2af16b3218 WIP - Fonts: added ImFontAtlasRectId_Invalid == -1 ocornut 2025-03-31 18:36:32 +0200
  • 8c6c055300 WIP - Fonts: (Breaking) rework GetCustomRect() api. Reintroduce ImFontAtlasRect. ocornut 2025-03-31 17:36:24 +0200
  • 985593996a WIP - Fonts: (Breaking) renamed AddCustomRectRegular() -> AddCustomRect(). ocornut 2025-03-31 17:03:03 +0200
  • e8d08b5ab7 WIP - Fonts: Comments. ocornut 2025-03-30 16:00:29 +0200
  • 41c5e3c554 WIP - Fonts: fixed GetCustomRectUV(). ocornut 2025-03-22 15:15:10 +0100
  • f1c15997f4 WIP - Fonts: fixed calling AddFontXXX not invalidating texture for legacy backends. ocornut 2025-03-26 14:38:49 +0100
  • f5e0883fd2 WIP - (Breaking) Fonts: PushFont() default to preserve current font size. ocornut 2025-03-21 19:13:23 +0100
  • 29c3362026 WIP - Fonts: Tools: added option to hide font preview text. Move code. ocornut 2025-03-21 17:55:04 +0100
  • c38a93909c WIP - Fonts: removed size rounding in AddFont() which breaks relative sizing of merged fonts (8502) ocornut 2025-03-20 15:45:27 +0100
  • a27bf958a6 WIP - Fonts: fixed legacy backend path preloading all sources sizes erroneously + failing to use ellipsis. ocornut 2025-03-20 15:44:35 +0100
  • b1d8041273 WIP - Fonts: awkwardly alias old TexID name to TexRef using an union (may backtrack and just keep old name) ocornut 2025-03-19 20:12:02 +0100
  • 39b08ea6ad WIP - Fonts: detect if backend assign to texture on creation but doesn't update Status. ocornut 2025-03-19 19:57:03 +0100
  • bc1c9f7ebf WIP - Fonts: avoid both ImTextureRef being set simultaneously. ocornut 2025-03-19 15:00:13 +0100
  • 257632681e WIP - Fonts: comments, tweaks, minor amends. ocornut 2025-03-19 14:06:08 +0100
  • c95fcd161a WIP - Fonts: fixed ImTextureID() being zero-cleared instead of using ImTextureUserID_Invalid. . ocornut 2025-03-18 18:03:40 +0100
  • 9c5a954245 WIP - Fonts: Fixed PopFont() recovery. ocornut 2025-03-17 23:19:22 +0100
  • 961bccbca2 WIP - Fonts: Added ImTextureRef::GetTexID() mostly for consistency. ocornut 2025-03-17 22:08:58 +0100
  • 9b6aec867d WIP - Fonts: fixed crashing password fields. ocornut 2025-03-17 17:18:05 +0100
  • 31e4ece921 WIP - (Breaking) Fonts: renamed CalcCustomRectUV() to GetCustomRectUV() for simplicity. ocornut 2025-03-13 19:14:10 +0100
  • 6bb446eb1f WIP - Fonts: rename ImFontAtlasBuildClearTexture() to ImFontAtlasBuildClear() ocornut 2025-03-13 17:28:13 +0100
  • 6ba0abd101 WIP - (Breaking) Fonts: rename GetCustomRectByIndex() to GetCustomRect(). Made return struct const. ocornut 2025-03-13 17:10:52 +0100
  • dc850196a4 WIP - Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation. ocornut 2025-03-13 16:54:39 +0100
  • e01f5bb68c WIP - Fonts: change uses of ImFontAtlasRect to ImTextureRect for simplicity. ocornut 2025-03-13 16:50:19 +0100
  • 6d0ab3c77f WIP - Fonts: fixed implicit init when calling AddCustomRectRegular(). LoaderShutdown match BuildDestroy. ocornut 2025-03-13 16:30:20 +0100
  • a5fda5ef08 WIP - Fonts: fixed an issue calling legacy ImFontAtlas::Clear(). ocornut 2025-03-11 19:54:33 +0100
  • 0945089927 WIP - Fonts: fixed memory leaks, shutting down font loader, and on AddFont() failure in Freetype backend. ocornut 2025-03-11 11:46:18 +0100
  • ee4b1019a5 WIP - ImTextureData pixels are not immediately destroyed on setting ImTextureStatus_WantDestroy. ocornut 2025-03-10 10:55:29 +0100
  • 60c2d65903 WIP - Fonts: fixed a bug using size specified by secondary font sources. ocornut 2025-03-09 21:36:44 +0100
  • a03d01652a WIP - Exposed some basic UI in demo for sanity. ocornut 2025-03-06 20:50:00 +0100
  • dc76df2e28 WIP - Added UI to edit FreeType loader flags. Added ImFontAtlasBuildReloadAll() / ImFontAtlasBuildReloadFont() ocornut 2025-03-06 20:34:18 +0100
  • c66677ce95 WIP - In ShowFontAtlas() preserve open-state for latest texture. Improve debug display. ocornut 2025-03-06 19:57:49 +0100
  • b1c401f985 WIP - ImFontConfig::GlyphExcludeRanges is owner and copied. ocornut 2025-03-06 18:39:32 +0100
  • 4b12c60dc3 WIP - Update font documenttion. ocornut 2025-03-06 18:15:34 +0100
  • e8b6ec7fc1 WIP - Obsolete GetGlyphRangesXXX() functions. ocornut 2025-03-06 18:15:25 +0100
  • 07c631408a WIP - Fixed various small warnings / build issues. ocornut 2025-03-05 18:42:41 +0100
  • 0c0a7b77db WIP - Added a ImFontFlags_NoLoadError flag to let user code try file paths. (3611) ocornut 2025-03-05 20:08:00 +0100
  • 010440bbf6 WIP - Detect when using a texture that's about to be destroyed. ocornut 2025-03-05 17:18:54 +0100
  • cb0bac272f WIP - Demo: Add a "Fonts" section for visibility. ocornut 2025-03-05 17:05:24 +0100
  • 409da053c1 WIP - GetFontBaked() default to searching for closest size font. ocornut 2025-03-03 16:14:41 +0100
  • 14b1f0c854 WIP - Added ImTextureData::UsedRect. ocornut 2025-02-19 15:41:26 +0100
  • 2b54a6ecba WIP - Tidying up font scale logic. ocornut 2025-02-19 15:16:19 +0100
  • 8bb386b64a WIP - Removed LockSingleSrcConfigIdx which isn't needed anymore since we don't load glyphs in ImFontAtlasBuildAddFont(). ocornut 2025-02-10 22:53:33 +0100
  • 33326c024a WIP - Fallback glyph is now lazily loaded on demand (yay!). Moving ImFontBaked:: functions outside of class. ocornut 2025-02-10 22:32:09 +0100
  • 4794ac2a25 WIP - imgui_freetype: no need to store metrics locally. ocornut 2025-02-10 15:09:46 +0100
  • f8f61b5391 WIP - Rework ImFontLoader signatures. ocornut 2025-02-07 18:48:01 +0100
  • 190c0a72bd WIP - A font source can specify its own loader/backend. ocornut 2025-02-06 19:31:13 +0100
  • 1a5b600bf3 WIP - Core allocates per-baked-per-src backend buffers, to allow having custom backend per font source. Backend BakedInit/Destroy/AddGlyph process a single source. ocornut 2025-02-06 15:19:23 +0100
  • edcd03d518 WIP - Reinstated ImFontAtlasBuildSetupFontCreateEllipsisFromDot() compatible with baked system, lazily baked. ocornut 2025-02-07 15:58:16 +0100
  • 7228867942 WIP - Added ImFontAtlasBakedSetFontGlyphBitmap(). ocornut 2025-02-07 14:51:37 +0100
  • 883c2cc8ba WIP - Baked system, fix subsequent sources overriding shared font metrics. ocornut 2025-02-06 13:06:05 +0100
  • 838408ad6a WIP - ImFontFlags: ImFontFlags_NoLoadGlyphs + add ImFontFlags_LockBakedSizes ocornut 2025-02-06 11:57:30 +0100
  • af64ae56e6 WIP - Exposed CompactCache(). Hide ClearCache(). ocornut 2025-02-05 18:25:52 +0100
  • f839585969 WIP - Restore a functional AddCustomRectFontGlyph(). ocornut 2025-02-05 17:51:46 +0100
  • 33feb36c0a WIP - ImFontConfig: added GlyphExcludeRanges ocornut 2025-02-05 14:41:59 +0100
  • 8155f5d2fe WIP - Create a fallback glyph if none is available (fix crash on fonts with no fallback) ocornut 2025-02-05 14:04:05 +0100
  • 1bd5a40f21 WIP - Fixed _OnChangedTextureID() asserting when calling on e.g. finalized drawlists. ocornut 2025-02-04 20:02:10 +0100
  • 0287137202 WIP - PushFontSize() with -1 uses sources[0]'s size for now (backward compat design) ocornut 2025-02-03 19:36:11 +0100
  • 651487ceff WIP - Allow PushFont/NewFrame/PopFont idioms to function. ocornut 2025-02-03 19:15:26 +0100
  • 4899723e5d WIP - Reordered ImFont fields. ocornut 2025-02-07 19:47:41 +0100