commit 3e6dc0d8fa256a93623b3614a6bfc0e605f8efcb Author: Matthias Clasen Date: Sat Jun 4 18:48:54 2011 -0400 2.29.6 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9a6529442c3e82bb8151f7ed72edd72559c4fc63 Author: Matthias Clasen Date: Sat Jun 4 19:05:19 2011 -0400 Fix doc syntax gio/gcontenttype.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 01f63b19f9f0ddfff3ccfbb1a15ba6e3d68d9c67 Author: Matthias Clasen Date: Sat Jun 4 18:44:44 2011 -0400 Fix links in gio docs docs/reference/gio/migrating-gconf.xml | 7 ++--- gio/gaction.c | 18 ++++++++-------- gio/gactiongroup.c | 34 ++++++++++++++++--------------- gio/gactiongroup.h | 22 ++++++++++---------- gio/gappinfo.c | 10 ++++---- gio/gasyncinitable.c | 19 ++++++++--------- gio/gdbusconnection.c | 8 ++---- gio/gfileinfo.c | 2 +- gio/gicon.c | 2 +- gio/gproxy.c | 2 +- gio/gsocketclient.c | 6 ++-- gio/gsocketservice.c | 22 ++++++++++---------- gio/gthreadedsocketservice.c | 6 ++-- gio/gtlsconnection.c | 6 ++-- gio/gunixcredentialsmessage.c | 2 +- gio/gunixmounts.c | 2 +- 16 files changed, 83 insertions(+), 85 deletions(-) commit cb9c92cdb4e4141adab4c43825ad114f16e1b473 Author: Yaron Shahrabani Date: Sun Jun 5 01:05:03 2011 +0300 Updated Hebrew translation. po/he.po | 141 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 96 insertions(+), 45 deletions(-) commit 594bf7460a321a6a65743dff960d017b086e3aba Author: Matthias Clasen 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 75f7eef9cd1f4bdbae6c75c53ed340ea8b5ba4c5 Author: Matthias Clasen Date: Sat Jun 4 11:57:10 2011 -0400 Fix doc typos Now with fewer broken links... docs/reference/glib/building.sgml | 2 +- docs/reference/glib/running.sgml | 2 +- docs/reference/glib/tmpl/macros_misc.sgml | 7 ++- docs/reference/glib/tmpl/queue.sgml | 4 +- glib/garray.c | 3 +- glib/gdataset.c | 4 +- glib/gdatetime.c | 4 +- glib/giochannel.c | 2 +- glib/glib-unix.c | 2 +- glib/gmain.c | 8 +- glib/gmarkup.c | 2 +- glib/gqueue.c | 2 +- glib/gsequence.c | 107 ++++++++++++++++------------- glib/gtree.c | 28 ++++---- 14 files changed, 97 insertions(+), 80 deletions(-) commit 3b9c8962dc470a451fa639067faa39fb8fc85f95 Author: Matthias Clasen Date: Sat Jun 4 11:46:10 2011 -0400 configure.in: Use tar-ustar to avoid name length limitations Also use dist-bzip2. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 635f5373c238bdb4cba6781b705319f869404e94 Author: David Zeuthen Date: Sat Jun 4 12:43:00 2011 -0400 Fix up gdbus invocation in example Signed-off-by: David Zeuthen docs/reference/gio/gdbus.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0b41002474abd7a95c53b76fba937a922aa0ea86 Author: David Zeuthen Date: Sat Jun 4 12:33:39 2011 -0400 gdbus: Add a way to emit a signal See https://bugs.freedesktop.org/show_bug.cgi?id=37890#c6 where it was discovered that dbus-send(1) actually doesn't work (either libdbus-1's flush implementation or dbus-send(1)'s usage of it is broken) so it's useful to have here. Signed-off-by: David Zeuthen docs/reference/gio/gdbus.xml | 43 ++++++++- gio/gdbus-tool.c | 203 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 242 insertions(+), 4 deletions(-) commit 0c8bb8d479d0c6992bc82508aff69d61a340c694 Author: David Zeuthen Date: Sat Jun 4 11:52:08 2011 -0400 Fix typos in "Migrating to GDBus" docs It's Skeleton now, not Stub. Signed-off-by: David Zeuthen docs/reference/gio/migrating-gdbus.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 87dc08ee4d7e5dac7db80a5642cb85e1f40e1ce8 Author: Matthias Clasen Date: Sat Jun 4 10:46:38 2011 -0400 Distcheck fixes Fix VPATH builds. gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1aa348c14c349d73ded8c9165c532feb463bc187 Author: Matthias Clasen Date: Sat Jun 4 10:45:30 2011 -0400 Distcheck fixes Accidentally committed debug leftover. gio/abicheck.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c40199b450f1abef30d9514e3ec34b52669add9a Author: Matthias Clasen Date: Sat Jun 4 08:13:48 2011 -0400 Update NEWS NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 71 insertions(+), 6 deletions(-) commit e32a9406b1b3089e551cd8baa0824874c0de64cc Author: Yaron Shahrabani Date: Sat Jun 4 13:44:19 2011 +0300 Updated Hebrew translation. po/he.po | 186 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 97 insertions(+), 89 deletions(-) commit c5d9a46394a147c8a6c8708046e7459c55d477e4 Author: Paolo Bonzini 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 1e88c5321c1fede65e150898f3e298052add241c Author: Matthias Clasen 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 77be95cdce7f875a10576ac72624024b04b86a65 Author: Matthias Clasen 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 deed4dd36b3d0f4913a1350536dce0cd010b0549 Author: Matthias Clasen 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 69efeee287f752befdcaae94f5ec981b33be6377 Author: Mikhail Zabaluev 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 1b101a38730f151b70f0ada607dbd8e43778f980 Author: Mikhail Zabaluev 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 f065d7d60e2b6110705b1b32f050ccad0bcde62f Author: Matthew Barnes Date: Sat Oct 16 07:40:44 2010 -0400 Have g_queue_remove() return a boolean g_queue_remove() should return a boolean so callers can verify that an element was found and removed, as in the following example: if (g_queue_remove (queue, referenced_object)) g_object_unref (referenced_object); Similarly, g_queue_remove_all() should return the number of elements found and removed. https://bugzilla.gnome.org/show_bug.cgi?id=632294 glib/gqueue.c | 19 +++++++++++++++---- glib/gqueue.h | 4 ++-- 2 files changed, 17 insertions(+), 6 deletions(-) commit 496157ffd3350799198e32e1002a19fc8be3ea83 Author: Wim Taymans 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 fca330dafa9a77edc58a30b6128eaf466d4a2ba7 Author: Alexander Larsson Date: Wed May 25 11:56:51 2011 +0200 Use g_atomic_pointer_or/and to set datalist flags https://bugzilla.gnome.org/show_bug.cgi?id=650458 glib/gdataset.c | 20 ++++---------------- 1 files changed, 4 insertions(+), 16 deletions(-) commit 0a918c0d2a9af992fd100f5608783cffa1a752fc Author: Alexander Larsson Date: Thu May 19 21:55:16 2011 +0200 Make g_object_get_data use the new faster g_datalist_get_data https://bugzilla.gnome.org/show_bug.cgi?id=650458 gobject/gobject.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit 1cceda49b60bfd9b326e11996a5c77b10987e57a Author: Alexander Larsson Date: Thu May 19 21:51:49 2011 +0200 Make g_datalist_get_data not look up the quark Instead of converting the string to a quark and comparing quarks we use the new lockless g_quark_to_string and just compare the quarks in the datalist with the given string. This means we avoid the global lock for string to quark. Additionally most of the time the data list will be quite short, so the cost of doing the sting comparisons is likely similar to that of the quark hashtable lookup (which does at least one string comparison for a successfull lookup). https://bugzilla.gnome.org/show_bug.cgi?id=650458 glib/gdataset.c | 52 ++++++++++++++++++++++++++++++++++++++++++---------- glib/gdataset.h | 4 ++-- glib/glib.symbols | 1 + 3 files changed, 45 insertions(+), 12 deletions(-) commit 7ae5e9c2487dc23d6b584d1508f38f5e89700181 Author: Alexander Larsson Date: Thu May 19 21:30:38 2011 +0200 Make quark to string lockless We do this by assigning to g_quarks atomically and leaking it when replacing it atomically. Then its safe to consume the array on the reader side (atomically). Also, since we're leaking quarks on growing, bump the block size so that we're not leaking as much. gtk3-demo allocates > 1500 quarks, and gnome apps > 3000. I'm setting the block to 2048 which means no leaks for small gtk3 apps and just one leak for gnome apps. https://bugzilla.gnome.org/show_bug.cgi?id=650458 glib/gdataset.c | 37 ++++++++++++++++++++++++++----------- 1 files changed, 26 insertions(+), 11 deletions(-) commit 3f8638ce9335511f12207f2fcbc81847c18d4b49 Author: Alexander Larsson Date: Thu May 19 14:48:50 2011 +0200 Make g_datalist not use a global lock and perform better This implementation uses a per-list bitlock for user data, and a simple array rather than a linked list which uses less memory and less allocations. It also gets better cache behaviour since related things are stored close to each other. https://bugzilla.gnome.org/show_bug.cgi?id=650458 glib/gdataset.c | 404 +++++++++++++++++++++++++++++++++---------------------- 1 files changed, 244 insertions(+), 160 deletions(-) commit 4cd0b86103c987a41ce1ebeb1eee8ad6cf9eac30 Author: Matthias Clasen Date: Fri Jun 3 20:54:32 2011 -0400 Add pointer bitlocks to the docs docs/reference/glib/glib-sections.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit df0b208831a797f402d9f86263e6fa5378da47cc Author: Ryan Lortie Date: Wed May 25 11:08:20 2011 +0200 Implement pointer sized bitlocks Based on a patch from Alexander Larsson. https://bugzilla.gnome.org/show_bug.cgi?id=651467 glib/gbitlock.c | 193 ++++++++++++++++++++++++++++++++++++++++++++ glib/gbitlock.h | 29 +++++++ glib/glib.symbols | 3 + gthread/tests/1bit-mutex.c | 50 +++++++++--- 4 files changed, 265 insertions(+), 10 deletions(-) commit 1a80405a36eae6777cf8dc809da5883ba666f41c Author: Ryan Lortie Date: Fri Jun 3 20:29:41 2011 +0200 bitlock: hand-code assembly version for x86 The __sync_fetch_and_or() operation on x86 is a bit suboptimal when the result isn't ignored. Normally we could use the 'lock or' assembly instruction to accomplish this, but this instruction discards the previous value. In order to work around this issue, GCC is forced to emit a compare-and-exchange loop. We can easily use the 'lock bts' instruction, though. It can't be used in the general case for __sync_fetch_and_or() but it works great for our case (test and set a single bit). I filed a bug against GCC[1] to get this exposed as a new intrinsic (or have the optimiser detect the case) but until then we'll hand-code it on x86 and amd64. The uncontended case sees a 31% improvement on my test machine. [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49244 https://bugzilla.gnome.org/show_bug.cgi?id=651467 glib/gbitlock.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 54 insertions(+), 3 deletions(-) commit f2bd54d0c5e3093ad141de6142277a27b82147e1 Author: Giovanni Campagna 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 53ced63c6d4e0df502c6396133dfe67e15f1712b Author: David Zeuthen Date: Fri Jun 3 14:45:29 2011 -0400 Fix include path for gdbus-codegen example XML Signed-off-by: David Zeuthen docs/reference/gio/migrating-gdbus.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6d54505b2d0e873fa69f1e2fdba1e23c5136f7f3 Author: David Zeuthen Date: Fri Jun 3 14:39:04 2011 -0400 Fix docs for D-Bus introspection data structures Mark structs as boxed types and use /*< public >*/ so the struct members are properly shown. Signed-off-by: David Zeuthen docs/reference/gio/gio.types | 7 +++++++ gio/gdbusintrospection.h | 7 +++++++ 2 files changed, 14 insertions(+), 0 deletions(-) commit 723adbc2feb72b980b6a62579eaa993b190ca1d3 Author: David Zeuthen Date: Fri Jun 3 13:22:31 2011 -0400 Move gdbus-codegen example code and docs into separate directories This avoids the generated types (e.g. ExampleAnimal, ExampleCat, ExampleObject and ExampleObjectManagerClient) being referenced in the core gio docs. This was requested by Matthias. Signed-off-by: David Zeuthen configure.ac | 2 + docs/reference/gio/Makefile.am | 3 +- .../gio/gdbus-object-manager-example/Makefile.am | 68 +++++++++ .../gdbus-object-manager-example-docs.xml | 17 ++ .../gdbus-object-manager-example-sections.txt | 157 +++++++++++++++++++ .../gdbus-object-manager-example.types | 10 ++ docs/reference/gio/gio-sections.txt | 158 -------------------- docs/reference/gio/gio.types | 10 -- docs/reference/gio/migrating-gdbus.xml | 12 +- gio/Makefile.am | 28 ---- gio/gdbus-example-objectmanager.xml | 65 -------- gio/tests/Makefile.am | 8 +- gio/tests/gdbus-object-manager-example/Makefile.am | 48 ++++++ .../gdbus-example-objectmanager.xml | 65 ++++++++ 14 files changed, 381 insertions(+), 270 deletions(-) commit 3bd3067ffc1617b2fe96498b18b68aa7f2644487 Author: Colin Walters Date: Thu Jun 2 17:14:58 2011 -0400 gobject: Use _ prefixing in private headers over G_GNUC_INTERNAL in public headers This helps out gtk-doc and g-ir-scanner, and also makes much clearer what's private versus public. https://bugzilla.gnome.org/show_bug.cgi?id=651745 docs/reference/gobject/gobject-sections.txt | 10 ---------- docs/reference/gobject/tut_gtype.xml | 2 +- gobject/gboxed.c | 2 +- gobject/genums.c | 3 ++- gobject/gobject.c | 3 ++- gobject/gparam.c | 2 +- gobject/gparamspecs.c | 3 ++- gobject/gsignal.c | 4 ++-- gobject/gtype-private.h | 10 ++++++++++ gobject/gtype.c | 18 +++++++++--------- gobject/gtype.h | 12 ------------ gobject/gvalue.c | 2 +- gobject/gvaluetransform.c | 3 ++- gobject/gvaluetypes.c | 3 ++- 14 files changed, 35 insertions(+), 42 deletions(-) commit d51198baad17f88e046300a9375619b4bffcd881 Author: Colin Walters Date: Thu Jun 2 11:53:25 2011 -0400 spawn-multithreaded: New test case We didn't have any coverage of threads spawning processes, which we should definitely support. https://bugzilla.gnome.org/show_bug.cgi?id=651725 gthread/tests/Makefile.am | 9 ++- gthread/tests/spawn-multithreaded.c | 231 +++++++++++++++++++++++++++++++++++ gthread/tests/test-spawn-echo.c | 39 ++++++ 3 files changed, 278 insertions(+), 1 deletions(-) commit c34a6a66e7b918983b561ee8ff1cf7abd3f4b347 Author: Colin Walters Date: Thu Jun 2 09:10:36 2011 -0400 gmain: Consolidate UNIX signal init state handling For a future signalfd() patch, it will be easier to handle if we don't separate initialization from watching for a particular signal. https://bugzilla.gnome.org/show_bug.cgi?id=651725 glib/gmain.c | 61 +++++++++++++++++++++++++-------------------------------- 1 files changed, 27 insertions(+), 34 deletions(-) commit 6ea274bca41de8fc6de11d0a5eda22c0efc69ac9 Author: Colin Walters Date: Thu Jun 2 08:56:25 2011 -0400 gmain: Clean up SIGCHLD handling Unify it more with the rest of the signal handling code. There's no reason not to specify SA_RESTART and SA_NOCLDSTOP for flags always, so just do it. Remove unnecessary initialization, and push the internal API towards just ensure_unix_signal_handler_installed_unlocked(). https://bugzilla.gnome.org/show_bug.cgi?id=651725 glib/gmain.c | 31 ++++++------------------------- 1 files changed, 6 insertions(+), 25 deletions(-) commit 16bdb12e6dcb690d56baf52a34ba674052d39b6e Author: Hanro 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 7ed328aaf01acdc2537498c9617129e4c3004608 Author: Colin Walters Date: Wed Jun 1 15:11:02 2011 -0400 gdbus: Avoid blocking on worker thread in connection initialization I can't see a reason to spin until the worker thread runs, so don't. This avoids ugly sched_yield() calls that show up in strace and annoy me; the code is cleaner now too. We now grab the types needed for the WebKit workaround in the thread creation area, but only release them when the thread itself exits. https://bugzilla.gnome.org/show_bug.cgi?id=651650 gio/gdbusprivate.c | 182 +++++++++++++++++++--------------------------------- 1 files changed, 65 insertions(+), 117 deletions(-) commit a588974561532ba5d10971ee95065b4db33a1e1f Author: Matthias Clasen 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 151016922d59facc158fddb51a6ed444fe65569c Author: Matthias Clasen Date: Tue May 31 14:53:30 2011 -0400 Add a note about atomic changes NEWS | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit a06863de605fec0b8a8ba33cd663988256352964 Author: Colin Walters Date: Tue May 31 13:36:16 2011 -0400 Add a boxed type for GVariantBuilder, mark GVariantIter as (skip) Based on a patch by Giovanni Campagna From discussion, GVariantIter is not useful for bindings, but GVariantBuilder may be. https://bugzilla.gnome.org/show_bug.cgi?id=646635 glib/gvariant.c | 2 +- gobject/gboxed.c | 2 ++ gobject/glib-types.h | 10 ++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 14 insertions(+), 1 deletions(-) commit 6af9dd51358c9a3b77872aa2ee9c055994f13835 Author: Colin Walters 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 581ed51f0d0179c61155a324b51cc6f974143016 Author: Colin Walters 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 98ebc596cffcd4d9bb7e48ac124c6311c739ae81 Author: Colin Walters 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 2300be5be38e091aeac55720cf51bc98e7f89790 Author: Colin Walters Date: Tue May 31 10:35:38 2011 -0400 Consistently use G_GNUC_EXTENSION instead of __extension__ g-ir-scanner doesn't like __extension__, and while I can add it, since we have this macro, we should be using it consistently. glib/gatomic.h | 32 ++++++++++++++++---------------- glib/gmacros.h | 2 +- glib/gmem.h | 4 ++-- glib/gtypes.h | 18 +++++++++--------- 4 files changed, 28 insertions(+), 28 deletions(-) commit a84e6f982f465b31aec7365dadfe2c1ad6664e11 Author: muralis 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 fb34889871c40a50c2bde0c5e6fe64acdd121c37 Author: Carles Ferrando Date: Sun May 29 14:04:16 2011 +0200 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 2169 +++++++++++++++++++++++++++++++---------------------- 1 files changed, 1275 insertions(+), 894 deletions(-) commit 59098fcc9b923bca79c091a4fc7980700617efaa Author: Jorge González Date: Sun May 29 09:47:30 2011 +0200 Updated Spanish translation po/es.po | 124 ++++++++++++++++++++++++++++++------------------------------- 1 files changed, 61 insertions(+), 63 deletions(-) commit 807d41b89bcc8d22931dda62b17a6d1a2c8e22ec Author: Matthias Clasen Date: Sun May 29 00:05:07 2011 -0400 Documentation fixups docs/reference/glib/glib-sections.txt | 7 +++++ docs/reference/glib/tmpl/macros.sgml | 3 +- glib/gdatetime.c | 4 +- glib/gkeyfile.c | 3 +- glib/glist.c | 2 +- glib/gmarkup.c | 4 +- glib/gmem.h | 2 +- glib/gsequence.c | 45 +++++++++++++++++--------------- glib/gslist.c | 2 +- 9 files changed, 41 insertions(+), 31 deletions(-) commit 85ab379ac655a82573251b2598d5ed5b6629168b Author: Matthias Clasen Date: Sat May 28 23:27:24 2011 -0400 Clean up includes glib/gatomic.h | 2 +- glib/glib-object.h | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) commit 23b6691428a96c38689a75b1d96ca884fa7dc926 Author: Matthias Clasen Date: Sat May 28 23:15:07 2011 -0400 Reduce excessive whitespace glib/gatomic.h | 64 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 32 insertions(+), 32 deletions(-) commit a3c3aaa499e69764fcc295c5c9acd55d0cf26c9b Author: Matthias Clasen Date: Sat May 28 22:49:59 2011 -0400 Remove redundant comments The comments in gthreadpool.h were duplicating the doc comments in the sources. glib/gthreadpool.h | 35 ----------------------------------- 1 files changed, 0 insertions(+), 35 deletions(-) commit 666adc2dc0c9958fc25fd17d8954e40a5602a019 Author: Matthias Clasen Date: Sat May 28 22:33:37 2011 -0400 Volatile not necessary after all I was temporarily confused. glib/garray.c | 4 ++-- glib/gasyncqueue.c | 2 +- glib/ghash.c | 2 +- glib/gtree.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 53f93aacf3c091322d2674224e75e0d5454dc370 Author: Matthias Clasen Date: Sat May 28 22:03:05 2011 -0400 GTree: Declare ref_count as volatile glib/gtree.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a4f00f39daad6892d3d3368b8d05101c7af8d65d Author: Matthias Clasen Date: Sat May 28 22:02:13 2011 -0400 GAsyncQueue: Make ref_count a volatile gint glib/gasyncqueue.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a33abe9c21c3c749c787619e6a661ca2a12f9b45 Author: Matthias Clasen 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 edc7fde495aaf9819eeeb051a2bcd4f145c055ab Author: Matthias Clasen 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 abf719362a5c17854557542cc21fe93ae04419d7 Author: Matthias Clasen 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 f12650392bcf0ae134c3cd46d4bf0e11468b94d8 Author: Matthias Clasen Date: Sat May 28 21:14:36 2011 -0400 Fix a typo glib/glib-unix.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit d35e83d3372ca484a765dfca2ded8ed5adb61e5a Author: Matthias Clasen Date: Sat May 28 21:12:52 2011 -0400 Documentation tweaks Add Since tags, etc. docs/reference/glib/glib-sections.txt | 1 + glib/gatomic.c | 62 ++++++++++++++++++++++++++------- glib/glib-unix.c | 53 ++++++++++++++++------------ glib/glib-unix.h | 20 +++++----- 4 files changed, 90 insertions(+), 46 deletions(-) commit 2df4750aceec5f774a413f3f8ee7ccaabc5c8880 Author: Neil Roberts 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 0703dbc21f83122ff2d093632549dbbacf192c54 Author: Neil Roberts 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 56c0d0f384ee8033c99a0d6db7fa4ff11d7fe689 Author: Antoine Jacoutot Date: Fri May 27 11:08:13 2011 +0200 Fix compile warnings on OpenBSD. https://bugzilla.gnome.org/show_bug.cgi?id=651223 gio/gnetworkingprivate.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 05c7dcab37af27fc3fb7b64d0aca51fafc0eefe2 Author: Matthias Clasen Date: Sat May 28 18:42:09 2011 -0400 Remove unnecessary casts The new atomic implementations don't need these anymore to avoid warnings. glib/gthread.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit d09443fe20753fc44afd6ac25463ac52861701cb Author: Ryan Lortie Date: Sat May 28 16:41:59 2011 -0400 optimise bitlocks with new atomic operations Add a performance test for bitlocks. Make use of the new g_atomic_int_{and,or} to avoid having to do the usual compare-and-exchange loop. On a test machine, the change increases performance from approximately 20 million uncontended acquire/releases per second to 31 million. glib/gbitlock.c | 27 ++++++++------------------- glib/tests/Makefile.am | 3 +++ glib/tests/bitlock.c | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 19 deletions(-) commit 858a32879291ebb5612c7500fc195c30fb6e8496 Author: Ryan Lortie Date: Sat May 28 17:27:12 2011 -0400 Fix futex(2) detection and use Commit 22e7fc34c44c5ef95abf4fed429f2345410cc82c introduced a regression: futexes were always disabled and the emulated codepath was always being used. That commit was in response to an originally buggy implementationt hat wrote junk into config.h (but happened to be working properly). Fix up the mess and while we're at it, close bug #631231 by including syscall.h from the correct location and using __NR_futex instead of SYS_futex. Closes #631231. configure.ac | 8 +++----- glib/gbitlock.c | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) commit 83821352657a9481dbff6ab04e8ae60566c17d5e Author: Ryan Lortie Date: Sat May 28 15:59:18 2011 -0400 glib: Rewrite gatomic.[ch] - remove all inline assembly versions - implement the atomic operations using either GCC intrinsics, the Windows interlocked API or a mutex-based fallback - drop gatomic-gcc.c since these are now defined in the header file. Adjust Makefile.am accordingly. - expand the set of operations: support 'get', 'set', 'compare and exchange', 'add', 'or', and 'xor' for both integers and pointers - deprecate g_atomic_int_exchange_and_add since g_atomic_int_add (as with all the new arithmetic operations) now returns the prior value - unify the use of macros: all functions are now wrapped in macros that perform the proper casts and checks - remove G_GNUC_MAY_ALIAS use; it was never required for the integer operations (since casting between pointers that only vary in signedness of the target is explicitly permitted) and we avoid the need for the pointer operations by using simple 'void *' instead of 'gpointer *' (which caused the 'type-punned pointer' warning) - provide function implementations of g_atomic_int_inc and g_atomic_int_dec_and_test: these were strictly macros before - improve the documentation to make it very clear exactly which types of pointers these operations may be used with - remove a few uses of the now-deprecated g_atomic_int_exchange_and_add - drop initialisation of gatomic from gthread (by using a GStaticMutex instead of a GMutex) - update glib.symbols and documentation sections files Closes #650823 and #650935 docs/reference/glib/glib-sections.txt | 21 +- glib/Makefile.am | 8 +- glib/gatomic-gcc.c | 104 --- glib/gatomic.c | 1608 +++++++++++++-------------------- glib/gatomic.h | 312 ++++--- glib/glib.symbols | 13 +- glib/gthread.c | 1 - glib/gthreadpool.c | 2 +- glib/tests/atomic.c | 2 - gobject/gobject.c | 4 +- 10 files changed, 830 insertions(+), 1245 deletions(-) commit 2fb57ff46f32316e991ab9f99daa5fce4885f097 Author: Matthias Clasen Date: Sat May 28 14:29:08 2011 -0400 Quiet down the build a bit gio/Makefile.am | 2 +- gio/tests/Makefile.am | 6 +++--- glib/Makefile.am | 6 +++--- glib/libcharset/Makefile.am | 8 ++++---- gobject/Makefile.am | 10 +++++----- po/Makefile.in.in | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) commit ae85e3b7b69f9c069cdcc090832802bc772c9822 Author: Matthias Clasen Date: Sat May 28 13:59:20 2011 -0400 Quell warnings from g_once_init_enter_impl glib/gthread.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f5bc2e00c730866c72ab143375320a29897552a6 Author: Matthias Clasen 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 22cc6ce67959af79d317229225aaf252bd5234da Author: Simon McVittie 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 e83210425fb407e6fa7be2dcc7ac53d4d30e9a7c Author: Simon McVittie 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 83f1b12388fc36128dac84729f433eff8183ff45 Author: Simon McVittie 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 b05f0b351c46a8f97bf7e9d62f5dd4074ca78486 Author: Simon McVittie 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 d5f0ec1e8eb4523684e06efa306f54bafee3a117 Author: Simon McVittie 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 b6fd3c3dac9cbffc0f45162b289f625e61eb1319 Author: Daniel Mustieles Date: Sat May 28 10:27:31 2011 +0200 Updated Spanish translation po/es.po | 201 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 102 insertions(+), 99 deletions(-) commit 00734ef99f2c10bcd25fd85a453712a46d3cf806 Author: Matthias Clasen Date: Sat May 28 00:16:39 2011 -0400 Add macro version for all atomic operations Better to be consistent about this. glib/gatomic.h | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) commit 7cf112225399ffa262082727bf4f434d57568e30 Author: Matthias Clasen Date: Sat May 28 00:04:10 2011 -0400 Use G_STATIC_ASSERT_EXPR for size checks in atomic macros Also add the same size checks to the macros wrapping gcc builtins. glib/gatomic.h | 50 +++++++++++++++++++++++++++++--------------------- 1 files changed, 29 insertions(+), 21 deletions(-) commit edd65baa6d9f6b951f093a15b6fcb5771e3397e0 Author: Ryan Lortie Date: Tue May 24 02:07:55 2011 -0400 Add a test case for atomic ops Make sure that the macros work properly with the range of types that they are documented to work with and ensure that no strict aliasing warnings are issued (even at the highest warning level). https://bugzilla.gnome.org/show_bug.cgi?id=650935 glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 4 ++++ glib/tests/atomic.c | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 0 deletions(-) commit c00ef0a17aba057698eab4d4a769b358511370cd Author: Ryan Lortie Date: Sun May 22 12:44:12 2011 -0400 Add G_STATIC_ASSERT_EXPR macro https://bugzilla.gnome.org/show_bug.cgi?id=626549 docs/reference/glib/tmpl/macros_misc.sgml | 18 ++++++++++++++++++ glib/gmacros.h | 1 + 2 files changed, 19 insertions(+), 0 deletions(-) commit 64d5a0404adc1658711631b773e29a5d43f9a1c6 Author: Matthias Clasen 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 7d0eac03e9cd88b33f68a7a451992d1f222573a2 Author: Matthias Clasen 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 dfcac7b23e7cfbefc02f2d8772970340d7dd7fb5 Author: Colin Walters 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 5345d21150848d9865f8bd2cd562a2484849db9b Author: Matthias Clasen Date: Fri May 27 16:08:57 2011 -0400 forgotten test glib/tests/hash.c | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 133 insertions(+), 0 deletions(-) commit 39ba9c8e49a23c6f8a65e68af64ad5a52c26db08 Author: Giovanni Campagna 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 glib/gvariant-core.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e61fa51fd5acd6f448a2200e737b7bea033066f9 Author: Giovanni Campagna 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 77f4f5aa02458e6c7f909dc6087a39d9b75d0ba6 Author: Antoine Jacoutot Date: Fri May 27 15:51:08 2011 +0200 Add glib credentials support to OpenBSD. https://bugzilla.gnome.org/show_bug.cgi?id=650885 gio/gcredentials.c | 54 ++++++++++++++++++++++++++++++++++++ gio/gdbusauth.c | 6 ++-- gio/gioenums.h | 4 ++- gio/gsocket.c | 13 +++++++- gio/gunixconnection.c | 72 +++++++++++++++++++++++++++++++++++------------- 5 files changed, 123 insertions(+), 26 deletions(-) commit 2ee470a71fdc3707cf4e093b22ab0f46ffab82e2 Author: Antoine Jacoutot 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 5d7b67a6c361f747c8ac32d18248cc0923fe73aa Author: Matthias Clasen Date: Thu May 26 21:52:50 2011 -0400 Preserve consistency when removing all nodes from a hash table During the recent refactorings of GHashTable a bug was introduced where removing all nodes from a hash table would leave tombstones behind, but make the counts appear like there are none. Reported and tracked down by Carlos Garnacho, https://bugzilla.gnome.org/show_bug.cgi?id=651141 This commit also adds a test that checks the internal consistency of GHashTable over several insert/remove/remove-all operations. glib/ghash.c | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit b92861b5a0fd4be7b5b5e494c424b0e8d48a6b7f Author: David Schleef 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 25440ce014dd555cbb60b3964f8a19b5674523da Author: David Zeuthen Date: Thu May 26 10:18:44 2011 -0400 GDBusProxy: Mention gdbus-codegen in docs Signed-off-by: David Zeuthen gio/gdbusproxy.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) commit 06f5de77f04f16480e642f7efee9dc4bdfba6778 Author: David Zeuthen Date: Thu May 26 10:07:38 2011 -0400 GDBusProxy: Fix incorrect locking Pointed out by mclasen. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) commit c0f4a63c89332ee18c1ddf1fe48fe04b16b27fa3 Author: David Zeuthen Date: Thu May 26 09:54:47 2011 -0400 GDBusProxy: Add locking and notes/guarantees about MT safety This was discussed in https://bugzilla.gnome.org/show_bug.cgi?id=651133 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 44 insertions(+), 4 deletions(-) commit 7e0f890e3811c23d331079c3e878d0c1df4ae282 Author: David Zeuthen Date: Thu May 26 09:26:29 2011 -0400 GDBusProxy: Fix race condition when unsubscribing from signals This was reported in bug 651133. https://bugzilla.gnome.org/show_bug.cgi?id=651133 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 116 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 97 insertions(+), 19 deletions(-) commit 9936f961ba0f71e6097436264a79ba801cebbbf5 Author: Richard Hughes 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 30672af7ff881ceaf9834385afd6138a969147c8 Author: Marc-André Lureau Date: Wed May 11 16:42:14 2011 +0200 gthread: build unix tests only on unix The build fails when compiling with mingw32. Correct the build of a unix tests on unix only. https://bugzilla.gnome.org/show_bug.cgi?id=649973 gthread/tests/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 3f569d2b5b00d5f65c8332bb54588d701937d1e2 Author: David Zeuthen Date: Tue May 24 07:34:30 2011 -0400 gdbus-codegen: Fix up example to not use non-existant method Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) commit ab18737eade8626ca7e3ed6e1eec7dca34a42b0b Author: David Zeuthen Date: Tue May 24 00:27:43 2011 -0400 gdbus-codegen: Properly render @param and %TRUE in generated Docbook Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 3 + gio/gdbus-codegen/codegen.py | 100 +++++++++++++++++----------------- gio/gdbus-codegen/codegen_docbook.py | 22 +++++--- 3 files changed, 67 insertions(+), 58 deletions(-) commit 263ce3042ccf596f5cd59b1defa546df2602597d Author: David Zeuthen Date: Mon May 23 23:22:04 2011 -0400 gdbus-codegen: Handle unexpected XML tags This was reported in bug 650874. Add tests. https://bugzilla.gnome.org/show_bug.cgi?id=650874 Signed-off-by: David Zeuthen gio/gdbus-codegen/parser.py | 26 ++++++++++++++++---------- gio/tests/test-codegen.xml | 23 +++++++++++++++++++++++ 2 files changed, 39 insertions(+), 10 deletions(-) commit 0aae977ac13966120f3efc1bcdac4d5be1d97aa3 Author: Giovanni Campagna Date: Thu Apr 21 23:45:59 2011 +0200 gdbusintrospection: fix introspection of DBus Introspection structures Correctly mark fields as arrays (requires changing gobject-introspection to pick those). https://bugzilla.gnome.org/show_bug.cgi?id=646635 gio/gdbusintrospection.h | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) commit eabad1923e7b0f133f8f38e57601a97521e38cfe Author: Ray Strode Date: Mon May 23 13:39:09 2011 -0400 Revert "gsettings-tool: warn if setting a value fails" This reverts commit ea57feff96f13bbd4d03a76040a4ddfad2677310. It makes the gsettings tool fail any time it tries to set a key to a value, that the key already has. https://bugzilla.gnome.org/show_bug.cgi?id=641768 gio/gsettings-tool.c | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) commit ce0f7cafa1746a94f90b74860c2890b6c18ca385 Author: Antoine Jacoutot Date: Mon May 23 19:11:10 2011 +0200 Fix build with gcc-2.*. https://bugzilla.gnome.org/show_bug.cgi?id=650884 gio/tests/gdbus-connection.c | 4 ++-- gio/tests/memory-output-stream.c | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) commit c61fd66e77b6db4a6e73acaf5cdaf8bc74b3d914 Author: Seán de Búrca Date: Mon May 23 00:35:46 2011 -0600 Updated Irish translation. po/ga.po | 2227 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 1522 insertions(+), 705 deletions(-) commit 77110304cc3e01f60235286b61082ea6dd602d06 Author: Matthias Clasen Date: Mon May 23 00:48:10 2011 -0400 Cosmetic changes Use inc/dec for refcounting. glib/gregex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 88f23fb1d9aa0f84cbeebe086db022864a7eb3be Author: Matthias Clasen Date: Mon May 23 00:40:33 2011 -0400 Cosmetics Use g_atomic_int_inc/dec instead of add(...,1/-1), since this is the way refcounting is done elsewhere. Some other cosmetic changes. glib/ghash.c | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) commit b5056fbaf90829e2190458447d9c0f31e0179dc3 Author: Matthias Clasen Date: Mon May 23 00:21:06 2011 -0400 Simply symbols files The grouping in files/headers is not used anymore, and the function attributes neither. Adapt abicheck scripts and .def file generation rules accordingly. gio/abicheck.sh | 4 +- gio/gio.symbols | 1013 ++++++++--------------------------------------- glib/Makefile.am | 2 +- glib/abicheck.sh | 2 +- glib/glib.symbols | 781 ++++++++----------------------------- gobject/abicheck.sh | 2 +- gobject/gobject.symbols | 147 ++------ 7 files changed, 353 insertions(+), 1598 deletions(-) commit dec7d41275b025e94beb16f656ce0db70286469f Author: Matthias Clasen Date: Sun May 22 16:31:43 2011 -0400 Improve atomic ops implementation When using gcc builtins for atomic operations, provide them as macros, so gcc can see the builtins and do optimizations. This change gives considerable speedups in bitlocks, which use atomic operations heavily, see bug 650458. Also, don't define G_ATOMIC_OP_MEMORY_BARRIER_NEEDED unconditionally when using gcc builtins. https://bugzilla.gnome.org/show_bug.cgi?id=617491 configure.ac | 12 ++++++------ glib/gatomic-gcc.c | 40 ++++++++++++++++++++++++++++------------ glib/gatomic.h | 32 +++++++++++++++++++++++++++++++- 3 files changed, 65 insertions(+), 19 deletions(-) commit 9255350a70ea53f719b395d200b9e35a5dcb6d3c Author: Matthias Clasen Date: Sun May 22 01:29:22 2011 -0400 Add some atomic ops tests gthread/tests/Makefile.am | 4 ++ gthread/tests/atomic.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 0 deletions(-) commit 22e7fc34c44c5ef95abf4fed429f2345410cc82c Author: Matthias Clasen Date: Sun May 22 00:33:05 2011 -0400 Fix HAVE_FUTEX definition configure.ac | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit f92438463464c827a1f28d7a1c42bc74a75bdb72 Author: Matthias Clasen Date: Sat May 21 20:56:04 2011 -0400 Trivial: fix a typo glib/ghash.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit c38b7d769e57e8be6f8c43c4f306396740559306 Author: Matthias Clasen Date: Sat May 21 11:14:05 2011 -0400 Revert "g_key_file_has_key_full: Clarify the docs" This reverts commit 4ddb84999d47816624f9ae7dcba181cbccd5c4d9. glib/gkeyfile.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 4ddb84999d47816624f9ae7dcba181cbccd5c4d9 Author: Matthias Clasen Date: Sat May 21 11:12:08 2011 -0400 g_key_file_has_key_full: Clarify the docs glib/gkeyfile.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 120b85a31b061f17608a3b691d412ef17ca93681 Author: Matthias Clasen Date: Fri May 20 15:07:08 2011 -0400 Enforce rules about modifying hash tables in callbacks We have the infrastructure to do this, so lets do it. Also add tests for find and foreach to the testsuite. Bug 650688 glib/ghash.c | 44 +++++++++++++++++++++++------ glib/tests/hash.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 9 deletions(-) commit afc5319a273d2154cb725110f170a7e7c6b87076 Author: Matthias Clasen Date: Thu May 19 23:50:03 2011 -0400 Be more careful when calling destroy notifies If we are, we can allow modification of the hash table from destroy notifies. https://bugzilla.gnome.org/show_bug.cgi?id=650459 glib/ghash.c | 110 ++++++++++++++++++++++++++++++----------------------- glib/tests/hash.c | 29 ++++++++++++++ 2 files changed, 91 insertions(+), 48 deletions(-) commit 7c63370e3a81c9d6138924e88d868005414c08aa Author: Giovanni Campagna Date: Sun Apr 3 15:51:04 2011 +0200 GObject: move GLib type definitions to a separate header This way it is possible to pull them into the GLib GIR file. Some cleanups by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=646635 gobject/Makefile.am | 7 +- gobject/gboxed.h | 152 ++---------------------------------- gobject/glib-types.h | 192 ++++++++++++++++++++++++++++++++++++++++++++++ gobject/gsourceclosure.h | 17 +---- 4 files changed, 205 insertions(+), 163 deletions(-) commit 9793919d7b6a1469f1d7b43a500cd4ec99234621 Author: Ryan Lortie Date: Wed May 18 17:56:50 2011 -0400 Whitespace fixes gio/gapplication.c | 10 +++++----- gio/gapplicationcommandline.c | 4 ++-- gio/gapplicationimpl-dbus.c | 2 +- gio/gsettings-tool.c | 18 +++++++++--------- 4 files changed, 17 insertions(+), 17 deletions(-) commit 0e63b57eea5b1785a9831864aa2fac5ec29d26a1 Author: Ryan Lortie Date: Wed May 18 17:53:07 2011 -0400 GApplication: fix remote action states Fix up remote_action_info_new_from_iter() to do its job better and use it from all places that it's appropriate. Closes #650236. gio/gapplicationimpl-dbus.c | 55 ++++++++++++++++++++++++------------------ 1 files changed, 31 insertions(+), 24 deletions(-) commit 0e10116b3b2c26a30722317ebf4347f1c2d964a9 Author: Ryan Lortie Date: Wed May 18 16:12:04 2011 -0400 Add debug output to GApplication actions example Enough to clearly demonstrate bug #650236. gio/tests/gapplication-example-actions.c | 43 ++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 2 deletions(-) commit 3f3b2bd82b9674d22cd64d76af68ddbc9cf80115 Author: Jasper Lievisse Adriaanse Date: Wed May 18 12:01:44 2011 -0400 gatomic: #include gthread.h to fix compilation on nonoptimized architectures The fallback case of implementing atomic integers with mutexes needs gthread.h. Commit message written by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=631153 glib/gatomic.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5645c7aa41c25de39943db2099699ea66e2cad6e Author: Colin Walters Date: Wed May 18 11:57:21 2011 -0400 gtype: Remove unused variable gobject/gtype.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 9966fe4493455dcdfe64483a50676891a878c72b Author: Colin Walters Date: Mon May 16 15:30:31 2011 -0400 g_key_file_has_key_full: New function to fix g_key_file_has_key()'s GError semantics See https://bugzilla.gnome.org/show_bug.cgi?id=649657 for discussion of why it's bad for bindings for gerror return values to both signal errors and carry meaning. https://bugzilla.gnome.org/show_bug.cgi?id=650345 docs/reference/glib/glib-sections.txt | 1 + glib/gkeyfile.c | 54 +++++++++++++++++++++++++++++++-- glib/gkeyfile.h | 5 +++ glib/glib.symbols | 1 + glib/tests/keyfile.c | 16 ++++++++++ 5 files changed, 74 insertions(+), 3 deletions(-) commit b539004d1327a787940a98d6d249225e574eb338 Author: Gabor Kelemen Date: Wed May 18 12:39:31 2011 +0200 Fix short day names in Hungarian translation po/hu.po | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit f529dc0e086f604a52ddb72f1a5baf48a9b78a29 Author: Chun-wei Fan Date: Wed May 18 11:14:00 2011 +0800 Update Visual C++ README.txt Correct the unpacking path of GLib... build/win32/vs10/README.txt | 4 ++-- build/win32/vs9/README.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 8148a3c396a76012da6fc2241128a2b428c818ff Author: Ryan Lortie Date: Tue May 17 11:58:46 2011 -0400 Fix gsettings tool string handling There are some bugs caused by the way that gsettings-tool currently attempts to help the user when they leave the quotes off of a string value that they are setting. Simplify the code to make it more robust and add some comments about why it should be done this way. https://bugzilla.gnome.org/show_bug.cgi?id=649915 gio/gsettings-tool.c | 36 ++++++++++++++++++++++++------------ 1 files changed, 24 insertions(+), 12 deletions(-) commit d9440687ff13bd36b8c5696ce84327999589d04e Author: Benjamin Otte Date: Tue May 17 14:58:39 2011 +0200 gobject: Speed up g_type_from_name() The hash table used exclusively for looking up types by name used to map quarks => types. But we can easily make it map strings => types, which avoids the quark lookup. And that in trun avoids taking a lock and consulting another hash table. So this change should make g_type_from_name() roughly twice as fast. gobject/gtype.c | 18 +++++------------- 1 files changed, 5 insertions(+), 13 deletions(-) commit aeac5de2f8eeaadcdc7e021694d92470834fece8 Author: John Lindgren Date: Mon May 16 23:03:30 2011 -0400 keyfile: fill parse buffer in line sized chunks When loading a keyfile the incoming bytes are fed to a line buffer to get parsed each time a new line is encountered. The code that fills the line buffer does it inefficiently, one byte at a time. This commit changes that code to look ahead at the incoming bytes for the next '\n' character and then fill the line buffer all at once. https://bugzilla.gnome.org/show_bug.cgi?id=650211 glib/gkeyfile.c | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) commit 9c1a44cf32ebeee00a0e2303832b9cea26c93b76 Author: John Lindgren Date: Mon May 16 22:27:11 2011 -0400 keyfile: avoid needless allocations on file load When loading a key file, the keys and values of individual lines are allocated once when copied and trimmed from the parse buffer and allocated/copied again when added to the lookup map. This commit avoids the second pair of allocations by introducing a new function g_key_file_add_key_value_pair that gives the lookup map direct ownership of the key and value copied from the parse buffer. https://bugzilla.gnome.org/show_bug.cgi?id=650211 glib/gkeyfile.c | 36 +++++++++++++++++++++++++++++------- 1 files changed, 29 insertions(+), 7 deletions(-) commit f96dc555d5b56aa56ad1d77bb3fde685ca612e68 Author: Matthias Clasen Date: Mon May 16 14:38:45 2011 -0400 Rename a problematic test binary Having a binary called printf is apparently asking for trouble, so lets not do that. http://bugzilla.gnome.org/show_bug.cgi?id=650078 glib/tests/Makefile.am | 6 +- glib/tests/printf.c | 945 ---------------------------------------------- glib/tests/test-printf.c | 945 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 948 insertions(+), 948 deletions(-) commit b5934de4562e073a0777d07eabe3e1cf327e7a66 Author: Emmanuele Bassi Date: Mon May 16 16:10:06 2011 +0100 Add gdbus autogenerated xml files to the ignore file gio/.gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 014b4b5ae9a14d3697c158908b01786496d539f1 Author: Javier Jardón Date: Mon May 16 12:51:59 2011 +0100 m4macros/gsettings.m4: Use AS_HELP_STRING instead the deprecated AC_HELP_STRING m4macros/gsettings.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d2d3449a8ef4e3ad7236ed83a5ed0ce6a2b0e69f Author: Javier Jardón Date: Mon May 16 11:51:29 2011 +0100 autogen.sh: Use autoreconf instead custom script autogen.sh | 109 ++++++++--------------------------------------------------- 1 files changed, 15 insertions(+), 94 deletions(-) commit 11e01802abcf006caa8e3c2ecf6cfd195db98fd9 Author: David Zeuthen Date: Sun May 15 11:45:37 2011 -0400 gdbus-codegen: Ensure that generated skeletons are MT-safe For example, if setting a property on a skeleton from another thread than where it was constructed, the idle handler responsible for emitting the PropertiesChanged() signal could run immediately and clear skeleton->priv->changed_properties_idle_source causing g_source_unref() to be called with a NULL pointer. This race was easily be fixed by adding a lock to the skeleton object. In addition to fixing this race, also move the code for setting up the idle handler to a class handler for the GObject::notify signal. This change allows use of g_object_freeze_notify() and g_object_thaw_notify() to perform atomic property changes from another thread than the one that the skeleton was created in. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 11 +++- gio/gdbus-codegen/codegen.py | 93 ++++++++++++++++++++++++---------- 2 files changed, 74 insertions(+), 30 deletions(-) commit 2122191595fc7059ff4838b967ea0beb19b18d47 Author: Philip Withnall Date: Sun May 15 15:31:16 2011 +0100 docs: Improve punctuation in some of the GArray method documentation glib/garray.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit cb7a5a8e94a3317961ef98b839e4cfce9abccb42 Author: Benjamin Otte Date: Sun May 15 16:16:30 2011 +0200 docs: Add the cute trick comment to all sort functions Thanks to Sebastian Dröge for pointing out there's more than g_array_sort() and I hadn't in fact added the comment to g_array_sort() in 80928ea403cfff5ffaa4bc73e84e3d4ebcb09123 glib/garray.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 80928ea403cfff5ffaa4bc73e84e3d4ebcb09123 Author: Benjamin Otte Date: Sun May 15 16:11:51 2011 +0200 docs: Add a cute trick for achieving a stable sort This trick is inspired by http://www.gnu.org/s/hello/manual/libc/Array-Sort-Function.html http://jeffreystedfast.blogspot.com/2011/04/optimizing-merge-sort.html glib/garray.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 125b896a4ed21c54047a368247f76c0b36e1554b Author: Kristjan SCHMIDT Date: Sun May 15 10:16:59 2011 +0200 Updated Esperanto translation po/eo.po | 2372 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 1597 insertions(+), 775 deletions(-) commit ae10eca1162310b615db3bdce6791efcfc337c29 Author: David Zeuthen Date: Fri May 13 14:23:14 2011 -0400 gdbus-codegen: Use (skip) annotation on return values This was discussed in bug 649657. https://bugzilla.gnome.org/show_bug.cgi?id=649657 Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4a7a1bc4372995eaaac33c170c90e5441cb85c8c Author: Yaron Shahrabani Date: Fri May 13 08:38:35 2011 +0300 Updated Hebrew translation. po/he.po | 747 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 381 insertions(+), 366 deletions(-) commit b9e3e03767585e52771fd1faea42176138f25aa5 Author: David Zeuthen Date: Thu May 12 15:36:34 2011 -0400 GDBusConnection: Document that sockets are frobbed into non-blocking mode Signed-off-by: David Zeuthen gio/gdbusconnection.c | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) commit ce77614142e20c8cfcb5de24a468c743ac0ff381 Author: David Zeuthen Date: Wed May 11 21:16:41 2011 -0400 gdbus-codegen: Mark members in generated class instance structs as private Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 5a811135f73057b81ef7080022d313bb58ee8419 Author: David Zeuthen Date: Wed May 11 20:57:54 2011 -0400 Add g_dbus_method_invocation_take_error() convenience method Similar in spirit to g_simple_async_result_take_error(). Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusmethodinvocation.c | 22 ++++++++++++++++++++++ gio/gdbusmethodinvocation.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 26 insertions(+), 0 deletions(-) commit d39731724a4a7c1d63953f41207e01e98ca5d9a3 Author: Colin Walters Date: Wed May 11 17:13:57 2011 -0400 gdbus-codegen: Fix annotation parsing It takes 3 options. gio/gdbus-codegen/codegen_main.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 97cd6fa2e3ea9318b8af65b4623057c4f5600fc2 Author: Maarten Bosmans Date: Wed May 11 15:47:00 2011 -0400 gdbus-codegen: Quote substitution variables Avoids failure if they contain spaces. Commit message written by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=649775 gio/gdbus-codegen/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 61295f87c966f5f0aa35797831ae5e71ba8cd7b1 Author: Colin Walters Date: Wed May 11 15:02:23 2011 -0400 gdbus-codegen: Drop dependency on argparse This is only in Python 2.7 or as a separate module. Use optparse which exists since 2.3. https://bugzilla.gnome.org/show_bug.cgi?id=649988 gio/gdbus-codegen/codegen.py | 1 - gio/gdbus-codegen/codegen_docbook.py | 1 - gio/gdbus-codegen/codegen_main.py | 47 +++++++++++++++++---------------- 3 files changed, 24 insertions(+), 25 deletions(-) commit eebb3647a1cab8deec8b97d666f6bd0c006438ea Author: Giovanni Campagna Date: Sun Apr 3 17:19:48 2011 +0200 gbase64: fix introspection annotations Makes the g_base64_* functions usable from introspection GLib bindings (gjs, currently, as both vala and pygobject use manual bindings for GLib) https://bugzilla.gnome.org/show_bug.cgi?id=646635 glib/gbase64.c | 40 +++++++++++++++++++++------------------- 1 files changed, 21 insertions(+), 19 deletions(-) commit c026cf56a178ef786b8a372d4c1cd01e2ab2a3c9 Author: Colin Walters Date: Wed May 11 13:19:05 2011 -0400 gdatetime: Quiet GCC warning about possibly-uninitialized glib/gdatetime.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit c2a2350cc1905fb29167c0ee29d0c1f3c61a2865 Author: Ryan Lortie Date: Tue May 10 15:25:54 2011 +0200 GSettings: fix example in the docs gio/gsettings.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 53dc341b0d769905ffdde5f631942b20dfe09bf6 Author: Giovanni Campagna Date: Tue May 3 18:54:45 2011 +0200 GDBusMethodInvocation: fix introspection annotations In particular (transfer full), to avoid a refcounting bug and a segmentation fault. https://bugzilla.gnome.org/show_bug.cgi?id=646635 gio/gdbusmethodinvocation.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 21c22914966ee4e114ee207036fc6e5640d0bda4 Author: Martin Pitt Date: Sun May 8 14:12:23 2011 +0200 [gi] Add missing allow-none annotations to GDBusConnection gio/gdbusconnection.c | 72 ++++++++++++++++++++++++++++-------------------- 1 files changed, 42 insertions(+), 30 deletions(-) commit 3495f57d6bdfad164654541bc5d75dbb0caaae3f Author: Yuri Kozlov Date: Sun Mar 20 10:50:35 2011 +0300 Updated Russian translation po/ru.po | 2584 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 1757 insertions(+), 827 deletions(-) commit 13211c5b60fb12c338af33c70aece6b76218647b Author: Daniel Mustieles Date: Sat May 7 12:38:56 2011 +0200 Updated Spanish translation po/es.po | 509 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 248 insertions(+), 261 deletions(-) commit 1361ec78cd4c4c97fba8276552f2188e74f676b5 Author: Ryan Lortie Date: Sat May 7 11:42:46 2011 +0200 GSettings: keep resets on loss of writability Don't drop resets from a GDelayedSettingsBackend when the writability changes. Resets will always succeed, even against non-writable keys and some people (gnome-screensaver) are using them in a way that they would want them not to be forgotten. gio/gdelayedsettingsbackend.c | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) commit a38c97af519caa928a7d61af79c323a4ee2d8dfe Author: Ryan Lortie Date: Sat May 7 11:41:19 2011 +0200 Allow NULL to be stored into GSettings trees This is used for resets (in theory) and currently it crashes when freeing the tree. gio/gsettingsbackend.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 720d6ec8e42d1067d32556d9b50e8b83cf6ca4b9 Author: David Zeuthen Date: Fri May 6 15:25:49 2011 -0400 gdbus: Add a --timeout option Signed-off-by: David Zeuthen docs/reference/gio/gdbus.xml | 3 +++ gio/gdbus-tool.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletions(-) commit 7bcede9301b0beacdc2fcb71e652f87fdc1908e9 Author: Ray Strode Date: Fri May 6 13:00:38 2011 -0400 gdbus-codegen: fix typo in man page s/on_handle_hello-world/on_handle_hello_world/ docs/reference/gio/gdbus-codegen.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f773bd8b764232d6c691de1329a2defc66c0e51f Author: David Zeuthen Date: Fri May 6 10:32:42 2011 -0400 gdbus-codegen: gracefully handle property get on proxy with no cached property This can easily happen if the owner of the remote object vanishes. Of course, when that happens, user code is already notified (by e.g. the notify::g-name-owner signal) so it can avoid using the proxy but requiring that is a bit harsh. IOW, before this patch this critical error was printed GLib-GIO-CRITICAL **: g_dbus_gvariant_to_gvalue: assertion `value != NULL' failed when that happened. With this patch, we just avoid setting the GValue so the user will get the default value for its type instead. So, for example, if the user code is getting a GVariant property on such a defunct proxy, then he gets a NULL back. So unless said user code checks the return value, criticals will still be printed if the NULL GVariant is used for anything interesting. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit 3d3659c1b6b5cd65595e8b28b77f00ef58456dbd Author: Matthias Clasen Date: Fri May 6 07:14:48 2011 -0400 Documentation additions Add Since tags to recently introduced test function typedefs. https://bugzilla.gnome.org/show_bug.cgi?id=649506 glib/gtestutils.c | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) commit 914d10055cb15456c01b0b59cfa2ac167a065f77 Author: Dan Winship Date: Thu May 5 15:18:22 2011 -0400 Add two annotations for g-i gio/gtlsbackend.c | 2 +- gio/gtlsclientconnection.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 17d8d2cc44af8b6b656cc971e68d71115acb7e8c Author: Matthias Clasen Date: Thu May 5 14:52:19 2011 -0400 Add tests for new GDateTime functionality glib/tests/gdatetime.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 67 insertions(+), 1 deletions(-) commit e15ecab0486aa851dcc15e6e4023354a4b8b481f Author: Matthias Clasen Date: Thu May 5 13:40:51 2011 -0400 Expand the g_date_time_format documentation Mention strftime, and explain supported modifiers. glib/gdatetime.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) commit d23c33a04bd1d16f30efb1511cd8b698dc9c84b1 Author: Matthias Clasen Date: Thu May 5 13:16:30 2011 -0400 GDateTime: enhance g_date_time_format() Make g_date_time_format() support some useful format modifiers from strftime(). This commit adds support for the POSIX 'O' modifier (alternative digits), as well as the -/_/0 padding modifiers, which are a GNU strftime() extension. https://bugzilla.gnome.org/show_bug.cgi?id=648678 glib/gdatetime.c | 120 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 100 insertions(+), 20 deletions(-) commit 8932a1a7a3bf1bb68c2f2762f3674a149742b1fa Author: Colin Walters Date: Thu May 5 13:16:54 2011 -0400 GSocket: Use MSG_CMSG_CLOEXEC This ensures received file descriptors don't leak to child processes. https://bugzilla.gnome.org/show_bug.cgi?id=649480 gio/gsocket.c | 16 ++++++++++++++++ gio/gunixfdmessage.c | 4 ++++ 2 files changed, 20 insertions(+), 0 deletions(-) commit 7ca8691a934ac571ed034d5c01882ac8de19769c Author: Chun-wei Fan Date: Thu May 5 15:09:51 2011 +0800 Update VS2010 "install" project The dependencies on gsettings and glib-compile-schemas were missed-made up for them here. build/win32/vs10/install.vcxproj | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 9f90408e976a4e2c1bdc7debfe10601885a78402 Author: Chun-wei Fan Date: Thu May 5 13:40:38 2011 +0800 Update gcancellable.c for Win32 errno.h is still required for Windows in this file... gio/gcancellable.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 8f484c482d452f89a9d9542f76014c2b2957e294 Author: Chun-wei Fan Date: Thu May 5 13:36:34 2011 +0800 Update VS property sheets There are some new public headers added for GIO. Make up for them here in the install phase build/win32/vs10/glib.props | 18 ++++++++++++++++++ build/win32/vs9/glib.vsprops | 9 +++++++++ 2 files changed, 27 insertions(+), 0 deletions(-) commit 58c5973a00c1f9708bc397ecaae64f040a5f65d0 Author: Chun-wei Fan Date: Thu May 5 12:42:44 2011 +0800 MSVC support update for GObject Apparently GObject now depends on libffi. Add it to the dependencies list. For MSVC, use the libffi-3.0.10(rcx) versions. build/win32/vs10/gobject.vcxprojin | 4 ++++ build/win32/vs9/gobject.vcprojin | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) commit 5b5299e1c49570caa85704f5225fde498015aee3 Author: Chun-wei Fan Date: Thu May 5 12:35:45 2011 +0800 GLib MSVC Support updates (autotools) Filter out *-unix.c from the source file list, as it is obviously not usable (nor used) under VS 2008/2010 glib/Makefile.am | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 6c4b84d5ff10afdb9e86ce718a3fa7f6c54078ce Author: Matthias Clasen Date: Wed May 4 21:26:11 2011 -0400 Post-release bump configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)