Permalink
Commits on Oct 14, 2011
  1. Cosmetics

    Matthias Clasen committed Oct 14, 2011
  2. Bump version

    Matthias Clasen committed Oct 14, 2011
  3. Updates

    Matthias Clasen committed Oct 14, 2011
  4. Simplify checks for CLOCK_MONOTONIC

    danwinship committed with Matthias Clasen Oct 11, 2011
    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
  5. USE __COUNTER__ instead of __LINE__ when available

    Matthias Clasen committed Oct 7, 2011
    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.
  6. Fix DATADIRNAME on OpenBSD.

    ajacoutot committed with Matthias Clasen Oct 4, 2011
    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".
  7. GSettings schemas: allow for zero items in schema

    desrt committed with Matthias Clasen Sep 26, 2011
    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
  8. Fix the description for g_app_info_get_icon()

    hughsie committed with Matthias Clasen Sep 13, 2011
    It can return NULL when there is no default icon.
  9. Keep up with the standards

    Matthias Clasen committed Sep 10, 2011
    More choices, always better.
Commits on Oct 8, 2011
  1. Updated Latvian translation.

    Mazurs committed with Pecisk Oct 8, 2011
Commits on Oct 7, 2011
  1. GDBusConnection: Make pending calls error when the connection is lost

    David Zeuthen committed Oct 7, 2011
    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>
Commits on Oct 5, 2011
  1. gmacros: Hide G_STATIC_ASSERT from g-ir-scanner

    cgwalters committed Oct 5, 2011
    The C syntax here is twisted and confuses the scanner.  We don't
    need to see it, so let's just skip it.
  2. GDBus: Regenerate code when the codegen or options passed to it changes

    David Zeuthen committed Oct 5, 2011
    https://bugzilla.gnome.org/show_bug.cgi?id=660498
    
    Signed-off-by: David Zeuthen <davidz@redhat.com>
  3. GDBusProxy: Correctly handle unknown members when having an expected …

    David Zeuthen committed Oct 4, 2011
    …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>
Commits on Oct 4, 2011
  1. [gio] Improve doc for g_file_make_directory_with_parents()

    hadess committed Oct 3, 2011
    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
  2. Make G_ASSERT_STATIC work with clang

    desrt committed Oct 4, 2011
    A simplified variant of an approach proposed by Behdad.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660413
  3. In the GVariant intro, mention lack of built-in endianness, and ratio…

    smcv committed Oct 3, 2011
    …nale
    
    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>
  4. g_variant_get_data: mention what you need to know to deserialise

    smcv committed Oct 3, 2011
    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>
  5. g_variant_new_from_data: mention that the caller might need to byteswap

    smcv committed Oct 3, 2011
    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>
  6. Fix a typo in describing g_variant_get_fixed_array

    smcv committed Oct 4, 2011
    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>
  7. Escape percent sign in g_variant_new_parsed documentation

    smcv committed Oct 4, 2011
    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>
  8. g_variant_get_fixed_array: document which types are appropriate

    smcv committed Oct 13, 2010
    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>
  9. GVariant docs: be clear that the serialisation format isn't the same …

    smcv committed Oct 13, 2010
    …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>
Commits on Oct 3, 2011
  1. g_variant_unref: add g_return_if_fail() NULL check

    desrt committed Oct 3, 2011
    Patch from Rodney Dawes.
Commits on Oct 2, 2011
  1. Updated Vietnamese translation

    pclouds committed Oct 2, 2011
  2. po/vi: import from Damned Lies

    pclouds committed Oct 2, 2011
Commits on Sep 26, 2011
  1. glib 2.30.0

    desrt committed Sep 26, 2011
  2. Update Esperanto translation

    mimico committed with desrt Sep 26, 2011
  3. GDesktopAppInfo: simplify how defaults work

    desrt committed Sep 26, 2011
    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658188
Commits on Sep 25, 2011
  1. Update Czech translation

    pmkovar committed Sep 25, 2011
Commits on Sep 24, 2011
Commits on Sep 23, 2011
  1. Updated Lithuanian translation

    aurisc4 committed Sep 23, 2011