commit a2172ee247b43265b249188de53c8f9d6cb7b7b3 Author: Ryan Lortie AuthorDate: Wed Feb 18 11:03:03 2015 -0500 Commit: Ryan Lortie CommitDate: Wed Feb 18 11:26:25 2015 -0500 GLib 2.43.90 NEWS | 27 +++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) commit 03de825c7e5e768662b36f090f47287b99158668 Author: Piotr Drąg AuthorDate: Wed Feb 18 13:43:12 2015 +0100 Commit: Piotr Drąg CommitDate: Wed Feb 18 13:43:12 2015 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 6b33ec39ad297ffb4066ddb7c4443a4d09dfe877 Author: Milo Casagrande AuthorDate: Wed Feb 18 08:12:00 2015 +0000 Commit: GNOME Translation Robot CommitDate: Wed Feb 18 08:12:00 2015 +0000 Updated Italian translation po/it.po | 189 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 82 insertions(+), 107 deletions(-) commit 07ae2e1278201a9b3441a3afdc25768c01ed179d Author: Ryan Lortie AuthorDate: Tue Jan 20 08:38:18 2015 -0500 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:27:46 2015 -0500 tests: add GSimpleIOStream async close tests Just a couple of tests to make sure the two paths are working properly, without crashes or leaks. https://bugzilla.gnome.org/show_bug.cgi?id=741630 gio/tests/io-stream.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit d4e3b82a93c59edd6f8c396868413e0fbf621972 Author: Ignacio Casal Quinteiro AuthorDate: Wed Dec 17 09:11:29 2014 +0100 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:27:46 2015 -0500 Add GSimpleIOStream class GSimpleIOStream represents an object that wraps an input and an output stream making easy to use them by calling the #GIOStream methods. https://bugzilla.gnome.org/show_bug.cgi?id=741630 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 14 +++ gio/Makefile.am | 2 + gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gsimpleiostream.c | 222 ++++++++++++++++++++++++++++++++++++ gio/gsimpleiostream.h | 45 ++++++++ gio/tests/defaultvalue.c | 1 + gio/tests/io-stream.c | 83 +------------- 9 files changed, 291 insertions(+), 79 deletions(-) commit c2c0a6ae5c8a0e924cb4b3a25b6adadcad7bd87e Author: Ryan Lortie AuthorDate: Tue Jan 20 08:11:02 2015 -0500 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:17:01 2015 -0500 GIOStream: support for unemulated async close() Add an implementation of non-thread-emulated async close of a GIOStream if either of the underlying stream objects support it. This prevents us from calling close() functions from another thread on an object that may not be expecting that. It also allows us to skip the thread entirely in case our objects support a pure async close. https://bugzilla.gnome.org/show_bug.cgi?id=741630 gio/giostream.c | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 3 deletions(-) commit cb40c553aefff522cf3c6ff8af783afa3e217649 Author: Ryan Lortie AuthorDate: Tue Jan 20 08:09:33 2015 -0500 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:17:01 2015 -0500 streams: add private 'async close via threads' API Add an internal helper to find out if close_async() is implemented via threads using the default implementation in the base class. We will use this to decide if we should do a 'pure async' close of a GIOStream or not. https://bugzilla.gnome.org/show_bug.cgi?id=741630 gio/ginputstream.c | 20 ++++++++++++++++++++ gio/gioprivate.h | 2 ++ gio/goutputstream.c | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+) commit f56f1ef074c6043f505b05a4ca134c9ee2c717a1 Author: Ryan Lortie AuthorDate: Tue Jan 20 12:54:09 2015 -0500 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:17:01 2015 -0500 streams: de-gtkdocify internal API Remove the /** **/-style block from two internal helpers to prevent gtk-doc from picking them up. https://bugzilla.gnome.org/show_bug.cgi?id=741630 gio/ginputstream.c | 2 +- gio/goutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 512e9b3b34d067ae4685143eb0c5f7969c6fd1e8 Author: Marc-André Lureau AuthorDate: Thu Feb 12 22:29:36 2015 +0100 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:16:52 2015 -0500 gdbus: delay closing stream after read finish Closing the stream on the writing side my race with a pending read. This patch ensures that closing is delayed after reading is finished. https://bugzilla.gnome.org/show_bug.cgi?id=743990 gio/gdbusprivate.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit c7f0ea435471024fc2531ac5185d9f4b5127bfb0 Author: Ryan Lortie AuthorDate: Wed Feb 4 17:47:39 2015 +0100 Commit: Ryan Lortie CommitDate: Tue Feb 17 16:16:52 2015 -0500 tests: check for NULL before g_object_unref() delayed_close_free() calls g_object_unref() on a variable that is expected to possibly contain NULL (as indicated by the fact that the NULL case is handled in my_slow_close_output_stream_close_async()). This is dead code right now (due to a bug in GDBus), which is why it isn't actually causing a failure. It should still be fixed, however. https://bugzilla.gnome.org/show_bug.cgi?id=743990 gio/tests/gdbus-close-pending.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 619832f729fbe696575fe1c42a3101eab7691427 Author: Colin Walters AuthorDate: Tue Feb 17 13:36:20 2015 -0500 Commit: Colin Walters CommitDate: Tue Feb 17 13:37:03 2015 -0500 autocleanups: Use g_option_context_unref() This fixes a use of a deprecated API. glib/glib-autocleanups.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcb30409ec7f5d2903f5f944c8b0b52fdffaab12 Author: Lars Uebernickel AuthorDate: Wed Feb 4 11:01:41 2015 +0100 Commit: Lars Uebernickel CommitDate: Tue Feb 17 19:09:47 2015 +0100 gapplication: never set the prgname to the app id GApplication set the prgname to the application's id when it was running in service mode. This broke with the addition of new --app-id option, because g_set_prgname() was called before parsing the options. Calling it after option parsing doesn't work, because GOptionContext sets prgname to argv[0] unconditionally. Instead of changing the semantics of GOptionContext, simply remove this functionality from GApplication. It is very unusual to have the prgname set to the app id instead of the binary's name and might confuse people when looking at logs etc. When overriding local_command_line() from a subclass, g_option_context_parse() might never be invokded. Thus, continue setting the prgname to argv[0] in GApplication. https://bugzilla.gnome.org/show_bug.cgi?id=743933 gio/gapplication.c | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) commit 62f7ea8191bbfd05f40abee2af0146fb8a193362 Author: Milo Casagrande AuthorDate: Tue Feb 17 13:32:06 2015 +0000 Commit: GNOME Translation Robot CommitDate: Tue Feb 17 13:32:06 2015 +0000 Updated Italian translation po/it.po | 1261 +++++++++++++++++++++++--------------------------------------- 1 file changed, 470 insertions(+), 791 deletions(-) commit 0f2b54142a455dd7f31aa9f3795b9173edd8fb1d Author: Lars Uebernickel AuthorDate: Sun Feb 15 18:54:13 2015 +0100 Commit: Lars Uebernickel CommitDate: Mon Feb 16 07:38:43 2015 +0100 gapplication: add bind_busy_property() Balancing g_application_{un,}mark_busy() is non-trivial in some cases. Make it a bit more convenient by allowing to bind multiple boolean properties (from different objects) to the busy state. As long as these properties are true, the application is marked as busy. https://bugzilla.gnome.org/show_bug.cgi?id=744565 docs/reference/gio/gio-sections.txt | 1 + gio/gapplication.c | 104 ++++++++++++++++++++++++++++++++++++ gio/gapplication.h | 5 ++ 3 files changed, 110 insertions(+) commit c59d195dd2bc56d393c06b066c3ac80bea7016bb Author: Matej Urbančič AuthorDate: Sun Feb 15 21:11:57 2015 +0100 Commit: Matej Urbančič CommitDate: Sun Feb 15 21:11:57 2015 +0100 Updated Slovenian translation po/sl.po | 450 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 226 insertions(+), 224 deletions(-) commit f7d6c3ba904857f82e369f056f61f016b6b82c98 Author: Sebastian Rasmussen AuthorDate: Sun Feb 15 19:49:43 2015 +0000 Commit: GNOME Translation Robot CommitDate: Sun Feb 15 19:49:43 2015 +0000 Updated Swedish translation po/sv.po | 3751 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1963 insertions(+), 1788 deletions(-) commit 0adb8e9da5a72823ad319a0e176257ae15a2f536 Author: Ivan Komaritsyn AuthorDate: Sun Feb 15 09:10:44 2015 +0300 Commit: Yuri Myasoedov CommitDate: Sun Feb 15 09:10:44 2015 +0300 Updated Russian translation po/ru.po | 457 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 230 insertions(+), 227 deletions(-) commit ab8493fa907fa9abb1c07202c4d99b1874ba4bd8 Author: Efstathios Iosifidis AuthorDate: Sat Feb 14 17:09:14 2015 +0200 Commit: Dimitris Spingos CommitDate: Sat Feb 14 17:09:14 2015 +0200 Updated Greek translation po/el.po | 456 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 230 insertions(+), 226 deletions(-) commit a074c7a6f2c4468f9d4fdf9d03f3953b819207e6 Author: Phillip Wood AuthorDate: Wed Nov 5 15:04:45 2014 +0000 Commit: Colin Walters CommitDate: Fri Feb 13 16:16:06 2015 -0500 Test functions should have async scope The testing utilities execute fixture and test functions asynchronously. https://bugzilla.gnome.org/show_bug.cgi?id=739724 glib/gtestutils.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 977be8c1494ac2e51414f956022e7441045d6ab7 Author: Kjartan Maraas AuthorDate: Thu Feb 12 01:27:02 2015 +0100 Commit: Kjartan Maraas CommitDate: Thu Feb 12 01:27:02 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 263 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 131 insertions(+), 132 deletions(-) commit 43df97ab86187a56495c8c00abb6130b7e379c8c Author: Bastien Nocera AuthorDate: Thu Jan 22 14:44:47 2015 +0100 Commit: Bastien Nocera CommitDate: Wed Feb 11 15:32:00 2015 +0100 goption: Add boxed type for GOptionGroup This would allow bindings to use _get_option_group() functions, which would then allow them to use GOption parsing. This also adds introspection annotations to g_option_context_add_group(), g_option_context_set_main_group() and g_option_context_get_main_group(). https://bugzilla.gnome.org/show_bug.cgi?id=743349 glib/goption.c | 85 ++++++++++++++++++++++++++++++++++++++-------------- glib/goption.h | 6 +++- gobject/gboxed.c | 2 ++ gobject/glib-types.h | 11 +++++++ 4 files changed, 81 insertions(+), 23 deletions(-) commit 93f2998765cf2d8b0416a7d645e600b111373a76 Author: Philip Withnall AuthorDate: Tue Dec 2 15:00:45 2014 +0000 Commit: Philip Withnall CommitDate: Wed Feb 11 09:17:33 2015 +0000 glist: Mention that g_list_length() is bad for checking list emptiness Despite linked lists being a fairly fundamental computer science concept, some developers insist on using: g_list_length (list) > 0 to determine whether a list is non-empty, rather than using: list != NULL Add a comment to the documentation for g_list_length() and g_slist_length() pointing out the better alternative in the hope that it will prevent some of this abuse. https://bugzilla.gnome.org/show_bug.cgi?id=741024 glib/glist.c | 3 ++- glib/gslist.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)