commit a6c936c45fd959117e24a4e7b6f01f124963bf72 Author: Ryan Lortie Date: Fri Jul 22 08:55:35 2011 +0200 Release 2.29.14 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 50 insertions(+), 1 deletions(-) commit b30ca6e5a57fd40cf8f94ef2869e742498bc0577 Author: Behdad Esfahbod Date: Thu Jul 21 16:05:43 2011 -0400 Bug 655076 - Our normalization code misses some Full_Composition_Exclusion=True. glib/gen-unicode-tables.pl | 4 ++++ glib/tests/unicode.c | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 0 deletions(-) commit c404dbed11bc8bf4212d15719ef3a87ebf76efff Author: David Zeuthen Date: Thu Jul 21 16:03:27 2011 -0400 gdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotation Also add convenience _with_unix_fd_list variants to GDBusConnection, GDBusProxy and GDBusMethodInvocation types to easily support this. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gio-sections.txt | 7 + gio/gdbus-codegen/codegen.py | 148 ++++++++-- gio/gdbusconnection.c | 557 +++++++++++++++++++++++----------- gio/gdbusconnection.h | 30 ++ gio/gdbusmethodinvocation.c | 76 ++++- gio/gdbusmethodinvocation.h | 3 + gio/gdbusproxy.c | 495 ++++++++++++++++++++++--------- gio/gdbusproxy.h | 23 ++ gio/gio.symbols | 7 + gio/tests/test-codegen.xml | 8 + 11 files changed, 1012 insertions(+), 363 deletions(-) commit 7b22a8308f2a914b704051cd772edfa15e9a3b04 Author: Dan Williams Date: Wed Jul 20 17:28:20 2011 -0500 Document how to free return values from g_key_file_get_*_list Makes the docs consistent with the string list getters. Add GOI annotations while we're at it. glib/gkeyfile.c | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) commit 3af40c204dab8fbd3bec0dceb7cbed0896178a4b Author: Behdad Esfahbod Date: Thu Jul 21 10:30:36 2011 -0400 Bug 655025 - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK glib/gunicode.h | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) commit 03f673abc20693b907d5e4f1deb775737774d7ae Author: David Zeuthen Date: Thu Jul 21 09:43:59 2011 -0400 GDBus: Don't convert GVariant type 'h' to gint The code-generator already uses GVariant* so generated code didn't really work at all. We want that instead of gint to avoid confusion because a 'h' instance is an _index_ into a GUnixFDList, not a file descriptor. Signed-off-by: David Zeuthen gio/gdbusutils.c | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) commit 419bfe325c40604268dbb7fa050e355c9681577e Author: David Zeuthen Date: Thu Jul 21 09:32:38 2011 -0400 gdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao' This is possible now that we have better support for object path arrays, see http://git.gnome.org/browse/glib/commit/?id=19878998bc386db78614f1c92ff8524a81479c7b Note that this breaks the ABI of generated code but since gdbus-codegen(1) has never yet been in a stable GLib release, this is fine. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 3 ++- gio/gdbus-codegen/codegen.py | 2 ++ gio/gdbus-codegen/dbustypes.py | 8 ++++++++ gio/gdbusutils.c | 15 ++++++++++++++- gio/tests/gdbus-test-codegen.c | 24 +++++++++++++----------- 5 files changed, 39 insertions(+), 13 deletions(-) commit b34eac204f54cefaf8a702a96dc537144f8c2d92 Author: Simon McVittie Date: Thu Jul 21 10:22:01 2011 +0100 g_atomic_int_add: document that the return value is new Bug: https://bugzilla.gnome.org/show_bug.cgi?id=654988 Reviewed-by: Matthias Clasen glib/gatomic.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 79b80579282b2749a9eafe8b95845f434db95969 Author: Ryan Lortie Date: Thu Jul 21 09:21:18 2011 +0200 Advise against using GPrivate GStaticPrivate is really a lot better in almost every way. glib/gthread.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 706b2751166bb8590e41800d0b3c3056ba529daa Author: Ryan Lortie Date: Thu Jul 21 08:33:50 2011 +0200 GParam: try to avoid further invalid uses In an attempt to avoid some potential future abuses of the GParamSpec API, qualify the 'name' field of the structure as 'const' and add a comment noting that it is an interned string. This is a theoretical API break, but it will only ever result in warnings -- and even then, only if you were already doing something questionable. Clean up some of the warnings that were caused internally in gparam.c from these changes. gobject/gparam.c | 39 ++++++++++++++++++++++----------------- gobject/gparam.h | 2 +- 2 files changed, 23 insertions(+), 18 deletions(-) commit 9bcb3d74572cf99a17ff5a1fd4becb1a1136291c Author: Behdad Esfahbod Date: Wed Jul 20 22:11:08 2011 -0400 Add g_unicode_script_from_iso15924() And adjust g_unicode_script_to_iso1592(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gunicode.h | 1 + glib/guniprop.c | 43 +++++++++++++++++++++++++++++++- glib/tests/unicode.c | 9 +++++- 5 files changed, 51 insertions(+), 4 deletions(-) commit a5e94cbd36304ac48e20599ad39fd4bfbd6a5cbe Author: Benjamin Otte Date: Thu Jul 21 02:56:05 2011 +0200 glocalfile: Fix compilation without USE_STATFS and USE_STATVFS gio/glocalfile.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 7e03b28870a514e655f31298d31158a69f11de40 Author: Behdad Esfahbod Date: Wed Jul 20 19:04:29 2011 -0400 Bug 648271 - Add g_unicode_script_to_iso15924() Add g_unicode_script_to_iso15924() and tests. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gunicode.h | 2 + glib/guniprop.c | 146 ++++++++++++++++++++++++++++++++- glib/tests/unicode.c | 8 ++ 5 files changed, 157 insertions(+), 1 deletions(-) commit d8d67d1596ed9fd394bb0427e9154bfad9b4b504 Author: Daniel Mustieles Date: Wed Jul 20 22:32:38 2011 +0200 Updated Spanish translation po/es.po | 207 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 133 insertions(+), 74 deletions(-) commit e43a2969114e91332b127a479bcb078be6649353 Author: Daniel Mustieles Date: Wed Jul 20 22:26:59 2011 +0200 Updated Spanish translation po/es.po | 637 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 316 insertions(+), 321 deletions(-) commit 8cadef1a88abf77569da2e65894a855b0f1376d4 Author: Ryan Lortie Date: Wed Jul 20 21:49:16 2011 +0200 Change order of GFormatSizeFlags David requested that I change the order of the flags. Also, assign numerical values to the flags in the usual way. This wasn't a bug yet, but only by chance. glib/gfileutils.c | 6 +++--- glib/gfileutils.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit c26462ab98e47fd629177d52984b69055f8fe37a Author: Ryan Lortie Date: Wed Jul 20 21:47:00 2011 +0200 g_format_size: just use GString Matthias wasn't too impressed by the homebrew stack-allocated string building I was doing. Switch to GString. glib/gfileutils.c | 81 ++++++++++++++++++++++------------------------------ 1 files changed, 34 insertions(+), 47 deletions(-) commit 4aff6119812bb1dac40a6fca4833dab0520148d9 Author: Ryan Lortie Date: Wed Jul 20 21:30:03 2011 +0200 g_format_size: Return 'gchar' instead of 'char' I meant to do that in the first place. glib/gfileutils.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ef3e5917ca1239b39db2cb433c4306d0152f18f5 Author: Ryan Lortie Date: Wed Jul 20 19:58:43 2011 +0200 [ast, es, fr, nn] Update byte unit translations The Asturian, French, Norwegian Nynorsk and Spanish translations incorrectly translated "MB" and friends to "MiB" (french: "Mio"), etc. This was in response to the incorrect use of "MB" in the (now deprecated) g_format_size_for_display() function. These strings are now used (correctly) in g_format_size(), so I have updated the translations accordingly. Additionally, the Norwegian Nynorsk translation was incorrectly translating several larger units to "KiB", so that has been corrected as well. po/ast.po | 6 +++--- po/es.po | 12 ++++++------ po/fr.po | 12 ++++++------ po/nn.po | 12 ++++++------ 4 files changed, 21 insertions(+), 21 deletions(-) commit afd1e3697065c1bd23fe9a1cacf43d8744d0bc9b Author: Ryan Lortie Date: Wed Jul 20 19:44:39 2011 +0200 Change GLib size units policy This commit changes GLib size units policy. We now prefer SI units and allow for use of proper IEC units where desired. g_format_size_for_display() which incorrectly mixed IEC units with SI suffixes is left unmodified, but has been deprecated. g_format_size() has been introduced which uses SI units and suffixes. g_format_size_full() has also been added which takes a flags argument to allow for use of IEC units (with correct suffixes). It also allows for a "long format" output which includes the total number of bytes. For example: "238.5 MB (238,472,938 bytes)". docs/reference/glib/glib-sections.txt | 5 + glib/gfileutils.c | 193 +++++++++++++++++++++++++++++++++ glib/gfileutils.h | 13 +++ glib/glib.symbols | 2 + glib/tests/fileutils.c | 12 ++ 5 files changed, 225 insertions(+), 0 deletions(-) commit 90cccf14b2b1dfea574d35c605669c4773d6eba6 Author: Ryan Lortie Date: Wed Jul 20 17:30:56 2011 +0200 g_format_size_for_display: some internal renames Rename the size constants from KILOBYTE to KIBIBYTE (etc.) since that's what they really are. This is a strictly internal change with no externally-visible effect in terms of API or functionality. glib/gfileutils.c | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) commit 4e015d36a06a896c8f5ec575c1b02fedefe47397 Author: Giovanni Campagna Date: Fri Jul 1 01:59:13 2011 +0200 gdbusintrospection: fix introspection annotations g_dbus_interface_info_lookup_* were incorrectly considered (transfer full) by introspected bindings, and this caused memory corruptions. https://bugzilla.gnome.org/show_bug.cgi?id=622921 gio/gdbusintrospection.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 4e213f385b45d8ce5d2fdb612d3706e214a7b368 Author: Vincent Untz Date: Wed Jul 20 09:22:12 2011 +0200 Stop using deprecated g_unicode_canonical_decomposition() https://bugzilla.gnome.org/show_bug.cgi?id=654948 glib/guniprop.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 33c977917c1dbcfec56168083dc05837da8ea57c Author: Ryan Lortie Date: Wed Jul 20 16:34:55 2011 +0200 GVariant: document avoiding g_variant_iter_loop The choice between g_variant_iter_next() and g_variant_iter_loop() is a bit confusing for some people. Add a note to the documentation of g_variant_iter_loop() to clarify that it should be avoided except in a few specific cases. glib/gvariant.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) commit 19878998bc386db78614f1c92ff8524a81479c7b Author: Ryan Lortie Date: Wed Jul 20 13:11:19 2011 +0200 GVariant: better support for object path arrays Add G_VARIANT_TYPE_OBJECT_PATH_ARRAY along with accessor functions g_variant_new_objv, g_variant_get_objv and g_variant_dup_objv. Also add support for '^ao' and '^a&o' format strings for g_variant_new() and g_variant_get(). https://bugzilla.gnome.org/show_bug.cgi?id=654955 docs/reference/glib/glib-sections.txt | 4 + docs/reference/glib/gvariant-varargs.xml | 39 +++++++- glib/glib.symbols | 3 + glib/gvariant.c | 168 ++++++++++++++++++++++++++++-- glib/gvariant.h | 6 + glib/gvarianttype.h | 7 ++ glib/tests/gvariant.c | 53 ++++++++++ 7 files changed, 270 insertions(+), 10 deletions(-) commit c841c2ce3fda6f754c88ae2c9099f36dff2f0814 Author: Ryan Lortie Date: Wed Jul 20 14:04:52 2011 +0200 GSettings: don't abort on missing schemas Give a g_critical instead. gio/gsettings.c | 77 ++++++++++++++++++++++++++++++++++++++---------- gio/gsettingsschema.c | 5 ++- gio/tests/gsettings.c | 26 ++++++++++++++++ 3 files changed, 91 insertions(+), 17 deletions(-) commit 06941419e347a8a37711e65873b6c59729873ddc Author: Ryan Lortie Date: Wed Jul 20 10:52:07 2011 +0200 Add some blacklisted mount directories Another long-carried Debian patch. No reason that we should not have these few extra items in the (already long) upstream list. gio/gunixmounts.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit dbd0d63b6b45036c2b485b8e1993edf97970afd2 Author: Ryan Lortie Date: Wed Jul 20 10:49:48 2011 +0200 wait longer in threadpool test case If we are going to fail an assert, wait for a bit longer before doing so (up to 5 seconds, if needed). This is a long-standing Debian patch to fix build failures on really slow machines. tests/threadpool-test.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 265f245376a3af5a006854ee96a484cf30fbc170 Author: Matthias Clasen Date: Tue Jul 19 23:04:04 2011 -0400 post-release bump configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c073ce3a3b8fb8282b244dd8e8dbb6fa8676e84e Author: Matthias Clasen Date: Tue Jul 19 23:02:05 2011 -0400 2.29.12 NEWS | 35 +++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 36 insertions(+), 1 deletions(-)