Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2 / patches
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5, Mon Jun 26 19:25:56 2023 UTC (9 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1
lines
FILE REMOVED
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 ãà×¢void having g_futex_simple() inadvertently modify errnoãàto glib-2-76 - Backport !3400 ãà׳evert "Fix error format in gio/gunixconnection.c (part 2)"ãàto glib-2-76 - Backport !3291 ãà×Èdbusconnection: Fix double unref on timeout/cancel sending a messageãàto glib-2-76 - Backport !3425 ãà×Èwin32networkmonitor: Fix returning address of local variableãàto glib-2-76 - Backport !3430 ãà×Èobject_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 Drg) - Russian (Aleksandr Melman) - Turkish (Sabri nal)
Revision 1.4 / (download) - annotate - [select for diffs], Mon Oct 11 10:03:47 2021 UTC (2 years, 6 months ago) by cirnatdan
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.3: +6 -4
lines
Diff to previous 1.3 (colored)
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ÑÔ 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ãàÑÔ 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ÑÔ 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ãàÑÕ 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 ãàÏÔerialiseãàto ãàÏÔerializeãà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
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 30 14:26:11 2021 UTC (2 years, 9 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3
Changes since 1.2: +7 -19
lines
Diff to previous 1.2 (colored)
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.
Revision 1.2, Wed Mar 4 15:11:48 2020 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.1: +1 -1
lines
FILE REMOVED
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ãàÑÕ 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ãàÑÔ 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ãàÑÕ 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
Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 8 10:12:06 2018 UTC (5 years, 6 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4
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.