Overview of changes in GLib 2.60.7
* Bugs fixed:
- Invalid characters in Open Location dialog crashes GIMP
- Setting GLIB_VERSION_{MIN_REQUIRED, MAX_ALLOWED} to before 2.56 triggers warnings
- Backport !1009 “gapplication: remove inactivity_timeout source on finalize” to glib-2-60
- Backport !1008 “gmessages: Only use structured logs if GLIB_VERSION_MAX_ALLOWED is ≥2.56” to glib-2-60
- Backport !966 “Resolve "Invalid characters in Open Location dialog crashes GIMP"” to glib-2-60
- Backport !1040 “GSettingsBackend - Fix thread-safety during destruction of GSettings instances...” to glib-2-60
- Backport !1017 “gdatetime: Avoid an assertion failure when parsing some ISO 8601 dates” to glib-2-60
The motivation is to consider meson as an application, so there is only
one copy on the system, and as a python 3 program, it can build python 2
packages.
Overview of changes in GLib 2.60.6
==================================
* Fix various bugs with use of the `GKeyfileSettingsBackend` within flatpaks (!984, !985, #1825)
* Bugs fixed:
- !993 Backport !984, !985 keyfile/portal fixes to glib-2-60
Overview of changes in GLib 2.60.5
==================================
* Fix implicit use of the `GKeyfileSettingsBackend` (#1822)
* Fix opening a URI using the ‘Open URI’ portal (!968)
* Bugs fixed:
- !910 Backport !909 “D-Bus auth mechanism improvements” to glib-2-60
- !949 Backport !945 “Avoid overrunning stack at the end of the varargs.” to glib-2-60
- !956 Backport !954 “Fix the ISO 15924 code for Manichaean” to glib-2-60
- !958 gthread: fix minor errno problem in GCond
- !969 Backport !968 ”Fix typo in request handle” to glib-2-60
- !977 Backport !974 “Ensure that the keyfile settings backend exists” to glib-2-60
Create GIO_MODULES_DIR - reported by wiz@
Overview of changes in GLib 2.60.4
==================================
* Fixes to improved network status detection with NetworkManager (#1788)
* Leak fixes to some `glib-genmarshal` generated code (#1793)
* Further fixes to the Happy Eyeballs (RFC 8305) implementation (!865)
* File system permissions fix to clamp down permissions in a small time window
when copying files (CVE-2019-12450, !876)
* Bugs fixed:
- #1755 Please revert #535 gmacros: Try to use the standard __func__ first in G_STRFUNC
- #1788 GNetworkMonitor claims I am offline
- #1792 glib-genmarshal generated valist marshal does not respect static scope for some types
- #1793 glib-genmarshal generates wrong code for va marshaler for VARIANT type
- #1795 Fix mingw32 CI on older branches
- !865 gnetworkaddress: fix "happy eyeballs" logic
- !878 Backport !876 “gfile: Limit access to files when copying” to glib-2-60
Overview of changes in GLib 2.60.3
* Various fixes to small key/value support in GHashTable
* Bugs fixed:
- Critical in g_socket_client_async_connect_complete
- New GHashTable implementation confuses valgrind
- test_month_names: assertion failed
- GNetworkAddressAddressEnumerator unsafely modifies cache in GNetworkAddress
- Leaks in gsocketclient.c connection code
- glib/date test fails
- GDB pretty-printer for GHashTable no longer works
- !815 Merge branch 'wip/tingping/socketclient-cancel-2' into 'master'
- !816 Backport !814 “gschema.dtd: Add target attribute to alias” to glib-2-60
- !826 Backport !824 “gsocketclient: Fix a leak in the connection code” to glib-2-60
- !829 Backport !828 “build: Fix a typo in the test whether _NL_ABALTMON_n is supported” to glib-2-60
- !834 Backport !823 "gnetworkaddress: Fix parallel enumerations interfering with eachother" to glib-2-60
- !838 Backport !835 “Fix typo in German translation” to glib-2-60
- !841 Backport !839 “tests: Update month name check for Greek locale” to glib-2-60
- !844 Backport !840 “ghash: Disable small-arrays under valgrind” to glib-2-60
- !846 Backport !845 “Fixing g_format_size_full() on Windows-x64” to glib-2-60
- !855 Backport !848 (more GHashTable fixes) to glib-2-60
- !858 Backport !852 “Update gdb pretty-printer for GHashTable” to glib-2-60
* Translation updates:
- German
GLib's move to meson from autotools means we are effectively starting
from scratch with non-linux build fixes. Support for python 2 has
also been dropped (given that meson requires python 3). I replaced
sysutils/gio-fam with a build option.
The full lengthy list of changes is available from:
https://gitlab.gnome.org/GNOME/glib/tags/2.60.2
Some highlights:
* Improve network status detection with NetworkManager (!781)
* Add async GIO API: g_file_query_default_handler_async(), g_app_info_launch_uris_async() (#1249, #1347)
* Add overlay support to g_resources_get_info(). (#1445)
* Add writev() and writev_all() APIs to GOutputStream and GPollableOutputStream,
and provide implementations of them for many subclasses. (#1431)
* Hide bind mounts from GIO mount listings. (#1271)
* Automatically realign data passed to `g_variant_new_from_bytes()` or
`g_variant_new_from_data()` if it is not correctly aligned. This prevents
misaligned accesses on architectures which don’t support them. Callers should
still aim to correctly align data to get higher performance. (#1342)
* Support `ld -b binary` (on platforms which support it; i.e. Linux) to provide
large pre-compiled `GResource` resources with a fast compilation time. (#1489+* Drop Python 2 support and require Python 3.4+. See discussion on
https://mail.gnome.org/archives/desktop-devel-list/2018-July/msg00004.html.
(!196)
* Various fixes to eliminate thread races, found by thread sanitizer (tsan).
Overview of changes in GLib 2.48.2
==================================
Bugs fixed:
547200 g_utf8_find_next_char() issues
673101 resource compiler dependency generation not working for generated files
700756 GFile.new_for_path arguments misses (type filename) annotation
725902 build: simplify dtrace configuration
728207 gsocketservice: Documentation does not mention that is already active...
730187 glocalfileoutputstream: Fix an FD leak in an error path
746685 Doc: clarify that g_variant_get_data() can be used instead of g_varia...
750257 GSettings changed signal should clearly state the order required
753231 Memory is potentially used after free
755439 Memory leak in gdbusproxy.c
760115 gtestutils: add missing dash in seed argument's --help documentation
760423 gio-querymodules prints error messages as question marks on some locales
761810 gio: Support using GDBusObjectManagerServer at path /
766211 Fix the upper bound in g_unichar_iswide_bsearch
766899 Superflous HTML/XML comments
766933 GSocketAddress leaks in gnetworkmonitornetlink.c:read_netlink_messages()
767172 docs: Move GIO_USE_VFS to "okay for production" section
767218 Remove a UTF-8 ellipsis from gsignal.h
767824 Some UTC timezones incorrectly recognized on Windows 7
767949 Typos in glib docs
768453 Gdbus test: compilation fails due to -Werror=format-y2k errors
768504 keyfile: g_key_file_get_double behavior doesn't follow documentation
768551 Test failure: test_socket_address_to_string
768560 gio/tests/gsettings: fix GSettings reference leaks in some tests
768806 gdbus tool must swallow -- argument
769027 Docs misleadingly imply G_CHECKSUM_SHA512 is available since 2.16
Translations updated:
Indonesian
Portuguese
Turkish
Overview of changes in GLib 2.48.1
==================================
Bugs fixed:
731988 glocalfile: Avoid a potential NULL pointer dereference
747107 GVariant varargs documentation: g_variant_get() example
747478 g_system_thread_set_name() is not implemented for gthread-win32
748474 g_get_language_names() is not thread-safe
748530 gthread: W32 implementation of g_get_num_processors() has lame fallback
748806 GVariant: Better introduction to the concepts and its uses
749606 tests: always remove app.desktop
758174 Fix documentation typos
758738 Usage of GType properties causes crashes due to gulong/gpointer mismatch
762994 Race condition in GIO/AppFileChooser crashes Firefox/Gtk3
763379 codegen: Add support for g_autoptr to gdbus-codegen generated objects
763821 build: Also dist Systemtap files always for gobject/
764092 gstrfuncs: Document the behaviour of g_strjoinv()
764574 build: Fix all statfs() tests failing
764575 tests: Fix compilation errors due to Y2K format problems
764685 GApplication documentation about handling command-line options is confusing
764754 '-' in application id: unbreak bus activation and notifications
765959 socket: set fd field to -1 after closing socket
765990 Visual Studio: Define inline only when necessary
Translations updated:
Basque language
Catalan
Vietnamese
zh_CN
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
gdbus-codegen has grown a --xml-files option for introspection XML files.
* Bug fixes:
697887 GVariant: fix transfer annotation
699485 tests/mappedfile: Also handle ENOMEM
699493 SOCKS5 proxy code crashes if it cannot authenticate
699500 gbitlock: fix this to not unconditionally use futex emu...
Fix a hang in pidgin
* Translation updates:
Indonesian
Italian
Lithuanian
Norwegian bokmål
Polish
Serbian
Slovenian
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Among many bugfixes, changes and translations:
* GIO now has kqueue support for GFileMonitor (BSDs, Mac OS)
* GTask (the new GAsyncResult implementation) has landed
* We now install a public "gnetworking.h" header that can be used to
include the relevant OS-dependent networking headers. This does not
really abstract away unix-vs-windows however; error codes, in
particular, are incompatible.
See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.36.1 for details.
Patches removed:
- patch-aj:
Per PR pkg/41601: Bug 133344 is closed and compile tested by Joern Clausen
- patch-at:
Fixed in b26fb3ae (Bug 687600)
- patch-cf:
Adds sys/param.h - if still needed, should go into gnetworking.h.in
XXX might still be needed
- patch-cg:
Fixed (or changed anyway) in 6f8f1f70 and 52a81a7d (Bug 688681)
- patch-ci:
Fixed in a33aaad0 (Bug 637013)
- patch-glib_goption.c:
Fixed in f9a6a974
- patch-glib_tests_include.c:
Fixed in d2b7ee62 (Bug 672406)
Patches changed:
- patch-ak:
First chunk fixed in 5fbdd3aa (Bug 691011)
- patch-ap:
Added NetBSD support to g_credentials_get_unix_pid()
First chunk fixed in b377e696 (Bug 623187)
- patch-aq:
First chunk fixed in b8c13a01 (Bug 688109)
Patches added:
- patch-gio_glocalfile.c (Reported as Bug 698348)
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
- patch-ar and patch-as to avoid dependending on python are no longer
necessary since the introduction of --disable-modular-tests
- patch-co has been committed to glib in 2360d04e
- other patches cargo culted across
- statfs test was fixed in glib with commit afa82ae8
- no longer provide man pages as that requires docbook & xsltproc
Many changes in glib since 2.32.4, especially GDBus improvements.
See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.34.0 for details.