commit 4a56a807240a689119225215197a5c9f34b96254 Author: Matthias Clasen Date: Fri Oct 14 09:48:13 2011 -0400 Cosmetics NEWS | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) commit b9c4e1d310bab5cb449260acbed172a9a34381bb Author: Matthias Clasen Date: Fri Oct 14 00:12:46 2011 -0400 Bump version configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5065781e59e7f82dbf29907dcf2da12a8eb2053e Author: Matthias Clasen Date: Fri Oct 14 00:10:27 2011 -0400 Updates NEWS | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) commit 7f66b04bfd21ef97492a68d0e26274b5dc76ad8f Author: Dan Winship Date: Tue Oct 11 15:38:37 2011 -0400 Simplify checks for CLOCK_MONOTONIC Remove the complicated configure-time and runtime checks, and just use CLOCK_MONOTONIC if it's defined. https://bugzilla.gnome.org/show_bug.cgi?id=661421 configure.ac | 15 ---------- glib/gmain.c | 82 +++++++++++++++++++++++---------------------------------- 2 files changed, 33 insertions(+), 64 deletions(-) commit 00817371a68472f5b71606da841e398ac71b2067 Author: Matthias Clasen Date: Fri Oct 7 01:19:15 2011 -0400 USE __COUNTER__ instead of __LINE__ when available I've seen builds fail with nm-connection.c:119:691: error: declaration of '_GStaticAssertCompileTimeAssertion_119' shadows a previous local [-Werror=shadow] because several compile-time assertions ended up on the same line. __COUNTER__ is meant specifically for the purpose of constructing identifiers, so use it when available. glib/gmacros.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 698b2e9e5184283bbe839d28adc2d62556d09e11 Author: Antoine Jacoutot Date: Tue Oct 4 07:52:10 2011 +0200 Fix DATADIRNAME on OpenBSD. On OpenBSD translation files are always installed under PREFIX/share/locale, there is no such thing as PREFIX/lib/locale; according to that, set DATADIRNAME to "share". m4macros/glib-gettext.m4 | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit b20f3d8280f66757a2af1e1f141e073e8f40bb97 Author: Ryan Lortie Date: Mon Sep 26 11:21:55 2011 -0400 GSettings schemas: allow for zero items in schema GVDB deals with empty lists by returning NULL for the list instead of a zero-length (non-NULL) strv. We can work around that in GSettingsSchema by checking for the NULL case and treating it like a zero-length list. https://bugzilla.gnome.org/show_bug.cgi?id=660147 gio/gsettingsschema.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c5317a875c7b6034fbbff27af8c302cdfc9a32fc Author: Richard Hughes Date: Tue Sep 13 16:38:40 2011 +0100 Fix the description for g_app_info_get_icon() It can return NULL when there is no default icon. gio/gappinfo.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit b5131ebb16617a10c8e26e2ba3bd46b94ff8a08d Author: Matthias Clasen Date: Fri Sep 9 20:35:01 2011 -0400 Keep up with the standards More choices, always better. gio/gdesktopappinfo.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit f53995982545dddbf08301e4861167e97032f3e1 Author: Rudolfs Mazurs Date: Sat Oct 8 21:50:44 2011 +0300 Updated Latvian translation. po/lv.po | 116 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 58 insertions(+), 58 deletions(-) commit 3dcde986bff5b869da13ba7f3abd815ad34c1c45 Author: David Zeuthen Date: Fri Oct 7 14:20:03 2011 -0400 GDBusConnection: Make pending calls error when the connection is lost If the connection to the bus is lost while a method call is ongoing, the method call does not get cancelled. Instead it just sits around until it times out. This is visible here on XO laptops when stopping the display manager during shutdown. imsettings starts sending a sync message to give up its bus name (via g_bus_unown_name()), then systemd terminates the session bus at approximately the same time. imsettings then hangs for about 20 seconds before timing out the message. http://lists.freedesktop.org/archives/dbus/2011-September/014717.html imsettings behaviour could be improved as described in that thread, but I think this is a glib bug. I've also come up with the attached patch which fixes it. Credits for the bug-fix goes to Daniel Drake . The test case was written by David Zeuthen . https://bugzilla.gnome.org/show_bug.cgi?id=660637 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 42 ++++++++-- gio/tests/Makefile.am | 4 + gio/tests/gdbus-connection-loss.c | 155 +++++++++++++++++++++++++++++++++++++ 3 files changed, 194 insertions(+), 7 deletions(-) commit aae2f00d5eeeb7de04c4873eae4348dbb1e41184 Author: Colin Walters Date: Wed Oct 5 11:27:45 2011 -0400 gmacros: Hide G_STATIC_ASSERT from g-ir-scanner The C syntax here is twisted and confuses the scanner. We don't need to see it, so let's just skip it. glib/gmacros.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit dd3e97688e6f2de2ec19ced6a1db559efef54c62 Author: David Zeuthen Date: Wed Oct 5 12:33:55 2011 -0400 GDBus: Regenerate code when the codegen or options passed to it changes https://bugzilla.gnome.org/show_bug.cgi?id=660498 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 519c148848251ecde5477b9362df3b3054ba807b Author: David Zeuthen Date: Tue Oct 4 11:37:16 2011 -0400 GDBusProxy: Correctly handle unknown members when having an expected interface Since it is valid for a D-Bus interface / service to add new methods, signals or properties we must NEVER warn about unknown properties or drop unknown signals or disallow unknown method invocations when we have an expected interface. So this means that the expected_interface machinery is only useful for checking that the service didn't break ABI. Also update the docs so it is clear exactly what it means to have an expected interface. https://bugzilla.gnome.org/show_bug.cgi?id=660886 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 165 +++++++++++++++++++++++++---------------- gio/tests/gdbus-proxy.c | 147 ++++++++++++++++++++++++++++++++++-- gio/tests/gdbus-testserver.py | 12 +++ 3 files changed, 253 insertions(+), 71 deletions(-) commit 43e2a7dc485edd35f33debe432ed6d47ca89d84f Author: Bastien Nocera Date: Mon Oct 3 15:27:15 2011 +0100 [gio] Improve doc for g_file_make_directory_with_parents() g_file_make_directory_with_parents() will fail for already existing directories, unlike g_mkdir_with_parents(), so mention this clearly in the docs. https://bugzilla.gnome.org/show_bug.cgi?id=660791 gio/gfile.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 8592c2746734f629db49652bcdbc6f8a9394bbbd Author: Ryan Lortie Date: Tue Oct 4 11:52:47 2011 -0400 Make G_ASSERT_STATIC work with clang A simplified variant of an approach proposed by Behdad. https://bugzilla.gnome.org/show_bug.cgi?id=660413 glib/gmacros.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 04da052c1e871018801ede724e699502b953045c Author: Simon McVittie Date: Mon Oct 3 14:27:15 2011 +0100 In the GVariant intro, mention lack of built-in endianness, and rationale Presumably, the rationale for not storing the endianness is that GVariant is a recursive type system, and in a sane format, endianness only needs to be stored once per blob of data (once per D-Bus message, once per file on disk, etc.). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit ad8457c82f1cf0715ae4040b9014285b70397aac Author: Simon McVittie Date: Mon Oct 3 14:20:51 2011 +0100 g_variant_get_data: mention what you need to know to deserialise Also include a shorter version in the docs for g_variant_store, with a pointer to g_variant_get_data. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant-core.c | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) commit 340e702a5f2f8f62350289cfbae3f21183465072 Author: Simon McVittie Date: Mon Oct 3 14:19:58 2011 +0100 g_variant_new_from_data: mention that the caller might need to byteswap Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit d2239181a9a6fb920602f2de6f87197cde6534cf Author: Simon McVittie Date: Tue Oct 4 10:46:41 2011 +0100 Fix a typo in describing g_variant_get_fixed_array Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 45189d555921cddbcb4d64beca19ffb9b812443c Author: Simon McVittie Date: Tue Oct 4 10:46:13 2011 +0100 Escape percent sign in g_variant_new_parsed documentation Strings matching /%[a-z]/ are special syntax for gtk-doc. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant-parser.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 35f15340320d7aa7c18192dd6f8e123723a3e0d8 Author: Simon McVittie Date: Wed Oct 13 12:22:41 2010 +0100 g_variant_get_fixed_array: document which types are appropriate Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 33 ++++++++++++++++++++++++++++----- 1 files changed, 28 insertions(+), 5 deletions(-) commit 82df2070accf1938a5a8de7ef5ad71d47c91a7a4 Author: Simon McVittie Date: Wed Oct 13 12:21:22 2010 +0100 GVariant docs: be clear that the serialisation format isn't the same as D-Bus Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 35a9f3a7f29c74c811b32c0907ce29390c7180da Author: Ryan Lortie Date: Mon Oct 3 11:12:01 2011 -0400 g_variant_unref: add g_return_if_fail() NULL check Patch from Rodney Dawes. glib/gvariant-core.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit add049e1bfd70a1471a38146565aa0eafcd6221b Author: Nguyễn Thái Ngọc Duy Date: Sun Oct 2 11:21:18 2011 +1100 Updated Vietnamese translation po/vi.po | 152 ++++++++++++++++++++++++++++++------------------------------- 1 files changed, 75 insertions(+), 77 deletions(-) commit 90c01fc7e48209688d8852924c4dcc614d667036 Author: Nguyễn Thái Ngọc Duy Date: Sun Oct 2 11:08:49 2011 +1100 po/vi: import from Damned Lies po/vi.po | 75 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 38 insertions(+), 37 deletions(-)