XDGKit (2.0.0-1)

  # New Features

  * XDGDesktopEntry: desktop entry parsing, lookup by app id and launching (asynchronous).
  * XDGMimeDatabase: MIME type detection and icons; XDGTrash: moving files to the trash.
  * Icon theme caches (v2) are looked up in the mapped files instead of being loaded into hash maps:
    loading every theme takes ~2 MiB instead of ~60 MiB with large themes installed (668k icons),
    and the mapped pages are shared by every process.

  # API Additions/Changes

  * Added XDGIconDirectory::findIcon(). XDGIconDirectory::icons() is no longer inline and, with a
    cache, builds the full map on its first call (ABI break).
  * XDGIconDirectory::usingCache() now tells whether that directory comes from the cache.
  * Added XDGKit::forgetDesktopEntry().
  * Added XDGKit::desktopEntryForWindow() and desktopEntriesForWindow(): the desktop entry of a
    window's app id, through StartupWMClass when it isn't the entry's id (e.g. Electron and Flatpak
    apps). Added XDGDesktopEntry::startupWMClass.
  * Added XDGDesktopEntry::SetScopeLauncher(): apps launched in their own systemd user scope
    (app-<launcher>-<id>-<random>.scope), so they can be told running with no windows; and
    XDGDesktopEntry::ScopeAppId(), the app id of such a unit.
  * Added XDGIconTheme::CacheMagicV2.

  # Bug Fixes

  * Icons in theme directories a cache doesn't cover are found (e.g. hicolor in ~/.local/share/icons,
    which uses the system cache), and a system cache never covers users' directories.
  * The indexer no longer stores users' directories in the system cache and stores scaled directories.
  * A corrupted cache no longer leaves scaled directories pointing to the unmapped file.

  # Packaging

  * Builds as a Meson subproject. C++20.
  * Caches generated by older indexers are still read: run cz-xdgkit-icon-theme-indexer to get v2 ones.

-- Eduardo Hopperdietzel <ehopperdietzel@gmail.com>  Mon, 16 Nov 2026 14:00:00 -0300


XDGKit (1.0.0-1)

  # New Features

  * Themes can now be loaded and mapped from cache files, reducing both loading times and memory usage.
  * New xdgkit-icon-theme-indexer utility for generating cache files.

  # API Additions/Changes

  * Replaced most std::string instances with std::string_view to enable direct mapping from cache.
  * Added XDGIconThemeManager::reloadThemes() to dynamically rescan and reload themes.
  * Added XDGIconThemeManager::evictCache() to free up memory by evicting theme data that won’t be accessed in the near future.
  * Added XDGLog class.

  Thanks to @Fox2Code and @milisarge for your ideas/suggestions

-- Eduardo Hopperdietzel <ehopperdietzel@gmail.com>  Tue, 27 May 2025 08:42:15 -0400


XDGKit (0.1.0-1)

  # First Release

  * Icon theme indexing and search utilities.
  * INI files parser.

-- Eduardo Hopperdietzel <ehopperdietzel@gmail.com>  Sat, 22 Mar 2025 21:39:41 -0300
