Permalink
Commits on Jun 5, 2011
  1. Update NEWS

    Matthias Clasen committed Jun 5, 2011
  2. Fix parameter documentation for many functions

    Matthias Clasen committed Jun 4, 2011
    Use the opt-out mechanism introduced in gtk-doc 1.16 to work
    around problems with the _utf8 renaming games that the win32
    port is playing in our headers.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=638449
  3. Add a test for the previous fix

    Matthias Clasen committed Jun 4, 2011
  4. GRand: avoid overflow

    Matthias Clasen committed Jun 4, 2011
    Otherwise, g_random_double_range (-G_MAXDOUBLE, G_MAXDOUBLE)
    doesn't work as expected.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=502560
  5. g_mkdir_with_parents: cope with dirs popping into existence

    Matthias Clasen committed Jun 4, 2011
    Don't bail out if a directory suddenly turns out to exist
    after all. Proposed in bug 612729.
  6. gthread: avoid locking in _get_mutex_impl

    Wim Taymans committed with Matthias Clasen Sep 16, 2009
    When getting the mutex implementation of a static mutex, avoid taking the global
    lock every time but only take the lock when there was no mutex and we need to
    create one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=599954
  7. gvariant: fix introspection annotations

    gcampax committed with Matthias Clasen Jun 1, 2011
    g_variant_get_strv and g_variant_get_bytestring return arrays that
    are null terminated and have an explicit length. Since gjs doesn't
    support (out) arrays with length, mark them also null-terminated
    (but leave the length annotation, so pygobject can remove the argument)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646635
  8. gkeyfile: Only test file descriptors against -1

    go-two committed with Matthias Clasen Jun 2, 2011
    Windows CE at least will return other (valid) negative values.
  9. Expand content type docs slighly

    Matthias Clasen committed May 31, 2011
  10. gutils.c: Annotation fixes

    cgwalters committed with Matthias Clasen May 31, 2011
  11. g_shell_parse_argv: Annotate

    cgwalters committed with Matthias Clasen May 31, 2011
  12. gfileutils: Annotations for g_file_{get,set}_contents

    cgwalters committed with Matthias Clasen May 31, 2011
    These are actually byte arrays.
  13. gthreadedresolver: fix hang on g_thread_pool_push() failure

    muralis committed with Matthias Clasen May 25, 2011
    In resolve_sync function in gthreadedresolver.c, if g_thread_pool_push
    fails due to thread creation failure, we are just simply appending the
    data to the queue of work to do. After the failure, we might wait
    indefinitely in g_cond_wait. In case of g_thread_pool_push failure,
    propagate the error so that this function does not blocks forever in
    case of failure.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651034
  14. GAsyncQueue: Remove excessive atomic operations

    Matthias Clasen committed May 29, 2011
    Almost every function was double-checking the ref count,
    unnecessarily.
  15. GArray: Avoid unncessary atomic accesses to refcounts

    Matthias Clasen committed May 29, 2011
    Not really necessary to double-check the ref-count.
  16. GHash: Avoid nonatomic access to the reference count

    Matthias Clasen committed May 29, 2011
    Not really necessary to constantly double-check the ref
    count, anyway.
  17. gsocket: Fix some cases of returning error without setting *error

    bpeel committed with Matthias Clasen May 28, 2011
    g_socket_shutdown and g_socket_close were calling check_socket with a
    NULL error parameter so any errors wouldn't get propagated up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651327
  18. gsocket: Fix the error message for a failed g_socket_shutdown

    bpeel committed with Matthias Clasen May 28, 2011
    The GError message for g_socket_shutdown was reporting that it was
    "Unable to create socket" which is presumably a cut-and-paste bug.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651327
  19. Trivial: fix a variable name

    Matthias Clasen committed May 28, 2011
    It is indices, not indeces.
  20. Add a regression test for GNOME#642026

    smcv committed with Matthias Clasen May 24, 2011
  21. Refactor GStaticPrivate accessors to facilitate protecting them with …

    smcv committed with Matthias Clasen May 24, 2011
    …locks
    
    * g_static_private_get: have a single entry and exit
    
    * g_static_private_set: delay creation of GArray so the whole tail of
      the function can be under the private_data lock without risking
      deadlock with the g_thread lock; call the destructor last, after
      we could have unlocked
    
    * g_static_private_free: choose next thread in list before accessing
      private_data, to keep all accesses together
    
    * g_thread_cleanup: steal private_data first, then work exclusively with
      the stolen array (which doesn't need to be under a lock any more)
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
    Bug-NB: NB#257512
  22. GRealThread: remove obsolete comment about gmain.c, which no longer h…

    smcv committed with Matthias Clasen May 24, 2011
    …as a copy
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
    Bug-NB: NB#257512
  23. GThread: expand the docs

    Matthias Clasen committed May 28, 2011
    Mention newer addition to the thread support in the introduction:
    bit locks and one-time initialization.
  24. glib-compile-schemas: write informational messages to stdout

    Matthias Clasen committed May 27, 2011
    The fact that we return 0 here makes it clear that this
    is not considered an error, so it makes sense to not
    write these messages to stderr.
    Proposed by Antoine Jacoutot,
    https://bugzilla.gnome.org/show_bug.cgi?id=650882
  25. g_variant_new_dict_entry: Fix documentation and annotations

    cgwalters committed with Matthias Clasen May 27, 2011
    Move @key to not be at the start of a line, otherwise g-ir-scanner
    gets confused.
    
    Also two annotation fixes.
  26. g_variant_get_child_value: Add a precondition on length

    gcampax committed with Matthias Clasen May 27, 2011
    Ensure callers get a warning if they pass a bad length.
    
    Split into a separate commit and changed to order index before
    n_children by Colin Walters <walters@verbum.org>
  27. GVariant: fix introspection annotations

    gcampax committed with Matthias Clasen Apr 3, 2011
    Add transfer annotations for most functions, as well as some (array)
    and (skip) for functions that use varargs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646635
  28. Don't hardcode path to true(1).

    ajacoutot committed with Matthias Clasen May 27, 2011
    true(1) is not always installed under /bin so leave system() find
    it in the PATH.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=651219
  29. Correct the annotation for g_file_enumerator_get_container()

    hughsie committed with Matthias Clasen May 26, 2011
    We don't ref the returned object, and alex has verified the gvfs implementation.