Overview of changes in GLib 2.85.1, 2025-06-13 ============================================== * Re-add the option of a singleton to `GIRepository` (#3664, work by Christian Hergert) * Add support for the `e` flag (O_CLOEXEC) to `g_fopen()` (!4564, work by Luca Bacci and Philip Withnall) * Make the `sysprof` Meson option yield when using GLib as a subproject (!4659, work by Matthias Clasen) * Use the Meson built-in `localedir` option (!4661, work by Kleis Auke Wolthuizen) * Bugs fixed: - #1665 g_file_trash() should return PERMISSION_DENIED if files can't be deleted (Ignacy Kuchciński) - #3664 Lack of g_irepository_get_default() equivalent makes cross-library integration extremely difficult (Christian Hergert) - #3698 Misleading autogenerated hints in the documentation of g_async_queue_pop() (Alicia Boya García) - !4560 glib/gnulib/printf.c: Sync with gnulib - !4564 gstdio: Add support for the `e` flag (O_CLOEXEC) to g_fopen() - !4637 Rework Windows implementation of g_getenv() - !4641 [th/gobj-drop-bit-lock] gobject: drop object_bit_lock() functions - !4642 [th/gobj-empty-notify-queue] gobject: optimize notify-queue handling for a single freeze - !4643 GRegex: apply monospace typeface in description - !4644 gio: add annotations on parameters of 'g_file_monitor_emit_event' and of 'g_vfs_get_file_for_path' - !4645 gregex: Clarify docs for end_pos - !4646 GRegex: update class description - !4649 GAsyncQueue: assert non-null data in push_sorted() - !4650 tests: Add atomics to asyncqueue test global variables - !4651 Meson: Add libglib_static dependency for use in tests - !4652 gobject: clarify in documentation that g_value_set_boxed copies - !4654 Fix buffer overflow in string-test - !4655 gstring: Fix overflow check when expanding the string - !4657 docs: Stop hiding the Unix-like APIs which are in Gio-2.0.gir - !4658 gmarkup: make documentation more discoverable - !4659 Make the sysprof feature yield - !4661 meson: Use the appropriate localedir option