commit cd3f4bb32ccc6baa78cca92df423d1a51bb11931 Author: Ryan Lortie AuthorDate: Mon Mar 2 11:54:48 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 11:55:33 2015 -0500 GLib 2.43.91 NEWS | 29 +++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) commit 0cb75bf796a3d8d2918509d8e370853a72f3e673 Author: Ryan Lortie AuthorDate: Fri Feb 27 07:50:28 2015 -0500 Commit: Ryan Lortie CommitDate: Mon Mar 2 11:55:33 2015 -0500 GApplication: don't iterate further on _quit() If someone explicitly calls g_application_quit() then don't attempt to drain the mainloop of remaining sources. This allows applications with 100% CPU utilisation to quit reliably. https://bugzilla.gnome.org/show_bug.cgi?id=744876 gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit eb92b4fdff8ec70511b9a249999ad8864007c36a Author: Rico Tzschichholz AuthorDate: Sun Mar 1 18:12:09 2015 +0100 Commit: Rico Tzschichholz CommitDate: Sun Mar 1 18:12:09 2015 +0100 gio: Add some missing type annotations to object arguments Similar to https://bugzilla.gnome.org/show_bug.cgi?id=745239 gio/gapplication.c | 4 ++-- gio/gsettings.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 71642ce766d73bb06f2cd33b4f585bafff315c7d Author: Ryan Lortie AuthorDate: Sun Mar 1 00:47:17 2015 -0500 Commit: Ryan Lortie CommitDate: Sun Mar 1 00:50:09 2015 -0500 tests: only chmod autorun.exe on UNIX We install win32-software/autorun.exe (as test data for mime scanning) only on UNIX builds, so don't attempt to chmod it on 'make install' unless we're on UNIX. gio/tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 8bbeb6fd2f8b2d44b8185155a851c85917ed712b Author: Aurimas Černius AuthorDate: Sat Feb 28 21:25:35 2015 +0200 Commit: Aurimas Černius CommitDate: Sat Feb 28 21:25:35 2015 +0200 Updated Lithuanian translation po/lt.po | 528 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 265 insertions(+), 263 deletions(-) commit f15f860ed9cda8db0a6ef7b27bac203d6747f78b Author: Dušan Kazik AuthorDate: Sat Feb 28 12:53:36 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sat Feb 28 12:53:36 2015 +0000 Updated Slovak translation po/sk.po | 2611 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1248 insertions(+), 1363 deletions(-) commit a3a9664ed202303b899ca55625877542309d1a1f Author: Marc-Antoine Perennou AuthorDate: Sat Nov 9 12:09:20 2013 +0900 Commit: Marc-Antoine Perennou CommitDate: Fri Feb 27 08:51:08 2015 +0100 make *_get_instance_private const-compliant This is pure read-only access to an external struct so void warnings for people calling it from const contexts such as accessors https://bugzilla.gnome.org/show_bug.cgi?id=745068 Signed-off-by: Marc-Antoine Perennou gobject/gtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52f23db74ad58b822bafb0fdcac106489d864f8c Author: Marc-Antoine Perennou AuthorDate: Tue Feb 24 09:17:33 2015 +0100 Commit: Marc-Antoine Perennou CommitDate: Fri Feb 27 08:51:08 2015 +0100 G_DECLARE_*: be const-compliant switching to the old macros boilerplate to G_DECLARE_* a lot of warnings start to pop when *_IS_A_* or such are called from a const context. Fix this by taking const pointers as parameters https://bugzilla.gnome.org/show_bug.cgi?id=745068 Signed-off-by: Marc-Antoine Perennou gobject/gtype.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 3f596074a90c692fa5de736e37a0cc8bb1685c19 Author: Evan Nemerson AuthorDate: Thu Feb 26 10:17:59 2015 -0800 Commit: Evan Nemerson CommitDate: Thu Feb 26 10:52:14 2015 -0800 GPropertyAction: add type annotation to constructor's object argument https://bugzilla.gnome.org/show_bug.cgi?id=745239 gio/gpropertyaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d36f6a9633f18cbf14e8a52add66b40d8eb6a4da Author: David King AuthorDate: Mon Feb 9 11:23:58 2015 +0000 Commit: Rico Tzschichholz CommitDate: Thu Feb 26 12:32:43 2015 +0100 gobject.h: Use correct format specifier for __LINE__ GCC 5.0, with its new -Wformat-signedness, warns about the sign being different between a type and the format string in printf-format messages, leading to compiler warnings with G_OBJECT_WARN_INVALID_PSPEC. In other uses of __LINE__ inside GLib, %d is used, and GCC seems to expect a format specifier of %d as well: https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html https://bugzilla.gnome.org/show_bug.cgi?id=744263 gobject/gobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e966cc51de22a9f8b045f6f0f6f0de82f934d46d Author: Philip Withnall AuthorDate: Tue Feb 24 10:57:14 2015 +0000 Commit: Philip Withnall CommitDate: Tue Feb 24 10:57:14 2015 +0000 gcancellable: Mention nullability in g_cancellable_cancel() docs Calling g_cancellable_cancel(NULL) is an explicitly allowed no-op, for convenience. Document and annotate that. gio/gcancellable.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 99232046d6d26cdd76de02bae065e1f153332c49 Author: Alexandre Franke AuthorDate: Tue Feb 24 00:42:43 2015 +0000 Commit: GNOME Translation Robot CommitDate: Tue Feb 24 00:42:43 2015 +0000 Updated French translation po/fr.po | 454 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 228 insertions(+), 226 deletions(-) commit 0550708ca7b615ab9e0df96ded43d18653f33ac2 Author: Colin Walters AuthorDate: Mon Feb 23 08:32:36 2015 -0500 Commit: Colin Walters CommitDate: Mon Feb 23 10:40:40 2015 -0500 tests: Add many autoptr tests I love Emacs keyboard macros, used them to convert the list of defines cleverly into a list of tests, then iterated and filled in the necessary constructor arguments. gio/tests/Makefile.am | 6 + gio/tests/autoptr.c | 23 +++ glib/glib-autocleanups.h | 3 + glib/tests/autoptr.c | 420 ++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 447 insertions(+), 5 deletions(-) commit 1b348a876f84342bb3a197fadd249f8ce95abfeb Author: Colin Walters AuthorDate: Mon Feb 23 07:56:34 2015 -0500 Commit: Colin Walters CommitDate: Mon Feb 23 07:56:34 2015 -0500 autocleanups: Remove g_autoptr(gchar) - It's not sufficient, there are other bare array types like guint8, gdouble, etc. - Other types like GVariant* always come as pointers, whereas there's a rather fundamental distinction between "gchar" and "gchar*" that has been signified to C programmers for 30+ years via the '*' character, and we're hiding that. https://bugzilla.gnome.org/show_bug.cgi?id=744747 glib/glib-autocleanups.h | 1 - 1 file changed, 1 deletion(-) commit d0105f1c0845c1244c8419d0bb24c6f64ac9015f Author: Colin Walters AuthorDate: Sun Feb 15 08:58:44 2015 -0500 Commit: Colin Walters CommitDate: Sun Feb 22 22:18:07 2015 -0500 Add g_autofree The g_autoptr() being associated with the type name works out really well for things like GHashTable. However, it's a bit more awkward to associate with "gchar". Also because one can't use "char". Similarly, there are a lot of other "bare primitive array" types that one might reasonably use. This patch does not remove the autoptr for "gchar", even though I think it's rather awkward and strange. Also while we're here, add a test case for the cleanup bits. https://bugzilla.gnome.org/show_bug.cgi?id=744747 glib/docs.c | 34 ++++++++++++++++++++++++++++++++++ glib/glib-autocleanups.h | 8 ++++++++ glib/gmacros.h | 1 + glib/tests/Makefile.am | 6 ++++++ glib/tests/autoptr.c | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+) commit 2844f239f60cab6e549102d7cdc3cf0333076cbe Author: Ryan Lortie AuthorDate: Sat Feb 21 10:24:23 2015 -0500 Commit: Ryan Lortie CommitDate: Sun Feb 22 19:14:03 2015 -0500 GApplication: let the main loop drain on shutdown After ::shutdown, run the mainloop until all pending activity is handled, before returning from run(). Among other things, this gives a chance for destroyed windows to be properly withdrawn from the windowing system. https://bugzilla.gnome.org/show_bug.cgi?id=744876 gio/gapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 9cee2e6a72bb06f7483442ab364910879c512e39 Author: Chao-Hsiung Liao AuthorDate: Sat Feb 21 11:09:48 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sat Feb 21 11:09:48 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 464 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 233 insertions(+), 231 deletions(-) commit 5e994b1e9ba0ddbd27773825cb8bfe30ee2e69d2 Author: Emmanuele Bassi AuthorDate: Fri Feb 20 19:54:07 2015 +0000 Commit: Emmanuele Bassi CommitDate: Fri Feb 20 19:54:07 2015 +0000 gobject: Add missing autocleanup for GInitiallyUnowned We are missing the auto cleanup function for this type, which means G_DECLARE_* macros won't work with classes inheriting from GInitiallyUnowned. gobject/gobject-autocleanups.h | 1 + 1 file changed, 1 insertion(+) commit f141607eecc1e592cc811cdaf580a5994c1b34a7 Author: Colin Walters AuthorDate: Fri Feb 20 14:35:59 2015 -0500 Commit: Colin Walters CommitDate: Fri Feb 20 14:37:39 2015 -0500 gfileenumerator: Convert docbook tag -> markdown This code predated the markdown conversion. Pointed out by mclasen. gio/gfileenumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52cd62d946946af3b0c9dac644ddc4bd517d131b Author: Colin Walters AuthorDate: Thu Feb 12 18:20:14 2015 -0500 Commit: Colin Walters CommitDate: Fri Feb 20 14:02:05 2015 -0500 filenumerator: Add g_file_enumerator_iterate() This is *significantly* more pleasant to use from C (while handling errors and memory cleanup). While we're here, change some ugly, leaky code in tests/desktop-app-info.c to use it, in addition to a test case in tests/file.c. https://bugzilla.gnome.org/show_bug.cgi?id=661554 docs/reference/gio/gio-sections.txt | 1 + gio/gfileenumerator.c | 116 ++++++++++++++++++++++++++++++++++++ gio/gfileenumerator.h | 8 +++ gio/tests/desktop-app-info.c | 77 ++++++++++++++---------- gio/tests/file.c | 46 ++++++++++++++ 5 files changed, 215 insertions(+), 33 deletions(-) commit 9d6d30475b4039b3bd352e641c4266efeb14329c Author: Colin Walters AuthorDate: Thu Feb 19 18:31:29 2015 -0500 Commit: Colin Walters CommitDate: Fri Feb 20 07:08:50 2015 -0500 autocleanups: Add G*Array types Not sure how these were omitted. Probably few people are really using this yet...and we don't have test cases (that's in the other patch). https://bugzilla.gnome.org/show_bug.cgi?id=744830 glib/glib-autocleanups.h | 3 +++ 1 file changed, 3 insertions(+) commit 9b0358770716f1f6cc7e891ad71ee2111ae0f626 Author: Philip Withnall AuthorDate: Thu Feb 19 14:03:43 2015 +0000 Commit: Philip Withnall CommitDate: Thu Feb 19 14:04:05 2015 +0000 gliststore: Add missing parameter documentation gio/gliststore.c | 2 ++ 1 file changed, 2 insertions(+) commit 0d27b2e4e2e88b2cae88cb1936af4cb93add1aab Author: Fran Dieguez AuthorDate: Thu Feb 19 11:00:05 2015 +0100 Commit: Fran Dieguez CommitDate: Thu Feb 19 11:00:05 2015 +0100 Updated Galician translations po/gl.po | 456 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 229 insertions(+), 227 deletions(-) commit 2b273825965bc824dbc2ca8bfbde863c07032d45 Author: Lars Uebernickel AuthorDate: Thu Feb 19 00:41:42 2015 +0100 Commit: Lars Uebernickel CommitDate: Thu Feb 19 08:39:55 2015 +0100 gapplication: test setting and binding busy state https://bugzilla.gnome.org/show_bug.cgi?id=744756 gio/tests/gapplication.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit b4ef6d957f301ab7020acb6ecdae736d3087b79d Author: Lars Uebernickel AuthorDate: Thu Feb 19 00:33:01 2015 +0100 Commit: Lars Uebernickel CommitDate: Thu Feb 19 08:39:55 2015 +0100 gapplication: add "is-busy" A property to query the current busy state of an application. https://bugzilla.gnome.org/show_bug.cgi?id=744756 docs/reference/gio/gio-sections.txt | 1 + gio/gapplication.c | 50 ++++++++++++++++++++++++++++++++++--- gio/gapplication.h | 2 ++ 3 files changed, 50 insertions(+), 3 deletions(-) commit 6ef0664017722a5f06739a03973c368c69c9746e Author: Ryan Lortie AuthorDate: Wed Feb 18 16:45:59 2015 -0500 Commit: Ryan Lortie CommitDate: Wed Feb 18 16:45:59 2015 -0500 gapplication: stop using deprecated API More fallout from the GOptionGroup binding patch. gio/gapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2d3d8cdce2e30978c259bdbc61c2af26ee081533 Author: Lars Uebernickel AuthorDate: Tue Feb 17 08:39:05 2015 +0100 Commit: Lars Uebernickel CommitDate: Wed Feb 18 20:17:03 2015 +0100 gapplication: tune busy-binding g_application_bind_busy_property() had the restriction that only one property can be bound per object, so that NULL could be used to unbind. Even though this is enough for most uses, it is a weird API. Lift that restriction and add an explicit unbind function. https://bugzilla.gnome.org/show_bug.cgi?id=744565 docs/reference/gio/gio-sections.txt | 1 + gio/gapplication.c | 89 ++++++++++++++++++++++++------------- gio/gapplication.h | 5 +++ 3 files changed, 65 insertions(+), 30 deletions(-)