blob: 44939b61e23c845756f39ee9a8e2514d49dc544d [file] [log] [blame]
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
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
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
Overview of changes in GLib 2.60.0
==================================
* Further fixes to the Happy Eyeballs (RFC 8305) implementation (#1653, #1679, #1693)
* Add support for the XDG trash portal (#1676, !276)
* Bugs fixed:
- #1653 gsocketclient-slow test is flaky
- #1658 keyfile settings backend: Consider tightening permissions
- #1668 Fill in CODE-OWNERS file
- #1675 glib-compile-resources: c_name generation issue
- #1676 Trash portal tries to open files as read-only but D-Bus API documents against that
- #1679 socket-service test is flaky
- #1693 Happy Eyeballs failure in gsocketclient-slow test
- #1697 gthreadresolver: do_lookup_records does res_ninit with an uninitialized state
- #1698 g_base64_encode(NULL, 0) causes critical warnings
- !276 Support the trash portal
- !639 gvariant-parser: Fix error handling when type coalescing fails
- !666 Socket fixes to W32 test suite
- !674 Update gvdb submodule
- !676 Initialize a variable
- !677 gerror: Add a missing precondition assertion in documentation
- !686 gio: Also support modules built with MSVC
- !688 gsocketclient: Fix critical on cancellation
- !689 glib-compile-resources: Fix a minor leak
- !691 gtask: Separate GTask fields memory locations to avoid data races
- !692 glib.supp: Add more variations of existing suppressions
- !696 Move closures refcount test to gobject/tests/
- !698 gthreadedresolver: Remove unused thread pool
- !699 tests: Fix closure-refcount to preserve old semantics
- !702 Rename gobjectenumtypes.[ch] to glib-enumtypes.[ch]
- !703 Clean up gmarshal.[ch]
* Translation updates:
- Catalan
- Czech
- French
- Friulian
- German
- Italian
- Korean
- Romanian
- Serbian
Overview of changes in GLib 2.59.3
==================================
* Fix support for g_get_user_special_dir() on macOS, including support for the Downloads directory (#1048)
* Ensure that cancelling a GTask cannot cause its callback to be called synchronously (in the same call chain as the original *_async() call) (#1608)
* Further fixes to the Happy Eyeballs (RFC 8305) implementation (#1644, #1680)
* Various fixes for installation of installed tests (thanks to Iain Lane) (!649, !651)
* Various fixes for tests when run on Windows (thanks to LRN) (!665, !667)
* Bugs fixed:
- #535 gmacros: Try to use the standard __func__ first in G_STRFUNC
- #875 gio-gvfs on Windows: Don't mishandle other non-native URIs in gwinhttpvfs.c
- #1048 "Desktop" shortcut appears twice in file chooser sidebar on OSX
- #1608 Cancellation might not be asynchronous under certain circumstances
- #1644 network-address test failure in CI: IPv6 Broken (g-io-error-quark, 24)
- #1680 Regression: g_socket_client_connect_to_host_async() sometimes gets "Connection refused" when connecting to localhost
- #1686 gdbus-peer test is sometimes timing out
- !613 Use win32 io channel on windows for the protocol test
- !634 Win32: gio/gsocket.c: Set WSAEWOULDBLOCK on G_POLLABLE_RETURN_WOULD_BLOCK
- !638 gvariant-parser: Fix parsing of G_MININT* values in GVariant text format
- !640 tests: Tag socket-service test as ‘flaky’
- !641 Minor typo fixes to GSpawn documentation
- !645 gsocketlistener: Fix multiple returns of GTask when accepting sockets
- !647 gsocketclient: Ensure task is always returned on cancel
- !648 gio/tests/task: Run the worker indefinitely until it's cancelled
- !649 gio tests: Install test1.overlay file when building installed tests
- !650 gstring: fully document semantics of @len for g_string_insert_len
- !651 tests: Install the slow-connect-preload.so library and use it
- !667 GSubprocess fixes for W32 test suite
- !668 tests: Mark gdbus-peer test as flaky
- !669 GWin32VolumeMonitor: Sort the volumes correctly
- !670 gpollableoutputstream: Fix the description of the interface
- !672 Fix some tests when running as root
* Translation updates:
- Catalan
- Danish
- French
- Indonesian
- Kazakh
- Portuguese (Brazil)
- Slovenian
- Turkish
Overview of changes in GLib 2.59.2
==================================
* Fix check on GDBusMessage size when reading it. (#1642)
* Add async GIO API: g_file_query_default_handler_async(), g_app_info_launch_uris_async() (#1249, #1347)
* Fix some bugs in the Happy Eyeballs implementation. (#1646, #1649)
* Install a new generated header with enum types for Unicode enums. (!481)
* Support the XDG trash portal. (!276)
* Bugs fixed:
- #1224 TSAN patches
- #1249 xdg-open/gnome-open doesn't work if service isn't started
- #1347 g_app_info_launch_default_for_uri_async is not really async
- #1376 gmarkup: Optimize g_markup_escape_text()
- #1642 minor mismatch between error and code in g_dbus_message_bytes_needed
- #1646 Criticals in g_socket_client_enumerator_callback()
- #1649 Critical in g_socket_client_connected_callback
- #1673 G_MININT constants broken in g-i
- !276 Support the trash portal
- !481 Define enum types for Unicode enums
- !585 gio: do not pass O_PATH file descriptors to portal APIs
- !593 Don't fail trash test if ~/.local doesn't exist or mount points can't be determined (master)
- !609 Make `g_app_info_launch_uris_async()` really asynchronous
- !619 gvariant: Fix a mistake in docs
- !622 Fixing warnings
- !626 gdbus: Avoid printing null strings
- !627 gsocketclient: Fix criticals
- !629 Various memory leak cleanups to GSettings tests (subset)
- !630 docs: Ignore more version macros
* Translation updates:
- Galician
- Hungarian
- Lithuanian
- Polish
- Spanish
Overview of changes in GLib 2.59.1
==================================
* Autotools support is gone. (!580)
* g_format_size() now uses a no-break space to separate digits and units;
translations will need to be updated accordingly. (#1625)
* New g_queue_clear_full() API. (#1464)
* Fix argument quoting on win32 when spawning subprocesses. (!419)
* Allow polling more than 64 handles on win32 using g_poll(). (#1071)
* Tag various tests as ‘flaky’. These are no longer run routinely on our
upstream CI machines, and downstream packagers may want to not run them (or
not treat those test failures as package build failures) on their test
machines either. They are in the `flaky` test suite. (!579)
* Add overlay support to g_resources_get_info(). (#1445)
* Support defaults and locks in the keyfile GSettings backend. This will be
used for flatpaks. (!450)
* Accept unquoted strings in the keyfile GSettings backend to simplify things
for sysadmins. (!603)
* Update our contribution guidelines (`CONTRIBUTING.md`). (!590)
* Add writev() and writev_all() APIs to GOutputStream and GPollableOutputStream,
and provide implementations of them for many subclasses. (#1431)
* Bugs fixed:
- #424 Add 'proxy' debugging support
- #1055 Provide alignment macros
- #1071 Eliminate MAXIMUM_WAIT_OBJECTS limitation in g_poll() on Windows
- #1445 g_resources_get_info doesn't respect resource overlays
- #1464 Add g_queue_clear_full() API
- #1500 GListStore needs double checking on some warnings
- #1623 xdg-open: file with colon results in “The specified location is not supported”
- #1625 Unbreakable space needed when showing size of folder/file
- #1636 GTask getters don’t return TRUE/FALSE after bitfield changes
- #1637 EXCEPTION_ACCESS_VIOLATION in g_clear_pointer
- #1639 GListStore implementation of g_list_model_get_item() returns wrong results on integer overflow
- #1655 gvariant-parser warnings
- #1663 G_MININT32 triggers compiler warning C4146 with Visual C++
- #1666 `G_DEFINE_DYNAMIC_TYPE_EXTENDED` causes warnings with -Wcast-function-type
- !319 giomodule: Print the type of each default GIO module
- !333 Add writev() API to GOutputStream and GPollableOutputStream
- !419 gspawn, win32: qouted args - escape end backslash
- !450 Settings portal
- !512 gtype: Clarify type of GInterfaceInitFunc
- !516 gthread: Add g_private_set_alloc0() convenience API
- !535 win32 gpoll: overcome the 64 handles limit
- !545 goption: Fix an annotation on g_option_context_parse_strv()
- !560 docs: Fix dconf GSETTINGS_BACKEND name in gio overview
- !564 gtype: Document type for iface_default_init() function
- !568 Add separate definitions of g_assert_[non]null() for C++
- !571 docs: Add note on how to check a gboolean condition
- !575 gio: Update bad cert error in accept-certificate and GTlsError docs
- !579 Temporarily disable flaky tests
- !580 Drop autotools support
- !583 gmacros: MSVC supports the noreturn function attribute
- !587 Remove unused .pc.in files
- !588 MSVC: Move dirent implementation to glib/dirent/
- !590 Update contribution documentation
- !591 gfileinfo: Fix annotation for g_file_info_set_attribute_stringv
- !592 Remove leftover build/ directory
- !595 gtestutils: pass open file descriptors to subprocess
- !597 tests: Tag gsocketclient-slow test as ‘flaky’
- !598 gdbus-proxy test fails with GLib-GIO:ERROR:glib/gio/tests/gdbus-proxy.c:832:fail_test: code should not be reached
- !599 gdtlsconnection: do not return on a void method
- !601 gio: Support "help" in extension point env vars
- !602 Update POTFILES.in
- !603 keyfile settings: Accept unquoted strings
- !608 build: Add -Wno-pedantic flag to compiler arguments
- !611 gnetworkaddress: fix use-after-free for network address
- !612 gdir: shutup a warning when building with msvc
- !615 Fix a couple of wrong compiler warnings
* Translation updates:
- Spanish
- Swedish
Overview of changes in GLib 2.59.0
==================================
* This will be the last development release with autotools support. As our
Meson support has been around since 2.56.x, and was used to release tarballs
in 2.58.x, the next development release (2.59.1) will drop autotools as used
to build GLib. The macros installed for other packages to use will remain.
* Add `G_TEST_OPTION_ISOLATE_DIRS` to redirect `XDG_*_HOME` to a temporary
directory for each unit test. (#538)
* Support `Property.EmitsChangedSignal` annotations in `gdbus-codegen`. (#542)
* Add `g_assert_cmpvariant()` API for unit tests. (#1191)
* 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)
* Unconditionally install GLib m4 macros, so that projects which depend on GLib
and which still build using autotools can continue to build even once GLib has
ported entirely to Meson. (#1520)
* Various fixes to the Meson build.
* 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)
* `GHashTable` performance and memory improvements for common cases. See
https://hpjansson.org/blag/2018/07/24/a-hash-table-re-hash/. (!208)
* Add flags that allow a `GApplication` to signal and replace a currently
running other instance of the same `GApplication`. This will be used for app
upgrades with flatpak. (!250)
* Autostart xdg-desktop-portal when using the network monitor and proxy monitor
portal backends. (!317)
* Add a g_task_set_name() API to allow `GTask`s to be described; useful for
debugging. (!384)
* Enable FreeBSD CI on every commit for upstream GLib. (!387)
* Various GVariant, GMarkup and GDBus fuzzing fixes, including buffer overflow
fixes. (!411)
* Various fixes to eliminate thread races, found by thread sanitizer (tsan).
* Deprecate TLS/DTLS rehandshaking, as it has been removed from the protocol in
TLS 1.3. (!478)
* Support reading arguments from a file with `glib-mkenums`, which is useful
for long argument lists due to having deeply nested build directories, on
systems with a low limit on the command line length. (!489)
* Make `g_environ_*()` case-insensitive on Windows, as the environment itself
is case-insensitive on Windows. (!500)
* Add Application Layer Protocol Negotiation (ALPN) support to `GTlsConnection`
and `GDtlsConnection`, so that higher layer protocols can be negotiated when
setting up a TLS connection, without additional round trips and latency. This
is needed for eventual HTTP/2 support. (!520)
* Add support for TPM keys in PEM files when loading TLS certificates. (!522)
* Add a `GRecMutexLocker` auto-pointer wrapper for `GRecMutex`. (!528)
* Bugs fixed:
- #107 The "g_key_file_get_comment" interface returns comment with unexpected new line symbol at the end
- #179 g_object_unref assert in debug code
- #277 'destroy_data' in g_cclosure_new is registered as finalize notifier instread invalidate.
- #538 Add helpers to redirect XDG_*_HOME to a temp dir for unit tests
- #542 gdbus-codegen does not honor "Property.EmitsChangedSignal" annotations
- #656 check for -Werror=format-security broken
- #734 Provide a way to instantiate a GDBusProxy-derived class from a GDBusConnection and a object path without blocking
- #827 gmain: Clarify that g_source_set_callback() is safe on attached sources
- #1055 Provide alignment macros
- #1119 GVolumeMonitor: Results don't reflect current state but state when application was launched
- #1191 add g_assert_equal_variants
- #1261 Add option to leave <default> in gschema empty
- #1271 fstab binds appear as mounts (x-gvfs-hide is being ignored)
- #1310 gdbusproxy: make g-name-owner property useful with unique names
- #1313 Meson: Rework the config.h generation
- #1342 Automatically realign data passed to g_variant_new_from_bytes() or g_variant_new_from_data()
- #1343 g_date_set_parse: Parses "September" in Polish incorrectly
- #1362 Incorrect documentation about GSettings child add/remove notifications
- #1452 GFileInfo: unable to retrieve correct modification time of links and mounted volumes on Windows
- #1471 Incorporate oss-fuzz fuzz targets into GLib
- #1489 Use `ld -b binary` to speed up GResource generation for linking
- #1498 distcheck fails in distclean
- #1506 error: redefinition of typedef 'GKqueueFileMonitor'
- #1509 test_timeval_to_iso8601_overflow: 'out' should be NULL
- #1513 GIcon regression?
- #1514 gio/appinfo test sometimes fails in CI
- #1518 /network-monitor/create-in-thread fails in (LXC) containers on glib-2-56
- #1520 Change conditions for installing m4 macros
- #1522 Trash not working on NTFS folder accessed from symlink
- #1523 GIO NetworkMonitor doesn't reflect the current network state
- #1525 GTask allows (buggy) application code to cause callback to be called twice, without warning
- #1527 Meson doesn't install data for installed-tests
- #1528 Meson tests are hard to debug in an autobuilder environment
- #1530 tests/mainloop-test appears to be flaky
- #1535 meson: installed-test metadata not run in TAP mode
- #1536 meson: spurious dependencies on convenience libraries in .pc files
- #1537 meson: absolute paths to ${builddir} included in gtk-doc HTML
- #1538 meson: G_HAVE_GROWING_STACK defined differently
- #1539 meson: Some files are unnecessarily installed executable
- #1541 meson: timeloop-closure test not installed
- #1542 meson: /usr/lib/glib2.0/installed-tests/glib/gdbus-peer: error while loading shared libraries: libgdbus-example-objectmanager.so: cannot open shared object file: No such file or directory
- #1544 meson: gtester-report #! not replaced with ${PYTHON}
- #1546 Cross-compilation fails in 2.58
- #1556 build: Too long file path issue with meson on Windows
- #1562 GDate test suite fails with latest glibc
- #1570 ghash.c:694:27: left shift of 1 by 31 places cannot be represented in type 'int'
- #1572 Flags validation fails
- #1575 g_date_time_format() should have format attribute
- #1576 Fails to build with Meson on Debian armel (armv5te EABI softfloat little-endian)
- #1580 glib-compile-resources using strings breaks building e.g. GTK+ on MS Visual C, which limits strings to 65535 chars
- #1581 Memory used for reference counted data might be misaligned.
- #1588 Moving a bookmark item to the same URI causes a crash
- #1589 g_log_writer_is_journald memoizes a single result, even though it accepts a parameter
- #1590 tests: g-file-info-filesystem-readonly fails if run more than once with fuse & bindfs installed
- #1594 Return value of g_dbus_connection_get_unique_name not annotated as nullable
- #1600 g_timeout_source_new_seconds overflows when given interval > (G_MAXUINT / 1000)
- #1601 appinfo test fix is defective
- #1605 g_date_time_format fails when used with non ASCII format string on POSIX locale
- #1615 gdbus-codegen not generating nullable annotation
- !196 [RFC] build: Drop Python 2 support and require Python 3.4+
- !200 Add a new GTlsError to indicate protocol downgrade attacks
- !208 GHashTable improvements
- !219 glocalfilemonitor: Fallback to poll file monitor for NFS
- !238 W32 GFileInfo improvements
- !250 Application replace
- !264 glib-compile-resources: encode data as string
- !268 build: simplify alloca checks. See #1313
- !272 dtrace: Add missing const attributes to types in glib_probes.d
- !273 gtlsbackend: add support for setting the default TLS database
- !277 Use "command -v" instead of "which"
- !282 meson: Add macOS libtool versioning for ABI compatibility
- !286 gspawn: Fix build on systems without O_CLOEXEC
- !287 glib-compile-resources: Fix generated code compiling with C++ compilers
- !289 tests: Add more tests to finish branch coverage of GHashTable
- !290 build: fix installation dir of glib-gettextize
- !292 Remove all ChangeLog files
- !293 Document new volume class `loop`
- !294 portal network monitor: Always emit changed signal on changed
- !295 meson: fix typo
- !296 Add G_GNUC_FALLTHROUGH for __attribute__(fallthrough))
- !297 build: Drop AC_C_CONST from configure.ac
- !302 Document that GTimeVal is subject to the year 2038 problem on 32-bit systems
- !303 liststore: Simplify code
- !304 Add more GListStore/GListModel tests
- !309 codegen: Change pointer casting to remove type-punning warnings
- !312 Enable GIO tests on Windows
- !316 gdbus: Improve error when well-known name is unowned
- !317 Autostart xdg-desktop-portal if needed
- !322 gnetworkmonitornm: Set a GError properly on an error handling path
- !332 gmarkup: Make the documentation even more explicit about untrusted input
- !334 gio: automake: Add libgmodule dependency
- !338 gcharset: fix leaking g_get_language_names_with_category
- !339 Add g_desktop_app_info_get_string_list(); fix g_key_file_free()
- !340 tests: Mark two more tests as slow
- !345 Fix build failure on systems without POSIX spawn
- !347 Use Meson 0.48.0 for CI
- !348 Documentation tweaks for g_array_free
- !353 Meson: Do not run tests/refcount with --tap
- !354 Fix spelling mistakes detected by Debian's Lintian tool
- !358 Autotools: Move libmount from Libs.private to Requires.private
- !360 CI: Test static build on installed glib
- !363 Tests: Mark printf wrappers with G_GNUC_PRINTF
- !364 ci: Enable FreeBSD CI
- !366 gunixmounts: Mark mounts as system internal instead of filtering out
- !372 gmacros: Fix G_[UN]LIKELY to not mask -Wparentheses
- !374 gthreadpool: Include prgname in thread name
- !375 m4macros: Allow information from pkg-config to be overridden
- !376 gthread: Clarify priority handling in GRWLock
- !379 Ignore g_return_*if_fail() branches in lcov coverage report
- !381 Add UTF-8 communication tests for GSubprocess
- !384 gtask: Add a g_task_set_name() method
- !387 ci: Enable FreeBSD CI in the official repository
- !396 m4: Fix AM_PATH_GLIB_2_0 macro
- !400 grefcount: add missing gatomic.h
- !403 build-sys: Pass CFLAGS to $(DTRACE)
- !405 ci/msys2: fix path to the lcov config file
- !406 meson: Mark 1bit-emufutex test as slow
- !407 meson: Increase test timeouts
- !410 gfileutils: Add examples to g_path_get_dirname() documentation
- !411 Various GVariant, GMarkup and GDBus fuzzing fixes
- !412 Enable compile time check of g_date_time_format() format
- !413 Add support for g_auto(s)list to G_DECLARE'd types
- !414 gio, tests: ensure objectmanager sources are generated
- !415 gseekable: fix 'attmepting' typo
- !416 gdbus-peer: Make sure to not include objectmanager-gen.c source
- !417 Fix ^*ay handling in g_variant_iter_loop()
- !418 Meson: Cleanup a FIXME now that we have dict addition
- !420 gdbus-codegen: add autocleanup for FooObject
- !422 GMarkup buffer overflow fixes for error handling, round 2
- !423 gutils: Check whether getauxval function exists
- !424 ci: Fix Docker image version
- !425 gdate: Reinitialize using_twodigit_years and locale_era_adjust.
- !435 gdatetime: Fix formatting of time zones offsets in range -01:00 to +00:00
- !436 valgrind: Add glib_init()-related suppressions
- !440 Fix minor memory leaks in tests
- !443 tests: Avoid multithreaded use of g_test_rand_int_range
- !444 gvarianttypeinfo: Consistently use atomics to access ref_count
- !446 gmain: Fix data races in GUnixSignalWatchSource and GChildWatchSource
- !451 closures test: Avoid timeout on ARM64 CPUs
- !452 Atomic reference count in GVariant, ContainerInfo and GDBus introspection
- !453 tests: Fix some data races in tests
- !454 gdbusproxy: make g-name-owner property useful with unique names
- !458 glib-compile-resources: Fix size allocation for compressed streams
- !460 gatomicrefcount: Make g_atomic_ref_count_init non-atomic
- !461 Meson: Fix build error in gdbus-example-objectmanager
- !462 meson: add aarch64 memory barrier handling
- !463 gio, tests: fix leak of dbus connection.
- !467 Update documentation of g_tls_connection_handshake() again
- !469 docs: add index of new symbols for gio > 2.52
- !470 docs: Clarify return/error behaviour of D-Bus signal subscriptions
- !472 gdbusmessage: Gracefully handle message signatures with invalid types
- !477 gthread: Remove unsynchronized access to g_once_init_list from assertion
- !478 Deprecate TLS rehandshaking
- !480 docs: add a missing semicolon
- !482 Check for 'z' library before fallbacking to subproject
- !483 meson: Turn selinux into a meson feature and make it auto by default
- !484 Meson: Add 'nls' option to disable translation
- !485 gdbus-codegen: Tag interfaces and properties so annotated with G_PARAM_DEPRECATED
- !486 Check for zlib header
- !489 glib-mkenums: Support reading @rspfiles for arguments
- !490 gspawn: Fix g_spawn deadlock in a multi-threaded program on Linux
- !491 Meson: Add missing include_directories when using glib as subproject
- !492 g_value_get_variant: return value is transfer-none not transfer-full
- !494 Resolve "Follow-up from "gunixmounts: Stop considering cifs/nfs as system file systems""
- !500 genviron: make g_environ_* case-insensitive on Windows
- !504 tests: Unset LANGUAGE when running gdatetime tests
- !505 Support isolating directories for unit tests
- !508 ci: Install additional locales used during tests
- !510 Add new Linux Testing project version number to configure script
- !511 gvariant: Fix error handling for parsing Unicode escapes
- !514 fix gdbus-codegen --interface-info-{header,body}
- !515 binding: Clarify the use of g_object_unref() to remove a binding
- !517 Meson: Fix deprecation warning with upcoming 0.49.0 release
- !518 Meson: Fix declare_dependency() calls
- !520 GTlsConnection: add ALPN support
- !521 tests: Rename macro to avoid conflict with encoding prefix
- !522 gtlscertificate: Add support for TPM keys in PEM files
- !524 gdatetime: Fix typo in the comment
- !528 Add GRecMutexLocker
- !530 tests: Minor improvements to mkenums.py and taptestrunner.py used by it
- !534 gtlscertificate: Fix bug in PEM private key parser
- !536 Various minor docs fixes
- !541 gtimezone: Fallback to /etc/timezone on Gentoo
- !546 spawn: add shebang line to script
- !547 Do not check for NULL when calling free()
- !549 Improve documentation of g_assert_error()
- !551 Revert "tests: Fix GOptionContext leak in GSubprocess tests"
- !554 Only subscribe to owner-changed signals on message bus connections
- !555 Suppress -Wint-in-bool-context warning with G_DEFINE_INTERFACE and g++
* Translation updates:
- Brazilian Portuguese
- Czech
- Danish
- Greek
- Hungarian
- Lithuanian
- Norwegian bokmål
- Polish
- Slovak
- Slovenian
- Spanish
- Swedish
- Turkish
Overview of changes in GLib 2.58.0
==================================
* Tarball built with `ninja dist`, so if you want to build this release with
autotools (which is supported), you will need to re-run autogen.sh. This
release, and all micro releases in the 2.58.x series, support being built
with Meson or autotools. See:
https://mail.gnome.org/archives/gtk-devel-list/2018-June/msg00012.html
* Fix cancellation of g_subprocess_communicate_async() calls. See !266.
* Drop support for the __int64 type, which further breaks compilation on old
MSVC versions (before VS2013). See #1313.
* Expose GSettings schema directory in gio-2.0.pc as `schemasdir`. See !274.
* Support v3 of the xdg-desktop-portal network monitor API. See !265, !279.
* Fix G_MODULE_SUFFIX on macOS when GLib is built with Meson — it should be `so`
rather than `dylib`. Projects that use Meson and the `g_module_build_path()`
API such as glib-networking should pass `name_suffix:` to `shared_module()` to
ensure that plugins continue to be called libfoo.so on macOS. See !280.
Bugs fixed:
!280 meson: Always set G_MODULE_SUFFIX to `so` on macOS
!266 subprocess: Fix communicate_cancelled signature
!279 Revert "Add a gnet utility" (see !265)
!265 Network monitor again
!274 gio: Provide schemas directory information in pkg-config file
!239 gvariant: Fix more bounds checking in GVariant text format parser
!195 garray: add overflow checks before expanding array
#1497 g_strdup_printf warns on invalid format specifier with G_GUINT64_FORMAT on Win32
!270 autotools: remove support for the __int64 type. See #1313
!267 ci: Add an autotools job
* Translation updates:
Czech
Galician
Indonesian
Italian
Kazakh
Korean
Turkish
Overview of changes in GLib 2.57.3
==================================
* G_GNUC_MALLOC’s definition has been tightened up to match an updated
definition from GCC. Many uses of G_GNUC_MALLOC which were previously
appropriate may cause miscompilation with newer GCC versions. Check your uses
of it against the updated documentation. See #1465.
* Many minor documentation fixes.
* Fix for gint64 and int64_t compatibility on macOS and BSD. See #972.
* Fix free space metadata on some file systems (notably FAT). See #328.
* Support installed-tests with our Meson build system. See #1444.
* Forbid @filename@/@basename@ in glib-mkenums templates, which is a change to
its long-standing behaviour (which was long-standing nonsensical). See !241.
* Various stat() fixes on Windows. See #1452, #1476.
* MinGW-w64 ABI warning: In case you build 64 bit glib without LFS support by
passing --disable-largefile (not the default) and use GStatBuf, you need to
rebuild your application as the size of GStatBuf has changed for this case.
See #1476.
* Improve TAP compatibility of g_test_incomplete(). See #1474.
* Change fallback preferences when loading icons. See !72.
Bugs fixed:
!263 build: Clean files left behind after gio/tests/gresource.c test
!262 gmem: Only evaluate pointer argument to g_clear_pointer() once
#1465 Many uses of G_GNUC_MALLOC are incorrect
#1448 g_error does not abort() as documented
#1494 g_clear_pointer may not use the correct calling convention with its callback
#972 Mismatch between gint64 and int64_t on 64-bit macOS/BSD
!251 gtestdbus: Fix watcher crash on FreeBSD
#1492 gcc-8: -Wcast-function-type: new warnings for g_list_copy_deep()
!252 tests: fix gnotification tests broken due to the recent icon name fallback changes
#328 filesystem::{free,size,used} not set for full FAT fs
!248 network monitor portal: update properties initially
#1373 Incorrect transfer annotation for g_binding_unbind.
#1444 the meson build doesn't support installed tests
#1027 Fix trashing on overlayfs
#1454 gvdb does not treat corrupt files as empty as promised; dconf suffers
!243 tests: Explicitly set TZ=UTC for g_time_val_from_iso8601() testing
#1488 ‘O_CLOEXEC’ undeclared (first use in this function)
!241 glib-mkenums: forbid @filename@/@basename@ in fhead and ftail
!240 gtimer: Ensure arithmetic is correctly signed for ISO 8601 parsing
#1452 GFileInfo: unable to retrieve correct modification time of links and mounted volumes on Windows
!234 DOC: Documentation fix in GTask description
#1363 Meson: Review cross compilation properties
!225 gtimer: Add overflow checks to g_time_val_from_iso8601()
!230 gbookmarkfile: Fix some more minor leaks when metadata elements are repeated
!229 Fix up g_bytes_compare() documentation
#1476 g_stat - possbile memory corruption causing SEGFAULT
!199 Update TLS documentation
#1474 g_test_incomplete() makes test_case_run() return FALSE
#1475 glib/tests/atomic.c test_types() trips -Werror=bad-function-cast on Debian armel
#1472 Test for BROKEN_IP_MREQ_SOURCE_STRUCT is broken on Windows / Mingw
!220 date test: Use g_test_skip(), not g_test_incomplete()
#1467 malloc difference causes refstring test to fail on FreeBSD
!230 gbookmarkfile: Fix some more minor leaks when metadata elements are repeated
#1466 Not Able to Build glib 2.57.2 in Mingw-w64 x64 bits
#1433 test_posix_parse: assertion failed (g_time_zone_get_abbreviation (tz, 0) == "UTC"): ("LMT" == "UTC")
#1446 Follow-up from "Document difference between g_assert() and g_assert_*() wrt G_DISABLE_ASSERT"
!206 grefstring: Avoid an unnecessary NUL assignment
#1458 g_volume_get_mount returns NULL value after g_volume_mount_finish is called with no error
!72 gio: icons should fallback to non-preferred style appropriately.
* Translation updates:
Brazilian
Chinese (Taiwan)
French
German
Lithuanian
Polish
Romanian
Turkish
Overview of changes in GLib 2.57.2
==================================
* Require pcre 8.31
* Require meson 0.47.0
* Bugs fixed:
742456 Add g_steal_pointer() convenience function to mark ownership...
795569 MinGW CI: fix tests
796341 gmem.h: Use typeof() in g_steal_pointer() macro
#1013 Support for per-session overrides
#1360 glib-mkenums breaks if option specified but no nick
#1175 Add names and tags to various GSources and GTasks constructed in GLib
#903 g_main_context_wait() not deprecated in API, but emits a g_critical()...
#786 Fix memory leaks in libgio tests
#927 gio/gresource.c:do_lookup check for terminating "/"
#976 Document difference between g_assert() and g_assert_*()...
#1447 glib 2.57.1: test_month_names: assertion failed...
#1407 Update to Unicode Character Database 11
#1455 glib python tools have full python path in shebang, limits to 128 characters
#1459 Missing g_return_val_if_fail in g_async_queue_timeout_pop
* Translation updates:
Friulian
German
Romanian
Spanish
Overview of changes in GLib 2.57.1
==================================
* New api:
- g_hash_table_steal_extended
- G_GNUC_NO_INLINE
* Bug fixes:
668132 Use libmount and expose mount options on GUnixMountEntry type
736741 Update private copy of valgrind.h
748620 g_regex_* utf-8 validity requirements are not stated clearly
784995 meson: some Windows improvements
788771 NODELETE missing when built with meson
788773 meson does not install correct pc files
789968 Add g_autoptr() support for GTypeClass
794325 Various fixes to compile on OSX
795152 gdesktopappinfo: Mark GDesktopAppInfo constructors as nullable.
795165 Add g_date_time_get_timezone() and g_time_zone_get_identifier()
795180 Investigate performance impacts of recent compiler features on hot functions
795302 Add g_hash_table_steal_extended() API
795376 Add g_ptr_array_steal()
795544 Add binary/textfile/zero size detection
795569 MinGW CI: fix tests
795636 gitlab-ci: generate test coverage reports
795735 Fix comparison for GVariant property values
795802 gdbus-codegen doesn't accept --output-directory with --output for --body and --header
795849 gwin32: Fix detection of MinGW32 vs MinGW-w64
795876 meson: Fix checks for posix_memalign and stpcpy
795960 g_format_size_for_display() is deprecated since 2.30
796085 Meson: Many apps breaks on non-glibc because of missing libintl
796138 Fix typo in g_file_info_set_attribute docs
796139 Add g_autoptr() support for GParamSpec
796164 Fix atomic ops check in meson.build
796186 Typo: "instead off" in gsignal.c
796213 Meson: Fail to build on macosx
796220 meson: do not run atomic test with msvc
796264 Add android CI
796325 meson: Add exception for atomic ops test for Android
796328 gengiotypefuncs.py: Read and parse files in binary mode
* Translation updates:
Czech
Indonesian
Overview of changes in GLib 2.57.0
==================================
* Bug fixes:
739424 Rewrite kqueue GFileMonitor backend to drop threading
751826 Use g_get_language_names() for other locale categories
788773 meson does not install correct pc files
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
793729 gitlab-ci: Add Windows MinGW support
793994 GUnixVolumeMonitor doesn’t show user mounts when run as root
794170 gdbus: hexdecode() and hexencode() do not return/use decoded/encoded s...
794194 gobject_gdb.py: 'address' is a property of gdb.Value not a function
794207 leak: g_socket_listener_add_inet_port increases ref-count on socket-li...
794284 Support whitespace stripping for JSON resources
794285 glib-compile-resources should not noisily g_printerr() when xmllint is...
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
794555 glib meson build fails on MinGW due to misdetected functions
794557 gtkdoc-scangobj fails on gio in meson builds
794606 glib-2.56.0 fails to compile when res_nquery is not available
794635 gmacros: Don't define bogus __has_* macros
794636 G_HAVE_GNUC_VISIBILITY is defined in meson MinGW builds
794686 Date (except weekday) displayed in English
794732 Fix various compiler warnings
* Translation updates
Hungarian
Slowak
Slovenian
Spanish
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
* Translation updates:
Brazilian Portuguese
British English
Catalan
Czech
Danish
Dutch
Finnish
French
Friulian
Galician
German
Hungarian
Indonesian
Italian
Kazakh
Korean
Lithuanian
Polish
Scottish Gaelic
Serbian
Serbian Latin
Spanish
Swedish
Turkish
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...
* Translation updates:
Hungarian
Indonesian
Polish
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()
* Translation updates
Hebrew
Indonesian
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
* Translation updates:
Catalan (Valencian)
Czech
German
Nepali
Norwegian bokmål
Slovak
Slovenian
Spanish
Overview of changes in GLib 2.54.0
==================================
* Bugs fixed:
780861 Crash in GnomeWallClock
786983 Please make the output of gio-querymodules deterministic
787109 Valgrind false positive in ioctl() in btrfs file copy
787123 glib: Slighty update GIOChannel documentation
787146 GMainLoop: match of parameter pair of LOCK_CONTEXT/UNLOCK_CONTEXT
* Translation updates:
Basque
Catalan
Romanian
Swedish
Overview of changes in GLib 2.53.7
==================================
* Bugs fixed:
736710 remove unnecessary executions of libtool from configure
785260 gio/tests/appmonitor fails if local dir not writeable
786456 g_subprocess_wait[_check]_async() breaks when cancelled...
786555 g_array_free() is not thread safe w.r.t. g_array_unref()
786580 gdesktopappinfo.c: Add Tilix as a fallback terminal
786807 g_uuid_string_random undefined when built with meson
* Translation updates:
Brazilian Portuguese
Catalan
Czech
Danish
Finnish
French
Friulian
German
Italian
Kazakh
Korean
Latvian
Nepali
Polish
Spanish
Turkish
Overview of changes in GLib 2.53.6
==================================
* Bugs fixed:
766358 glib doesn't respect XDG_* envvars on W32, ever
783270 Improve Visual Studio support for Meson builds
785955 pthread_setname_np misdetected with meson
786060 Sequences documentation does not make it clear...
786360 gobject: add autoptr support for GClosure
786452 crash on Linux without stderr stream
786460 gio-tool: Unify buffer sizes
786462 Use g_output_stream_write_all instead of while
786463 gio-tool-save: Prevent overwriting error
* Translation updates:
Catalan
Galician
Hungarian
Indonesian
Lithuanian
Nepali
Serbian
Overview of changes in GLib 2.53.5
==================================
* Bugs fixed:
695573 Untranslatable strings in glib-compile-schemas
725950 GApplication: call dbus_unregister only once, and before destruction
731703 giomodule test misbuilds its test modules as libraries
769135 External control for g_test_add/g_test_run
779332 Rewrite mkenums in Python
779607 Race between mounts-changed signal and g_unix_mounts_get() function
784000 Improve strerror_r() detection
784815 Map G_NOTIFICATION_PRIORITY_HIGH to NOTIFY_URGENCY_NORMAL
784965 Use the glib preset for i18n in Meson
784995 meson: some Windows improvements
785113 glib-mkenums Python port fixes
785130 G_LOG_DOMAIN shouldn't be left undefined for applications
785438 Spurious -Wmaybe-uninitialized in gdatetime.c
785468 glib/gpoll: Unnecessary if conditional included in the poll_rest() function
785520 Replace advice to use removed gdk_spawn functions
785577 clobbers errno while setting GError
* Translation updates:
Slovenian
Spanish
Overview of changes in GLib 2.53.4
==================================
* Unicode support has been updated to Unicode 10.0.0
* glib-genmarshal and glib-mkenums have been rewritten in python.
Every effort has been made to keep compatibility. Please report
problems related to these tools
* GLib can now be built with meson. autotools are still supported
* Bugs fixed:
722047 drop makefile.msc?
733821 g_strerror() uses strerror(3) instead of strerror_r(3)
773842 g_utf8_find_next_char() won't signal the end of a NUL-terminated string
779332 Rewrite mkenums in Python
780095 g_utf8_get_char_validated() stopping at nul byte even for length specified...
780634 Remove remaining old codepage ABI comapt code
783841 test_GDateTime_new_from_timeval_overflow fails on 32 bit systems
784000 Improve strerror_r() detection
784020 GKeyFile – Add array length annotations to to_data(), get_keys() and get_g...
784037 gio: Mention the ALL_METADATA flag in g_file_copy()
784433 gdbus-codegen with variant type parameters result in nested variant
784456 Update to Unicode 10.0.0
784528 Rewrite glib-genmarshal in Python
784579 Calling g_dir_open on Missing Directory When Executable File Path Contains...
784581 docs: Fix cut'n'paste error in g_resources_get_info() doc
784739 Minor typo in configure error message
784792 Just fixing a little typo in comments
* Translation updates:
Hebrew
Overview of changes in GLib 2.53.3
==================================
* Bugs fixed:
658446 Add translation comment for wrong password notice string
661926 Improve the default logging setup in GLib
674885 type initialisation deadlock in GObject
775593 GIO cannot write symlinks on FreeBSD and NetBSD
776169 Various gio-tool fixes
776333 Fix annotation on g_file_copy_async()
776504 Upgrade license from LGPLv2+ to LGPLv2.1+
777307 race condition between gdbus signal callback and g_bus_unwatch_name...
778422 gsubprocesslauncher: Clarify the behavior of set_environ()
781301 Stack pointer corrupted by incorrect call of NtNotifyChangeMultipleKeys
782336 Add additional documentation of the GResource XML format
782996 build: Use AM_TESTS_ENVIRONMENT rather than TESTS_ENVIRONMENT
783061 GApplication: Remove some unused members
783130 Make dbus activation sandbox-aware
783193 Adapt to OpenURI api change
783201 gdbus-codegen: Apply --output-directory to generated docs as well
783340 win32: port monotonic times to use QPC
783350 length parameter can be NULL g_data_input_stream_read_line
783392 incorrect (out) annotation for g_dbus_interface_info_generate_xml
783593 GGtkNotificationBackend should use /org/freedesktop/DBus to call Ge...
* Translation updates:
Esperanto
German
Indonesian
Kazakh
Spanish
Overview of changes in GLib 2.53.2
==================================
* A few new number parsing functions have been added:
- g_ascii_string_to_signed
- g_ascii_string_to_unsigned
These have better error handling than the existing ones.
* glib-mkenums now supports /*< private >*/ and /*< public >*/
* GSettings now consider XDG_DATA_HOME in addition to XDG_DATA_DIRS.
* Bugs fixed:
674885 type initialisation deadlock in GObject
698064 Add g_ptr_array_contains()
732000 gdatetime: Remove an unnecessary NULL pointer check
734946 Implement GContentType on OSX
741335 Possible differences in use of XDG_DATA_DIRS versus XDG base directory specification
748263 Use-after-free in g_dbus_connection_call_internal()
776876 gmodule – Various Android bug-fixes
777030 build error where minor() and major() cant be resolved in gio/gdbusmessage.c
780300 gio/gosxappinfo.c uses deprecated LSFindApplicationForInfo
780309 gio/tests/appinfo build fails: gdesktopappinfo.c skipped on OS X
781755 Avoid compiler warnings in generated marshallers code
781826 portal support: Read /.flatpak-info
781830 Fix some typos and errors in GVariant documentation
781847 Use-after-free under send_message_with_reply_cleanup():gdbusconnection.c:1792
781867 various gvfsd-* wants to look in /boot/efi, causes unnecessary/inappropriate auto...
782068 doc: Trivial typo fixes
782075 gtimer: Handle gmtime() failure in g_time_val_to_iso8601()
782089 gdatetime: Fix overflow checks when constructing from timestamps
782162 Support public/private trigraph in glib-mkenums
782237 make check error
782311 inode/directory is treated as a subclass of application/octet-stream
782628 libmount build dependency check not requiring the right version?
* Translation updates:
Hungarian
Indonesian
Spanish
Overview of changes in GLib 2.53.1
==================================
* The gdbus tool gained a wait command
* g_unix_signal_source_new support SIGWINCH now
* There are now g_enum_to_string and g_flags_to_string functions
* A new function to instantiate objects: g_objet_new_with_properties
* GParameter and related APIs have been deprecated
* Bug fixes
447907 enum/flags from string + type transform + tests
668962 GUnixMountPoint/GUnixMountEntry not usable through gobject-introspection
669355 gdbus-codegen output contains stray semicolons at file scope (forbidden in C99)
674885 type initialisation deadlock in GObject
698064 Add g_ptr_array_contains()
709865 Add boxing to GParameter
725894 build: Include gettext libraries for static compilation on Mac OS X
734946 Implement GContentType on OSX
741229 gio: Handle NULL cached properties in NetworkManager monitor
745971 gdbus-tool: Add a command to wait for a well-known name on the bus
755046 gfileutils: Add precondition checks to g_file_test()
761102 Increase performance for main loop
761889 GDateTime: %p does not always print AM/PM string
766660 Please clarify the extent to which GInitable, GAsyncInitable must be idempotent
769534 g_unix_signal_source_new does not support SIGWINCH
772221 Take advantage of Unicode
775879 g_log_default_handler should not check G_MESSAGES_DEBUG
776169 various gio-tool fixes
777961 Documentation for g_app_info_equals() could be clearer
778049 race in gsource detected by TSan
778207 gio-querymodules: fix memory leak
778287 G_MODULE_EXPORT and -fvisibility=hidden
779409 Fix false positive g_warning() in remove_filter()
780066 g_base64_encode_close() in glib/gbase64.c produces invalid base64 encoding
780095 g_utf8_get_char_validated() stopping at nul byte even for length specified buffers
780306 Unused function in gunicollate.c for CARBON
780310 g_tls_database_verify_chain doesn't set the GError for failures other than cancell...
780384 gio/tests/contenttype fails on OS X: "public.directory" != "public.folder"
780441 Make the portal implementation of g_app_info_launch() synchronous
780634 Remove remaining old codepage ABI comapt code
780908 gobject: remove duplicate GType sanity check
780924 Memory leak in gdbusmethodinvocation.c
781125 gio-tool: Fix errors format string
781234 the buffer written to by g_input_stream_read is not marked as an out parameter
781298 gfileutils.c:330:3: error: ISO C90 forbids mixed declarations and code
* Translation updates
Catalan
Friulian
German
Hebrew
Indonesian
Polish
Russian
Overview of changes in GLib 2.52.0
==================================
* Bug fixes:
779799 gdatetime test fails with tzdata 2017a
780032 Add missing attributes to two functions
780144 gio/fam: Remove leftover debug print
* Translation updates:
French
Friulian
Latvian
Overview of changes in GLib 2.51.5
==================================
* OS X implementations of GContentType and GAppInfo
have been added
* Bugs fixed:
673047 gunicollate is broken on OS X (patch included!)
734946 Implement GContentType on OSX
747146 Implement GNotification on OSX
769983 glib-mkenums generates non-reproducible Makefile snippets
777203 gnulib license information is not correct in glib2.0
778515 Crash in the gio kqueue backend
779456 Make g_utf8_make_valid optionally take a length
* Translation updates:
Danish
Friulian
German
Hungarian
Korean
Lithuanian
Overview of changes in GLib 2.51.4
==================================
* Memory leak fixes
* Fix the released tarball
Overview of changes in GLib 2.51.3
==================================
* Bugs fixed:
771997 gchecksum: Add SHA-384 support
778422 gsubprocesslauncher: Clarify the behavior of set_environ()
778581 gdbus-codegen: Fix -Wconversion warning
778801 gdbus-codegen: Add --outdir flag
778991 Plug a mem leak in gdbusauth
779183 g_io_extension_point_get_extensions should check for NULL pointer
* Translation updates:
Basque
Chinese (Taiwan)
Danish
Indonesian
Italian
Serbian
Overview of changes in GLib 2.51.2
==================================
* 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
* Bugs fixed:
639078 UUID support feature request
777135 gkeyfile: Be more specific about error codes in documentation
777307 race condition between gdbus signal callback and g_bus_unwatch_name...
777481 goutputstream: docs: fix typos
777493 g_mkdtemp() not introspectable
777507 Recent view sorting incorrectly
777592 Add minor examples to GDBus and GVariant documentation
778002 race in gdbusprivate.c detected by the ThreadSanitizer
778096 race in gdbusconnection reported by TSan
* Translation updates:
Norwegian bokmål
Polish
Simplified Chinese
Slovak
Spanish
Swedish
Overview of changes in GLib 2.51.1
==================================
* glib-compile-resources grew a --generate-phony-targets flag
* GLib now installs a valgrind suppressions file for GLib and GIO
* Bugs fixed:
666114 should have infrastructure to run its tests under valgrind
729730 GDBusMessage: Fix segfault if DEBUG_SERIALIZER is enabled
730932 statically assert that reasonable assumptions about enums are true
735731 gobject: Document behaviour of GType checking macros on NULL
736810 gdbus: Fix leak in g_dbus_message_print()
762283 GSocket – Fix race conditions on Win32 if multiple threads are waiting on cond...
767609 Test suite problems
767952 g_dbus_method_invocation_return_*, g_dbus_method_invocation_take_error: They d...
769672 Assert threads for testcase 642026 are sucessfully created
769745 gtask: Add guards for public functions
770175 Add command line argument to mkenums and genmarshal to write output to a file
770646 glib: Namespace global tapset variables by soname
772160 Add g_unix_mount_for() support
772989 Totem allows invalid urls that might cause segfault that's irrecoverable
773823 gio: Bump copy buffer size to 256k by default
774086 fix g_main_context_check declaration
774368 Dependency file output of resource scanner breaks Ninja
774421 Two minor patches
774520 GSocket allocates and processes control messages even if not requested
775309 Crash in gdbusauth
775468 Improve log write supports color method on windows
775510 testing with -fsanitize=undefined reports various undefined behaviour
775517 Password input is echoed in the terminal
775621 gmessages: Fix compilation on Android
775765 FDO notification withdrawal backend sends wrong ID to the server
775913 subprocesslauncher: potential infinite loop in verify_disposition()
776198 Stray semicolon after g_variant_print() function in gvariant.c
776586 License headers cleanup
777077 Use of memory after it is freed
* Translation updates:
Brazilian Portuguese
Czech
Galician
German
Hebrew
Kazakh
Lithuanian
Spanish
Swedish
Overview of changes in GLib 2.51.0
==================================
* glib-genmarshal and glib-mkenums have gained --output options
for better build system integration
* New API: g_utf8_make_valid
* Bugs fixed:
591603 Make _g_utf8_make_valid public
610969 Nice to have g_utf8_make_valid as public
767882 Bit shift overflow (-Wshift-overflow) warning in gparam.h
769135 External control for g_test_add/g_test_run
769630 gfile: G_FILE_MONITOR_WATCH_MOVES was actually introduced in 2.46
772160 Add g_unix_mount_for() support
772221 Take advantage of Unicode
773303 GApplication leaks option_strings
* Translation updates:
French
Galician
German
Hungarian
Lithuanian
Norwegian bokmål
Occitan
Polish
Slovak
Turkish
Overview of changes in GLib 2.50.1
==================================
* Update Unicode support to Unicode 9.0.0
* Bugs fixed:
662946 gunixmounts monitoring doesn't work correctly with libmount
771591 Update to Unicode 9.0.0
772054 glib/gspawn-win32-helper.c: unexpected behavior re CommandLineToArgvW()
772255 gresolver: Mark GResolver as an abstract class
772269 Add --version options to glib-compile-resources and glib-compile-schemas
772297 completion: Complete gsettings describe
772511 g_log_default_handler crashes windows apps with "Unspecified fatal err...
* Translation updates:
Brazilian Portuguese
Catalan
Croatian
Czech
Danish
Hungarian
Italian
Latvian
Polish
Swedish
Overview of changes in GLib 2.50.0
==================================
* Bugs fixed:
771438 Turn on libmount by default on linux
Fix the annotation for g_log_variant
* Translation updates:
British English
French
Overview of changes in GLib 2.49.7
==================================
* Add g_log_variant, binding-friendly api for structured logging
Bugs fixed:
646926 arg_data invalid after g_option_context_parse() fails
* Translation updates:
Danish
Finnish
Galician
German
Hebrew
Kazakh
Korean
Latvian
Lithuanian
Polish
Portuguese
Serbian
Slovak
Spanish
Swedish
Thai
Overview of changes in GLib 2.49.6
==================================
* The gsettings commandline tool now has a describe command
Bugs fixed:
745754 Add gcc-style dependency output to glib-compile-resources
769076 Fix warning: attempt to override closure->va_marshal with new marshal
770372 gdbus-codegen: Strip @since parameters before comparison
Translation updates:
Brazilian Portuguese
Czech
German
Hungarian
Polish
Portuguese
Spanish
Overview of changes in GLib 2.49.5
==================================
* Structured logging:
- drop libsystemd dependency
- document that g_test_expect_message does not work with structured logs
* Use libmount for unix mount support
* Add an async variant of g_app_info_launch_default_for_uri
Bugs fixed:
522053 GUnixMountMonitor needs to use /proc/self/mountinfo on recent Linux
682794 Add usage guidance to logging documentation
744456 Structured logging API
766370 Add a macro for initializing g_auto(GVariantBuilder)
767240 Regex failures with pcre 8.38
768198 Can't build glib with systemtap enabled
768453 Gdbus test: compilation fails due to -Werror=format-y2k errors
768752 Add async variant of g_app_info_launch_default_for_uri
769027 Docs misleadingly imply G_CHECKSUM_SHA512 is available since 2.16
769029 gmessage: compiler complains about -Wformat-nonliteral
769042 'O_CLOEXEC' undeclared (first use in this function)
769087 gmessages: support NULL log domain
769089 Fix gsettings uint64 testcase
769104 Build failure when using _GLIB_CHECKED_ADD_U32 with the Intel compiler
769139 g_log_writer_journald uses non-standard 'htole64' function
769238 memory increases every time I umount and mount my secondary hard disk.
769245 is_valid_heap_iter define misses NULL pointer check
769507 gmessages: Don’t require is_journald() call before writer_journald()
769785 gmessages: Expand documentation further for structured logging
769995 gdbus-codegen: Allow '@since: UNRELEASED' in documentation comments
Translation updates:
Catalan
Hebrew
Lithuanian
Slovak
Spanish
Overview of changes in GLib 2.49.4
==================================
* Change the just-introduced structured logging API. The arguments
of g_log_structured() had to be reordered to enable an implementation
within the limits of what the standards guarantee about var args.
Bugs fixed:
744456 Structured logging API
768936 gio doc build fails because of missing gio.xml in the tarballs
768963 improper va_list use in g_log_structured()
768968 gio/tests/socket-listener hangs since e4ee307
Translation updates:
Spanish
Overview of changes in GLib 2.49.3
==================================
* GLib has a structured logging API, g_log_structured, with support
for writing to the systemd journal. It also supports colored output
in terminals
* Some new GBytes API has been added:
- g_key_file_load_from_bytes
- g_compute_hmac_for_bytes
* Stack-allocated GVariantBuilder and GVariantDict objects can now be
initialized with G_VARIANT_BUILDER_INIT and G_VARIANT_DICT_INIT
* gio:
- Add a way to register handlers for custom uri schemes
- Add a G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute to
have these heuristics in a single place
- Include a gio tool that makes the functionality of the
various gvfs commandline tools available in a single place
- Add portal support to g_app_info_launch_default_for_uri
- Add portal support to GNetworkMonitor
- Add portal support to GProxyResolver
- Add portal support to g_application_send_notification
Bugs fixed:
547200 g_utf8_find_next_char() issues
662802 systemtap multiarch issue
723506 fork/exec from non-main thread when autolaunching could be avoided...
725902 build: simplify dtrace configuration
728207 gsocketservice: Documentation does not mention that is already act...
729914 instead of DEBUG_CODE and IF_DEBUG, provide a common macro to supp...
744456 Structured logging API
744678 Unable to delete relocatable schemas
746685 clarify that g_variant_get_data() can be used instead of g_variant...
747134 glib-compile-resources --generate should detect common C++ file ex...
750257 GSettings changed signal should clearly state the order required
753231 Memory is potentially used after free
754012 missing filename in "Error loading css: Failed to import: Error op...
760115 gtestutils: add missing dash in seed argument's --help documentation
760423 gio-querymodules prints error messages as question marks on some l...
761102 Increase performance for main loop
765338 GLib.compute_hmac_for_data throws every time
766370 Add a macro for initializing g_auto(GVariantBuilder)
766899 Superflous HTML/XML comments in GDBusProxyTypeFunc documentation s...
766933 GSocketAddress leaks in gnetworkmonitornetlink.c:read_netlink_mess...
767765 Add names and tags to various GSources and GTasks constructed in GLib
767880 gkeyfile: add g_key_file_load_from_bytes() API
767887 vfs: add g_vfs_register_uri_scheme()
767949 [patch] Typos in glib docs
768029 infinite loop in parse_name_internal()
768119 Fix fallout from get_supported_schemes() changes
768357 Build the gio tool on Windows/MSVC
768498 portal support for glib
768504 keyfile: g_key_file_get_double behavior doesn't follow documentation
768549 Test failure: test_ip_sync_dgram
768551 Test failure: test_socket_address_to_string
768560 gio/tests/gsettings: fix GSettings reference leaks in some tests
768780 O_PATH is a non-standard flag which may be unavailable on non-Lin...
768806 gdbus tool must swallow -- argument
Translation updates:
Chinese (Taiwan)
French
Hebrew
Indonesian
Lithuanian
Portuguese
Spanish
Overview of changes in GLib 2.49.2
==================================
* GMainContext and GTask have gained more systemtap probes
Bugs fixed:
673101 resource compiler dependency generation not working for gen...
700756 GFile.new_for_path arguments misses (type filename) annotation
730187 glocalfileoutputstream: Fix an FD leak in an error path
755439 Memory leak in gdbusproxy.c
759813 Add more SystemTap/DTrace probes for main context and GTask
761810 gio: Support using GDBusObjectManagerServer at path ‘/’
767172 docs: Move GIO_USE_VFS to "okay for production" section
767218 Remove a UTF-8 ellipsis from gsignal.h
767245 Add filename type annotations
767824 Some UTC timezones incorrectly recognized on Windows 7
Translation updates:
Occitan
Overview of changes in GLib 2.49.1
==================================
* GDesktopAppInfo now allows bus activation with dashes. This is
not technically allowed per the Desktop Entry specification, but
it happens in the wild. Rather than forcing people to go through
another traumatic desktop file rename, accept it and translate - to _.
* The support for giving names to threads has been improved. Thread names
are now supported on Solaris as well, and the Linux support no longer
uses prctl() but the pthread api.
* GIO resources can now be overridden at runtime, using the G_RESOURCE_OVERLAYS
environment variable.
* gdbus-codegen can now generate autocleanup definitions for the types
it generates. Use the --c-generate-autocleanup option to control this
Bugs fixed:
665446 Use g_abort() instead of abort()
731988 glocalfile: Avoid a potential NULL pointer dereference
742898 g_value_type_transformable() description differs from the code
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
749583 GSequence performance improvements
749606 tests: always remove app.desktop
755898 [PATCH] settings: add get/set uint64
758174 Fix documentation typos
758738 Usage of GType properties causes crashes due to gulong/gpointer mismatch
760186 namespace clash with gdb pretty-printing code
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()
764163 g_task_had_error doesn't remember the error after g_task_propagate_*
764415 Very High CPU usage in g_poll() Windows implementation
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
765173 documentation of g_main_context_push_thread_default() regarding GIO...
765668 GResources: add support for resource overlays
765710 gdbus-tool: only print note about expected argument types if that...
765712 tests: Fix compilation
765861 task: avoid context lock when setting source name
765900 Add g_drive_is_removable() support
765924 Improve external drives detection
765959 socket: set fd field to -1 after closing socket
765990 Visual Studio: Define inline only when necessary
765991 Compilation of gresource.c is broken due to S_ISDIR
766092 Incorrect locale handling in g_date_time_format_locale()
766211 Fix the upper bound in g_unichar_iswide_bsearch
766407 Some build-related defects in glib testsuite
766570 build: Fix a misnamed variable in glib-tap.mk
Translation updates:
Basque
Catalan
Chinese
Occitan
Portuguese
Turkish
Vietnamese
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
Overview of changes in GLib 2.43.92
===================================
GLib is now considered frozen. We do not expect any major changes
before the release of 2.44.0.
* 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()
Bugs fixed:
614684 Make various parts of GObject const-correct
730352 Use inet_pton(), if_nametoindex() and if_indextoname() for newer versions of Windows
733876 Proxy protocol 'http' is not supported.
741442 threads: use FUTEX_WAIT_PRIVATE and FUTEX_WAKE_PRIVATE if possible
742599 Clean up GUnixMountMonitor
743636 gtask: Add a GTask:completed property
743661 g_win32_check_windows_version() is missing from doc
744722 docs: Expand introduction to mention using async calls over sync ones
745589 [Patch] gio: add some missing autocleanup
745634 [GNotifications] Use themed icon as icon-name
Translations updated:
Bosnian
Bulgarian
Catalan
Czech
French
German
Greek
Hungarian
Italian
Kazakh
Korean
Latvian
Lithuanian
POTFILESin
Polish
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Vietnamese
pa for Gnome
Overview of changes in GLib 2.43.91
===================================
We have now added 'g_autofree' as a libgsystem-style autocleanup macro
that calls g_free() on the content of a local variable when it leaves
scope (working only on GCC and clang).
GApplication now has an "is-busy" property, allowing one to query the
effective busy state.
There have been various other bugfixes and cleanups.
Bugs fixed:
661554 GIO's use of GError is wrong
744263 Fix format specifier for __LINE__ in G_OBJECT_WARN_INVALID_PSPEC
744565 gapplication: add bind_busy_property()
744747 Add g_autofree
744756 Can't find out if gapplication is marked as busy
744830 autocleanups: Add GArray and GPtrArray
744876 Unclean exit from from g_application_run
745239 g_property_action_new missing type annotation
Translations updated:
Chinese (Taiwan)
French
Galician
Lithuanian
Slovak
Overview of changes in GLib 2.43.90
===================================
* 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.)
Bugs fixed:
739724 Test functions should have async scope
741024 glist: Mention that g_list_length() is bad for checking list emptiness
741630 Add GSimpleIOStream class
743349 goption: Add boxed type for GOptionGroup
743990 GDBus connection closing is broken
744565 gapplication: add bind_busy_property()
Translations updated:
Greek
Italian
Norwegian bokmål
Russian
Slovenian
Swedish
Overview of changes in GLib 2.43.4
==================================
* 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
are new functions to complete the GSettingsSchema API.
* Bugs fixed:
389585 G_DEFINE_TYPE hack for header files
729351 Add GListModel
736914 Docs: various fixes and improvements
741807 Add thread name support on OS X and iOS
741895 gwin32: Add Simple API to check whether we are on at least a v...
742456 object: Add g_steal_pointer() convenience function to mark own...
743508 polkitd fails to start: patch for gio/gcredentialsprivate.h
743517 GSettings API is missing some introspection functions
743521 GSimpleAction: add g_simple_action_set_state_hint
743596 G_DECLARE_DERIVABLE_TYPE() should allow additional typedef for...
743640 add __attribute__((cleanup)) support
743827 Fix build of GListModel (on Visual Studio)
743927 GListStore: add sorted insert function
743936 glib: handle unsigned modifier for long long in internal printf
744012 Add GMutexLocker
744190 Fix build on Compilers That Do Not Use inline for Plain C Code
Overview of changes in GLib 2.43.3
==================================
* 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
* Bugs fixed:
719455 g_file_make_directory_with_parents() can erroneously throw G_IO_ERROR_EXISTS
732439 GSocket: avoid unnecessary g_socket_wait_condition() for blocking sockets
734946 Implement GContentType on OSX
741589 gobject: Add g_set_object() convenience function to set GObject pointers
741653 gnetworkmonitornm: Check if network-manager is running
741654 [patch] gobject: don't use G_STRLOC in G_OBJECT_WARN_INVALID_PSPEC() macro
741707 Gsocket blocks trying to send data
741788 Document GSettings build system integration
742548 configure.ac: stay out of autoconf's namespace
742851 avoid MSVC warnings in G_STMT_END
742972 ggettext: Include an example of setlocale() and friends in the i18n docs
743014 gtestutils: Add an example of using test fixtures
* Translations updated:
Basque
Brazilian Portuguese
Spanish
Overview of changes in GLib 2.43.2
==================================
* 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
* Bugs fixed:
11059 Linux poll issue
664562 captive wifi portal support for GNetworkMonitor
685880 Add g_strv_contains()
712570 Hang in g_threaded_socket_service_func
719646 GSocket: add g_socket_send_messages() to send multiple messages...
728928 Provide separate error code for "Connection reset by peer"
732317 Support GSocketConnectable for loopback addresses
740814 "make check" should ensure that every symbol is documented
740848 Backend subscription fails when connecting to a signal with a d...
741016 gio: add G_IO_ERROR_NOT_CONNECTED
741226 keyfile: Add "in group" to GError message consistently
* Translation updates:
Gujarati
Hebrew
Hungarian
Kannada
Turkish
Vietnamese
Overview of changes in GLib 2.43.1
==================================
* GQueue now accepts NULL as a sibling in g_queue_insert_before() and
g_queue_insert_after()
* Bugs fixed:
11059 Linux poll issue
726037 Add G_PARAM_READWRITE value to the GParamFlags enumeration
727988 GMemoryOutputStream hangs when writing more than 1GiB
729739 tlscertificate: add support for loading certificate chains
733791 GSettings: delay backend subscription
736286 Clarify g_file_replace behavior with etags
736620 GQueue: accept NULL sibling for insert_before() and insert_after()
737150 GLib-GIO-WARNING **: Failed to parse translated string 'visible-name...
737160 unhelpful error message
738259 GDBusInterfaceVTable: clarify memory handling for the method() virt...
738551 'interface' variable conflicts with Windows defines
738633 Need to disable SSLv3 in glib-networking
740157 <app> --help doesn't work even when options were added
740309 Fix docs in g_strfreev
740413 Fix the GSettings Registry Backend
* Translation updates:
Norwegian bokmål
Overview of changes in GLib 2.43.0
==================================
* 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.
* Bugs fixed:
354457 Feature Proposal: Per-Type Statistics for Instantiable GTypes
695082 g_hash_table_remove_all is not save against a call to g_hash_table_remove
723160 GOption: add strict posix mode
728256 gcredentials: add NetBSD support
729739 tlscertificate: add support for loading certificate chains
733338 Don't segfault in GNetworkMonitor when IPv6 support is unavailable
736273 gdesktopappinfo: Use symbolic names in the code
736284 Keep only one list of signal emissions
736806 gtask: Fix reference count loop causing leaks
736914 Docs: various fixes and improvements
737143 Include <stdint.h> in glib/valgrind.h
737259 gcancellable: Clarify that GSources hold references to GCancellables
737338 gmain: Unref child sources when finalising a GSource
737446 tests: Fix some minor leaks in the unit tests
737451 Provide api to read_all_async
737741 g_datalist_id_get_data assertion fails for non-existant keys
737869 GApplication command line handling breaks --help
738170 g_byte_array_new_take() doesn't initialize array->alloc
738197 g_cond_timed_wait() doesn't time out on Mac OS X
738374 gfile: g_file_equal (x, x) is TRUE
738675 GSubprocessLauncher is missing some data on the docs
* Translation updates:
Bengali (India)
Bulgarian
Gujarati
Italian
Telugu
Overview of changes in GLib 2.42.0
===================================
All changes in this release are trivial in nature.
- introspection warning fixes
- g_application_add_main_option now uses an enum instead of an 'int'
for the type of a parameter
- added a G_OPTION_FLAG_NONE so that people don't need to use 0
- gresource: Use GError in more places
- gresource commandline tool: improve extraction from multiple sections
- GSource now takes the context lock (if any) in g_source_set_name()
- new documentation to clarify the use of some APIs related to
GVariant, GSource, GApplication
- other minor updates to docs
* Bugs fixed
736683 Thread safety issues with g_main_context_find_source_by_id
736975 [patch] please document that GVariant serialization needs an
out-of-band length field
* Translation updates
Danish
Hindi
Marathi
Punjabi
Serbian
Simplified Chinese
Overview of changes in GLib 2.41.5
==================================
* Bug fixes:
735819 single native credential struct used for two purposes
735915 glib-building.html uses --enable-gcov instead of --enable-coverage
736350 GDesktopAppInfo: avoid polling on missing desktop dirs
736351 Don't use issetugid() on Android
Fix the default application logic in GDesktopAppInfo
736458 Only use rand_s() when targetting Visual Studio >= 2005
* Translation updates
Galician
Hungarian
Indonesian
Kannada
Latvian
Polish
Russian
Slovenian
Tamil
Overview of changes in GLib 2.41.4
==================================
* GApplication now has binding-friendly API to handle
commandline options: g_application_add_main_option
* G_GNUC_BEGIN_IGNORE_DEPRECATIONS works with clang
* Bugs fixed:
583330 poll list of mounted file systems (no mtab support)
727455 Command line option parsing from bindings
734126 add G_GNUC_BEGIN_IGNORE_DEPRECATIONS macro for clang
735179 gsocketclient: Handle cancellation between CONNECTING...
735297 Docs claim that GThread struct is deprecated
* Translation updates:
Assamese
Catalan
Catalan (Valencian)
Czech
French
German
Greek
Hebrew
Korean
Oriya
Traditional Chinese
Overview of changes in GLib 2.41.3
==================================
* g_clear_pointer and g_clear_object no longer use atomics
* Bugs fixed:
711547 win32: silence some build warnings
725511 Compiled resource files should have the same /-separators everywhere
725513 Some tests fail to build on W32
725514 W32: gfileutils does not preserve errno correctly
725515 test-printf fails on W32
728730 gsocket: Set SO_NOSIGPIPE on sockets on Darwin
729703 Leaks a GError in g_file_move
730932 statically assert that reasonable assumptions about enums are true
732085 gtype: Fast-path for g_type_is_a
732754 GDBusMessage: optimise (de)serialisation of fixed arrays
733345 ginetaddress: Add a precondition to g_inet_address_new_from_string()
733576 Patches from static analysis run on 2.40
733715 glib's configure.ac makes accidentally use of nested function
733934 win32: improve the package installation dir lookup
733960 W32: spawning a console process creates a new window when stdout...
733969 Remove atomic aspects of g_clear_pointer/object
733982 Do not crash when checking whether an instance type is of a given...
734035 gedit hangs up when there's no GSettings key in the registry
* Translation updates:
Basque
Brazilian Portuguese
Lithuanian
Slovenian
Spanish
Overview of changes in GLib 2.41.2
==================================
* 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
* Bugs fixed:
699132 Pluggable event loop backends
720708 g_assert_warning(): number of arguments doesn't match for...
722092 Add GtkApplication resources support
724986 Change gio/data-to-c.pl to /usr/bin/env perl.
727974 Fix up failure-to-see-expected-message logging
728256 gcredentials: add NetBSD support
728401 GDateTime: Add guards to g_date_time_new()
729825 Formatting of g_alloca documentation
729914 instead of DEBUG_CODE and IF_DEBUG, provide a common macro...
730293 clang++-3.4: error: 'register' storage class specifier is ...
731339 giochannel: avoid setting uninitialised length
731424 #ifdef spaghetti for load_user_special_dirs() implementations
731623 GNotification: add support for a priority setting
731929 update tables to unicode 7.0.0
731950 gvalue: New g_value_from_instance
731986 GLib: implement GMutex natively on Linux
732184 GObject: warn on use of deprecated properties
732357 Docs: various fixes and improvements
732429 GActionEntry: improve documentation
732465 Fix build on x64 Visual C++ builds
732704 Docs: various fixes and improvements
732739 ginetsocketaddress: Explicitly initialise flags for getaddr...
732754 GDBusMessage: optimise (de)serialisation of fixed arrays
732984 g_object_ref(NULL) in g_dbus_object_manager_client_finalize
733084 Typos in g_bytes_hash() and g_time_zone_find_interval() docs
733146 spawn helper does not use correctly the parameters
* Translation updates:
Lithuanian
Overview of changes in GLib 2.41.1
==================================
* Bug fixes:
697229 Custom Interface implementations will be broken with glib 2.37/38
698614 GObject: prevent installing properties after init
729269 gvariant: Fix confusion between type and format strings in the docs
730198 broken valgrind.h leads to crashes in g_type_free_instance on mingw64
730807 GMutex performance regression
730963 gconvert: mention that the g_convert len should be in bytes
730984 Faster instance type check for fundamentals
731050 <structname> tags appear in documentation
731200 unconditional 'notify' during g_object_set() is problematic
731335 gtype: guard uses of new fundamental type check
731341 gparam: change value of G_PARAM_EXPLICIT_NOTIFY
731366 run-assert-msg-test.sh gdb leaves assert-msg-test zombie
731425 giomodule protects function-call with different token than function...
731513 clang: build failure: implicit declaration of function '__atomic_load_4'
731584 gbookmarkfile: Cleaner error handling code to pacify static analysis
731657 Prevent an invalid @CARBON_LIBS@ from appearing in the .pc files
731979 docs: Correct param to interface's default_init()
731996 Return folder as icon for directories
732002 gwakeup: Clarify buffer sizing in g_wakeup_signal()
732005 Remove unused assignments
732019 gtestdbus: Don’t close stdout for dbus-daemon
732068 gsignal: Add an example to the g_signal_connect_swapped() documentation
732081 gsocket: Document that g_socket_create_source() holds a socket ref
732107 gsocketlistener: Reconsider closing sockets on listener finalisation
Overview of changes in GLib 2.41.0
===================================
* 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.
623552 glib warns if backtrace.py is not present
667468 glib-2.30.2: ipv6 tests fail when no ipv6 support is available
668152 -framework Carbon linker flag not passed to pkg-config .pc files
707298 libgobject should be linked with -Wl,-z,nodelete
712391 Add g_desktop_app_info_get_implementors()
722723 Infinite recursion when calling g_io_stream_close_async() from libsoup
724741 hmac: Fix support for SHA-512 in GHmac
726040 networkaddress: fix parsing of uri with @ after authority
726318 gio: Document that GSocket is not thread safe
726611 socketclient: Leak on cancellation
726872 gio: Add names to idles and timeouts
727119 wrong IN6_IS_ADDR_MC_LINKLOCAL usage break android build
727123 GNotification: Some small documentation fixes
727320 docs: Remove escaping '\' from literals
727551 Check use_count of GApplication in g_application_release()
727559 g_file_copy: Don't set GError when we intend to ignore errors
727692 gio/gtlscertificate.c -- broken PEM-file processing (affects local CA root stores, for starters)
727890 soup_content_sniffer_real_sniff segfault
727900 gio: Add newer dbus UnknownXxxx and PropertyReadOnly errors
727928 gapplication-tool fixes
727939 INTLLIBS are always appended in configure checks
727964 g_io_extension_point_get_extension_by_name: Warn, but don't crash, for NULL inputs
728040 Implement new mimeapps spec
728066 Deal with startup notify id being NULL
728280 platform_get_argv0: fix sysctl(3) use on OpenBSD
728285 docs: Use markdown links in .h files, too
728350 gaction: Minor clarifications in the GAction documentation
728380 docs: Remove <!-- --> comment before plural s
728565 gfile: More explicitly document the context for GFileProgressCallback
728983 Docs: various fixes and improvements
729167 gobject: Document that classes/objects/interfaces are zero-filled
729563 GOption: A short option's value is included in G_OPTION_REMAINING
729813 AppInfo: use XDG_CURRENT_DESKTOP for OnlyShowIn
729875 gio: cleanup gdbusmessage.c file
730045 Avoid overeager warning about deprecated properties
730189 gtestutils: Fix a very unlikely FD leak in test fork handling
730190 gsocket: Add missing preconditions to g_socket_send_message()
730277 gthread: Fix use of a local variable after it went out of scope
730278 gsubprocess: Add a missing va_end() call
730295 gdbus-tool: Remove dead variables
730493 Port annotations from Vala metadata
Translations updated:
Basque
Brazilian Portuguese
Catalan
Czech
Danish
Greek
Hebrew
Hungarian
Punjabi
Serbian
Slovenian
Spanish
Ukrainian
Overview of changes from GLib 2.39.91 to GLib 2.39.92
=====================================================
This is a release candidate for 2.40.0.
There are no major changes in this release, but a few serious bugs have
been fixed.
* Bugs fixed:
710367 Crash in g_settings_backend_dispatch_signal()
723899 G_DEFINE_TYPE() causes compiler warnings with clang due to foo_get_instance_private
724859 Let the test_wait_until() test also run on non-*nix
724916 gio unmount code makes XFCE's Thunar crash
725651 GSubprocessLauncher: Does not copy the calling process environment.
725656 Unskip GVariantDict
725891 gio tests: add codegen to BUILT_SOURCES
726046 Recent commit created symbolic icons issues
* Translations:
Chinese
French
Korean
Latvian
Norwegian bokmål
Portuguese
Russian
Traditional Chinese
Overview of changes from GLib 2.39.90 to GLib 2.39.91
=====================================================
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()
* Fixed bugs:
670144 unconditional use of CLOCK_MONOTONIC is broken
673607 invalid assumption in g_cond_wait_until() / g_get_monotonic_time() API
710142 Add more impressive transliteration to GLib
722360 make check fails
722604 (partial) Various tests are failing with 2.39.3
723316 g_hash_table_iter_remove() should be explicit whether or not it is safe while iterating the table
724609 Fix build of GIO on Windows
724687 gmain: make monotonic time really monotonic, everywhere
724706 gsource: document priority of child sources
724707 some GSocket source improvements
724839 GMainContext: some source ID cleanups
724858 Dist gtranslit-data.h
724994 Missing icons for bookmarks in file chooser
725023 Can no longer find apps by executable/desktop file name
* Translations:
Lithuanian
Polish
Thai
Overview of changes from GLib 2.39.4 to GLib 2.39.90
====================================================
* Fixed bugs:
625408 make GVariant dictionaries more useful
660809 document that if you fail a precondition check, documented guarantees do not apply
661576 fix handling of constructors that destroy half-constructed objects
679957 g_inet_address_new_from_string is not able to handle dots and numbers IPv4 addresses
712837 gvariant: Document the need to cast varargs when constructing GVariants
721458 g_simple_async_result_is_valid has a NULL check for the wrong source_tag
721977 improve split handling of command line arguments
722033 win32: fixup lib.exe invocation
723422 Fix g_socket_get_available() with TCP on Windows
723616 gio/tests: fix race when generating code
724001 gsubprocess: Fix a broken link in the documentation
724124 glib/tests/collate.c fails if no en_US locale
724126 intermittent GApplication test failure: /gapplication/local-actions: lines of output permuted
724233 gsocketservice: Note g_socket_listener_close() for closing open sockets
724239 soup_session_queue_message - Connection terminated unexpectedly
724278 gsocketconnection: Document closing connections with g_io_stream_close()
724330 configure.ac: tweak inotify check
724385 gtestutils: make the new assert messages more detailed
724401 gsubprocess: Mutex leak
724417 glib master build broken on OpenBSD
724434 Build failure in gio/gresolver.c
* Updated translations:
Brazilian Portuguese
Galician
Indonesian
Italian
Kannada
Norwegian bokmål
Spanish
Thai
Overview of changes from GLib 2.39.3 to GLib 2.39.4
===================================================
* Fixed Bugs:
139699 Correction for g_main_context_unref()
583036 g_strchomp and g_strchug are not declared const
683388 improve documentation for application developers
685204 ./configure fails to add the '-g' flag to CFLAGS
688406 GStaticMutex broke ABI on at least ARM EABI during 2.31.x
693299 cannot compile on Solaris: error in gbitlock.c
707111 Clarify type transformability and compatibility
711547 win32: silence some build warnings
719344 Fix the various test programs (or GLib itself) on Windows
722025 cleanup/clarify command line argument encoding on Windows
722323 remove unused include 'gslist.h' in 'gbookmarkfile.c'
722326 gstringchunk: Use g_slist_free_full() where possible
722357 gio: fix small memory leak on local xattr
722436 Adjust doc to Makefile.decl renaming
722503 GSimpleAction: add default activate handler
722526 glib/deprecated/gthread.h error on FreeBSD
722591 [documentation] broken link to GtkAction from GAction.html
722973 Broken example in GApplication reference
723048 'network-access' test can fail to guess interface index
723360 gmain: Note that g_source_destroy() can be called multiple times
* Updated Translations:
Assamese
Tamil
Traditional Chinese
Overview of changes from GLib 2.39.2 to GLib 2.39.3
===================================================
No major changes this release -- mostly lots of small fixes and
improvements in test coverage.
* 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
Bugs fixed
141251 poll(2) is in <poll.h>, not <sys/poll.h> per SUS standard
613732 [PATCH] gobject.py: Don't install frame filters when GDB does not support them
708212 g_variant_parser_error_get_quark() has unexpected name.
710965 GApplication: add --gapplication-service switch
711090 periodic failure of spawn-multithreaded async testcase
712171 gsettings.m4: @GSETTINGS_RULES@: Support srcdir != builddir with nonrecursive make
712630 Revert "gsettings m4: check for .xml in src/builddir"
715028 GVariant: add way to print context of parse errors
719344 Fix the various test programs (or GLib itself) on Windows
720263 gtestutils: skipping a test should count as success, not failure
720539 gdbus-codegen: Fix crasher in goa-using apps
720635 Make gdb pretty-printers compatible with Python3
720891 g_settings_get_child does not inherit the backend
721034 glib 2.38.2 cannot be compiled with SunStudio Compiler under Solaris
721059 g_subprocess_launcher_set_environ vs "environ"
721074 kqueue: deadlock
721087 Missing -lselinux in pkg-config --libs --static gio-2.0
721324 Error message is printed to stdout
721624 Regression in GTest framework reorders existing test cases
721625 backwards NEWS entry about g_source_remove change
721796 insufficient escaping in g_dbus_annotation_info_generate_xml()
721947 Improve GApplication ⇔ GOptionContext compatibility
Translations updated:
Brazilian Portuguese
Galician
Greek
Hebrew
Overview of changes from GLib 2.39.1 to GLib 2.39.2
===================================================
* 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
* Bugs fixed:
113075 support "nonnull" attribute
159528 g_ptr_array_remove_range()
307947 The check for growing stack pointer in configure can fail
607016 docs should mention property notification order
671557 Fun with integers and g_key_file_load_from_data()
676761 don't use g_critical for a runtime error
690525 g_file_replace_contents_async doesn't copy its @conten...
691608 Support compilation with clang 3.2
697585 g_variant_builder_add's doc example is leaking
697828 g_hash_table_add() should return a boolean
702862 gdbus-codegen : look for deps in default install path
703522 Reference leak in GvariantBuilder documentation
705902 g_get_current_dir() should check PWD env var and retur...
708274 Added GObject Introspection annotations to genums.c
710519 Portability schmortability
710741 some mainloop instrumentation
710983 Test failures on powerpc
711047 Enable the build of the various test programs on Windo...
711051 Add basic test for the GNotification gtk backend
711088 gbacktrace: Don't close stderr when running gdb
711103 gmessages: Add g_info macro for G_LOG_LEVEL_INFO
711178 appinfo test problems
711546 utf8: report allocation error
711640 gdesktopappinfo: Rank Keywords matches higher than Gen...
711751 Fix memory leaks in libglib tests
711753 gthread-posix: Don't use gslice allocated GRecMutex
711796 glib-tap.mk: fix to actually use the TAP driver
711800 fix g_test_set_nonfatal_assertions()
711801 giomodule: Allow overriding source directory gio modul...
711805 gdbus-connection: Fix race condition in test
711806 gtestdbus: Don't destroy GSource twice
711807 gtestdbus: Properly close server connections
711871 Broken and misleading configure check for growing stack
712136 'O_CLOEXEC' undeclared (first use in this function)
712148 Add system bus support to GTestDBus
712171 gsettings.m4: @GSETTINGS_RULES@: Support srcdir != bui...
712314 AIX port: splice(); major()/minor(); libtool library order
712315 GSettings: More docs for deprecated _list_schemas()
712393 gobject: Box GMappedFile
712547 GSocketClient "event" not useful for determining resol...
715164 Clang static analysis fixes
719395 GPtrArray add g_ptr_array_insert
719402 Crashes when startup
719472 leak in generated proxy-side property-setter
719687 fix or remove g_trap_object_ref
719809 Signal connection ids are always > 0 if successful
719837 gdbus-connection: Work around race in connection tests
719884 Fix documentation typos in GTask and GCancellable examples
719979 g_settings_get: check validity of format string
720080 Truncating a GMemoryOutputStream to a larger size cause...
720210 gdataset: Remove unused define
720236 Allow clean simple use of g_test_trap_subprocess()
* Translations updates:
Italian
Lithuanian
Simplified Chinese
Spanish
Overview of changes from GLib 2.39.0 to GLib 2.39.1
====================================================
* 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
Translations updated:
Assamese
Galician
Greek
Spanish
Tamil
Bugs fixed:
635641 schema compiler should ignore unknown attributes
637257 g_tls_client_connection_gnutls_retrieve_function needs to be able to block
637956 GKeyfileSettingsBackend should ignore file deletions
645453 keys from base schema missing from extended schema
665634 g_dbus_node_info_new_for_xml() errors on unknown attributes in XML files
668232 Unable to get description and summary for a key
668233 Unable to determine if a key is set to the default / what the default value is
680838 Need g_settings_schema_source_get_schemas()
683017 API for accessing GSettings Schema metadata
687185 org.gtk.Actions.Describe doesn't return an error for non-existing action names
687202 If trashing fails, the ".trashinfo" file is not removed
695558 The --schemadir option has no effect
696424 GSimpleAction.state property is not right
697348 GTestDBus should unset DBUS_STARTER_ADDRESS, DBUS_STARTER_BUS_TYPE
710133 Emit backward compatible code with gdbus-codegen
710691 glib-networking: locking during implicit handshake
710738 GRand has lame fallback for Windows
710859 Typo in gio docs
710885 Two fixes for GApplication
710962 error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function)
710964 Add g_hash_table_get_key_array()
710991 test: g_debug messages shouldn't affect g_assert_expected_messages
711016 g_settings_list_keys () segfaults for empty schemas
711048 glocalfileinputstream.c allows skip past end of file
711049 Fix build of GLib-GIO 2.39.x on Windows/MSVC
711064 Adding child source to blocked source can cause a segfault
711070 Copying a symlink over another one segfaults
711099 gapplication test failure
711520 GDesktopAppInfo: allow more than one level of legacy folder prefixes
711556 Add GAppInfoMonitor
711557 Add g_desktop_app_info_search()
711600 trivial portability fix
711632 The desktop-app-info test fails during make check
711754 gmain: Fix use of uninitialized memory in sigaction structure
711755 private: Use threading primitives correctly in private test
711756 gthreadpool: Don't pass bad data to GThreadPool sorter
711768 Fix memory leaks in libgmodule tests
711775 utils: Don't free memory owned by glib in test
711782 boxed: Fix double free in boxed unit tests
711803 gsubprocess: Fix a number of leaks and a segfault
711808 gtestdbus: Fix leak of GMainLoop
Overview of changes from GLib 2.38.0 to GLib 2.39.0
====================================================
* prep for the 2.40 series (version macros, docs index, etc.)
* 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
* Bug fixes
- g_file_copy() now falls back to pathname queryinfo. This should
clear up the bugs with copying from some GVfs backends (afp,
gphoto, archive, at least).
- fix an out-of-bounds read in the xdgmime code
- fix a typo in the /org/freedesktop/DBus path on the object manager
client
- skip emitting path_namespace='/' in match rules in order to
workaround a bug in the D-Bus daemon and fix our own implementation
(which shared exactly the same bug)
- fix crashes on precondition violations for GParamSpec constructors
- many other small fixups (see bug list)
* Many documentation improvements
Bugs fixed:
309224 g_key_file_save_to_file missing
583321 QNX: no SA_RESTART
661576 fix handling of constructors that destroy half-constructed objects
672102 GSubprocess class
684842 Seeks on GMemoryOutputStream don't have opaque semantics
688492 Add a notification API
691581 g_output_stream_real_splice_async doesn't use overriden read/write_async functions
702516 gfileutils: Make -Werror=format-nonliteral happy
704218 New gapplication(1) tool
704593 g_setenv: on some systems (BSD, OSX…), setting a variable to NULL crashes the system
704882 GLocalDirectoryMonitorClass mount_notify field is useless
704887 file monitoring improvements
705029 Support for Solaris credentials
705688 g_settings_list_children: only list viable schemas
706254 Afp backend cannot copy files
707887 Attempting to create GObject Property with underscore prefix segfaults
708042 gapplication: don't rely on cmdline being finalized immediately
708265 add support for GNU/Hurd in GLib D-Bus Library
708266 fix error code checks when SOCK_CLOEXEC is defined but not supported
708529 xdgmime: valgrind warns about invalid reads
708677 incorrect object path 'deskop' used in gio/gdbusobjectmanagerclient.c
708714 Typo in docs of GLIB_VERSION_2_40 macro.
708753 gdesktopappinfo: Call g_file_get_path() on demand
708793 glib build fails with clang < 3.1: error: expected ';' after top level declarator
708828 GDBusProxy: add the ability to call methods on non autostarted proxies
708860 glib-2.38.0 doesn't build on Solaris 10
708972 gnetworking.h in tarball screws up out-of-source builds
709113 [PATCH] Main loop dispatch path has needless linked list
709227 Update to unicode 6.3.0
709301 goutputstream: Add clear warning about short writes to _write_bytes() and async version
709326 GDesktopAppInfo crashes creating a DBusActivatable app without a filename
709440 Fix overloading of "source" and "target" terminology in GBinding
709615 Cannot use g_test_expect_message with g_error
709753 Add helpers for string matches when using GtkSearchBar-like widget
709898 Expose thumbnail validity in GFile attributes
709966 Remove outdated documentation
709994 Minor fix for HACKERS doc to direct hackers to proper help file
709995 Obsolete makefile rules
710002 G_MAXUINT may be assigned as duplicate source id
710313 Memory leak in g_key_file_get_(u)int64 with invalid integer values
710345 [Patches] Fix some redundant-decls
710496 g_locale_to/from_utf8() doc updated.
710625 g_file_error_from_errno: Remove unneeded breaks
710666 Frame clock related bug fixes
710724 gmain: Warn when g_source_remove() fails
710726 Work around D-Bus bug with path_namespace='/' match rules
Translations:
Assamese
Brazilian Portuguese
Indonesian
Russian
Tamil
Traditional Chinese
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