commit 179d8ac43f3c23e5712b284f8af9c72f6b26c479
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Nov 11 17:11:31 2011 -0500

    Updates

 NEWS |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

commit 9aa02d9d989ea7440b1c5a62041d038dbf124b50
Author: Benjamin Otte <otte@redhat.com>
Date:   Sun Oct 16 12:58:29 2011 -0700

    docs: Improve g_variant_loop() docs

    Typo fix and changing "is not recommended" to the nice version of
    "don't
    do this", aka "causes undefined behavior".

 gio/glocalfileinfo.c |    5 ++++-
 glib/gvariant.c      |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

commit 44ca0df0af5ddc25c4d140efd792f7547317107f
Author: Benjamin Otte <otte@redhat.com>
Date:   Mon Jul 25 13:08:59 2011 +0200

    docs: Tell which function to use to avoid errors.

 glib/gvarianttype.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

commit 4cae0cdc34b60e79956ef3a986eb167061a3bab2
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon Nov 7 00:14:28 2011 -0500

    Add a test for CDATA in gschema.xml files

 gio/tests/gschema-compile.c              |    3 ++-
 gio/tests/schema-tests/cdata.gschema.xml |    7 +++++++
 2 files changed, 9 insertions(+), 1 deletions(-)

commit 3c58a4128b3997ae9417e7b38eb1439c1e47e801
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon Nov 7 00:13:56 2011 -0500

    Accept CDATA in gschema.xml files

 gio/glib-compile-schemas.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit d3da689c4c3dbeee92ff5c5a3407cb078a2ab546
Author: Dan Winship <danw@gnome.org>
Date:   Fri Oct 14 14:32:11 2011 -0400

    glib-mkenums.in: fix @ENUMPREFIX@ with /*< underscore_name=... >*/

    For enums defined with an underscore_name override, @ENUMPREFIX@
    would include a trailing "_". Fix.

    https://bugzilla.gnome.org/show_bug.cgi?id=661797

 gobject/glib-mkenums.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit e5a644eeece8f7eda8324d98239272ef3d30e1dc
Author: David Zeuthen <davidz@redhat.com>
Date:   Thu Oct 27 10:30:58 2011 -0400

    g_bus_own_name: fix race when unowning a name immediately after
    owning it

    ... and also add a test to verify that the fix works.

    https://bugzilla.gnome.org/show_bug.cgi?id=662808

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusnameowning.c   |   86
 ++++++++++++++++++++++++++++++++++-------------
 gio/tests/gdbus-names.c |   29 +++++++++++++++-
 2 files changed, 89 insertions(+), 26 deletions(-)

commit e54bc017ea35c3eaf573b776764a781634bfed55
Author: Damien Lespinau <damien.lespinau@gmail.com>
Date:   Mon Oct 24 22:25:59 2011 -0400

    Add TAGS files to .gitignore

    "make tags" is the best way to produce tags in an automake project and
    yet very few people are using it so the tags files it generates
    are never
    added to the .gitignore files.

    Add TAGS files to .gitignore then.

    https://bugzilla.gnome.org/show_bug.cgi?id=615424

 .gitignore |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 0fb7f35cc61dd066598bd318785f5405663711c0
Author: Robert Nagy <robert@openbsd.org>
Date:   Mon Oct 24 21:18:48 2011 -0400

    Fix some build issues on OpenBSD

    Adapt to some OpenBSD header quirks.
    Patch by Robert Nagy.

    https://bugzilla.gnome.org/show_bug.cgi?id=661386

 configure.ac |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

commit 20b41db74f61d1c4cd21a29e17a800f13c0b6a9f
Author: Sjoerd Simons <sjoerd@luon.net>
Date:   Fri Oct 21 15:40:56 2011 +0200

    Fix document generation in out of tree builds

    https://bugzilla.gnome.org/show_bug.cgi?id=662390

 docs/reference/glib/Makefile.am    |    2 +-
 docs/reference/gobject/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 458c8114a68636c2bd0949c6a5987b78441a9486
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Fri Oct 21 15:00:24 2011 -0400

    GVariant format string docs: fix maybe types

    The documentation for maybe types failed to mention 'a' as one of the
    types that was handled with a single pointer for which NULL means
    "nothing".  Correct that omission.

    Problem caught by Shaun McCance.

 docs/reference/glib/gvariant-varargs.xml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

commit 81c07947291c691fd7b897509cc00771ac21f943
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Sun Oct 16 16:23:18 2011 -0400

    Pass correct data to fatal log handlers

    This was pointed out by John Ralls in bug 653052.
    He also provided the test case.

 glib/gmessages.c     |    2 +-
 glib/tests/logging.c |   58
 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 1 deletions(-)

commit 777f72a15868ccdcf616927a3b7fc92c984303cb
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date:   Wed Aug 17 08:57:15 2011 +0200

    Clarify g_spawn_*() behaviour without full path

    Document the previously uncovered case of calling
    g_spawn_async_with_pipes()
    without a full path but no G_SPAWN_SEARCH_PATH. This runs programs
    from the
    current directory, which might be unexpected and even dangerous in
    some corner
    cases.

    https://bugzilla.gnome.org/show_bug.cgi?id=656621

 glib/gspawn.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit b0e82791a36bb2c3ba4b1ee301814a2de5a8fc69
Author: Torsten Schönfeld <kaffeetisch@gmx.de>
Date:   Tue Aug 16 19:11:43 2011 +0200

    Add two annotations to gio

    https://bugzilla.gnome.org/show_bug.cgi?id=656679

 gio/gfile.c     |    2 +-
 gio/gfileinfo.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 6250bb656ed566cbc9f97e58d2c175a5971a25e9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Tue Oct 4 10:14:35 2011 +0100

    Document that types are limited to 64 KiB

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=659916
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>

 gobject/gtype.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

commit f4bba75f2f6a9609d28a1d2db44cec0230a45f15
Author: Kean Johnston <kean.johnson@gmail.com>
Date:   Sat Oct 15 17:57:23 2011 -0400

    GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":"

    https://bugzilla.gnome.org/show_bug.cgi?id=661257

 gio/giomodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9eb5c2d2e4acdaa867d502e716aef7a1fc3a3e15
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Fri Nov 11 14:41:50 2011 +0000

    GDBusWorker: tolerate read errors while closing

    My previous fix for GNOME#662100 was incomplete: it seems that
    with some
    timings, the stream can be closed with an async read in-flight. This
    can make the read fail immediately with G_IO_ERROR_CLOSED instead of
    becoming cancelled.

    This happens reliably on an embedded device, and rarely on my laptop;
    repeating the test 100 times in quick succession reliably reproduces
    the bug on my laptop.

    It seems as though what we really want is to ignore read errors, once
    we've established that we want to close the connection anyway - this
    means that after asking to close, you're immune to exit-on-close,
    which seems like a good rule.

    An additional subtlety is that continuing to read after we know we
    want to close is still required, otherwise we'll never emit ::closed.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Colin Walters <walters@verbum.org>

 gio/gdbusprivate.c |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

commit b9ef04ecdeaa8fc382a720ff517e2c256002179b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Nov 10 19:06:43 2011 +0000

    GDBusWorker: debug on read errors if transport debugging is enabled

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Colin Walters <walters@verbum.org>

 gio/gdbusprivate.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

commit bcefcf766c9dea3bf6ec09d79ce8349f3bc89108
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Nov 3 18:33:08 2011 +0000

    gdbus-exit-on-close test: don't leak a variant

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Colin Walters <walters@verbum.org>

 gio/tests/gdbus-exit-on-close.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 1bf29ab9548b38414bf4edad629871a821b4013d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Nov 3 18:32:53 2011 +0000

    gdbus-exit-on-close test: optionally be more verbose for debugging

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Colin Walters <walters@verbum.org>

 gio/tests/gdbus-exit-on-close.c |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

commit c55c24ec19260eea5968c039decba55308d98487
Author: Aleksander Morgado <aleksander@lanedo.com>
Date:   Thu Oct 27 16:54:02 2011 +0200

    gdbus: avoid warning when finalizing a GDBusObjectManagerClient

    If the GDBusObjectManagerClient doesn't get a name owner during
    its lifetime,
    `on_control_proxy_g_signal' will never be connected to any signal,
    so we
    shouldn't dump any warning in that case.

    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=662858

 gio/gdbusobjectmanagerclient.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

commit 04423e88f71017e6016b8770acda5c421a6b0cc0
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon Oct 24 13:25:15 2011 -0400

    Fix g_hash_table_iter_replace

    When reusing an existing key 'internally', we must avoid calling
    the key_destroy function on the old key.

    https://bugzilla.gnome.org/show_bug.cgi?id=662544

 glib/ghash.c      |   17 ++++++++++++-----
 glib/tests/hash.c |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 5 deletions(-)

commit ad6cb36ee2c9b2d53ce5479aadc9e5ced4566a46
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Fri Oct 21 14:05:10 2011 -0400

    GDBusMessage: fix leak of GError

    As part of the deserialisation process of a zero-length array in the
    DBus wire format, parse_value_from_blob() recursively calls itself
    with
    the expectation of failing (as can be seen by the assert immediately
    following).

    It passes &local_error to this always-failing call and then fails to
    free it (indeed, to use it at all).  The result is that the GError is
    leaked.

    Fix it by passing in NULL instead, so that the GError is never created
    in the first place.

    https://bugzilla.gnome.org/show_bug.cgi?id=662411

 gio/gdbusmessage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 87b2c723f705a2976939a273df54580912103f9f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Oct 20 20:02:02 2011 +0100

    GDBusConnection: document use while uninitialized as undefined
    behaviour

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662208
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusconnection.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

commit 62d3e4f9af64b1a5e7c04da16ef1a6222fecd2f9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Oct 20 13:12:26 2011 +0100

    GDBusConnection: check for initialization where needed for
    thread-safety

    Also document which fields require such a check in order to have
    correct
    threading semantics.

    This usage doesn't matches the GInitable documentation, which suggests
    use of a GError - but using an uninitialized GDBusConnection is
    programming error, and not usefully recoverable. (The GInitable
    documentation may have been a mistake - GNOME#662208.) Also, not
    all of
    the places where we need it can raise a GError.

    The check serves a dual purpose: it turns a non-deterministic
    crash into
    a deterministic critical warning, and is also a memory barrier for
    thread-safety. All of these functions dereference or return fields
    that
    are meant to be protected by FLAG_INITIALIZED, so they could crash or
    return an undefined value to their caller without this, if called
    from a
    thread that isn't the one that called initable_init() (although
    I can't
    think of any way to do that without encountering a memory barrier,
    undefined behaviour, or a race condition that leads to undefined
    behaviour if the non-initializing thread wins the race).

    One exception is that initable_init() itself makes a synchronous call.
    We deal with that by passing new internal flags up the call stack, to
    reassure g_dbus_connection_send_message_unlocked() that it can
    go ahead.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusconnection.c |  139
 ++++++++++++++++++++++++++++++++++++++++++++++---
 gio/gioenums.h        |    2 +
 2 files changed, 133 insertions(+), 8 deletions(-)

commit 8fc7f8aa3a4668db9327bb0801359da57c04b090
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Tue Oct 18 17:32:45 2011 +0100

    GDBusConnection: replace is_initialized with an atomic flag

    The comment implied that even failed initialization would set
    is_initialized = TRUE, but this wasn't the case - failed
    initialization
    would only set initialization_error, and it was necessary to check
    both.

    It turns out the documented semantics are nicer than the implemented
    semantics, since this lets us use atomic operations, which are also
    memory barriers, to avoid needing separate memory barriers or locks
    for initialization_error (and other members that are read-only after
    construction).

    I expect to need more than one atomically-accessed flag to fix thread
    safety, so instead of a minimal implementation I've turned
    is_initialized
    into a flags word.

    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992
    Reviewed-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusconnection.c |   44 +++++++++++++++++++++++++++++---------------
 1 files changed, 29 insertions(+), 15 deletions(-)

commit ac386f54badf0343efac2becb2c99dad6d27f40d
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Wed Oct 19 17:46:11 2011 -0400

    Revert "Simplify checks for CLOCK_MONOTONIC"

    This reverts commit 7f66b04bfd21ef97492a68d0e26274b5dc76ad8f.

 configure.ac |   15 ++++++++++
 glib/gmain.c |   82
 ++++++++++++++++++++++++++++++++++-----------------------
 2 files changed, 64 insertions(+), 33 deletions(-)

commit f14eef8402cb0ac4a5671fc6c46bbd98d0cd90ad
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Tue Oct 18 16:19:43 2011 +0100

    gdbus-non-socket test: avoid use of a GMainContext across a fork

    See https://bugzilla.gnome.org/show_bug.cgi?id=658999 for why
    this would
    be bad.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>
    (cherry picked from commit 612d2384670378d23e46046ab42ca98d618aba43)

 gio/tests/gdbus-non-socket.c |   51
 +++++++++++++++++++++++++++++++----------
 1 files changed, 38 insertions(+), 13 deletions(-)

commit 4c172056f5203d5639532da756ef64ef223290c4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Tue Oct 18 16:18:21 2011 +0100

    gdbus-exit-on-close test: cover more possibilities

    We didn't previously test anything except the implicit default
    of TRUE.
    Now we test implicit TRUE, explicit TRUE, explicit FALSE, and
    disconnecting at the local end (which regressed while fixing Bug
    #651268).

    Also avoid some questionable use of a main context, which fell foul of
    Bug #658999 and caused this test to be disabled in master.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>
    (cherry picked from commit be89f052c2f578a812d7bba4bbd02be04a4fdc03)

 gio/tests/gdbus-exit-on-close.c |  141
 ++++++++++++++++++++++++++++++++++-----
 1 files changed, 125 insertions(+), 16 deletions(-)

commit d65b80fb547ef3eed80ae970f858e7d110d90b40
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Wed Oct 19 10:49:56 2011 +0100

    GDBusWorker: if a read was cancelled it means we closed the connection

    This was a regression caused by my previous work on GDBusWorker
    thread-safety
    (Bug #651268). The symptom is that if you disconnect a GDBusConnection
    locally, the default implementation of GDBusConnection::closed
    terminates your process, even though it shouldn't do that for
    locally-closed connections; this is because GDBusWorker didn't think a
    cancelled read was a local close.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100
    Bug-NB: NB#287088
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>
    (cherry picked from commit 5e0492da509aad12b93b732c449dae1a016367c1)

 gio/gdbusprivate.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

commit 5043ca30ea9e355ca7bd8758425afb064c81d038
Author: Sjoerd Simons <sjoerd@luon.net>
Date:   Sun Oct 16 10:57:29 2011 +0100

    GDBusConnection: Fix race in /gdbus/connection/life-cycle

    GDBusConnection sets the closed flag in the worker thread, then
    adds an
    idle callback (which refs the Connection) to signal this in the main
    thread. The tests session_bus_down doesn't spin the mainloop, so the
    "closed" signal will always fire if iterating the mainloop later (and
    drops the ref when doing so). But _is_closed can return TRUE even
    before
    signalling this, in which case the "closed" signal isn't fired and the
    ref isn't dropped, causing the test to fail.

    Instead simply always wait for the closed signal, which is a good
    thing
    to check anyway and ensures the ref is closed.

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661896
    Reviewed-by: Matthias Clasen <mclasen@redhat.com>

 gio/tests/gdbus-connection.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 6d57a45234daa51d837695a9325c1b71cae101cf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date:   Thu Oct 13 17:39:03 2011 +0100

    GDBusConnection: warn that direct access to the stream is a bad idea

    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661679
    Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
    Reviewed-by: David Zeuthen <davidz@redhat.com>

 gio/gdbusconnection.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

commit 610dd25e878775150e6bbbc207e36915747ea54c
Author: OKANO Takayoshi <kano@na.rim.or.jp>
Date:   Mon Oct 17 09:25:08 2011 +0900

    Updated Japanese translation

 po/ja.po |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit 36207429bf2fb8e465712e9436708e8f7690e07a
Author: Jiro Matsuzawa <jmatsuzawa@src.gnome.org>
Date:   Mon Oct 17 01:54:33 2011 +0900

    Updated Japanese translation

 po/ja.po |  218
 +++++++++++++++++++++++++++++++++++---------------------------
 1 files changed, 122 insertions(+), 96 deletions(-)

commit 7e3e9a01f764a2e173f7291d6a4c76142de3467d
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Oct 14 10:17:30 2011 -0400

    Post-release version bump

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

commit 4a56a807240a689119225215197a5c9f34b96254
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Fri Oct 14 09:48:13 2011 -0400

    Cosmetics

 NEWS |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

commit b9c4e1d310bab5cb449260acbed172a9a34381bb
Author: Matthias Clasen <mclasen@redhat.com>
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 <mclasen@redhat.com>
Date:   Fri Oct 14 00:10:27 2011 -0400

    Updates

 NEWS |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

commit 7f66b04bfd21ef97492a68d0e26274b5dc76ad8f
Author: Dan Winship <danw@gnome.org>
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 <mclasen@redhat.com>
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 <ajacoutot@openbsd.org>
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 <desrt@desrt.ca>
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 <richard@hughsie.com>
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 <mclasen@redhat.com>
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 <rudolfs.mazurs@gmail.com>
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 <davidz@redhat.com>
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 <dsd@laptop.org>. The
    test
    case was written by David Zeuthen <zeuthen@gmail.com>.

    https://bugzilla.gnome.org/show_bug.cgi?id=660637

    Signed-off-by: David Zeuthen <davidz@redhat.com>

 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 <walters@verbum.org>
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 <davidz@redhat.com>
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 <davidz@redhat.com>

 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 <davidz@redhat.com>
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 <davidz@redhat.com>

 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 <hadess@hadess.net>
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 <desrt@desrt.ca>
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 <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit ad8457c82f1cf0715ae4040b9014285b70397aac
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant-core.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

commit 340e702a5f2f8f62350289cfbae3f21183465072
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit d2239181a9a6fb920602f2de6f87197cde6534cf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 45189d555921cddbcb4d64beca19ffb9b812443c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 35f15340320d7aa7c18192dd6f8e123723a3e0d8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant.c |   33 ++++++++++++++++++++++++++++-----
 1 files changed, 28 insertions(+), 5 deletions(-)

commit 82df2070accf1938a5a8de7ef5ad71d47c91a7a4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
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 <simon.mcvittie@collabora.co.uk>
    Reviewed-by: Ryan Lortie <desrt@desrt.ca>

 glib/gvariant.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

commit 35a9f3a7f29c74c811b32c0907ce29390c7180da
Author: Ryan Lortie <desrt@desrt.ca>
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 <pclouds@gmail.com>
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 <pclouds@gmail.com>
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(-)

commit f02f84e1cc08be28c2bad19f94153cf9c50a58cd
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Mon Sep 26 17:15:41 2011 -0400

    glib 2.30.0

 NEWS         |   59
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.ac |    4 +-
 2 files changed, 61 insertions(+), 2 deletions(-)

commit d0b2a1733861920a4a4a900e8c402f0769a99be8
Author: Tiffany Antopolski <tiffany.antopolski@gmail.com>
Date:   Mon Sep 26 16:59:48 2011 -0400

    Update Esperanto translation

 po/eo.po | 1393
 ++++++++++++++++++++++++++++++++++----------------------------
 1 files changed, 757 insertions(+), 636 deletions(-)

commit d25a6f248654bfa6a8b9593e7315960b3483420d
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Mon Sep 26 03:56:22 2011 -0400

    GDesktopAppInfo: simplify how defaults work

    Previously, we took the default application for a particular mimetype
    from the system and copied it into the user's configuration as the
    default there.

    Instead of doing that we leave the user's default unset, and at
    time of
    use, if the user has no explicitly-set default value, we use the
    system
    default.

    This avoids complicated situations where inappropriate applications
    were
    being set as the default in the user's configuration.
