commit 49461cbbf7e557dd18d6488b23c31ef8af4dd9bb Author: Ryan Lortie Date: Sun Sep 18 10:10:31 2011 -0400 glib 2.29.92 NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 38 insertions(+), 1 deletions(-) commit 9663e9c957374996418887bc414e90fa49137518 Author: Ryan Lortie Date: Tue Sep 6 14:01:52 2011 -0400 GSettingsBackend: emit changes to correct thread When g_settings_apply() is called on a delayed settings backend and there is a D-Bus error when communicating with dconf-service, recent versions of the dconf GSettingsBackend call a function in GLib that improperly delivered the signal directly instead of using g_main_context_invoke(). This patch fixes this function to route in the same way as the others so that the signal is dispatched in the proper GMainContext. gio/gsettingsbackend.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit 56891ca4eee71b6255d11f05a01972d5e4915f97 Author: Matthias Clasen Date: Sat Sep 17 20:27:16 2011 -0400 Remove redundant checks g_set_error() handles error == NULL, so no need to check. Patch by Ignacio Casal Quinteiro. https://bugzilla.gnome.org/show_bug.cgi?id=640975 glib/gconvert.c | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) commit 500202a8541d9ffc3c00b9921e5526ba0c2d59e2 Author: Matthias Clasen Date: Sat Sep 17 19:58:28 2011 -0400 GMappedFile: return an error when trying to map a device Previously, we were returning an empty buffer for all filenames where fstat() gives a size of 0. But this is only appropriate for regular files. Also improve the documentation around this issue. Based on a patch by Ryan Lortie. docs/reference/glib/tmpl/fileutils.sgml | 4 ++-- glib/gmappedfile.c | 13 +++++++++---- glib/tests/mappedfile.c | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) commit 817466f9a62105b7640f9cb55bff5f92796851df Author: Ryan Lortie Date: Thu Sep 15 22:43:06 2011 -0400 GMappedFile: fail when mapping a device file mmap() fails on zero-sized files, so we previously had a special case to avoid calling it in that case. Unfortunately, this had the side effect of causing us to fail to notice that we were attempting to mmap() a device node. Modify the special-casing to only apply in the case that we're dealing with a normal file. https://bugzilla.gnome.org/show_bug.cgi?id=659212 glib/gmappedfile.c | 6 +++++- glib/tests/mappedfile.c | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletions(-) commit 62ff5cd9f2a67d98ef3c1f7b380a5da9a4e9f490 Author: Aron Xu Date: Sat Sep 17 16:23:55 2011 +0000 Update Simplified Chinese translation. po/zh_CN.po | 215 +++++++++++++++++++++++++++++------------------------------ 1 files changed, 105 insertions(+), 110 deletions(-) commit 568907c8d322f56bfa98daee6ddc62591dae7f24 Author: Jiro Matsuzawa Date: Sat Sep 17 11:30:01 2011 +0900 Updated Japanese translation po/ja.po | 195 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 98 insertions(+), 97 deletions(-) commit 0229a268d5637aae310da3ea40c3d730ee230e2e Author: David Zeuthen Date: Fri Sep 16 16:01:13 2011 -0400 gdbus-codegen: Support Ugly_Case for given C namespace https://bugzilla.gnome.org/show_bug.cgi?id=658976 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen.py | 9 +- gio/gdbus-2.0/codegen/dbustypes.py | 57 ++-- gio/tests/Makefile.am | 2 +- gio/tests/gdbus-test-codegen.c | 572 ++++++++++++++++++------------------ 4 files changed, 325 insertions(+), 315 deletions(-) commit 6120f2922e3bf234ed5ee37704e5f5548df10fca Author: David Zeuthen Date: Fri Sep 16 15:20:00 2011 -0400 gdbus-codegen: Single letter namespaces get dropped from symbol names https://bugzilla.gnome.org/show_bug.cgi?id=659082 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 493b6e2f43aaf48646f54319826ab14f13c31411 Author: Simon McVittie Date: Mon Sep 12 18:42:36 2011 +0100 _g_dbus_worker_new: hold a ref until we have done the initial read Otherwise, we could use-after-free the GDBusWorker, if its last-unref is immediately after _g_dbus_worker_new returns (before the worker thread does its initial read). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusprivate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9f69e365dd7f279d8cf2058f3d38b967df933a37 Author: Simon McVittie Date: Mon Sep 12 18:26:45 2011 +0100 GDBusWorker: as a precaution, access 'stopped' boolean atomically This member is written in _g_dbus_worker_stop from arbitrary threads, and read by the worker thread, so it should be accessed atomically. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusprivate.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) commit bcb557ce37bdeefcdbd6f6fc22d5714e800db1f4 Author: Simon McVittie Date: Mon Sep 12 18:24:24 2011 +0100 Regression test for closing a stream, slowly, while a message is queued Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/tests/Makefile.am | 5 + gio/tests/gdbus-close-pending.c | 396 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 401 insertions(+), 0 deletions(-) commit 9ebf9285d2cac8ba77e6cca7eec47ddb2c65961d Author: Simon McVittie Date: Thu Sep 8 17:21:02 2011 +0100 GDBusWorker: annotate more functions with lock/pending state Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusprivate.c | 71 +++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 60 insertions(+), 11 deletions(-) commit fff591b677408f80a9d388b215220c2413b7884f Author: Simon McVittie Date: Tue Sep 13 17:31:27 2011 +0100 GDBusConnection: delegate to the worker to close the stream We can't safely close the output part of the I/O stream until any pending write or flush has been completed. In the worst case, this could lead to an assertion failure in the worker (when the close wins the race) or not closing the stream at all (when the write wins the race). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusconnection.c | 64 +++++++------ gio/gdbusprivate.c | 247 +++++++++++++++++++++++++++++++++++++++--------- gio/gdbusprivate.h | 5 + 3 files changed, 240 insertions(+), 76 deletions(-) commit 068160789ace422002de1c251d374065fd6fa0dc Author: Simon McVittie Date: Tue Sep 13 17:37:33 2011 +0100 GDBusWorker: combine num_writes_pending with flush_pending num_writes_pending was a counter, but it only took values 0 or 1, so make it a boolean: it would never make sense to be trying to write out two messages at the same time (they'd get interleaved). Similarly, we can never be writing and flushing at the same time (that'd mean we were flushing halfway through a message, which would be pointless) so combine it with flush_pending too, calling the result output_pending. Also assert that it takes the expected value whenever we change it, and document the locking discipline used for it, including a subtle case in write_message_in_idle_cb where it's not obvious at first glance why we don't need the lock. (Having the combined boolean at the top of the block of write-related struct members improves struct packing on 64-bit platforms, by packing read_num_ancillary_messages and output_pending into one word.) Bug: https://bugzilla.gnome.org/show_bug.cgi?id=651268 Bug-NB: NB#271520 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusprivate.c | 36 +++++++++++++++++++++++++----------- 1 files changed, 25 insertions(+), 11 deletions(-) commit 577e4ec785edc691efe4b1dbbdb3a61e950b7560 Author: Yuri Myasoedov Date: Wed Sep 14 21:26:49 2011 +0400 Updated Russian translation po/ru.po | 1224 +++++++++++++++++++++++++++++--------------------------------- 1 files changed, 577 insertions(+), 647 deletions(-) commit 9197e288ec4c2320629fba9e83409cee380f99a8 Author: Tomas Bzatek Date: Wed Sep 14 19:02:01 2011 +0200 gdbus-codegen: Fix segfault when remote property is invalidated The 'key' variable is no longer valid outside the cycle, owned and probably already freed by GVariant. This causes apps to segfault when proxy is constructed and a property on remote d-bus service changes (actually is invalidated). Looks like a typo anyway. https://bugzilla.gnome.org/show_bug.cgi?id=659070 gio/gdbus-2.0/codegen/codegen.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 219f89057bccf717e58ca3365a0be1bebfcd6cee Author: dmustieles Date: Wed Sep 14 17:32:24 2011 +0200 Updated Spanish translation po/es.po | 180 +++++++++++++++++++++++++++++-------------------------------- 1 files changed, 86 insertions(+), 94 deletions(-) commit 64ff1fc3611589077feeab645f7a3760449717dd Author: Antonio Fernandes C. Neto Date: Wed Sep 14 09:05:16 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 56 +++++++++++++++++++++++++++----------------------------- 1 files changed, 27 insertions(+), 29 deletions(-) commit f6faa095489f53e1db6ba3071463f97fb7719627 Author: I Felix Date: Tue Sep 13 16:04:42 2011 +0530 Updated Tamil Translations po/ta.po | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) commit 14173c7e387ffa46a1d6da0a57a4726effddf04d Author: I Felix Date: Tue Sep 13 15:59:05 2011 +0530 Updated Tamil Translations po/ta.po | 909 ++++++++++++++++++++++++++++++++++++-------------------------- 1 files changed, 535 insertions(+), 374 deletions(-) commit 5da87ff20faf5025fd1d9edda61140b4b36ffa43 Author: Rajesh Ranjan Date: Tue Sep 13 14:13:42 2011 +0530 hindi update po/hi.po | 378 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 212 insertions(+), 166 deletions(-) commit 2fa3d53cf4eefe3de1f07aa21edf8be14e70f6c6 Author: Daniel Nylander Date: Mon Sep 12 17:51:05 2011 +0200 Updated Swedish translation po/sv.po | 1176 +++++++++++++++++++++++++++++--------------------------------- 1 files changed, 546 insertions(+), 630 deletions(-) commit 8c8f8e56de69b00f9c0ab978d6fd3b3df01ebb6a Author: Matthias Clasen Date: Sun Sep 11 23:29:40 2011 -0400 Revert "Fix default setting generation in g_desktop_app_info_set_as_last_used" This reverts commit 62a681453993e8618dd5fc41e987fa7308d617b0. gio/gdesktopappinfo.c | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) commit 26fde7b8c027a28bbaa50d29c0ba9b0abd81f7e6 Author: Rudolfs Mazurs Date: Sun Sep 11 23:50:30 2011 +0300 Updated Latvian translation. po/lv.po | 130 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 66 insertions(+), 64 deletions(-) commit 5f64e739900143ecb29fe9f34339542d0bca53a9 Author: Ryan Lortie Date: Sun Sep 11 15:44:39 2011 -0400 GType tutorial: clarify class struct initialisation Make the information on how the class structure is initialised less confusing to first-time readers. docs/reference/gobject/tut_gtype.xml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 511c3ebe76a02c1dfd72d00f9f21e0188c0006ab Author: Jorge González Date: Sun Sep 11 11:05:15 2011 +0200 Updated Spanish translation po/es.po | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) commit 1a42b8fa8f7cc96a586278e6fb22f42d8acb31a7 Author: Gabor Kelemen Date: Sat Sep 10 14:41:47 2011 +0200 Updated Hungarian translation po/hu.po | 224 ++++++++++++++++++++------------------------------------------ 1 files changed, 72 insertions(+), 152 deletions(-) commit 598a8c82c0b6eb5738c15373cb3ca420fef028ee Author: Gabor Kelemen Date: Sat Sep 10 14:39:43 2011 +0200 Updated Hungarian translation po/hu.po | 173 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 87 insertions(+), 86 deletions(-) commit 62a681453993e8618dd5fc41e987fa7308d617b0 Author: Josselin Mouette Date: Sat Sep 10 08:26:12 2011 +0200 Fix default setting generation in g_desktop_app_info_set_as_last_used * Do not ignore the system default * Do not exclude the last used being set from the default list This fixes the default applications dialog in control-center. https://bugzilla.gnome.org/show_bug.cgi?id=658188 gio/gdesktopappinfo.c | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) commit 1d977a5a9c600e569f762c490b668876ee5aa392 Author: Piotr Drąg Date: Thu Sep 8 21:07:54 2011 +0200 Updated Polish translation po/pl.po | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit e6907824d755aa908eb9f41fd9c090e0a780a702 Author: Piotr Drąg Date: Thu Sep 8 20:44:03 2011 +0200 Updated Polish translation po/pl.po | 188 ++++++++++++++++++++++++++++---------------------------------- 1 files changed, 85 insertions(+), 103 deletions(-) commit 433bc6483810e682c170a2fd38862dc9b9ccd407 Author: Arash Mousavi Date: Thu Sep 8 22:30:44 2011 +0430 Updated Persian translaion po/fa.po | 1182 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 624 insertions(+), 558 deletions(-) commit ee1709af05271142c2f1c18417b2676080607b5c Author: A S Alam Date: Thu Sep 8 21:09:38 2011 +0530 update PunjabiTranslation po/pa.po | 196 +++++++++++++++++++++++++++++++++++++++---------------------- 1 files changed, 125 insertions(+), 71 deletions(-) commit 2f090dd43119ebd52183d49b22f6fa7315786787 Author: Alexandre Franke Date: Wed Sep 7 11:43:36 2011 +0200 Update French translation po/fr.po | 189 +++++++++++++++++++++++++++++--------------------------------- 1 files changed, 89 insertions(+), 100 deletions(-) commit 1a4b2cc512730d5992b21ce5d9e302bf153b0289 Author: Arash Mousavi Date: Thu Sep 8 19:41:56 2011 +0430 Updated Persian translaion po/fa.po | 348 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 170 insertions(+), 178 deletions(-) commit e7a5a53c391cc0f99fcf13e22a9c04c0e49ed116 Author: Bruce Cowan Date: Wed Sep 7 16:58:57 2011 +0100 Updated British English translation po/en_GB.po | 171 ++++++++++++++++++++++++++++++----------------------------- 1 files changed, 86 insertions(+), 85 deletions(-) commit 5da5a506f9a8e53c0c79992e7d9a3239d4629f2a Author: Luca Ferretti Date: Wed Sep 7 00:33:39 2011 +0200 Updated Italian translation po/it.po | 85 +++++++++++++++++++++++++++++++------------------------------ 1 files changed, 43 insertions(+), 42 deletions(-) commit fea7ccd619fe1b7ea3323778619778de57e25613 Author: Ihar Hrachyshka Date: Wed Sep 7 01:30:06 2011 +0300 Updated Belarusian translation. po/be.po | 32 +++++++++++++++++--------------- 1 files changed, 17 insertions(+), 15 deletions(-) commit 3054f84aa6afd119d21bf8013cc8d8564fdde9c1 Author: Kjartan Maraas Date: Tue Sep 6 21:50:01 2011 +0200 Added Norwegian bokmål translation po/nb.po | 26 ++++++++++++-------------- 1 files changed, 12 insertions(+), 14 deletions(-)