Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
glib2 glib2-tools gdbus-codegen: updated to 2.82.2 Overview of changes in GLib 2.82.2, 2024-10-17 ============================================== * Bugs fixed: - glib/gvariant: incorrect use of G_ANALYZER_ANALYZING (Christian Hergert) - Multicast cannot be joined on Mac OS on non-default interface (Nirbheek Chauhan) - Update Catalan translation - Backport “glib/gvariant: Fix check for G_ANALYZER_ANALYZING” to glib-2-82 - Backport “macos: Fix URL launcher” to glib-2-82 - Backport “gopenuriportal: Fix two memory leaks” to glib-2-82 - Backport “gio: Fix multicast iface selection on macOS” to glib-2-82 - Backport “gdatainputstream: Fix length return value on UTF-8 validation failure“ to glib-2-82 * Translation updates: - Catalan (Jordi Mas) Overview of changes in GLib 2.82.1, 2024-09-19 ============================================== * Fix a potential buffer overflow in `GSocks4aProxy` * Bugs fixed: - Test /unix-mounts/get-mount-entries fails unless libmount is enabled (Philip Withnall) - Buffer overflow in set_connect_msg() (Michael Catanzaro) - Backport “tests: Test against a sample mtab file in unix-mounts for getmntent()” to glib-2-82 - Backport “tests: Run lint tests with detected bash” to glib-2-82 - Update Polish translation for glib-2-82 - Update Czech translation [glib-2-82] - Update Portuguese translation - Update fa.po - Update Brazilian Portuguese translation - Backport “Update french translation” to glib-2-82 - Update Galician translations for glib-2-82 - Update German translation - Update Bulgarian translation - Update British English translation - Update Hungarian translation - Update Indonesian translation - Updated Lithuanian translation - Update Danish translation (2-82) - Update Russian translation for 2-82 - Backport “docs(glib): Fix link in string-utils ref” to glib-2-82 - Update Georgian translation (glib-2-82) - Backport “Move to Apple Silicon based runner” to glib-2-82 - Backport “gsocks4aproxy: Fix a single byte buffer overflow in connect messages” to glib-2-82 * Translation updates: - Bulgarian (twlvnn kraftwerk) - Czech (AsciiWolf) - Danish (Ask Hjorth Larsen) - English (United Kingdom) (Bruce Cowan) - French (Vincent Chatelain) - Galician (Fran Diéguez) - Georgian (NorwayFun) - German (Tim Sabsch) - Hungarian (Balázs Úr) - Indonesian (Andika Triwidada) - Lithuanian (Aurimas Černius) - Persian (Danial Behzadi) - Polish (Piotr Drąg) - Portuguese (Hugo Carvalho) - Portuguese (Brazil) (Rafael Fontenelle) - Russian (jtux270) Overview of changes in GLib 2.82.0, 2024-08-26 ============================================== * Change the default value of -Dglib_debug from `auto` to `enabled` for developers — distributions will almost certainly want to override it to `-Dglib_debug=disabled` for package release builds though * Revert per-instance locking changes in `GCancellable` as they introduced new races * Bugs fixed: - Investigate trampoline performance implications in g_mutex_lock_impl() changes (Philip Withnall) - Default value for glib_debug meson option (Philip Withnall) - wrong comment in gmessage.c:escape_string - Should check for epoll_create1 rather than epoll_create (Philip Withnall) - Gio.MenuModel docs have an outdated UI example (Philip Withnall) - Replace hi.po with updated translations. - gunixmounts: Fix use of uninitialised variable - tests: Run expected-to-hang cancellable tests in subprocesses - CI/msys2-mingw32: Set the G_DEBUGGER environment variable - Update Chinese translation - Update Swedish translation - Revert “GCancellable: Use per-instance mutex logic instead of global critical sections” for glib-2-82 - Various small backports to glib-2-82 - Backport “gthread: Move thread _impl functions to static inlines for speed” to glib-2-82 * Translation updates: - Chinese (China) (lumingzh) - Hindi (Karunakar Guntupalli) - Swedish (Anders Jonsson)
glib2: force usage of pkgsrc-selected Python binary Fixes build in some cases when multiple versions of Python are installed. Based on PR 58469 by Phil Krylov.
glib2 glib2-tools gdbus-codegen: updated to 2.80.4 Overview of changes in GLib 2.80.4, 2024-07-08 * Bugs fixed: - GLib unit tests fail on macOS runner due to localhost being out of addresses (Philip Withnall) - Random failures to build glib 2.80.3 (Philip Withnall) - Backport !4111 “gioerror: Map EADDRNOTAVAIL to G_IO_ERROR_CONNECTION_REFUSED” to glib-2-80 - Backport !3373 and !4117 “Handle files >4GB in g_file_load_contents()“ to glib-2-80 - Backport !4020 and !4122: fixes to GIR install locations and build race fixes - Backport !4110 “gthreadedresolver: ref-sink returned records in lookup_records()” to glib-2-80
glib2 glib2-tools gdbus-codegen: updated to 2.80.3 Overview of changes in GLib 2.80.3, 2024-06-10 ============================================== * Bugs fixed: - g_socket_client_connect_to_host_async leaks memory when target host doesn't respond to ARP (Philip Withnall) - gi_repository_find_by_gtype is nondeterministic (Philip Withnall) - Crash in error path of g_dbus_connection_export_menu_model() (Philip Withnall) - Backport !4057 “gdbusmessage: Clean the cached arg0 when setting the message body” to glib-2-80 - Backport !4058 “Tests: Build fixes when running `meson test` without previous builds“ to glib-2-80 - Partially backport !4059 “tests: Fix various memory leaks and valgrind / ASAN errors” to glib-2-80 - Backport !4066 “Fix several GCC 14 warnings to please msys2-mingw32 CI” to glib-2-80 - Backport !4065 “girepository: Don't assume a bitfield has a fixed size” to glib-2-80 - Backport !4073 “gmenuexporter: Fix a NULL pointer dereference on an error handling path” to glib-2-80 - Backport !4078 “tests: Fix clang compilation failure due to unrecognised option in pragma” to glib-2-80 - Backport !4033 “girepository: Keep an ordered list of the loaded typelibs” to glib-2-80 - Backport !4104 “gsocketclient: Fix a leak of the task data on an error path” to glib-2-80 * Translation updates: - Catalan (Jordi Mas i Hernandez) - Slovak (Jose Riha)
glib2: undo revert and add another upstream patch instead https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4073 Fixes libreoffice startup as well. Bump PKGREVISION.
glib2: add upstream bug report for backout patch
devel/glib2: Fix startup of misc/libreoffice * Revert upstream's "gdbusconnection: Fix user_data leaks on error" 747e3af9987b37847d7d5acbf882d1ee4a6bd91b * Bump PKGREVISION.
glib2 glib2-tools gdbus-codegen: updated to 2.80.2 Overview of changes in GLib 2.80.2, 2024-05-08 ============================================== * Fix a regression with IBus caused by the fix for CVE-2024-34397 * Fix installation directory of the GVariant specification * Bugs fixed: - GVariant specification installed in wrong directory (Michael Catanzaro) - Fixing CVE-2024-34397 caused regressions for ibus (Simon McVittie) - Backport "gdbusconnection: Fix test signal subscription ordering" to glib-2-80 - Backport !4049 “Correct installation directory of GVariant specification” to glib-2-80 - Backport !4053 “gdbusconnection: Allow name owners to have the syntax of a well-known name” to glib-2-80
glib2 glib2-tools gdbus-codegen: updated to 2.80.1 Overview of changes in GLib 2.80.1, 2024-05-07 ============================================== * Fix CVE-2024-34397: GDBus signal subscriptions for well-known names are vulnerable to unicast spoofing * Bugs fixed: - GNOME/tracker-miners-315 3.7.0 - GLib-GIO-WARNING **: 09:27:12.186: Error creating IO channel for /proc/self/mountinfo: Invalid argument (g-io-error- quark, 13) (Ondrej Holy) - CVE-2024-34397: GDBus signal subscriptions for well-known names are vulnerable to unicast spoofing (Simon McVittie) - Devhelp does not show indexes for GLib, GIO, or GObject (Philip Withnall) - readlink -f fails in CI on macOS (Simon McVittie) - Crash in gdbus schedule_callbacks() due to missing NULL check before g_str_equal() (Philip Withnall) - [th/performance] add script for combining performance results - [th/gobject-toggle-refs-check] Fix critical warning for toggle notifications in g_object_ref()/g_object_unref() - meson: Fix a needless recompilation of some gdbus tests - girparser: Don't assume sizeof(size_t) == sizeof(void *) - girparser: Allow time_t, off_t, etc. to appear in GIR XML - Ported the first few documentation comments in `gio/gaction.c` to gi- docgen - girparser: Make sizes in integer_aliases more obviously correct - girparser: Adjust signedness() macro - glib/gvariant: fix compile error with GCC 14.0.1 - tests: Mark several additional tests as can_fail on GNU Hurd - Backport !3979 "Use CPU_COUNT to get the number of set CPUs" to glib-2-80 - Backport !3989 “completion: make gsettings work in nounset mode” to glib-2-80 - Backport "Remove unused cmph files" for glib-2-80 - Backport !4019 “gunixmounts: Use fallback if libmount monitoring fails” to glib-2-80 - Backport !4005 “Fix various bugs found by scan-build“ to glib-2-80 - Backport !4028 “gdbusconnection: Fix a crash on arg0 matching” to glib-2-80 - Backport !4031 “gdocumentportal: Handle EROFS and similar errors more gracefully” to glib-2-80 - Backport !4038 “gdbusconnection: Don't deliver signals if the sender doesn't match” to glib-2-80 * Translation updates: - Czech (Daniel Rusek) - Danish (Ask Hjorth Larsen) - French (Vincent Chatelain) - Galician (Fran Dieguez) - Georgian (Ekaterine Papava) - German (Christian Kirbach) - Indonesian (Andika Triwidada) - Italian (Milo Casagrande) - Kabyle (Athmane MOKRAOUI, Rachida SACI) - Korean (Changwoo Ryu) - Latvian (Rūdolfs Mazurs) - Persian (Danial Behzadi) - Polish (Piotr Drąg) - Portuguese (Hugo Carvalho) - Portuguese (Brazil) (Leônidas Araújo, Juliano de Souza Camargo)
glib2*: update to 2.80.0 Overview of changes in GLib 2.80.0, 2024-03-07 ============================================== * Bugs fixed: - #3271 GLib: string malformed for gettext (Philip Withnall) - !3940 tests: Don’t run check-missing-install-tag.py test under valgrind (Philip Withnall) - !3946 Add missing argument placeholders to several command-line tools (Simon McVittie) - !3947 docs: Fix a typo in the macros docs page (Philip Withnall) - !3951 g_warn_if_fail: Document as always evaluating expr (Simon McVittie) - !3953 docs: Specify gi-docgen as a native dependency (Bobby Rong) - !3955 docs: Fix building with docs enabled and introspection disabled (Bobby Rong) - !3956 docs: Minor improvements to GSignal documentation (Philip Withnall) Overview of changes in GLib 2.79.3, 2024-02-27 ============================================== * Various consistency improvements to the command line libgirepository tools (!3926, !3927, !3928, !3930, work by Simon McVittie) * Bugs fixed: - #3080 Gimp GTK file chooser hang when a remote file is open (Luca Bacci) - #3210 Critical using Open location: GWinHttpFile doesn’t set G_FILE_ATTRIBUTE_STANDARD_TYPE (Luca Bacci) - #3252 [2.79.1] gdatetime installed tests fails on s390x (Simon McVittie) - #3255 g_base_info_clear on zero-initialized stack-allocated introspection info (Philip Withnall) - #3258 Possible memory leak in GUnixVolumeMonitor (Ondrej Holy) - #3260 Add man pages for girepository tools - #3262 msys2-mingw32 build failing with error code 3221225785 (0xc0000139) (Philip Withnall) - #3263 Ensure girepository tools are translatable (Philip Withnall) - #3266 Use-after-free in gsocketclient.c:connection_attempt_remove() (Philip Withnall) - #3271 GLib: string malformed for gettext (Philip Withnall) - !3918 tests: Don’t run lint tests under valgrind - !3919 tests: Speed up threaded toggle notify test unless -m slow is passed - !3921 ci: Fix printing the execution environment - !3922 gdatetime test: Produce more helpful output on mismatches - !3923 girepository test: Don't assume doubles are naturally-aligned - !3925 girwriter: Take the GIRepository as a parameter - !3926 gi- tools: Remove unused options, improve --debug/--verbose - !3927 g-ir-compiler: Only accept one input file - !3928 gi-decompile-typelib: Interpret --includedir as most-important-first - !3930 migrating-gi: Document command-line option removals - !3935 Restrict macOS CI to origin - !3937 girepository: Fix static build under Windows - !3945 tests: Remove variable-length lookbehind tests for GRegex Overview of changes in GLib 2.79.2, 2024-02-12 ============================================== * More work to reduce lock contention and improve performance in GObject (#743, !3869, !3873, work by Thomas Haller) * More API changes to libgirepository, which is now stable as of this release (#3155, #3217, #3218, #3231, #3234, #3243, #3244, #3245, #3246, work by Philip Chimento, Evan Welsh, Philip Withnall) * Import `g-ir-compiler`, `g-ir-generate` and `g-ir-inspect` from gobject-introspection.git and update them to work with girepository-2.0, renaming them to `gi-compile-repository`, `gi-decompile-typelib` and `gi-inspect-typelib` (see docs/reference/girepository/migrating-gi.md) (!3853, !3909, work by Evan Welsh, Philip Withnall) * Add new `GLibUnix-2.0.gir`, `GLibWin32-2.0.gir`, `GioUnix-2.0.gir` and `GioWin32-2.0.gir` GIRs which contain platform specific APIs, and are the preferred way for third parties to access those APIs in future; although platform specific APIs which were already exposed in `GLib-2.0.gir` and `Gio-2.0.gir` continue to be listed there; the underlying `.so` files have not changed (!3892, work by Philip Withnall) * Bugs fixed: - #743 GLib weak refs depend on cascade of locks, including global ones, which makes them non-scalable - #2887 memory-monitor-dbus.test fails in installed-tests suite (Philip Withnall) - #3198 Support --version in standard GApplication command line arguments (Maxim Moskalets) - #3217 Feedback on gobject-introspection: APIs for stack-allocated introspection info (Philip Withnall) - #3218 Segfault in gi_function_info_prep_invoker (Philip Withnall) - #3231 New functions in the glib introspection data (Philip Withnall) - #3234 Reference cycle between GIRepository and GIBaseInfos cached by it (Philip Withnall) - #3236 threaded_resolver_worker_cb leaks memory when lookup fails and connection is already canceled (Philip Withnall) - #3238 Python packaging module is missing on Hurd CI runner (Philip Withnall) - #3240 Missing preconditions checks in GArray (Tobias Stoeckmann) - #3242 Memory leak in gresources over libelf (Maxim Moskalets) - #3243 Feedback on girepository 2.0: Naming of get_type_info vs load_type (Philip Withnall) - #3244 Feedback on girepository 2.0: Where to find uninstalled typelibs (Philip Withnall) - #3245 Feedback on girepository 2.0: GIBoxedInfo's place in the type hierarchy (Philip Withnall) - #3246 Wrong out parameter type in gi_object_info_find_method_using_interfaces (Philip Withnall) - #3247 safe_closefrom(), safe_fdwalk_set_cloexec() as public API (Simon McVittie) - !3797 Refactor GIRepository GIR generation to avoid cyclical dependency - !3807 gprintf/gstrfuncs: Improve and port doc comments to gi-docgen - !3824 gconvert: match GNU iconv behaviour on FreeBSD - !3838 build: Add thorough test setup - !3843 Add more test coverage for girepository - !3845 gunixmounts: Use libmnt_monitor API for monitoring - !3847 ci: Add ability to run manually some specific jobs - !3848 Fix build with introspection on Windows - !3849 girepository: Remove GI_FUNCTION_THROWS and GI_VFUNC_THROWS flags - !3850 [th/strdup-in-ascii-strdown] glib: use g_strdup() in g_ascii_strdown(),g_ascii_strup() - !3851 ci: Fix post-merge CI pipelines - !3853 girepository: Update gir-compiler and use it to compile GIRs - !3854 girnode: Document ownership and element types of internal structs - !3855 gitypelib: Replace multiple constructors with gi_typelib_new_from_bytes() - !3856 girepository: Drop gi_repository_get_default() - !3859 [th/glib-private-const] glib: return const pointer from glib__private__() - !3860 tests: Fix typo in memory-monitor-portal.py.in - !3861 girepository: Fix a memory leak of a mapped file - !3865 [th/test-weak-notify] gobject/tests: add test checking that GWeakRef is cleared in GWeakNotify - !3866 [th/gobject-carray-comment] gobject: remove obsolete code comment about CArray - !3868 Link to the main context tutorial from the main loop docs - !3869 [th/optimize-weak-ref-list] rework GObject's `WeakRefData` to track references in an array instead of GSList - !3870 Revert "Don't skip dbus-codegen tests on Win32" - !3871 docs: Fix include path for the build - !3872 gio: tests: Use slightly more explicit assert functions - !3873 [th/datalist-shrink] shrink the interal buffer of `GData` - !3874 Don't skip dbus-codegen tests on Win32 - !3876 build: Only override g-ir-compiler when GIR generation is enabled - !3877 Various girepository fixes - !3879 [th/gdataset-comment] gdataset: add code comment to g_datalist_get_data() - !3881 docs: Add migration guide for libgirepository - !3886 codegen: Use `-` instead of `stdout` for output to stdout - !3887 gtestutils: Ensure test_data is freed even if a test is skipped - !3888 gitypes: Fix integer values of GIInfoType and add unit tests for GIUnionInfo - !3892 introspection: Generate separate GIR files and documentation for platform specific APIs - !3893 glocalfile: Support statvfs.f_type - !3894 Minor fixes/docs changes to GFileDescriptorBased and GTask - !3895 [th/meson-werror-fixes] some fixes for meson detection failure with -Werror - !3896 reuse: Add dep5 lines for gnulib and libcharset - !3897 reuse: Fix screen-scraping expression for version 2.x - !3898 Incorporate some lint checks into `meson test` - !3900 gitypelib: Switch to refcounting - !3901 girepository: Add length ‘out’ arguments to several getter methods - !3902 gicallableinfo: Clarify docs for callables with no return type - !3903 gibaseinfo: Rename gi_info_new() to gi_base_info_new() - !3904 [th/meson-werror-fixes-2] more workarounds for compiler warnings in meson compiler checks - !3909 Rename g-ir-generate and g-ir-inspect and update to girepository-2.0 - !3911 glib/tests/unix: Mostly pass O_CLOEXEC to g_unix_pipe_open() - !3912 glib-unix: Fix reference to FD_CLOEXEC in docs for g_unix_pipe_open() - !3913 cmph: Fix a typo - !3914 Revert "ci: Remove not-printable chars from generated junit file" - !3916 tests: Skip lint tests if bash is not available - !3917 ci: Build and tar libgirepository documentation Overview of changes in GLib 2.79.1, 2024-01-22 ============================================== * Fix a race condition in `g_object_unref()` (#3064, work by Thomas Haller) * Various API and build changes to libgirepository as it is not yet API-stable (#3216, !3780, !3805, !3823, !3833, !3840) * Build fixes on big-endian 64-bit systems and mips64el (#3225, #3226, work by Simon McVittie) * Reduce contention on global locks within GObject (!3774, work by Thomas Haller) * Allow building man pages without the reference documentation (!3817, work by Simon McVittie) * Bugs fixed: - #1010 g_get_num_processor does not respect cpuset/affinity - #3064 Crash under g_object_unref() - #3093 GDBusMessage: should validate the type of all known headers (Philip Withnall) - #3207 Add support for syslog to Structured Logging - #3216 Feedback on gobject-introspection: Casting to and from GIBaseInfo* (Philip Withnall) - #3222 pthread_t usages lack type name (Emmanuele Bassi) - #3223 CLang, GMutexLocker: error: unused variable 'locker' [-Werror,-Wunused-variable] - #3225 2.79 regression: gdatetime test failing on 64-bit big-endian since #3119 - #3226 resource test fails on Debian mips64el: test5.gresource is not linked but the test assumes it should be (Simon McVittie) - !3774 [th/g-object-priv] add private data to GObject and use per-object locking - !3780 girepository: Use standard types instead of glib specific - !3789 gdatetime: Fix title of documentation comment - !3792 build: Tell gi-docgen where to find the GIR files - !3793 Shorten the title for D-Bus interface docs - !3794 Add boxed GType for GRand - !3795 girepository: Skip GIRepository versions not matching GIRepository-3.0 - !3798 docs: Drop outdated .gitignore files - !3799 tests: Fix a minor leak in the new GParamSpecPool test - !3800 ci: Re-enable and fix FreeBSD CI - !3801 gmessages: Port all doc comments to gi-docgen - !3802 [th/g-pointer-bit-lock-ext] glib: add g_pointer_bit_unlock_and_set() and g_pointer_bit_lock_mask_ptr() - !3803 ci: Fix tarballing the docs on dist - !3805 girepository: Various small API cleanups - !3806 gsignal.c: drop an optimization that is undefined behaviour - !3808 glib/deprecated: Skip all the deprecated gthread api - !3809 docs: Fix links to symbols outside the allowed namsepace - !3810 gstrfuncs: Improve and port g_set_str() docs to gi-docgen - !3811 gvariant-parser: Mention annotated types - !3812 brz.c: Use uintptr_t instead of a hardcoded list of 64-bit arches - !3813 gobject: define HAVE_OPTIONAL_FLAGS for sizeof(void*) > 8 - !3814 Fix typo in GPOINTER_TO_SIZE documentation - !3817 docs: Allow building man pages without the reference documentation - !3818 docs: Clarify >=2.76 changes to g_module_open() - !3821 tests: Fix a minor leak in the socket test - !3823 girepository: Misc cleanups - !3826 genums: use g_once_init_enter_pointer for GType initializers - !3827 array-test: Don't assume sizeof(void*)==sizeof(gsize) - !3831 gvariant-core: Don’t call posix_memalign() with size==0 - !3833 girepository: Change various alignments to use size_t - !3835 build: Ignore branches in g_clear_*() functions under lcov - !3837 tests: A couple of test isolation improvements - !3839 gvarianttype: Fix typos - !3840 girepository: Exclude private symbols from the ABI - !3841 docs: Fix member names of GLib.LogLevelFlags - !3842 gio, gmodule, gthread: compile windows resources only in shared build Overview of changes in GLib 2.79.0, 2023-12-22 ============================================== * Port to gi-docgen and drop gtk-doc support — dependencies have changed, and Meson needs `-Ddocumentation` now rather than `-Dgtk_doc` (#3037, work by multiple people) * Move libgirepository into glib.git from gobject-introspection.git — but tools like `g-ir-scanner` are currently still in gobject-introspection.git. For the moment, glib.git needs to be built twice, once with `-Dintrospection=false`, then build gobject-introspection.git, then re-build glib.git with `-Dintrospection=true`. This process will evolve throughout the GLib 2.80 cycle. The API and ABI of libgirepository has changed, and accordingly its version number has been bumped from 1.0 to 2.0 (note: the version number of `GIRepository-*.gir` has been bumped from 2.0 to 3.0; see !3786). The GIR and typelib file formats have not been changed, and are still at version 1.0. (#3155, work by multiple people) * Match behaviour for `GAppInfo` searches has changed (#3082, work by Nelson Benítez León) * Rename `GTK_USE_PORTAL` environment variable to `GIO_USE_PORTALS` (#3107, work by Philip Withnall) * Bump Meson dependency to 1.2.0 and depend on Python `packaging` module (!3666, !3752) Bugs fixed: - #596 GApplication in Garbage Collected environments would benefit from a g_application_command_line_exit() to enable remote instances to exit. (Aleksandr Mezin) - #791 Wish: Add a "nodelay" property to GSocket or GTcpConnection (Philip Withnall) - #2810 thread-pool-slow intermittent assertion failure in test_thread_sort_entry_func() (Philip Withnall) - #2824 G_REGEX_OPTIMIZE causes incorrect regex behaviour - #2991 Drop translatable pspec nick/blurbs from properties in GIO (Sophie Herold) - #3082 Investigate prioritising prefix matches on GAppInfo keywords over substring matches on names (Nelson Benítez León) - #3087 glib doesn't cleanly unload on Windows (Luca Bacci) - #3098 Make invalid escape sequences in GKeyFile fatal (Philip Withnall) - #3103 mkenums: Can't parse an enum value with value ',' (Lukáš Tyrychtr) - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 (Philip Withnall) - #3107 Rename GTK_USE_PORTAL to avoid portal services being run with portals force-enabled (Philip Withnall) - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) (Philip Withnall) - #3112 Update to Unicode 15.1 (Philip Withnall) - #3115 Support for additional strftime formatting capabilities - #3116 gio clears modification time in microseconds when setting with `set_modification_date_time` (Lukáš Tyrychtr) - #3119 Add support for `%Ey` to g_date_time_format() (Philip Withnall) - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled (Philip Withnall) - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o - #3130 Segfault when creating GIO GPropertyAction without properties - #3134 glib incompatible with Python 3.12 due to distutils usage - #3135 Add GNU/Hurd CI - #3140 Add a flag to not copy modification time when copying files (Khalid Abu Shawarib) - #3144 `g_file_set_contents_full()` doesn't truncate the file (without `G_FILE_SET_CONTENTS_CONSISTENT`) (Philip Withnall) - #3156 check for #ifdef PTRACE_O_EXITKILL will always fail since it isn't a macro (Alessandro Bono) - #3157 gsubprocess build-time test intermittently timing out since 2.78.1 (Simon McVittie) - #3158 "CRITICAL" log when using --attributes option for "gio info" (Philip Withnall) - #3159 glib regex test fails JIT compiler tests under musl libc (Pablo Correa Gómez) - #3161 codegen installation is broken - #3168 gvfs-udisks2-volume-monitor SIGSEGV in g_content_type_guess_for_tree() due to filename with bad encoding (Ondrej Holy) - #3183 g_dbus_connection_signal_subscribe with flag G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH doesn't work with an arg0 that is an object path (Philip Withnall) - #3185 g_utf8_collate_key() segfaults when passed an invalid length - #3186 [RFE] Increase gio sniff buffer for mime type magic detection to 16K or so (Philip Withnall) - #3187 g_vasprintf crashes when passed invalid UTF-8 (Philip Withnall) - #3191 Crash in __gio_xdg_cache_mime_type_subclass (Philip Withnall) - #3203 Fdo notification fails without AppID (Michael Catanzaro) - !3143 gatomic: Use g(u)intptr where appropriate - !3316 gobject: Separate GWeakRef from GWeakNotify - !3394 gsocketclient: Document delays/timeouts better - !3457 glib-unix: Add convenience API for pipes - !3524 add muslc ci - !3552 gutils: Use international symbol for bits - !3566 Update annotations for GAsyncQueue and GDir - !3567 Update annotations for GHmac - !3568 Update GOptionContext annotations - !3569 Small fixes and cleanups for Vectored Exception Handlers - !3571 Update GStringChunk annotations - !3572 Update GRand annotations - !3573 Update GTimer annotations - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers - !3577 gthread: introduce g_once_init_{enter,leave}_pointer - !3578 GType: Use guintptr as the underlying storage if larger than gsize - !3579 Fixes for integer cast warnings when targeting CHERI - !3580 Fix test_find_program on FreeBSD - !3581 gthread: Fix optional/nullable annotations for g_once_init_*() - !3582 Buffer needs to be aligned correctly to receive linux_dirent64. - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC (Chun-wei Fan) - !3590 gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint - !3591 Switch to using gi-docgen for docs (batch 1) - !3594 Fix gutils-user-database test on macOS - !3595 gobject: cache flags needed for g_type_create_instance() - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX - !3597 Expand security policy to cover previous stable branch - !3598 Document NULL pointer pitfall in toolchain requirements - !3601 meson: Fix Windows build with PCRE2 as sibling subproject - !3603 Add GBytes variants for GSocket receive methods - !3605 build: Post-release version bump - !3607 Make sure the `GTask` is freed on a graceful disconnect - !3610 gdesktopappinfo: Do not search Comment field - !3611 tests/constructor: Fix "unknown pragma ignored" warning on clang - !3612 Update GStrv annotations - !3613 tests: Fix gdatetime test on non-UTC systems - !3620 gmain: avoid a GList traversal when removing source - !3621 wakeup: do single read when using eventfd() - !3623 Windows: Compile with the UNICODE / _UNICODE macros - !3624 wakeup: Fix g_wakeup_acknowledge if signal comes in - !3627 Add Hurd code owners - !3628 glib-unix: Use full path to gstdio.h include - !3629 glib/tests/meson.build: remove identical build targets - !3630 glib-compile-resources: ensure alignment is at least sizeof(void *) - !3632 Stop using enums in bitfields - !3633 Use g_task_return in task threads - !3634 Switch to using gi-docgen for docs (batch 2) - !3635 Fix warnings with Clang on Windows and enable --Werror in CI - !3636 Generate introspection data - !3637 gstrvbuilder: Add g_strv_builder_take - !3638 Cleanup and add content to glib debugging using gdb scripts - !3640 GIO/tests: skip test_resources_binary on MIPS platforms - !3641 build: Simplify MIPS test check - !3645 Switch to using gi-docgen for docs (batch 3) - !3646 ci: Update from clang-format-11 to clang-format-14 - !3647 Switch to using gi-docgen for docs (batch 4) - !3652 GApplicationCommandLine: add print[err]_literal() - !3654 gdatetime: Fix minor leaks from strup/strdown calls - !3655 gdatetime: Fix incorrect alt-digits being used after changing locale - !3656 gmodule-dl: Use RTLD_DEFAULT on FreeBSD too - !3660 Switch to using gi-docgen for docs (batch 5) - !3661 Switch to using gi-docgen for docs (batch 6) - !3662 Switch to using gi-docgen for docs (batch 7) - !3663 gdbusconnection: don't cache G_IO_ERROR_CANCELLED errors - !3664 gmain: optimize "context->sources" hash table to use as set - !3665 ci: Remove .build-linux from Hurd CI scheduled job - !3666 build: Bump Meson dependency to 1.2.0 - !3667 Switch to using gi-docgen for docs (batch 8) - !3668 Socket & readiness fixes - !3671 gio/tests: Add test generated txt as the resources test dependency - !3672 glib-private: Check for LSAN support at runtime when controlling it - !3674 gtask: Add g_task_return_prefixed_error() - !3677 Make GQuark register intentional leaks - !3678 gsignalgroup: Avoid function call with side effect in g_return_* macro - !3679 gmessages: fix dropping irrelevant log domains - !3682 tests: Fix dependency of test.gresource on test-generated.txt - !3683 glib: Disable dynamic asan loading on macOS - !3687 fix: about libproc.h and PROC_PIDLISTFD_SIZE - !3688 build: Fix the inclusion paths for GIR files in gi-docgen - !3689 meson: Add missing dependencies for utility files for gdbus-codegen - !3690 Switch to using gi-docgen for docs (batch 9) - !3695 gvalue: add "steal_string" - !3699 [th/prgname] use atomic pointers for g_prgname/g_application_name and add g_set_prgname_once() - !3701 tests: Fix gio-tool.py test on macOS - !3702 glib.supp: Suppress the global_mime_dirs allocations - !3703 Port GIRepository to GTypeInstance and add introspection - !3704 girepository: Rename symbols to the GI namespace - !3707 girepository: Ignore set-but-not-used warnings with G_DISABLE_ASSERT - !3708 Fix various leaks in cmph-bdz-test and gutils - !3709 Switch to using gi-docgen for docs (batch 10) - !3710 gmessages: introduce g_log_writer_default_set_debug_domains() - !3711 ghmac: Add a boxed type for GHmac and fix introspection build accordingly - !3712 Switch to using gi-docgen for docs (batch 11) - !3713 gfileutils: Fix g_file_get_contents() silent under-read of large files when off_t is wider than size_t - !3714 xdgmime: Handle buggy type definitions with circular inheritance - !3715 goption: Fix a typo - !3716 tests: Improve build of cmph tests in girepository - !3717 tests: provide reason for disabling convert test under musl - !3721 gtestutils: Add g_test_trap_subprocess_with_envp() for testing envs - !3722 gdir, gstrvbuilder: Add refcounting support and a boxed type - !3723 gwin32: Un-hide symbols when building GIR - !3726 tests: Fix fileutils build on FreeBSD and macOS - !3731 tests: Fix string test failure on BSDs - !3732 gspawn: Stop spewing debug messages - !3733 ci: Make the Alpine CI name more consistent - !3734 gdatetime: Disable ERA support on platforms which don’t support this - !3735 ci: Fix printing info message at end of run-style-check-diff.sh - !3736 build: Rename -Dgtk_doc option to -Ddocumentation and fix some g-ir-scanner warnings - !3739 Documentation only: Added clarification about GWeakNotify and removed ambiguous text - !3741 hash: Explicitly annotate key in iter_next as nullable - !3743 ci: Install correct version of Meson on Alpine CI image - !3745 tests: Assert there no errors first in gdbus-test-codegen - !3751 Fix generated RST anchors for methods, signals and properties - !3752 build: Make packaging module required - !3753 gobject_gdb.py: Do not break bt on optimized build - !3755 tests: Use textwrap.dedent to indent expected strings pleasingly - !3757 ci: Re-add explicit Meson version to Alpine CI image - !3758 docs: Add a section on version checking macros - !3760 girepository: Various API cleanups - !3761 gerror: Fix an old allow-none annotation - !3762 [th/notify-queue] some optimization around g_object_freeze_notify()/g_object_thaw_notify() - !3763 girepository: Drop libgio dependency from gdump.c - !3764 gsignal: fix reference to signals documentation page - !3765 gapplication: Fix minor typo in docs - !3767 girepository: Port documentation to gi-docgen and update - !3768 ci: Build docs artifacts for deployment to docs.gtk.org - !3770 GDateTime: Add usec precision API for unix time - !3771 gtask: Add g_task_return_new_error_literal() - !3772 gobject: Make GLib-2.0 gir build depend on GObject dependency - !3773 girepository: Return enumerated versions and search paths as a GStrv - !3776 glocalvfs: Remove unnecessary and buggy code - !3777 Fix detecting size_t size when `-Wmissing-prototypes` is in CFLAGS - !3779 gtypemodule: Add assertions in finalize() - !3782 docs: fix a typo - !3786 girepository: Re-number GIR file from 2.0 to 3.0 - !3787 docs: Install the gi-docgen docs
devel/glib2: Unbreak DragonFly build The need for `environ` to be a weak symbol is true for DragonFly, too -- not just FreeBSD.
glib2 glib2-tools gdbus-codegen: updated to 2.78.4 Overview of changes in GLib 2.78.4, 2024-01-21 ============================================== * Bugs fixed: - Backport !3751 “Fix generated RST anchors for methods, signals and properties” to glib-2-78 - docs/reference: depend on a native gtk-doc - Backport !3753 “gobject_gdb.py: Do not break bt on optimized build” to glib-2-78 - Backport !3750 “gregex: clean up usage of _GRegex.jit_status” to glib-2-78 Overview of changes in GLib 2.78.3, 2023-12-06 ============================================== * Fix a crash-causing regression in xdgmime * Bugs fixed: - Crash in __gio_xdg_cache_mime_type_subclass (Philip Withnall) - Backport !3742 “xdgmime: Update to upstream commit c2c814d4051f232” to glib-2-78 Overview of changes in GLib 2.78.2, 2023-12-05 ============================================== * Bugs fixed: - check for #ifdef PTRACE_O_EXITKILL will always fail since it isn't a macro (Alessandro Bono) - gsubprocess build-time test intermittently timing out since 2.78.1 (Simon McVittie) - Backport !3669 “meson: Improve PTRACE_O_EXITKILL presence check” to glib-2-78 - Backport !3677 “Make GQuark register intentional leaks” to glib-2-78 - Backport 3678 “gsignalgroup: Avoid function call with side effect in g_return_* macro” to glib-2-78 - Backport !3685 “tests: Don't assume that sh optimizes simple commands into exec” to glib-2-78 - Backport !3714 “xdgmime: Handle buggy type definitions with circular inheritance” to glib-2-78 - Backport !3725 “collate: Don't segfault on bad input” to glib-2-78 * Translation updates: - Ukrainian (Yuri Chornoivan)
glib2: fix previous, actually that patch is no longer needed
glib2: add missing patch checksum
glib2 glib2-tools gdbus-codegen: updated to 2.78.1 Overview of changes in GLib 2.78.1, 2023-10-25 ============================================== * Fix truncating files when `g_file_set_contents_full()` is called without `G_FILE_SET_CONTENTS_CONSISTENT` * Fix `-Dlibelf=disabled` on Linux * Bugs fixed: - NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0 (Philip Withnall) - gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such file or directory) (Philip Withnall) - gio clears modification time in microseconds when setting with `set_modification_date_time` (Lukáš Tyrychtr) - Build of glib 2.78.0 ignores -Dlibelf=disabled (Philip Withnall) - glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o - Segfault when creating GIO GPropertyAction without properties - `g_file_set_contents_full()` doesn't truncate the file (without `G_FILE_SET_CONTENTS_CONSISTENT`) (Philip Withnall) - guniprop.c: Avoid creating (temporarily) out-of-bounds pointers - Fixes for integer cast warnings when targeting CHERI - Fix test_find_program on FreeBSD - gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC (Chun- wei Fan) - Fix gutils-user-database test on macOS - Add value annotation to G_TYPE_FUNDAMENTAL_MAX - meson: Fix Windows build with PCRE2 as sibling subproject - Backport “gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC” to glib-2-78 - Backport “glocalfileinfo: Preserve microseconds for access/modify times” to glib-2-78 - Backport “Make sure the `GTask` is freed on a graceful disconnect” to glib-2-78 (Pavel Sobolev) - Backport “Buffer needs to be aligned correctly to receive linux_dirent64.” to glib-2-78 - Backport “gtestutils.h: Fix warning with -Wsign-conversion caused by g_assert_cmpint” to glib-2-78 - Backport “tests: Drop unnecessary include from gsubprocess- testprog.c” to glib-2-78 - Backport “wakeup: do single read when using eventfd()” to glib-2-78 - Backport “wakeup: Fix g_wakeup_acknowledge if signal comes in” to glib-2-78 - Backport “Use g_task_return in task threads” to glib-2-78 - Backport “build: Fix -Dlibelf=disabled on Linux” to glib-2-78 - Backport “gfileutils: Add a missing ftruncate() call when writing files” to glib-2-78 * Translation updates: - Catalan (Jordi Mas i Hernandez) - Chinese (China) (Boyuan Yang) - Czech (Daniel Rusek) - Esperanto (Kristjan SCHMIDT) - French (Alexandre Franke) - Georgian (Ekaterine Papava) - Italian (Milo Casagrande) - Latvian (Rūdolfs Mazurs) - Portuguese (Brazil) (Rafael Fontenelle) - Romanian (Daniel Șerbănescu) - Russian (Artur S0) - Slovenian (Matej Urbančič) - Spanish (Daniel Mustieles) - Turkish (Sabri Ünal)
devel/glib2: Include sys/ptrace.h only on systems that have this include file.
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
glib2 glib2-tools gdbus-codegen: updated to 2.76.5 Overview of changes in GLib 2.76.5, 2023-08-31 ============================================== * Bugs fixed: - Possible SEGV (null pointer deref) in distribute_method_call() (Philip Withnall) - Possible SEGV (null pointer deref) in _g_resource_file_new() (Philip Withnall) - Backport !3529 “gmenuexporter: synchronization in org_gtk_Menus_get_interface.” to glib-2-76 - Backport !3547 “glib/gfileutils.c: use 64 bits for value in get_tmp_file()” to glib-2-76 - Backport !3554 “gresourcefile: Fix crash if called with a badly escaped URI” to glib-2-76 - Backport !3555 “gkeyfile: Fix overwriting of GError” to glib-2-76 - Backport !3539 “gdbusmessage: Validate required headers have the right type” to glib-2-76
glib2: fix update builds on macOS. Use DYLD_LIBRARY_PATH (searched first) instead of DYLD_FALLBACK_LIBRARY_PATH (searched last) to find newly built libraries even if an earlier version is already installed.
glib2 glib2-tools gdbus-codegen: updated to 2.76.4 Overview of changes in GLib 2.76.4, 2023-07-06 ============================================== * Fix build failure on Android with `statx()` support * Bugs fixed: - glib-compile-schemas failed on directory name with no Latin symbols (Daniyar Tleulin) - Build failure due to statx fields with NDK r25.c (Philip Withnall) - Backport !3446 “glib-compile-resources: Fix non-ASCII arg parsing on Windows” to glib-2-76 - Backport !3473 ”glib: reset errno to 0 when futex() returns EAGAIN” to glib-2-76 - Backport !3468 “Avoid stack overflow in gspawn on macOS” to glib-2-76 - Backport !3482 “glocalfileinfo: Fix incorrect use of struct statx.st_mtimensec on Android” to glib-2-76 * Translation updates: - English (United Kingdom) (Bruce Cowan) - Portuguese (Brazil) (Leônidas Araújo) - Slovak (Dušan Kazik)
devel/glib2: Fix build on macOS without cocoa option.
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)
devel/glib2: Unbreak build on Darwin Uses DYLD_FALLBACK_LIBRARY_PATH to locate a library used in the build process but not yet installed Patch submitted in PR pkg/57415 by jonathan buschmann ok wiz@
Work around PR pkg/57399.
glib2 glib2-tools gdbus-codegen: updated to 2.74.6 Overview of changes in GLib 2.74.6 ================================== * Bugs fixed: - !3239 Backport !3237 “Fix safe_wspawnve #define” to glib-2-74 * Translation updates: - Georgian (Ekaterine Papava) - German (Tim Sabsch)
glib2 glib2-tools gdbus-codegen: updated to 2.74.5 Overview of changes in GLib 2.74.5 ================================== * Bugs fixed: - gtk_show_uri can't open browser on MSYS2 on Windows (Luca Bacci) - Invalid read of size 4 in get_matched_substring_number (Philip Withnall) - g_file_set_contents fails on mingw64 with "no error" if file size > INT_MAX (CCode) - gthread-posix: need to #include <errno.h> - Backport !3160 “GWin32AppInfo: Check for local file path first” to glib-2-74 - Backport !3178 “glocalfileinfo: Don't reset mtime tv_sec when setting tv_usec” to glib-2-74 - Backport !3194 “gregex: Prevent invalid memory access for unmatched subpatterns” to glib-2-74 - Backport !3200 “gfileutils: Use 'write' with 'count' <= max value of its return type” to glib-2-74 - Backport !3213 “gvariant: Optimise g_variant_print() for nested maybes” to glib-2-74 * Translation updates: - Abkhazian (Nart Tlisha)
glib2 glib2-tools gdbus-codegen: updated to 2.74.4 Overview of changes in GLib 2.74.4 ================================== * Fix missing input validation in `GDBusMenuModel` (work by Lars Uebernickel) * Various GVariant security fixes when handling untrusted data (work by William Manley, Philip Withnall, Simon McVittie) * Bugs fixed: - insufficient input validation in GDBusMenuModel (Lars Uebernickel) - GVariant deserialisation does not match spec for non-normal data (William Manley, Philip Withnall) - Parsing serialized GVariants can blow up run-time and memory (Philip Withnall) - GVariant offset table entry size is not checked in is_normal() (Philip Withnall) - g_variant_byteswap() can take a long time with some non-normal inputs (Philip Withnall) - gio/gapplication test fails with test_dbus_activate: assertion failed (n_activations == 2): (1 == 2) (Philip Withnall) - [bisected] GVariant test regression on big-endian architectures (Simon McVittie) - fuzz_variant_binary_byteswap: Heap-buffer-overflow in g_variant_serialised_get_child (Philip Withnall) - fuzz_variant_text: Timeout in fuzz_variant_text (Philip Withnall) - alpine/musl: catching signals from a subprocess triggers GLib:ERROR:../glib/gmain.c:5569:siginfo_t_to_wait_status: code should not be reached (Philip Withnall) - !3114 Backport !3113 “gaction: Validate actions activated over D-Bus” to glib-2-74 - !3126 Backport !3125 “Various fixes to normal form handling in GVariant” to glib-2-74 - !3134 Backport !3133 “gmenumodel: disallow exporting large menus on the bus” to glib-2-74 - !3138 Backport !3136 “gvariant-serialiser: Convert endianness of offsets” to glib-2-74 - !3153 Backport !3120 “glib/gthread-posix: Conditionally use `futex` and/or `futex_time64` syscalls...” to glib-2-74 - !3161 Backport !3158 ”gmain: Define fallback values for siginfo_t constants for musl” to glib-2-74 - !3164 Backport !3163 “gvariant: Check offset table doesn’t fall outside variant bounds and speed up text parsing” to glib-2-74 * Translation updates: - Abkhazian (Nart Tlisha) - Belarusian (Vasil Pupkin) - Georgian (Ekaterine Papava) - Interlingue (Olga Smirnova)
glib2 glib2-tools gdbus-codegen: updated to 2.74.3 Overview of changes in GLib 2.74.3 ================================== * Fix regression in type checking `g_str_equal()` from C++ projects (2820) * Bugs fixed: - 2820 g_str_equal: New macro version breaks compilation in C++ projects (Philip Withnall) - !3096 Backport !3094 “gstrfuncs: Fix regression in C++ types accepted by g_str_equal()” to glib-2-74 Overview of changes in GLib 2.74.2 ================================== * Fix `GVariant` type depths checks on text format variants (work by Philip Withnall) (2782) * Fix an obscure corner case with FD handling in `g_spawn_*()` when a process has already closed the standard I/O FDs (work by Ray Strode) (2795) * Fix regression in type checking on `const` arguments to `g_str_equal()` (2809) * Bugs fixed: - 2782 GVariant type depth not checked on typedecls in text format variants (Philip Withnall) - 2795 [regression] gnome-keyring-daemon uses 100% CPU with glib-2.74.1 (Ray Strode) - 2799 Wrong GTask tag on error return path in g_proxy_resolver_lookup_async() (Michael Catanzaro) - 2809 g_str_equal switched to stricter API (typing) (Philip Withnall) - !3017 Backport !3008 “gio/gdesktopappinfo: Free the wrapped argv array on launch failure” to glib-2-74 - !3038 Backport !3035 “portal: Fix broken header guard” to glib-2-74 - !3039 Backport !3029 “Revert "Handling collision between standard i/o file descriptors and newly created ones" ” to glib-2-74 - !3046 Backport !3045 “gproxyresolver: lookup_finish() should better parallel lookup_async()” to glib-2-74 - !3063 Backport !3061 “gvariant-parser: Speed up maybe_wrapper() by an order of magnitude” to glib-2-74 - !3084 Backport !3082 “gstrfuncs: Fix regression in types accepted by g_str_equal()” to glib-2-74 * Translation updates: - Abkhazian (Nart Tlisha) - Dutch (Nathan Follens) - Serbian (Мирослав Николић)
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)
glib2: updated to 2.72.4 Overview of changes in GLib 2.72.4 ================================== * Bugs fixed: - g_cond_wait_until: returning FALSE immediately on mips24 (Philip Withnall) - Regression: in GLib 2.72.3, in gsocketclient/cancellable (Philip Withnall) - GParamSpec constructors should have nullable annotation on nick/blurb (Andy Holmes) - gio: GVariantBuilder builder leaked in g_document_portal_add_documents when URI list is empty (Sebastian Keller) - Backport !2808 “gsocketclient: Fix passing NULL to g_task_get_cancellable()” to glib-2-72 * Translation updates: - Czech (Marek Černocký) - Georgian (Zurab Kargareteli) - Hungarian (Balázs Úr) - Serbian (Мирослав Николић) - Spanish (Daniel Mustieles)
glib2 glib2-tools gdbus-codegen: updated to 2.72.3 Overview of changes in GLib 2.72.3 ================================== * Bugs fixed: - disposing a non-cancelled inotify GFileMonitor causes deadlocks - Crash in g_socket_client_enumerator_callback when proxy resolving - xdgmime update breaks webkit2gtk file:// requests - Growing memory when using cancellable in g_socket_client_connect_async - glocalfilemonitor: Avoid file monitor destruction from event thread - Backport !2707 âcredentials: macos: check for existence of LOCAL_PEERPIDâ to glib-2-72 - Backport !2708 âxdgmime: Fix broken file:// content type lookups for webkitgtkâ to glib-2-72 - Backport !2745 âgsocketclient: Fix still-reachable references to cancellablesâ to glib-2-72 - Backport !2742 âproxyaddressenumerator: set error parameter more thoughtfullyâ to glib-2-72
glib2*: update to 2.72.2 Overview of changes in GLib 2.72.2 ================================== * Bugs fixed: - #2640 UWP warnings about extensions and verbs with glib 2.72.1 - !2605 Backport !2449 and !2600 mingw test fixes to glib-2-72 - !2616 Backport !2615 “Meson: Fix gio-windows-2.0 override name” to glib-2-72 - !2629 Backport !2626, !2627 minor leak fixes to glib-2-72 - !2643 Backport !2642 “meson: Check rres.compiled() before calling rres.returncode()” to glib-2-72 - !2644 Backport !2631 “Cast to guintptr instead of subtracting by null” to glib-2-72 - !2662 Backport !2654 “gtask: use g_strconcat() in g_task_return() only if needed” to glib-2-72 - !2691 Backport !2661 “win32appinfo: change log level from warning to debug” to glib-2-72 Overview of changes in GLib 2.72.1 ================================== * Fix building projects which use g_warning_once() with clang++ (#2625) * Fix `g_file_trash()` not deleting directories via the portals backend (work by Matthias Clasen) (#2629) * A number more compiler warnings fixed for MSVC (work by Loïc Le Page) (!2495) * Fix detection of broken `poll()` function on macOS (work by Haruka Ma) (!2571) * Fix spawning subprocesses from GUI programs on Windows (work by Marc-André Lureau) (!2582) * Bugs fixed: - #2312 gdbus-test-codegen tests leak GWeakRef objects - #2625 g_warning_once fails to build with clang++ - #2629 g_file_trash() does not work on directories inside a sandbox - !2495 Cleanup warnings split 6 - !2499 Various contenttype-related test fixes on win32 - !2534 gpowerprofilemonitor: Tweak wording of documentation to make more sense - !2540 Various win32 tests skip & fixes - !2541 meson: simplify lookup of python command - !2543 ci: Update the Fedora CI image to Fedora 34 - !2556 gdbusconnection: Use g_strv_contains() rather than a home-grown version - !2557 gdbusmethodinvocation: Fix a leak on an early return path - !2558 Move unit test on g_basename() function to glib/tests/fileutils.c - !2559 Move tests/relation-test.c to glib/tests/relation.c - !2560 ci: Update Coverity, mingw and Android CI images to Fedora 34 - !2563 glib: Format GDateTime ISO8601 years as %C%y - !2564 Move test files on slices from tests/ to glib/tests/ - !2566 tests: Add more tests for GResolver response parsing - !2573 Backport translation fixes and !2571 “meson: Set BROKEN_POLL in macOS builds” to glib-2-72 - !2574 Backport !2565 “Revert "meson: simplify lookup of python command"” to glib-2-72 - !2587 Backport !2583 “Fix trashing sandboxed directories” to glib-2-72 - !2588 Backport !2582 “glib/win32: fix spawn from GUI regression” to glib-2-72 - !2590 Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72 - !2593 Backport !2578 “gatomic: Add a C++ variant of g_atomic_int_compare_and_exchange()” to glib-2-72 Overview of changes in GLib 2.72.0 ================================== * Bugs fixed: - #2620 g_time_zone_new_offset() assertion failure if offset >= 25 hours - !2538 Various unit test fixes - !2542 fuzzing: Fix test failure with G_DISABLE_ASSERT - !2547 gprintf: Fix a memory leak with an invalid format in g_vasprintf() - !2548 tests: Various fixes to gdbus-auth, gdbus-non-socket, gdbus-connection-flush, spawn-multithreaded tests - !2551 tests: More flaky test fixes to converter-stream and test-printf - !2552 gtlsconnection: fix typo in docs Overview of changes in GLib 2.71.3 ================================== * Fix flaky `GDebugController` tests (!2504) * Numerous small documentation updates * Bugs fixed: - #517 g_utf8_collate returns 0 on U+C5D0 vs U+CD94 - #1929 gdbus-connection-flush: setup_client_cb: Exhausted all available authentication mechanisms (tried: EXTERNAL, DBUS_COOKIE_SHA1) - #2589 Hash sign misinterpreted as heading - #2598 g_main_loop_run() may leak a GMainLoop reference - #2609 Clarify documentation for g_log_set_debug_enabled() - #2611 Unspecified options considered present - #2612 side effects of ensure_valid_dict result used in g_return_if_fail macro - #2613 Naked magic literal in gvariant.h - !1707 Add cache to g_unix_mount_points_get() - !2424 Remove old test file tests/testglib.c - !2451 glib: fix buffer overflow in g_canonicalize_filename() - !2466 Various minor fixes for empty argv handling - !2480 Various glib/tests/date fixes on win32 - !2485 Various spawn-related test fixes on win32 - !2490 Cleanup warnings split 1 - !2491 Cleanup warnings split 2 - !2492 Cleanup warnings split 3 - !2493 Cleanup warnings split 4 - !2501 glib-compile-resources: Fix a memory leak of the compiler option - !2502 tests: Merge iochannel-test into io-channel tests in glib directory - !2503 gbacktrace: Fix a set-but-not-used variable - !2504 gdebugcontrollerdbus: Track pending tasks with weak refs - !2505 tests: Stop ignoring test failures on macOS - !2506 gresource-tool: Fix unused-but-set-variable warn with G_DISABLE_ASSERT - !2507 ci: Drop custom dependency builds from installed-tests - !2508 codegen: Reformat parser.py according to black - !2509 tests: Fix various small memory leaks - !2510 gdesktopappinfo: Fix a leak when launching URIs over D-Bus - !2512 doc: Extend a bit G_DECLARE_* documentation example - !2513 gmain: Expand documentation about GSource priorities a little - !2514 ci: Various cleanups and moving Android API 21 and FreeBSD 12 to scheduled run - !2515 gmessages: Fix typo in docs - !2516 glocalfileinfo: Always define _g_stat_mtim_nsec, etc. - !2517 meson: Add schemasdir and giomoduledir to gio dependency - !2518 meson: Set GIO_EXTRA_MODULES in devenv - !2519 gdebugcontrollerdbus: Mark a variable as G_GNUC_UNUSED - !2520 tests: Remove threads from mock-resolver/network-address test - !2523 Add handling of NULL time_t* pointer as argument - !2524 Revert "meson: Add schemasdir and giomoduledir to gio dependency" - !2525 meson: Add schemasdir and giomoduledir to gio dependency - !2526 Remove unused test tests/testgdateparser.c - !2527 Move tests/type-test.c to glib/tests/types.c - !2528 meson: Add PYTHONPATH to load GDB helper module - !2531 gtask: Document that task name is set by g_task_set_source_tag() Overview of changes in GLib 2.71.2 ================================== * Rework `glib-compile-resources` to output compiler-specific files to reduce compilation time; see the new `--compiler` option (work by Emmanuele Bassi) (#2492) * Add a cross-platform API for aligned memory allocations (`g_aligned_alloc()`, `g_aligned_alloc0()` and `g_aligned_free()`) (work by Emmanuele Bassi) (#2574) * Deprecate `force_posix_threads` configure option, since it was a workaround for static linking on Windows (#2592) * Add `GBindingGroup` and `GSignalGroup` APIs (work by Christian Hergert and Garrett Regier) (!2235) * Implement FD remapping support for `g_spawn_async_with_pipes_and_fds()` on Windows (work by Marc-André Lureau) (!2458) * Add an async file move API, `g_file_move_async()` (work by Lucas Schwiderski) (!2469) * Bugs fixed: - #1190 gapplication: Add an org.gtk.Debugging interface - #2329 GApplication CLI parsing of DOUBLE type failure - #2492 glib-compile-resources contains resource data twice and creates large output files - #2563 g_test_build_filename and friends not safe to call after g_test_run() has finished - #2574 Add API for aligned allocations - #2592 Consider deprecating 'force_posix_threads' build option - #2601 Missing <para> tag in generated files - !2235 Add GBindingGroup and GSignalGroup - !2378 gtestutils: Mention the unit used for the test timer - !2404 File tests - !2433 Remove tests/testgdate.c from tests - !2458 Implement fd passing for Windows spawn - !2464 Amend g_bus_get* documentation regarding private connection - !2465 gi: expose some files as variable for gobject-introspection - !2467 ci: Add link to Coverage output at end of coverage job - !2468 gfile: resolve_relative_path isn't nullable - !2469 Implement async file movement - !2471 Fix test on the date format for FreeBSD and MacOS X. - !2472 Fix test date (again)... - !2473 Fix glib/test/date.c for FreeBSD/OpenBSD/MacOS X - !2476 Add G_UNICODE_SCRIPT_MATH to GUnicodeScript - !2477 Improve coverage of two digit years in gdate tests - !2481 Fix glib/tests/fileutils on win32 - !2482 Fix unit test on date format '%Z' which is too versatile to be trustable - !2483 Fix glib/tests/gdatetime on win32 - !2484 tests: Use g_test_skip() to skip a test on Windows - !2487 gconstructor.h: Visual Studio: Only include gslist.h if needed - !2488 Fix some problems with g_aligned_alloc() tests Overview of changes in GLib 2.71.1 ================================== * Basic support for static builds on Windows (work by Loïc Le Page, Marc-André Lureau, with contributions from Xavier Claessens, Nirbheek Chauhan, Charlie Barto, Luca Bacci, Amos Wenger) (#692, #2585, !2442) * Add `GDebugController` and a D-Bus implementation which exposes whether debug output is enabled in a process using the `org.gtk.Debugging` D-Bus interface (work by Philip Withnall) (#1190) * Support for `AF_UNIX` sockets on Windows 10 (and later) (work by Marc-André Lureau) (#2487) * Several important fixes to GDBus message and GVariant parsing of invalid data (work by Sebastian Wilhelmi) (#2557, #2572) * Fix potential data loss due to missing fsync when saving files on btrfs (work by Sebastian Keller) (!2425) * Fix potential buffer overflows in `garray.c` for very large `GArray`s and `GPtrArray`s (work by Tobias Stoeckmann) (#2578) * Fix FDs in gspawn not being closed and causing process hangs if `close_range()` fails unexpectedly (work by Dan Nicholson) (#2580) * Fix `g_find_program_in_path()` not returning an absolute path if `$PATH` is relative (work by Christoph Niethammer) (#2586) * Add support for loading PKCS#12 encrypted files in `GTlsCertificate` (work by Patrick Griffis) (!2239) * A number of improvements to unit tests (work by Emmanuel Fleury, Charlie Barto) (!2399, !2400, !2402, !2403, !2428, !2431, !2432, !2434) * Support `LOCAL_PEERPID` on macOS, giving partial support for PIDs in `GCredentials` on that platform (work by Ignacio Casal Quinteiro) (!2362) * Add `g_get_user_state_dir()` to support `XDG_STATE_HOME` (work by Sophie Herold) (!2395) * Add `g_hash_table_new_similar()` to copy a hash table and its hash/equal functions without its data (work by Jonas Ådahl) (!2405) * Support D-Bus client authentication with `EXTERNAL` on Windows (work by Marc-André Lureau) (!2429) * Add a reStructuredText documentation generator to `gdbus-codegen` (work by Emmanuele Bassi) (!2448) * Add a Windows implementation of `GMemoryMonitor` (work by Marc-André Lureau) (!2452) * Bugs fixed: - #692 meta: Fix static build on Windows - #1190 gapplication: Add an org.gtk.Debugging interface - #2487 Add support for native unix domain sockets on WIN32 to GLib.Socket and related classes - #2550 possible GDateTime issue with localtime on Illumos/Solaris - #2557 Arrays of zero-element tuples with non-zero length lead to infinite loops in g_dbus_message_new_from_blob - #2559 2.71.0: compile and link time warnings - #2560 Link error xdgmime.c: unresolved external symbol S_ISREG when building with VS2022 - #2564 Hangul Jamo Extended-B should be 0-width - #2565 Build glib-2.71.0 failed in Windows using MSYS2-MINGW64 - #2571 Cross build error "undefined reference to `_g_binary_test1_resource_data'" when building tests for Windows on openSUSE Leap - #2572 Check for GVariant recursion depth before recursing - #2578 buffer overflows in garray.c - #2579 Outdated paths in INSTALL.in - #2580 gspawn doesn't set CLOEXEC if close_range fails unexpectedly - #2582 glib 2.71.0 muslc - build error missing sentinel in function call - #2585 Static link issue on Windows due to resource files being linked in twice - #2586 g_find_program_in_path not returning an absolute path - !2239 gtlscertificate: Add ability to load PKCS#12 encrypted files - !2362 credentials: support the local peerpid on macos - !2384 meson: Fix linking with static library in Windows - !2395 utils: Add XDG_STATE_HOME support - !2399 Move tests/env-test.c into glib/tests/environment.c - !2400 Prevent gtest tests from popping up dialog boxes - !2402 Improving glib/tests/environment.c - !2403 Improve test coverage of glib/tests/asyncqueue.c - !2405 ghash: Add g_hash_table_new_similar - !2407 tests: Fix environment test on FreeBSD - !2411 annotate `g_content_type_guess` parameter as filename - !2412 paramspec: fix unref annotation - !2413 Use meson dependency to link against apple framework - !2414 docs: Improve docs for gdbusutils.c - !2417 gtestutils: Fix minor typos in the g_test_get_filename() docs - !2423 Make clear in doc that signals are emitted synchroniously - !2425 gfileutils: Remove outdated BTRFS fsync optimization from set_contents - !2426 gdbus-codegen: Fix a typo in a comment - !2428 Merge tests/gobject/gvalue-test.c with gobject/tests/value.c - !2429 gdbus: make client work with EXTERNAL on Windows - !2431 Merge tests/gobject/paramspec-test.c into gobject/tests/param.c - !2432 Merge test/unicode-caseconv.c into glib/tests/unicode.c - !2434 Remove a disabled test case that was covered by glib/tests/collate.c - !2440 Improve g_ascii_formatd docs and preconditions - !2441 Reduce the amount of compile-time warnings - !2442 Fix tests with static build on Windows - !2447 giowin32: use gint64 and _lseeki64 - !2448 Add reStructuredText documentation generator for gdbus-codegen - !2452 gio/win32: add GMemoryMonitorWin32 - !2453 Add `(array length)` annotation to `g_tls_certificate_new_from_pkcs12()` - !2454 gdbusmessage, gvariant and garray fixes - !2456 tests: Pass --internal and -z noexecstack to glib-compile-resources tests - !2459 gio: add missing zlib dependency in gio-windows-2.0.pc - !2461 Fix memory leak in gio/gdbusauthmechanismsha1.c - !2463 Revert "Merge branch 'fix-windows-pc' into 'main'" Overview of changes in GLib 2.71.0 ================================== * Fix network changes not being signalled from NetworkManager (work by Julian Andres Klode) (#2505) * Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304) * Fix use of the default log writer with journald namespaces (diagnosis by Ilya Basin) (#2530) * Fix hang in `dbus-daemon` under `GTestDBus` when `G_MESSAGES_DEBUG=all` is set (work by Marco Trevisan) (#2537) * Speed up `g_canonicalize_filename()` to avoid pathogenic cases with `..` (work by Sebastian Wilhelmi) (#2541) * Fix URI for pcre subproject as it’s moved upstream (work by Albert Astals Cid) (!2324) * Fix storing GSettings dictionaries on macOS (work by Maurice) (#2527) * Speed up ‘remove dot segments’ algorithm in `GUri` to avoid pathogenic cases with `..` (work by Sebastian Wilhelmi) (#2526) * Fix infinite loops in D-Bus message parsing for truncated inputs (work by Sebastian Wilhelmi) (#2528) * Improve correctness of version information returned by `g_get_os_info()` for Windows 10/Server 2019+ (work by Chun-wei Fan) (#2443) * Various fixes to GWeakRef cleanup (#865, #2390) and toggle refs (#2394) (work by Marco Trevisan) * Add `G_DBUS_PROXY_FLAGS_NO_MATCH_RULE` flag for disabling match rules when creating a `GDBusProxy` (#1109) * Fix FD remapping in `g_spawn_async_with_pipes_and_fds()` with certain values of target FDs (#2503, #2506) (work by Michael Catanzaro) * Make `GDBusProxy::g-signal` signal detailed with D-Bus signal names (#2536) (work by Aleksandr Mezin) * Emit `launched` signal for D-Bus activation of apps with `GDesktopAppInfo` (!2227) (work by Guido Günther) * Fix IDs of `GDesktopAppInfo`s which are constructed from a `.desktop` file in a subdirectory (!2283) (work by Ivalyo Dimitrov) * Add `--interactive` option to `gdbus call` (!2329) * Add `G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP` to `GSubprocess` (!2333) (work by Hristo Venev) * Bugs fixed: - #475 Add g_alloca0() and g_newa0() - #847 g_set_prgname() should be thread-safe - #865 GWeakRefs not cleared by g_object_run_dispose() - #1109 [PATCH] GDBusProxy: add G_DBUS_PROXY_FLAGS_NO_MATCH_RULE flag - #1231 gobject declare macros cause alignment warnings on armhf/armhf/mipsel - #1331 GArray with 10 million items overflows index arithmetic - #1735 Get back to a -werror build - #1781 Sort output of gsettings command-line tool - #2310 contenttype test leaks xdg-mime internal data - #2390 GWeakRef's aren't cleared again on finalization (and not fully thread-safe) - #2394 Toggle refs notification may not handle multiple threads correctly - #2400 Use-after-free in invoke_set_property_in_idle_cb() - #2401 GDBus runtime warning from remove_interfaces() - #2404 GTask: clarify that GTask assumes are running mainloop - #2426 GSettings delayed apply generates runtime warnings - #2443 Add Windows 11 support to get_windows_version() - #2468 GSequence pessimizes itself and slows down - #2471 g_output_stream_write_all_async prints error when count == 0 and content == NULL - #2488 Unix password unit test fails on FreeBSD 13 - #2489 Add a (diagnostic) warning for finalized objects with floating refs - #2490 Upgrade to Unicode Character Database 14.0 - #2496 Wrong parameter type for g_simple_proxy_resolver_set_ignore_hosts - #2498 GIR: Remove non-existing IOModule methods `load`, `unload` - #2500 Able to export object manager and object on root path, but not other paths - #2503 gspawn.c may clobber target fds - #2505 g_network_monitor_nm never updates on connection change (listens for signal on wrong dbus interface) - #2506 gspawn.c fails to close child_err_report_fd if it is duped to avoid conflation with one of the target_fds - #2507 Strange behavior of GFileEnumerator with GVfs locations - #2514 test suite failure in glib/tests/gdatetime.c if German locale de_DE.ISO-8859-1 is available - #2518 Misleading message when privileged program starts G_BUS_TYPE_SESSION - #2520 g_date_new_ functions return NULL on invalid input - #2523 MacOS generates warnings for g_size_checked_mul() - #2526 fuzz_uri_parse failure - #2527 Error storing dictionary with string keys as GSettings on macOS - #2528 g_dbus_message_new_from_blob goes into infinite loop for certain inputs - #2529 load_user_special_dirs returns NULL in certain cases - #2530 g_log_writer_is_journald fails if a Journal Namespace is used - #2536 GDBusProxy: make g-signal detailed - #2537 GTestDBus dbus daemon causes child process to hang when using verbose output - #2541 g_canonicalize_filename should work in linear time complexity - #2553 Consider not depending on strtoull_l and strtoll_l as much - !1960 Add g_main_context_new_with_flags() and ownerless polling option - !1968 gspawn: Implement fd remapping for posix_spawn codepath, and fix file descriptor conflation issues - !1991 Keyfile parsing performance improvements - !2029 Updating xdgmime - !2064 gobject: Cleanup GWeakRef locations on object finalization - !2114 Coerce type cast to void* because it causes compiler warnings - !2191 docs: Add .editorconfig file - !2214 Document potential footgun with GTlsCertificateFlags and deprecate certain usages - !2223 Better detection of the cleanup attribute. - !2227 gdesktopappinfo: Emit "launched" signal for D-Bus activation too - !2242 gsettings: Add various missing (nullable) or (not nullable) annotations - !2244 gutils: Avoid segfault in g_get_user_database_entry - !2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed - !2246 gobject: Document it’s unsafe to call g_object_ref() from GWeakNotify - !2249 Add version macros for GLib 2.72 and bump version to 2.71.0 - !2251 GString: Bump minimum size - !2254 Small optimization for g_object_set - !2255 gobject: Clarify behaviour of adding weak refs during disposal - !2257 Fix documentation for g_dbus_object_manager_get_object(). - !2260 GWin32AppInfo: Do not assert about successful open'ing of registry keys - !2261 Provide built DLLs as Gitlab-CI artifacts - !2266 fix uninitial variable - !2273 Fix more (Windows) warnings - !2277 Revert "Don't compile some unused functions in gio/xdgmime/" - !2283 GDesktopAppInfo: Try to always correctly set id - !2284 update the proxy-libintl subproject to the latest release - !2285 fix issues found by svace static code analyzer - !2286 meson: fix warnings for extract_all_objects function - !2287 ci: Update CI images to latest stable Debian and Fedora, bump Meson dependency to 0.52 - !2288 Update g_source_remove doc comment: the function doesn't always return TRUE - !2289 Update g_source_remove documentation for the returned value - !2290 mkdir path specified by XDG_RUNTIME_DIR - !2292 Fix cast from pointer to integer of different size warning in gio/gwin32appinfo.c - !2293 glib-private: Fix MSVC build with AddressSanitizer - !2294 Fix windows warnings - !2295 gutf8: Document that out args from g_utf16_to_utf8() are non-negative - !2303 Fix more windows warnings - !2305 gio: document GFile API when relative path is absolute - !2306 gunixmounts: Drop references to pamconsole mount option - !2308 gthread-win32: Remove an unnecessary volatile qualifier - !2309 Rename libpcre.wrap to pcre.wrap - !2310 tests: Fix a typo in a test message in gdatetime.c - !2311 Fix always true comparison warning in glib/garray.c - !2319 docs: Fix the GListModel description - !2323 Fix final warnings in Windows code - !2324 Fix link to pcre-8.37.tar.bz2 - !2326 Improve some documentation related to GTlsDatabase - !2328 gutf8: add string length check when ending character offset is -1 - !2329 gdbus: Add --interactive option to `gdbus call` - !2332 Changed gendered terms to be gender-neutral - !2333 gsubprocess: Add G_SUBPROCESS_FLAGS_SEARCH_PATH_FROM_ENVP - !2336 tests: Drop arbitrary and flaky waits from actions tests - !2339 ci: Bump Meson version to 0.60.1 on macOS - !2341 tests: Wait for gdbus-testserver to die when killing it - !2342 tests: Reformat mkenums.py slightly to make run-black.sh happy - !2345 gutils: Disable some dead code on macOS - !2347 Removing tests/asyncqueue-test.c from tests/ - !2348 gio/tests/codegen.py: bump timeout to 100 seconds - !2349 Annotate `g_getenv()` and `g_environ_getenv()` return value as `nullable` - !2352 tests: Fix a flaky wait in converter-stream - !2353 Address some oddities around GResolver::reload - !2357 ci: Upgrade to clang-format-11 from clang-format-7 - !2360 meson: specify when commands need to succeed in run_command - !2364 tests: Allow `objcopy --help` to fail, because it fails on FreeBSD - !2365 Add vfunc checks in gappinfo.c - !2368 De-duplicate g_nearest_pow() implementation and add some overflow protections to g_ptr_array_maybe_expand(), g_string_maybe_expand() and g_string_chunk_insert_len() - !2370 gqsort: Move test to glib/tests/ - !2371 Freeze notification during object destruction - !2372 docs: Improve GVariant docs - !2373 glib.supp: Suppress one-time allocation in g_get_home_dir() - !2376 GSource: move test to glib/tests/ - !2379 Merging tests/bit-test.c into glib/tests/utils.c - !2381 tests: Test the function forms of g_bit_*() APIs too - !2382 gfileutils: Correctly reset start value when canonicalising paths - !2385 gfileutils: Fix transfer annotation and whitespace issues - !2386 docs: Add API documentation links to the README - !2387 docs: Update the README a little - !2390 Merging tests/child-test.c into glib/tests/spawn-multithreaded.c - !2391 Removing redundant cxx test tests/cxx-test.cpp - !2392 Move tests/completion-test.c to glib/tests/completion.c - !2393 Removing unnecessary test on gdatetime.c - !2396 fuzzing: Add a fuzz test for parsing DNS records - !2397 Moving tests/dirname-test.c to glib/tests/fileutils.c - !2398 fix /list/position test
glib2-tools glib2 gdbus-codegen: updated to 2.70.5 Overview of changes in GLib 2.70.5 ================================== * Bugs fixed: - g_time_zone_new_offset() assertion failure if offset >= 25 hours - glib: fix buffer overflow in g_canonicalize_filename() - gtimezone: Fix assertion failure when called with a huge offset * Translation updates: - Catalan - German - Hungarian - Lithuanian - Romanian - Serbian - Turkish
glib2 glib2-tools gdbus-codegen: updated to 2.70.4 Overview of changes in GLib 2.70.4 ================================== * Bugs fixed: - Backport !2461 “Fix memory leak in gio/gdbusauthmechanismsha1.c” to glib-2-70 * Translation updates: - Czech - French - Indonesian - Japanese - Polish - Portuguese (Brazil) - Russian - Slovenian - Spanish - Swedish - Ukrainian Overview of changes in GLib 2.70.3 ================================== * Several important fixes to FD handling in gspawn * Several important fixes to GDBus message and GVariant parsing of invalid data * Fix potential data loss due to missing fsync when saving files on btrfs * Bugs fixed: - gspawn.c may clobber target fds - gspawn.c fails to close child_err_report_fd if it is duped to avoid conflation with one of the target_fds - Arrays of zero-element tuples with non-zero length lead to infinite loops in g_dbus_message_new_from_blob - Check for GVariant recursion depth before recursing - gspawn doesn't set CLOEXEC if close_range fails unexpectedly - Backport !1968 “gspawn: Fix file descriptor conflation issues” to glib-2-70 - Backport !2412 “paramspec: fix unref annotation” to glib-2-70 - Backport !2425 “gfileutils: Remove outdated BTRFS fsync optimization from set_contents” to glib-2-70 - Backport !2435 “gspawn: Report errors with closing file descriptors between fork/exec” to glib-2-70 - Backport !2454 gdbusmessage and gvariant fixes to glib-2-70 * Translation updates: - Czech - Indonesian - Italian - Lithuanian - Polish - Portuguese - Romanian - Serbian - Slovenian - Spanish - Swedish - Turkish - Ukrainian
Sufficiently old Darwin (e.g., Snow Leopard) needs SOL_LOCAL defined.
glib2 glib2-tools gdbus-codegen: updated to 2.70.2 Overview of changes in GLib 2.70.2 ================================== * Fix use of the default log writer with journald namespaces (diagnosis by Ilya Basin) * Fix hang in `dbus-daemon` under `GTestDBus` when `G_MESSAGES_DEBUG=all` is set (work by Marco Trevisan) * Speed up `g_canonicalize_filename()` to avoid pathogenic cases with `..` (work by Sebastian Wilhelmi) * Fix URI for pcre subproject as itâs moved upstream (work by Albert Astals Cid) * Fix storing GSettings dictionaries on macOS (work by Maurice) * Speed up âremove dot segmentsâ algorithm in `GUri` to avoid pathogenic cases with `..` (work by Sebastian Wilhelmi) * Fix infinite loops in D-Bus message parsing for truncated inputs (work by Sebastian Wilhelmi) * Improve correctness of version information returned by `g_get_os_info()` for Windows 10/Server 2019+ (work by Chun-wei Fan) * Bugs fixed: - Use-after-free in invoke_set_property_in_idle_cb() - GSettings delayed apply generates runtime warnings - g_dbus_message_new_from_blob goes into infinite loop for certain inputs - g_log_writer_is_journald fails if a Journal Namespace is used - GTestDBus dbus daemon causes child process to hang when using verbose output - g_canonicalize_filename should work in linear time complexity - Backport !2265 âgdbusconnection: Fix race between method calls and object unregistrationâ to glib-2-70 - Backport !2260 âGWin32AppInfo: Remove assertion on the opened registry keyâ to glib-2-70 - Backport !2308 âgthread-win32: Remove an unnecessary volatile qualifierâ to glib-2-70 - Backport !2309 âRename libpcre.wrap to pcre.wrapâ to glib-2-70 - Backport !2161 âgdelayedsettingsbackend: Fix applying after calling g_settings_reset()â to glib-2-70 - Backport !2324 âFix link to pcre-8.37.tar.bz2â to glib-2-70 - Backport !2325 âFix GSettings dict error macOSâ to glib-2-70 - Backport !2338 âgmessages: Support namespaced journalsâ to glib-2-70 - Backport !2327 âguri: Improve performance of remove_dot_segments() algorithmâ to glib-2-70 - Backport !2355 âgdbusmessage: Add more bounds checking when parsing D-Bus messagesâ to glib-2-70 - gutils.c: Improve g_get_os_info() for Windows 10/Server 2019+ - Backport !2354 âgtestdbus: Print the dbus address on a specific FD intead of stdoutâ to glib-2-70 - Backport !2360 âmeson: specify when commands need to succeed in run_commandâ to glib-2-70 - Backport !2364 âtests: Allow `objcopy --help` to fail, because it fails on FreeBSDâ to glib-2-70 - Backport !2374 âgfileutils: Improve performance of g_canonicalize_filename()â to glib-2-70 - Backport !2382 âgfileutils: Correctly reset start value when canonicalising pathsâ to glib-2-70 * Translation updates: - Croatian - Italian - Occitan (post 1500) - Polish - Portuguese - Portuguese (Brazil) - Russian - Swedish - Ukrainian
glib2 glib2-tools gdbus-codegen: updated to 2.70.1 Overview of changes in GLib 2.70.1 ================================== * Fix network changes not being signalled from NetworkManager (work by Julian Andres Klode) * Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304) * Bugs fixed: - g_network_monitor_nm never updates on connection change (listens for signal on wrong dbus interface) - !2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed - !2253 Backport !2251 âGString: Bump minimum sizeâ to glib-2-70 - !2256 Backport !2254 âSmall optimization for g_object_setâ to glib-2-70 - !2259 Backport !2257 âFix documentation for g_dbus_object_manager_get_object().â to glib-2-70 - !2262 Backport !2244 âgutils: Avoid segfault in g_get_user_database_entryâ to glib-2-70 - !2271 Backport !2266 âfix uninitial variableâ to glib-2-70 - !2276 Backport !2274 âDo not try to access errno after calling getpwnam_r.â to glib-2-70 - !2300 Backport !2285 âfix issues found by svace static code analyzerâ to glib-2-70 - !2301 Backport !2293 âglib-private: Fix MSVC build with AddressSanitizerâ to glib-2-70 - !2302 Backport !2291 âgnetworkmonitornm: Stop using removed PropertiesChanged signalâ to glib-2-70 - !2304 meson: fix warnings for extract_all_objects function
archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
glib2: Put back SunOS xattr fix. For some reason this was removed in the last update.
glib: Update devel/glib2 to 2.70.0 Overview of changes in GLib 2.70.0 ================================== * Bugs fixed: - !2248 ci: Replace FreeBSD 11 with FreeBSD 13 * Translation updates: - Croatian - Danish - English (United Kingdom) - French - German - Hungarian - Polish - Swedish - Turkish Overview of changes in GLib 2.69.3 ================================== * Bugs fixed: - #2425 g_settings_schema_key_range_check() misbehaves for int versus bool - #2472 Compiling anything with GCC <4.6 spews deprecation warnings - #2477 `g_invoke_closure` bindings API break. - #2481 GPowerProfileMonitorPortal does not notice initial power-saver-enabled status - !2219 doc: Explicitly said, that no null term. is needed - !2238 ci: Use C.UTF-8 locale on FreeBSD 12 - !2240 gio: Fix conditions in memory-monitor test * Translation updates: - Basque - Catalan - Chinese (China) - Galician - Kazakh - Korean - Lithuanian - Romanian Overview of changes in GLib 2.69.2 ================================== * The `DBUS_SESSION_BUS_ADDRESS` environment variable is once more not used if the process is `AT_SECURE` (setuid/setgid/setcap); this change was previously applied and then reverted because it broke gnome-keyring (#2316) * Add `g_test_fail_printf()`, `g_test_skip_printf()`, `g_test_incomplete_printf()` helper functions for printing messages when tests end prematurely (work by Simon McVittie) (!2215) * Add portal implementation of `GPowerProfileMonitor` (work by Bastien Nocera) (!2222) * Bugs fixed: - #2316 Re-harden DBUS_SESSION_BUS_ADDRESS for AT_SECURE processes in GLib 2.70 - #2343 Document explicitly refcount mgmt of source-object during GAsyncReadyCallbacks - #2454 Read past the end of buffer in g_win32_package_parser_enum_packages - #2456 Frequent test failure on FreeBSD: glib/tests/thread-pool.c:197:test_thread_pool_full: 'free_func_called' should be TRUE - !2157 tests: Add missing wakeup calls to gdbus-names test - !2165 docs: Mention the stable/unstable support version in README.md - !2211 Improve documentation of various TLS stuff - !2215 gtestutils: Add more convenience functions - !2216 tests: Fix error handling when testing gtestutils - !2222 gio: Add portal version of GPowerProfileMonitor - !2224 Docs: Mention that G_VA_COPY() must be followed by `va_end()` - !2225 build: Fix implicit declaration of function errors - !2226 Annotate the GString constructors * Translation updates: - Czech - Hebrew - Slovenian - Spanish - Swedish Overview of changes in GLib 2.69.1 ================================== * Support categories in desktop notifications (`GNotification`) (work by Guido Günther) (#2446) * Add `GPowerProfileMonitor` for monitoring when to use less power (due to being on battery power, electricity being expensive or high-carbon, etc.) (work by Patrick Griffis, Bastien Nocera) (#2444) * Allow static names to be set for `GSource`s to avoid unnecessary string copies (work by Matthias Clasen) (!2196) * Bugs fixed: - #203 API: need g_module_open() variant with GError - #2058 win32: GPrivate can leak some objects - #2321 Add a GTypeFlag for final types - #2429 safe_fdwalk/safe_closefrom for Solaris 11.3/11.4 - #2439 gio trash doesn't recognize existing trash directory in non-fs-root mount - #2446 Support `categories` for notifications - #2452 g_string_replace() loops 2**32 times when replacing empty string - !2177 gio/tests/g-file-info: don't assume million-in-one events don't happen - !2178 Clarify GValue documentation - !2179 Update GValue doc: How to use GBoxed with GValue - !2180 correctly use 3 parameters for close_range - !2181 gclosure: Fix the invoke() return_value annotation - !2182 glocalfileinfo: Fix usec/nsec confusion with filetimes on Windows - !2184 gspawn: Use CLOSE_RANGE_CLOEXEC if available - !2188 g_boxed_type_register_static, G_DEFINE_BOXED_TYPE: added correlating information - !2192 Fix more warnings - !2193 glib.supp: Expand match kinds for g_get_language_names() suppressions - !2194 Add GPowerProfileMonitor - !2195 Fix some test suite memory leaks - !2196 mainloop: Add g_source_set_static_name - !2197 GResource compiler: Prefix static [con|de]strutors with c_name - !2198 Port internal uses to use g_source_set_static_name() - !2200 Fix doc stanzas for GDataInputStream properties - !2201 Fix a Unicode typo - !2202 Document the stance on ID-based mainloop APIs - !2204 tests: Add a test for Unicode normalization - !2205 GWin32RegistryKey / GWin32AppInfo registry watch fixes - !2206 Adapt documentation to gi-docgen - !2210 GWin32AppInfo: Fix missing initialization * Translation updates: - Indonesian - Portuguese - Portuguese (Brazil) - Russian - Ukrainian Overview of changes in GLib 2.69.0 ================================== * Fix a crash in `GKeyFile` when parsing a file which contains translations using a `GKeyFile` instance which has loaded another file previously (#2361) * Pin GIO DLL in memory on Windows (!2016) * Fix building third-party projects against GLib on CentOS 7 (work by Ignacio Casal Quinteiro) (#2387) * Add `g_thread_pool_new_full()` API to allow queued `GThreadPool` data to be freed if the pool is freed early (work by Nitin Wartkar) (#121) * Ensure `dlerror()` is used with locking as it’s not thread-safe in some libc implementations (#399) * Add `g_dbus_is_error_name()` and `g_dbus_is_interface_name()` convenience functions (work by Nitin Wartkar) (#402) * Drop internal libpcre copy in favour of a subproject from wrapdb (#962, #642) * Add `g_prefix_error_literal()` helper function (work by Emmanuel Fleury, building on work by Dan Williams) (#663) * Add `g_bytes_get_region()` to get data from a `GBytes` with range checks (work by Nitin Wartkar, building on work by Allison Karlitskaya) (#1098) * Add `g_object_take_ref()` to sink a floating ref (work by Nitin Wartkar, building on work by Allison Karlitskaya) (#1112) * Optimise grefcount atomic operations (work by Nishal Kulkarni) (#1583) * Fix resolving child GSettings schemas from the parent’s schema source (work by Christian Persch) (#1884) * Fix `g_date_time_format()` return value encoding if `LC_TIME` is not a UTF-8 locale but other locale settings are (work by Frederic Martinsons) (#2055) * Set app name in freedesktop.org notifications with `GNotification` (work by André Apitzsch) (#2069) * Significantly improve retrieval of mount data on Windows (work by LRN based on initial analysis by Jehan Pagès) (#2096) * Add `g_file_info_get_(access|creation)_date_time()` accessors (work by Abanoub Ghadban) (#2281) * Always apply the remove_dot_segments algorithm to URIs in `g_uri_parse()`; previously it was only applied to relative URIs (work by Carlos Garcia Campos) (#2342) * Rename git `master` branch to `main` (#2348) * Various macro and version check cleanup (work by Gaël Bonithon, Robin Verdenal-Tallieux, Nishal Kulkarni) (#2376, #2388, #2389) * Add a `GTlsConnectionClass.get_negotiated_protocol` vfunc so that `g_tls_connection_get_negotiated_protocol()` can be made thread-safe (work by Michael Catanzaro) (#2393) * Improve guess about whether a Windows process is a console process (work by Princeton Ferro with input from LRN) (!1662) * Add `g_steal_fd()` function (work by Simon McVittie) (!1966) * Add `g_spawn_check_wait_status()` and distinguish more carefully between wait status and exit status in the `GSpawn` API (work by Simon McVittie) (!1967) * Document GLib’s security policy; see https://gitlab.gnome.org/GNOME/glib/-/blob/main/SECURITY.md (!1985) * Add `g_tree_remove_all()` (work by Lighto-Ku) (!1986) * Simplify exception handling on Windows to eliminate risk of it failing due to prior heap corruption (work by LRN) (!2031) * Fix handling EOF when reading from SOCKS5 proxy stream (work by Benjamin Berg) (!2032) * Unset the registered state of a `GApplication` after it has shut down (work by Marco Trevisan) (!2056) * Support `GPattern` as a boxed type (work by Marco Trevisan) (!2066) * Add `g_tls_connection_get_protocol_version()` and `g_tls_connection_get_ciphersuite_name()` to get TLS connection information (work by Michael Catanzaro) (!2077) * Make TLS private key properties readable in `GTlsCertificate` (work by Michael Catanzaro) (!2087) * Fix detection of static libintl when building on macOS (work by Jonas Hahnfeld) (!2109) * Add `g_strv_builder_addv()` and `g_strv_builder_add_many()` to the `GStrvBuilder` API (work by Alexandros Theodotou) (!2112) * Add `not-valid-before`, `not-valid-after`, `subject-name`, `issuer-name`, `dns-names`, `ip-addresses` properties to `GTlsCertificate` (work by Ross Wollman) (!2113, !2142) * Add PKCS#11 flags to `GTlsPasswordFlags` (work by Patrick Griffis) (!2126) * Bugs fixed: - #121 GThreadPool and the ability to free data waiting to be handled - #229 g_match_info_fetch_named not return empty string as expected - #310 ref doc doesn't talk about "helper getters" optimization in g_file_info.c - #399 dlerror() not thread-safe in all libc, making gmodule-dl.c's fetch_dlerror fail sometimes - #402 please consider: #define g_dbus_is_error_name(x) g_dbus_is_interface_name (x) - #626 Add documentation example for GArray and g_array_set_clear_func() - #642 update to pcre 8.35+ - #663 [patch] add g_prefix_error_literal() - #793 Potentially confusing error message when object doesn't exist - #817 gobject: Allow passing %NULL for @data in g_object_remove_toggle_ref - #962 drop embedded pcre copy - #1036 gdbusproxy stops tracking if dbus service restarts - #1098 GBytes: add range-checked pointer getter - #1112 GObject: add g_object_take_ref() - #1583 Optimise gatomicrefcount operations - #1864 Somewhat misleading documentation of GSourceFuncs - #1884 `g_settings_get_child` not compatible with `g_settings_schema_source_new_from_directory` - #2011 Add additional unit tests for D-Bus name watching - #2055 g_date_time_format() does not return UTF-8 if LC_TIME is not UTF8 but other locale settings are UTF-8 - #2069 FreedesktopNotification fails to set app_name - #2096 SHGetFileInfoW() is not reliable (time-wise) - #2281 Add g_file_info_get_(access|creation)_date_time() - #2300 Crash on Windows MSVC build around gio - #2311 testfilemonitor test leaks ip_watched_file_t struct - #2340 GIO tests fail to build with clang-cl - #2342 g_uri_parse doesn't apply the remove_dot_segments algorithm to the path - #2348 Investigate renaming master git branch to main - #2352 RUN_FIRST | RUN_CLEANUP signals with a default handler ignore return values from user handlers - #2359 GLib 2.68.0: gio-querymodules segfaults on Windows - #2361 g_key_file_load_from_file segfaults on "Key[*]="like lines - #2363 g_newa() doesn’t check for multiplication overflow - #2368 g_task_run_in_thread () limits are not clear - #2369 glocalfile: Add native exfat magic number to filesystem list - #2376 GLIB_VERSION_MAX_ALLOWED < 2.60 does not warn when using G_GNUC_FALLTHROUGH - #2387 json-glib does not build with glib 2.68.1 - #2388 Pixman compilation error due to glib - #2389 Use G_GNUC_CHECK_VERSION to check the GNUC version - #2393 g_tls_connection_get_negotiated_protocol() is not threadsafe - #2397 Slow to list device in windows - #2399 Change spelling of ‘serialise’ to ‘serialize’ in documentation - #2405 Mention that GNotification requires an installed .desktop file to work - #2409 Project crashes when executing g_application_mark_busy - #2414 Devhelp: Glib Reference Manual/Glib Overview/Running Glib Applications formatting issue. - #2416 certificate: g_tls_certificate_new_from_pem invalid read on non null terminated data - #2417 GFile: `g_file_replace_contents()` reports `G_IO_ERROR_WRONG_ETAG` when saving from a symlink - #2418 gatomic: __atomic functions are called for CV-qualified output variables - #2423 resources.c:656:test_resource_binary_linked: 'found' should be TRUE - !1514 gbookmarkfile: Don't crash if we're not visited - !1662 gspawn-win32: improve guess whether process is console process - !1812 docs: Expand documentation about D-Bus GUIDs - !1957 Fix more warnings - !1965 gversionmacros: Add version macros for GLib 2.70 - !1966 Add g_steal_fd() to API - !1967 Distinguish more clearly between wait status and exit status - !1969 glib_typeof: Move definition to its own header - !1985 docs: Add a policy for handling security issues - !1986 make g_tree_remove_all public - !1996 Include glibconfig.h to get the G_OS_UNIX token - !1998 gpollableinputstream: Add missing annotation - !1999 goption.c: Simplfy parse_short_option() - !2004 Some improvements to clang-cl builds - !2005 introspection: Remove 'caller-allocates' from POD types - !2006 fuzzing: Add fuzz tests for functions which parse paths - !2008 tests: Deactivate tls-bindings test suite for windows - !2011 docs: Fix example program link - !2012 docs: Replace git.gnome.org with gitlab.gnome.org urls - !2013 fuzzing: Fix assertion failure in fuzz_paths.c - !2016 GIO W32: Pin gio DLL - !2023 gtlspassword: Fix g-i annotation of return for g_tls_password_get_value - !2025 [th/gdbus-cleanup] two minor cleanup patches for gdbusconnection.c - !2026 Split g_test_log() messages that contain multiple lines - !2027 Fix a handful of minor leaks found by Coverity - !2030 Fix more warnings - !2031 Re-simplify exception handling on Windows - !2032 gsocks5proxy: Handle EOF when reading from a stream - !2033 Fix annotation of count arguments - !2036 gmacros.h: use G_GNUC_CHECK_VERSION - !2038 Fix more warnings - !2039 Implement G_ANALYZER_NORETURN for Coverity - !2040 Fix more warnings - !2041 refcount: Clarify when the ref count ends up undefined - !2042 grefcount: Clarify that the initial reference count is 1 - !2043 gmacros.h: use g_macro__has_attribute() where possible - !2046 gerror: Clarify docs around message requirements - !2047 Fix more warnings - !2048 Fix more warnings - !2049 Fix typo in g_socket_listener_accept_async()'s comment - !2050 gdbus: document completion after idle action for g_dbus_connection_signal_unsubscribe() - !2051 Add nullable annotations in GUnixMountEntry - !2052 g_string_replace(): Fix documentation of 'limit' parameter - !2054 docs: Fix formatting of code block - !2055 Improve handling of FILENAME_MAX - !2056 application: Unset the registered state after shutting down - !2063 Fix more warnings - !2066 gpattern: Register as Boxed type and support introspection for it - !2067 gmacros: missing check if __STDC_VERSION__ is defined - !2069 gdbus-tool: Actually use argv[0] basename as program name - !2071 gstring: Cleanup documentation of g_string_replace - !2074 Fix more warnings - !2075 gdtlsconnection: Fix a check for a vfunc being implemented - !2077 tls: add functions to get protocol version and ciphersuite name - !2078 gthreadedresolver: don't ignore flags in lookup_by_name_with_flags - !2080 guuid: fix shift operation to parse hex string in uuid_parse_string() - !2081 Fix more warnings - !2085 gcredentials.h: Fix comment typo - !2087 gtlscertificate: make private key properties readable - !2088 Fix more warnings - !2090 docs: Standardize spelling of serializ* - !2091 Fix more warnings (clang) - !2098 grefcount: Optimise g_atomic_ref_count_dec - !2099 gmacros.h: G_NORETURN: remove useless checks - !2100 tests: Add missing return value check in string test - !2101 Fix more warnings - !2104 tests: Drop use of g_test_bug_base() - !2105 tests: Use a temporary file in the bookmarkfile tests - !2106 Fix more warnings - !2108 glib spawn-singlethread test only if F_DUPFD_CLOEXEC is defined - !2109 meson: Fix detection of static libintl on macOS - !2112 gstrvbuilder: add addv and add_many to the API - !2113 tls: expose cert details on GTlsCertificate - !2119 Fix more warnings - !2120 gdbusobjectmanagerclient: Call GetManagedObjects async - !2123 gdbus: Add various missing (nullable) or (not nullable) annotations - !2126 gtlspassword: Add flags signifying PIN type for PKCS#11 - !2127 gutils: ensure g_find_program_in_path() return an absolute path - !2130 Revert "tests: Deactivate tls-bindings test suite for windows" - !2139 gdbus, win32: Fix accidental dllexport in static builds - !2142 tls: expose SAN details on GTlsCertificate - !2143 compiling.xml: Don't recommend backticks - !2144 pcre: Drop internal libpcre copy - !2145 gunixmounts: Document NULL return value for g_unix_mount_for() - !2152 tests: A few small improvements to GBytes tests - !2153 docs: Fix annotations for optional arguments - !2155 glocalfilemonitor: Avoid a deadlock on finalization - !2162 testgdate: fix -Wmisleading-indentation warning - !2166 gtlscertificate: Add more annotations to new properties - !2167 g_value_set_string description: clarified (unified), that v_string is a copy. - !2173 gasyncqueue: Add missing (nullable) annotation to free function - !2174 data-to-c.py: generate new-line at the end of the file * Translation updates: - Chinese (China) - English (United Kingdom) - Hebrew - Nepali - Occitan (post 1500) - Serbian
devel: Remove SHA1 hashes for distfiles
glib2: getfsent() is not thread-safe. Add patch from FreeBSD ports, via Sergio Lenzi in PR 56408. Bump PKGREVISION.
glib2: updated to 2.68.4 Overview of changes in GLib 2.68.4 ================================== * Bugs fixed: - Read past the end of buffer in g_win32_package_parser_enum_packages - Backport !2155 âglocalfilemonitor: Avoid a deadlock on finalizationâ to glib-2-68 - Backport !2174 âdata-to-c.py: generate new-line at the end of the fileâ to glib-2-68 - Backport !2180 âcorrectly use 3 parameters for close_rangeâ to glib-2-68 - Backport !2185 âglocalfile: Fix the global trash dir detectionâ to glib-2-68 - Backport !2208 âg_string_replace: Don't replace empty string more than once per locationâ to glib-2-68 - Backport GWin32AppInfo fixes to glib-2-68 * Translation updates: - Chinese (China) - Chinese (Taiwan) - Occitan (post 1500)
Re-add patches I wrote in October 2018: glib2's gobject subsystem is essentially a wrapper for dlopen. In view of comments in PR lib/49791 which can be summarised as "RTLD_GLOBAL is a bug", make gobject use RTLD_DEFAULT instead. This should fix PR pkg/56212 The upstream merge request https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2171 has been updated - feel free to add a description of the problems you experienced without this patch to it.
glib2 glib2-tools gdbus-codegen: updated to 2.68.3 Overview of changes in GLib 2.68.3 ================================== * Bugs fixed: - 2311 testfilemonitor test leaks ip_watched_file_t struct - 2417 GFile: `g_file_replace_contents()` reports `G_IO_ERROR_WRONG_ETAG` when saving from a symlink - !2133 Backport !2128 “inotify: Fix a memory leak” to glib-2-68 - !2137 Backport !2136 “tlscertificate: Avoid possible invalid read” to glib-2-68 - !2141 Backport !2138 “glocalfileoutputstream: Fix ETag check when replacing through a symlink” to glib-2-68
glib2: Update devel/glib2 to 2.68.2 Overview of changes in GLib 2.68.2 - Fix building third-party projects against GLib on CentOS 7 (work by Ignacio Casal Quinteiro) (#2387) Bugs fixed: - #2387 json-glib does not build with glib 2.68.1 - !2060 gmacros: check that __cplusplus or _MSC_VER is defined - !2068 gmacros: missing check if STDC_VERSION is defined - !2079 Backport !2078 “gthreadedresolver: don't ignore flags in lookup_by_name_with_flags” to glib-2-68 Translation updates: - Nepali - Serbian
glib2: updated to 2.68.1 Overview of changes in GLib 2.68.1 ================================== * Fix a crash in `GKeyFile` when parsing a file which contains translations using a `GKeyFile` instance which has loaded another file previously * Pin GIO DLL in memory on Windows (!2016) * Bugs fixed: - g_key_file_load_from_file segfaults on "Key[*]="like lines - !1997 Backport !1996 Include glibconfig.h to get the G_OS_UNIX token to glib-2-68 - !2016 GIO W32: Pin gio DLL - !2021 Backport MR !2016 (GIO W32: Pin gio DLL) into glib-2-68 - !2022 Few fixes and notes for building on Visual Studio 2012 and earlier - !2034 Backport MR !2032 (gkeyfile: Drop a redundant check) into glib-2-68 - !2035 Backport !2026 Split g_test_log() messages that contain multiple lines to glib-2-68 * Translation updates: - English (United Kingdom)
glib2: use upstream version of fix for ghostutils.c
glib2: Fix a couple of build issues.
glib2: Update to 2.68.0 Revert to adam's commit Overview of changes in GLib 2.68.0 ================================== * Bugs fixed: - !1987 build: Drop gconstructor_as_data_h usage from glib-compile-schemas - !1989 glib.supp: Generalize some suppressions - !1992 gbytesicon: Fix error in g_bytes_icon_new() documentation - !1994 glocalfileoutputstream: Tidy up error handling - !1995 tests: Fix copy/paste error in queue test * Translation updates: - Czech - Finnish - Italian - Korean - Lithuanian - Polish - Romanian - Slovenian - Turkish
glib2: downgraded to 2.66.8 Overview of changes in GLib 2.66.8 ================================== * Fix a security issue when using `g_file_replace()` with `G_FILE_CREATE_REPLACE_DESTINATION` * Bugs fixed: - file-roller symlink attack - Backport !2325 “file-roller symlink attack” to glib-2-66 - Backport !1976 “Use the right permissions for directory watching on Win32” to glib-2-66
glib2: updated to 2.68.0 Overview of changes in GLib 2.68.0 ================================== * Bugs fixed: - !1987 build: Drop gconstructor_as_data_h usage from glib-compile-schemas - !1989 glib.supp: Generalize some suppressions - !1992 gbytesicon: Fix error in g_bytes_icon_new() documentation - !1994 glocalfileoutputstream: Tidy up error handling - !1995 tests: Fix copy/paste error in queue test * Translation updates: - Czech - Finnish - Italian - Korean - Lithuanian - Polish - Romanian - Slovenian - Turkish
glib2 glib2-tools gdbus-codegen: updated to 2.66.7 Overview of changes in GLib 2.66.7 ================================== * Fix various regressions caused by rushed security fixes in 2.66.6 (work by Simon McVittie and Jan Alexander Steffens) (!1933, !1943) * Fix a silent integer truncation when calling `g_byte_array_new_take()` for byte arrays bigger than `G_MAXUINT` (work by Krzesimir Nowak) (!1944) * Disallow using currently-undefined D-Bus connection or server flags to prevent forward-compatibility problems with new security-sensitive flags likely to be released in GLib 2.68 (work by Simon McVittie) (!1945) * Bugs fixed: - !1933 [2.66] Fix regressions in 2.66.6 where negative gssize indicates strlen() - !1943 Backport !1941 “gkeyfilesettingsbackend: Fix basename handling when group is unset” to glib-2-66 - !1944 Backport !1942 “gbytearray: Do not accept too large byte arrays” to glib-2-66 - !1945 Backport !1934 “gdbus: Reject attempts to set future connection or server flags” to glib-2-66 Overview of changes in GLib 2.66.6 ================================== * Fix various instances within GLib where `g_memdup()` was vulnerable to a silent integer truncation and heap overflow problem (discovered by Kevin Backhouse, work by Philip Withnall) * Bugs fixed: - !1927 Backport !1926 “Add g_memdup2()” to glib-2-66 Overview of changes in GLib 2.66.5 ================================== * Fix some issues with handling over-long (invalid) input when parsing for `GDate` (!1824) * Don’t load GIO modules or parse other GIO environment variables when `AT_SECURE` is set (i.e. in a setuid/setgid/setcap process). GIO has always been documented as not being safe to use in privileged processes, but people persist in using it unsafely, so these changes should harden things against potential attacks at least a little. Unfortunately they break a couple of projects which were relying on reading `DBUS_SESSION_BUS_ADDRESS`, so GIO continues to read that for setgid/setcap (but not setuid) processes. This loophole will be closed in GLib 2.70 (see issue 2316), which should give modules 6 months to change their behaviour. (Work by Simon McVittie and Philip Withnall) * Fix `g_spawn()` searching `PATH` when it wasn’t meant to (work by Simon McVittie and Thomas Haller) (!1913) * Bugs fixed: - giomodule: Loads GIO modules even if setuid, etc. - g_private_replace ordering issue - GIO security hardening causing gnome-keyring to regress when session bus is provided by dbus-launch (dbus-x11) - gthread: Destroy value after replacing it in g_private_replace() - Backport !1821 “gdate: Limit length of dates which can be parsed as valid” to glib-2-66 - gdatetime.c: Fix MSVC builds for lack of NAN items - Backport !1827 “Windows: fix FD_READ condition flag still set on recoverable UDP socket errors.” to glib-2-66 - Backport !1862 “gio: Ignore various environment variables when running as setuid” to glib-2-66 - Backport !1868 “gdesktopappinfo: Fix validation of XDG_CURRENT_DESKTOP” to glib-2-66 - Backport !1902 “spawn: Don't set a search path if we don't want to search PATH” to glib-2-66 - Backport !1920 “Resolve GDBus regressions in setcap/setgid programs” to glib-2-66
Update glib2 to 2.66.4 Overview of changes in GLib 2.66.4 ================================== * Fix some issues in parsing floating point seconds in `GDateTime` (!1791, !1797) * Fix some issues in handling invalid UTF-8 when parsing for `GDate` (!1788) * Bugs fixed: - #2264 GPtrArray might call qsort() with NULL data - Backport !1771 macos: fix frexpl checks in cross-compilation to glib-2-66 - Backport !1788 gdate: Validate input as UTF-8 before parsing to glib-2-66 - Backport !1791 gdatetime: Disallow NAN as a number of seconds in a GDateTime to glib-2-66 - Backport !1794 gio-tool-info: Prevent criticals if mount options are not available to glib-2-66 - Backport !1797 gdatetime: Improve ISO 8601 parsing to avoid floating point checks to glib-2-66
gdbus-codegen glib2 glib2-tools: updated to 2.66.3 Overview of changes in GLib 2.66.3 ================================== * Fix awkward bug with `GPollFD` handling in some situations (work by Claudio Saavedra and Eugene M) * Fix sending FDs attached to very large D-Bus messages (work by Simon McVittie and Giovanni Campagna) * Bugs fixed: - Main loop ignores GPollFD sources when there is at least one source ready with priority higher than default one - Backport !1718 “gtrace: Add G_GNUC_PRINTF annotation” to glib-2-66 - Backport !1713 “gmain: g_main_context_check() can skip updating polled FD sources” to glib-2-66 - Backport !1711 “Fix race in socketclient-slow test” to glib-2-66 - Backport !1725 “gdbus: Cope with sending fds in a message that takes multiple writes” to glib-2-66 - Backport !1734 “glocalfileinfo: Use a single timeout source at a time for hidden file cache” to glib-2-66 Overview of changes in GLib 2.66.2 ================================== * Important and time-critical fix to DST transitions which will happen in Europe on 2020-10-25 on distributions which use the ‘slim’ tzdata format (which is now the default in tzdata/tzcode 2020b) (work by Claudi M., LRN) * Further timezone handling changes to restore support for changing the timezone when `/etc/localtime/` changes (work by António Fernandes, Sebastian Keller) * Fix deadlock on Windows when `G_SLICE` is set in the environment (diagnosis by Christoph Reiter) * Fix UTF-8 validation when escaping URI components (thanks to Marc-André Lureau) (!1680) * Bugs fixed: - fstatat is available only on macOS 10.10+ - top bar time is incorrect, timezone map in control center is broken - Setting G_SLICE makes Windows programs hang since 2.66 - Backport !1680 “guri: Fix UTF-8 validation when escaping URI components” to glib-2-66 - Backport !1684 “glocalfileinfo: Fix use of fstatat() on macOS < 10.10” to glib-2-66 - uri: add missing (not)nullable annotations - Backport !1691 “gmain: Fix possible locking issue in source unref” to glib-2-66 - Backport !1692 “gsignal: Plug g_signal_connect_object leak” to glib-2-66 - Backport !1661 “Lookup fallback time zones in the cache to improve performance” to glib-2-66 - Backport !1698 “gslice: Inline win32 implementation of g_getenv() to avoid deadlock” to glib-2-66 - Backport !1683 “Fix the 6-days-until-the-end-of-the-month bug” to glib-2-66 - Backport !1706 “Add various missing nullable annotations” to glib-2-66 * Translation updates: - Chinese (Taiwan) - Portuguese - Slovak Overview of changes in GLib 2.66.1 ================================== * A performance problem where timezones were reloaded from disk every time a `GTimeZone` was created has been fixed `/etc/localtime` will not take effect until a process restarts; future changes in a subsequent 2.66.x release will improve this * Security fix for incorrect scope/zone ID parsing in URIs (!1669) * Bugs fixed: - Invalid Pointer Arithmetic in g_path_get_basename - GDBus DBUS_COOKIE_SHA1 mechanism may use too old a key - gtk3/glib crash on gimp - Time zone cache is constantly invalidated if TZ is NULL - gthreadedresolver: faulty logic in parse_res_txt - Define G_MSVC_SYMBOL_PREFIX correctly for ARM - Minor Coverity fixes - Fix various signedness warnings - glocalfile: Never require G_LOCAL_FILE_STAT_FIELD_ATIME - trash portal: Handle portal failures - gio-tool-trash: Prevent recursion to speed up emptying trash - glist: Clarify that g_list_free() and friends only free an entire list - utils: Limit the scope of the variable `max` - Fix g_module_symbol() under Windows sometimes not succeeding - guri: Fix URI scope parsing - gdatetime: Avoid integer overflow creating dates too far in the past * Translation updates: - Danish - Greek, Modern (1453-) - Hebrew - Latvian - Portuguese - Russian
Update glib2 to 2.66.0 Highlights: * Fixes to the new `statx()` calls - note that since GLib 2.65.2 uses `statx()` (if available) instead of `stat()`/`fstat()`/`lstat()`/`fstatat()`, syscall sandboxing for third party applications might need to be updated * Fix deadlock in `g_subprocess_communicate_async()` (work by Alexander Larsson) (#2182) * Add `%f`/microsecond placeholder support to `g_date_time_format()` (work by Johan Bjäreholt) (!1605) * Add `GUri` API for parsing, building and representing URIs according to [RFC 3986](https://tools.ietf.org/html/rfc3986) (work by Marc-Andre Lureau) (#110) * D-Bus credentials support on macOS (#507) * Year 2038 fixes involving new API in `GBookmarkFile` (#1931) For full details, see: https://gitlab.gnome.org/GNOME/glib/-/blob/2.66.0/NEWS
glib2: disable deprecation warnings glib2 complains about it, but gsettings-desktop-schemas is actively using these paths and not planning to stop anytime soon. This deprecation warning causes lots of unnecessary warnings in pkgin upgrade logs. Bump PKGREVISION.
gdbus-codegen glib2 glib2-tools: updated to 2.64.5 Overview of changes in GLib 2.64.5 ================================== * Fix deadlock in `g_subprocess_communicate_async()` * Fix cross-compilation on iOS * Bugs fixed: - !1519 Backport !1468 âglib-compile-resources: Fix exporting on Visual Studioâ to glib-2-64 - !1520 Backport !1517 âGWin32RegistryKey: Move assertionsâ to glib-2-64 - !1565 Backport !1563 âgdesktopappinfo: Fix unnecessarily copied and leaked URI listâ to glib-2-64 - !1608 Backport !1607 âmeson: Don't use gnulib for printf on iOSâ to glib-2-64 - !1618 Backport !1617 âEnsure g_subprocess_communicate_async() never blocksâ to glib-2-64 - !1621 Backport !1620 âgvariant: Ensure GVS.depth is initialisedâ to glib-2-64
Update glib2 to 2.64.4 * Bugs fixed: - #2140 calling malloc in fork child is undefined-behaviour - !1507 Backport !1504 "win32 gpoll: Fix wait for at least one thread to return" to glib-2-64 - !1523 Backport !1522 "meson: Fix gnulib printf checks" to glib-2-64 - !1547 Backport !1544 "Resolve "calling malloc in fork child is undefined-behaviour"" to glib-2-64 * Translation updates: - Kazakh - Slovenian
glib2: updated to 2.64.3 Overview of changes in GLib 2.64.3 ================================== * Stability improvements for various unit tests * Bugs fixed: - gdbus-server-auth intermittent failure - Deprecation warnings when compiling with -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_28 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_28 - -Wformat-nonliteral fixes to glib-2-64 - memory monitor test dependency fixes to glib-2-64 - CI: Switch to new Windows runners (2.64) - D-Bus keyring handling fixes to glib-2-64 - array: fix corrupt state of GPtrArray after g_ptr_array_extend_and_steal() to glib-2-64 - CI: Make sure we use meson 0.49.2 in MSYS2 to glib-2-64 - gthread: ignore deprecated declarations in static inline functions to glib-2-64 - meson: Remove stray ], in O_DIRECTORY check to glib-2-64 - Fix stpcpy() detection to glib-2-64 * Translation updates: - Chinese (Taiwan) - German
glib2: updated to 2.64.2 GLib 2.64.2 * Bugs fixed: - Glib uses _Static_assert in C++17 mode - gdbus error messages contains mixed up body and head signatures - Backport !1420 “gmacros.h: avoid using _Static_assert in C++17 mode” to glib-2-64 - Backport various patches to glib-2-64 - docs: Fix configuration with gtk_doc=true and installed_tests=false - Add missing 'extern' to the dllexport version of GLIB_VAR/GOBJECT_VAR - Fix arch detection ifdefs in glib/valgrind.h - glib-unix.c: fix heap corruption in g_unix_get_passwd_entry - docs: Mention new gio tool options - gdbusmessage: Fix swapped signatures in error messages - Backport “gfile: Fallback to fast-content-type if content-type is not set” to glib-2-64 * Translation updates: - Hebrew - Romanian - Ukrainian
glib2: update to 2.64.1 Overview of changes in GLib 2.64.1 ================================== * Fix memory monitor tests to only be installed if installed-tests are enabled, and to be skipped if GObject-Introspection is too old (!1407) * Bugs fixed: - #1986 Socks5 Proxy: Authentication seems broken - #1988 Socks5 Proxy: Wrong error returned when using no authentication - !1407 Backport various patches from master to glib-2-64 - !1412 Backport SOCKS5 fixes to glib-2-64 * Translation updates: - Dutch - Italian - Serbian
devel/glib2: Add the patch deleted in the recent update The patch sets LD_LIBRARY_PATH so that uninstalled glib-compile-resources can find libraries. This fixes the following error during build on Darwin: [651/1015] Generating plugin-resources.c with a custom command. FAILED: gio/tests/plugin-resources.c /Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-resources --target=gio/tests/plugin-resources.c --sourcedir=/Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/gio/tests --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml dyld: Library not loaded: @rpath/libgio-2.0.0.dylib Referenced from: /Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-resources Reason: image not found
glib2 and friends: update to 2.64.0 Overview of changes in GLib 2.64.0 ================================== * Use `posix_spawn()` to speed up launching test D-Bus instances (!1388) * Bugs fixed: - #1783 Document using glib-mkenums with meson - #2049 Crash in g_array_copy - !1384 Some minor clang warning fixes - !1386 docs: Document generated headers caveats for genmarshal - !1387 ci: Correctly propagate exit status in run-style-check-diff.sh - !1388 gtestdbus: Use posix_spawn() to spawn dbus-daemon - !1389 Update GError docs to use G_DEFINE_QUARK * Translation updates: - Czech - Danish Overview of changes in GLib 2.63.6 ================================== * Fix potential relative read when calling g_printerr(), which could lead to a denial of service from a setuid-root process being used to block access to the TTY for another user (#1919) * Fix SOCKS proxy resolver sometimes not being used when resolving addresses via Happy Eyeballs (CVE-2020-6750) (#1989) * Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902) * Various race fixes in `GDBusConnection` and its unit tests (#1515) * Fix a race condition with D-Bus name ownership (#1517) * Drop `gio-launch-desktop` helper application in favour of calling `sh` directly (#1633) * Fix win32 exception handling with C# exceptions (#2025) * Fix thread safety of `GUnixMountMonitor` (#2030) * Additional fixes to new thread pool attribute behaviour from GLib 2.63.4 to check if sched_setattr() is allowed by system policies before depending on it (#2039, !1356) * Fix memory leaks and corruption when freeing `GSource`s while freeing a `GMainContext` (!1353) * Drop inappropriate installation of object manager example documentation (!1359) * Bugs fixed: - #938 gdbus call -a doesn't support message bus connections - #1515 gio/gdbus-threading test sometimes fails in CI - #1517 g_bus_own_name does not always call name_lost_handler when _REPLACE and _ALLOW_REPLACEMENT are set - #1633 should not install gio-launch-desktop into PATH - #1919 read from relative path in g_printerr() in 2.58.3 - #1995 Tracker issue for Happy Eyeballs regressions - #2002 g_io_channel_read_line does not honour the line_term symbols set - #2025 W32 exception handling misbehaves when C# exceptions are thrown when running inside the Visual Studio debugger - #2030 Random nautilus test suite failures involving GUnixMountMonitor - #2039 sched_setattr() still can cause EPERM through natural causes - #2043 Low memory monitor test failed in CI - #2044 GApplication docs suggest invalid GVariant type - !1185 gtimezone: Tidy up UTC timezone creation - !1281 ci: Update Docker packages - !1283 gmodule: change _g_module_close to only take a handle. - !1298 tests: Speed up the GIO actions test - !1299 gapplication: Fix a minor typo in the documentation - !1339 gsocketclient: Refactor g_socket_client_connect_async() - !1353 GMainContext - Fix memory leaks and memory corruption when freeing sources while freeing a context - !1354 GThreadPool - Add test for !1340 - !1355 glist: Add docs examples of how to combine with g_steal_pointer() - !1356 GThread - Check if sched_setattr is allowed by the system policies before depending on it - !1359 docs: Don’t install object manager example separately - !1363 Make tests pass if we are euid != 0 with capabilities - !1366 Fix oss-fuzz coverage link - !1372 gobject: Fix strict aliasing warnings with g_set_object() - !1376 gitlab-ci: 64-bit ARM is aarch64, not arm64 - !1381 ghash: Document the iteration order over a hash table is not defined - !1382 tests: Bump the refcount timeout in gdbus-threading - !1383 ci: Enable parallelisation when running installed tests * Translation updates: - Basque - English (United Kingdom) - French - Galician - German - Greek, Modern (1453-) - Hungarian - Indonesian - Japanese - Korean - Lithuanian - Polish - Portuguese (Brazil) - Spanish - Swedish - Turkish Overview of changes in GLib 2.63.5 ================================== * Fix behaviour of `g_file_move()` fallback code to not follow symlinks (#986) * Rename `--glib-min-version` argument of `gdbus-codegen` to `--glib-min-required` (this is not an API break as `--glib-min-version` was added earlier in the 2.63 cycle) (#1993) * Add gtk-doc checks to CI and fix a number of documentation issues (thanks to Xavier Claessens) (!978) * Add `G_SIZEOF_MEMBER()` macro (!1333) * Add a debug message if `g_setenv()` or `g_unsetenv()` are used after any threads have been spawned — this will be upgraded to a warning in future (!1337, #715) * Skip memory monitor tests if xdg-desktop-portal or dbusmock are not available (!1296, !1338) * Change the `libmount` configure option from a boolean to a Meson `feature` (!1344) * Do not return `target-uri` from `g_file_peek_path()` when called on trash/recent files (!1346) * Drop new TLS certificate API for PKCS #11 backed certificates, as the implementation is not ready yet (this is not an API break as the API was added earlier in the 2.63 cycle) (!1347) * Bugs fixed: - #986 g_file_move: remove G_FILE_COPY_NOFOLLOW_SYMLINKS section - #1551 CI: Add checks for `TODO` in MRs - #1925 Large number of routes installed into kernel cause high cpu usage - #1993 Rename gdbus-codegen --glib-min-version argument to --glib-min-required and add --glib-max-allowed - #2012 spawn_thread_queue not initialised in GThreadPool - #2020 g_network_monitor_base_add_network() improperly unrefs GInetAddressMask - !978 Various fixes to make gtkdoc-check pass on glib - !1018 docs: tag enclose 'all' and 'help' values - !1170 Avoid C++20 deprecated assignment to volatile - !1296 tests: Skip GMemoryMonitor tests if the dbusmock template is not available - !1307 Remove global declaration of GMemoryMonitor - !1322 gmain: Mark G_SOURCE_FUNC as available in 2.58 - !1333 Add and use G_SIZEOF_MEMBER() macro - !1337 genviron: Message if g_setenv()/g_unsetenv() are used after threads spawned - !1338 tests: Skip GMemoryMonitor tests if xdg-desktop-portal is not available - !1344 meson: libmount autodectection - !1345 gio-tool-info: Print unix mount information where available - !1346 gfile: Do not return target-uri from g_file_peek_path() - !1347 Revert "gtlscertificate: Add support for PKCS #11 backed certificates" - !1348 ghash: Clarify that g_hash_table_add() always consumes the key - !1349 doc: Clarify that _locker_new() does not actually allocate memory - !1351 glib.supp: update g-threaded-resolver-getaddrinfo-config * Translation updates: - Japanese - Lithuanian - Malay - Portuguese (Brazil) - Swedish Overview of changes in GLib 2.63.4 ================================== * Fix various race conditions on signal emission in GDBus (#604, #978, #1232) * Change thread pools so that thread attributes (in particular, priority) are inherited from the thread which created the `GThreadPool` initially, rather than from the thread which is pushing a new job into the pool (#1834, #2007) * Expand support for running Windows apps with `g_app_info_launch_default_for_uri()` using rundll32 on Windows (#1932) * Support multiple directories in `GSETTINGS_SCHEMA_DIR` environment variable (#1998) * Support full Julian day range in `TZ` environment variable (#1999) * Apply recursion depth limits to variants in D-Bus messages (!1201) * Support adding call flags and timeouts to method calls generated by `gdbus-codegen` through the new `--glib-min-version` option (!1286) * Fully deprecate TLS rehandshakes; they are now ignored due to TLS protocol changes (!1305) * Bugs fixed: - #198 g_fopen and friends: should also state how to close a stream - #604 GDBus name watching dispatch is buggy/excessively-complicated - #833 g_object_set: document the need to cast varargs - #978 SIGSEGV in on_name_lost_or_acquired - #1232 Insufficient thread safety around GDBusObjectManagerClient - #1416 Re-add macOS CI - #1834 Unwanted priority/etc inheritance with GThreadPool and GThread and the POSIX implementation - #1932 Windows: Gio.AppInfo.launch_default_for_uri seems not to work for local files/folders - #1983 glib:gio / dbus-appinfo test fails: GLib-GIO:ERROR:../../../../Projects/glib/gio/tests/dbus-appinfo.c:326:on_flatpak_open: 'g_file_equal (files[0], f)' should be TRUE - #1997 Base64 encoding with "break_lines" claims to wrap at 72 characters but seems to wrap at 76 - #1998 support multiple directories in GSETTINGS_SCHEMA_DIR - #1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format - #2007 Thread scheduler attributes fail under valgrind - !388 ci: Avoid downloading subprojects for each job - !1111 gio: test that launch_uris() exports files with the document portal when launching a flatpak - !1201 gdbusmessage: Limit recursion of variants in D-Bus messages - !1279 tests: Fix an error message set by foo_set_property() - !1286 gdbus-codegen: Add a GDBusCallFlags arg to method calls - !1291 gio-tool-list: Add an option to print display names - !1294 GMemoryMonitor docs fixes - !1295 gio: Fix socket test - !1301 GThread - Inherit parent thread priority by default for new Win32 threads - !1303 gvariant-core: Don't pass NULL second argument to memcpy - !1305 Fully deprecate TLS rehandshakes - !1308 gsocketclient: run timeout source on the task's main context - !1309 Fix crash in gutils when application is prevented access to passwd file - !1317 gfdonotificationbackend: remove notifications when bus name vanishes - !1320 subprojects: Temporarily avoid using wrapdb while it’s down - !1324 ci: Add some documentation to the style check CI test - !1325 Check for SYS_sched_getattr before using it unconditionally - !1330 W32: Correctly set st_ino when doing private stat() - !1334 gthread: Ensure GThreadSchedulerSettings is always defined * Translation updates: - Catalan - Galician - Hungarian - Indonesian - Polish - Portuguese (Brazil) - Spanish Overview of changes in GLib 2.63.3 ================================== * Add a `--glib-min-version` argument to `gdbus-codegen` which controls breaks in the API of generated code (#1726) * Add `g_clear_list()` API to clear `GList`s to `NULL` (#1943) * Add a `GMemoryMonitor` API to be notified of memory pressure situations using the low-memory-monitor project (!1005) * Add support for dispose functions for `GSource` implementations (!1175) * Tighten up validation of GObject signal and property names, allowing performance improvements (!1224) * Fix installation path of GIO modules on MSVC to be the bindir (!1254) * Bugs fixed: - #650 g_signal_lookup gives too many warnings - #1011 GListStore, easily find if the item is already inserted - #1130 gdbus-codegen: Add an option to strictly generate markdown in source comments - #1687 glocalvfs.c uses non-thread-safe getpwnam() - #1726 Warn when method/signal uses type 'h' but lacks GDBus.C.UnixFD annotation - #1935 Assert in _kqsub_free seems to be too strict - #1943 Consider g_clear_list() - #1947 Documentation clarification for g_uuid_string_random() - #1953 Documentation for g_type_init() and others missing from online gtk-doc documentation - #1961 A typo in the comment of `g_settings_schema_get_path`: threfore -> therefore - !1005 gio: Add GMemoryMonitor to monitor for low-memory - !1172 gptrarray: Add an example to the g_ptr_array_steal() docs - !1175 Implement a dispose function for GSource - !1223 Add additional valgrind suppressions - !1224 Signal name handling improvements - !1230 ci: Run installed-tests on Fedora - !1235 Add sudo to Fedora docker image - !1239 tests: Run "timeout tests" sequentially - !1248 ci: Update all Debian CI runners to use v5 of the Dockerfile - !1249 gio-tool-mount: Allow mounting by the given UUID - !1252 ci: Fix running all jobs on merge requests - !1253 gthread: Fix "zero as null pointer" warning - !1254 giomodule: gio modules are no longer installed in bindir on MSVC - !1255 ci: Build Docker images rather than OCI images if using podman - !1256 gdate: Add autoptr support - !1258 Minor CI fixups - !1261 gtk-doc: Ensure we have recent enough version - !1262 tests: Add tests for the gdbus-codegen executable - !1265 build: don't check for protected visibility - !1267 Revert "doc: Workaround gtkdoc-scan bug leading to undocumented symbols" - !1268 ci: Work-around successful installed tests having no logs - !1269 gvariant: Add guard to g_variant_get() - !1271 tests: Enable GDBus debug for a number of unreliable tests - !1274 trash portal: Don't follow symlinks - !1275 Small doc correction - !1277 Various gtk-doc improvements - !1278 Update installed tests CI - !1280 clang-format-diff: Output diff for multiple files, not just one - !1282 Revert "Revert "docs: remove GDBusObjectManager example"" - !1284 Update POTFILES.in 191212 - !1287 atomic/tests: test g_atomic_pointer_compare_and_exchange() with const pointers - !1289 gtype: Define auto-cleanup functions for Module class * Translation updates: - Spanish Overview of changes in GLib 2.63.2 ================================== * Use `lldb` rather than `gdb` on macOS for debugging (#1004) * Switch the atomic builtins from `__sync_fetch_*()` to the slightly more modern `__atomic_*()` (#1750) * Fix calculation of `gsize` width on various platforms (including OpenBSD) (#1777) * Fix undefined behaviour causing brokenness in `g_utf8_find_prev_char()` when compiling with GCC ≥ 8 (#1917) * Revert UNIX mode changes in `G_FILE_ATTRIBUTE_ID_UNIX_MODE` which broke OSTree (#1934) * Slightly improve performance for signal emissions when no handlers are connected (!1083) * Add `g_task_return_value()` and `g_task_propagate_value()` APIs to allow `GTask` to be used from language bindings more easily (!1216) * Fix a file monitoring crash on kqueue-based systems (BSD) (!1221) * Bugs fixed: - #1004 [PATCH] Make gbacktrace use lldb on Mac OS X - #1552 CI: Add code style checks - #1750 Switch from __sync_fetch_*() to __atomic_*() in glib/gatomic.h - #1777 gsize: improper typedef on (at least) OpenBSD - #1895 Regression: glib does not compile on centos 6: "objcopy: unrecognized option '--add-symbol'" - #1917 Test utf8-pointer fails with static build, LTO, optimisations, and new GCC - #1930 glib/tests/bookmarkfile.c:385:test_modify: assertion failed: (stamp == now) - #1934 ostree tests broken since bfdc5fc4fc84ef8518d2d1a328c8482cf5a38e98: File '/tmp/test-tmp-libostree_test-basic-user.sh.test-QB4SA0/diff-test2' is not empty - #1938 GDateTime doesn't support leap seconds - #1940 atomics test fails on FreeBSD CI since !1123 - !1039 Improve documentation for footgun function g_tls_client_connection_copy_session_state() - !1083 Use the GObject hole on 64bit arches for some flags to improve performance - !1202 CI updates after !1177 - !1208 gutils: Slightly improve docs formatting for g_get_os_info() - !1209 Make ld executable configurable - !1210 gdbus-server-auth test: Include gcredentialsprivate.h - !1213 gsocket: Improve diagnostics on bind() failure - !1214 gvariant, gbytes: Avoid memcmp (NULL, ., 0) or memcmp (., NULL, 0) - !1216 Make GTask more binding-friendly - !1218 gdb: Fix GHashTable pretty printer off-by-one error - !1220 gparam: fix memory leak in g_param_value_defaults() - !1221 Add NOTE_REVOKE to the list of the monitoring events - !1225 gtlsconnection: clarify handshake() documentation - !1227 Deprecate old GTlsConnection functionality even harder! - !1231 Fix build on old libc that does not define _SC_HOST_NAME_MAX - !1238 gstrfuncs: use gsize type internally for strv functions - !1242 gfileinfo: Clarify the documentation for G_FILE_ATTRIBUTE_UNIX_MODE - !1243 docs: Fix "occurred" typos in API documentation * Translation updates: - Spanish Overview of changes in GLib 2.63.1 ================================== * Several usability improvements to command line `gio` tool (!1153) * Add `g_array_steal()`, `g_ptr_array_steal()` and `g_byte_array_steal()` APIs (#285) * Add `g_get_os_info()` API (!1063, !1160) * Add `g_warning_once()` API (!1028) * Always resolve `localhost` to loopback address in `GResolver` (!616) * Add `GMainContextPusher` API (!983) * Limit recursion in `g_variant_parse()` (!1173) * Fix crash in `g_spawn()` with high FD numbers due to use of `select()` rather than `poll()` (#954) * Allow passing empty `GValue`s to `g_param_value_set_default()` (!1186) * Escape header guards generated by `gdbus-codegen` better (#1379) * Bugs fixed: - #285 [PATCH] add array steal and memdup functions - #954 The g_spawn_sync() function uses select() which has limitations - #1318 rare failure in gdbus-peer test: invalid uninstantiatable type '(null)' in cast to 'GDBusServer' - #1379 gdbus-codegen generates invalid header guards when build directory contains a + character - #1622 NULL pointer derefs on g_vasprintf() failure - #1813 g_option_context_add_main_entries() is missing array annotation for entries parameter - #1831 No reply on private socket due to auth problem - #1836 gobject.c uses undefined annotation “(not optional)” - #1858 docs/reference/gobject/tut_gobject.xml: object properties example uses deprecated API - #1877 g_cancellable_source_new annotated with 'skip' - #1896 Use after free when calling g_dbus_connection_flush_sync() in a dedicated thread - #1897 glib 2.62.0 fails test 'test_writev_no_vectors' wih gcc7 - #1903 use-after-free in mimeapps test causes intermittent segfault during testing - #1906 test_os_info fails on FreeBSD - #1916 objcopy not used from cross-compilation file in GIO tests - #1923 Recent Versions of GLib Break Dolphin File-Manager's Thumbnailing when Using 'gtk2' Style - !616 Always resolve localhost to loopback address - !983 gmain: Add GMainContextPusher convenience API - !1014 tests: Add a test for g_assert_finalize_object() - !1028 gmessages: Add g_warning_once() - !1035 Switching from C gnu89 to C gnu99 standard - !1063 gutils: Add g_get_os_info() - !1082 gdatetime: Document RFC 3339 extensions when parsing ISO 8601 - !1105 syscall flood on every time*() function call - !1120 Update documentation with FreeBSD build instructions - !1135 gmain: use atomic operation instead of GMutex to access g_main_context_default() - !1146 Solaris build fixes - !1147 gmodule: fix typo in doc comment - !1148 gio/gfileinfo: fix parameter references - !1149 gio/gfile: fix parameter reference for value_p - !1150 gio/gfile: fix parameter references to @contents - !1151 gio/gfile: fix typo in doc comment - !1152 gwinhttpvfs: Handle g_get_prgname() returning NULL - !1153 Several gio-tool bash completion fixes and improvements - !1155 Strict-aliasing fixes to new atomic built-ins - !1157 Fix various compiler warnings on Android - !1160 Add Windows support to g_get_os_info() - !1161 hash: Remove an assertion from the hot path - !1163 gcharset: Expand the documentation for g_get_locale_variants() - !1165 Use uname as a fallback to get OS info - !1167 Fix some minor leaks in testfilemonitor - !1168 Fix gdatetime tests on toolbox - !1171 Revert "gdbus-codegen: emit GUnixFDLists if an arg has type 'h'" - !1173 gvariant: Limit recursion in g_variant_parse() - !1177 ci: Add libdbus development files to CI Docker images - !1179 Improve GPtrArray doc-comments - !1180 array: Avoid use of memcpy(dest, NULL, 0) - !1181 gmain: Clarify thread safety of some common GSource functions - !1182 gio: Fix typo in URL - !1186 Allow using an empty GValue with g_param_value_set_default() - !1189 gparamspecs: Fix type class leaks on error handling paths - !1197 Fix GDBus test failures on non-Linux (in particular FreeBSD) - !1200 Minor fixes from a scan-build run * Translation updates: - Catalan - Chinese (Taiwan) - Spanish Overview of changes in GLib 2.63.0 ================================== * Add g_fsync() API (#35) * Fix regression in g_file_copy() when passing `G_FILE_COPY_TARGET_DEFAULT_PERMS` flag; the destination permissions would be private rather than following the process’ umask (!1142) * Several `GDateTime` parsing fixes (!1127) * Always build the tests if installed-tests are enabled, so that the tests can actually be installed (!1141) * Rework atomic function implementations to use memory barrier in the correct place (when compiler intrinsics aren’t providing the atomics), and fix signedness issues (#1449, #1565) * Use the OS’ `fdwalk()` function (if safe) to speed up `g_spawn_*()` on BSD (#1638) * Remove the macOS `dyld` `GModule` implementation in favour of `dl` instead (!1093) * Bump Python requirement to ≥ 3.5, which we implicitly relied on anyway through our Meson dependency (!1132) * Bugs fixed: - #35 add g_fsync to API - #174 g_file_copy always preserves permissions, even if G_FILE_COPY_ALL_METADATA flag is not set - #259 docs: fix a misunderstanding in g_type_add_interface_* - #767 g_signal_lookup fails if class is not referenced - #1052 g_io_write_chars calls abort when given a null byte as input - #1449 glib fallback atomic int/ptr get/set have memory barrier in wrong place - #1565 Signedness of atomic operations - #1638 g_spawn_*() is extremely slow under certain circumstances - #1809 Provide API for working with PKCS11 backed certificates - #1843 TSAN false positive with g_atomic_pointer_get/g_atomic_pointer_set under Clang - #1865 g_variant_get_data_as_bytes fails after serializing a variant - #1875 Segfault and Overflow in __gio_xdg_cache_mime_type_subclass() with Wps-Office installed - #1887 glib 2.62.0 breaks loading dylibs as modules - #1888 2.62: docs build on Windows broken - #1897 glib 2.62.0 fails test 'test_writev_no_vectors' wih gcc7 - !1020 docs: Remove priv pointers from the tutorial example - !1062 gtype: mark the inline functions in G_DECLARE_*_TYPE() as UNUSED - !1080 tests: Fix skipping mkdir-with-parents-permission test - !1088 Various small scan-build fixes - !1090 giochannel: Clarify type of GSource callback in documentation - !1093 gmodule: remove macOS dyld implementation - !1095 Define G_IOV_MAX to 512 on macOS/iOS - !1099 gmem: clarify that g_malloc always uses the system allocator - !1109 doc: fix typo in gio/gsettings.c - !1110 gio: Add missing "gio remove" option to bash completion script - !1112 Add version macros for GLib 2.64 - !1115 gdatetime: Fix error handling in g_date_time_new_ordinal() - !1116 gmarkup: Add a limit on the number of attributes in an element - !1119 Annotate the return value of various utility functions - !1124 docs: Fix typo in GConverter{Input,Output}Stream section titles - !1125 gdatetime: Fix error handling in g_date_time_new_week() - !1126 fileinfo: Mention that usec mtimes are set - !1129 gdate: Fix tautological comparison warnings on Android - !1130 Improve GLIB_DEPRECATED_MACRO_FOR output - !1131 gio/gfileinfo: fix param reference in doc comment - !1132 build: Bump Python requirement to ≥ 3.5 - !1137 gregistrysettings: bump key name length to 2048 - !1138 Always build tests if we enabled installed-tests - !1139 g_file_info_get_modification_date_time: Calculate in integer domain * Translation updates: - Danish - Italian - Panjabi - Serbian - Turkish
Apply upstream's Check size_t compatibility with various other types commit 505c9544247f27cb6ebf749d0902d53c33dac308 which will hopefully fix PR pkg/54909 and not break PR pkg/54298
Fix build on older Linux distros.
devel/glib2: Fix build failure on Darwin The new patch sets LD_LIBRARY_PATH so that uninstalled glib-compile-resources can find libraries. This fixes the following error during build: [651/1015] Generating plugin-resources.c with a custom command. FAILED: gio/tests/plugin-resources.c /Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-resources --target=gio/tests/plugin-resources.c --sourcedir=/Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/gio/tests --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml dyld: Library not loaded: @rpath/libgio-2.0.0.dylib Referenced from: /Users/pbulk/pkgsrc/work/devel/glib2/work/glib-2.62.4/output/gio/glib-compile-resources Reason: image not found
glib2: fix typos pkgsrc changes: --------------- * fix typo in patch. * fix LOCALBASE in PLIST (thanks to Leonardo).
glib2: update to 2.62.4 pkgsrc changes: --------------- * Fix build on FreeBSD (PR 54752) upstream changes: ----------------- * Apply recursion depth limits to variants in D-Bus messages (!1290) * Bugs fixed: o #1938 GDateTime doesn't support leap seconds o !1240 Backport !1233 “gdatetime: Handle leap seconds in ISO8601 dates” to glib-2-62 o !1257 Backport !1232 “kqueue: Do not return early from _kqsub_cancel” to glib-2-62 o !1266 Backport !1265 “build: don't check for protected visibility” to glib-2-62 o !1276 Backport !1274 “trash portal: Don't follow symlinks” to glib-2-62 o !1290 Backport !1201 “gdbusmessage: Limit recursion of variants in D-Bus messages” to glib-2-62
Fix use glib with c++ compilers that define __STDC_VERSION__ Some c++ compilers define __STDC_VERSION__ but don't provide _Static_assert This causes usage of glib to break on these compilers.
glib2: Enforce C99 and XPG6 throughout. pkgsrc sets C99 but glib2 hardcodes gnu89 and forces XPG4v2, with predictably hilarious results.
glib2: update to 2.62.3. Overview of changes in GLib 2.62.3 ================================== * Use `poll()` in `g_spawn_sync()` rather than `select()`, which is subject to FD limits (#954) * Fix undefined behaviour with `g_utf8_find_prev_char()` (#1917) * Bugs fixed: - #954 The g_spawn_sync() function uses select() which has limitations - #1318 rare failure in gdbus-peer test: invalid uninstantiatable type '(null)' in cast to 'GDBusServer' - #1897 glib 2.62.0 fails test 'test_writev_no_vectors' wih gcc7 - #1903 use-after-free in mimeapps test causes intermittent segfault during testing - #1916 objcopy not used from cross-compilation file in GIO tests - #1917 Test utf8-pointer fails with static build, LTO, optimisations, and new GCC - !1174 Backport !1164 “use-after-free fix in mimeapps test” to glib-2-62 - !1184 Backport !1173 “gvariant: Limit recursion in g_variant_parse()” to glib-2-62 - !1194 Backport !1176, !1183, !1188, !1191 to `glib-2-62` - !1203 Backport !1192, !1193, !1197 Fixes for gdbus-peer tests to glib-2-62 - !1207 Backport !1206 “goption: Relax assertion to avoid being broken by kdeinit5” to glib-2-62 - !1215 [2.62] gdbus-peer: Specifically listen on 127.0.0.1 - !1219 Backport !1218 “gdb: Fix GHashTable pretty printer off-by-one error” - !1222 Backport !1221 “Add NOTE_REVOKE to the list of the monitoring events” to glib-2-62 - !1228 Backport !1199 “gunicode: Fix UB in gutf8.c and utf8-pointer test” to glib-2-62
glib2: Various fixes for the SunOS build. Should also fix a bunch of other platforms, the build tries to execute a python script that is not executable after unpacking the distfile, though not sure why that's not showing up on some other bulk builds.
Fix configure error, gtester is not defined.
glib2: update to 2.62.2. Overview of changes in GLib 2.62.2 ================================== * Bugs fixed: - #1896 Use after free when calling g_dbus_connection_flush_sync() in a dedicated thread - !1154 Backport !1152 “gwinhttpvfs: Handle g_get_prgname() returning NULL” to glib-2-62 - !1156 Backport !1146 Solaris fixes to glib-2-62
glib2: update to 2.62.1 Overview of changes in GLib 2.62.1 ================================== * Fix regression in g_file_copy() when passing `G_FILE_COPY_TARGET_DEFAULT_PERMS` flag; the destination permissions would be private rather than following the process’ umask (!1142) * Several `GDateTime` parsing fixes (!1127) * Always build the tests if installed-tests are enabled, so that the tests can actually be installed (!1141) * Bugs fixed: - #174 g_file_copy always preserves permissions, even if G_FILE_COPY_ALL_METADATA flag is not set - #1865 g_variant_get_data_as_bytes fails after serializing a variant - #1875 Segfault and Overflow in __gio_xdg_cache_mime_type_subclass() with Wps-Office installed - #1887 glib 2.62.0 breaks loading dylibs as modules - #1888 2.62: docs build on Windows broken - !1021 docs: Remove priv pointers from the tutorial example - !1094 Backport to 2.62: gmodule: use dl implementation on macOS - !1101 Backport !1092 “Fix doc build on Windows” to glib-2-62 - !1102 Backport !1080 “tests: Fix skipping mkdir-with-parents-permission test” to glib-2-62 - !1103 Backport !1085 “xdgmime: Prevent infinite loops from badly-formed MIME registrations” to glib-2-62 - !1127 Backport !1125 and !1115 GDateTime parsing fixes to glib-2-62 - !1128 Backport !1043 “gvariant: Handle empty serialisations in get_child_value()” to glib-2-62 - !1140 [2.62] g_file_info_get_modification_date_time: Calculate in integer domain - !1141 [2.62] Always build tests if we enabled installed-tests - !1142 Backport !1134 Fix for file copy permissions to glib-2-62 * Translation updates: - Danish - Italian - Panjabi - Serbian - Turkish Overview of changes in GLib 2.62.0 ================================== * Fix new `GFileInfo` APIs to work when `G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC` was not queried (!1087) * Bugs fixed: - #487 Add valgrind test runs to CI - !1084 garray: Fix reference to GLIB_SIZEOF_INT - !1086 glib.supp: make gobject_init() calloc also of the possible kind - !1087 fileinfo: ignore USEC if not available * Translation updates: - Friulian - Portuguese (Brazil) Overview of changes in GLib 2.61.3 ================================== * Support setting thread name on BSD systems (#1761) * Install previously-uninstalled headers for public `GNativeSocketAddress` object (#1854) * Very initial support for Windows apps (UWP) (!1057) * Add various new valgrind suppressions to `glib.supp` (#1879, !1075) * Bugs fixed: - #83 Optimisation for g_nearest_pow() in garray.c - #512 GSignal: accumulator function not called to accumulate G_SIGNAL_RUN_CLEANUP object handler return values - #873 allow NULL arguments to parse_strv - #905 Patches from static analysis run on 2.40 - #1057 goption: add sanity check to input parameters - #1309 GSettings object stops emitting "changed" signal on g_settings_reset after call to g_settings_delay - #1620 GDBus criticals from GVfs with GLib master - #1761 Setting thread-name on BSD systems - #1803 GDK_SCALE=X is not respected when using "gio open" - #1819 Invalid characters in Open Location dialog crashes GIMP - #1852 Regression: g_mkdir_with_parents() returns 0 on failure - #1854 glib/gio: GNativeSocketAddress headers not installed. - #1860 g_clear_handle_id does not trigger GLIB_VERSION_MAX_ALLOWED warning - #1863 Potential invalid writes on g_utf8_strreverse - #1867 A couple of en_GBisms - #1870 GSettingsBackend watches not thread-safe - #1879 Incomplete valgrind suppressions - 16 KiB leak reported by valgrind from loading libglib-2.0.so - #1880 glib/gbacktrace.c: If dup2 happened to return -1, don't call dup2 with same value - #1881 GIO_USE_VOLUME_MONITOR and GIO_USE_FILE_MONITOR do not work as documented - !1002 Remove mentions of mailing lists from the documentation - !1011 gapplication: Fix a leaking GRemoteActionGroup member - !1015 Post-release version bump - !1016 gnetworkmonitornm fixups - !1017 Improve ISO 8601 parsing by GDateTime - !1023 g_object_get_property: Improve documentation for use of G_VALUE_INIT - !1026 gutf8: Assert that written memory stays in bounds - !1027 gfileutils: Fix error propagation for other than ENOENT - !1031 meson: build gnulib if printf isn't good enough - !1032 meson: small printf check cleanups - !1033 win32: don't assume the format specifier for the stdlib printf/scanf like functions - !1034 glib/tests/fileutils: Add a reproducer for #1852 - !1036 cond test: Don't make assumptions about struct sigaction member order - !1037 Meson: Override glib-compile-resources/schemas - !1044 Relax use of g_test_bug() to not require g_test_bug_base() to be called first - !1049 minor typos in the documentation - !1050 tests: Fix a pragma warning on FreeBSD - !1054 gerror: Add a docs paragraph about not displaying errors verbatim in UI - !1057 Some (probably) easy uwp patches - !1059 Update win32 readme, add myself to codeowners - !1066 libffi.wrap: Meson port has moved to FDO gitlab - !1068 gsubprocesslauncher.c: fix documentation - !1071 meson: Move libdl_dep to the top level - !1074 Adjust README formatting - !1075 glib.supp: add suppression for g_type_class_ref() * Translation updates: - Basque - Catalan - Czech - English (United Kingdom) - French - Galician - German - Hungarian - Indonesian - Korean - Lithuanian - Polish - Romanian - Spanish - Swedish Overview of changes in GLib 2.61.2 ================================== * Add various new array functions (#236, #269, #373) - `g_array_copy()` - `g_ptr_array_copy()` - `g_ptr_array_extend()` - `g_ptr_array_extend_and_steal()` - `g_array_binary_search()` * Add `g_assert_finalize_object()` helper function for writing tests (#488) * Rework how D-Bus connections are closed/unreffed when `g_test_dbus_down()` is called. Tests which leak a `GDBusConnection` may now time out and abort, rather than silently leaking. (#787) * Add a deprecation macro for GLib macros, and use it; third-party uses of long-deprecated GLib macros may now start causing warnings. (#1060) * Deprecate `GTime` and `GTimeVal`, and various functions which use them. Use `GDateTime` and `guint64` UNIX timestamps instead. (#1438) * Stop using `G_DISABLE_DEPRECATED` to allow disabling deprecation warnings; third-party code should now be using `GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED}` to control symbol usage (!871) * Improve support for running `ninja test` when GLib is built statically (#1648) * Improve `GNetworkMonitor` detection of offline states (#1788) * Fix build failure on macOS related to missing `_g_content_type_get_mime_dirs` function (#1791) * Add various installed utilities’ paths to `gio-2.0.pc` (#1796) * Fix keyfile `GSettings` backend and portal (especially relevant to any version of GLib included in a flatpak runtime) (#1822, !985) * More IPv6 ‘Happy Eyeballs’ fixes in `GNetworkAddress` (!865) * Fix CVE-2019-12450, wide permissions of files when copying using GIO (!876) * Bump the Meson dependency from 0.48.0 to 0.49.2; we won’t depend on anything higher than this for a while, as Debian 10 ships 0.49 (!924) * Various test fixes for Windows (!930, !931) * Initial support for Universal Windows Platform (UWP): certification, and use of packaged libraries (!951) * Add experimental clang-cl support on Windows, allowing `g_autoptr()` support on Windows (!979) * Bugs fixed: - #77 G_STDIO_NO_WRAP_ON_UNIX wraps - #236 Add a function to copy an array - #269 Additional convenience functions for g_ptr_array - #373 GArray could use a binary search function - #436 running tests leaves lots of coredumps - #453 find-enclosing-mount docs confusing - #488 Add g_object_assert_last_unref() helper macro to detect object leaks in tests - #590 A reader lock can be obtained even if a writer is already waiting for a lock - #638 g_atexit is defined when not declared - #737 Initialize GValue in g_object_get_property() - #787 gtestdbus: Properly close server connections - #804 gdbusproxy prefixes unstripped error - #870 Fix and enhance GDatetime for Windows - #872 ucs4 functions have wrong return transfer - #887 gdusmessage.c mishandles bounds of GDBusMessageType and related enums - #894 gvalue: Avoid expensive checks where possible - #940 Docs for g_socket_listener_set_backlog are not very helpful - #943 G_DEFINE_TYPE_WITH_PRIVATE docs not helpful - #1018 Allow guid key in dbus addresses - #1060 Add deprecation macro for macros - #1169 Tools can display gibberish messages from translations - #1270 g_get_charset always returns 8-bit codepage on Windows, crippling UTF-8 output - #1438 Deprecate GTimeVal- and GTime-based APIs - #1635 g_socket_join_multicast_group iface parameter fails on win32/64 - #1648 2.58.2: Assorted asserts fail in Arch Linux when built statically - #1729 g_content_type_guess segfaults when passed an empty data buffer on Mac OS - #1788 GNetworkMonitor claims I am offline - #1790 documentation on g_file_info_get_attribute_as_string - #1791 _g_content_type_get_mime_dirs missing from libgio-2.0.0.dylib on MacOS - #1792 glib-genmarshal generated valist marshal does not respect static scope for some types - #1793 glib-genmarshal generates wrong code for va marshaler for VARIANT type - #1794 API Proposal: g_timer_is_active - #1796 Add gio-querymodules variable to pkg-config file - #1797 glib/tests/win32 test failing on 64-bit Visual Studio builds - #1798 /contenttype/tree reliably fails on FreeBSD since !863 - #1807 g_dbus_server_new_sync() documentation references nonexistent function - #1808 Stopping a GDBusServer should clean up Unix socket paths (if not abstract) and nonce-tcp nonce files - #1811 Introspection info for g_unichar_compose's 3rd arg should be OUT - #1822 keyfile gsettings backend not loading - #1823 Documentation for disabling selinux is incorrect - #1825 GKeyFileSettingsBackend created without filename construct property and unchecked assertion - #1828 Small typo in gio manpage - #1837 Specify for each (optional) parameter, whether it is OUT or INOUT - #1838 Reword documentation for G_DECLARE_FINAL_TYPE - #1847 Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings - !533 docs: Document pitfall of deprecation pragmas - !563 ci: Add scan-build job in a new ‘analysis’ pipeline stage - !678 glib-compile-schemas: Improve translatable strings - !817 gdate: Officially mark GTime as deprecated - !851 gsettings: Document that lists are returned in no defined order - !853 gobject: Fix apostrophe usage in a few small bits of documentation - !859 gobject: Add a g_assert_finalize_object() macro - !863 gunicollate/cygwin: Don't use __STDC_ISO_10646__ for wchar_t related checks - !865 gnetworkaddress: fix "happy eyeballs" logic - !867 Post-release version bump - !871 Drop G_DISABLE_DEPRECATED - !873 Use atomic reference counting for GSource - !874 Clamp number of vectors to IOV_MAX / UIO_MAXIOV for GOutputStream writev()... - !875 CI/msys2: disable coverage reporting, lcov doesn't support gcc9 yet - !876 CVE-2019-12450: gfile: Limit access to files when copying - !877 gio: specify proper c_marshaller and va_marshallers - !883 tests: Fix small race in GSubprocess tests - !884 garcbox.c: Fix typo atomit => atomic - !885 goption: Clarify G_OPTION_ARG_FILENAME documentation - !889 Include <sys/filio.h> for FIONREAD - !901 gmain: Clarify that g_source_destroy() doesn’t drop a reference - !904 Add glib-genmarshal tests and fix some valist marshaller bugs - !906 property action: Add state hints - !908 Improve testfilemonitor test repeatability and debuggability - !909 D-Bus auth mechanism improvements - !914 ci: Run scan-build in a different build directory - !915 docs: fix typo on arrays examples in gvariant-text - !917 docs: Fix name of IRC channel in CONTRIBUTING.md - !919 glib/tests/refcount.c: Fix tests on non-GCC-isque compilers - !920 gmacros: Only use deprecated attributes on enumerators with GCC ≥ 6.5 - !923 Check if compiler symbols are defined before using them - !924 Bump the required version of Meson - !930 glib/tests/convert.c: Skip tests that aren't meaningful for Windows - !931 glib/tests/fileutils.c: Fix stdio Wrapper Test on Windows - !934 build: Increase the slow test timeout to 180s - !935 Ignore */__pycache__/* directories - !937 Fix module tests on Visual Studio builds - !939 gstdio: minor cleanups - !941 list model: Expand items-changed docs - !944 gutils: Don't limit the length of the host name to 99 - !945 Avoid overrunning stack at the end of the varargs. - !947 gobject/tests/signals.c: Fix tests on Windows - !948 GObject: Fix mkenums.py and genmarshal.py tests on Windows - !950 ci: Enable CI on FreeBSD 12 - !951 Preliminary patches for Universal Windows Platform support - !952 gio: Make minor docs improvements - !953 g_utf8_normalize: Doc comment return missing nullable annotation - !954 Fix the ISO 15924 code for Manichaean - !955 gmacros: Use _Static_assert when C11 is available - !958 gthread: fix minor errno problem in GCond - !961 gmain: Fix g_main_context_prepare priority annotation - !962 gmacros: Use _Static_assert only for non-expr static assert - !964 gmacros.h: Use static_assert on MSVC if possible - !968 Fix typo in request handle - !970 gdatetime: Unset LC_ALL for the test as well - !971 docs.c: Forward link from g_auto* → G_DEFINE_AUTO* - !973 doc: fix typo in gio/gresource.c - !979 Experimental clang-cl support - !980 gmacros.h: Add better support for clang-cl - !981 gio: fix typo in g_settings_reset documentation - !982 Various doc fixes - !985 Keyfile portal fixes - !987 gio/tests: Remove code and comments referring to libtool - !991 fix atomic detection on older gcc versions - !992 docs: Add example to g_test_summary() documentation - !994 gio: Fix minor docs mistakes - !996 Small array test fixes - !997 gdbusaddress: Add missing transfer annotation - !1007 Resubmission of !832 “Try to create the complete path right away and fall back” - !1009 gapplication: remove inactivity_timeout source on finalize * Translation updates: - Hungarian - Indonesian - Portuguese (Brazil) - Spanish Overview of changes in GLib 2.61.1 ================================== * `g_unichar_isxdigit()` and `g_unichar_xdigit_value()` now handle full-width characters (U+FF21–U+FF26 and U+FF41–U+FF46) (#58) * Deprecate `gtester` utility and its test reporting format and enable TAP output by default instead — the `--tap` option to tests is now a no-op (#1441, #1619) * Add `g_test_summary()` to allow test authors to programmatically summarise what each unit test in a test suite does (#1450) * Upgrade to Unicode Character Database v12.1 (#1713, !822) * More IPv6 Happy Eyeballs fixes to `GNetworkAddress` and `GSocketClient` (#1747, #1771, #1774) * Fix valgrind and gdb support for the new `GHashTable` changes (#1749, #1780) * Fix GTask wait times growing faster than the number of task threads (#1683) * Change `GApplication` to ignore `-psn_*` arguments on the macOS command line, as they are irrelevant (#1784) * Add `g_autoqueue()` helper macros, similar to `g_autolist()` (!474) * Add pre-allocated link helpers for `GList` and `GQueue`: - `g_list_insert_before_link()` - `g_queue_insert_before_link()` - `g_queue_insert_after_link()` * Improve network availability detection with NetworkManager to treat lower levels of connectivity as having reduced availability (!781) * Add `g_clear_signal_handler()` to allow disconnecting from a `GObject` signal and clearing the signal handler ID to zero in a single call (!819) * Add `g_autoptr()` support for `GRWLock` (!825) * Define `G_OS_UNIX`, not `G_OS_WIN32`, when GLib is built agains Cygwin (!862) * Bugs fixed: - #29 GScanner: should explicitly document modifiable fields (value, next_value, ...) - #58 g_unichar_isxdigit() and g_unichar_xdigit_value() should deal with full-width a-fA-F - #106 Boxed types should be documented better - #135 g_unichar_totitle(0) returns 0x00001F88 instead of 0 - #429 g_format_size() is broken on Windows - #1441 Deprecate gtester - #1450 Add API for tests to describe what they're checking - #1619 GTest should have a way to default to TAP - #1683 GTask: task_wait_time is increased constantly when the number of running thread is greather than 10 - #1713 Upgrade to Unicode Character Database v12 - #1739 meson build failure libdl - #1747 Critical in g_socket_client_async_connect_complete - #1749 New GHashTable implementation confuses valgrind - #1753 Remove memory leaks from gio/test/resolver.c - #1755 Please revert #535 gmacros: Try to use the standard __func__ first in G_STRFUNC - #1759 test_month_names: assertion failed - #1760 Document for g_resolver_lookup_records why it returns a list of list of gchar*. - #1763 tests: -p runs tests in the reverse of the specified order - #1768 g_strlcat(): Possible buffer overflow in implementation - #1771 GNetworkAddressAddressEnumerator unsafely modifies cache in GNetworkAddress - #1774 Leaks in gsocketclient.c connection code - #1776 glib/date test fails - #1780 GDB pretty-printer for GHashTable no longer works - #1782 Error in documentation for cross-compile. - #1784 MacOS adds a -psn_X_XXXXXX parameter to the command line - !474 Add g_autoqueue - !476 Add pre-allocated link helpers for GList and GQueue - !556 gtestutils: Make --tap compatible with -p and --GTestSkipCount - !732 gsocket: Clarify in docs that `flags` arguments can be platform specific - !766 W32: swap special g_get_prgname() for platform_get_argv0() - !774 Only build tests if certain conditions are met. - !780 Add copyright and licensing terms to test report generator - !781 gnetworkmonitornm: Fix network available detection - !782 build: Fix check for RTLD_NEXT - !785 Remove monitor test - !787 build: Remove */.gitignore files - !791 glib/gconstructor.h: Include stdlib.h for MSVC builds - !792 general: Remove a few unhelpful references to ‘master’ - !795 gdesktopappinfo: Add support for MATE and Xfce4 terminals - !802 gio: tests, don't check for libdl on OpenBSD - !806 Get to 100% coverage on GQueue tests - !808 Update the Docker images used for CI - !809 Modified version of !784 — Adding tests cases for a better coverage of glib/tests/strfuncs.c - !813 gappinfo: Add precondition checks to GAppLaunchContext env methods - !814 gschema.dtd: Add target attribute to alias - !819 Clear signal handler - !820 ci: Keep JUnit report script working on Debian stable - !821 Various minor cleanups to autoptrs - !822 glib: Update Unicode Character Database to version 12.1.0 - !825 Add autoptr support for GRWLock - !831 build: (Long time after) post-release version bump - !835 Fix typo in German translation - !836 Document the best practices for binding GInitiallyUnowned - !862 build: define G_OS_UNIX, not G_OS_WIN32 under cygwin * Translation updates: - Basque - Catalan - German - Indonesian - Spanish Overview of changes in GLib 2.61.0 ================================== * Changes to `iconv` configure options, including the default iconv implementation on macOS — distributors may need to check their configure scripts (#1557) * Build fixes when building GLib with `G_DISABLE_ASSERT` defined (#1708) * Fix documentation for `gdbus-tool wait` to use correct units (#1737) * Improvements to symlink handling on Windows (!269) * Add exception handling for crashes on Windows (!582) * Set `G_WITH_CYGWIN` again when GLib is built on Cygwin (this was a regression from the autotools build) (!736) * Use `GCocoaNotificationBackend` by default on macOS, rather than `GGtkNotificationBackend` (!745) * Use Windows symbol visibility when GLib is built on Cygwin, as PE binaries are subject to W32 visibility mechanics — this affects the definition of `_GLIB_EXTERN` (!752) * Add coloured output support to `gdbus introspect` (!761) * Bugs fixed: - #682 docs: advise not to use non-literal strings as qdata keys - #1177 gparted crashes due to g_quark_from_static_string used in global initialization - #1258 the buffer written to by g_input_stream_read is not marked as an out parameter - #1557 By default glib tries to use libc instead of native iconv on OSX - #1566 Meld Windows shows error on startup "There was a problem starting c:\Program" - #1614 GIO tests fail on FreeBSD CI with: Unexpected error from C library during 'pthread_mutex_lock': Invalid argument - #1708 Building GLib with G_DISABLE_ASSERT fails - #1709 GResource generation test incompatible with stable LLVM on Linux - #1710 Crash in g_cancellable_cancel - #1712 gdbus-proxy test is flaky - #1724 unconditional check in fuzzing/meson.build - #1725 gosxappinfo.h is not installed on macOS - #1727 Cannot use trash folder with an NFS mount using automount / autofs - #1728 GSocket does not support ENOTSOCK - #1732 Win32: lookup_by_name_async segfaults for not available domains - #1737 gdbus-tool wait command timeout argument incorrect unit reference - !67 glib: update internal gnulib from upstream - !269 Win32 symlink code refactoring - !493 tests: Check that cancelling g_file_replace don't overwrite existing file - !582 Basic W32 exception handling for glib - !680 Fix warnings glib - !690 Fix thread safety issues - !694 gvariant-parser: Fix pattern coalesce of M and * - !706 Fix data races in task test and gmenumodel test - !709 Bump release version for 2.62 series - !710 socket: Fix annotation for flags in g_socket_receive_message - !712 gwin32: Fix comment for g_win32_veh_handler - !716 Various minor documentation fixes - !717 Improve formatting of GCC attribute documentation - !718 GSocketClient - Free last error if a connection attempt fails and on retry the... - !719 Handle an UNKNOWN NetworkManager connectivity as NONE - !721 codegen: Fix use of uninitialised variable - !723 Provide examples for GNUC attribute macros - !724 meson: do a build-time check for strlcpy before attempting runtime check - !728 gsocket: Remove (type) annotation from flags arguments - !730 Improve gdbus-address parsing tests - !735 docs: Use the right g_autoptr function when using an auxiliary function - !736 Set G_WITH_CYGWIN again - !737 gresolver: Don’t use gai_strerror() on Windows, as it isn’t threadsafe - !741 Fix use-after-free triggered by gnome-session-binary - !745 gcocoanotificationbackend: give more priority than the gtk one - !749 gio: Add missing autocleanup definition for GSettingsSchema{Key,Source} - !750 Check for RTLD_NEXT - !752 Use W32 visibility for Cygwin - !754 Check for /proc/self/cmdline - !757 Fix gnulib build on older Visual Studio builds - !760 Properly ensure the cocoa notification backend type - !761 RFC: gdbus-tool: Add --color option for introspect - !762 gutils: Add (nullable) annotation to g_get_prgname() - !765 gslice: Use a convenience macro - !769 ci: Generate a cover report for the test suite - !772 tests: Check that option-argv0 test succeeds on Linux - !776 tests: Only run --external-data test on GNU ld/objcopy - !779 Fix 2.62 documentation symbols * Translation updates: - Dutch
glib2: updated to 2.60.7 Overview of changes in GLib 2.60.7 * Bugs fixed: - Invalid characters in Open Location dialog crashes GIMP - Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings - Backport !1009 “gapplication: remove inactivity_timeout source on finalize” to glib-2-60 - Backport !1008 “gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56” to glib-2-60 - Backport !966 “Resolve "Invalid characters in Open Location dialog crashes GIMP"” to glib-2-60 - Backport !1040 “GSettingsBackend - Fix thread-safety during destruction of GSettings instances...” to glib-2-60 - Backport !1017 “gdatetime: Avoid an assertion failure when parsing some ISO 8601 dates” to glib-2-60
glib2: update to 2.60.6 Overview of changes in GLib 2.60.6 ================================== * Fix various bugs with use of the `GKeyfileSettingsBackend` within flatpaks (!984, !985, #1825) * Bugs fixed: - !993 Backport !984, !985 keyfile/portal fixes to glib-2-60 Overview of changes in GLib 2.60.5 ================================== * Fix implicit use of the `GKeyfileSettingsBackend` (#1822) * Fix opening a URI using the ‘Open URI’ portal (!968) * Bugs fixed: - !910 Backport !909 “D-Bus auth mechanism improvements” to glib-2-60 - !949 Backport !945 “Avoid overrunning stack at the end of the varargs.” to glib-2-60 - !956 Backport !954 “Fix the ISO 15924 code for Manichaean” to glib-2-60 - !958 gthread: fix minor errno problem in GCond - !969 Backport !968 ”Fix typo in request handle” to glib-2-60 - !977 Backport !974 “Ensure that the keyfile settings backend exists” to glib-2-60
Re-fix installing gio/gdesktopappinfo.h on OS X, needed by at least gtk{2,3} with the default x11 backend. Bump PKGREVISION.
g/c use of __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 which glib was already ignoring for linux and android. http://mail-index.netbsd.org/tech-userlevel/2019/06/25/msg011965.html Should complete PR pkg/54298
Add a comment describing previous change to patch.
Adjust patch checksums for previous.
glib2 is built with USE_LANGUAGES c99, so size_t exists. Use it rather than a type of the same size. PR pkg/54298
Revert GHashTable improvements https://gitlab.gnome.org/GNOME/glib/merge_requests/208 to fix PR pkg/54310 For the record, the patch was created with: git checkout -f 2.60.4 git revert --no-edit 86c6f7e2b..3bed8a13b git revert --no-edit 75f8ec1df9b48b0c3a13a9125f2c7d7c5adf5159 git revert --no-edit 603fb5958..d3074a748 git revert --no-edit 0b45ddc55..0600dd322 git diff 2.60.4
glib2: Ensure libintl is pulled in on SunOS. Fixes issue in packages that depend on glib2 where libintl was no longer an explicit dependency as it was pre-meson.
glib2: Use PKGCONFIG_OVERRIDE instead of patching meson.build-s meson `pkgconfig' module generate pkg-config files during the configure phase and PKGCONFIG_OVERRIDE can be used in post-configure stage to avoid directly patching meson.build files. Discussed with <ryoon>, thanks!
Include rpath flags to ldflags, Bump PKGREVISION This is workaround and should be fixed with more generic approach. Outside pkgsrc, this may not work properly.
Update glib2 to 2.60.4 Create GIO_MODULES_DIR - reported by wiz@ Overview of changes in GLib 2.60.4 ================================== * Fixes to improved network status detection with NetworkManager (#1788) * Leak fixes to some `glib-genmarshal` generated code (#1793) * Further fixes to the Happy Eyeballs (RFC 8305) implementation (!865) * File system permissions fix to clamp down permissions in a small time window when copying files (CVE-2019-12450, !876) * Bugs fixed: - #1755 Please revert #535 gmacros: Try to use the standard __func__ first in G_STRFUNC - #1788 GNetworkMonitor claims I am offline - #1792 glib-genmarshal generated valist marshal does not respect static scope for some types - #1793 glib-genmarshal generates wrong code for va marshaler for VARIANT type - #1795 Fix mingw32 CI on older branches - !865 gnetworkaddress: fix "happy eyeballs" logic - !878 Backport !876 “gfile: Limit access to files when copying” to glib-2-60
glib2: updated to 2.60.3 Overview of changes in GLib 2.60.3 * Various fixes to small key/value support in GHashTable * Bugs fixed: - Critical in g_socket_client_async_connect_complete - New GHashTable implementation confuses valgrind - test_month_names: assertion failed - GNetworkAddressAddressEnumerator unsafely modifies cache in GNetworkAddress - Leaks in gsocketclient.c connection code - glib/date test fails - GDB pretty-printer for GHashTable no longer works - !815 Merge branch 'wip/tingping/socketclient-cancel-2' into 'master' - !816 Backport !814 “gschema.dtd: Add target attribute to alias” to glib-2-60 - !826 Backport !824 “gsocketclient: Fix a leak in the connection code” to glib-2-60 - !829 Backport !828 “build: Fix a typo in the test whether _NL_ABALTMON_n is supported” to glib-2-60 - !834 Backport !823 "gnetworkaddress: Fix parallel enumerations interfering with eachother" to glib-2-60 - !838 Backport !835 “Fix typo in German translation” to glib-2-60 - !841 Backport !839 “tests: Update month name check for Greek locale” to glib-2-60 - !844 Backport !840 “ghash: Disable small-arrays under valgrind” to glib-2-60 - !846 Backport !845 “Fixing g_format_size_full() on Windows-x64” to glib-2-60 - !855 Backport !848 (more GHashTable fixes) to glib-2-60 - !858 Backport !852 “Update gdb pretty-printer for GHashTable” to glib-2-60 * Translation updates: - German
glib2: Disable inotify support on SunOS.
glib2: check for sys/filio.h before including it. not all linux has it.
glib2: spell mnt_mntopts correctly. bump pkgrevision. While here, mention upstream merge requests for the things I've already submitted.
glib2: fix build on sunos. - Default to a newer POSIX, since we build this package with -std=gnu99 - Link against libnsl and libintl - Don't use mnt_opt - XXX who else uses this case in gunixmounts.c? - include <sys/filio.h> for FIONREAD. - Auto-detect GNU iconv. - Don't fail if getxattr is not available. The code is already ready for this case with some small configure changes.
Update glib2 to 2.60.2 GLib's move to meson from autotools means we are effectively starting from scratch with non-linux build fixes. Support for python 2 has also been dropped (given that meson requires python 3). I replaced sysutils/gio-fam with a build option. The full lengthy list of changes is available from: https://gitlab.gnome.org/GNOME/glib/tags/2.60.2 Some highlights: * Improve network status detection with NetworkManager (!781) * Add async GIO API: g_file_query_default_handler_async(), g_app_info_launch_uris_async() (#1249, #1347) * Add overlay support to g_resources_get_info(). (#1445) * Add writev() and writev_all() APIs to GOutputStream and GPollableOutputStream, and provide implementations of them for many subclasses. (#1431) * Hide bind mounts from GIO mount listings. (#1271) * Automatically realign data passed to `g_variant_new_from_bytes()` or `g_variant_new_from_data()` if it is not correctly aligned. This prevents misaligned accesses on architectures which don’t support them. Callers should still aim to correctly align data to get higher performance. (#1342) * Support `ld -b binary` (on platforms which support it; i.e. Linux) to provide large pre-compiled `GResource` resources with a fast compilation time. (#1489+* Drop Python 2 support and require Python 3.4+. See discussion on https://mail.gnome.org/archives/desktop-devel-list/2018-July/msg00004.html. (!196) * Various fixes to eliminate thread races, found by thread sanitizer (tsan).
glib2: Fix GCredentials support for NetBSD The GCredentials support for NetBSD missed a G_CREDENTIALS_SOCKET_GET_CREDENTIALS_SUPPORTED define and remove commented out G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED. Due that the client sent credentials but the server was not able to receive them. Regarding possible G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED support probably logic for LOCAL_CREDS should be added but on NetBSD before 8.0 sc_pid field is not present making that probably not suitable to use as GCredentials mechanism (since 8.0 this will probably work). Bump PKGREVISION Discussed with <prlw1>, thanks!
glib2's gobject subsystem is essentially a wrapper for dlopen. In view of comments in PR lib/49791 which can be summarised as "RTLD_GLOBAL is a bug", make gobject use RTLD_DEFAULT instead.
glib2: update to 2.56.2. Overview of changes in GLib 2.56.2 ================================== * Support version 2 of the NetworkMonitor portal interface * Bug fixes: 740791 gio: cannot specify the source when joining a multicast group... 755721 g_inotify_file_monitor_start called with nullpointer for dirn... 773435 After g_get_home_dir() fails, a second use deadlocks 793727 Use-after-free in emit_network_changed() of gnetworkmonitorba... 794380 Build failure of gcocoanotificationbackend.c on OS X < 10.9 794801 /network-monitor/add_networks fails if there is a proxy and g... 795138 gobject build failure with gcc <= 4.7 795234 Fix Jenkins CI build failures for network tests 795406 Glib fails to build for Android 795429 glib-genmarshal shows redundant "time" warning message agains... 795711 gitlab-ci: update meson 795735 Fix comparison for GVariant property values 795802 gdbus-codegen doesn't accept --output-directory with --output... #1240 W32: g_get_system_data_dirs() works differently for C++ applic... #1401 g_clear_handle_id: clear_func is nullable, despite documentatin... #1452 GFileInfo: unable to retrieve correct modification time of link... #1458 g_volume_get_mount returns NULL value after g_volume_mount_fini... * Translation updates Russian Slovenian
glib2: Update workaround for older Darwin releases.
Fix build on CentOS 6 (at least) with upstream patch for bug 795133.
glib2: Restore gdesktopappinfo fix for macOS, unbreaks gtk. Bump PKGREVISION.
glib2: try disabling the gio tests more.
glib2: update to 2.56.1. Reduce patches. Overview of changes in GLib 2.56.1 ================================== * Bug fixes: 793400 g_application_id_is_valid() not strict enough 793578 gdatetime tests depend on Japanese translation of month names 793645 test_month_names: Updated translations needed for el_GR, hr_HR, ru_RU 794194 gobject_gdb.py: 'address' is a property of gdb.Value not a function 794473 Remove duplicated option in gio.xml 794506 glib-mkenums: Enters infinite loop if using typedef enum SomeIdentifier 794528 Fix segfault caused by use-after-free in GPollFileMonitor 794606 glib-2.56.0 fails to compile when res_nquery is not available 794686 Date (except weekday) displayed in English Overview of changes in GLib 2.56.0 ================================== * Bugs fixed: 672777 Error in gdummyfile.c 732184 GObject: warn on use of deprecated properties 733338 Don't segfault in GNetworkMonitor when IPv6 support is unavailable 742124 g_data_input_stream_read_upto()'s documentation should say that the... 749206 GDateTime: month names in the genitive case 768507 simplify qguark functions 791457 Slow transfer rate when writing to smb/cifs 793272 fix GCC 8.0's -Wcast-function-type warnings 793300 g_hash_table_add() return value change in 2.40 not mentioned in docs 793399 Fix some cases of -Wduplicated-branches 793555 -Wimplicit-function-declaration when using g_abort() 793565 GLib does not compile on macOS 10.13 due to .m file naming 793597 gdbus-tool: Make --dest optional for emit again 793635 Enable CI for GLib 793880 gnetworkmonitor: Minor fixes based on code review 793578 gdatetime tests depend on Japanese translation of month names 794180 test_month_names fails unless installed Overview of changes in GLib 2.55.2 ================================== * GFile now has API to get the path without copying * A network monitor implementation for Windows has been added * Bugs fixed: 520116 g_utf8_strlcpy() 584284 g_data_input_stream_read_until_async behaves confusingly different f... 605700 request for g_key_file_get_locale() 658713 ngettext (plural forms) needed for "Message has %d file descriptors ... 685442 windows GNetworkMonitor implementation 723003 gsettings list-recursively reports some keys multiple times 749583 GSequence performance improvements 757284 Move G_DIR_SEPARATOR* and G_SEARCHPATH_SEPARATOR* into glibconfig.h 760324 [PATCH] gkeyfile.c: find_file_in_data_dirs fails to return the path ... 761102 Increase performance for main loop 767976 GFile: Add g_file_peek_path() 770335 gdbus-codegen: generated getter for 'ao' property is actually (trans... 772989 Totem allows invalid urls that might cause segfault that's irrecover... 790698 convert: test failure on NetBSD 791015 gdbus-codegen: Split generation of header and source 791622 Disable strict-aliasing in GLib 792050 GResolver is not thread-safe 792217 Deprecate GTlsClientConnection:use-ssl3 792338 meson, autotools: figure out if mem barrier is needed for arm64 host... 792351 gbookmarkfile: check length before dereferencing groups 792364 gdbus-threading test method-calls-in-thread: assertion failed (elaps... 792370 GNetworkMonitor: Rename "network-changed" signal argument 792410 GDateTime new_from_iso8601 test broken in 2.55 on i386 792432 flush stdout after logging (debug) messages 792455 Improve docs of GSequence 792499 deadlock on startup with TCP session bus 792516 gconvert: More consistent handling of embedded NUL bytes 792777 g_notification_set_urgent() unconditionally sets G_NOTIFICATION_PRIO... 792780 gbytes should reference toplevel bytes when slicing with g_bytes_new... 792856 off64_t isn't a part of C standard 792862 gpollableoutputstream: document side effects of WOULD_BLOCK on D/TLS 792903 Clarification between g_try_.. functions and their counterparts 793006 High CPU load for GUnixMountsMonitor consumers 793026 possible mem leak in g_mutex_impl_new 793074 g_message() does not get -Wformat warnings when compiling with G_LOG... Overview of changes in GLib 2.55.1 ================================== * Build: - The --enable-rebuilds configure option has been removed - The --with-charsetalias-dir configure option has been added * GList and GSList now have autoptr support * The gsettings list-schemas command has gained a --print-paths option * Bugs fixed: 346816 Refactor LIBDIR in libcharset Makefile 508976 Does g_slist_sort preserve the order of equal elements? 562334 2.18.2 break libglade on Solaris 662802 systemtap multiarch issue 684282 Add support static link of GIO modules 692034 Install an invalidation notifier for GClosure in g_source_set_closure() 694723 Get rid of REBUILD stuff in configure.ac 697715 floating point precision problem in check test gst/gstvalue 701156 testgobject assumes that the priv data follows the instance data 720380 Segfault when using GDBusMenuModel on a peer-to-peer connection 724383 glib: document restrictions on various foreach() functions 724412 GLib mappedfile.c test uses g_get_user_runtime_dir instead of a tempo... 724794 Fix "on on" typo in tap-driver.sh comment 732003 gnode: Eliminate implicit signed-to-unsigned integer conversion 734479 G_VALUE_HOLDS etc. cause -Wcast-qual warnings for a const GValue * 737677 gmain: Make GSourceCallback thread-safe 741167 gdbus-codegen fix for boxed out parameters 748534 gtest: if a subprocess assertion fails, print its stdout and stderr 749527 add weak pointer helpers similar to g_set_object 749652 compilation errors with gcc 4.8 754634 Update the list of Linux filesystem magic numbers used in get_fs_type 756011 Fix up annotations for GBookmarkFile 761102 Increase performance for main loop 773980 GIR scanner doesn't interpret array type properly 776147 gio/glocalfilemonitor.c doesn't handle case G_FILE_MONITOR_EVENT_MOVE... 776195 -z nodelete configure check does not work on Solaris 777075 Potential leak of memory pointed to by 'list' 779413 Translated X-Geoclue-Reason string not used in a dialog window 780309 gio/tests/appinfo build fails: gdesktopappinfo.c skipped on OS X 780893 Reword licensing header for gdbus-codegen 782057 Unit tests fail in run-assert-msg-test.sh 784995 meson: some Windows improvements 786796 gtk-doc build fails with meson 788806 Impossible to build static glib via meson 788936 Show mime type icons on OS X 790416 g_date_time_format returns empty string on %r with German locale 790588 Generated file missing from .gitignore 790697 g_object_ref API should propagate parameter type 790785 glib-tap: Add missing mkdir for .test generation rule 790829 glib-genmarshal --body must not generate alias implementations 790830 Mismatch between number of interface methods in text and example code 790837 Meson: missing many configure options 790839 GApplication command line: lacks parameter_string, summary and descri... 790877 fix non-portable check in G_GNUC_CHECK_VERSION 790894 Do not connect to the session bus when trying GProxyResolverPortal io... 790896 docs/reference/README has broken link to http://www.gtk.org/rdp/ 790914 gdesktopappinfo: Downgrade a warning to a debug message 790934 gtester doesn't handle skipped tests 790948 GSourceFuncs documentation is confusing: when will dispatch be called? 791036 Guard for g_output_stream_vprintf makes no sense 791128 C runtime complains about bad arguments on each g_log() call 791221 po/README.translators has no useful information in 2017 791235 Fix gschema.dtd regarding flags. 791267 Make gschema.dtd usable. 791296 gtester-report: fix range usage when running as python3 app 791318 GBytes: Improve documentation 791325 Gio handling of thumbnail:: attribute namespace causes inconsistent b... 791334 gbinding.c:898: The target object of type GNetworkAddress has no prop... 791337 Crash opening URIs with g_desktop_app_info_launch_uris_with_spawn() 791342 Add autoptr support for lists 791460 meson: fixes for OSX 791532 Implicit declaration of function ‘memcmp’ in gtestutils.h 791622 Disable strict-aliasing in GLib 791720 Criticals in gio/xdp-dbus.h leading to crash under flatpak 791744 gmenumodel test sometimes fails: assertion failed (items_changed_coun... 791745 not immediately clear whether g_test_slow() is in effect by default 791906 GSocketListenerClass.event has wrong signature 792064 gsettings list-schemas --print-paths 792098 Binding: bind_property’s @notify func is nullable 792099 gdbus-test-codegen: Cast to void* to printf "%p" 792129 meson: skip optional linux/unix deps that default to true when buildi... 792322 GLib-GIO:ERROR:gschema-compile.c:51:test_schema: child process (/gsch... 792324 gkeyfile: Document need for KEEP_TRANSLATIONS with get_locale_string() Overview of changes in GLib 2.55.0 ================================== * New API: - g_clear_handle_id, to simplify removing sources from the default mainloop - g_file_load_bytes, to make it more convenient to load files into GBytes * Bugs fixed: 330458 Sample code for the GLib Key-value parser 483341 g_error and friends create warnings when not used in MSVC 569375 g[u]intptr undocumented 573251 documentation for g_seekable_truncate() needs some love 629347 Missing annotations in GFile (was: Perf throws an exception in cur... 630983 [PATCH] Type accuracy for result of strlen() in string utilities. 632953 Clarify documentation of GValueTransform. 636210 Document that pre-unmount is not guaranteed and backend-dependant 656502 type information for GSettings::backend missing from .gir 661442 Nautilus crashes when refreshing home folder after modifying ~/.co... 668035 gtester-report broken with python 2.7.2 and glib 2.30.1 670139 gbytes.c:try_steal_and_unref nit 677233 (transfer full) annotation not correct for g_closure_new_simple re... 679347 glocalfile seems to leak 'fstype' 679467 Mention translation in g_warning() documentation 689323 Variable scoping in gunixmounts.c 691436 glib-mkenums output arch dependent 695681 gsettings bash completion put error messages 705331 AM_PATH_GLIB_2_0 macro fails with -Wstrict-prototypes -Werror 706667 Fix permission denied error when installing from an nfs directory 711809 gdbus-proxy: Fix erroneous timeout during following tests 722256 gslist: Simplified node removal and got rid of some code duplication 723655 Socket source is left in the poll after the socket is closed 723743 g_child_watch_add() doesn't check for non-pids 725014 g_settings_schema_source_ref should check for NULL pointer 727346 docs: Escape some backslashes for markdown 730296 gsignal: Fix a potential NULL pointer dereference 731625 Improve test for darwin printf format-strings 731705 gio/tests/desktop-app-info assumes /bin/true 737278 Clarify relationship of g_application_quit() to hold count 738176 Skip GSpawnChildSetupFunc closures in introspection 740223 source_object for GAsyncResult should be nullable 740791 gio: cannot specify the source when joining a multicast group (IGM... 740826 glib doesn't know fuse filesystems 742548 configure.ac: stay out of autoconf's namespace 742997 Don't skip invalid enum values in schemas 745723 -Wunused-but-set-variable work-around no longer sufficient 749371 Use a GHashTable as a set when possible 751738 Unused-variable warnings in glib/tests/autoptr.c 752239 Missing dependency for python files in build file 752240 Add DTLS support to GIO 753459 GDateTime: Add conversion functions from/to ISO 8601 strings 753521 g_subprocess_launcher_set_environ misses argument annotations 754026 gfileutils: add some sanity checks 756009 'const gchar* const *' gets incorrectly defaulted to utf8 756103 Skip g_base64_decode_step() in introspection 756128 Fix up annotations in gconvert 756430 g_rw_lock_reader_lock() can return without locking, or error 756470 Fix up annotations in gdataset.c 756588 Fix up annotations on data/qdata API of GObject 760022 Memory leak in gvariant-parser.c 760109 [PATCH] Invalid GDate can't be g_boxed_copy()'d 760716 Fix documentation regarding <glib/gprintf.h> 765063 Update annotations for gio 765552 Please set serial in .m4 files to prevent autoreconf failure on up... 767215 GCC version number is interpreted as start of a list in docs for g... 767239 Tautological comparisons in convert tests 769674 some GIO tests' arbitrary timeouts are too short 769846 gmessages: Add timestamp to g_log_writer_format_fields() 770459 Tutorial article is slightly wrong 773355 Incorrect documentation about stopping a signal emission from a hook 774083 spelling mistakes in glib: charater 776562 Add Intel C Compiler support for G_GNUC_BEGIN/END_IGNORE_DEPRECATI... 777308 GModule win32: disable error dialog popup 777310 gio/gasynchelper.c: fix cast from pointer to smaller int type on w... 777956 gmessages: Update advice for G_LOG_DOMAIN 779182 xdg-open fails with gio open for some uris 779501 Type of GIConv given wrongly on web 780202 introspection: Don't expose GValueArray.free 780296 xdg-open/gnome-open doesn't work if service isn't started 781598 gstdio.h should #include what it needs to work 781867 various gvfsd-* wants to look in /boot/efi, causes unnecessary/ina... 783210 build: Switch to sassc for generating style 783270 Improve Visual Studio support for Meson builds 783825 Suggest that asynchronous operations should invoke the callback in... 786737 No g_variant_get() example for dicts 786785 Commit #fe2a9887a8 breaks gdbus-codegen, cannot find its module so... 787271 Make GListModel usable from G-I bindings 787485 g_tls_backend_supports_dtls () returns true when the backend doesn't 787551 Factor out some duplicated code in GParamSpec validation 787581 tests: Add tests for g_slist_copy() and g_slist_copy_deep() 787671 meson: Fix permissions of installed scripts 787731 g_file_query_filesystem_info() wrongly reports "filesystem::readon... 788138 glib-compile-resources: Fix leak of a GHashTable 788180 G_FILE_ATTRIBUTE_ID_FILE is useless on W32 788270 gmodule - failed to load symbol on Android 64bit 788368 Race condition in GDbusObjectManagerClient 788384 gtypes: Fix signedness of __builtin_bswap() usage 788385 gtestutils: Explicitly cast args to g_assertion_message_cmpnum() 788401 PATCH: MacOS build cannot detect content type from content - xdgmi... 788467 Fatal errors and warnings should be reported as TAP 788488 GFile-based API for g_build_filename() 788489 gmain: add g_clear_source API 788561 Document how to integrate GTest into your project 788594 gdbus-tool doesn’t handle non-message-bus connections correctly 788705 Allow building GLib on older Linux platforms 788766 fixed a doc-typo in socket_get_remote_address 788772 meson installs gdb scripts incorrectly 788863 Add more filename type annotations for strings which can contain f... 788880 gunixmounts: Update list of virtual file systems to ignore 788927 Expose better API for detecting ‘system’ mounts 788936 Show mime type icons on OS X 788948 Document Autotools best practices for genmarshal/mkenums 788975 Meson + Visual Studio: Can't find zlib.h with subprojects/zlib 788978 Document XML has a syntax error 788989 Use subdir-objects with Autotools 788990 Include licensing information in output from glib-mkenums, glib-ge... 789087 gint and guint misrepresented as functions 789170 GFormatSizeFlags should have a value for bits 789245 g_settings_bind() not conforming to lifecycle specification 789444 Fix handling of length in g_utf8_make_valid 789637 glib-mkenums: Fails when --ouput file does not exist 789681 meson: Libmount support not built 789723 [PATCH] gdbus-codegen: Call abspath() earlier 789755 g_get_host_name: ensure return value is always UTF8 encoded 789820 GPollFileMonitor is not cleaning up correctly 790015 docs: Various linking and syntax fixes 790030 GResource/GVariant fails to load from non-pointer aligned memory 790093 gio-tool: fix inverted logic in monitor tool 790126 gengiotypefuncs.py is missing from tarballs 790147 build: Drop data-to-c.pl in favour of data-to-c.py 790157 gmessages: Give examples of G_DEBUG with gdb in the documentation 790272 file: add g_file_load_bytes() 790275 avoid temporary string allocations in g_resources_enumerate_children 790310 speedup path canonicalization in GResourceFile
Don't print characters that can't be converted to UTF-8. Chances are, they won't make it to stdout as well and break the tool, especially with Python 2.7. Bump revision of glib2-tools.
glib2: update to 2.54.3. Overview of changes in GLib 2.54.3 ================================== * Bugs fixed: 691436 glib-mkenums output arch dependent 761102 Increase performance for main loop 776147 gio/glocalfilemonitor.c doesn't handle case G_FILE_MONITOR_EVENT_MOVE... 779182 xdg-open fails with gio open for some uris 782057 Unit tests fail in run-assert-msg-test.sh 785113 glib-mkenums Python port fixes 788990 Include licensing information in output from glib-mkenums, glib-genma... 789637 glib-mkenums: Fails when --ouput file does not exist 789894 Text tool has color from previous line, when overwriting existing text 790030 GResource/GVariant fails to load from non-pointer aligned memory 790093 gio-tool: fix inverted logic in monitor tool 790126 gengiotypefuncs.py is missing from tarballs 790829 glib-genmarshal --body must not generate alias implementations 790934 gtester doesn't handle skipped tests 791235 Fix gschema.dtd regarding flags. 791267 Make gschema.dtd usable. 791296 gtester-report: fix range usage when running as python3 app 791325 Gio handling of thumbnail:: attribute namespace causes inconsistent b... 791334 gbinding.c:898: The target object of type GNetworkAddress has no prop... 791337 Crash opening URIs with g_desktop_app_info_launch_uris_with_spawn() 791720 Criticals in gio/xdp-dbus.h leading to crash under flatpak 791744 gmenumodel test sometimes fails: assertion failed (items_changed_coun... 791754 gdbus-peer test intermittently fails: assertion 'source->ref_count > ... 791906 GSocketListenerClass.event has wrong signature * Translation updates: Norwegian bokmål
Update bug report URL.
glib2: updated to 2.54.2 GLib 2.54.2 * Bugs fixed: 780296 Fix a race in gio open * Translation updates: Catalan (Valencian) Nepali Slovak Slovenian
glib2-tools: Handle source files which are not utf-8 python 3 is strict about file encodings. After glib-mkenums was translated from perl to python, build failures occur due to e.g., ISO-8859-1 characters in authors' names as reported by martin@ in PR pkg/52631 for xfce4-gtk2-engines, but also causing build failures for at least libgnome and libgnomeui. Chritoph Reiter produced an elegant workaround, making use of the open() function's error decoding "replace" option: 'replace' causes a replacement marker (such as '?') to be inserted where there is malformed data. which is applied here. https://bugzilla.gnome.org/show_bug.cgi?id=785113#c27
glib2: move soon-to-disappear py-glib2-tools patches to glib2 Should fix current gdbus-codegen package too.
Update glib2 to 2.54.1 glib-genmarshal and glib-menums have been ported to python. To keep glib2 a python-free zone, these have been moved with gdbus-codegen to py-glib2-tools. Packages needing one of those tools to build can include devel/glib2/buildtools.mk The licence has been changed from LGPLv2+ to LGPLv2.1+. A full changelog is available at: https://git.gnome.org/browse/glib/tree/NEWS?h=2.54.1
Revert upstream change that introduces gosxcontenttype and removes gdesktopappinfo on Darwin, it's clearly half-baked and breaks critical packages such as GTK, as well as being completely incompatible with pkgsrc as it assumes all apps will be shipped as bundles (.app) Patches mostly taken from Homebrew. Bump PKGREVISION.
Update glib2 to 2.52.3 Highlights include: * OS X implementations of GContentType and GAppInfo have been added * Memory leak fixes * Minimal support for UUIDs has been added * A new file attribute, G_FILE_ATTRIBUTE_RECENT_MODIFIED has been added to improve sorting of recent files * glib-compile-resources grew a --generate-phony-targets flag * GLib now installs a valgrind suppressions file for GLib and GIO * glib-genmarshal and glib-mkenums have gained --output options for better build system integration * New API: g_utf8_make_valid + Many bug fixes and translation updates. For a full list see: https://git.gnome.org/browse/glib/tree/NEWS?h=2.52.3
Update glib2 to 2.50.3 Overview of changes in GLib 2.50.3 ================================== * Bugs fixed: 775309 Crash in gdbusauth 775468 Improve log write supports color method on windows 775517 Password input is echoed in the terminal 775765 FDO notification withdrawal backend sends wrong ID to the server * Translation updates: Simplified Chinese
Update glib2 to 2.50.2 - grew a "gio" tool for the equivalent of ls, mv, mount, which also builds on Windows. "gio tree" is quite nice. - updated to Unicode 9.0.0. - added structured logging. Full list of changes available at: https://git.gnome.org/browse/glib/tree/NEWS?h=2.50.2
Update glib2 to 2.48.2 Overview of changes in GLib 2.48.2 ================================== Bugs fixed: 547200 g_utf8_find_next_char() issues 673101 resource compiler dependency generation not working for generated files 700756 GFile.new_for_path arguments misses (type filename) annotation 725902 build: simplify dtrace configuration 728207 gsocketservice: Documentation does not mention that is already active... 730187 glocalfileoutputstream: Fix an FD leak in an error path 746685 Doc: clarify that g_variant_get_data() can be used instead of g_varia... 750257 GSettings changed signal should clearly state the order required 753231 Memory is potentially used after free 755439 Memory leak in gdbusproxy.c 760115 gtestutils: add missing dash in seed argument's --help documentation 760423 gio-querymodules prints error messages as question marks on some locales 761810 gio: Support using GDBusObjectManagerServer at path / 766211 Fix the upper bound in g_unichar_iswide_bsearch 766899 Superflous HTML/XML comments 766933 GSocketAddress leaks in gnetworkmonitornetlink.c:read_netlink_messages() 767172 docs: Move GIO_USE_VFS to "okay for production" section 767218 Remove a UTF-8 ellipsis from gsignal.h 767824 Some UTC timezones incorrectly recognized on Windows 7 767949 Typos in glib docs 768453 Gdbus test: compilation fails due to -Werror=format-y2k errors 768504 keyfile: g_key_file_get_double behavior doesn't follow documentation 768551 Test failure: test_socket_address_to_string 768560 gio/tests/gsettings: fix GSettings reference leaks in some tests 768806 gdbus tool must swallow -- argument 769027 Docs misleadingly imply G_CHECKSUM_SHA512 is available since 2.16 Translations updated: Indonesian Portuguese Turkish
Update glib2 to 2.48.1 Overview of changes in GLib 2.48.1 ================================== Bugs fixed: 731988 glocalfile: Avoid a potential NULL pointer dereference 747107 GVariant varargs documentation: g_variant_get() example 747478 g_system_thread_set_name() is not implemented for gthread-win32 748474 g_get_language_names() is not thread-safe 748530 gthread: W32 implementation of g_get_num_processors() has lame fallback 748806 GVariant: Better introduction to the concepts and its uses 749606 tests: always remove app.desktop 758174 Fix documentation typos 758738 Usage of GType properties causes crashes due to gulong/gpointer mismatch 762994 Race condition in GIO/AppFileChooser crashes Firefox/Gtk3 763379 codegen: Add support for g_autoptr to gdbus-codegen generated objects 763821 build: Also dist Systemtap files always for gobject/ 764092 gstrfuncs: Document the behaviour of g_strjoinv() 764574 build: Fix all statfs() tests failing 764575 tests: Fix compilation errors due to Y2K format problems 764685 GApplication documentation about handling command-line options is confusing 764754 '-' in application id: unbreak bus activation and notifications 765959 socket: set fd field to -1 after closing socket 765990 Visual Studio: Define inline only when necessary Translations updated: Basque language Catalan Vietnamese zh_CN
Use _XOPEN_NAME_MAX in lieu of NAME_MAX for SunOS.
Update glib2 to 2.48.0 - removed patch-gio_gtestdbus.c: applied upstream. - removed patch-gio_gunixmounts.c: can no longer reproduce problem. Overview of changes in GLib 2.48.0 ================================== * a minor build fix in the name of determinism * a few coverity fixes Bugs fixed: 763617 giotypefuncs.c: Sort _get_type functions in the 'C' locale Translations updated: Danish Italian Overview of changes in GLib 2.47.92 =================================== * gdbus-codegen now supports g_autoptr() * g_get_user_runtime_dir() now reliably returns an existing directory * g_array_remove_range() can now remove 0 items from the end of an array * Many fixes for Windows * build fixes * file monitoring * gsettings backend * streams * random numbers * wide character support * documentation improvements * other small bugfixes Bugs fixed: 724847 Segmentation fault on "gsettings list-recursively" 743933 gapplication: add --app-id command line option 756706 [PATCH] gio/gtestdbus.c: don't use non-standard %m printf modifier 757506 gsettings: schema_list should use the passed schema's source 760694 W32: Apps linked with -mwindows make cursor busy sometimes 762202 g_win32_error_message improvements 762637 build: Unconditionally dist tapset files 762748 Undefined behavior 762937 Mention that g_clear_error can be used with an "empty" GError 763339 array: Support clearing an empty array with g_array_remove_range() 763344 g_get_user_runtime_dir(): ensure directory exists 763379 codegen: Add support for g_autoptr to gdbus-codegen–generated objects Translations updated: Brazilian Portuguese Czech Finnish French Galician s German Greek Hebrew Hungarian Italian Kazakh Korean Latvian Lithuanian Occitan Polish Russian Serbian Slovak Slovenian Spanish Swedish Overview of changes in GLib 2.47.6 ================================== * Windows usupport: - Fixes and improvements to the GSettings registry backend - Handle readability and writability of registry keys - Use Unicode registry APIs * Bugs fixed: 760852 744772 761126 747927 761337 744570 761504 761550 761843 744570 GString is missing (transfer none) annotations on many of its methods 744772 systemtap and gdb scripts install in wrong place 747927 Documentation: various small improvements 760852 gdbusobjectmanagerserver: Clarify recommended ObjectManager paths 761126 winiconv: update to upstream version 761337 Fix some annotations 761504 W32 registry GSettings backend does not use Unicode 761550 Cannot build with default flags under Fedora rawhide (-Werror=format-... 761843 gmacros.h is testing attributes with __has_feature (when compiling wi... * Translation updates: Brazilian Portuguese Bulagarian Chinese (Taiwan) Hungarian Polish Slovak Slovenian Spanish Swedish Overview of changes in GLib 2.47.5 ================================== * the system copy of PCRE is now used by default to implement GRegex. Configure with --with-pcre=internal if a system PCRE version is unavailable or undesired. * interfaces for DTLS support have been added. A new version of glib-networking will also be required. * GDBusMethodInvocation now drops replies if the sender set the NO_REPLY_EXPECTED flag * several GApplication fixes, including fixes for commandline arguments in interpreted languages on Windows Bugs fixed: 624186 Deprecate glib-gettext macros 734095 gtk-demo.py of PyGObject fails to run on Windows (and likely other binding scripts using g_application_run()) 735754 Implement close on TLS GOutputStream 748064 gnulib vfprintf returns desired (not actual) number of bytes, ignores errors 752240 Add DTLS support to GIO 755421 GDBus ignores NO_REPLY_EXPECTED flag in messages, leading to warnings on system bus 756875 Include ntdef.h for NTSTATUS 759554 g_application_run() calls g_main_context_default() repeatidly 760199 gsettings: Install gettext ITS rules 760215 G_LIKELY/_UNLIKELY macros need more parentheses 760683 regex test: Check the expected PCRE exceptions at runtime Translations updated: Brazilian Portuguese Czech German Lithuanian Swedish Overview of changes in GLib 2.47.4 ================================== * The GApplication documentation has been improved in several areas. * Bugs fixed: 749092 gdb pretty-printers fail on Python 3 with a TypeError... 757374 macros: clean up "inline" mess 758641 Memory leak in g_dbus_proxy_new_for_bus_sync() 759134 Add missing checks for gnulib vasnprintf() 759408 Do not use uninitialized var 756475 Stop supporting non-POSIX getpwuid_r, getgrgid_r 757372 GApplication: destroy the impl on shutdown 728099 macros: add G_GNUC_CHECK_VERSION() for compiler checks 757299 glib-compile-resources: do not leak c_name 758553 Fix gettext use 758823 file monitors: reorder some code to avoid segfault 756214 gsettings: Don't translate "" 710243 Add GParamSpec object ref management annotations 735696 xdgmime: Finer handling for cases where mmap() is not available 752983 gapplication: Acquire the main context before running * Translation updates: Swedish Overview of changes in GLib 2.47.3 ================================== The inline cleanup in the last release accidentally removed three symbols from libglib-2.0.so. It is unlikely that this will have caused any problems because these symbols were only backup symbols for definitions exported as inlines in the header files, but ABI is ABI. This release corrects only this problem. Overview of changes in GLib 2.47.2 ================================== * We have formalised the assumption that all compilers that are interested in support 'static inline' and simplified the macros around this considerably. Please watch for and report unintentional fallout. * New API: hardware-assisted helpers for overflow-checked integer math. * other fixes Bugs fixed: 696324 gtester-report doesn't work with Python 3.x 719966 glib: Add missing (nullable) and (optional) annotations 752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer works with Win 10 UCRT (VS 2015) 755364 make gtkdoc-check happy again 756134 Segmentation fault on calling g_simple_action_group_add_action with bad action constructor call 756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to API deprecation 756988 GSequence should document each function's complexity 757294 Move G_POLLFD_FORMAT to glibconfig.h 757374 macros: clean up "inline" mess 757451 doc: fix g_task_attach_source() example 757628 gio tests fail to build when cross compiling 2.46.1 757693 Invalid free in g_local_file_trash() 757742 Fix up annotations in ghash.c 758181 GTask: fix wrong example code Translations updated: Greek Hebrew Hungarian Norwegian bokmål Portuguese Scottish Gaelic Simplified Chinese Spanish Overview of changes in GLib 2.47.1 ================================== * The Unicode support has been updated to version 8.0 of the Unicode standard * GDesktopAppInfo no longer sets the DISPLAY environment variable when launching apps. This is now done in the GAppLaunchContext implementations when appropriate * Bug fixes: 664740 Key-value file parser, space after integer 687223 cleverer GThreadPool management 692085 stderr and stdout are not always file descriptors 1 and 2 697907 Add interface for socket-like things (GSocket, DTLS, etc) 735754 Implement close on TLS GOutputStream 737116 Add functions to print GSocketConnectables and addresses as strings 743011 Minor additions to GError documentation 749161 undefined reference to `__imp__stat32i64' 749314 Cannot restore a just-trashed file 751924 Add recvmmsg()-like API on GSocket 752240 Add DTLS support to GIO 752837 gobject and glib-compile-resources rely on .CRT$XCU section, no longer... 753310 Remove `#pragma GCC system_header` from gmessages.h 753935 Update example namespace and class names in GObject tutorial 754855 Object instantiation documentation refers to example that no longer ex... 754983 Wayland: g_desktop_app_info_launch_uris_with_spawn() forces DISPLAY va... 754994 g_date_time_get_second () sometimes returns an off-by-one result 755083 Clarify in G_ADD_PRIVATE that it is safe to call _get_instance_private... 755351 Example still contains g_autoptr(gchar) 755355 Move GStrv to glib.h so it can be used with g_auto() 755374 g_variant_get_child(): flatten-first logic on '&' 755496 glib 2.46 fails GStreamer test suite 755609 glib 2.46.0 breaks Sun Java JVM 1.8.0.60 755766 gvalue: The g_auto cleanup function assert if value is G_VALUE_INIT 755795 2.46 considers empty files as octet-stream rather than text (leads to... 755961 Fix up annotations in gbytes.c 756053 MSVC doesn't understand the symbol 'msghdr' 756054 MSVC linker error due to 'g_socket_send_message_with_timeout()' 756077 testutils: remove internal ABI comment 756099 g_main_context_query(): Annotate @n_fds as (in) parameter 756139 musl: ctors called in the wrong order 756179 gwin32.c: Replace VerifyVersionInfoW() with RtlGetVersion() due to AP... 756251 The documentation of G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START is confusing 756255 GOutputStream swallowing errors in splice with G_OUTPUT_STREAM_SPLICE... 756316 GSequence should provide fast api to check if empty 756382 snprintf used on Windows with VS2015 doesn't support %n 756477 gio/gthreadedresolver.c has outdated copy of bionic headers (for android) 756550 gtypes.h: Make G_MININTn literals negative 756875 Include ntdef.h for NTSTATUS 756952 giomodule: return a copy of module name * Translation updates: Basque Czech Serbian Serbian Latin Vietnamese Overview of changes in GLib 2.46.0 ================================== * Disable runtime-deprecation warnings * Fix marshalling of flags on bigendian 64bit architectures * Translation updates Brazilian Portuguese Danish German Latvian Russian Turkish Overview of changes in GLib 2.45.8 ================================== * utf8 validation and utf8-to-ucs4 conversion are faster * Small speedups to property change notification * Various other small optimizations for GQuark, GData * Bugs fixed: 696426 GParamSpecTypeInfo do not need to be static 735429 Cleanup MSVC Project Files Generation 738504 Optimize UTF-8 decoding by unrolling branches and expressions 742903 Add missing (transfer) annotation to GString 748633 g_set_object order of operations 754431 Fix build of glib/gstrfuncs.c on Windows 754560 gioerror: Add more mappings for WinSock error codes 754582 Glib cannot compile 754601 Make g_strerror work with non-glibc POSIX systems 754636 tests/unicode-encoding test fails for glib 2.45.7 on x86-64 754788 more g_strerror stuff 754831 autocleanups: Add GString type 754924 Improve test coverage of g_utf8_validate() by added known-... 754986 Avoid unnecessary signal emission during draw * Translation updates: Italian Kazakh Korean Lithuanian Slovenian Swedish Overview of changes in GLib 2.45.7 ================================== * Add G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE for use by non-POSIX-like backends (e.g. cloud storage). * GFileMonitor: Make the inotify backend work with atomic renames again * GSettings: change notification is again working unconditionally * GListStore has a sort function now * Test infrastructure: - Tests are now required to have unique names - TAP support has been improved - A macro for asserting that two memory regions have identical content has been added * Bugs fixed: 708525 A "g_file_query_info" on the file path "/sys/kernel/debug/hid"... 742849 inotify: send paired events to both sides 744060 Update GObject tutorial documentation to use G_DECLARE_FINAL_T... 747364 Fix GError leak in g_file_query_writable_namespaces() 749492 Support file creation time on FreeBSD and NetBSD 752769 (g_socket_receive_message | g_socket_send_message) performance 753745 glib-genmarshal still needed for cross-compilation 754152 Add g_list_store_sort 754211 Memory leak in g_file_enumerator_iterate () 754264 GLib 2.44 certificate chain construction fails if the PEM incl... 754283 gtestutils: add g_assert_cmpmem() 754284 gtestutils: print the TAP test plan first, not last 754286 misc gtestutils fixes 754307 size of array '_GStaticAssertCompileTimeAssertion_3387' is neg... * Translation updates: Chinese (Taiwan) French Galician Greek Hebrew Hungarian Indonesian Polish Portuguese Overview of changes in GLib 2.45.6 ================================== * Fix a test failure and a build failure Overview of changes in GLib 2.45.5 ================================== * GNetworkMonitor now provides information about metered networks * g_mem_set_vtable has been deprecated; it has not been working for quite a while. The recommendation is to use valgrind, or replace malloc itself. * Bugs fixed: 656325 Make GDBusInterfaceVTable binding friendly 741779 Documentation tweaks addressing real-world API misuses 741822 Fails to build with VS 2015 742386 gdbusconnection: Don't g_printerr() when exiting 743018 gobject: Add more cross-links between documentation pages 750282 Add g_network_monitor_get_network_metered() to get if the connection... 751358 GFileMonitor doesn't react to "mv some-file watched-file" 751592 Stop using GMemVtable 751598 Stop 'handle-local-options' propagation when callback reports an err... 751610 g_str_hash produces collisions with strings of length 2 751751 Wrong docs of g_async_queue_remove 752210 gdbus command crashes with SIGSEGV 752656 gdbusconnection: Fix signal subscription documentation 752767 Fix typo in g_hash_table_replace() documentation 753278 gdbus: Don't use g_assert_no_error() GDBusObjectManagerServer 753285 g_menu_item_set_icon fails if called with NULL icon * Translation updates: Catalan Czech French Indonesian Lithuanian Norwegian bokmål Slovak Spanish Thai Turkish Overview of changes in GLib 2.45.4 ================================== * Bugs fixed: 727829 win32: glibconfig.h.win32 updates 741901 Clang cannot know that g_error don't return 746339 GSocket kills process when fd is not a socket 747676 gio/tests/socket fails: test_fd_roundtrip 748610 Some tests fail with non-English locales 749911 g_inet_address_to_string broken on XP/2003 749912 g_inet_address_new_from_string broken on XP/2003 750625 Should dismiss Software Updates Available notification after... 750807 G_BREAKPOINT doesn't work as intended on Darwin 751160 gtask does unnecessary work 751672 -Wduplicate-decl-specifier in glib/tests/keyfile.c 751731 GFile/DirectoryMonitor emit move events with other_file=NULL 751737 gio/tests/appmonitor test fails in 2.45.3 751798 Wrong enum type used in some test-cases 752089 make gsocketservice::active a property 752293 small cleanup: use list_free_full * Translation updates: Greek Hebrew Portuguese Overview of changes in GLib 2.45.3 ================================== * Improve performance of g_signal_handler_disconnect for signals with many handlers * GDBus has gained a new call flag to allow interactive authorization * GSettings: - New API: g_settings_schema_list_keys - Deprecated: g_settings_list_keys * OS X: - Implement GNotification - Bump the OS X requirement to 10.9 * Windows: - Add registry reading API - Reimplement GAppInfo using registry information * Bugs fixed: 666831 Support URI opening on W32 728489 property action with inverted boolean state 730168 Incorrect annotation on g_action_group_get_action_state_type return... 733325 Several regex tests fail with pcre3 8.35 734888 GLib has no helper functions to work with W32 Registry 737009 signal handler lookup doesn't scale 738185 Misleading language about "file name encoding" in the docs on g_env... 738504 Optimize UTF-8 decoding by unrolling branches and expressions 739122 glib not handling -1 return ("no limit") from sysconf (_SC_THREAD_S... 739424 gnome-shell crashes when files are added, deleted, or modified in $... 739616 DBus; Add new call flag to allow interactive authorization 740308 Add g_settings_schema_list_keys() method 740516 RFE: please provide an introspectible version of g_log_set_handler 741788 Document GSettings build system integration 745013 GBinding not thread safe 747146 Implement GNotification on OSX 747941 try XDG_RUNTIME_DIR/bus before falling back to X11 autolaunch (dbus... 748727 Filechooser dialog shows no icons for directories on W32 749693 GActionGroupExporter: flush queue on requests 750203 GNetworkMonitorNetlink hangs in user namespace 750322 gapplication: Make sure --help output is translated 750344 GTlsInteractionClass is missing from doc 750369 Various GBinding cleanups 750386 Race condition in g_io_condition_get_type 750399 Typo "equilalent" in glib documentation's glib-Error-Reporting.html... 750573 GTlsDatabaseClass is not documented 750918 genmarshal: silence register storage class warnings 751122 gsocket: avoid unnecessary g_socket_cond_wait() in _send_messages() 479730 The "g_key_file_set_comment" interface prepends '#' character to... * Translation updates: Hungarian Spanish Overview of changes in GLib 2.45.2 ================================== * Improve error reporting in glib-compile-schemas. * Add introspection annotations to GListStore. * Bugs fixed: 696749 win32 : failed to compile because of careless mistake in the code 723394 const parameter to GtkPopover gtk_popover_set_pointing_to 724113 gdbus-connection-loss test can fail on slow machines 725981 tap-driver.sh: internal error getting exit status 733325 Several regex tests fail with pcre3 8.35 744895 Unknown or unsupported transport 'this-should-not-be-used-and-will... 747882 gtype: Bump allowed number of children 748534 gtest: if a subprocess assertion fails, print its stdout and stderr 748612 de_DE locale used in option-context test is not supported by FreeBSD 748614 Double unref in g_socket_listener_add_inet_port 748834 glocalfilemonitor: Emit notification on rate limit change 749079 gdbus-peer test: TCP tests can fail with ECONNRESET due to a race... 749080 gdatetime test: fails if close to rollover between seconds 749180 gnetworkaddress: add return type annotation to parse methods 749352 g_binding_unbind() fails when source is also the target 749353 GBinding does not connect to the detailed notify signal * Translation updates: Catalan French Slovak Thai Overview of changes in GLib 2.45.1 ================================== * The GSettings schema compiler, glib-compile-schemas has been changed to reject schema xml that has duplicate <summary> or <description> elements. Such elements typically occur when translations are merged into the schema, with xml:lang attributes. This is not the correct way to translate schemas. Instead keep the translations in the .mo file and set the gettext-domain attribute on the <schemalist> element. * The file monitoring infrastructure has been rewritten, and all backends have seen major improvements. The inotify backend is reporting events with less delay (no event will be delayed more than 10ms) and wakeups due to file monitoring have been significantly reduced. A CHANGES_DONE event will also be sent when new files appear. The poll implementation is now using the thread default main context. The fam implmentation is now running in the worker thread. The fen implementation has been removed, since it was unmaintained. * The GSettings schema compiler, glib-compile-schemas, is more strict about rejecting schemas with xml:lang style merged translations. Schema translations should be done by specifying the gettext domain in the xml, and keeping the translations in gettext. To avoid breaking already-installed schemas, this change is only taking effect when you use the --strict option. * The hardcoded 10-thread limit of GTask's thread pool has been removed, since it was prone to causing deadlocks. The thread pool is now allowed to grow dynamically and will shrink back over time. * GSimpleAsyncResult has been deprecated in favor of GTask. * The algorithm used by GAppInfo to find default handlers for mime types has been tweaked to prefer apps that handle the specific subtype over default handlers for a generic supertype. * Bug fixes: 627285 inotify file monitor hardwired delay 631597 Segmentation fault in append_escaped_text 661767 merge/improve various bits of run-in-thread functionality 687223 cleverer GThreadPool management 711547 win32: silence some build warnings 719966 glib: Add missing (nullable) and (optional) annotations 726447 Possibly an error in text string 728663 W32: wrong stat struct is used when built with MinGW-w64 728669 W32: GLocalFile can't measure size of files larger than 2^32... 730188 gsocket: Document FD ownership with g_socket_new_from_fd() 733325 Several regex tests fail with pcre3 8.35 738207 Add a way to set SO_SENDBUF and SO_RECVBUF on listener (and... 739850 GClosure: add valgrind hints 741791 gmain: Save errno when handling unix signals 744282 gvfs-open for application/x-virt-viewer changed behaviour bet... 745255 Add support for copying sessions between GTlsClientConnections 745745 gdbus: fix out-of-bound array access 745821 Don't use __alloc_size__ attribute with clang 746749 GLib-GIO:ERROR:inotify-kernel.c:327:ik_source_dispatch: ass... 746753 Glib-compile-resources --generate-header not using ".h" as ... 747209 glib-compile-schemas ought to reject repeated <summary> and... 747349 Conversion of gdbus to use GTask causes deadlocks 747363 gatomic: Add missing new line in API doc comment 747472 Don't ignore already-installed schemas with multiple <summa... 747541 gdbus segfaults with invalid --dest 747772 Having hardcoded utf8 strings in the source code does not p... 748019 gsocketconnection: Fix copy-pasto in documentation 748177 not all test schemas are distributed, "make distcheck" fails * Translation updates: Basque Czech Danish Finnish German Hebrew Icelandic Norwegian bokmål Russian Turkish
Remove GCC pragma patch, breaks on various platforms.
Fix build on systems where format-nonliteral is turned on by default. From coypu in PR 50753; already merged upstream. While here, regen two patches.
Add SHA512 digests for distfiles for devel category Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
add upstream bug url
fix build on NetBSD-current (%m printf modifier not allowed)
Update glib to 2.44.1 Highlights from the release notes: * Don't redefine typedefs to avoid build problems on OpenBSD * Improve the default application algorithm * Bump the number of children a GType can have * GUnixMountMonitor now properly supports multiple main contexts * many documentation improvements and cleanups. We are now approaching a point where the documentation is 100% complete and the xml will build without warnings. This will probably be enabled by default in the next cycle. * new support for HTTP proxies in GIO * new GTask:completed property * use "private" futexes in order to further improve the performance of the contended case of GMutex and g_bit_lock() * GApplication now has an "is-busy" property, allowing one to query the effective busy state. * new GSimpleIOStream class to construct a GIOStream from an arbitrary GInputStream and GOutputStream * GApplication: new API for marking 'busy' state according to the value of a boolean property on another object * GOptionGroup: add binding support (boxed type, annotation fixes, etc.) * GType now has type declaration macros G_DECLARE_DERIVABLE_TYPE, G_DECLARE_FINAL_TYPE and G_DECLARE_INTERFACE, which significantly reduce the boilerplate needed for GObject types and interfaces. * g_autoptr and g_auto are macros for declaring variables with automatic cleanup. They only work with gcc and clang. * GListModel is a new interface that represents a dynamic list of GObjects. * GListStore is a GSequence-based implementation of GListModel. * Support thread names on OS X * g_simple_action_set_state_hint: New function to set the state hint of GSimpleActions * g_win32_check_windows_version: New function to check Windows version * g_settings_schema_list_children and g_settings_schema_key_get_name * add g_set_object() convenience function * GNetworkMonitor: check if NM is not running and don't crash * fix some races with g_mkdir_with_parents * fix some warnings in MSVC * avoid use of G_STRLOC in G_OBJECT_WARN_INVALID_PSPEC in order to save on static strings * fix some content type vs. mime issues * documentation improvements * GSocket: avoid unnecessary g_socket_wait_condition() for blocking sockets * Implement GContentType on OSX * New function: g_strv_contains * New function: g_network_address_new_loopback * New function: g_socket_send_messages * A new GNetworkMonitor implementation using NetworkManager provides more detailed connectivity information * GQueue now accepts NULL as a sibling in g_queue_insert_before() and g_queue_insert_after() * Need to disable SSLv3 in glib-networking * GObject gained a debug option to provide instance counts. To use it, set GOBJECT_DEBUG=instance-count and call g_type_get_instance_count(). * GOption now has a strict POSIX mode in which it stops parsing arguments as soon as a non-option argument is encountered. * ... and many other bug fixes. * Many translations updated. For full details see: https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-44
Update glib2 to 2.42.2 Overview of changes in GLib 2.42.2 ================================== * Bugs fixed: 712570 Hang in g_threaded_socket_service_func 719455 g_file_make_directory_with_parents() can erroneously throw... 727829 win32: glibconfig.h.win32 updates 734946 Implement GContentType on OSX 741024 glist: Mention that g_list_length() is bad for checking li... 741654 [patch] gobject: don't use G_STRLOC in G_OBJECT_WARN_INVAL... 741788 Document GSettings build system integration 741807 Add thread name support on OS X and iOS 742851 avoid MSVC warnings in G_STMT_END 743508 polkitd fails to start: patch for gio/gcredentialsprivate.h 743936 handle unsigned modifier for long long in internal printf * Translation updates: Swedish
patches/patch-glib_gmain.c: Imported patch from the upstream Bugzilla Bug 728123 - glib2 @2.40.0 issues a "Got weird mach timebase info" error (Macports, PPC) https://bugzilla.gnome.org/show_bug.cgi?id=728123 Tested on powerpc-apple-darwin9.
Update glib2 to 2.42.1 Overview of changes in GLib 2.42.1 ================================== * This release disables deprecation warnings by default * Bugs fixed: 728256 gcredentials: add NetBSD support (no more patch-gio_gioenums.h) 736806 gtask: Fix reference count loop causing leaks 737143 Include <stdint.h> in glib/valgrind.h 738170 g_byte_array_new_take() doesn't initialize array->alloc 738197 g_cond_timed_wait() doesn't time out on Mac OS X * Translation updates: Bengali (India) Bulgarian Gujarati Italian Norwegian bokmål Telugu
Update glib to 2.42.0 Patches removed: - patch-ba Fixed in 4f775b7b and 369c8bd5 (Bug 583330) - patch-gio_gcredentials.c patch-gio_gcredentialsprivate.h patch-gio_gsocket.c patch-gio_gunixcredentialsmessage.c patch-gio_tests_credentials.c Fixed in 3428bba1 and e763d934 (Bugs 728256 735819) - patch-glib_gmessages.c Fixed in ab9f63fa (Bug 720708) Patches changed: - patch-gio_gioenums.h Still need 45344f36 (Bug 728256) - patch-ak (=> patch-aa) Hunk 9 fixed in 74ec9470 Highlights from the release notes: * GApplication now has binding-friendly API to handle commandline options: g_application_add_main_option * G_GNUC_BEGIN_IGNORE_DEPRECATIONS works with clang * g_clear_pointer and g_clear_object no longer use atomics * The Unicode support has been updated to version 7.0 of the Unicode standard * GNotification now supports priorities for notifications * GCredentials has gained NetBSD support * GMutex now uses a faster, native implementation on Linux * Many bugfixes found by static analysis, including potential fd leaks and NULL pointer dereferences. * Increased use of (nullable) attribute on out values and return types now that it is supported (mostly from porting Vala metadata). * use XDG_CURRENT_DESKTOP for OnlyShowIn/NotShowIn handling of desktop files, deprecating g_desktop_app_info_set_desktop_env() * add support for g_desktop_app_info_get_implementations() to find desktop files that have an Implements= line for a given interface * GHmac has gained SHA-512 support * support the new mimeapps specification (most notably, moving the assoications/defaults configuration to ~/.config/mimeapps.list). * libgobject is now linked -Wl,-z,nodelete when possible to avoid errors when gobject is used from a module for a program that does not itself use gobject and that module is unloaded/reloaded * ... and many other bug fixes. * Many translations updated. For full details see: https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-42
Changes 2.40.2: This release contains several BSD-related fixes backported from master which failed to make it into the last release.
Fix ABI break (2 enums change value) when I added NetBSD credential support
Refer to upstream bug
Fixes glib2 on netbsd-5. From OBATA Akio. Tested on macppc and amd64.
Update glib2 to 2.40.0 Patches removed: - patch-ai Fixed in e3fa9c9a (Bug 583321) - patch-cj Fixed in c58a7b8c (Bugs 641350 711047) - patch-gio_gdbusmessage.c Fixed in 0167c334 - patch-gio_gfile.c Fixed in 091e4660 (Bug 721034) - patch-gio_glocalfile.c Fixed in 7eb1e5fc (Bug 708860) - patch-ap and - patch-aq Credentials have changed, see below Patches changed: - patch-aa Second chunk fixed in 838b49ea (Bug 711600) - patch-ba Third chunk fixed in 7cf221aa Reworked Bug 583330 Patches added: - patch-glib_gmessages.c Closes PR pkg/48318, fixed in 7328089e (Bug 720708) - patch-gio_gcredentials.c - patch-gio_gcredentialsprivate.h - patch-gio_gioenums.h - patch-gio_gsocket.c - patch-gio_gunixcredentialsmessage.c - patch-gio_tests_credentials.c Attempt at gcredential support for NetBSD (Bug 728256) Highlights from changes: * Disable IPv6 testcases on machines without IPv6 * Document that it is a bad idea to match on generic error codes * This release introduces a hard dependency on present and functioning clock_gettime() and CLOCK_MONOTONIC. It also introduces a dependency on pthread_condattr_setclock() unless your system happens to have pthread_cond_timedwait_relative_np() (as do Mac OS and Android). This release is known to be broken with at least GNU/Hurd, pending addition of working pthread_condattr_setclock(CLOCK_MONOTONIC) there. * New API: g_str_to_ascii() * fix a crasher in code from gdbus-codegen * improvements to gobject gdb helper script * Portability: - fix a deadlock issue with kqueue on FreeBSD - work around a quirk in the sunstudio compiler - rename a variable to avoid clashing with a macro definition of 'environ' on some platforms (like mingw) - use POSIX-specified <poll.h> over <sys/poll.h> - many improvements to Visual Studio projects and and some build fixes for Windows * tests - a very large number of improvements in test coverage - don't report skipped tests as failures - return 77 if we skip all tests in an executable - improve gtest documentation and fix some minor issues - fix g_test_trap_reached_timeout() return value - remove some dead code uncovered during test coverage expansion - Use tap mode for installed tests too, when using tap * fix races in unix signal handling * make our GVariant-based commandline tools (glib-compile-schemas, gdbus, gapplication) print out GVariant parse errors in context * GApplication now has a --gapplication-service command line switch to turn any GApplication into a service * improve compatibility of GApplication and GOptionContext * fix gsettings.m4 wrt. builddir != srcdir with non-recursive make * use a directory monitor in GKeyfileSettingsBackend * improve robustness of some GIcon classes * Portability - Remove alleged support for OS/2 - Remove alleged support for BeOS - Remove alleged support for last-millennium Unixes - Require C90 compliance - Require POSIX.1 (1990) compliance on Unix - Require GNU make * GSettings fixes/improvements - GSettingsSchema API is now more powerful and consistent - new GSettingsSchemaKey API allows accessing metadata for keys: type, default value, range and the long-awaited support for summary and description - GSettingsSchemaSource gains support for listing schemas within a source. Deprecate the global API that did this for the default source. - 'gsettings list-schemas' now works properly with --schemadir - deprecate a bunch of now-redundant functionality on GSettings - add API to GSettings for getting the default value of a key (as set by the sysadmin) - add API to GSettings for determining if the user has assigned a particular value to a key (ie: we are not just reading the default) - ignore qualified tags and attributes appearing in schema files * Applications/Actions - make GSimpleAction a bit more strict with respect to state changes that would violate the interface (ie: by changing the state type after construction) - throw an error when attempting to 'Describe' a non-existent action via D-Bus instead of returning a bogus description - throw an error when attempting to invoke unsupported methods on an Application (eg: 'Open' on an app that doesn't HANDLES_OPEN) instead of emitting a g_critical() in context of the app (which is not itself at fault for the errant call) * Appinfo - substantially rework GDesktopAppInfo to reduce the amount of disk accesses that are performed in common situations - add a new class: GAppInfoMonitor for discovering when applications are installed/removed - add a new g_desktop_app_info_search() API for searching for installed applications by name, keywords, etc. * GMarkup: add new G_MARKUP_IGNORE_QUALIFIED flag for skipping over "qualified" tags and attributes (those with a colon in the name, such as 'my:tag') * GDBus - ignore qualified tags, as above - GTestDBus: unset all D-Bus addresses (such as STARTER) to ensure that test programs don't pick them up - add new session_bus_run() convenience in the tests and use it * GRand: use real random data as a seed on win32 and use the timestamp/pid/uid fallback only on UNIX machines where we can't open '/dev/urandom'. This may cause issues with older mingw32 releases due to a missing prototype for the rand_s() API. * Many win32 (and particularly MSVC) portability fixes. Many additional tests are now runnable when building with MSVC. * Due to early testing of the (soon to land) GCleanup framework, a very large number of memory errors have been found and fixed (mostly in the testcases, but some in glib itself). * GIO: - some more seeking cleanups: particularly on GLocalFileInputStream - don't leave a .trashinfo file around if trashing a file fails - Add a request_certificate virtual method to GTlsInteraction * GNotification - new API for sending persistent notifications via the desktop shell - notifications persist when the application has quit and clicking on them can restart the application with an action (via DBusActivatable) * GSubprocess - new API for launching subprocesses - nice GIO integration like async functions, cancellability, etc. - a convenient communicate() API inspired by the same API in Python - related: the gspawn API now has a CLOEXEC flag for the created pipes for stdin/stdout/stderr * New gapplication(1) commandline tool - intended to be used with DBusActivatable apps - can be used for launching apps, opening files, invoking application actions and listing apps and actions - bash tab completion is supported * GDesktopAppInfo changes: - g_file_get_path() can implicitly cause a FUSE mount so don't call it until we know we need it (for an app that doesn't support URIs) - don't crash when trying to load from a keyfile with DBusActivatable=true - remove some dead code, refactor the search path handling a bit and do a large-scale whitespace cleanup (prep work for the pending desktop file index) * File monitors - fix broken handling of mount point monitoring - remove some strange use of GObject::constructor() from the base class and inotify backend - fix GFileMonitor to work in the non-default main context even when the main context is not running (or is blocked) - add internal private API for easily creating a file monitor in the GLib worker thread * GSettings - g_settings_list_children: only list viable schemas. This fixes a longstanding issue where 'gsettings list-recursively' will crash when there are invalid schemas installed - don't accept invalid paths on g_settings_new_with_path, etc. * GIO - GFile now has a thumbnail::is-valid attribute to check if the thumbnail in thumbnail::path needs to be regenerated - GDBusProxy now has a flag to control autostarting of services at construction time - for GSeekable, properly introduce the concept of "resizable" vs. "fixed-sized" streams in the docs, explaining the expected semantics of the interface in each case - fix some cases in GMemoryOutputStream that were violating the above expectations (which may cause a slight API incompatibility) - clean up GCredentials code and add support for Hurd and Solaris - improve splicing by using different codepaths for the case where we have real _read_async() and _write_async() implementations on the stream vs. the case where they are internally emulated (via dispatching the sync variant of the call in a thread) * GKeyFile - fix a leak in g_key_file_get_(u)int64 when we fail to parse the value as an integer - add long-requested API g_key_file_save_to_file() * Portability improvements - avoid using O_DIRECTORY on platforms that don't have it - be careful about systems that define SOCK_CLOEXEC but don't actually support it (like Hurd) - only use SA_RESTART if it exists * Other small API changes/additions - a pair of functions to support matching strings for the type of search functionality that you'd expect to have with things like GtkSearchBar. This will also be used by the desktop file index. - g_str_is_ascii() with obvious purpose - g_test_expect_message() no longer appears to allow you to catch G_LOG_ERROR messages * GMainContext/GSource - fix handling of overflowing the 'next source id' counter - g_source_remove() will now throw a critical in the case that you try to remove a non-existent source. We expect that there is some code in the wild that will fall afoul of this new critical but considering that we now reuse source IDs, this code is already broken and should probably be fixed. - simplify handling of the 'current dispatching source' to not require use of a linked list * GObject - the long-broken (and leaky) pattern of destroying a just-allocated object from inside of a custom GObject::constructor is now officially completely illegal and will abort the program * Unicode: update to 6.3.0 * Many bug fixes * Many translation updates For full details see: https://git.gnome.org/browse/glib/tree/NEWS?id=2.40.0
Bug 730332 - glib uses wrong timezone transition with zoneinfo 2014c and up Patch from John Ralls. Bump PKGREVISION.
Add link to GNOME bug report.
Fix build with SunStudio C Compiler under Solaris 10.
Fix build on Solaris, based on patch by Uwe Klaus in PR 48435.
Update glib2 to 2.38.2 Patches removed: - patch-ce: fixed in 690d6b97 (Bug 697386) - patch-gio_gcontenttype.c: committed as ab5aa2aa - patch-gio_glocalfile.c: fixed in 584358 (Bug 698348) - patch-gio_gthreadedresolver.c: fixed in 8372f22b - patch-glib_gfileutils.c: fixed in 8372f22b - patch-glib_gmarkup.c: : fixed in 8372f22b - patch-glib_gstrfuncs.c: fixed in 8372f22b Patches changed: - patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958) - patch-ah: last 2 hunks removed as something similar in 8372f2 - patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958) - patch-ba: hunk 9 removed as committed as d47430 (Bug 697365) Overview of changes from GLib 2.38.1 to 2.38.2 =============================================== * GCancellableSource will now dispatch for each time a cancellable is cancelled (ie: in the case that it was reset) but this is still considered undefined behaviour * fix g_source_add_child_source() thread safety issues * add workaround for buggy D-Bus daemons when path-matching on '/' * fallback to pathname queryinfo to help g_file_copy() work on gvfs filesystems that don't implement query_info_on_read() * don't crash if loading a DBusActivatable application from keyfile * fix crash when replacing a symlink with another using GIO * add a fallback for '-symbolic' icons to the non-symbolic form Overview of changes from GLib 2.38.0 to 2.38.1 =============================================== * Fix error code checks when SOCK_CLOEXEC is defined but not supported (fix support for GNU/Hurd) * g_settings_list_children: only list viable schemas (fix gsettings list-recursively crashes with invalid schemas installed) * GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path when adding match rules * Various -Werror=format-nonliteral fixes * gmessages: fix clang annotations to work with older versions * gio: don't dist (generated file) gnetworking.h * Restore gl_GLIBC21 to configure; needed for libcharset Translations: Catalan (Valencian) Norwegian bokmål Russian Serbian What's new in Glib 2.38 ======================== * Application support - GIO now provides an implementation of Desktop Actions from the desktop entry specification - GApplication now implements the org.freedesktop.Application interface as per the desktop entry specification, allowing for standards-based D-Bus launching of GLib-based applications - GDesktopAppInfo now supports DBusActivatable as per the desktop entry specification, allowing GLib-based applications to use D-Bus to launch other applications - GApplication now has a "busy" flag that can be set on an application to allow the shell to show that it is busy * GObject - the private offset for a given class type is now always constant. This was done by reorganising the memory layout of instances so that the private data comes before the "official" pointer for the object (ie: at a negative offset). Valgrind macros were added to mitigate any problems that this may have caused. - a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a generated function *_get_instance_private() that can now serve as an equally-performing alternative to ->priv pointers in instances (allowing memory savings) - new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros provide a convenient method of converting between named variables in private structures and their (now constant) offsets - installing properties on a GObjectClass must now be done from class_init. It is no longer valid to install them after class_init has returned. - it is now possible to manually break a GObject property binding without destroying one of the objects involved * Icons - the requirements for implementing the GIcon interface have changed in order to make it possible to consume all implementations of GIcon with a finite number of cases - a new GBytesIcon type was added for an icon represented by an in-memory binary blob in a known image format (ideally png). - new APIs g_icon_serialize() and g_icon_deserialize() replace the old to/from_string APIs and will always work, irrespective of which types have been initialised in the calling process, allowing for a serialised GdkPixbuf to be deserialised in a process that doesn't have GdkPixbuf - support for icons has been added to GMenuModel using the new APIs * Actions and menus - GPropertyAction provides a convenient way of creating a stateful property corresponding to a property on a GObject, such as the "visible-child-name" property of a GtkStack - new API g_menu_remove_all() - we now have established rules about what is a "valid" action name and an API to check them - a new API for converting detailed action names to and from the split-out name and parameter value (as GVariant) - for backwards compatibility, invalid action names can still be used with most functions, but this is not recommended * Other GIO - GDBus now supports services that wish to handle some of all properties on an interface asynchronously, without requiring the service to reimplement the entire org.freedesktop.DBus.Properties interface - GFile now has a new _measure_disk_usage() (and async) API for recursively determining the amount of disk space used by a particular directory (akin to 'du'). - asynchronous version of g_file_trash() and g_file_make_directory() have been added * Other new API - GRegex has a new function to query the maximum lookbehind length to allow for regexp matching on streams - GVariant has two new APIs for constructing strings that allow avoiding copies in some cases: g_variant_new_take_string() and g_variant_new_printf() * Testing - we can now generate TAP output - new support functions for simplifying the process of dealing with data files for srcdir != builddir and installed test cases - g_test_trap_subprocess() provides a portable alternative to g_test_trap_fork() * Other - GLib now builds on Android against the bionic C library Overview of changes from GLib 2.37.93 to 2.38.0 ================================================ * fix the documentation for GSourceFuncs * fix compilation on OS X/ppc64 Bugs fixed: 708445, 647145 Translations updated: Danish French Portuguese Punjabi Overview of changes from GLib 2.37.92 to 2.37.93 ================================================ * a couple of bugfixes in the new g_file_measure_disk_usage() API * updated Traditional Chinese translation Overview of changes from GLib 2.37.7 to 2.37.92 =============================================== * new API g_file_measure_disk_usage() similar to du(1) * minor fixes * Translation updates: Assamese Belarusian Brazilian Portuguese Catalan Czech Galician German Hungarian Indonesian Italian Korean Korean Latvian Lithuanian Polish Serbian Slovenian Spanish Overview of changes from GLib 2.37.6 to 2.37.7 ============================================== * GDateTime now supports %:z formatting variations for timezones. This is a GNU date extension. * Bugs fixed: 685387 Segfault with GObject.signal_handler_is_connected()... 686786 g_socket_get_available_bytes() returns wrong value ... 705027 GSocket GSource not threadsafe on Windows 706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation 706706 Fix Gir annotations on g_loadable_icon_load_finish 706888 gtype: fix a no-op assertion 706958 configure.ac: fix atomic opts detection 707092 "File Utilities" page for GLib documentation doesn'... 707151 gdatetime: Extend the '%z' timezone format * Translation updates: Catalan Hungarian Japanese Polish Slovak Tamil Overview of changes from GLib 2.37.5 to 2.37.6 ============================================== * Tests using the g_test facilities can now generate TAP output * Bugs fixed: 680926 generic type fallback logic is broken for -symbolic 684327 setting null icon to icon list 689245 GSocket unable to reuse (address,port) on Mac OS X 692125 Support TAP as GTest output format 693335 build: fix dtrace-related warnings 696633 gdbus-codegen trips over unicode chars when using python 3.x 696970 Compiling 2.36.0 for win64 fails 697185 GSocket – Allow specifying the multicast interface from... 700268 Add support for using the clang analyzer 701318 Add G_SPAWN_DEFAULT to GSpawnFlags 701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff() 701800 a new approach to reporting critical errors 702674 g_date_time_new_utc crash 704165 GLib.IOChannel read_unichar() fails 705075 Simplify g_get_tmp_dir() 705152 Race in glib/task.test 705398 gtype: Fix typo in g_type_class_add_private() error message 705570 Check ref_count in g_object_notify_by_pspec 705600 Deprecate GSimpleActionGroup functions? * Updated translations: Assamese Brazilian Portuguese Czech Dutch Galician Gujarati Hebrew Italian Lithuanian Marathi Norwegian bokmål Russian Slovenian Spanish Thai Traditional Chinese Overview of changes from GLib 2.37.4 to 2.37.5 ============================================== * Implement the Desktop Action specification: In the case that the application is a GApplication and DBusActivatable, actions from the desktop file are translated into GActions that have been added to the application with g_action_map_add_action(). * GPropertyAction is a new type of GAction that represents the value of a property on an object, and allows to change the value when activated. * GNetworkMonitorNetlink can now handle default routes via a device. * The gsettings tool now reports failure to write a key (e.g. because the key was locked down) * Miscellaneous new api: - g_variant_new_printf - g_action_print_detailed_name - g_regex_get_max_lookbehind * Bugs fixed: 664444 Support additional application actions in .desktop files 684123 glib build only tries -D_GNU_SOURCE if glibc is detected 689794 support incremental matching 699259 add org.freedesktop.Application support to GIO 700460 rewrite tests to not rely on precise timing of timeouts 701511 updates to various GSource types 701609 gnetworkmonitornetlink: handle default route via device 703270 add GPropertyAction 704157 GAction: add function for printing detailed names 704250 Doc: various fixes 704267 regression gsourceclosure: segfault in gedit file chooser 704322 glib-unix: fix handling of multiple signal source for the... 704424 No error when failing to override a locked key 704447 Fix build/use of g_child_watch_closure_callback on Windows 704523 g_thread_create_full() can dereference NULL pointer 704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ... 704567 gdbusnameowning: Don't spew an error if we're releasing a... 704585 libc printf can give mixed-case strings for NaN and Inf 704587 FTBFS: statfs_result is undeclared for statvfs() 704699 gmain: Reset signal handlers to default when source is 704704 AI_NUMERICSERV cannot be used with ai_socktype = 0 704873 inotify: don't assume mainloop is running 704999 glib/convert.test crashing due to lack of iconv cache 704931 GMenuModel: add annotations to virtual functions * Translation updates: Assamese Czech German Gujarati Spanish Tamil Overview of changes from GLib 2.37.3 to 2.37.4 ============================================== * Bugs fixed: 701283 g_source_add_child_source() segfault 702147 inconsistency of G_STRFUNC 703191 new private macros interact poorly with versioning macros 703254 Doc: various fixes 703407 g_spawn_async() keeps child_pid_report_pipe open in child process 703437 GDBusConnection: be more careful with async GetAll 703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h * Translation updates: Catalan Overview of changes from GLib 2.37.2 to 2.37.3 ============================================== * add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE * fix timestamps in tarball to prevent automake from being required to build the unmodified source * add new D-Bus API for async property handling * add back fsync() on ext4 for g_file_set_contents() after it was discovered that despite statements in the ext4 documentation suggesting that this is safe, it is not safe. * Translations: Italian Norwegian bokmål * Bugs fixed: 698375 - D-Bus async properties 700350 - timestamp issue 701560 - fsync issue (fixed again) 700035 - new API for instance private data Overview of changes from GLib 2.37.1 to 2.37.2 ============================================== * The GLib test utilities have grown some file-related APIs to support tests that can be used installed and uninstalled. * Installing properties after class initialization is deprecated, and will trigger a warning. * GApplication: - Support org.freedesktop.Application, including D-Bus activation from desktop files - Set prgname to appid for services * Bugs fixed: 549783 gtester lacks framework for tests with data files 692848 Fix property example in gobject tutorial 698018 Add an explicit g_binding_release() 698614 GObject: prevent installing properties after init 699259 add org.freedesktop.Application support to GIO 699959 g_file_copy(): Ensure we create private files by default 700123 Test failure: g_inet_socket_address_get_scope_id 700725 GIcon: NULLify the `type' out param in the sync methods too 701401 gtest: add function for testing for WINE 701456 Error in gnome/glib/gio/tests/file.c 701474 Error building glibmm due to extra comma in glib/gtestutils.h 701560 various improvements for g_file_set_contents() 701680 GFileEnumerator: Add some documentation about ordering 701878 Check wakeup() before iteration(TRUE) doesn't block * Translations: Assamese Czech Galician Gujarati Kannada Marathi Odia Polish Slovenian Spanish Telugu Overview of changes from GLib 2.37.0 to 2.37.1 ============================================== * add support for installed tests: https://live.gnome.org/GnomeGoals/InstalledTests * add a new g_test_trap_subprocess() that works on Windows as a replacement for the (now deprecated) g_test_trap_fork() * support for explicitly cancelling a gobject property binding * performance improvements for signal argument handling * stop using `quotes' in very many log messages generated by GLib, for favour of 'this style'. This may cause testcases in other packages to fail if they were matching on the previous text. * improve manpages: add missing arguments and flags Translations: Aragonese Assamese Gujarati Hindi Kannada Norwegian bokmål Odia Slovenian Spanish Tamil Telugu Bugs fixed: 679683 replace g_test_trap_fork() 694380 Improve signal argument collection performance 695233 Strings require plural forms 697849 spelling fixes in cross.xml and running.xml 698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port 698981 [PATCH] test /gdbus/connection/large_message could hang forever 699079 Prototype support for installed tests 699485 [PATCH] tests/mappedfile: Also handle ENOMEM 699493 SOCKS5 proxy code crashes if it cannot authenticate 699500 gbitlock: fix this to not unconditionally use futex emulation 699779 [PATCH] G_GNUC_FORMAT: documentation error 700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC 700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core 700746 Use 'dumb quotes' rather than `really dumb quotes'
Improve "poll list of mounted file systems" patch by removing some __OS_name__ ifdefs.
patches to suppres glib2 gcc format warnings converted to errors
Overview of changes fron GLib 2.36.2 to 2.36.4 ============================================== This change addresses a major issue: despite assurances in the documentation for the ext4 filesystem, it is still unsafe to omit a call to fsync() when doing atomic replaces, as per g_file_set_contents(). Some patches have gone into the kernel already, but we are putting the fsync() back for safety reasons. There have also been win32 improvements and a fix where GNetworkMonitor failed to detect the connection with some VPN configurations. Translation updates: Assamese Brazilian Portuguese Catalan Czech Galician German Indonesian Kannada Lithuanian Marathi Polish Punjabi Russian Serbian Slovenian Spanish
Fix build failure on NetBSD/arm 6.1. PR/47941 - fix configure scripts to detect !G_ATOMIC_LOCK_FREE correctly (use AC_TRY_LINK rather than AC_TRY_COMPILE to see if symbols are defined) - fix prototype mismatches in !G_ATOMIC_LOCK_FREE case (note no binary changes in G_ATOMIC_LOCK_FREE case) "please commit it" from agc@.
Reapply clang fix.
Remove patch-glib_gfileutils.c for now, breaks too much in current form. See PR 47932 and PR 47934.
Fix building with clang
Update to 2.36.3: Overview of changes fron GLib 2.36.2 to 2.36.3 ============================================== * Bug fixes: 692848 Fix property example in gobject tutorial 696857 GThreadedResolver: set an error if no records could be found 697849 spelling fixes of 'runtine' and 'adresses' in cross.xml a... 699779 G_GNUC_FORMAT: documentation error 699959 g_file_copy(): Ensure we create private files by default 701560 various improvements for g_file_set_contents() 701680 GFileEnumerator: Add some documentation about ordering * Translation updates: Kannada
Update glib2 to 2.36.2 gdbus-codegen has grown a --xml-files option for introspection XML files. * Bug fixes: 697887 GVariant: fix transfer annotation 699485 tests/mappedfile: Also handle ENOMEM 699493 SOCKS5 proxy code crashes if it cannot authenticate 699500 gbitlock: fix this to not unconditionally use futex emu... Fix a hang in pidgin * Translation updates: Indonesian Italian Lithuanian Norwegian bokmål Polish Serbian Slovenian
Don't complain about non-literal format strings in a number of fix the build with clang.
apply a patch for upstream Bug#697365 (fixed in master, not 2.36.x yet). at least, required for Cygwin.
Update glib to 2.36.1 Among many bugfixes, changes and translations: * GIO now has kqueue support for GFileMonitor (BSDs, Mac OS) * GTask (the new GAsyncResult implementation) has landed * We now install a public "gnetworking.h" header that can be used to include the relevant OS-dependent networking headers. This does not really abstract away unix-vs-windows however; error codes, in particular, are incompatible. See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.36.1 for details. Patches removed: - patch-aj: Per PR pkg/41601: Bug 133344 is closed and compile tested by Joern Clausen - patch-at: Fixed in b26fb3ae (Bug 687600) - patch-cf: Adds sys/param.h - if still needed, should go into gnetworking.h.in XXX might still be needed - patch-cg: Fixed (or changed anyway) in 6f8f1f70 and 52a81a7d (Bug 688681) - patch-ci: Fixed in a33aaad0 (Bug 637013) - patch-glib_goption.c: Fixed in f9a6a974 - patch-glib_tests_include.c: Fixed in d2b7ee62 (Bug 672406) Patches changed: - patch-ak: First chunk fixed in 5fbdd3aa (Bug 691011) - patch-ap: Added NetBSD support to g_credentials_get_unix_pid() First chunk fixed in b377e696 (Bug 623187) - patch-aq: First chunk fixed in b8c13a01 (Bug 688109) Patches added: - patch-gio_glocalfile.c (Reported as Bug 698348)
Fix build with kqueue option and automake-1.13.
update to 2.34.3 changes: -bugfixes -translation updates
add the kqueue patch again
Changes 2.34.2: * Bug fixes: 649302 Add support for GNU/FreeBSD 672924 Add annotations for g_filename_from_uri() 685995 Crash in g_menu_exporter_name_vanished 686091 Invalid reads in g_bytes_unref_to_data 686185 g_date_time_format Transcoding Fails on OSX 686213 Half open TCP sockets remain open after soup... 686662 introduce explicitly-sized enum types, depre... 686786 g_socket_get_available_bytes() returns wrong... 687089 g_dbus_connection_export_menu_model(): fix a... 687540 In Trash folder, Nautilus misinterprets "\n"... 687541 GSignalQuery param_types field needs array a... 687600 gfileutils.c performs invalid cast of (varar... 687801 tests/buffered-input-stream: Fix size of par...
update to 2.34.1 changes: -bugfixes -translation updates
Update glib2 and therefore gdbus-codegen and gio-fam to 2.34.0 - patch-ar and patch-as to avoid dependending on python are no longer necessary since the introduction of --disable-modular-tests - patch-co has been committed to glib in 2360d04e - other patches cargo culted across - statfs test was fixed in glib with commit afa82ae8 - no longer provide man pages as that requires docbook & xsltproc Many changes in glib since 2.32.4, especially GDBus improvements. See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.34.0 for details.
update to 2.32.4 changes: bugfixes
Commit a different fix for the Solaris 32-bit libelf problem. Disable largefile support only in programs which depend upon libelf (currently just gresource), rather than across the entirety of glib2. Bump PKGREVISION.
Fix kqueue support by using patch for 2.32.2 and correcting some problems that we had in our own patches for the Makefile.am files. Bump PKGREVISION to 1.
Changes 2.32.3: * Bug fixes: Correct a typo in the ELF configure check Reset LIBS after the ELF configure check Fix GIO/GObject Visual C++ projects gio: fix error handling in async case of GProxy... GConverterInputStream: fix an infinite loop... * Translation updates: Bulgarian Catalan Czech German Japanese Slovenian Telugu
Fix build on SunOS.
* Update PKGCONFIG_OVERRIDE list to reflect reality. * Restore pthread flag settings in configure script. It still in the last hunk of patch-ak (for configure.ac), but lost at updated to 2.32.1. * Fixes missing pthread linkage of libglib-2.0 on OpenBSD. Bump PKGREVISION.
Changes 2.32.2: * GApplication: can now have a NULL application ID * g_clear_object: fix warnings when using it on C++ (due to lack of ability to implicitly cast void*) * GDBus: - add our own implementation of the message bus for use on Windows only - fix up a few bugs that use of this bus uncovered in GDBus - escape nonce files in dbus addressess (think 'c:\') - support initial underscores in dbus codegen namespace (for private) * Fix misdetection of GNUstep as Cocoa (for the MacOS GSettings backend) * make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment * GAppInfo: overwrite the DISPLAY only if it is set in the launch context * glib/tests/date: force US locale running the GDateTime tests * GSocketControlMessage: Don't warn about unknown messages * Resources: - fix broken use of GVDB on big endian machines - set a 'display name' so that pretty file names appear in Gtk CSS warning messages * GMainContext: - block child sources when blocking the parent - introduce more testcases for child sources * Translations updates: Brazilian Portuguese French Galician Italian Lithuanian Polish Polish Serbian Simplified Chinese Spanish * Bug fixed: 619026 avoid warning in gutils.h when using gcc with -Wconversion 669260 Open/Save dialog hangs waiting for data with libsoup 671249 GApplication: Allow a null application_id? 672786 goa-daemon: action in notification doesn't work 673409 g_resource_lookup_data may return stale data pointer 674172 glib-2.32.1 misdetects GNUstep as Cocoa 674345 cssprovider: Make sure to print out file name in css warnings 674483 broken configure results when cross-compiling with gcc >= 4.5
update to 2.32.1 This is the new major tree, needed for a number of Gnome pkgs. The optional "kqueue" patch isn't ready yet, so the "kqueue" option does not work atm.
Pullup ticket #3733 - requested by bsiegert devel/glib2: portability fix Revisions pulled up: - devel/glib2/distinfo 1.167 - devel/glib2/patches/patch-ap 1.3 - devel/glib2/patches/patch-aq 1.3 - devel/glib2/patches/patch-glib_goption.c 1.1 --- Module Name: pkgsrc Committed By: bsiegert Date: Tue Apr 10 19:48:17 UTC 2012 Modified Files: pkgsrc/devel/glib2: distinfo pkgsrc/devel/glib2/patches: patch-ap patch-aq Added Files: pkgsrc/devel/glib2/patches: patch-glib_goption.c Log Message: Add some patches for MirBSD support. More to come, but these are at least sufficient to make glib2 build successfully.
Use updated kqueue patch for glib 2.30.3.
Add some patches for MirBSD support. More to come, but these are at least sufficient to make glib2 build successfully.
restore kqueue patch checksums
Make sure to initialize mutex before use it. Should be fix PR pkg/46266 by me. Bump PKGREVISION but no need to recursive bump since it simply fixes internal problem of glib2 and no external interface at all.
update to 2.20.3 changes: -bugfixes -translation update
Add back glib-gio-kqueue-2.28.8-v3.patch to distinfo
Fix build on DragonFly. Confirmed by marino@ and Justin Sherrill.
open(2) is variadic (at least in Posix and NetBSD), g_open is not, don't mix them, the ABIs are incompatible at least on amd64 bump PKGREV
Revert previous, there are patches which should make that the python stuff is not built/installed. Patch Makefile.am the same way as Makefile.in were patched, because the "kqueue" option regenerates the latter.
avoid implicit Python dependency: don't build gdbus-codegen, it is new in 2.30 and not used in pkgsrc yet, will be added as separate pkg
update to 2.30.2 this switches to the 2.30 release branch pkgsrc note: if you use net/libsoup24 with this glib2 version, make sure to use at least version 2.34.3nb1
Update the kqueue patch to v3. Fixes issues where the trash daemon would get stuck and spin CPU when devices are forcibly-unmounted. Bump PKGREVISION.
Use the new version of the kqueue patch to fix some GTK File Chooser issues. Bump PKGREVISION to 3. Thanks Dmitry Matveev.
Update the kqueue patch to v1 and bump PKGREVISION to 2. This fixes some interaction problems with the Gtk file chooser and also corrects other problems.
Add support for kqueue by using the patches written by Dmitry Matveev during the Google Summer of Code 2011 program. Congratulations, Dmitry! :-) This comes in the form of a new 'kqueue' build-time option. This should NOT be an option, but it is for two reasons: - I consider this still experimental for it to be enabled on everyone's machines, and the code is not "official". - The patch requires us to run automake/autoconf during the pre-configure stage, and I don't want to add these dependencies on the default package build. When these patches get integrated upstream, we can get rid of the option altogether. Also note that I had to backport some of our custom changes to Makefile.in files and some to configure to the original Makefile.am files and configure.ac. This is to prevent our custom patches from being lost during the automake/autoconf invocations we now do when 'kqueue' is enabled. Bump PKGREVISION to 1.
update to 2.28.8 changes: -bugfixes -translation updates
update to 2.28.7 changes: -bugfixes -translation updates
update to 2.28.6 changes: -Fix a possible crash when using g_settings_delay() -documentation clarifications -Translation updates
update to 2.28.5 changes: -Improve documentation -Fix some introspection annotations -Translation updates
update to 2.28.3 changes: -bugfixes -translation updates
build local socket credential support on NetBSD only if LOCAL_PEEREID is defined, should fix build on NetBSD-4 (PR pkg/44718 by Michael van Elst)
update to 2.28.2 This switches to the new glib-2.28 branch which is intended to help transition to glib/gtk3. Still binary compatible. (The unix socket credential passing stuff needs work, but this is new and thus no regression.)
Add upstream bug report and remove unnecessary chunk.
Update checksum of patch-cj.
The mem-overflow test contains a declaration of an empty struct, which breaks on at least SunPro cc, and presumably some other non-gcc compilers. Skip this test for now, pending a better fix.
don't call gio-querymodules on installation of gio-fam, the framework will take care of this
update to 2.26.1 changes: -bugfixes, in particular for big-endian systems -translation updates
Fix build on solaris 10 again... #define _XOPEN_SOURCE 600 in glib/tests/strfuncs.c and include the required header to define the major() & minor() macros in gio/gdbusmessage.c upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=633390
add missing header to fix build of non-gcc-intrinsic atomic support, used by NetBSD/i386<=5.x patch provided and tested by Daniel Horecki
as in patch-ce: fix inconsistency of .hidden attributes, leading to link error on amd64, hopefully fixes build problem reported by tron
update to 2.26.0 This switches to the gnome-2.32 release branch.
update to 2.24.2 changes: -bugfixes -translation updates
fix 2 build errors: -inconsistency of .hidden attributes, leading to link error on amd64, reported by Tobias Nygren -trick NetBSD's arpa/nameser_compat.h into using the system provided endianess definitions -- it has its own ifdefs but misses eg. ppc, fixes build error on macppc reported by Erik Bertelsen
Restore comment.
update to 2.24.1 this switches to the gnome-2.30 branch
Fix typo in patch description.
Drop fam support from devel/glib2; I'll readd this as sysutils/gio-fam. This functionality can easily be built as a loadable module, so it should not be conditional on a build-time option. Split the Makefile into two parts so that the sysutils/gio-fam package can reuse most of it. Bump PKGREVISION to 1.
Update to 2.22.5. Regen patch-aa with autoconf. Overview of Changes from GLib 2.22.4 to GLib 2.22.5 =================================================== * Bugs fixed: 568760 nautilus freezes due to a bug... 609813 Renaming a file discards file notes 611696 gio uses GetAddrInfo which requires special handing... 552912 glib-2.18 /live-g-file/test_copy_move failed... 609143 *result_uncertain is never assigned in g_content_type_guess 609531 missing licence headers 610860 test_g_file_open_readwrite fails if $HOME is unwritable 612702 Fix GSocket-related crash on Windows
remove a patch which is either wrong or triggers a bug in NetBSD's ld.elf_so, seen by Zafer Aydogan and myself bump PKGREVISION
Refresh
Add patches to gmodule so that RTLD_DEFAULT is used on platforms that define it and g_module_unload symbols are only resolved in the module and not any dependencies.
update to 2.22.4 changes: minor bugfixes
Update to 2.22.3: Overview of Changes from GLib 2.22.2 to GLib 2.22.3 =================================================== * Bugs fixed: 350200 GTypeModule derived class unref does not unload plugin 598899 GWin32DirectoryMonitor is broken 563627 g_get_prgname() threadsafety 572252 Bug in g_file_test() function. 577711 cross compile check for g++ broken 598712 can't detect text file with backspace 541236 not detecting exact content type 593856 file and directory monitors don't work with --disable-debug 593809 Nautilus does not restore the position of the icons... * Updated translations: Catalan Valencian Estonian
Fixes PR pkg/42336 (STD C99 requires to use XPG6)
Update to 2.22.2. Changes are too numerous, but major new features in 2.22.x include: * GArray, GPtrArray, GByteArray, GTree and GMappedFile can be reference counted. * GLib can be forced to reload the XDG user directory mapping. * The GLib mainloop supports per-thread default contexts. * GIO now provides types and methods for IP addresses and UNIX domain socket addresses. * GResolver provides asynchronous and cancellable APIs for resolving hostnames, reverse lookup of IP addresses and resolving SRV records. * Support for network IO has been added to GIO, including low-level socket API and high-level API for network connections and services. * GIOStream and its subclasses have gained support for read-write access. * GIO supports starting and stopping of drives, which can be used in connection with external hard disk enclosures, disk arrays, iSCSI devices, etc. * GIO supports user interaction during unmount and eject operations. * GIO can store and retrieve per-file metadata.
PR 42090: Use our libtool when deciding what to do and not the included libtool 2.2.6 which has some issues.
Update to 2.20.5: Overview of Changes from GLib 2.20.4 to GLib 2.20.5 =================================================== * Fix a performance problem when trashing multiple files * Bug fixes: 593232 g_rand_new: read no more than requested from /dev/urandom 592457 preserve errno 591995 use saved errno 591532 redundant '/' returned from g_file_resolve_relative_path * Updates translations: Catalan (Valencian) Galician
Only apply the _XOPEN_SOURCE hack on Solaris, it break the Linux build.
update to 2.20.4 changes: -bugfixes -translation updates
Add URL to PR and possible upstream bug report.
Put back patch-aj, it's still required for this to build on Solaris.
update to 2.20.3 changes: -bugfixes -translation updates
Remove patch-aj, build fix for Solaris. Upstream bug report was closed, patch is supposedly not necessary any longer. If this is not the case, re-open http://bugzilla.gnome.org/show_bug.cgi?id=133344 No PKGREVISION bump since it was a build fix.
Add upstream bug report URLs.
Update to 2.20.2. Set LICENSE to gnu-lgpl-v2. Overview of Changes from GLib 2.20.1 to GLib 2.20.2 =================================================== * Bug fixes: 579862 requesting xattr::foo ends up calling getxattr(... 573246 g_desktop_app_info_dup() can access NULL pointer * Updated translations: Catalan Czech Pashto
update to 2.20.1 changes: -minor bugfixes -translation updates
Add a patch for OpenSolaris when other packages include glib/gbacktrace.h then we need to include sys/select.h before signal.h http://bugzilla.gnome.org/show_bug.cgi?id=562334 I know of at least rrdtool triggering this bug and failing to build without this patch.
Update glib2 to 2.20.0. Changes: 2009-03-13 Matthias Clasen <mclasen@redhat.com> * === Released 2.20.0 === * configure.in: Bump version to 2.20.0 2009-03-13 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-03-12 Matthias Clasen <mclasen@redhat.com> * glib/gbase64.c: Avoid integer overflows in the base64 functions. Fixes CVE-2008-4316 2009-03-11 Stef Walter <stef@memberwebs.com> * glib/gchecksum.c: Document and guarantee hex digests will be returned in lower case. Fixes bug #574019 2009-03-02 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-03-02 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.10 === 2009-03-02 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-03-02 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.9 === 2009-03-02 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-03-01 Matthias Clasen <mclasen@redhat.com> Bug 572508 – gmarkup speedup ... * glib/gmarkup.c: Various optimizations: do less allocations by keeping a pool of GStrings, do in-place unescaping, avoid redundant utf-8 validation. Patch by Michael Meeks * tests/markups/fail-36.gmarkup: Adapt 2009-03-01 Matthias Clasen <mclasen@redhat.com> * glib/gthread.c: Fix docs. 2009-03-01 Matthias Clasen <mclasen@redhat.com> * tests/slice-threadinit.c: Change one magazine size from 77 to 81 to make distcheck work on x86-64. 2009-02-27 Tor Lillqvist <tml@novell.com> Bug 167569 - g_string_append_printf crashes on win32 when used with a NULL argument * glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy programs. Patch by Owen. 2009-02-23 Paolo Borelli <pborelli@katamail.com> * glib/gutf8.c (_g_utf8_make_valid): sanity check the input paramter. 2009-02-23 Tor Lillqvist <tml@novell.com> Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion of function pointer to object pointer * glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change the type of the function's parameter to be explicitly a function pointer. * glib/gutils.h (_g_win32_get_system_data_dirs): Modify declaration and the only caller, the inline _g_win32_get_system_data_dirs(), accordingly. Add comments pointing out these are internal GLib functions. 2009-02-22 Matthias Clasen <mclasen@redhat.com> Bug 572151 – “it's” and “its” confused in docs and comments * Fix "it's" vs "its" confusion throughout the source. Patch by Will Thompson. 2009-02-22 Matthias Clasen <mclasen@redhat.com> Bug 572464 – Doc for g_file_get_contents * glib/gfileutils.c (g_file_get_contents): Improve docs. Pointed out by Øystein Johansen. 2009-02-22 Matthias Clasen <mclasen@redhat.com> Bug 572672 – glib/gthread.c: argument is different type * glib/gthread.c (g_once_init_leave): Add a necessary cast back. Pointed out by Kazuki Iwamoto. 2009-02-17 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-02-17 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.8 === 2009-02-17 Matthias Clasen <mclasen@redhat.com> Fix strict aliasing warnings and viiolations to make GLib and GLib users buildable with gcc 4.4. Patch by Jakub Jelinek. * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments, fix macro versions to only operate on objects of the same size. * glib/gdataset.c: * glib/gthread.[hc]: * glib/gdatasetprivate.h: Remove unnecessary casts in g_atomic_pointer_get calls. 2009-02-16 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-02-16 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.7 === 2009-02-16 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-02-13 Mathias Hasselmann <hasselmm@gnome.org> Add note about g_utf8_offset_to_pointer() not checking string boundaries. * glib/gutf8.c (g_utf8_offset_to_pointer()): See summary. 2999-02-11 Matthias Clasen <mclasen@redhat.com> Bug 523742 – Use noinst for non-installable libraries * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled libraries.Patch by Björn Lindqvist 2009-02-06 Murray Cumming <murrayc@murrayc.com> * gio/gfilterinputstream.c: * gio/gfilteroutputstream.c: Correct the grammar in some property documentation. * gio/gdatainputstream.c: * glib/gregex.c: Correct the spelling of occurrence in documentation. 2009-02-02 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-02-02 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.6 === 2009-02-02 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-01-31 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-01-31 Matthias Clasen <mclasen@redhat.com> Bug 569105 – g_time_val_to_iso8601() assumes time_t==long * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime(). Pointed out by Matthias Drochner. 2009-01-27 Christian Persch <chpe@gnome.org> * configure.in: * docs/reference/glib/glib-sections.txt: * docs/reference/macros_misc.sgml: * docs/reference/glib/tmpl/types.sgml: Add G_GOFFSET_FORMAT and friends. Bug #563141. 2009-01-23 Stefan Kost <ensonic@users.sf.net> * docs/reference/glib/Makefile.am: Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix on problem with the doc build. 2009-01-21 Tor Lillqvist <tml@novell.com> * glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop unused variables. 2009-01-20 Matthias Clasen <mclasen@redhat.com> Bug 568294 – A wrong reference in the description of g_bookmark_file_add_application() * glib/gbookmarkfile.c (g_bookmark_file_add_application): Fix a typo in the docs. Pointed out by Takeshi Aihana 2009-01-19 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.5 === 2009-01-18 Matthias Clasen <mclasen@redhat.com> * glib/gstrfuncs.c (g_strdup_printf): Fix a doc typo. 2009-01-18 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-01-18 Matthias Clasen <mclasen@redhat.com> Bug 512779 – --disable-regex breaks compilation * configure.in: Define an ENABLE_REGEX macro * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX is not defined. 2009-01-18 Matthias Clasen <mclasen@redhat.com> * glib/gbsearcharray.h: Quell some compiler warnings. 2009-01-18 Matthias Clasen <mclasen@redhat.com> * glib/pcre: Update to PCRE 7.8 2009-01-17 Matthias Clasen <mclasen@redhat.com> Bug 567977 – textdomain() macro should not return NULL when ENABLE_NLS is not set * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL argument. Patch by Peter Kjellerstedt. 2009-01-17 Matthias Clasen <mclasen@redhat.com> Bug 567838 – G_STRUCT_OFFSETOF fails to compile under icc 9.1 * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic. 2009-01-13 Matthias Clasen <mclasen@redhat.com> Bug 564728 Add function to decode base64 encoded data in place * glib/glib.symbols: * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience API to decode in place, overwriting the input string. Patch by Sebastian Dröge. 2009-01-12 Matthias Clasen <mclasen@redhat.com> * glib/gtestutils.c (g_strcmp0): Be more explicit about the NULL handling in the docs. 2009-01-12 Tor Lillqvist <tml@novell.com> * glib/goption.c (parse_arg): Guard against a mis-written GOptionArgFunc that has returned FALSE but not set the GError. 2009-01-10 Matthias Clasen <mclasen@redhat.com> Bug 566573 – g_match_info_fetch_pos docs * glib/gregex.c: Mention that positions are in bytes. Proposed by Christian Persch. 2009-01-10 Matthias Clasen <mclasen@redhat.com> Bug 566569 – gregex docs clarification * glib/gregex.c: Copy the warning about @string to all relevant docs. Proposed by Christian Persch 2009-01-09 Tor Lillqvist <tml@iki.fi> Bug 567138 - get_package_directory_from_module() does not free its lock when failing * glib/gwin32.c (get_package_directory_from_module): Obvious fix. 2009-01-05 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2009-01-05 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.4 === * NEWS: Updates 2009-01-05 Dan Winship <danw@gnome.org> * glib/tests/.gitignore: update * tests/.gitignore: update, sort * tests/gobject/.gitignore: add 2009-01-05 Tor Lillqvist <tml@iki.fi> Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32 * glib/gfileutils.c: Move the binary compatibility versions of g_file_test(), g_file_get_contents(), g_mkstemp() and g_file_open_tmp() last in the file. Remove the restriction that the XXXXXX is last in the template in the binary compatibility version of g_mkstemp(). Thanks to Morten Welinder and Jody Goldberg. 2009-01-03 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2009-01-02 Matthias Clasen <mclasen@redhat.com> * glib/gregex.c: Add an example to the g_regex_replace_eval() docs. 2009-01-02 Matthias Clasen <mclasen@redhat.com> * glib/gstrfuncs.c: Move docs inline, adding references to g_free() where appropriate. 2009-01-02 Matthias Clasen <mclasen@redhat.com> Bug 564210 – SUN Studio 12 has supported visibility attribute * configure.in: Use visibility attribute for new enough sun cc. Patch by Chris Wang 2008-12-30 Matthias Clasen <mclasen@redhat.com> Bug 565905 – There is no named g_context_group_set_translation_domain() in GOption command line parser * glib/goption.c: Fix a wrong reference in the docs, reported by Takeshi Aihana. 2008-12-30 Matthias Clasen <mclasen@redhat.com> * glib/gspawn.c: * glib/gthread.c: * glib/goption.c: * glib/gmain.c: * glib/gkeyfile.c: * glib/gfileutils.c: * glib/gdate.c: * glib/garray.c: * glib/gbookmarkfile.c: * glib/gbacktrace.c: Fix some compiler warnings. 2008-12-19 Tor Lillqvist <tml@novell.com> * glib/glib.symbols: Add g_thread_get_initialized here, too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES. 2008-12-18 Mike Kestner <mkestner@novell.com> Bug 560676 - function access for g_threads_supported * glib/gthreads.c (g_thread_get_initialized): new accessor for g_threads_supported macro. * glib/gthreads.h: add g_thread_get_initialized 2008-12-15 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version * === Released 2.19.3 === 2008-12-13 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2008-12-12 Dan Winship <danw@gnome.org> * glib/pltcheck.sh: make this work on x86_64 2008-12-12 Behdad Esfahbod <behdad@gnome.org> * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs. 2008-12-07 Matthias Clasen <mclasen@redhat.com> Bug 508021 – Add support for the CRIS and CRISv32 architectures * configure.in: * glib/gatomic.c: Add an implementation for the CRIS and CRISv32 architectures, by Peter Kjellerstedt 2008-12-02 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c: Some more documentation additions. 2008-12-01 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2008-12-01 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.2 === 2008-12-01 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version 2008-12-01 Matthias Clasen <mclasen@redhat.com> * === Released 2.19.1 === * NEWS: Updates 2008-11-28 Behdad Esfahbod <behdad@gnome.org> Bug 562639 – g_parse_debug_flags() parsing "help" * glib/gutils.c (g_parse_debug_string): Print available keys if string is "help". 2008-11-28 Behdad Esfahbod <behdad@gnome.org> Bug 562638 – GDebugKey key member should be const * glib/gutils.h: Change GDebugKey key member from gchar * to const gchar *. 2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 547264 – Missing "no flags" flag * glib/gregex.c: Mention 0 as value for 'no flags' in some places.. Pointed out by Bastien Nocera 2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 562544 – g_key_file_get_string and g_key_file_get_value documentation does not explain the difference * glib/gkeyfile.c (g_key_file_get_string): Explain the difference to g_key_file_get_value(). Pointed out by Mart Raudsepp. 2008-11-28 Matthias Clasen <mclasen@redhat.com> * glib/gkeyfile.c: Refer to @locale parameters as locale identifier in docs. 2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 557603 – carbon check output misplaced * configure.in: Call AC_PROG_CPP early to avoid it messing up carbon check output. Fix proposed by Christian Persch 2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 559110 – Do not include libintl.h after glibintl.h * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS branch. Patch by Peter Kjellerstedt. * glib/gutil.c: Don't include libintl.h directly. 2008-11-28 Matthias Clasen <mclasen@redhat.com> Bug 562378 – callback return value not respected for callback option with no arg * glib/goption.c (parse_long_option): Return the parse_arg return value even for no-arg callbacks. Patch by Christian Persch * glib/tests/option-context.c: Add a test for a callback which returns FALSE. 2008-11-23 Christian Persch <chpe@gnome.org> Bug 559413 – g_option_group_set_error_hook docs buglet * glib/goption.c: Doc fix. 2008-11-23 Christian Persch <chpe@gnome.org> Bug 560568 – gkeyfile docs buglet * glib/gkeyfile.c: Clarify the docs. 2008-11-23 Christian Persch <chpe@gnome.org> Bug 560569 – gkeyfile doesn't use the set list_separator in some cases * glib/gkeyfile.c: (g_key_file_get_locale_string_list), (g_key_file_set_locale_string_list), (g_key_file_set_integer_list), (g_key_file_set_double_list): Use the key file's list separator character, not the default one. * glib/tests/keyfile.c: (test_lists), (test_reload_idempotency): Test this. 2008-11-21 Christophe Fergeau <teuf@gnome.org> Bug 561212 – GFileReadMoreCallback API doc refers to non-existant function * gio/giotypes.h: fix name of function referred to in GFileReadMoreCallback API documentation 2008-11-21 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump gtk-doc dependency to 1.11 for nicer index-generation. 2008-11-14 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates 2008-11-04 Christian Dywan <christian@imendio.com> Bug 558672 – NULL key lookup using g_hash_table_lookup_extended() * glib/ghash.c: Clarify g_hash_table_lookup_extended 2008-11-02 Tor Lillqvist <tml@novell.com> * configure.in: Expand also build/win32/vs9/Makefile. 2008-10-31 Christian Dywan <christian@imendio.com> Bug 558513 – g_warn_if_fail FIXME in gtestutils * glib/gtestutils.c (g_test_log_send): Turn g_assert into g_warn_if_fail as advised 2008-10-31 Grahame Bowland <grahame@angrygoats.net> Bug 558185 – 'parent' variable in g_local_file_get_child_for_display_name() hits g_object_unref(NULL) assertion * gio/glocalfile.c: - remove unused variable. Patch by Matt Johnston <matt@ucc.asn.au> 2008-10-29 16:11:14 Tim Janik <timj@gtk.org> * glib/gmacros.h: added G_PASTE() and G_STATIC_ASSERT(), based on patches by Christian Persch and Christian Dywan. Fixes: Bug 558381 - Add support for compile time assertions 2008-10-27 Joseph Pingenot <gnomesvn@digitasaru.net> * glib/ghash.c: changed "#GHashTableIterator" to "#GHashTableIter" in the documentation-comments above g_hash_table_foreach_remove() and g_hash_table_foreach_steal() to correctly name and link to GHashTableIter. This affects the GNOME documentation website as well, so further steps are likely necessary beyond this subproject.. 2008-10-23 Matthias Clasen <mclasen@redhat.com> Bug 557210 – g_compute_checksum_for_* asserts with less than 2 bytes * glib/gchecksum.c (g_compute_checksum_for_data): Accept lengths < 2. Patch by Tommi Komulainen * tests/checksum-test.c: Add a test for this 2008-10-23 Matthias Clasen <mclasen@redhat.com> Bug 556921 – gpoll.h breaks hal compilation * glib/gpoll.h: Include gtypes.h. Pointed out by Anis Elleuch 2008-10-20 Christian Persch <chpe@gnome.org> Bug 557087 – mem leak in g_content_types_get_registered * gio/gcontenttype.c: Plug a mem leak. 2008-10-19 Michael Natterer <mitch@imendio.com> Bug 556186 – gpoll.h breaks gmain.h inclusion * glib/gpoll.h: different fix: disallow direct inclusion unconditionally again but make an exception if included from gmain.h to maintain compatibility. 2008-10-16 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version to 2.19.1 * === Released 2.19.0 === * NEWS: Updates 2008-10-14 Christian Persch <chpe@gnome.org> Bug 556186 – gpoll.h breaks gmain.h inclusion * glib/gpoll.h: Only disallow direct inclusion when G_DISABLE_SINGLE_INCLUDES is defined. 2008-10-13 Sven Herzberg <sven@imendio.com> Bug 556101 – static mutex yields warnings with g++ Reviewed by Tim Janik * configure.in: added an intermediate cast to gpointer 2008-10-13 Christian Persch <chpe@gnome.org> Bug 555311 – format not a string literal and no format arguments * glib/gmarkup.c: * glib/gshell.c: Use literal errors where appropriate. 2008-10-10 Behdad Esfahbod <behdad@gnome.org> Bug 551355 – [PATCH] Make glib build with libtool 2.2 * autogen.sh: Accept libtool 2.2. We are moving towards having it working. 2008-10-10 Behdad Esfahbod <behdad@gnome.org> * configure.in: With libtool 2.x, regenerate libtool early. Based on bug 552107, patch by Patryk Zawadzki 2008-10-10 Matthias Clasen <mclasen@redhat.com> Bug 554557 – Patch to fix gcc warnings about missing format specifiers * glib/gmarkup.c: * glib/gshell.c: * glib/grel.c: Fix gcc warnings. Patch by Kjartan Maraas 2008-10-10 Matthias Clasen <mclasen@redhat.com> Bug 552861 – glib-2.0.m4 calls system(3) without storing its result * m4macros/glib-2.0.m4: Cosmetic change to make -Werror happy. Patch by Andreas Köhler 2008-10-08 Christian Persch <chpe@gnome.org> Bug 555313 – GFileAttribute boxed type get_type function should use usual get_type pattern * gio/gfileattribute.c (g_file_attribute_info_list_get_type): Use g_once_init_enter/leave. 2008-10-08 Christian Persch <chpe@gnome.org> Bug 555314 – mem leak in gmarkup * glib/gmarkup.c: (g_markup_parse_context_parse): Plug a mem leak. 2008-10-08 Tor Lillqvist <tml@novell.com> Bug 554790 - g_convert() misbehaves with winiconv versions * glib/win_iconv.c (kernel_mbtowc): If converting from ASCII, explicitly check for and reject 8bit chars. MultiByteToWideChar() doesn't, at least not on XP. 2008-10-06 Matthias Clasen <mclasen@redhat.com> * glib/gtypes.h: Properly include gmacros.h 2008-10-06 Behdad Esfahbod <behdad@gnome.org> Bug 555309 – giochannel breaks on error Patch from Christian Persch * glib/giounix.c (g_io_unix_read), (g_io_unix_write), (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags): Don't shadow err. Oops! 2008-10-06 Christophe Fergeau <teuf@gnome.org> Bug 555224 – Improve g_format_size_for_display doc * glib/gfileutils.c: change g_format_size_for_display API doc to explicitly say that the returned string has to be freed. Change spelling of "newly allocated" to "newly-allocated" in g_file_read_link API doc to be more consistent with what is done in that file. 2008-10-01 David Zeuthen <davidz@redhat.com> * README.in: Add "Notes about glib 2.20" section detailing the ramifications of the patch from bug #528670. 2008-09-30 Behdad Esfahbod <behdad@gnome.org> Bug 554092 – glib doesn't return G_FILE_ERROR_NOENT et al on OS X * glib/giounix.c (g_io_unix_read), (g_io_unix_write), (g_io_unix_seek), (g_io_unix_close), (g_io_unix_set_flags), (g_io_unix_get_flags), (g_io_channel_new_file): Like mclasen says: "well, thats the way errno works..., save it or loose it". Save errno. 2008-09-30 Tor Lillqvist <tml@novell.com> * Makefile.decl * glib/tests/Makefile.am: Bypass gtester related stuff on Windows. 2008-09-30 Tor Lillqvist <tml@novell.com> * glib/gprintf.c * glib/gnulib/vasnprintf.c: Don't define _GNU_SOURCE on Windows, as _GNU_SOURCE has unintended side effects when compiling against newest mingw headers. 2008-09-26 Dan Winship <danw@gnome.org> Bug 553447 – g_assert_no_error() * glib/gtestutils.h (g_assert_no_error, g_assert_error): Macros to assert that a GError is not set, or else is set to a particular error. * glib/gtestutils.c (g_assertion_message_error): utility for those macros * glib/tests/keyfile.c: * tests/asyncqueue-test.c: * tests/bookmarkfile-test.c: * tests/convert-test.c: * tests/file-test.c: Use g_assert_error/g_assert_no_error 2008-09-26 Dan Winship <danw@gnome.org> * glib/gthreadpool.c (wakeup_thread_marker): make this a "const gpointer" rather than a gconstpointer to avoid warnings later * glib/pcre/pcre_ucp_searchfuncs.c: * glib/pcre/pcre_valid_utf8.c: #include "config.h" * glib/tests/printf.c (test_d): fool gcc into not warning about some printf format strings that we know are dubious 2008-09-26 Matthias Clasen <mclasen@redhat.com> Bug 553857 – gbacktrace.h requires signal.h * glib/gbacktrace.h: Include signal.h for raise(). Pointed out by Sebastien Bacher 2008-09-26 Matthias Clasen <mclasen@redhat.com> Bug 553724 – python interpretter path not patched in correctly * glib/Makefile.am: Fix the sed magic to replace python. 2008-09-26 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c: Add some more docs. * glib/giochannel.c: Move more docs inline, and improve them on the way. 2008-09-25 Tor Lillqvist <tml@novell.com> Bug 553820 - gpoll.c: undeclared identifier * glib/gmain.c * glib/gpoll.c: Make the g_poll() function non-static also on Windows. Prefix an underscore to the g_main_poll_debug variable and make it non-static in gmain.c so that it can be used in gpoll.c. Add back missing variable declaration. 2008-09-25 Tor Lillqvist <tml@novell.com> * glib/gspawn-win32.c (do_spawn_with_pipes) (do_spawn_directly): Just ignore the child_setup function, never call it. The is no situation in which it could be useful on Windows. Do print a warning, like before. * glib/gspawn.c (g_spawn_async_with_pipes): Corresponding change in documentation. 2008-09-24 Sven Herzberg <sven@imendio.com> Be a little more explcit in the docs. Includes Owen's requested changes. * glib/gmain.c: improved documentation for g_source_attach() and g_source_destroy() 2008-09-23 Michael Natterer <mitch@imendio.com> * glib/glib.h: #include <glib/gpoll.h> * glib/gpoll.h: #error out if gpoll.h is included directly. * glib/gpoll.c: remove trailing whitespace. 2008-09-23 Dan Winship <danw@gnome.org> * glib/gpoll.[ch] (g_poll): Move this out of gmain.c and make it part of the public API. (Part of Bug 505361 - gunixinputstream.c assumes poll() available.) 2008-09-23 Tor Lillqvist <tml@novell.com> * glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was passing an incorrect third parameter to memmove(), had forgotten to multiply by the size of the table entry. Just use a for loop instead, clearer. Odd I didn't notice when testing this code. 2008-09-19 Hans Petter Jansson <hpj@novell.com> Rewrite most of GHashTable to use open addressing with quadratic probing instead of chaining. This has the potential to reduce memory fragmentation significantly, while being slightly faster due to better locality and no need to call alloc/free functions for nodes. Benchmarks suggest it also uses less memory overall. * glib/ghash.c (prime_mod): Table of suitable primes for initial-probe distribution. (g_hash_table_set_shift): New function. (g_hash_table_find_closest_shift): New function. (g_hash_table_set_shift_from_size): New function. (g_hash_table_lookup_node_for_insertion): New function. (g_hash_table_lookup_node): Rewritten to return node index instead of pointer, use quadratic probe on flat table, and not return insertion data. The latter saves some computation for read-only lookups. (g_hash_table_remove_node): Rewrite to take a pointer directly to the node structure to remove, and clear that. Remove unlinking code. (g_hash_table_remove_all_nodes): Rewrite to not clear nodes individually, but en masse using memset () after potentially calling notify functions. (iter_remove_or_steal): Use new data structure and algorithm. Vastly simplified - now just a call to g_hash_table_remove_node (). (g_hash_table_resize): New resize code, re-indexing with new prime and cleaning up tombstones. (g_hash_table_maybe_resize): Table may hold 8 buckets minimum, no less than 1/4 load excluding tombstones, and no more than 15/16 load including tombstones. These numbers are the results of a lot of benchmarking with multiple complex applications, and should not be changed lightly. (g_hash_table_iter_next) (g_hash_table_lookup) (g_hash_table_lookup_extended) (g_hash_table_insert_internal) (g_hash_table_remove_internal) (g_hash_table_foreach_remove_or_steal) (g_hash_table_foreach) (g_hash_table_find) (g_hash_table_get_keys) (g_hash_table_get_values): Use new data structure and algorithm, fairly trivial changes. 2008-09-19 Tor Lillqvist <tml@novell.com> * glib-zip.in: Look for man pages in share/man. * glib/gutils.c (_glib_get_dll_directory) * glib/gspawn-win32.c (do_spawn_with_pipes): Be a bit less restrictive, look for the helper programs in the same folder where the GLib DLL is, not necessarily in a "bin" subfolder of the top GLib installation folder. 2008-09-18 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version to 2.19.0 * ChangeLog.pre-2-18: rotate ChangeLog * === branch for 2.18 ===
fix a case where time_t==long is assumed, bump PKGREVISION
Update to 2.18.4: Overview of Changes from GLib 2.18.3 to GLib 2.18.4 =================================================== * Bugs fixed: 562378 callback return value not respected... 559110 Do not include libintl.h after glibintl.h 562562 glib-2-18 branch does not build because... 566348 g_file_open_tmp uses the wrong g_mkstemp on win32 564210 SUN Studio 12 has supported visibility attribute 567138 get_package_directory_from_module() does not free... 561807 inotify_sub.c :: dup_dirname() fails to remove trailing '/' 562393 g_buffered_input_stream_read_byte broken if data available 541715 patch for warnings and signature problems in recent code 547481 g_data_input_stream_read_line behaves not as stated... 548163 Nautilus displays wrong error message for too long filenames 559633 gtk_image_new_from_gicon does not always work... 526320 should not list mounts that the user doesn't have permission 558458 Cannot build gio tests on Solaris using SUN c 558298 Hide ecryptfs mounts 515777 incorrect date&time on copy 566064 Add NOATIME flag to query_info_flags 565484 g_content_type_guess passes non-UTF8 text to XDG functions
regen patch-aa from patch-ak to silence patch warning about missing hunk
add some missing headers
Compensate QNX's lack of SA_RESTART flag (It can be safely ignored). Maybe this could be autoconf (but defining HAVE_SA_RESTART if SA_RESTART is defined would be awkward (wouldn't it?).
From FreeBSD ports: gio/gunixmounts.c: poll the list of mounted filesystems since we can't rely on checking for mtab updates like other systems. Bump PKGREVISION.
Update to 2.18.3: Overview of Changes from GLib 2.18.2 to GLib 2.18.3 =================================================== * Build with libtool 2.x (Seems to work fine with pkgsrc libtool though, at least for now) * Bugs fixed: 557087 mem leak in g_content_types_get_registered 558185 'parent' variable in g_local_file_get_child_for_display_name() hits g_object_unref(NULL) assertion 557210 g_compute_checksum_for_* asserts with less than 2 bytes 528320 Incorrect icons displayed for files with custom mimetype icons 557592 Missing include in gwinhttpfile.c 556415 Crash on Windows 2000 in g_winhttp_vfs_init() 556910 Memory leak: sub 561352 Leak of icon description 561375 Leaks mountpoint description 560569 gkeyfile doesn't use the set list_separator in some cases 560568 gkeyfile docs buglet 559413 g_option_group_set_error_hook docs buglet * Updated translations: Arabic (ar)
Update to 2.18.2: Overview of Changes from GLib 2.18.1 to GLib 2.18.2 =================================================== * Bugs fixed: 553724 python interpreter path not patched in correctly 553857 gbacktrace.h requires signal.h 554790 g_convert() misbehaves with winiconv versions 555314 mem leak in gmarkup 554970 segfault when update-desktop-database is not available... 555121 Improved build-time handling of gio module-dir 555711 Wrong fallback order of mimetype icons 556334 Warning when building without selinux support * Updated translations: Arabic (ar) Danish (da) Estonian (et) Gujarati (gu) Norwegian (nb) Polish (pl) Brazilian Portugese (pt_BR) Romanian (ro) Russian (ru) Serbian (sr) Tamil (ta)
Overview of Changes from GLib 2.18.0 to GLib 2.18.1 =================================================== * Bugs fixed: 550433 g_test_init doesn't recognize --help 523463 Core dump in gmain.c:2482:IA__g_main_context_check 551228 G_STRFUNC on recent Sun compiler should be expanded... 551410 gtestutils.c: using printf without prototype 551731 g_date_set_time[_t] docs should mention what timezone 548321 <string.h> is not included in gi18n-lib.h 551149 xdgmime mem leak 550647 synchronous pipe I/O when reading mount reply 551887 Docs for g_desktop_app_info_new_from_filename aren't... 551681 g_content_type_guess() too naive with filenames 552352 g_app_info_launch doesn't work if "Path" key... 551408 gmodule.def generated to builddir... 552359 g_file_info_get_icon should return GThemedIcon, and... Also updated translations.
Update glib2 to 2.18.0. Based on patch provided by Juan RP in pkgsrc-users ml. Overview of Changes from GLib 2.17.7 to GLib 2.18.0 =================================================== * Win32: - rework the g_poll() implementation to match poll() semantics more closely * Bugs fixed: 324234 Using g_io_add_watch_full() to wait for connect() to return... 548278 Async GETs connections are always terminated unexpectedly... 500246 Bug fixes for giowin32 523939 Example program for GValue 550096 GBookmarkFile parser is not forward compatible 550040 Move GString, rand and printf tests to the unit test framework 550104 trivial documentation fix for g_get_home_dir 548988 g_file_replace fails on Windows when the target file exists 550059 Wrong docs for g_emblemed_icon_add_emblem 548800 Missing a g_object_get_type function 550056 Missing documentation for g_emblemed_icon_get_emblems * Updated translations: Bulgarian (bg) Czech (cs) German (de) Estonian (et) Basque (eu) French (fr) Hebrew (he) Hungarian (hu) Italian (it) Japanese (ja) Lithuanian (lt) Maithili (mai) Dutch (nl) Swedish (sv) Thai (th) Ukrainian (uk) Vietnamese (vi) Overview of Changes from GLib 2.17.6 to GLib 2.17.7 =================================================== * More fixes for 64-bit Windows * GIO - Add a vfs implementation for HTTP and HTTPS URIs on Windows * Bugs fixed: 546329 API docs for g_utf8_normalize() are incorrect 546876 Modify GMarkup parser to accept  ..  547200 g_utf8_find_next_char() issues 547637 unconditional #include of sys/statfs.h in configure 547337 G_DISABLE_DEPRECATED breaks tests build 547832 gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict 502498 Test framework assertion failures should follow gcc 546371 Improve docs re g_file_monitor 546483 GThemedIcon:use-default-fallbacks is not readable without... 546132 GFileIcon is bindings-unfriendly 542156 zfs mount in home directory shown on nautilus desktop 535124 umask 002 not being applied for new directories... 547080 g_file_copy leaks expected errors 546582 Callbacks from GFileMonitor present a GFile... 547262 Missing link in the docs * Updated translations: Arabic (ar) Catalan (ca) Spanish (es) Basque (eu) Finnish (fi) Galician (gl) Hebrew (he) Marathi (mr) Norwegian bokmål (nb) Portugese (pt) Brazilian Portugese (pt_BR) Swedish (sv) Thai (th) Overview of Changes from GLib 2.17.4 to GLib 2.17.6 =================================================== * Fix problems on 64-bit Windows * g_markup_context_get_user_data: New function to access the user_data outside of callbacks * GIO - g_mount_guess_content_type_sync: synchronous version of g_mount_guess_content_type - GEmblem: A GIcon implementation that adds emblem-related metadata to icons - GEmblemedIcon: A GIcon implementation that can add emblems to icons * Bugs fixed: 544088 option_test_LDADD is left in tests/Makefile.am 544465 gmarkup makes it hard to use pre-rolled parsers 545485 Implicit declaration of utime() 545798 "Since: 2.18" mark is missing in g_set_error_literal... 544140 fam-helper 64-bit issue 529694 SELinux context setting support 545157 wrong/no list of "open with" applications for .cc... 545203 gfile.c: argument is different type 545457 gdmsetup crashed with SIGSEGV in g_unix_mount_guess... 544177 Fix trivial cut and paste error in documentation 545395 Language tweak for g_value_set_string* docs 541036 Gnumeric crashes when trying to open Desktop... 546079 leak in xdgmime 545395 Language tweak for g_value_set_string* docs 546017 Don't copy attributes when copying a symlink * Updated translations: Arabic (ar) Estonian (et) Galician (gl) Italian (it) Japanese (ja) Korean (ko) Norwegian bokmål (nb) Pashto (ps) Portugese (pt) Overview of Changes from GLib 2.17.3 to GLib 2.17.4 =================================================== * GIO: - New API to handle content types: g_mount_guess_content_type, g_content_type_guess_for_tree. - Export the eject-button signal on the volume monitor class - New API to enable out-of-process volume monitors: g_volume_get_activation_root * GObject: - New API to handle signals without slots in the class structure: g_signal_new_class_handler, g_signal_override_class_handler * Internationalization: - Add an NC_ macro that is a no-op equivalent of C_ * GMarkup: - Add two new functions g_markup_parse_context_push, g_markup_parse_context_pop to support "subparsers" * Bugs fixed: 541208 Functions to easily install and use signals without... 541507 Ambiguous description of assigned characters in the... 543040 async reading on dummy file will crash on GIO_USE_VFS=local 543560 enable gio-FEN back-end warnings on Solaris will crash... 528317 GRegex does not allow recursion limit 337518 GMarkup: Subparser support 541794 drive-eject-button signal 541793 activation root for volumes 467707 test_iconv_state() in tests/convert-test.c fails on AIX 5.3 428048 2 of 51 tests fail on Solaris 542332 small fix for error message in GMarkup 482413 get_contents_stdio -- overflow and memory corruption 406120 g_ascii_strtod 334234 "printf" format error 536996 Missing noop i18n macro equivalent to C_ 540616 mem leak in filechooser button 539229 gobject-query calls itself query 521589 [RFC] gobject documentation should mention Vala 543168 Description of G_SLICE=debug-blocks discourages its use 543220 Case collision on gio-extension-points.html 530759 update the gobject tutorial to the XXI century 535223 gbookmark file inefficiency ... 543504 crash in Epiphany Web Browser: Opening local file * Updated translation: German (de) Estonian (et) Pashto (ps) Albanian (sq) Thai (th) Traditional Chinese (zh_HK) Traditional Chinese (zh_TW) Overview of Changes from GLib 2.17.1 to GLib 2.17.3 =================================================== * PCRE - fix for CVE-2008-2371 * Bugs fixed: 538119 glib's mainloop leaks a pipe to sub-processes 537635 Corrections and improvements to g_time_val_{to,from}_iso8601 539067 The document g_io_channel_win32_new_fd() says... 535949 annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT 539123 annotate g_d[n]gettext with G_GNUC_FORMAT 539074 Cannot get exit status with g_spawn_command_line_sync 316221 G_LOCK warns about breaking strict-aliasing rules 539770 migrate gstrfunc unit tests to gtest 539626 Update docstrings for g_object_freeze_notify and g_object_thaw_notify 538044 unconditional use of LC_MESSAGES 540545 Monotonic time and timer offset 535947 want g_set_error_literal 539999 glibconfig.h: add GLIB_USING_SYSTEM_PRINTF 536252 GFileEnumerator should allow access to the containing GFile 538362 Get Win32 icons back in the file chooser 540802 g_list_prepend doesn't concat lists 540423 unrecoverable error after g_seekable_truncate 538836 make check failure on PPC and ALPHA: pltcheck.sh on g_atomic_pointer_get 539090 g_content_type_from_mime_type() should unalias 540331 g_file_append_to () documentation: can return NULL 534639 add g_desktop_app_info_new_from_keyfile 536733 gio build failure on Irix 536160 Add g_file_monitor() 538127 FileChooser broken on win32 531476 /live-g-file/test_traverse_structure test fails on Mac HFS+ 538564 gio should have gio-types.h 540047 glib-genmarshal.c: '#include <io.h>' is too before Updated translations: Korean (ko) Occitan (oc) Overview of Changes from GLib 2.17.0 to GLib 2.17.1 =================================================== * New function: g_utime(), a gstdio wrapper for utime() * New functions: g_dgettext() and g_dngettext(), wrappers for corresponding gettext functions with added functionaliy * Support the latest version of the shared-mime spec, including icons for mime types * New function: g_themed_icon_prepend_name() * Bugs fixed: 535418 Please document which glib version defines goffset 528715 Misprint in the description of the interface g_type_class_add_private 528714 Misprint in the description of the interface g_param_spec_flags 537260 Doc bug in G_TYPE_INSTANCE_GET_CLASS() 530527 Misprint in the description of the interface g_cclosure_marshal_VOID__FLAGS 530526 Misprint in the description of the fields 'class_init' and 'class_finalize' of the structure GTypeInfo 528719 Improvement to the documentation of the "g_object_connect" interface 528172 gtk_signal_handlers_unblock_* functions return value amount of matched signals, not amount of actually unblocked 528717 Misprint in the description of the parameter 'type_id' for the interface g_type_register_fundamental 528716 Misprint in the description of the parameter 'iface_data' for the callback types GInterfaceInitFunc and GInterfaceFinalizeFunc 537555 GObject instantiation not thread safe 537546 'desktop' shortcut in file chooser looks like a generic folder 537392 Additional colon in xattr name 536641 Filesystem querying in gio does not list AFS and autofs file systems 528600 g_dummy_file_get_parent("scheme://example.com/") 503071 Application direction changes to right to left even if theres no translation 502511 g_assert_cmphex prints invalid message 338162 Use po/LINGUAS 314453 Nautilus crashes in Solaris when browsing the attached file 529321 make check fails in glib/pcre 455215 g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD fallback to $HOME/Desktop if xdg-user-dirs is not in use 498732 g_key_file_to_data cannot fail 511367 add g_file_make_directory_with_parents 531900 Use __builtin_offsetof for G_STRUCT_OFFSET if building with gcc 4.0 or newer 536158 also bump GHashTable version when a node is removed via g_hash_table_iter_remove()/g_hash_table_iter_steal() 531403 g_utf8_collate broken on Mac 535628 test/patterntest.c still includes gpattern.h directly 535625 alias.h:2648: error: 'utime' undeclared here (not in a function) * Translation updates: Arabic (ar) German (de) Italian (it) Norwegian bokmål (nb) Thai (th) Overview of Changes from GLib 2.16.x to GLib 2.17.0 =================================================== * Update to Unicode 5.1 * Update included libcharset to the one shipped with libiconv 0.12 * Update included PCRE to 7.7 * Enforce that only toplevel headers are directly included. This is turned on by default for GObject and GIO. To turn it on for GLib, define G_DISABLE_SINGLE_INCLUDES. * Fix library version of GIO. GLib 2.16 shipped with libgio-2.0.so.0.0.0 * On Solaris, use FEN for file monitoring in GIO * Use the GIO_EXTRA_MODULES environment variable to find additional GIO modules * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size function attribute * g_checksum_reset: New function to reset the state of a GChecksum * g_unix_mount_monitor_set_rate_limit: New function to limit the rate at which events are reported * g_file_query_file_type: New utility function to query the type of a file * g_memory_output_stream_get_data_size: New function to obtain the size of the written data. * Bugs fixed: 522292 Gives warnings in glib/gutils.h with GCC in C99 mode 523298 win_iconv can't convert from UTF-8 to GB18030 (or vice versa) 518160 replace two g_strdup_printf calls in GBookmarkFile 523877 gbookmarkfile: avoid using g_string_append_printf() and other optimizations 525192 100% CPU if run main loop with no IO sources 315437 extern inline -> static inline 524314 g_convert() on Win32 implicitly converts full width alphanumerics into half width 525732 Error in documentation for g_list_first 525674 A typo in gmarkup.c 448943 g_timeout_add_seconds() problems 525972 UCS-4 not in the new win_iconv implementation 526619 make test-report crash 491554 Update to Unicode 5.1.0 519137 g_slice_dup macro needs cast for 64-bit platform 528752 Win32 build and SSL not working 530457 G_USER_DIRECTORY_DOWNLOAD folder improperly mapped 528667 Typos in testing module documentation 459905 Bug in wcwidth data 534085 g_unichar_iswide_cjk() has a totally wrong table 501651 Update glib/libcharset 519026 G_STMT_START/G_STMT_END test a non-existent preprocessor symbol 534319 GLib's .pc files could use Libs.private 534137 Typo in g_spawn_async_with_pipes doc 517419 gio win32 directory monitor 526796 Wrong order of arguments in g_file_copy's fallback 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0 532965 Should not return filesystem::free for certain file systems 525553 fix typo and nitpicking in GArray documentation 526572 Missing * in declaration of parent_class in Object Destruction section of GObject Reference Manual 528648 Extra >s in Object Construction section 535021 g_param_spec_internal documentation should describe purpose of nick and blurb 521513 Firefox crash when using file picker 528433 gdesktopappinfo snafu ... 533369 API g_file_info_get_attribute_string () unables to get "... 521045 glib f_fstypename miscellany 521672 compile error 521946 control rate limit on GUnixMountMonitor 522335 Fails to build: glib/gtester.c:276: error: 'ARG_MAX' unde... 523015 Implement sliding window based upload operation 523019 Use new GCC 4 feature 523338 list nfs4 as a nfs mount type 524350 Make glib build without NLS again 524579 g_file_copy reports wrong total on progress callback for ... 524742 A typo in gtestutils.c. 524950 Minor documentation typos. 525866 the user directory should not be considered as a mount to... 526320 should not list mounts that the user doesn't have permiss... 527132 nautilus crash when making ftp connection 532852 CRITICAL **: totem_pl_parser_parse_with_base: assertion `... 534759 Build failure in gio 534764 Typo in error produced by g_file_make_directory 521851 Redudant tests in gunixmounts.c 524344 glib/gthread.h still use G_GNUC_PRETTY_FUNCTION 525060 glib fails to build with -DG_DISABLE_ASSERT in CPPFLAGS o... 534177 Invalid description of the interface g_cclosure_marshal_S... 520715 Add GFile method g_file_query_file_type 523039 nautilus can't access to trash/computer/network if gvfs i... * Updated translations: Arabic (ar) Bulgarian (bg) Catalan (ca) Czech (cs) Greek (el) Candian English (en_CA) British English (en_GB) Spanish (es) Estonian (et) Basque (eu) Galician (gl) Hebrew (he) Hungarian (hu) Japanese (ja) Lithuanian (lt) Norwegian bokmål (nb) Dutch (nl) Occitan (oc) Portugese (pt) Russian (ru) Slovak (sk) Albanian (sq) Swedish (sv) Turkish (tr) Vietnamese (vi)
update to 2.16.5 changes: -bugfixes -translation updates
Update to glib2-2.16.4. Overview of Changes from GLib 2.16.3 to GLib 2.16.4 =================================================== * Bug fixes: 528752 Win32 build and SSL not working 539074 Cannot get exit status with g_spawn_command_line_sync() 316221 G_LOCK warns about breaking strict-aliasing rules 519137 g_slice_dup macro needs cast for 64-bit platform 536158 also bump GHashTable version when a node is removed via g_hash_table_iter_remove()/g_hash_table_iter_steal() 529321 make check fails in glib/pcre 314453 Nautilus crashes in Solaris when browsing the attached file 502511 g_assert_cmphex prints invalid message 538119 glib's mainloop leaks a pipe to sub-processes 540459 there are no way of getting the real number of bytes written in GMemoryOutputStream 540423 unrecoverable error after g_seekable_truncate(seekable,0,...) 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0 528600 g_dummy_file_get_parent("scheme://example.com/") 536641 Filesystem querying in gio does not list AFS and autofs file systems 537392 Additional colon in xattr name 528433 gdesktopappinfo snafu ... 526320 should not list mounts that the user doesn't have permiss... 527132 nautilus crash when making ftp connection 532852 totem_pl_parser_parse_with_base: assertion `... 459905 Bug in wcwidth data 534085 g_unichar_iswide_cjk() has a totally wrong table
Fix gunixmounts.c build on OSF/1
Fix most of the IRIX fam fallout mentioned in PR pkg/38639. The gio/tests issue remains, but I couldn't reproduce it with GCC.
Use PREFIX to determine xdg share directory location, fixes mime type detection with gvfs.
fix some code which assumes that the dev_t of the user's home directory is not equal to zero. On NetBSD, wd0a has major and minor number 0, so that assumption doesn't hold. Tested, and reported upstream, by Jared D. McNeill. (gnome bug #530196) Also reported as NetBSD PR pkg/38518. bump PKGREVISION
update to 2.16.3 This switches to the gnome-2.22 release branch.
update to 2.14.6 changes: -update bundled PCRE to 7.6, which fixes a buffer overflow -translation updates pkgsrc note: since we use pkgsrc pcre, this update is a rather cosmetical one
Update to glib2-2.14.5. Overview of Changes from GLib 2.14.4 to GLib 2.14.5 =================================================== * Bugs fixed: 482313 gregex: no way to tell why compilation failed 315437 extern inline -> static inline 480122 g_module_open fails to open modules with ".la" extension 495589 gspawn.c failing to set FD_CLOEXEC 500638 gkeyfile speedup ... 503029 g_time_val_from_iso8601 parse non-ISO8601 dates 503420 gkeyfile leaks a hash table
-remove a temporary hack which made that posix_memalign(3) was not used even if present; the purpose was to allow use of both malloc implementations of NetBSD-current, but since other pkgs are picking up posix_memalign(3) too, and NetBSD-current will deal with the binary compatibility problem, this is getting pointless -comment out 2 selftests which depend on nonstandard behaviour of GNU iconv(3) -- the code itself works as documented ride on recent update
Use patch from MacPorts to fix build problem under Mac OS X Leopard.
Update to 2.14.4: Overview of Changes from GLib 2.14.3 to GLib 2.14.4 =================================================== * Bugs fixed: 494602 builddir != srcdir build broken 492677 Misprint in specification of the interface "g_spawn_async... 490061 outptrs uninitialized after g_parse_long_long 418778 Insufficient pkg-config version requirement 467537 g_convert_with_iconv() not resetting iconv() state correc... 466557 glib-mkenums shifts ARGV[0] to undefined 490637 gobject documentation patch 445362 Non-numeric local labels in gatomic.c are causing linker ... 498113 tests/regex-test fails on 64bit environment 498728 g_key_file_get_*_list should set length to 0 when returni... 469551 application --help messages are garbaged on none UTF-8 lo...
update to 2.14.3 changes: -update the bundled PCRE from 7.2 to 7.4 -minor bugfixes -translation updates pkgsrc changes: -don't use the bundled PCRE anymore, use pkgsrc's -try to work around some ld.so lossage on NetBSD (which leads to some applications - most notably evolution and glade3 - not resolving symbols in dynamically loaded plugins) another way: use the RTLD_DEFAULT pseudo-handle when the main module is referred to. This could replace the previous mechanism, but it needs more investigation and tests, so I'm leaving both in parallel for now.
fix the check for NetBSD's broken dlopen(NULL): -"configure" decided to add libintl to LDFLAGS per default, this made the test for libintl.so/gettext always succeed. Use libm.so/sin for the test instead. -Fix a trivial typo introduced recently which caused the test result to be ignored. Now some applications behave better, but not perfect because jmmv's workaround can't deal with libraries loaded by dlopen'd objects.
Update to 2.14.2: Overview of Changes from GLib 2.14.1 to GLib 2.14.2 =================================================== * Bugs fixed: 476849 Invocation of the interface "g_hook_free" fails in certai... 359165 marshallers can throw warnings with -Wunused 477957 more discussion on g_value_set_object vs. g_value_take_ob... 478459 G_DEFINE_DYNAMIC_TYPE_EXTENDED doesn't work with G_IMPLEM... 483337 inline is disabled for MSVC when compiling C code 478349 Broken link to gettext website 469231 g_spawn optimization for setting all open fds to CLOEXEC * Updated translations: Arabic (ar) Galician (gl) Hebrew (he) Korean (ko)
update to glib2-2.14.1. This is a bug fix release in the 2.14 series. Overview of Changes from GLib 2.14.0 to GLib 2.14.1 =================================================== * Bugs fixed: 476840 Invocation of the interface "g_utf8_strreverse" crashes f... 444765 Fix FIXME in gregex.c when new pcre is out 464145 g_markup_escape_text Produces Invalid XML 465625 g_type_default_interface_ref() does not ensure working g_... 466768 Clearify that comments can be put anywhere in a Key-file. 474229 The GError documentation should give convention for the G... 474899 G_BREAKPOINT() docs inaccurate 475854 Overuse of -lpcre when using system pcre 473879 Incorrect includes in gregex.c 468694 Typoes in documentation 469051 g_snprintf () talks about characters where it probably me... 457601 Missing arch specific atomic implementation 475923 Missing pcre flags when static-linking against glib 475619 glibthread-2.0.la does not list -lpthread Also many updated translations.
Patch an evil typecast that was losing the volatile qualifier on a pointer. This caused the build of net/wireshark to fail. Will submit upstream. PKGREVISION++
Update to glib2-2.14.0. Based on patch provided by Makoto Fujiwara in PR pkg/36731. Highlights of NEWS follow: Overview of Changes from GLib 2.13.7 to GLib 2.14.0 * Last-minute API additions: - Make g_unichar_combining_class public - Add goffset type, add G_MAXSSIZE and G_MINSSIZE * Update PCRE to 7.2 * Bugs fixed: 453998 Make _g_unichar_combining_class() public 462549 gregex.c: variable is declared at middle of block 417068 g_file_test doc inconsistency * Updated translations Overview of Changes from GLib 2.13.6 to GLib 2.13.7 * The memory corruption warning from the slice allocator that occurred when threads were initialized after the slice allocator has been removed, as the slice allocator now works fine in this scenario. * New functions g_once_init_enter() and g_once_init_leave() make it easier to write threadsafe one-time initialization functions * Bugs fixed: 454473 Simple XML Subset Parser terminates on invalid XML 445813 g_module_open error, add file name 453796 errno gets clobbered by g_filename_display_name 341988 don't use "-c" with msgfmt in Makefile.in.in 447048 Please produce slightly more output during long tests 454785 GModule documentation lists same block of code twice. 454786 GModule documentation lists same paragraph twice. 383155 small docs quirks in gobject/closure API documentation 65041 _get_type() functions aren't thread safe * Updated translations Overview of Changes from GLib 2.13.5 to GLib 2.13.6 * Reintroduce a GType typedef whose removal in 2.13.5 caused trouble for C++ bindings * Bugs fixed: 450216 docs not explicit enough about g_free() 451459 g_type_register_static_simple calls g_type_register_static * Updated translations Overview of Changes from GLib 2.13.4 to GLib 2.13.5 * xdg-user-dirs support: - the Desktop directory is guaranteed to be defined - user-dirs.dirs is no longer reloaded on changes * Slice allocator: - new api to duplicate slices * Regular expression support: - GRegex is a boxed type now * Bugs fixed: 44793 make check failing in trunk 354522 Small problem with PLT hiding 6 symbols 363986 glib 2.12.4 does not compile with SGI IDO cc 443869 g_type_class_add_private doesn't warn when adding 0-sized... 446859 Legitimately return 0 for g_quark_from_string(NULL) 447534 Small typo in g_timeout_add_seconds() doc 447583 GStaticRWLock 447935 g_get_current_dir SIGSEGV on long path 448260 CLAMP has surprising result if low > high 57693 g_string_vprintf() 442029 add g_slice_dup() 445065 Add GRegex boxed type 448819 Add full version of g_timeout_add_seconds() * Updated translations Overview of Changes from GLib 2.13.3 to GLib 2.13.4 * Bugs fixed: 444121 g_get_user_special_dir deadlocks 444161 invalid UTF8 in key name shows up as valgrind error in g_... 444130 g_option_context_get_help() is broken when there's a desc... Overview of Changes from GLib 2.13.2 to GLib 2.13.3 * GKeyFile: - Added defines for easier handling of desktop files * Unicode support: - Update g_unichar_iswide_cjk for Unicode 5.0 * Regular expression support: - GRegex structs can now be ref-counted - Some new functions for dealing with incremental replacement have been added - The GRegexEvalCallback signature has been changed * g_get_user_special_dir() has been added to support xdg-user-dirs * Bugs fixed: 419376 Functions using named subpatterns behave inconsistently w... 434358 g_regex_fetch_named() and g_regex_fetch_named_pos() are b... 423708 typo in the README.win32 file see patch below 339225 Add new defines for easier handling of .desktop files 442265 API additions/changes for GRegex 432651 Add a glib-ish xdg_user_dir_lookup * Updated translations Overview of Changes from GLib 2.13.1 to GLib 2.13.2 * Unicode support: - Add g_unichar_ismark() * GOption: - Allow to use callbacks for remaining args * Updated translations Overview of Changes from GLib 2.13.0 to GLib 2.13.1 * GRegex: - Portability fixes - Split into immutable GRegex and GMatchInfo - Add g_regex_get_max_backref() and g_regex_get_capture_count() to obtain information about the compiled regex * GKeyFile: - Fix roundtrip problems - Add g_key_file_load_from_dirs() * Unicode support: - Fix corner cases in case conversion routines * GOption: - Add a function to get the formatted help string * GHash: - Add new functions g_hash_table_get_keys() and g_hash_table_get_values() to retrieve the keys and values in list form * Updated transations Overview of Changes from GLib 2.12 to GLib 2.13.0 * Add GSequence, a list that is implemented using a balanced binary tree. * Add GRegex, an implementation of Perl regular expressions, based on PCRE. * Use Posix monotonic clocks instead of gettimeofday() for GTimer when available. * Support static initialization of GQeues with G_QUEUE_INIT, g_queue_init() and g_queue_clear(). * Add g_string_chunk_clear() for clearing a GStringChunk. * Add g_unichar_get_script() to obtain Unicode script information. * Add g_unichar_iszerowidth() to obtain information about zero-width characters. * Add G_GNUC_MAY_ALIAS which wraps the gcc may_alias type attribute. * G_GNUC_INTERNAL has a working definition for the Sun Studio compiler. This requires the macro to be positioned before the function declaration. * The slice allocator can produce detailed debugging information with G_SLICE=debug-blocks. * Modules support G_DEBUG flags resident-modules and bind-now-modules. * Add G_DEFINE_DYNAMIC_TYPE() to make it easier to define types in modules. * Bug fixes: too many to list them in detail here. * New and updated translations
Update to 2.12.13: Overview of Changes from GLib 2.12.12 to GLib 2.12.13 ===================================================== * Unicode support: - Update to Markus Kuhn's updated wcwidth for Unicode 5.0 * Bugs fixed: 454473 Simple XML Subset Parser terminates on invalid XML 443869 g_type_class_add_private doesn't warn when adding 0-sized... 447583 GStaticRWLock 341988 don't use "-c" with msgfmt in Makefile.in.in
Update to 2.12.12: Overview of Changes from GLib 2.12.11 to GLib 2.12.12 ===================================================== * Bug fixes: 418862 g_base64_decode will give critical warning when first par... 356843 "make check" fails if /bin/sh is pdksh 418217 g_unichar_toupper/_totitle broken for single to multiple ... 432895 param_string_validate() frees and modifies static strings 420686 g_key_file_to_data alters original data * Translation updates: (da,es,eu,gl,ja,ro,ru,sr, sr@Latn,ta,zh_CN)
Fix build on Solaris with c99. Should fix PR pkg/35190 and PR pkg/36018
update to 2.12.11 changes: -bugfixes -translation updates
Update to 2.12.9: Overview of Changes from GLib 2.12.8 to GLib 2.12.9 =================================================== * Fix an unintended ABI break in the 2.12.8 release * Bugs fixed: 397139 glib-2.12.8 breaks ABI Overview of Changes from GLib 2.12.7 to GLib 2.12.8 =================================================== * Due to an oversight, GLib has been linked against libpthread since 2.12.2. This has been fixed by moving the monotonic timer support into gthread. * Bugs fixed: 393812 glib links against pthread 394258 gthread.c: illegal include order 394641 Undefined reference in gthread 394150 gettime implementation breaks compilation on darwin 6 395203 g_timer_elapsed off by 2 order of magnitude 394262 image/* mimetype breaks stuff 392636 glib-2.0.m4 ignores PKG_CONFIG environment variable 395419 Glib-2.12.7 with mingw(w32api-3.8/windows) fails to compi... 329031 G_GNUC_INTERNAL fails with gcc-2.95 * Updated translations (ar,bg,ca,it,nl,th)
fix a locking botch: g_main_context_iterate() must leave the context locked on return bump PKGREVISION
update to 2.12.7 changes: -portability fixes -bugfixes -translation updates -Make GKeyFile accept keys that are commonly used -some consistency checks added -deal with double-width and zero-width characters in --help output based on wiz's work
Fix build on Solaris. Noted by dmcmahill.
Added two patches that replace $RANDOM with $$, since $RANDOM is only available in ksh and bash.
Readd bug URLs. Requested by wiz.
Use pkgsrc pthread magic and only that. Fixes build on Linux.
Update to 2.12.4: Overview of Changes from GLib 2.12.3 to GLib 2.12.4 =================================================== * Fix build problems related to Posix timers. * Bugs fixed 321974 nanosleep on AIX / g_timer API using high resolution timers 353584 va_end called on caller supplied va_list 353580 va_copy detection breaks if user sets CFLAGS=-Werror-implicit-function-declaration 354522 Small problem with PLT hiding 6 symbols 358421 typos in gmain.c * New and updated translations (bn,bn_IN,dz,el,en_GB, et,fa,hi,hy,it,ka,nn,pt_BR,ro,sl,sr,sr@Latn,ta)
Pullup ticket 1838 - requested by dmcmahill build fix for glib2 on solaris Revisions pulled up: - pkgsrc/devel/glib2/distinfo 1.69-1.70 - pkgsrc/devel/glib2/patch-ai 1.10-1.11 - pkgsrc/devel/glib2/patch-ag 1.8-1.9 Module Name: pkgsrc Committed By: dmcmahill Date: Mon Oct 2 21:20:09 UTC 2006 Modified Files: pkgsrc/devel/glib2: distinfo pkgsrc/devel/glib2/patches: patch-ai Added Files: pkgsrc/devel/glib2/patches: patch-ag --- Log Message: Fix compilation on solaris and also increase the portability of a shell script used in the testsuite. 49/50 tests pass on solaris-2.9. Module Name: pkgsrc Committed By: dmcmahill Date: Tue Oct 3 02:31:46 UTC 2006 Modified Files: pkgsrc/devel/glib2: distinfo pkgsrc/devel/glib2/patches: patch-ag patch-ai Log Message: Add bugzilla URL's now that bug reports exist upstream.
Add bugzilla URL's now that bug reports exist upstream.
Fix compilation on solaris and also increase the portability of a shell script used in the testsuite. 49/50 tests pass on solaris-2.9.
Force monotonic clock on DragonFly to prevent build from failing.
Regenerate patch to make the (GNU?) "patch" under Mac OS X happy.
Update to 2.12.3: Overview of Changes from GLib 2.12.2 to GLib 2.12.3 =================================================== * Use Posix monotonic clocks instead of gettimeofday() for GTimer when available. * Make the construction of singleton objects work witout warnings. * Bugs fixed 351583 API documentation issues with 2.15 release 336114 desktop locks immediately after changing the system clock 351853 GKeyFile creates non-UTF-8 error messages * Translation updates (fr,hu,ja,ku,lt,lv,ml,or, pt,ru,sv,vi,zh_CN)
Update to 2.12.2: Overview of Changes from GLib 2.12.1 to GLib 2.12.2 =================================================== * Unicode updates: - Normalization is following Unicode TR #29 - g_unichar_isxdigit() only accept characters for which g_unichar_xdigit_value() returns a value - g_unichar_toupper and g_unichar_tolower leave unconvertable characters in place instead of replacing them by NUL * Bugs fixed 348491 g_utf8_strup() and g_utf8_strdown() returns string with NUL bytes 349825 GKeyFile always inserts a newline before a group 347842 g_unichar_isxdigit() is too general about what it considers a digit 348694 g_utf8_normalize() hasn't been updated to PR #29 348785 Hint about G_DEBUG in Message Logging docs 349792 Wrong english string (UI) 349952 gparamspecs.c uses gcc feature * Translation updates (ca,cs,de,dz,es,eu,fi,gu,ko, nl,pl,tr,uk,zh_HK,zh_TW)
Update to 2.12.1: Overview of Changes from GLib 2.12.0 to GLib 2.12.1 =================================================== * Update to final Unicode Character Database 5.0.0 * Bugs fixed: 346660 issues with base64 api documentation / g_base64_decode_cl... 348136 Coverity reports allocation of wrong size CID #2839 336281 Update to UCD 5.0 346197 g_date_strftime %F option doesnt work for win32 348011 Small optimization to real_toupper() 246494 prototype mismatch in glib/gconvert.c * New and updated translations (bg,bn_IN,ca,dz,eu,fi, fr,he,it,ja,mk,or,pt)
Update to 2.12.0. Add a patch fixing PR 33908, provided by Martijn van Buul. Changes: Overview of Changes from GLib 2.11.4 to GLib 2.12 ================================================= * Bugs fixed: 344905 leap-year bug in g_time_val_from_iso8601 w/o HAVE_TIMEGM * Updated translations (cy,nb,nl) Overview of Changes from GLib 2.11.3 to GLib 2.11.4 =================================================== * GBookmarkFile: - g_bookmark_file_remove_item returns a boolean * g_mkstemp accepts the XXXXXX in the middle of the template * Bugs fixed: 344868 g_key_file_to_data should separate groups * Updated translations (de,es,fr,gu,hi,ko,th) Overview of Changes from GLib 2.11.2 to GLib 2.11.3 =================================================== * GBookmarkFile: - g_bookmark_file_move_item: Return TRUE in case of an empty target * Bugs fixed: 343919 gunicollate.c: strxfrm bug on VC8 * Updated translations (fi) Overview of Changes from GLib 2.11.1 to GLib 2.11.2 =================================================== * Add g_ascii_stroll to parse signed 64bit integers * GMarkup: add a flag to treat CDATA as text * GHashTable: add functions to remove all entries * GMainLoop: add functions to find the currently running source, and determine if it is destroyed * Bug fixes: 342563 g_atomic_thread_init() needs to be called before other _g_*_thread_init() functions 343548 Potential use after free in callers of g_string_free() 168538 Wish: Clearing contents of GHashTables 321886 GTK+ cannot be reliably used in multi-threaded applications 341826 goption.c: 'strtoll' is C99's function 343899 g_ascii_formatd dosn't work as expected for all format strings 317793 Make GEnumValue strings const 337129 Compile warnings in G_IMPLEMENT_INTERFACE 303622 What is G_TYPE_CHAR? * Updated translations (bg,dz,eu,gl,ja,ko,nl,th,vi) Overview of Changes from GLib 2.11.0 to GLib 2.11.1 =================================================== * GOption - Support 64-bit integers - Allow optional text before and after the options in help output * Bug fixes: 340538 gbase64-test writes OOB 340816 GKeyFile set_string_list invalid memory reads 339105 g_key_file_parse_value_as_double 340434 convert-test.c fails (function test_one_half) 311043 Memory leaks (and potential infinite loops) when using G_ERRORCHECK_MUTEXES 335198 Error checking mutexes are fubar 341237 Add a G_OPTION_ARG_INT64 341192 g_io_channel_set_flags not implemented on win32 336120 Allow adding description before/after GOption --help output body 341191 misplaced check in g_relation_delete 340530 mismatched calloc / g_free in win32 threads * Updated translation (es) Overview of Changes from GLib 2.10.x to GLib 2.11.0 =================================================== * GBookmarkFile: a parser for files containing bookmarks stored using the Desktop Bookmark specification. * Base64 encoding support * Unicode 5.0 support * GOption supports floating point numbers * GKeyFile supports floating point numbers * Bug fixes: 155884 gatomic.c should be based on new SDK 157877 update-desktop-database doesn't handle duplicate entries 164719 keyfile parser doesn't support floats 327662 Import BookmarkFile from libegg 329548 Add G_OPTION_ARG_DOUBLE 329789 option-test.c type confusion 332841 Segmentation Fault when %llu is passed to vasnprintf and HAVE_SNPRINTF is not defined 333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define _WIN32_WINDOWS 0x0401' 333916 g_timer_elapsed docs should mention that microseconds may be NULL 334440 dlerror() portability issue causes crash on (old) a.out NetBSD platform 334646 goption + error out params 334799 g_remove() must check return value of remove() 334943 make check FAIL: threadpool-test 335215 Some breakages with GThreadPool 336085 g_option_context_new parameter lacks better explanation 336677 Documentation for g_object_ref_sink() is incorrect 337027 gbookmarkfile.c: sys/time.h include error 337553 Wrong escaping of URIs 338572 Dereferencing NULL value in g_key_file_get_group_comment 338845 g_completion_complete_utf8 crashes when NULL is passed to it 339337 g_bookmark_file_set_description 339338 gbookmarkfile.c, function expand_exec_line 339340 gbookmarkfile.c, function bookmark_app_info_dump * Translation updates (bg,en_GB,et,gl,gu,he,hi,ka,nb,nl,nn, or,pt_BR,ro,tr,vi,zh_CN)
update to 2.10.3 changes: -fix some bugs and a memory leak -translation updates
Update to 2.10.2: Overview of Changes from GLib 2.10.1 to GLib 2.10.2 =================================================== * Bugs fixed: 322476 Missing check for .dylib [Anders Carlsson] 332841 Segmentation Fault when %llu is passed to vasnprintf and HAVE_SNPRINTF is not defined [Michael McDonald] 333098 Add support for write FDs to GIOChannel [Markus Brinkmann] 334519 Memleak in goption.c::parse_short_option [Chris Wilson] 334471 g_parse_debug_string reads beyond buffer [Morten Welinder] 334611 g_option_context_parse() should not set program name to '<Unknown>' if it is already set [Chong Kai Xiong] 335207 g_main_context_unref calls g_source_destroy_internal with incorrect arguments [Chris Wilson] 335216 Slight performance gains (GList, GAsyncQueue) [Chris Wilson] 335209 Use of unitialised memory in g_mem_profile [Chris Wilson] 334943 make check FAIL: threadpool-test 336085 g_option_context_new parameter lacks better explanation [Claudio Saavedra] 335215 Some breakages with GThreadPool [Chris Wilson] 333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define _WIN32_WINDOWS 0x0401' [Kazuki Iwamoto] 334440 dlerror() portability issue causes crash on (old) a.out NetBSD platform [ITOH Yasufumi] 333916 g_timer_elapsed docs should mention that microseconds may be NULL [Christian Neumair] 334646 goption + error out params [Christian Persch] 335294 Documentation should not reference G_HAVE_GINT64, as it's deprecated. [Richard Laager] * Translation updates (dz,et,he,hi,ka,or,pt_BR,ro,tr)
Update to 2.10.1: Overview of Changes from GLib 2.10.0 to GLib 2.10.1 =================================================== * Bugs fixed: 314794 Broken pthread detection on Darwin [Gregor Riepl] 322476 Missing check for .dylib [Vladimir Panov] 333651 Inconsistent _g_charset_get_aliases prototype [Julio M. Merino Vidal] 333761 GInitiallyUnowned breaks application code [Sven Herzberg] * Win32 changes: - Fix g_listenv() implementation. - Allow up to 100 GPrivate structs * Translation updates (fr,hu,lt,pl,sv)
Make _g_charset_get_aliases match an extern declaration so that this builds correctly under amd64. From martijnb@atlas.ipv6.stack.nl in PR pkg/32987.
Update to 2.10.0: Overview of Changes from GLib 2.9.6 to GLib 2.10.0 ================================================== * Bugs fixed: 328997 64bit pointer trunction in glib slab-allocator [Pascal Hofstee] 331110 g_cond_broadcast(inform_cond) without holding inform_mutex [Chris Wilson, Sebastian Wilhelmi] 332093 Fix some leaks in the tests [Kjartan Maraas] 332435 g_utf8_strlen returns wrong value if a maximum number of bytes to check is specified [Matthias Clasen] 331367 gslice requires more POSIX-like semantics for GPrivate destructors [Tor Lillqvist] * Documentation improvements [Matthias, Kang Jeong-Hee, Tor Lillqvist, Stefan Kost] * Translation updates (el,eu,ka,uk) Overview of Changes from GLib 2.9.5 to GLib 2.9.6 ================================================= * Bugs fixed: 329124 distclean removes README [Kjartan Maraas, Tim Janik] 317679 GRelation field type not documented [Behdad Esfahbod] 329123 Typo in GTime docs [Kjartan Maraas] * Documentation improvements [Sven Herzberg, David Schleef, Kjartan Maraas, Behdad Esfahbod] * Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru Overview of Changes from GLib 2.9.4 to GLib 2.9.5 ================================================= * Memory management: Runtime debugging support: The slice allocator can be turned off by setting G_SLICE=always-malloc in the environment. Zeroing of freed memory can now be turned on at runtime by setting G_DEBUG=gc-friendly in the environment. [Tim Janik] * Bugs fixed: 328253 HP-UX/IA-64 uses ".so" as default shared library extension [Albert Chin] 143380 unicode-encoding test fails converting to UTF-16 with libiconv [Marc Moorcroft] 328254 Build breakage (GSlice) [Jens Ganseuer] 328705 C99ism in glib/gmem.c [Kazuki Iwamoto] * Translation updates (da,et,zh_CN) Overview of Changes from GLib 2.9.3 to GLib 2.9.4 ================================================= * Type system: Fix a problem with g_object_compat_control() which can lead to segfaults in GTK+ applications on 64bit platforms. * Thread suppport: Unused threads now fall back to the global pool after 500 milliseconds, where they wait for another max-idle-time milliseconds. [Sebastian Wilhelmi] * Fix a memory allocation problem in GKeyFile. [Morten Welinder] Overview of Changes from GLib 2.9.2 to GLib 2.9.3 ================================================= * GTree: - Replace the simple recursive implementation by a nonrecursive, threaded one [Maurizio Monge] * Change g_filename_display_name and g_filename_display_basename to use the Unicode replacement character U+FFFD instead of a question mark, and don't append "(invalid encoding)" [Matthias] * Documentation improvements [Sven Herzberg, Federico Mena Quintero, Stefan Kost] * Bugs fixed: 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula] 326558 Some test failures on IRIX 6.5 [Daichi Kawahata] 169285 "threaded" tree implementation for GTree [Maurizio Monge] 326747 g_filename_display_basename adds (invalid encoding) [Alberto Ruiz] Other contributors: Christian Kellner, Murray Cumming New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi) Overview of Changes from GLib 2.9.1 to GLib 2.9.2 ================================================= * Memory management: - Add tests for cache colorization [Tim Janik] - Minimize space consumption if small amounts of differently sized slices are allocated, at a small performance cost. [Tim] * Thread support: - Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik, Sebastian Wilhelmi] - Add g_thread_pool_set_sort_function() to allow sorting the tasks of a threadpool. [Martyn Russell] - Add g_thread_pool_set_idle_time() to allow unused threads to exit after a certain time. [Martyn] * Type system: - introduce a new type GInitiallyUnowned, which has an initial floating reference. [Tim] - Add support for GType parameters. [Matthias] * Main loop: - Add g_main_context_is_owner() to determine if the current thread is the owner of the context. [Michael Meeks] * Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as wrapper functions instead of macros. [Manish Singh] * Documentation improvements [Tim, Matthias, Federico Mena Quintero, Stefan Kasal, Dan Williams] * New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW) * Bugs fixed: 324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8 tries to modify [J. Ali Harlow] 324332 g_option_context_parse() returns false without setting error [Tim-Philipp Müller] 324950 GLIB 2.9.1 testcase errors [Dan Yefimov] 325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto] 321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to gpointer [Andrew Paprocki] 316221 G_LOCK warns about breaking strict-aliasing [Michal Benes, Stanislav Brabec] 325273 Error in documentation for glib_check_version () [Declan Naughton] 325310 g_spawn_sync hangs when catching both stdout and stderr [Tor Lillqvist] 325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses] 325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto] 325874 Should say somewhere that source IDs are > 0 [Dan Williams] 325438 a typo (compatability) [Stefan Kasal] 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula] Overview of Changes from GLib 2.9.0 to GLib 2.9.1 ================================================= * Memory management - The slice allocator is implemented [Tim Janik] - g_slice_free_chain() has been renamed to g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod] - Mem chunks are deprecated [Matthias Clasen] * Data structures - Hash tables are refcounted, and have a boxed type [Tim] * Thread support - Support for Solaris threads has been removed [Sebastian Wilhelmi, Andrew Paprocki] - g_async_queue_sort(), g_async_queue_push_sorted() have been added to allow GAsyncQueue to be used as a priority queue, together with the corresponding _unlocked variants [Martyn Russell] * GObject: - The concept of a floating initial reference has been moved from GtkObject to GObject [Tim] * Win32 changes: - Make g_rename() replace existing files [Tor Lillqvist] * Misc new API: - G_GUINT64_CONSTANT macro to define guint64 constants [Andrew Paprocki] - G_GNUC_WARN_UNUSED_RESULT macro to instruct the compiler to emit a warning if the value returned by a function is ignored. [Arjan van de Ven, Alex Larsson] - GList and GSList now have sort functions which take an extra user data argument [Martyn Russell] - g_param_spec_ref_sink() has been added for consistency [Tim] * $LOGNAME is respected when determining user data. [Laszlo Peter] * Other changes and bug fixes [Tim, Matthias, Behdad, Christian Persch, Benedikt Meurer, Andrew Paprocki, Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec, Andreas Schwab, Kalle Vahlman] * Documentation - Deprecation warnings carry version information [Matthias] - The slice allocator has been documented [Matthias, Tim] - Other improvements [Morten Welinder] Overview of Changes from GLib 2.8.x to GLib 2.9.0 ================================================= * Unicode support: - The Unicode tables have been updated to Unicode 4.1, adding several new values to the GUnicodeBreakType enumeration. This breaks Pango <= 1.10 [Behdad Esfahbod] - The various Unicode character predicate functions (g_unichar_isalpha, g_unichar_isdigit,...) have been optimized [Behdad] - g_utf8_pointer_to_offset, g_utf8_offset_to_pointer: These functions handle negative offsets now, and going backwards in g_utf8_offset_to_pointer uses "stutter stepping". [Larry Ewing, Matthias Clasen] * Memory management: - Mem chunks are no longer used internally in GLib and GObject. GMemChunk will be deprecated in GLib 2.10 - All APIs based on GAllocator (g_list_push/pop_allocator, and similar push/pop_allocator functions for other data structures) have been deprecated, since they never worked as intended. - The g_slice_* functions have been added as a new API for fast allocation of small memory blocks. The implementation in GLib 2.9.0 is just a simple wrapper around malloc. GLib 2.10 will have an efficient and scalable implementation. [Tim Janik, Matthias] * Pattern matching: - g_pattern_match has been optimized to avoid unnecessary recursion. [Tim, Matthias] * g_intern_string, g_intern_static_string: - New functions to intern strings. These are now used by GObject to avoid duplicating static strings [Matthias] * g_thread_foreach: - New function to iterate over all GThreads [Tim, Matthias] * g_date_set_time_t, g_date_set_time_val: - New functions to set a GDate from a time_t or GTimeVal value. g_date_set_time has been deprecated in favor of these. [Roger Leigh] * g_snprintf and g_vsnprintf: - These functions are no longer declared in gprintf.h, since they are in glib.h [Matthias]
Update to 2.8.6: Overview of Changes from GLib 2.8.5 to GLib 2.8.6 ================================================= * Fix a problem with g_object_compat_control() which can lead to segfaults in GTK+ applications on 64bit platforms. * Fix a memory allocation problem in GKeyFile. [Morten Welinder] * New and updated translations (ca,ja,ml,sv,zh_HK,zh_TW)
Update to 2.8.5: Overview of Changes from GLib 2.8.4 to GLib 2.8.5 ================================================= * Bug fixes: 322520 g_utf8_collate_key_for_filename reads too much [Christian Persch] 324332 g_option_context_parse() returns false without setting error [Tim-Philipp Müller] 325273 Error in documentation for glib_check_version() [Declan Naughton] 325310 g_spawn_sync hangs when catching both stdout and stderr [Tor Lillqvist] 323273 Invalid macro in genums.h: G_FLAGS_TYPE [Kalle Vahlman] - Other fixes [Sebastian Wilhelmi, Arjan van de Ven] * Add g_object_compat_control() [Tim Janik] * Win32 changes: - Strip trailing slashes in g_stat() [Tor Lillqvist] - Make g_rename() replace existing files [Tor] - Other fixes [Tor] * Translation updates (be,bg,en_CA,es,fi,fr,gl,gu,nl,vi,zh_CN)
Update to 2.8.4: Overview of Changes from GLib 2.8.3 to GLib 2.8.4 ================================================= * Support aborting on critical warnings by setting G_DEBUG=fatal_criticals in the environment [Vincent Untz] * Bug fixes [Sebastien Bacher, Tor Lillqvist, Manish Singh, Morten Welinder, Andy Wingo] * Documentation improvements [Steffen Gutmann, Christophe Fergeau] * Translation updates (he,ja,nl,th)
Update to 2.8.3: Overview of Changes from GLib 2.8.2 to GLib 2.8.3 ================================================= * Fix an error that crept in with a change to glib-mkenums in 2.8.2 [Matthias] * Documentation improvements [Davyd Madeley] * Translation updates (bn) [Same test failure on 3.99.9 as with 2.8.2.]
Update to 2.8.2: Overview of Changes from GLib 2.8.1 to GLib 2.8.2 ================================================= * Win32 changes - the g_spawn* functions now take their arguments in UTF-8 [Tor Lillqvist] - Avoid extra console windows in some situations [Tor Lillqvist] * Bug fixes [Kjartan Maraas, Sebastian Wilhelmi, Mathias Hasselmann] * Documentation improvements [Matthias, Mark Drago, Matthew F. Barnes, Behdad Esfahbod] * Translation updates (bg,ca,cs,cy,da,de,el,en_CA,es,et, eu,fi,fr,gl,gu,hu,it,ja,nb,nl,no,pl,pt,pt_BR,ro,ru,sk, sq,sr,sr@Latn,sv,uk,vi,zh_TW) Overview of Changes from GLib 2.8.0 to GLib 2.8.1 ================================================= * Optimize single-character insertions in GString [Ross Burton] * Fix build problems on OS X * Fix build problems on Win32 [Tor Lillqvist, Hans Breuer] * Other bug fixes [Matthew F. Barnes, Stepan Kasal] * Documentation improvements [Tristan van Berkom, Behnam Esfahbod, Gustavo Carneiro, Stepan Kasal, Matthias] * New and updated translations (ca,cy,ko,ro,uk) Overview of Changes from GLib 2.7.7 to GLib 2.8.0 ================================================= * Make g_value_transform() handle enum values correctly on ppc64. [Michael Lorenz] (Third-party code accessing enumeration values in GValues should also be changed to access v_long, not v_int, in order to work on bigendian 64bit machines.) * Make g_flags_get_first_value() handle a value of 0 meaningfully. [Tim-Philipp Müller] Overview of Changes from GLib 2.7.6 to GLib 2.7.7 ================================================= * Make atomic operations on s390 work [Matthias] * Fix C++ guards in gstdio.h [Tor Lillqvist] Overview of Changes from GLib 2.7.5 to GLib 2.7.6 ================================================= * Add native implementations of atomic operations on s390 [Matthias] * Make atomic reference counting of closures work on s390 [Matthias] * Avoid an infinite loop in g_convert_with_iconv(). [Sebastian Bacher] * Documentation improvements [Ross Burton] Overview of Changes from GLib 2.7.4 to GLib 2.7.5 ================================================= * Thread-related changes - Fix build issues on HP-UX [Paul Cornett] - Threadsafe access to flags stored in datasets [Tim Janik] - Fix several issues with atomic refcounting for closures, objects and paramspecs [Tim] - Improve tests for atomic refcounting changes [Tim] * Fix handling of stateful encodings in g_convert_* [Matthias] * Fix translation of GOption help output [Dan Winship] * Catch format errors in translations. This may cause "make check" to fail when using older versions of gettext [Matthias] * Win32 bug fixes [Tor Lillqvist] * Documentation improvements [Ross Burton, Jochen Baier, Matthias, Tim] * New and updated translations (de,fi,gu,pl,pt,tr,zh_TW) Overview of Changes from GLib 2.7.3 to GLib 2.7.4 ================================================= * Fix g_atomic_pointer_compare_and_exchange on Sparc64 [Gert Doering] * Fix a hang in g_thread_pool_free. [Hong Jen Yee] * Win32 bug fixes [Tor Lillquist] * Other bug fixes [Benoit Dejean, Manish Singh] * Documentation improvements [Bryan Silverthorn, Callum McKenzie] * New and updated translations (de,lt,sq,zh_CN) Overview of Changes from GLib 2.7.2 to GLib 2.7.3 ================================================= * GOption - Allow callbacks with optional arguments [Pawel Sliwowski] - Allow to turn off the automatic long option name disambiguation [Adam McLaurin] - Only allow printable ASCII as short option names [Matthias] * Win32 - Build fixes [Tor Lillqvist] - Rewrite iochannel socket implementation [Tor] * GObject - Threadsafety improvements; in particular, refcounting of objects is done atomically now. [Wim Taymans, Tim Janik] * Bug fixes [Morten Welinder, Matthias, Wim Taymans] * Documentation improvements [Richard Laager, Matthias] * New and improved translations (bf,cs,hu,nb,nl,no) Overview of Changes from GLib 2.7.1 to GLib 2.7.2 ================================================= * Win32 build fixes [Hans Breuer] * Bug fixes [Mikael Magnusson] * Documentation improvements [Matthias Clasen] * New and updated translations (en_CA,es,et,ja,sr,sr@Latn,zh_TW) Overview of Changes from GLib 2.7.0 to GLib 2.7.1 ================================================= * GOption - Allow callback arguments without parameters [Dan Winship] * GMappedFile: an mmap wrapper [David Schleef, Behdad Esfahbod] * Misc new functions: - g_get_host_name [Tor Lillqvist] - g_mkdir_with_parents [Tor] - g_build_pathv, g_build_filenamev [Todd A. Fisher, Matthias Clasen] * Bug fixes [Roger Leigh, Masatake YAMATO, Kjartan Maraas, Manish Singh, Tor, Murray Cumming, Kian Duffy, Morten Welinder] * Documentation improvements [Hong Gang XU, Dan Winship, Matthias] * New and updated translations (bg,cs,da,en_CA,es,et,nb,nl,no, sk,th,zh_TW) Overview of Changes from GLib 2.6.x to GLib 2.7.0 ================================================= * GKeyFile - Add unit tests [Matthias Clasen, Suren A. Chilingaryan] - Accept \r\n as line end [Bastian Nocera] - Don't interpret leading zeros as octal numbers. [Matthias] - Make key and group removal work [David Hoover, Matthias Hasselmann] * GOption - Improve formatting of --help output [Matthias, Noah Levitt] - Accept -? [Matthias] - Warn about duplicate main groups [Jeff Franks] - Treat '-' as non-option argument [Tim Musson, Thomas Leonard] - Report missing arguments as errors [Björn Lindqvist] - Add a boxed type for GDate [Tim-Philipp Müller] * GTree - g_tree_remove() and g_tree_steal() return status information [Matthew F. Barnes] * Stdio wrappers - Work regardless of large file support [Manish Singh] - Add g_access(), g_chmod(), g_creat(), g_chdir [Tor Lillqvist] * GObject - Implement "toggle references" to help language bindings [Owen Taylor] - Allow to mark names, nicks and blurbs of pspecs as static [Ben Maurer, Matthias] - Make pspec lookup a bit faster [Morten Welinder] * Add g_listenv() to list all set environment variables [Hans Petter Jansson] * Add g_file_set_contents() to atomically write a file. [Søren Sandmann, Sven Neumann, Manish, Alexis S. L. Carvalho] * Add g_try_malloc(), g_try_new(), g_try_new0() and g_try_renew() [Stefan Kost] * Add g_utf8_collate_key_for_filename() to sort filenames taking extensions and numeric suffixes into account. [Ole Laursen, Alex Larsson] * Add G_GNUC_NULL_TERMINATED to mark varargs function with NULL-terminated argument lists. [Marc Meissner] * Win32 changes - Improved debugability [Ulf Lamping, Hans Breuer] - Make filename handling more robust [Tor, Billy Skaggs] - Improve g_get_system_data_dirs() [Tor] - Use more precise timers [Tor] - Build fixes [Kazuki Iwamoto, Hans, Tor, Robert Ögren] * Other bug fixes [Roger Leigh, Owen, Matthias, Morten, Kjartan Maraas, Pawel Sakowski, Tor, Simon Budig, Ed Avis, Manish, Nicolas Laurent, Bastien, Fabrício Barros Cabral, Michael Banck, Daniel Atallah, J. Ali Harlow, Tim Janik, Hazael Maldonado Torres, Sven, Jon-Kare Hellan, Dave Benson, Tommi Komulainen, Benjamin Otte, Brian Cameron, Changwoo Ryu, Christian Biere, Noah, Benoît Carpentier] * Documentation improvements [Vincent Untz, Matthias, Tim-Philipp Müller, Morten, Matthew, Federico Mena Quintero, Sebastian Bacher, Oliver Sessink, Stefan, Jared Lash, Tor, Owen, Daniel Vaillard, Mathieu Lacage] * New and updated translations (ca,cs,da,el,en_CA,en_GB,es,et,eu,fa,fr,gl, hu,id,it,lt,mn,ne,nl,pl,pt,pt_BR,ro,rw,sk,sq,sr,sr@Latn,tl,uk,xh,zh_CN)
Apply patch from bugzilla to fix a 64bit/bigendian problem that leads to data loss in libgobject, causing all kinds of annoying glitches in almost all gtk2-applications (in words of macallan@, who requested this change). Bump PKGREVISION to 1.
Update to 2.6.6. Overview of Changes from GLib 2.6.5 to GLib 2.6.6 ================================================= * Fix several bugs with the handling of comments in key files [Mikael Magnusson] * Fix g_atomic_pointer_compare_and_exchange on Sparc64 [Gert Doering] * Fix a deadlock with threadpools [Hong Jen Yee] * Make GLib work on BeOS again [Kian Duffy] * Win32 bug fixes [Kazuki Iwamoto] * Other bug fixes [Roger Leigh, Kjartan Maraas, Morten Welinder] * New and updated translations (bg,cs,cy,de, en_CA,es,et,fr,gu,hu,ja,ko,nl,sq,sr,sr@Latn,sv, te,zh_CN,zh_TW)
fix for pkg/30455 (poll() in macosx tiger is not usable), by adding a patch-aj file The patch is taken from http://bugzilla.gnome.org/show_bug.cgi?id=302672 Approved by jmmv@, wiz@
Update to 2.6.5: * GOption - Treat '-' as non-option argument [Tim Musson, Thomas Leonard] * Win32 changes - Improve g_get_system_data_dirs() [Tor] * Other bug fixes [Tommi Komulainen, Tor, Benjamin Otte, Morten Welinder, Christian Biere, Noah Levitt, Michael Banck] * Documentation improvements [Mattew F. Barnes, Federico Mena Quintero, Daniel Vaillard, Matthias] * New and updated translations (da,eu,gl,mn,nb,ne,no)
Fix atomic pointer compare and swap return value on sparc64, fixes PR pkg/28962.
Update to 2.6.4: Overview of Changes from GLib 2.6.3 to GLib 2.6.4 ================================================= * Fix compilation with gcc 4.0 [Matthias Clasen] * Fix g_date_get_iso8601_week_of_year [Jon-Kare Hellan] * Win32: - use more precise times in gtimer.c [Tor Lillqvist] - bug fixes [Tor, Daniel Atallah] * Other bug fixes [Tim Janik, Matthias, Manish Singh, Dave Benson, Jeff Franks] * Documentation improvements [Tim-Philipp Müller, Matthias, Stefan Kost, Tor, Jared Lash, Morten Welinder] * New and updated translations (el,fa,hu,id,ne,ro,rw)
Update to 2.6.3: Overview of Changes from GLib 2.6.2 to GLib 2.6.3 ================================================= * GOption - Fix formatting of --help output [Matthias Clasen] - Accept -? [Matthias] * Win32 bug fixes [Bill Skaggs, Tor Lillqvist, J. Ali Harlow, Daniel Atallah] * Other bug fixes [Ed Avis, Manish Singh, Matthias, Nicolas Laurent, Kjartan Maraas, Bastian Nocera, Suren A. Chilingaryan, Michael Banck] * Documentation improvements [Matthias] * New and updated translations (ar,el,et,fi,fr,gu,nb,no,uk,xh)
Add RMD160 digests.
Update to 2.6.2: * GKeyFile - Accept \r\n line ends [Bastian Nocera] - Add unit tests [Matthias Clasen] - Don't treat numbers with leading zeros as octal [Matthias] * Win32 changes - Bug fixes [Kazuki Iwamoto, Tor Lillqvist, Robert Ögren, Ulf Lamping] * Other bug fixes [Tor, Owen Taylor, Kjartan Maraas, Pawel Sakowski, Simon Budig, Mathias Hasselmann, David Hoover, Morten Welinder] * Documentation improvements [Vincent Untz, Sebastian Bacher, Matthias] * New and updated translations (ca,et,it,lt,pl,pt_BR,sk,tl)
Update to 2.6.1. While here, get rid of the XDG path specification madness and use the installation prefix to locate stuff instead of a nonsense hardcoded path. Note that this is not pkgviews friendly (not a problem because the previous behavior wasn't even). This makes applications work out of the box (well, there are still some hardcoded paths in other packages that have to be discovered), without any need to set an environment variable. * GOption - Make gtk_init(NULL, NULL) work again [Marcin Krzyzanowski] - Improve handling of -- [Matthias Clasen] - Don't show G_OPTION_REMAINING in --help output [Matthew F. Barnes] * g_find_program_in_path() doesn't return directories [Tommi Komulainen] * Add gmodule-export-2.0.pc [Matthias] * Win32 changes - Improve hangling of UNC paths [Tor Lillqvist] - g_getenv(), g_setenv(), g_unsetenv(), g_find_program_in_path() take and return UTF-8 now [Tor] - Make g_file_test() work more reliably, and use PATHEXT when check for executables [Tor] - Build and cross-compilation fixes [J. Ali Harlow] * Other bug fixes [Jens Hatlak, Morten Welinder, Tor, Kalpesh Shah, Adrian Bunk * Documentation improvements [Marcin Krzyzanowski, Tor, Crispin Flowerday, Mariano Suárez-Alvarez, Christian Biere, Danny Milo, Vincent Untz, Bastien Nocera * New and updated translations (cy,de,nl,ru,sq,sv)
Regenerate distinfo for modified patch-ag
ld.so (a.out) doesn't treat "symbol not found" as an error and dlerror() returns NULL.
Update to 2.6.0: Overview of Changes from GLib 2.4.x to GLib 2.6.0 ================================================= * Major new APIs - GOption, a commandline option parser - GKeyFile, a parser/editor for the .ini like files - Functions to support the XDG basedir specification - Wrappers for common POSIX pathname functions to handle filename encodings consistently. On Windows, these use UTF-8. * Miscellaneous new functions - g_filename_display_name() converts filenames in displayable UTF-8 strings - g_uri_list_extract_uris() splits uri lists - g_date_get_iso8601_week_of_year() gets ISO 8601 week numbers - g_log_set_default_handler() installs an alternate default log handler - g_get_language_names() obtains a list of applicable locale names - g_strv_length() calculates the length of NULL-terminated string arrays - g_win32_get_windows_version() determines the Windows version - G_GNUC_INTERNAL marks functions as non-exported - glib_check_version() checks the GLib version at runtime - g_debug() completes the family of logging functions * Performance improvements - Optimize g_utf8_validate() - Optimize g_markup_parse_context_parse() - Reduce signal connection complexity from O(n) to O(1) - Get rid of many PLT entries for internally used exported symbols - Reduce code size by removing literal strings from g_return_if_fail() * Other changes - On Windows, GLib functions that take file name arguments now require those to be in UTF-8. Functions that return file names return UTF-8. - Use higher precision for mathematical constants - Don't convert to/from UTF-8 in g_filename_to_uri/g_filename_from_uri - Support ll as printf format modifier for long long on all platforms - Clean up the ABI and enforce the list of exported symbols - Add a .pc file for using gmodule in libraries - Require ngettext
Update to 2.4.8: * Reduce signal connection complexity from O(n) to O(1) [Sven Neumann] * GChildWatch - Use sigaction instead of signal [Jonas Jonnson, Archana Shah] - Make the very first SIGCHLD work [Gustavo Carneiro] * Win32 bug fixes [Tor Lillqvist, Bruce Hochstetler] * Other bug fixes [Andrea Campi, Dave MacLachlan]
Fix the pthread detection so that where no native pthreads are present, we don't add -pthread to CFLAGS. Also, pkgsrc libtool on NetBSD will do the right thing with respect to pthreads, so we don't need to use the hack in the configure script.
Update to 2.4.7: * Win32 bug fixes - Fix Unicode collation [Tor Lillqvist] - Fix a thread leak [Peter Zelezny] - Fix build with newer mingw headers [Tor] - Convert messages to UTF-8 [Kazuki Iwamoto] - Don't open console windows [Tor] * Other bug fixes [Manish Singh, Matthias Clasen, Morten Welinder, Tim Janik, Tor] * Documentation improvements [Morten, Stephan Kasal, Philippe Blain, Nickolay V. Shmyrev, Gustavo Carneiro, Kjartan Maraas, Stefan Kost] * New and updated translations (bs,da,es,gl,ne,nn,or,ro,sq,tr)
Update devel/glib2 to 2.4.6. Overview of Changes from GLib 2.4.5 to GLib 2.4.6 ================================================= * Bug fixes [Matthias Clasen, Ray Strode] * New and updated translations (mn,nb) Overview of Changes from GLib 2.4.4 to GLib 2.4.5 ================================================= * Fix g_filename_from_uri() to work with non-UTF-8 filenames [Robert Ã~Vgren, Matthias Clasen] * Make GMarkup parser handle of whitespace inside tags according to XML 1.1 [Hiroyuki Ikezoe, Matthias] * Documentation improvements [Soeren Sandmann, Christophe Fergeau, Danek Duvall] * Other bug fixes [Oliver Guntermann, Sven Neumann, James Henstridge, Murray Cumming, Matthias, Tommi Komulainen] * New and updated translations (bg,hi,sq)
Update to 2.4.5: * Fix g_filename_from_uri() to work with non-UTF-8 filenames [Robert Ögren, Matthias Clasen] * Make GMarkup parser handle of whitespace inside tags according to XML 1.1 [Hiroyuki Ikezoe, Matthias] * Documentation improvements [Soeren Sandmann, Christophe Fergeau, Danek Duvall] * Other bug fixes [Oliver Guntermann, Sven Neumann, James Henstridge, Murray Cumming, Matthias, Tommi Komulainen] * New and updated translations (bg,hi,sq)
Update to 2.4.4: * Win32 bug fixes (John Ehresman) * Other bug fixes (Manish Singh, Matthias Clasen, Federico Mena Quintero, Philippe Blain, Sven Neumann, Julio M. Merino Vidal, Kaz Sasayama, Morten Welinder, Mariano Suarez-Alvarez) * Documentation updates (Crispin Flowerday, Ed Griffiths, Federico) * New and updated translations (az,ne,sq)
Update to 2.4.2: * Win32 bug fixes - make printf accept ll format modifier [Tor Lillqvist] - only believe HOME if it is an absolute path an exists [Tor] * Other bug fixes (Steve Lhomme, Tor, Hans Breuer, Manish Singh, Owen Taylor, Matthias Clasen, Nikolai Weibull, Benoît Carpentier, Morten Welinder) * New and updated translations (de,it,ja,ko,no,pt_BR,sq,wa,zh_CN)
Update to 2.4.1: * Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman] * Miscellaneous bug and portability fixes [Owen Taylor, Matthias Clasen, Jonas Jonsson, Christian Krause, Nickolay V. Shmyrev, Christophe Saout, Philippe Blain, Piotr Klaban] * Documentation updates [Matthias] * New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi, fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
Revert Interix <poll.h> patch as we're no longer using poll(2) on that platform at all.
Make build and wotrk on Interix. (Bugzilla bugs open for these changes; noted in each patchfile.)
Disable installing charset.alias, which makes this package conflict with libiconv when pkgviews is enabled. Suggested by recht@.
Update to 2.4.0nb2: Add a workaround for broken dlopen(NULL, 0) implementations, like NetBSD's one, which don't search in modules opened at runtime to locate symbols requested through the global handle. The workaround consists in querying all open modules (not just the main one) when finding a symbol through the global handle. This should be fixed in NetBSD, but the check and workaround are needed to let this work on not-so-old versions of it. The patch has been submitted to glib developers, too. This problem exposes, at least, in evolution's settings dialog, where many widgets can't be created because of missing functions.
Fix detection of RTLD_GLOBAL, which was beeing incorrectly detected in NetBSD and caused lots of obscure problems in programs loading plugins (specially, gstreamer). The problem is that the check in the configure script tries to dlopen the libpthread.so library, but the test program is not linked against libpthread itself. So it crashes, because this is not supported in NetBSD (the program was "initialized" as a non-threaded one). I've changed the test program to use libintl, which seems to work fine. Bump PKGREVISION to 1.
Update to 2.4.0: GLib-2.4 is a stable release adding an incremental improvement in functionality over GLib-2.2 while maintaining binary and source compatibility. New features include: General * Watches for child process exit integrated into the main loop. * Unicode tables updated to cover all of Unicode-4.0. * Standard header file for gettext macros, including Q_() macro for strings with context. * Improved seeding for the GRandom random number generator. Threading * Atomic operations on integers and pointers. * GOnce for one-time initialization. GObject: * G_DEFINE_TYPE macros for easy definition of GObject types. * Properties can now be added to interfaces. * Instance private data allows private data members for objects.
Try "-pthreads" before "-pthread" to work arround a problem in the "configure" script which otherwise picks "-pthreads" as the compiler option for POSIX's Threads. The real problem is probably that the buildlink3 framework passes "-pthread" as a compiler option to "configure" and therefore defeats the probes in the "configure" script. But that's hard to fix.
Make sure libgthread is linked to the libpthread library, fixes gtk2 build in FreeBSD. Patch provided by Michal Pasternak in PR pkg/23841. Tested in NetBSD -current and FreeBSD 5.x.
Use G_VA_COPY instead of va_copy.
Add missing patch.
Regen (patch-ae is gone)
For the 'trio' varargs functions, don't pass a reference to a va_list argument to the level below; it's not portable. Use va_copy to create a new copy, and pass a reference to that instead.
patch the darwin gmodule implementation to recursively look up symbols like the elf one does
Update to 2.2.3, from Juan RP in PR 22606. Overview of Changes from GLib 2.2.2 to GLib-2.2.3 ================================================= * Win32 [Tor Lillqvist] - Fix socket handling for giochannel [Andrew Lanoix] - Omit helper process for GSpawn when possible - Accept / as well as \ as a pathname separators in path handling functions. - Fix g_strdup_printf to be locale sensitive [Ernst Lippe] - Build fixes [Jeff Bonggren] - Misc bug fixes * Documentation improvements [Matthias Clasen] * glib-gettext.m4 fixes [Tim Mooney, Owen Taylor, James Henstridge] * Improve configure checks for sprintf [Matthias] * Misc bug fixes [Albert Chin, Noah Levitt, Manish Singh, Owen, Morten Welinder, Daniel Yacob] * New and updated translations (ar,az,cy,eo,is,sr,sr@Latn,zh_CN) Also, add patch-ac to fix a compilation error in a test (patch fed back).
Update to 2.2.2: * Fix busy wait when main loop was recursed out of an IO watch or similar [Owen Taylor, Christian Krause] * Fix main loops run from from other threads [Owen, Jean-Yves Lefort] * Many bug fixes in Unicode manipulation routines [Noah Levitt] * Win32 bug fixes [Tor Lillqvist, Cedric Gustin, Daniel Kaufmann] * Fix portability problems with G_MIN/MAX_INT64 [Manish Singh] * Miscellaneous bug fixes [Matthias Clasen, Martin Kretzschmar, Sven Neumann, Havoc Pennington, Balasz Scheidler, Ray Strode, Hidetoshi Tajima, Owen, Morten Welinder, Dan Winship] * Code cleanups and performance tweaks [Morten, Matthias, Christian Biere, Noah Levitt, Owen] * Threading fixes for configure.in [Sebastian Wilhelmi] * Fix make uninstall in po/Makefile.in.in [James Henstridge] * Miscellaneous build fixes [Zach Frey, Raja Harinath, Evan Martin, Andras Salamon, Jeffrey Stedfast, Hidetoshi Tajima, Owen, Morten] * Documentation improvements [Matthias, Christian Biere, Christophe Fergeau, Sven, Phillip Vandry] * New and updated translations (az,cy,et,fa,id,li,ml,pt,sr,ta,tr,yi,zh_TW)
Update to 2.2.1, provided by Juan RP in PR 20234. Changes: * configure fixes [Owne Taylor, Manish Singh, Rich Burridge, Tim Mooney] * New and updated translations (am,bn,et,fi,mn,nl,pl,pt_BR,ru,zh_TW,uk)
Fix gtk2 failing to build on -current. The problem is that the gthread.la file doesn't note that pthread is a dependancy, so linking with libtool against libgthread breaks. It seems the workaround for libtool not understanding -pthread doesn't work, so we use the same thing as linux, and convert -pthread to -lpthread. gtk2 now builds to completion on -current Note that this has no impact on 1.6.1 as it doesn't use -pthread.
Regen.
Check for symbol "_POSIX_THREAD_PRIORITY_SCHEDULING" instead of "__NetBSD__" to detect existance of pthread_attr_getschedparam() and pthread_attr_setschedparam() as suggested by Nathan J. Williams.
Don't try to use pthread_getschedparam() or pthread_setschedparam() under NetBSD. This change makes this package work with "nathanw_sa". Bump package revision to reflect the change.
Update to 2.2.0. Deprecate PTL2 support for this package. Major changes: * Improve generation of pseudo-random integers [Morten Welinder, Sebastian Wilhelmi] * Avoid literal UTF-8 in favor of octal escapes [Owen, Tomas Ogren] * Add copy of the Trio library to build and use for printf() when system printf isn't good enough. Add g_printf()/etc. [Matthias Clasen] * Add g_str_has_suffix()/g_str_has_prefix() [Alex Larsson] * Add g_markup_parse_context_get_element() [Matthias] * Add g_utf8_strreverse [Matthias] * Add g_ascii_strtoull() [Tim Janik] * Support scanning of 64-bit values with GScanner [Tim] * Add g_set/get_application_name() [Havoc Pennington] * Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities. Use for g_return_if_fail(). [Matthias Clasen] * Add G_GNUC_DEPRECATED macro [Tom Tromey] * Improve the seeding algorithm of GRandom to avoid problems with certain pathological seeds. Support G_RANDOM_VERSION=2.0 environment variable. [Sebastian Wilhelmi] * Improve thread configure checks, use -pthread where applicable [Sebastian] * Improve handlng of thread priorities [Sebastian] ...as well as many bug fixes and translation updates.
update MASTER_SITES and use .bz2 distfile.
missed from last commit.
Update to 2.07. Changes: * Fix C++ warnings in gtype.h [Dom Lachowicz] * Fix g_type_fundamental_next() [Tim Janik] * Fix various missing includes of config.h [Morten Welinder] * Handle main loop initialization before g_thread_init [Sebastian Wilhelmi] * Various 64-bit fixes [Manish Singh] * Fix GPoll on Win32 [Tor Lillqvist, Herman Bloggs] * Fix bug with buffering on UTF-8 IOChannels [Daniel Elstner] * Misc bug and build fixes [Soren Andersen, Gustavo Carneiro, Tor, Tim, Havoc Pennington, Matthias Clasen, Sebastian Rittau, Masahiro Sakai, Arvind Samptur, HideToshi Tajima, Owen Taylor] * Updated and new translations (be,cs,de,*fa,it,lv,pt_BR,tr)
Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE.
update to glib2-2.0.6. This is a bug fix release. Notable fixes include: Fix problem with interface prerequisites [Jon Trowbridge, Dave Camp] * Clean up debug spew from GObject [Anders Carlsson] * Compiler warning fixes [David L. Cooper II] * Fix some problems with g_build_path() [Guillaume Chazarain, Owen Taylor] * Fixes for --disable-debug [Sebastian Wilhelmi] * Threading fixes [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Rajkumar Sivasamy, Laurent Vivier] * Documentation fixes [Jacob Berkman, Manuel Clos, Jared Dukat, Sebastian Rittau, Linus Welleij] * Misc bug fixes [Anders Carlsson, Sam Couter, Morten Welinder, Owen] * Updated translations (bg,ko,vi)
Merge changes from pkgsrc-current into the buildlink2 branch for the packages that have buildlink2.mk files.
update to glib2-2.0.4. This is just a bug fix release Overview of Changes in GLib 2.0.4 ================================= * Fix some 64-bit problems. (George Lebl, David L. Cooper II) * Add note about Tru64 iconv to INSTALL. (Manuel Op de Coul) * Fix problem with timouts > MAXINT. (Tim Janik, Owen Taylor) * Updated translations (ca,es,fr,ja,gl,ms,nl,pl,pt,ru) Overview of Changes in GLib 2.0.3 ================================= * Handle sorting 0-length arrays (Ron Arts) * Threading fixes (Sebastian Wilhelmi) * Portability fixes (Miroslaw Dobrzanski-Neumann, Jacob Berkman, Gareth Pierce, Sebastian, Qingjiang Yuan) * Various fixes for glib-2.0.m4. (Jim Gettys, others.) * Locate right glib-genmarshal when cross-compiling. (Mitch Natterer) * Win32 fixes (Tor Lillqvist) * Try to fix g_get_charset() related segfaults. (Owen) * Fixes for gettext detection. (Dan Winship, HideToshi Tajima, Boyd Lynn Gerber, Andrew P. Lentvorski, Jr.) * Fix g_scanner_unexp_token() (Tim Janik, Sven Neumann) * g_markup fixes. (Matthias Clasen.) * Bug fixes and cleanups (Daniel Elstner, Matthias, Laszlo Peter, Morten Welinder, Wayne Schuller)
Merge from pkgsrc-current to buildlink2 branch.
Add missing -Wl,-R to the pkgconfig files. Bump PKGREVISION and default buildlink dependency.
update to glib-2.0.1 Overview of Changes in GLib 2.0.1 ================================= * Portability fixes for Sun's Forte compiler [Erwann Chenede] * Performance improvements for GObject parameter lookup, g_filename_to/from_utf8() [Alex Larsson] * Actually check interface prerequisites [Matthias Clasen, Miroslaw Dobrzanski-Neumann] * Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor] * Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras] * Fixes for g_log() and threading. [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik] * Make g_print(), g_printerr(), g_warning(), etc, convert from UTF-8 to the encoding of the locale [Sebastain Wilhelmi, Tim] * Fixes for GIOChannel on windows. [Tor Lillquist] * Fix gsize/gint mismatches in giochannel.c [Miroslaw] * Fix file descriptor leak in g_file_get_contents() [Matthias] * Workaround iconv() problems on older Solaris [Lauri Alanko] * Fix warnings with gcc-3.1 about asm const [Cody Russel] * Minor bug fixes. Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele, Akira Tagoh, Morten Welinder
remove unneeded patches. pkg-info adds -Wl,-R${path} automatically, no need to add it explicitly.
import glib2-2.0.0 GLib is a library which includes routines for C, providing lists, trees, hashes, memory allocation functionality and many other things. glib2 will coexist with glib-1.2.*
Initial revision