head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.20 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.18 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.16 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.14 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.12 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.10 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.8 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.6 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.4 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.2 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.4.0.2 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.3.0.6 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.4 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.2 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.2.0.12 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.10 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.8 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.6 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.4 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.2 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.1.0.12 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.10 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.8 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.6 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.5 date 2023.11.02.13.17.27; author wiz; state Exp; branches; next 1.4; commitid wm2KoUjDTwoTm2LE; 1.4 date 2023.06.26.19.25.56; author adam; state Exp; branches; next 1.3; commitid vxAqy69fkoWiyuuE; 1.3 date 2022.11.23.10.41.41; author adam; state Exp; branches; next 1.2; commitid MMdyR8AZAu1HyO2E; 1.2 date 2021.03.31.10.11.23; author wiz; state Exp; branches; next 1.1; commitid 23RopCFPTaJCKrNC; 1.1 date 2019.11.14.12.26.26; author ryoon; state Exp; branches; next ; commitid rUOoquiRGpDlFOKB; desc @@ 1.5 log @glib2: update to 2.78.0 Overview of changes in GLib 2.78.0, 2023-09-08 ============================================== * Bugs fixed: - #3095 Error handling of invalid GKeyFile string escape sequences changed in GLib 2.77.3 (Philip Withnall) - !3559 gdb: Workaround optimized out quark_seq_id - !3561 meson: fix `gnetworking.h` install tag - !3562 gthread: Annotate g_thread_exit() with G_NORETURN - !3564 Fix gutils-user-database unit test Overview of changes in GLib 2.77.3, 2023-08-31 ============================================== * Bugs fixed: - #2575 GSettings schemas default value translations don't work when using l10n=time (Michael Catanzaro) - #3032 gdbus-codegen eats indentation in RST in XML comments (André) - #3051 g_dbus_connection_export_menu_model() is not thread_safe - #3061 Possible SEGV (null pointer deref) in distribute_method_call() (Philip Withnall) - #3083 `arg_data` in GOptionEntry is not a list (Philip Withnall) - #3090 Possible SEGV (null pointer deref) in _g_resource_file_new() (Philip Withnall) - !3459 glib-unix: Clean up use of O_NONBLOCK - !3503 interim solution for macOS CI - !3519 meson: warn if -mms-bitfields is necessary - !3526 gnetworkaddress: use reentrant getservbyname_r() if available - !3527 tests: Use g_assert_*() rather than g_assert() in tree tests - !3528 gio-tool-info: Move translator comments so they’re visible - !3530 gregex: set default max stack size for PCRE2 JIT compiler to 512KiB - !3532 tests: Disable use of ptrace() in tests on BSD and macOS - !3533 ci: Only run pages CI job on scheduled job runs - !3534 ci: Further fix to pages CI job - !3535 Use 'meson setup' to configure - !3538 glib-unix: Accept O_CLOEXEC as well as FD_CLOEXEC in g_unix_open_pipe() - !3540 gio: Add gresource.dtd - !3541 gtestutils: Mention not ignoring SIGCHLD in g_test_trap_subprocess() docs - !3542 [th/gchildwatch-fail-message] gmain: improve g_warning() for failure in g_child_watch_dispatch() - !3543 [th/use-localtime-r] use localtime_r() in g_log_writer_format_fields() - !3545 gregex: if JIT stack limit is reached, fall back to interpretive matching - !3547 glib/gfileutils.c: use 64 bits for value in get_tmp_file() - !3550 glib/tests/asyncqueue.c: skip test_async_queue_timed in 2038 or later - !3553 Generate missing docs for out arguments - !3555 gkeyfile: Fix overwriting of GError Overview of changes in GLib 2.77.2, 2023-08-12 ============================================== * Bugs fixed: - #3071 g_test_trap_subprocess and g_test_subprocess broken in 2.77.1 (Jonas Ådahl) - !3432 ci: Don’t run pipeline after merging a MR - !3520 Fix typos - !3521 GTree: Handle node counter overflow and return it as an unsigned value - !3523 gspawn, gdataset: Restore nullable callback functions Overview of changes in GLib 2.77.1, 2023-07-30 ============================================== * Fix some regressions with `GKeyFile` comment handling (#3047, work by Gaël Bonithon) * Improve handling of query and fragment components in `file:` URIs (#3050, work by Lukáš Tyrychtr) * Bugs fixed: - #473 systemtap probes for gvariant (Allison Karlitskaya) - #623 g_type_query() doesn't work for dynamic types (Philip Withnall) - #931 Optimise GPrivate by removing one malloc (Allison Karlitskaya) - #2929 gio: Failing build due to race generating glib/gversionmacros.h (Eric van Gyzen) - #3045 2.77.0: gio pkg-config test has incorrect install location for gio- querymodules & glib-compile-schemas (Philip Withnall) - #3047 2.77.0 changes formatting of keyfiles (Gaël Bonithon) - #3048 Forcing fallback for libintl does not work (Brendan Shanks) - #3050 g_file_new_for_uri() handles query strings incorrectly ("?") (Lukáš Tyrychtr) - #3054 Fedora installer (anaconda) crashes early with glib 2.77.0 due to "Attempt to unlock mutex that was not locked", when it runs `hwclock` and changes the system time (Thomas Haller, Philip Withnall) - !3287 Audit and fix incorrect use of (closure) in glib - !3461 gfileinfo: add file_path methods for language bindings - !3485 docs: Expand supported platforms documentation a little - !3494 ci: Manually fetch submodules for style-check CI jobs - !3495 gdbus-codegen: Error on invalid dbus types - !3496 garray: Fix typo in doc comment of g_ptr_array_sort[_with_data]() - !3499 strfuncs: Add missing ownership annotations for returned string vectors - !3504 Revert "build/gmodule-2.0.pc: Move compiler flags from Libs to Cflags" - !3505 meson: help gobject-introspection locate source and build dirs - !3509 build-sys: drop -mms-bitfields GCC flag - !3510 testutils: Use prctl PR_SET_DUMPABLE to silence core dumps on Linux - !3514 Revert "build-sys: drop -mms-bitfields GCC flag" - !3515 gnetworkmonitor: Expand guidelines for metered data use - !3517 tests: Add some more tests for g_type_query() - !3518 m4macros: drop unused m4 files Overview of changes in GLib 2.77.0, 2023-07-06 ============================================== * Fix `GSocketClient` connecting to a proxy if the port is not specified (#2832, work by Michael Catanzaro) * Support using `copy_file_range()` in `g_file_copy()`, if available (#2863, work by Philip Withnall) * Improve handling of comments above groups in key files (#2927, work by Gaël Bonithon) * Re-upgrade missing attribute debugs to criticals in `GFileInfo` (#2951, work by Philip Withnall) * Do not redefine NULL on C++ (#2973, work by Marco Trevisan) * Make `g_signal_handlers_block_matched()` work for `G_SIGNAL_MATCH_ID` (#2980, work by Przemyslaw Gorszkowski) * Fixes to support building with bionic libc better (#3008, work by Øyvind Kolås) * Fix potential stack overflow in gspawn on macOS if open file limit is very high (#3024, work by Dario Saccavino) * Fix support for `--force-fallback-for libpcre` in meson configuration (#3025, work by Marius Kintel) * Generate specific marshallers in `gdbus-codegen` (#3028, work by Marco Trevisan) * Fix build failure on Android with `statx()` support (#3039, work by Philip Withnall) * Improve locking performance of `GSignal` (!2824, work by Marco Trevisan) * Improve locking performance of `g_main_context_iterate()` (!3235, work by Marco Trevisan) * Add an inline definition of `g_free()` to automatically use `g_free_sized()` if available (!3252, work by Marco Trevisan) * Fix race with `waitpid()` and `GChildWatchSource` (!3353, work by Thomas Haller) * Add `glib_valgrind_suppressions` variable to glib pkg-config file (!3361, work by Marco Trevisan) * Fix build on macOS SDK 10.11 (!3385, work by Peter Williams) * Switch to using a separate thread pool and support timeouts in `GThreadedResolver` (!3397, work by Philip Withnall) * Track pending `GTask`s if `G_ENABLE_DEBUG` is defined (!3404, work by Philip Withnall) * Support GSignal fast path and more marshallers in `gobject_gdb.py` (!3437, work by Nelson Ben) * Disable the macOS CI because it’s too unreliable — if you rely on GLib working on macOS, please get in touch and do something to help! (!3463, decision taken by Philip Withnall) * Bugs fixed: - #65 glib-mkenums: parse_trigraph() chokes on quoted commas (Emmanuel Fleury) - #95 GMarkupParser documentation completion (David King) - #98 g_get_current_dir SIGSEGV on long path (Philip Withnall) - #104 Invocation of the interface "g_key_file_remove_comment" does not remove comment in specific case (Gaël Bonithon) - #116 Document UTF-8 behaviour and requirements throughout GLib (Philip Withnall) - #252 Disagreement between runtime and docs on whether interfaces are "classed" (Philip Withnall) - #322 gdbus-example-proxy-subclass.c is not complete. (Colin Walters) - #799 GAppInfoMonitor documentation deficiencies (Philip Withnall) - #1264 Use-after-free under send_message_with_reply_cleanup():gdbusconnection.c:1792 (Philip Withnall) - #2289 Document clearly that libgio is not guaranteed to be safe to use in setuid processes (Philip Withnall) - #2307 mainloop test leaks a GMainLoop object (Philip Withnall) - #2829 "glib-compile-resources --dependency-file=DEPFILE" creates wrong set of dependencies (Michael Catanzaro) - #2832 GSocketClient cannot proxy connect unless default port is explicitly specified in proxy URL (Michael Catanzaro) - #2855 gio/tests/socket-client.c name is too confusing because it does not use GSocketClient (Mike Salmela) - #2861 Check for __kernel_long_t when enabling futex() - #2863 Use copy_file_range() whenever possible in g_file_copy (Philip Withnall) - #2864 Documentation mentions non-existing function `g_value_free` (Philip Withnall) - #2879 Job #2498619 failed: gio/tests/socket.c:1654:test_reuse_tcp: assertion failed (error == (g-io-error-quark, 33)): error is NULL (Philip Withnall) - #2927 GKeyFile: Inconsistent behavior of comment writing above a group (Gaël Bonithon) - #2939 mkenums.py test fails on FreeBSD (Philip Withnall) - #2951 Re-upgrade missing attribute debugs to criticals in GFileInfo (Philip Withnall) - #2952 Not clear that GPollableInputStream methods are undefined if can_poll() returns FALSE (Philip Withnall) - #2953 Missing docs for GOption (commandline parser) (Sam Thursfield) - #2958 nbd server fails with glib 2.76.0 - #2960 GDebugControllerDBus wrong default in documentation (Philip Withnall) - #2963 Probably wrong information regarding G_PLATFORM_WIN32 in README.win32.md - #2965 test_measure fails with coreutils 9.2 (Joan Bruguera) - #2966 Multiple Definition Error When Generating gio/tests/test5.gresource (Dan Yeaw) - #2969 user docs: GLib.DateTime.format: broken highlighting (Philip Withnall) - #2972 GtkFileLauncher: generated paths not recognized on Win32 (Luca Bacci) - #2973 Build failed due to NULL pointer redefinition in C++ (Marco Trevisan (Treviño)) - #2980 g_signal_handlers_block_matched does not work for G_SIGNAL_MATCH_ID (Przemyslaw Gorszkowski) - #2982 Build randomly fails with: 'gmodule/gmodule-visibility.h' file not found (Marco Trevisan (Treviño)) - #2993 g_dbus_interface_skeleton_get_vtable misses transfer annotation and is not introspectable - #2997 g_assert_cmpuint() should display positive, not negative values (Eric Blake) - #3003 glib-compile-schemas failed on directory name with no Latin symbols (Daniyar Tleulin) - #3007 GOptionContext group headings missing colon at the end (Philip Withnall) - #3008 Adaptations for building with bionic libc under termux (Øyvind Kolås) - #3020 Races in gio/tests/portal-support-snap* tests - #3024 Possible stack overflow in gspawn on MacOS - #3025 libpcre and libintl cannot be chosen to use the builtins - #3027 action exporter fails in the presence of actions with maybe parameter types (Matthias Clasen) - #3028 gdbus-codegen should generate marshallers (Marco Trevisan (Treviño)) - #3030 Document GListModel requiring unique instance pointers from GListModelInterface.get_item (Christian Hergert) - #3034 futex based g_mutex_lock sometimes splatters errno with EAGAIN on contended locks - #3039 Build failure due to statx fields with NDK r25.c (Philip Withnall) - #3040 gtester in custom_target() run against system rather than built libglib during build - !2824 gsignal: Reduce lock/unlock pairs and ensure we always work on valid signal nodes - !3146 Make GVariant/GHash opaque types compatible with CHERI - !3235 gmain: Avoid some lock/unlock dance during g_main_context_iterate - !3252 gmem: Add an inline definition of g_free() to automatically use g_free_sized() - !3289 Work around an UCRT issue with _wspawn() functions taking an envp block - !3306 gregistrysettingsbackend: Allow a different root key path - !3308 doc: Workaround missing API index - !3314 gmain: More explicitly document g_main_context_release() prereqs - !3326 unicode: add tests for g_utf8_normalize() and empty strings - !3333 build: Drop old .gitignore files from test directories - !3335 meson: allow -Dlibelf=enabled without pkg-config - !3337 gio-tool-info: Fix a duplicate attribute name in the UI - !3340 meson: Move msvc_recommended_pragmas.h to a subdirectory - !3341 g_utf8_normalize: don't read past the end of the buffer - !3342 Add fuzzing harness for g_utf8_normalize() - !3344 tools: Drop check-abis.sh script - !3345 docs: Drop section about default branch renaming from README.md - !3347 gsocket/inotify/gwakeup: Use SOCK_NONBLOCK and O_NONBLOCK to avoid fcntl() syscalls where possible - !3351 tests: Update Unicode normalisation tests from Unicode 15 - !3352 meson: Fix detection of a system-provided proxy-libintl - !3353 [th/child-watch-waitpid] fix race with waitpid() and child watcher sources - !3356 build/gmodule-2.0.pc: Move compiler flags from Libs to Cflags - !3357 Make clang++ happier when using G_STATIC_ASSERT - !3361 meson: Add glib_valgrind_suppressions variable to glib pkg-config file - !3365 gwin32: Avoid use of function call with side effect in g_return_* macro - !3366 Add init macros for refcounting types - !3367 actiongroup: Add a compiler warning - !3371 Explicitly mark size parameter as (in) - !3377 gsignal: Clarify documentation for GSignalMatchType matching - !3378 build: Post-release version bump - !3381 gtimer: Avoid doing anything on g_usleep (0) - !3382 gsocket: Explicitly mark size parameter as (in) - !3383 add g_timeout_add_seconds_once - !3384 Test g_signal_handlers_disconnect_matched for G_SIGNAL_MATCH_ID match - !3385 gio: fix build on older macOS SDKs - !3388 appmonitor: Skip the test under OSX - !3389 glib/tests/[rec-]mutex: Allow each thread to work - !3390 Fix error format in gio/gunixconnection.c (part 2) - !3392 gvariant: Fix doc for g_variant_new_object_path - !3393 Fix small issues in docs - !3395 gtask: Document that g_task_run_in_thread() uses a shared resource - !3396 glib-unix: Improve documentation for g_unix_fd_source_new() - !3397 gthreadedresolver: Switch to using a separate thread pool and support timeouts - !3398 Avoid having g_futex_simple() inadvertently modify errno - !3399 meson: wrap html documentation generation with gtk_doc option - !3400 restore error messages in gunixconnection while maintaining older compiler support - !3401 ci: Disable the Coverity CI job - !3404 gtask: Track pending GTasks if G_ENABLE_DEBUG is defined - !3405 gthreadedresolver: Remove some incorrect assertions - !3406 gthreadpool: Clarify that item_free_func is not normally called - !3407 gregistrysettingsbackend: Remove translatable pspec nick/blurb - !3408 docs: Update/Drop txt documents from docs directory - !3409 docs: Don’t ignore gunixfdlist.h when building docs on Windows - !3410 tests: Add descriptions to environment tests - !3416 gtestutils: Fix section marker in documentation - !3418 docs: Add lb90 as a Windows maintainer - !3419 docs: Update various broken/redirected links and fix list formatting - !3420 gtestutils: print timing information per test case in TAP output - !3421 glib/tests/fileutils:fix asserts when running as root - !3422 Check for linux/netlink.h buildability - !3423 gstring: add g_string_new_take - !3425 gwin32networkmonitor: Fix returning address of local variable - !3426 gdataset, gobject: Use atomic compare and exchange full to set pointers - !3429 Rename GTK+ to GTK (mostly comments and documentation) - !3430 gobject_gdb.py: fix regression caused by bfbe7127d5 - !3431 gfile: Ensure loff_t is defined on FreeBSD - !3435 Ignore g_task_print_alive_task() when introspecting GIO - !3437 gobject_gdb.py: support gsignal fastpath and detect more marshallers - !3438 gio: Check cancellable iterating local file enumerator - !3439 gstring: Add `Since` marker to `g_string_new_take()` - !3440 gutf8: Add a g_utf8_truncate_middle() function - !3441 Allow proper introspection of GTypeValueTable - !3442 gio: Add g_file_new_build_filenamev - !3448 meson: try iconv in libintl lookup - !3449 docs: Move README.win32.md to the docs folder and update CONTRIBUTING.md - !3450 gactionmap: Add g_action_map_remove_action_entries() - !3453 docs: Use the type name as the section name for GKeyFile - !3455 gfileinfo: add (type filename) annotation to symlink_target functions - !3456 gmain: Document that g_steal_fd() preserves errno - !3458 gstdio: Improve documentation of some functions as async-signal safe - !3462 tests: Reduce thread and iteration count on CI for /thread/rec-mutex3 - !3463 ci: Disable the macOS CI - !3465 gobject_gdb.py: adapt to recent gsignal changes - !3466 resolver: Add space in documentations - !3470 pcre subproject fixes: Allow fallback & static build - !3471 gio-tool-mount: Add option to show progress when unmounting - !3472 tests: Fix an intermittent timing error with testing g_usleep(0) - !3477 gdbus-codegen: Fix some minor typos in the documentation - !3484 docs: Fix a typo in the backports policy - !3486 docs: Document issue and merge request triaging and review guidelines - !3488 codegen: Use g_signal_emit to emit signals - !3489 guniprop: fix param direction in g_unichar_get_mirror_char(), for introspection - !3490 gobject/tests: Fix running on 32-bit Windows @ text @$NetBSD: patch-glib_tests_meson.build,v 1.4 2023/06/26 19:25:56 adam Exp $ Fix gtester is not defined error during configure. --- glib/tests/meson.build.orig 2023-09-08 13:42:18.000000000 +0000 +++ glib/tests/meson.build @@@@ -489,21 +489,6 @@@@ endforeach # some testing of gtester functionality # FIXME: Work around Meson not automatically using exe_wrapper around gtester # https://github.com/mesonbuild/meson/issues/11029 -if not meson.is_cross_build() and host_system != 'windows' - xmllint = find_program('xmllint', required: false) - if xmllint.found() - tmpsample_xml = custom_target('tmpsample.xml', - output : 'tmpsample.xml', - command : [ gtester, '-k', '--quiet', '--i-know-this-is-deprecated', '-o', '@@OUTPUT@@', - '--test-arg=--gtester-selftest', gtester]) - - test('gtester-xmllint-check', xmllint, - args : ['--noout', tmpsample_xml], - env : test_env, - suite : ['glib', 'core'], - ) - endif -endif if have_bash and have_pkg_config prefix = get_option('prefix') @ 1.4 log @glib2 glib2-tools gdbus-codegen: updated to 2.76.3 Overview of changes in GLib 2.76.3, 2023-05-23 ============================================== * Bugs fixed: - Use-after-free under send_message_with_reply_cleanup():gdbusconnection.c:1792 (Philip Withnall) - Backport !3398 “Avoid having g_futex_simple() inadvertently modify errno” to glib-2-76 - Backport !3400 “Revert "Fix error format in gio/gunixconnection.c (part 2)"” to glib-2-76 - Backport !3291 “gdbusconnection: Fix double unref on timeout/cancel sending a message” to glib-2-76 - Backport !3425 “gwin32networkmonitor: Fix returning address of local variable” to glib-2-76 - Backport !3430 “gobject_gdb.py: fix regression caused by bfbe7127d5” to glib-2-76 * Translation updates: - Galician (Fran Dieguez) Overview of changes in GLib 2.76.2, 2023-04-21 ============================================== * Fixed various build failures in less common setups (by Philip Withnall, by Marco Trevisan) * Fix launching files in Windows via GtkFileLauncher (by Luca Bacci) * Bugs fixed: - GMarkupParser documentation completion (David King) - Disagreement between runtime and docs on whether interfaces are "classed" (Philip Withnall) - gdbus-example-proxy-subclass.c is not complete. (Colin Walters) - GAppInfoMonitor documentation deficiencies (Philip Withnall) - Check for __kernel_long_t when enabling futex() - Documentation mentions non-existing function `g_value_free` (Philip Withnall) - Not clear that GPollableInputStream methods are undefined if can_poll() returns FALSE (Philip Withnall) - Missing docs for GOption (commandline parser) (Sam Thursfield) - GDebugControllerDBus wrong default in documentation (Philip Withnall) - Probably wrong information regarding G_PLATFORM_WIN32 in README.win32.md - Multiple Definition Error When Generating gio/tests/test5.gresource (Dan Yeaw) - user docs: GLib.DateTime.format: broken highlighting (Philip Withnall) - GtkFileLauncher: generated paths not recognized on Win32 (Luca Bacci) - Build failed due to NULL pointer redefinition in C++ (Marco Trevisan) - Build randomly fails with: 'gmodule/gmodule-visibility.h' file not found (Marco Trevisan) - unicode: add tests for g_utf8_normalize() and empty strings - build: Drop old .gitignore files from test directories - tools: Drop check-abis.sh script - docs: Drop section about default branch renaming from README.md - tests: Update Unicode normalisation tests from Unicode 15 - Make clang++ happier when using G_STATIC_ASSERT - gwin32: Avoid use of function call with side effect in g_return_* macro - gsignal: Clarify documentation for GSignalMatchType matching * Translation updates: - Bulgarian (Alexander Shopov) - Chinese (China) (Boyuan Yang) Overview of changes in GLib 2.76.1, 2023-03-22 ============================================== * Fix build failures in third party C++ projects using `g_strdup()` via C++ qualified symbol lookup * Downgrade critical warnings from `GFileInfo` about missing attributes to debug messages, as it was affecting too many apps; the critical warnings will be reinstated early in the 2.78 cycle, so apps should continue to fix their ambiguous use of `GFileInfo` API * Bugs fixed: - g_strstr_len() ignores haystack_len (Philip Withnall) - Docs for g_file_enumerator_next_files_async () are unclear about end condition (Owen Taylor) - g_variant_dict_lookup is unclear about what happens on failure (Philip Withnall) - GWin32AppInfo: Missing NULL string check (Luca Bacci) - Possible regression in 2.75.3 when used from C++ due to g_strdup becoming a macro - Meson fails TAP test when g_test_message is called before g_test_init (Philip Withnall) - gio list triggers 'GFileInfo created without …' warnings for trash, smb and google-drive GVFS backends (Philip Withnall) - inotify: Avoid empty root directory string - tests: Change the time function used in the bookmark tests - gmacros: Add GCC < 5 fallback for __always_inline__ - fuzzing: do not build tests if build_tests is false - tests: only build messages-low-memory if RTLD_NEXT is available - tests: Fix timeout sources in gdbus-auth and gapplication tests - tests: Reduce number of iterations in queue test - gdesktopappinfo: Add a missing NULL check - tests: Check a few results in strfuncs tests - gfileinfo: Temporarily downgrade missing attribute criticals to debugs * Translation updates: - French (Guillaume Bernard) - Persian (Danial Behzadi) - Turkish (Sabri Ünal) Overview of changes in GLib 2.76.0, 2023-03-10 ============================================== * Fix several regressions in handling `GFileInfo` attributes * Bugs fixed: - ETAG_VALUE not set in GFileInfo when requested (Philip Withnall) - File attributes are not set when their value is FALSE/NULL (Philip Withnall) - gfile: Fix file size detection when copying on btrfs - glocalfileinfo: Mark the lost+found dir as hidden again - glocalfileinfo: Ensure that is-backup is always set * Translation updates: - Bulgarian (Alexander Shopov) - Catalan (Jordi Mas i Hernandez) - Czech (Marek Černocký) - German (Tim Sabsch) - Korean (Changwoo Ryu) - Polish (Piotr Drąg) - Russian (Aleksandr Melman) - Turkish (Sabri Ünal) @ text @d1 1 a1 1 $NetBSD: patch-glib_tests_meson.build,v 1.3 2022/11/23 10:41:41 adam Exp $ d5 1 a5 1 --- glib/tests/meson.build.orig 2023-05-23 10:55:59.000000000 +0000 d7 1 a7 1 @@@@ -475,19 +475,4 @@@@ endforeach d27 2 @ 1.3 log @glib2 glib2-tools gdbus-codegen: updated to 2.74.1 Overview of changes in GLib 2.74.1 ================================== * Update Unicode data to version 15 (work by Marco Trevisan) * Fix various build failures in different situations (work by Kjell Ahlstedt, Marco Trevisan (TreviĂąo)) * Fix over-eager deprecated property warnings for construct properties (work by Simon McVittie) * Fix a crash calling `g_param_value_is_valid()` on a `GParamSpecParam` (work by Emmanuele Bassi) * Fix floating `GVariant` leaks with GObject properties (work by Matthias Clasen) * Add inline optimised version of `g_str_equal()` (work by Xavier Claessens) * Fix `GVariant` type depths checks on text format variants (work by Philip Withnall) * Fix regression with int64 and double hashing functions on big-endian architectures (work by Simon McVittie) * Build the API documentation only when building GLib as a shared library (work by Emmanuele Bassi) * Ignore weird `/etc/localtime` configurations generated by toolbx (work by Ray Strode) * Avoid `EINTR` races when closing FDs in `g_spawn_*()` (work by Thomas Haller) * Bugs fixed. Overview of changes in GLib 2.74.0, 17-09-2022 ============================================== * Use EPOLL_CLOEXEC by default (Colin Walters) * Fixed various regression on GRegex as per the PCRE2 porting (Marco Trevisan) * Fixed various memory leaks (Sebastian Keller, Marco Trevisan) * Bugs fixed: - GNOME/gtksourceview-278 Failed to load html.lang after GLib switched to PCRE2 (Marco Trevisan (TreviĂąo)) - GNOME/gtksourceview-283 GRegex-on-PCRE2 regressions (Marco Trevisan) - -2688 Follow-up from "replace pcre1 with pcre2" (Marco Trevisan (TreviĂąo)) - -2713 static_assert is undefined in C99 (wen Rafferty) - -2719 GParamSpec constructors should have nullable annotation on nick/blurb (Andy Holmes) - -2729 GRegex/GMatchInfo related crashes after upgrade to 2.73.2 (Marco Trevisan) - -2733 gio: GVariantBuilder builder leaked in g_document_portal_add_documents when URI list is empty (Sebastian Keller) - -2737 gio mount coredumps on prompt exit since 2.73 (Marco Trevisan) - -2741 Memory errors on GRegex (Marco Trevisan (TreviĂąo)) - GNOME/gtk-4400 gtk_show_uri can't open browser on MSYS2 on Windows (Luca Bacci) - !2820 ci: Expose the coverage report and docs as links in the MR's (Marco) - !2855 gtlscertificate: Update reference to G_TLS_CERTIFICATE_NO_FLAGS - !2861 mem: Document OOM behavior for allocations (Matthias Clasen) - !2868 gio-unix: Use EPOLL_CLOEXEC by default (Colin Walters) - !2873 Fix array-bounds compiler warnings with GCC 12 (Emmanuele Bassi) - !2874 tests, GDesktopAppInfo: Fix various GVariant leaks (Marco Trevisan) - !2875 g_strsplit: Use a pre-allocated GArray when max_tokens is provided (Marco Trevisan) - !2876 GActionGroup: Fix ownership transfer annotation for query_action() (Andy Holmes) - !2879 gioenumtypes: Only define GLIB_DISABLE_DEPRECATION_WARNINGS if needed (Marco Trevisan) - !2881 GWin32AppInfo: Add missing g_spawn_close_pid (Luca Bacci) - !2882 meson: Set install_tag on all tools (Xavier Claessens) - !2883 ci: Improve style check script (Matthias Clasen) - !2900 docs: Improve wording in documentation of g_unix_signal_source_new() (Tom Levy) @ text @d1 1 a1 1 $NetBSD: patch-glib_tests_meson.build,v 1.2 2021/03/31 10:11:23 wiz Exp $ d5 1 a5 1 --- glib/tests/meson.build.orig 2022-11-23 08:44:11.000000000 +0000 d7 5 a11 6 @@@@ -410,21 +410,5 @@@@ executable('testing-helper', 'testing-he install: installed_tests_enabled, ) -# some testing of gtester functionality -if meson.can_run_host_binaries() and host_system != 'windows' d22 1 a22 1 - suite : ['glib'], a26 1 subdir('path-test-subdir') @ 1.2 log @glib2: regen patch @ text @d1 1 a1 1 $NetBSD: patch-glib_tests_meson.build,v 1.1 2019/11/14 12:26:26 ryoon Exp $ d3 1 a3 1 * Fix gtester is not defined error during configure. d5 1 a5 1 --- glib/tests/meson.build.orig 2021-03-18 13:28:31.953625200 +0000 d7 1 a7 1 @@@@ -269,21 +269,4 @@@@ executable('testing-helper', 'testing-he d12 1 a12 1 -if not meson.is_cross_build() and host_system != 'windows' d27 1 a27 1 - @ 1.1 log @Add a missing patch @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- glib/tests/meson.build.orig 2019-10-21 17:18:40.000000000 +0000 d7 1 a7 2 @@@@ -221,20 +221,3 @@@@ executable('testing-helper', 'testing-he install_dir: installed_tests_execdir, d10 1 a10 1 - d27 2 @