Commits on Jul 22, 2011
  1. @desrt

    Release 2.29.14

    desrt committed Jul 22, 2011
Commits on Jul 21, 2011
  1. @behdad
  2. 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 <davidz@redhat.com>
    David Zeuthen committed Jul 21, 2011
  3. @dcbw

    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.
    dcbw committed Jul 20, 2011
  4. @behdad
  5. 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 <davidz@redhat.com>
    David Zeuthen committed Jul 21, 2011
  6. 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 <davidz@redhat.com>
    David Zeuthen committed Jul 21, 2011
  7. @smcv

    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 <mclasen@redhat.com>
    smcv committed Jul 21, 2011
  8. @desrt

    Advise against using GPrivate

    GStaticPrivate is really a lot better in almost every way.
    desrt committed Jul 21, 2011
  9. @desrt

    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.
    desrt committed Jul 21, 2011
  10. @behdad

    Add g_unicode_script_from_iso15924()

    And adjust g_unicode_script_to_iso1592().
    behdad committed Jul 20, 2011
Commits on Jul 20, 2011
  1. @behdad

    Bug 648271 - Add g_unicode_script_to_iso15924()

    Add g_unicode_script_to_iso15924() and tests.
    behdad committed Jul 20, 2011
  2. @dmustieles

    Updated Spanish translation

    dmustieles committed Jul 20, 2011
  3. @dmustieles

    Updated Spanish translation

    dmustieles committed Jul 20, 2011
  4. @desrt

    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.
    desrt committed Jul 20, 2011
  5. @desrt

    g_format_size: just use GString

    Matthias wasn't too impressed by the homebrew stack-allocated string building I
    was doing.
    
    Switch to GString.
    desrt committed Jul 20, 2011
  6. @desrt

    g_format_size: Return 'gchar' instead of 'char'

    I meant to do that in the first place.
    desrt committed Jul 20, 2011
  7. @desrt

    [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.
    desrt committed Jul 20, 2011
  8. @desrt

    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)".
    desrt committed Jul 20, 2011
  9. @desrt

    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.
    desrt committed Jul 20, 2011
  10. @gcampax @cgwalters

    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
    gcampax committed with cgwalters Jul 1, 2011
  11. @vuntz
  12. @desrt

    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.
    desrt committed Jul 20, 2011
  13. @desrt

    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
    desrt committed Jul 20, 2011
  14. @desrt

    GSettings: don't abort on missing schemas

    Give a g_critical instead.
    desrt committed Jul 20, 2011
  15. @desrt

    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.
    desrt committed Jul 20, 2011
  16. @desrt

    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.
    desrt committed Jul 20, 2011
  17. post-release bump

    Matthias Clasen committed Jul 19, 2011
  18. 2.29.12

    Matthias Clasen committed Jul 19, 2011
  19. Drop the warnings.sgml template

    Matthias Clasen committed Jul 19, 2011
Commits on Jul 19, 2011
  1. @hb

    Document how to unset attributes

    Unsetting won't work on all attributes. Currently, only
    metadata attributes are supported.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=620423
    hb committed Jun 3, 2010
  2. @jdahlin-litl

    Pass in NULL instead of g_cclosure_marshal_generic

    NULL is now a shortcut for g_cclosure_marshal_generic, so avoid
    referencing it directly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654917
    Johan Dahlin committed with jdahlin-litl Jul 19, 2011
  3. @jdahlin-litl

    Use a generic marshaller if one is not specified

    Since g_cclosure_marshal_generic is always enabled, it makes
    sense to always use that instead of using generated ones.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654917
    Johan Dahlin committed with jdahlin-litl Jul 12, 2011
  4. @desrt

    GSettings: remove key length restrictions

    The key length now stands effectively unlimited at 1024 characters.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654536
    desrt committed Jul 19, 2011