commit d9f9e02777214848dbff98fcba6128b688f7f9bb
Author: Matthias Clasen <
[email protected]>
Date: Sun Jun 5 19:24:01 2011 -0400
Update NEWS
NEWS | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
commit b5f53f4babfe928104ddf99835839f9dab98f0c0
Author: Matthias Clasen <
[email protected]>
Date: Sat Jun 4 14:40:23 2011 -0400
Fix parameter documentation for many functions
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
glib/gconvert.h | 2 ++
glib/gdir.h | 2 ++
glib/gfileutils.h | 2 ++
glib/gspawn.h | 2 ++
glib/gutils.h | 8 ++++++--
5 files changed, 14 insertions(+), 2 deletions(-)
commit b9cf1c3cfed5a507f421398d2f0ea6f5ad17fd65
Author: Paolo Bonzini <
[email protected]>
Date: Tue Jan 25 11:31:41 2011 +0100
avoid quadratic behavior of GMainLoop when all fd's have the same
priority
https://bugzilla.gnome.org/show_bug.cgi?id=640518
glib/gmain.c | 49 +++++++++++++++++++++++++++++++------------------
1 files changed, 31 insertions(+), 18 deletions(-)
commit 38ef95193f9ac8d3c13fe67faa3eaa8228287cb0
Author: Matthias Clasen <
[email protected]>
Date: Fri Jun 3 23:38:46 2011 -0400
Add a test for the previous fix
glib/tests/rand.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
commit f75eafc246f1deaf6e06601c3bec34a4afc86f02
Author: Matthias Clasen <
[email protected]>
Date: Fri Jun 3 23:37:23 2011 -0400
GRand: avoid overflow
Otherwise, g_random_double_range (-G_MAXDOUBLE, G_MAXDOUBLE)
doesn't work as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=502560
glib/grand.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit 2d2d55b772e80376489e5954af870a539300e5ee
Author: Matthias Clasen <
[email protected]>
Date: Fri Jun 3 22:45:51 2011 -0400
g_mkdir_with_parents: cope with dirs popping into existence
Don't bail out if a directory suddenly turns out to exist
after all. Proposed in bug 612729.
glib/gfileutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e668e6e00f2edca2d21758bd339a8c16628c2059
Author: Mikhail Zabaluev <
[email protected]>
Date: Wed Mar 17 02:34:51 2010 +0200
Made g_utf8_to_ucs4_fast() even faster
https://bugzilla.gnome.org/show_bug.cgi?id=619435
glib/gutf8.c | 45 ++++++++++++++++-----------------------------
1 files changed, 16 insertions(+), 29 deletions(-)
commit 7c801bac6ee3a156d141a167f8863ec88282f9d1
Author: Mikhail Zabaluev <
[email protected]>
Date: Mon Mar 15 03:37:11 2010 +0200
Added performance tests for UTF-8 decoding functions
https://bugzilla.gnome.org/show_bug.cgi?id=619418
glib/tests/Makefile.am | 4 +
glib/tests/utf8-performance.c | 202
+++++++++++++++++++++++++++++++++++++++++
2 files changed, 206 insertions(+), 0 deletions(-)
commit 32b57792b1968c2c881649a457e545e91cacbedf
Author: Wim Taymans <
[email protected]>
Date: Wed Sep 16 17:39:48 2009 +0200
gthread: avoid locking in _get_mutex_impl
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
glib/gthread.c | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
commit e9cb7689671838d593f23d48f76a85952be68d92
Author: Giovanni Campagna <
[email protected]>
Date: Wed Jun 1 16:45:43 2011 +0200
gvariant: fix introspection annotations
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
glib/gvariant.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit cfcd7f5f92b399f57aade097b46399cda898c422
Author: Hanro <
[email protected]>
Date: Thu Jun 2 15:44:19 2011 -0400
gkeyfile: Only test file descriptors against -1
Windows CE at least will return other (valid) negative values.
glib/gkeyfile.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 4bafdccc6342514394018a1da7693afdfd756ef5
Author: Matthias Clasen <
[email protected]>
Date: Tue May 31 19:23:14 2011 -0400
Expand content type docs slighly
gio/gcontenttype.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
commit c19a67ae4f8e0bc8533e5464616ff58f08585aef
Author: Colin Walters <
[email protected]>
Date: Tue May 31 13:25:09 2011 -0400
gutils.c: Annotation fixes
glib/gutils.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 5799f7aadda67304f805288970a96830a7d916c8
Author: Colin Walters <
[email protected]>
Date: Tue May 31 13:10:12 2011 -0400
g_shell_parse_argv: Annotate
glib/gshell.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit e62dc3ff525e6ea216057c292dd8af3014f7395c
Author: Colin Walters <
[email protected]>
Date: Tue May 31 12:00:41 2011 -0400
gfileutils: Annotations for g_file_{get,set}_contents
These are actually byte arrays.
glib/gfileutils.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 16d5f448d8a7c7b48c60ae0387956c9f8fa82a28
Author: muralis <
[email protected]>
Date: Wed May 25 13:42:59 2011 +0530
gthreadedresolver: fix hang on g_thread_pool_push() failure
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
gio/gthreadedresolver.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit f7767ec7018a6cc36857ed03856406453c03e60f
Author: Matthias Clasen <
[email protected]>
Date: Sat May 28 21:43:45 2011 -0400
GAsyncQueue: Remove excessive atomic operations
Almost every function was double-checking the ref count,
unnecessarily.
glib/gasyncqueue.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
commit 1fe2fcf360a05e65878a75cd1f79a717964616a9
Author: Matthias Clasen <
[email protected]>
Date: Sat May 28 21:41:08 2011 -0400
GArray: Avoid unncessary atomic accesses to refcounts
Not really necessary to double-check the ref-count.
glib/garray.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
commit 8bf68cc66114a2a115a6bc2653bb927145f44397
Author: Matthias Clasen <
[email protected]>
Date: Sat May 28 21:40:12 2011 -0400
GHash: Avoid nonatomic access to the reference count
Not really necessary to constantly double-check the ref
count, anyway.
glib/ghash.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
commit a94f498e27eb1dee6f735995f4dc50fb96a22725
Author: Neil Roberts <
[email protected]>
Date: Sat May 28 15:13:11 2011 +0100
gsocket: Fix some cases of returning error without setting *error
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
gio/gsocket.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 26bf8c67ba6645019371315e24772db40d9197d7
Author: Neil Roberts <
[email protected]>
Date: Sat May 28 15:06:45 2011 +0100
gsocket: Fix the error message for a failed g_socket_shutdown
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
gio/gsocket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 61252762cb41fc22cf60232dcb2e8a68ae345006
Author: Matthias Clasen <
[email protected]>
Date: Sat May 28 13:57:47 2011 -0400
Trivial: fix a variable name
It is indices, not indeces.
glib/gthread.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
commit 9a36b758238bbb09c91b3a4863a2a8e2f8765dec
Author: Simon McVittie <
[email protected]>
Date: Tue May 24 11:04:42 2011 +0100
Add a regression test for GNOME#642026
Bug:
https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
gthread/tests/642026.c | 91
+++++++++++++++++++++++++++++++++++++++++++++
gthread/tests/Makefile.am | 3 +
2 files changed, 94 insertions(+), 0 deletions(-)
commit 2b358b082a97b289130d1a7dd8c2e89b22e5d746
Author: Simon McVittie <
[email protected]>
Date: Tue May 24 16:23:38 2011 +0100
GStaticPrivate: protect GRealThread.private_data with a bit-lock
Bug:
https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
glib/gthread.c | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
commit 815e18f54123245da6870562b96688e0e4729e61
Author: Simon McVittie <
[email protected]>
Date: Tue May 24 16:23:02 2011 +0100
Refactor GStaticPrivate accessors to facilitate protecting them
with 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
glib/gthread.c | 71
++++++++++++++++++++++++++++---------------------------
1 files changed, 36 insertions(+), 35 deletions(-)
commit 89fb443ba7a6c55e43bbb46c10c7963ed3b03ad4
Author: Simon McVittie <
[email protected]>
Date: Tue May 24 16:02:33 2011 +0100
g_static_private_free: defer non-trivial destruction til after
we unlock
Bug:
https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
glib/gthread.c | 31 ++++++++++++++++++++++++++++---
1 files changed, 28 insertions(+), 3 deletions(-)
commit 24aa91b8259872e5e362783521d78f7def7ae479
Author: Simon McVittie <
[email protected]>
Date: Tue May 24 15:59:33 2011 +0100
GRealThread: remove obsolete comment about gmain.c, which no longer
has a copy
Bug:
https://bugzilla.gnome.org/show_bug.cgi?id=642026
Bug-NB: NB#257512
glib/gthread.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 6274eb1c982f7f48b6724e4304386e19bf3aadd7
Author: Matthias Clasen <
[email protected]>
Date: Fri May 27 20:22:20 2011 -0400
GThread: expand the docs
Mention newer addition to the thread support in the introduction:
bit locks and one-time initialization.
glib/gthread.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
commit a83581a4f0cd4bf75d3c52b4ad30216c123b579c
Author: Matthias Clasen <
[email protected]>
Date: Fri May 27 18:30:45 2011 -0400
glib-compile-schemas: write informational messages to stdout
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
gio/glib-compile-schemas.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit a06603e7e6d8632cd7550aaf0140e6a715a07175
Author: Colin Walters <
[email protected]>
Date: Fri May 27 16:10:21 2011 -0400
g_variant_new_dict_entry: Fix documentation and annotations
Move @key to not be at the start of a line, otherwise g-ir-scanner
gets confused.
Also two annotation fixes.
glib/gvariant.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
commit a62eb4237edb110fbab72fcb4ed734c9e6a67b10
Author: Giovanni Campagna <
[email protected]>
Date: Fri May 27 16:03:04 2011 -0400
g_variant_get_child_value: Add a precondition on length
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 <
[email protected]>
glib/gvariant-core.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 56c4e19f3536f5e6dba7d788911b1284d9bf52ad
Author: Giovanni Campagna <
[email protected]>
Date: Sun Apr 3 17:18:44 2011 +0200
GVariant: fix introspection annotations
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
glib/gvariant-core.c | 2 +-
glib/gvariant.c | 137
+++++++++++++++++++++++++------------------------
glib/gvarianttype.c | 38 ++++++++------
3 files changed, 92 insertions(+), 85 deletions(-)
commit 9653d9c92afe699f8da609b3ef316dcbb05516ef
Author: Antoine Jacoutot <
[email protected]>
Date: Fri May 27 17:39:38 2011 +0200
Don't hardcode path to true(1).
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
tests/child-test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 6f64843d5e9a3c9262889be502320be8dcc36228
Author: David Schleef <
[email protected]>
Date: Tue May 24 14:35:20 2011 -0700
main: Use public function in documentation
https://bugzilla.gnome.org/show_bug.cgi?id=651009
glib/gmain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b8d26cc4cb5b1df0bf3a3d03012696a2101e926a
Author: Richard Hughes <
[email protected]>
Date: Thu May 26 12:37:24 2011 +0100
Correct the annotation for g_file_enumerator_get_container()
We don't ref the returned object, and alex has verified the gvfs
implementation.
gio/gfileenumerator.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 46e31d1b7a9b8622c734e25bddc42482fc888b57
Author: Matthias Clasen <
[email protected]>
Date: Sun May 22 00:33:05 2011 -0400
Fix HAVE_FUTEX definition
The previous implementation was buggy and wrote junk into config.h.
While we're at it, close bug #631231 by including syscall.h from the
correct location and using __NR_futex instead of SYS_futex.
configure.ac | 9 ++++-----
glib/gbitlock.c | 6 +++---
2 files changed, 7 insertions(+), 8 deletions(-)
commit be4f4563c75016b3a244f259ceeacf8bb4caaf67
Author: Chun-wei Fan <
[email protected]>
Date: Wed Jun 1 08:12:45 2011 +0800
Fix unconditional unistd.h inclusion
Cherry-pick from commit 3c94299b0ff1c8e1b0b06bedd73b1b725e631d8a
in master.
This will close Bug 644905.
gio/glib-compile-schemas.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
commit 6add04d0c6874574880b4d27d41195b7d1a42bf5
Author: Carles Ferrando <
[email protected]>
Date: Sun May 29 14:04:02 2011 +0200
[l10n]Updated Catalan (Valencian) translation
po/
[email protected] | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f8202d1f386ddcb044c92770d7544242fa16faee
Author: Carles Ferrando <
[email protected]>
Date: Sun May 29 14:03:42 2011 +0200
[l10n]Updated Catalan (Valencian) translation
po/
[email protected] | 1923
+++++++++++++++++++++++++++++++----------------------
1 files changed, 1140 insertions(+), 783 deletions(-)
commit 33922ffbf5c2121ae52037611a837a1dcd4b259c
Author: Chun-wei Fan <
[email protected]>
Date: Wed May 25 12:50:20 2011 +0800
Update Visual C++ projects for glib-compile-schemas
Update include path so that gmodule.h can be found.
build/win32/vs10/glib-compile-schemas.vcxproj | 4 ++++
build/win32/vs9/glib-compile-schemas.vcproj | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
commit e09abba4192bf952902e45f126a8e8f156d29fba
Author: Seán de Búrca <
[email protected]>
Date: Mon May 23 00:35:46 2011 -0600
Updated Irish translation.
po/ga.po | 2227
++++++++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 1522 insertions(+), 705 deletions(-)
commit 09df90df293a573f5820ec99acd4f543f4a3aa98
Author: Matthias Clasen <
[email protected]>
Date: Sat May 21 01:16:24 2011 -0400
bump version
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)