Commits on Mar 19, 2012
  1. Fix distcheck

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
    automake decided to complain about some more leftovers.
  2. 2.31.22

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
  3. Updates

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
  4. Don't return from a void function

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
  5. Fix a C99ism

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
  6. Silence a compiler warning

    Matthias Clasen
    Matthias Clasen committed Mar 19, 2012
  7. GDBus: set no-reply flag on calls with no callback

    desrt committed Mar 16, 2012
    If g_dbus_connection_call() or g_dbus_proxy_call() are given a NULL
    callback then set the no-reply flag on the outgoing D-Bus message.
  8. GDBusProxy: report an error instead of leaking it

    desrt committed Mar 16, 2012
    GDBusProxy sets an error on a GSimpleAsyncResult and then returns
    without dispatching the result for completion (and leaks the result in
    the process).  Fix that.
    Also add a testcase.  Unfortunately, adding the testcase uncovered
    bug #672248.  We can work around that by reordering the tests.
  9. Update config.h.win32(.in)

    fanc999 committed Mar 19, 2012
    Make it more like the one that is generated by autotools.
    It is true that Visual C++ has sig_atomic_t, at least for Visual C++ 2008
    and later, but this is currently only used for UNIX builds of GLib, as a
    point of note here.
  10. Update glibconfig.h.win32(.in)

    fanc999 committed Mar 19, 2012
    Added the definitions below, as these #defines are needed for gqsort.c
    #define ALIGNOF_GUINT32 4
    #define ALIGNOF_GUINT64 8
Commits on Mar 18, 2012
  1. Updated French translation

    annoab committed Mar 18, 2012
  2. Make inf testcase more forgiving

    Matthias Clasen
    Matthias Clasen committed Mar 18, 2012
    printf may produce "infinity" instead of "inf".
  3. Fix out of tree build for MinGW/MSYS

    dieterv authored and Matthias Clasen committed Mar 18, 2012
    When building with MinGW/MSYS with srcdir != builddir the build fails:
    - to locate the generated .def files
    - creating
    - creating
    Solved this by explicitly instructing these files to be generated
    in $(builddir)/...
  4. Updated Portuguese translation

    Duarte Loreto
    Duarte Loreto committed Mar 18, 2012
Commits on Mar 17, 2012
  1. man pages: document the order of schema overrides

    desrt committed Mar 17, 2012
    GSettings overrides are processed in such a way that
    alphabetically-later files have precedence over earlier files (eg: 20_
    will beat 10_).  Document that fact.
  2. Updated Russian translation

    yurayko authored and ymyasoedov committed Mar 17, 2012
Commits on Mar 16, 2012
  1. gmain: Use sig_atomic_t for list of pending Unix signals

    cgwalters committed Mar 13, 2012
    Pointed out by: Simon McVittie <>
  2. gio: Only show mounts in /run/media/$USER

    tbzatek committed Mar 16, 2012
    And reflect the recent changes + sync with gvfs+udisks2 rules.
  3. Continue searching in PATH on ENODEV and ETIMEDOUT

    davidben authored and cgwalters committed Mar 15, 2012
    Synchronize the error-handling logic from glibc. Users with networked
    filesystems in their PATH may hit ETIMEDOUT.
  4. Make g_array_sort* methods use a stable sort

    alexlarsson committed Mar 14, 2012
    Also, remove previous comments about sort stability in g_array_sort docs,
    as the method that was explained does not work. Adds a new comment
    about this.
  5. Make g_qsort_with_data stable, based on glibc msort

    alexlarsson committed Mar 14, 2012
    We need a stable sort, and we might as well always use it rather
    than have multiple sort versions. This picks up the glibc
    merge sort implementation which it uses by default for qsort,
    except we don't fall back to non-stable quicksort in some cases
    like glibc
Commits on Mar 15, 2012
  1. GDBusConnection: Don't store GCancellable in qdata

    David Zeuthen
    David Zeuthen committed Mar 15, 2012
    Now that we're using g_simple_async_result_set_check_cancellable() we
    no longer need this terrible hack of carrying the GCancellable on the
    GSimpleAsyncResult using qdata. See bug 672013 for more details.
    Signed-off-by: David Zeuthen <>
  2. GDBus: make use of reliable async cancellation

    desrt authored and David Zeuthen committed Mar 13, 2012
    Call g_simple_async_result_set_check_cancellable() after all
    GSimpleAsyncResult creation in order to take advantage of the new
    reliable cancellation feature.
    The guarantee of reliable cancellation fixes a bug in dbusmenu (which
    was already assuming that cancellation was reliable).  See this bug:
    Signed-off-by: David Zeuthen <>
  3. Fix "install" paths in VS property sheets

    fanc999 committed Mar 15, 2012
    ...and cleanup the VS2010 property sheets a little bit
Commits on Mar 14, 2012
  1. GSimpleAsyncResult: support reliable cancellation

    desrt committed Mar 13, 2012
    Add a function g_simple_async_result_set_check_cancellable() to provide
    a GCancellable that is checked for being cancelled during the call to
    This gives asynchronous operation implementations an easy way to
    provide reliable cancellation of those operations -- even in the case
    that a positive result has occured and is pending dispatch at the time
    the operation is cancelled.
  2. Invalidate single_va_closure when adding an emission hook

    Mike Gorse Matthias Clasen
    Mike Gorse authored and Matthias Clasen committed Mar 13, 2012
    If the optimization is used for only having one closure handling a
    signal emission, then hooks will not be run, so it should be disabled
    when an emission hook is added.
  3. g_log: mask log level before checking prefix flags

    desrt committed Mar 14, 2012
    We check if the log level is in the "prefixed" list by checking it
    against the g_log_msg_prefix bitfield.
    Unfortunately we were failing to mask by G_LOG_LEVEL_MASK first, so if
    the FATAL bit was set (for example) then it would never match.  This was
    the case for g_error().