Permalink
Switch branches/tags
Nothing to show
Commits on Jan 15, 2012
  1. gmain: fix adding a child source to an already-attached source

    Adding a child source to an already-attached parent source would
    crash, because we were passing the parent's context when setting the
    child's priority.
    danwinship committed Jan 15, 2012
  2. Ensure to generate a flags GType for empty Flags enums

    When the flags enum only has the default NONE = 0 entry, glib-mkenums
    creates an enum type for it, not a flags type. Add an annotation to the
    enum to ensure the correct GType is created.
    
    Bug #667938.
    Christian Persch committed Jan 14, 2012
  3. resources: Use g_set_error_literal where appropriate

    Christian Persch committed Jan 14, 2012
  4. Add missing Since: docs

    Christian Persch committed Jan 14, 2012
Commits on Jan 14, 2012
  1. array: return_if_fail() if element size is 0

    This is particular useful for:
      g_array_new (sizeof (MyStruct), FALSE, FALSE);
    because the correct incantation is
      g_array_new (FALSE, FALSE, sizeof (MyStruct));
    and these warnings will trigger in the first situation.
    Benjamin Otte committed Jan 14, 2012
  2. values: Use v_pointer for g_value_set_gtype()

    ... and g_value_get_gtype(). G_TYPE_GTYPE is a pointer type, so it's
    values should use the v_pointer member. This is especially true, because
    the value collectors from varargs in gvaluecollector.h use that, too.
    
    This should only cause issues when sizeof(glong) != sizeof(gpointer),
    and I'm not aware of any such platform. Maybe win64?
    Benjamin Otte committed Jan 1, 2012
Commits on Jan 13, 2012
  1. gio: Fix for -Wformat-security

    ricotz committed Jan 13, 2012
  2. Updated POTFILES.in

    piotrdrag committed Jan 13, 2012
  3. Support resource:/// uris

    alexlarsson committed Dec 21, 2011
  4. Add tests for GResource

    alexlarsson committed Dec 21, 2011
  5. Initial version of glib-compile-resources

    This is the basic utility to create resource files, either binary
    versions or source files that can be compiled into your app.
    alexlarsson committed Dec 21, 2011
  6. Initial version of GResource

    GResource is a bundle of files combined into a single binary blog.
    The API lets you access the files the resource contains by
    using resource paths. You can also register resources with a
    global list and access these globally in a merged resource namespace.
    
    The normal way this is used is to link in the resources into your
    application/library and have it be automatically registred.
    
    Resources are compiled from an xml description using
    glib-compile-resources.
    alexlarsson committed Dec 21, 2011
  7. Add macros to handle constructor functions on the compilers that supp…

    …ort it
    
    This is only supported on some compilers, so we define G_HAS_CONSTRUCTORS
    when it is supported. However, when it is supported we guarantee that
    both constructors and destructors work, in executables as well as shared
    libraries (including runtime unloading of shared libraries).
    
    Usage is a bit unorthodox, as some compilers need to use #pragma to
    implement constructors, and #pragma can't be used in macros.
    
    The canonical way to use this:
    
      #ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
      #pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(my_constructor)
      #endif
      G_DEFINE_CONSTRUCTOR(my_constructor)
    
      static void my_constructor (void)
      {
        ...
    
      #ifdef G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA
      #pragma G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(my_destructor)
      #endif
      G_DEFINE_DESTRUCTOR(my_destructor)
    
      static void my_destructor (void)
      {
        ...
    alexlarsson committed Dec 21, 2011
  8. Support creating a GvdbReader from data

    This is needed for the glib resource work.
    alexlarsson committed Jan 13, 2012
  9. Docs: Changed can not to cannot.

    This is a backport from the glib commit 30fdc1a
    murraycu committed with alexlarsson Jan 13, 2012
  10. Updated Hebrew translation.

    yarons committed Jan 13, 2012
Commits on Jan 12, 2012
Commits on Jan 11, 2012
  1. Bug 666700 — Add some missing (allow-none) annotations

    Add some missing (allow-none) annotations to GContentType, GIcon and
    GHashTable methods.
    
    Closes: bgo#666700
    pwithnall committed Dec 22, 2011
Commits on Jan 10, 2012
  1. Back to odd

    Matthias Clasen committed Jan 10, 2012
  2. 2.31.8

    Matthias Clasen committed Jan 10, 2012
  3. Updates

    Matthias Clasen committed Jan 10, 2012
  4. Add G_FILE_ATTRIBUTE_FILESYSTEM_USED to get exact used space

    This is implemented by with statfs_buffer.f_bavail (free blocks
    for unprivileged users) as a default way to retrieve real free space.
    Based on a patch by Marcus Carlson, bug 625751.
    Matthias Clasen committed Jan 10, 2012
  5. Make glocalfile.c more readable

    The many nested ifdefs here really deserve some annotations.
    Based on a patch by Marcus Carlson, bug 625751.
    Matthias Clasen committed Jan 10, 2012
  6. add g_queue_free_full to glib-sections.txt

    Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=667331
    ravisankarg committed with Matthias Clasen Jan 6, 2012
  7. Use g_queue_free_full() convenience function.

    https://bugzilla.gnome.org/show_bug.cgi?id=667331
    
    Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
    ravisankarg committed with Matthias Clasen Jan 5, 2012