Commits on Jan 16, 2012
  1. 2.31.10

    Matthias Clasen committed Jan 16, 2012
  2. Updates

    Matthias Clasen committed Jan 16, 2012
  3. GInetSocketAddress: add IPv6 flowinfo and scope_id fields

    danwinship committed Dec 29, 2011
    struct sin6_addr has two additional fields that struct sin_addr
    doesn't. Add support for those to GInetSocketAddress, and make sure
    they don't get lost when converting between glib and native types.
  4. GSocket: Use correct type for SO_BROADCAST parameter

    Sebastian Dröge committed Jan 16, 2012
  5. GSocket: Add function for setting unicast TTL

    Sebastian Dröge committed Jan 13, 2012
  6. GSocket: Add support for source-specific multicast (RFC 4604)

    Sebastian Dröge committed Jan 13, 2012
  7. GSocket: Add possibility to join a multicast group only on a specific…

    Sebastian Dröge committed Jan 13, 2012
    … interface
  8. GSocket: Add multicast-related functions

    danwinship committed with Sebastian Dröge Dec 29, 2011
    Add APIs for sending and receiving multicast datagrams with GSocket.
    Based on an earlier patch from Olivier Chalouhi.
  9. Updated Norwegian bokmål translation

    Kjartan Maraas committed Jan 15, 2012
  10. GAsyncInitable: fix subclassibility

    danwinship committed Jan 5, 2012
    If a class implements GAsyncInitable, and its parent also implements
    it, then the subclass needs to call its parent's init_async() before
    running its own. This was made more complicated by the fact that the
    default init_finish() behavior was handled by the wrapper method
    (which can't be used when making the super call) rather than the
    default implementation itself. Fix that.
  11. Fix typo

    alexlarsson committed Jan 16, 2012
    registred_resources -> registered_resources
  12. Protect call to pthread_condattr_setclock with define.

    prlw1 committed with Matthias Clasen Jan 12, 2012
    While here update pthread_attr_setstacksize test to use AC_LINK_IFELSE
    and avoid an unused variable in glib/tests/thread.c.
  13. g_error_new_valist, g_error_copy: warn if domain is 0 or message is NULL

    smcv committed with Matthias Clasen Sep 30, 2011
    Neither of those usages is valid, but there's a lot of use of 0 as a
    domain "in the wild", so we can't g_return_if_fail yet.
    Signed-off-by: Simon McVittie <>
  14. GError: small documentation addition

    Matthias Clasen committed Jan 16, 2012
    Document that out variables are not guaranteed to be set to
    defined values if an error is thrown. Inspired by bug 658315
  15. Beef up Libs.private in glib-2.0.pc

    Matthias Clasen committed Jan 16, 2012
    This should help getting static builds working on mingw.
    Based on a patch by Volker Grabsch, bug 619126.
    At the same time, drop the unnecessary GLIB_RT_LIBS variable;
    we are already adding -lrt to G_THREAD_LIBS.
  16. Trivial docs fix

    Matthias Clasen committed Jan 16, 2012
    I like GLib to be consistently capitalized in the docs.
Commits on Jan 15, 2012
  1. Updated Spanish translation

    dmustieles committed Jan 15, 2012
  2. gmain: fix adding a child source to an already-attached source

    danwinship committed Jan 15, 2012
    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.
  3. Ensure to generate a flags GType for empty Flags enums

    Christian Persch committed Jan 14, 2012
    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.
  4. resources: Use g_set_error_literal where appropriate

    Christian Persch committed Jan 14, 2012
  5. 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

    Benjamin Otte committed Jan 14, 2012
    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.
  2. values: Use v_pointer for g_value_set_gtype()

    Benjamin Otte committed Jan 1, 2012
    ... 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?
Commits on Jan 13, 2012
  1. gio: Fix for -Wformat-security

    ricotz committed Jan 13, 2012
  2. Updated

    piotrdrag committed Jan 13, 2012