Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 5, 2011
  1. Update NEWS

    Matthias Clasen authored
  2. Fix parameter documentation for many functions

    Matthias Clasen authored
    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. @bonzini
  4. Add a test for the previous fix

    Matthias Clasen authored
  5. GRand: avoid overflow

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

    Matthias Clasen authored
    Don't bail out if a directory suddenly turns out to exist
    after all. Proposed in bug 612729.
  7. @mzabaluev
  8. @mzabaluev
  9. gthread: avoid locking in _get_mutex_impl

    Wim Taymans authored Matthias Clasen committed
    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
  10. @gcampax

    gvariant: fix introspection annotations

    gcampax authored Matthias Clasen committed
    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
  11. gkeyfile: Only test file descriptors against -1

    Hanro authored Matthias Clasen committed
    Windows CE at least will return other (valid) negative values.
  12. Expand content type docs slighly

    Matthias Clasen authored
  13. @cgwalters

    gutils.c: Annotation fixes

    cgwalters authored Matthias Clasen committed
  14. @cgwalters

    g_shell_parse_argv: Annotate

    cgwalters authored Matthias Clasen committed
  15. @cgwalters

    gfileutils: Annotations for g_file_{get,set}_contents

    cgwalters authored Matthias Clasen committed
    These are actually byte arrays.
  16. gthreadedresolver: fix hang on g_thread_pool_push() failure

    muralis authored Matthias Clasen committed
    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
  17. GAsyncQueue: Remove excessive atomic operations

    Matthias Clasen authored
    Almost every function was double-checking the ref count,
    unnecessarily.
  18. GArray: Avoid unncessary atomic accesses to refcounts

    Matthias Clasen authored
    Not really necessary to double-check the ref-count.
  19. GHash: Avoid nonatomic access to the reference count

    Matthias Clasen authored
    Not really necessary to constantly double-check the ref
    count, anyway.
  20. @bpeel

    gsocket: Fix some cases of returning error without setting *error

    bpeel authored Matthias Clasen committed
    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
  21. @bpeel

    gsocket: Fix the error message for a failed g_socket_shutdown

    bpeel authored Matthias Clasen committed
    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
  22. Trivial: fix a variable name

    Matthias Clasen authored
    It is indices, not indeces.
  23. @smcv

    Add a regression test for GNOME#642026

    smcv authored Matthias Clasen committed
  24. @smcv

    GStaticPrivate: protect GRealThread.private_data with a bit-lock

    smcv authored Matthias Clasen committed
  25. @smcv

    Refactor GStaticPrivate accessors to facilitate protecting them with …

    smcv authored Matthias Clasen committed
    …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
  26. @smcv

    g_static_private_free: defer non-trivial destruction til after we unlock

    smcv authored Matthias Clasen committed
  27. @smcv

    GRealThread: remove obsolete comment about gmain.c, which no longer h…

    smcv authored Matthias Clasen committed
    …as a copy
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=642026
    Bug-NB: NB#257512
  28. GThread: expand the docs

    Matthias Clasen authored
    Mention newer addition to the thread support in the introduction:
    bit locks and one-time initialization.
  29. glib-compile-schemas: write informational messages to stdout

    Matthias Clasen authored
    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
  30. @cgwalters

    g_variant_new_dict_entry: Fix documentation and annotations

    cgwalters authored Matthias Clasen committed
    Move @key to not be at the start of a line, otherwise g-ir-scanner
    gets confused.
    
    Also two annotation fixes.
  31. @gcampax

    g_variant_get_child_value: Add a precondition on length

    gcampax authored Matthias Clasen committed
    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>
  32. @gcampax

    GVariant: fix introspection annotations

    gcampax authored Matthias Clasen committed
    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
  33. @ajacoutot

    Don't hardcode path to true(1).

    ajacoutot authored Matthias Clasen committed
    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
  34. @dschleef
  35. @hughsie

    Correct the annotation for g_file_enumerator_get_container()

    hughsie authored Matthias Clasen committed
    We don't ref the returned object, and alex has verified the gvfs implementation.
Something went wrong with that request. Please try again.