Commits on Apr 13, 2012
  1. 2.32.1

    Matthias Clasen committed Apr 13, 2012
  2. Fix distcheck

    I forgot to dist a test script, and forgot to look for it
    in srcdir instead of builddir.
    Matthias Clasen committed Apr 13, 2012
  3. [l10n] Updated German translation

    Christian Kirbach committed with mariobl Apr 13, 2012
  4. tests/mainloop: fix a race condition

    Rather than depending on the machine's speed/load, just interlock
    between the two threads properly.
    danwinship committed Apr 13, 2012
  5. Make the markup-parse test independent of the locale

    I added a setlocale call, because we need it for Unicode to
    come out right; but I forgot to fix the locale, so we now
    fail when comparing error messages to the expected (English)
    result. Correct this by setting LANG explicitly to en_US.utf-8.
    Matthias Clasen committed Apr 13, 2012
  6. GResource docs: fix typo

    kalev committed Apr 13, 2012
  7. GSettings docs: clarify what is a good path

    Add an explicit note to the docs about choosing paths based on domain
    names, not ones like "/apps/", "/desktop/" or "/system/".
    desrt committed Apr 13, 2012
Commits on Apr 12, 2012
  1. glib-compile-schemas: warn about bad dconf paths

    For quite some time the recommended usage of GSettings and dconf has
    been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
    over from GConf and is continuing to make its way into a number of
    applications as they port.
    glib-compile-schemas will now warn about these types of paths being
    used.  This generates a lot of noise, but hopefully it will reduce the
    number of ported applications making this mistake.
    desrt committed Apr 12, 2012
  2. Fall back to SO_PEERCRED if credentials passing fails

    Turns out libdbus doesn't send struct ucred credentials on linux, but
    just relies on the SO_PEERCRED support. However, gdbus does send, and
    expect to recieve a ucred credential. So, when libdbus talks to a
    gdbus server the authentication fails to send the credentials.
    We fix this by falling back to g_socket_get_credentials() if we don't
    get any credential messages.
    alexlarsson committed Apr 12, 2012
  3. Detect "empty" socket credentials on Linux

    Linux uses struct ucred to pass over socket credentials. Historically
    this has always worked in recievemsg, if SO_PASSCRED was set on the socket,
    even if the remote side didn't pass any credits. But this change broke that:;a=commitdiff;h=16e5726269611b71c930054ffe9b858c1cea88eb;hp=a9e9fd7182332d0cf5f3e601df3e71dd431b70d7
    However, it doesn't actually fail getting the credentials, it just returns
    an "empty" one, as initialized by cred_to_ucred() at:;a=blob;f=net/core/sock.c;h=b29ab61b029cf7f76fda992ecfcb8dcaa06b0483;#l756
    So, we detect this and fail the credentials reading.
    This actually happened in real life with gdbus acting as a server, as
    gdbus expected an ucred but libdbus didn't send one.
    alexlarsson committed Apr 12, 2012
  4. [l10n] Update Japanese translation

    OKANO Takayoshi committed with jmatsuzawa Apr 12, 2012
Commits on Apr 11, 2012
  1. gio-2.0.pc: Avoid full path to executables

    Instead of using full path in glib_compile_schemas and
    glib_compile_resources variables, rely on having the executables in
    This fixes the cross-compiling case where we cannot execute the binaries
    for target system. Instead of executing the target system's binaries, we
    need to use the native versions installed on the build host. The easiest
    way to find the native executables is to just pick them up from PATH.
    In addition, this brings gio-2.0.pc in line with glib-2.0.pc -- the
    latter has historically only listed the executable name and not the full
    kalev committed Apr 11, 2012
  2. Don't use fast enumeration in old version of Mac OS.

    Signed-off-by: William Hua <>
    jeremyhu committed with attente Apr 11, 2012
  3. Link with Foundation framework on OSX.

    Signed-off-by: William Hua <>
    jeremyhu committed with attente Apr 11, 2012
  4. Updated French translation

    annoab committed Apr 11, 2012
  5. Updated HINDI translation

    rdobugstats committed with rdobugstats Apr 11, 2012
  6. Updated Norwegian bokmål translation

    Kjartan Maraas committed Apr 11, 2012
  7. Updates

    Matthias Clasen committed Apr 11, 2012
Commits on Apr 10, 2012
  1. gdbus: test case for 673612

    When presented with an array of empty arrays of 8-byte-aligned types,
    GDBus would incorrectly apply the 8-byte alignment when reading back.
    Signed-off-by: David Zeuthen <>
    Will Thompson committed with David Zeuthen Apr 6, 2012
  2. GDBusMessage: do not align for grandchildren of empty arrays.

    D-Bus arrays are serialized as follows:
    1. align to a 4-byte boundary (for the length)
    2. uint32: the length of the serialized body in bytes
    3. padding for the alignment of the body type (not included in the length)
    4. the body.
    Note that 3. is a no-op unless the body type is an 8-byte aligned type
    (uint64, int64, double, struct, dict_entry), since you are always on a
    4-byte boundary from aligning and writing the length.
    So, an empty aax (that is, an array containing zero arrays of int64)
    is serialized as follows:
    1. align to a 4-byte boundary
    2. length of the contents of this (empty) array, in bytes (0)
    3. align to a 4-byte boundary (the child array's alignment requirement)
    4. there is no body.
    But previously, GDBus would recurse in step three to align not just for
    the type of the child array, but for the nonexistent child array's
    contents. This only affects the algorithm when the grandchild type has
    8-byte alignment and the reader happened to not already be on an 8-byte
    boundary, in which case 4 bytes were spuriously skipped.
    Signed-off-by: David Zeuthen <>
    Will Thompson committed with David Zeuthen Apr 10, 2012
  3. GDBusMessage: print more debug info about alignment

    Signed-off-by: David Zeuthen <>
    Will Thompson committed with David Zeuthen Apr 10, 2012
  4. Updated Hebrew translation.

    yarons committed Apr 10, 2012
  5. Updated Serbian translation

    mirosnik1 committed Apr 10, 2012
Commits on Apr 9, 2012
  1. tests: always use four digit years for date parsing tests

    Or some system with different locale settings might get confused whether
    a two digit year is to be parsed with regard to the current century or
    as an absolute year.
    cosimoc committed Apr 9, 2012
  2. Updated Lithuanian translation

    aurisc4 committed Apr 9, 2012
  3. Updated POTFILES.skip

    piotrdrag committed Apr 9, 2012
Commits on Apr 8, 2012
  1. binding: Improve test coverage

    Matthias Clasen committed Apr 8, 2012
  2. spawn: Improve test coverage

    Add a test that excercises the script execution code.
    Unfortunately, much of this code only runs in the forked
    child, and therefore its execution does not get caught
    by gcov.
    Matthias Clasen committed Apr 8, 2012