commit 11a59404d5623d65e0d09c555ef2d4be50e4023b Author: Matthias Clasen Date: Mon Oct 25 08:42:36 2010 -0400 More documentation fixups docs/reference/gio/gio-sections.txt | 14 ++------------ gio/gapplication.h | 2 +- gio/gdatainputstream.c | 2 ++ 3 files changed, 5 insertions(+), 13 deletions(-) commit d10a04b5330c6c4ef23a4e7871c8ced0c8343250 Author: Matthias Clasen Date: Mon Oct 25 08:34:00 2010 -0400 Remove nonexisting API from the headers I couldn't find any trace of g_application_run_with_arguments. gio/gapplication.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 727c2a58c2468dd2faa442d2be7777b20b7b089b Author: Matthias Clasen Date: Mon Oct 25 08:30:28 2010 -0400 Add new gmain api to the docs docs/reference/glib/glib-sections.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 7bb731d6136a9975b501757836762b91ad6ac416 Author: Matthias Clasen Date: Mon Oct 25 08:19:34 2010 -0400 Update NEWS for 2.27.1 NEWS | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 88 insertions(+), 0 deletions(-) commit f67d16c52a244c1db2cf40340700c6dc90ab866a Author: Yinghua Wang Date: Sun Oct 24 03:51:46 2010 +0000 Update Simplified Chinese translation. po/zh_CN.po | 778 ++++++++++++++++++++++++++++++----------------------------- 1 files changed, 398 insertions(+), 380 deletions(-) commit 00366f440d6322b2742eb1cd35835902269c0e37 Author: Matthias Clasen Date: Sat Oct 23 20:43:36 2010 +0200 Some more GApplication doc tweaks gio/gapplication.c | 54 +++++++++++++++++++++++----------------- gio/gapplicationcommandline.c | 16 ++++++++++- gio/gioenums.h | 9 ++++--- 3 files changed, 50 insertions(+), 29 deletions(-) commit 013f862a03d11708bb08f2ec98c8612f245a8937 Author: Matthias Clasen Date: Sat Oct 23 14:04:28 2010 +0200 Properly register the inactivity-timeout property It is a uint, not a boolean, so register it as such. Also, only install the service timeout if we are actually registered as the primary instance. gio/gapplication.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 7c735b05f7a00c728e23a366128ffb56fee58b4e Author: Matthias Clasen Date: Sat Oct 23 12:01:51 2010 +0200 Move a confusing comment to the right place gio/gapplication.c | 6 ------ gio/gapplicationimpl-dbus.c | 3 +++ 2 files changed, 3 insertions(+), 6 deletions(-) commit b0e45c97992499929f1393743935438e07e88326 Author: Matthias Clasen Date: Sat Oct 23 11:54:50 2010 +0200 Add another example for commandline handling Also, clarify some aspects in the documentation. gio/gapplication.c | 10 ++- gio/gapplication.h | 7 +- gio/gapplicationcommandline.c | 4 +- gio/tests/Makefile.am | 4 + gio/tests/gapplication-example-cmdline2.c | 106 +++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+), 8 deletions(-) commit 499d9ba8b8fec44282fac09426b61d027c166459 Author: Matthias Clasen Date: Sat Oct 23 02:27:39 2010 +0200 Add some examples to the GApplication docs gio/gapplication.c | 9 +++++- gio/gapplicationcommandline.c | 2 + gio/tests/Makefile.am | 8 +++++ gio/tests/gapplication-example-cmdline.c | 47 ++++++++++++++++++++++++++++ gio/tests/gapplication-example-open.c | 50 ++++++++++++++++++++++++++++++ 5 files changed, 115 insertions(+), 1 deletions(-) commit 79790b927840b1c2d389753c7237820d2f16899e Author: Matthias Clasen Date: Sat Oct 23 00:40:13 2010 +0200 Brush up the GApplication docs Also, fix up inclusions, mark properties for translation, etc. gio/gapplication.c | 124 ++++++++++++++++++++++++++++++++++------- gio/gapplication.h | 2 + gio/gapplicationcommandline.c | 40 ++++++++----- gio/gdbuserror.c | 2 +- gio/gioenums.h | 8 ++- gio/gsimpleaction.c | 2 +- gio/gsimpleactiongroup.c | 2 +- 7 files changed, 141 insertions(+), 39 deletions(-) commit 210a77a07ebf51156bb7fbc1482ce71fd56cbcd2 Author: Matthias Clasen Date: Sat Oct 23 00:32:45 2010 +0200 Fix a typo gio/gapplication.c | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) commit e410131021036532e6e9622e8b977222389b44e9 Author: Dan Winship Date: Wed Sep 15 10:05:03 2010 -0400 GNetworkService: fall back when there is no valid SRV record RFC 2782 says that if there is no SRV record for _SERVICE._PROTOCOL.DOMAIN, you should fall back to trying just DOMAIN, with the default port for SERVICE. Do that. https://bugzilla.gnome.org/show_bug.cgi?id=629274 gio/gnetworkservice.c | 50 ++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 45 insertions(+), 5 deletions(-) commit 19243c247d8a89c6467bd21109b7f0d4b1cb081a Author: Dan Winship Date: Wed Sep 15 10:22:13 2010 -0400 GNetworkService: fix iteration of multiple addresses Previously if there were multiple SRV records, only the first would be iterated by the GSocketConnectable interface gio/gnetworkservice.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 87d06109ab325a4a68e151015381e7e1b33bdf7d Author: Dan Winship Date: Tue Aug 17 18:34:13 2010 -0400 GSocket: set protocol when using g_socket_new_from_fd() Otherwise, attempting to create a GSocketConnection from the socket will likely return the wrong type, since the protocol won't match any of the registered subtypes. Also add the start of a GSocket test program (from davidz). https://bugzilla.gnome.org/show_bug.cgi?id=627171 gio/gsocket.c | 29 ++++++++++++++-- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 6 +++- gio/tests/socket.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 117 insertions(+), 5 deletions(-) commit a62b43fd9cea5455bead9a5bd12a27f01c4fadf4 Author: Florian Müllner Date: Fri Oct 22 13:20:54 2010 +0200 Fix deadlock in g_object_remove_toggle_ref() The code section guarded with toggle_refs_mutex includes a call to g_object_unref(), which may call toggle_refs_notify(). As the latter tries to acquire the same mutex, glib locks up. https://bugzilla.gnome.org/show_bug.cgi?id=632884 gobject/gobject.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit b7616114c6c1884c3a183a4d83156bdf2151b731 Author: Alberto Garcia Date: Fri Mar 26 16:19:13 2010 +0100 Protect access to closure, weak refs and toggle refs arrays This fixes https://bugzilla.gnome.org/show_bug.cgi?id=613822 gobject/gobject.c | 30 ++++++++++++++++++++++++++---- 1 files changed, 26 insertions(+), 4 deletions(-) commit dd6e15dd24a1f1910cfd71c2e21078261936c98d Author: Ryan Lortie Date: Thu Oct 21 14:02:41 2010 +0200 GApplication: create local commandline properly Don't pass a gchar** to g_object_new() when a GVariant* is expected. gio/gapplication.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 8690984ceadc35dc4251277ea1ca759d180a8fd6 Author: Ryan Lortie Date: Thu Oct 21 01:37:23 2010 +0200 GPeriodic: pass microseconds to the tick functions ...instead of milliticks, which nobody really cares to understand. gio/gperiodic.c | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) commit 5400b0b38c513c829a4f0b0fc59188f820435d79 Author: Ryan Lortie Date: Wed Oct 20 03:20:34 2010 +0200 GPeriodic: a periodic event clock Add a new class, GPeriodic. We hope to use this as a paint clock that can be shared by GTK and Clutter. Many changes are still expected to the API. docs/reference/gio/gio-docs.xml | 4 + docs/reference/gio/gio-sections.txt | 26 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio-marshal.list | 1 + gio/gio.h | 1 + gio/gio.symbols | 14 + gio/gperiodic.c | 631 +++++++++++++++++++++++++++++++++++ gio/gperiodic.h | 69 ++++ 9 files changed, 749 insertions(+), 0 deletions(-) commit e33deea16ce3af7b91386d5debffd284a0109dfc Author: Ryan Lortie Date: Tue Oct 19 19:38:00 2010 +0200 GApplication: reduce GVariant abuse Don't use GVariant* as the representation for the argument array. docs/reference/gio/gio-sections.txt | 1 - gio/gapplication.c | 53 ++++++++++------------------------- gio/gapplication.h | 40 +++++++++++++------------- gio/gapplicationimpl-dbus.c | 8 ++-- gio/gapplicationimpl.h | 2 +- gio/gio.symbols | 3 -- 6 files changed, 40 insertions(+), 67 deletions(-) commit a327bc51fc3090ed32d7e250dedadb8c35e84aeb Author: Ryan Lortie Date: Tue Oct 19 18:18:13 2010 +0200 Cleanup and doc GApplicationCommandLine docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 2 - gio/gapplicationcommandline.c | 406 +++++++++++++++++++++++++---------- gio/gapplicationcommandline.h | 29 +-- gio/tests/gapplication.c | 2 +- 5 files changed, 301 insertions(+), 139 deletions(-) commit eac4c385f0e34b012d49a09fb48712fdd0e46646 Author: Ryan Lortie Date: Tue Oct 19 16:56:18 2010 +0200 GIO reference doc cleanups (re: GApplication) docs/reference/gio/Makefile.am | 2 + docs/reference/gio/gio-sections.txt | 84 ++++++++++++++++++++++++++--------- 2 files changed, 65 insertions(+), 21 deletions(-) commit a2ac9c2515dcf227ed7c4e062b326bb0ac21c5ad Author: Ryan Lortie Date: Tue Oct 19 13:45:20 2010 +0200 GDBus: disable test to work around bug #631379 This test consistently prevents 'make distcheck' from passing on Ubuntu. gio/tests/gdbus-peer.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 0ce1462d1a4d4510bcac1b6fb9cf4d9f38b44de9 Author: Ryan Lortie Date: Tue Oct 19 13:44:30 2010 +0200 GApplication: merge DBus interface into C source instead of having it in a separate file that causes problems to the build system (I want to avoid using EXTRA_DIST here). gio/Makefile.am | 1 + gio/gapplicationimpl-dbus-interface.c | 93 --------------------------------- gio/gapplicationimpl-dbus.c | 84 ++++++++++++++++++++++++++++- 3 files changed, 82 insertions(+), 96 deletions(-) commit 8ff9150e4422db000289a282b23aadac4dd5ba2c Author: Ryan Lortie Date: Tue Oct 19 12:38:40 2010 +0200 gio: update symbols gio/gio.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 34f31fdfda549de717bb0ef02f6acfdb6de8ca29 Author: Ryan Lortie Date: Tue Oct 19 12:38:01 2010 +0200 Don't try to dist old GApplication implementations One of them was deleted already, even. gio/Makefile.am | 2 +- gio/gnullapplication.c | 74 ------------------------------------------------ 2 files changed, 1 insertions(+), 75 deletions(-) commit a6b8a3113bfd5fe9b28d3377865fed1ab1849ce0 Author: Ryan Lortie Date: Tue Oct 12 21:42:59 2010 -0400 GApplication: use g_signal_accumulator_first_wins ...instead of our homebrew version. gio/gapplication.c | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-) commit 04b58a3e270c7de520c65cb213f95048db4503c8 Author: Ryan Lortie Date: Mon Oct 11 15:57:09 2010 -0400 Change 'Since:' to 2.28 for action classes gio/gaction.c | 26 +++++++++++++------------- gio/gactiongroup.c | 34 +++++++++++++++++----------------- gio/gsimpleaction.c | 18 +++++++++--------- gio/gsimpleactiongroup.c | 8 ++++---- 4 files changed, 43 insertions(+), 43 deletions(-) commit 3fe94ca9e904a5b85eb4beba978c68e2e01d4a59 Author: Ryan Lortie Date: Mon Oct 11 11:54:51 2010 -0400 GApplication: fill in action group implementation gio/gapplication.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++---- gio/gapplication.h | 3 + 2 files changed, 112 insertions(+), 10 deletions(-) commit 491641cf017eff245dc13f7bea6011c7462c51f1 Author: Ryan Lortie Date: Mon Oct 11 10:50:41 2010 -0400 gio: app info symbol file fixup gio/gio.symbols | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 52b7fcf4093ac49860108c52cef58f62491cf1e4 Author: Ryan Lortie Date: Mon Oct 11 10:49:20 2010 -0400 gio: symbol file updates (actions, command line) gio/gio.symbols | 30 +++++++++++++++++++++++------- 1 files changed, 23 insertions(+), 7 deletions(-) commit d6ac6c1850a8cd73775d6e95a20bb13f1f7f9527 Author: Ryan Lortie Date: Mon Oct 11 10:45:51 2010 -0400 Rename methods on GActionGroup to include 'action' Makes explicit the fact that you are interacting with the individual action rather than the group and removes potential namespace conflicts with classes implementing the interface (like g_application_activate() vs g_application_activate_action()). gio/gactiongroup.c | 46 ++++++++++++++++---------------- gio/gactiongroup.h | 66 +++++++++++++++++++++++----------------------- gio/gapplication.c | 14 +++++----- gio/gsimpleactiongroup.c | 14 +++++----- gio/tests/actions.c | 28 ++++++++++---------- 5 files changed, 84 insertions(+), 84 deletions(-) commit b2f942c142a84aa88b44600250bd93418ed14db3 Author: Ryan Lortie Date: Sun Oct 10 20:05:13 2010 -0400 GApplication: stub-in GActionGroup implementation gio/gapplication.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 82 insertions(+), 1 deletions(-) commit 582638d7add3cd17b720c6a95bd18e9913c729a6 Author: Ryan Lortie Date: Sat Oct 9 17:25:07 2010 -0400 GApplication test: test remote commandline Also, a few small fixes/tweaks to other places in the test. gio/tests/gapplication.c | 68 +++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 62 insertions(+), 6 deletions(-) commit 3e6eee806cdddd651bc15da9117adae1c3f97e6a Author: Ryan Lortie Date: Sat Oct 9 17:24:09 2010 -0400 GApplication: add remote commandline support gio/Makefile.am | 2 + gio/gapplication.c | 88 +++++++++-- gio/gapplication.h | 5 +- gio/gapplicationcommandline.c | 273 +++++++++++++++++++++++++++++++++ gio/gapplicationcommandline.h | 120 +++++++++++++++ gio/gapplicationimpl-dbus-interface.c | 36 +++++- gio/gapplicationimpl-dbus.c | 234 +++++++++++++++++++++++++++- gio/gapplicationimpl.h | 5 + gio/gio-marshal.list | 1 + gio/gio.h | 1 + gio/gioenums.h | 7 +- 11 files changed, 748 insertions(+), 24 deletions(-) commit 2854c373e140e63d6bd1a9f2ac01851c5b6418b1 Author: Ryan Lortie Date: Wed Oct 6 14:06:26 2010 -0400 GApplication test case gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 5 +- gio/tests/gapplication.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 182 insertions(+), 1 deletions(-) commit 72ce1c7eb6ece6353abaf3882ff4d50a39992efe Author: Ryan Lortie Date: Wed Oct 6 14:05:40 2010 -0400 GApplication: fix inactivity-timeout Create the gobject property for it. Tweak the logic of having a pending timeout at the time that the application starts -- run the mainloop with a use count of zero if there is a timeout active. gio/gapplication.c | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) commit a7923a4aa3ff6d67672c6c69cd1b7d70fba9c57d Author: Ryan Lortie Date: Wed Oct 6 13:08:26 2010 -0400 new GApplication implementation gio/Makefile.am | 9 +- gio/gapplication.c | 1790 ++++++++++++++------------------- gio/gapplication.h | 175 ++-- gio/gapplicationimpl-dbus-interface.c | 59 ++ gio/gapplicationimpl-dbus.c | 304 ++++++ gio/gapplicationimpl.h | 28 + gio/gdbusapplication.c | 424 -------- gio/gio-marshal.list | 3 +- gio/gio.symbols | 30 +- gio/gioenums.h | 18 + gio/giotypes.h | 2 + gio/tests/.gitignore | 3 - gio/tests/Makefile.am | 12 - gio/tests/application.c | 222 ---- gio/tests/testapp.c | 107 -- gio/tests/testapps.c | 604 ----------- 16 files changed, 1258 insertions(+), 2532 deletions(-) commit 9d80c361418f94c609840ec9f83741aede7e482c Author: Tor Lillqvist Date: Thu Oct 14 22:47:25 2010 +0300 Use CSIDL_LOCAL_APPDATA on Windows Make g_get_user_data_dir() return the CSIDL_LOCAL_APPDATA folder on Windows, and not CSIDL_PERSONAL. On Windows 7, that corresponds to the subfolders AppData\Local vs. Documents under the profile ("home") folder. This matches what Qt does, for instance, and has been widely requested. Also make g_get_user_config_dir() return this and not the (roaming) CSIDL_APPDATA folder. The reason for this change is that it would be surprising and hard to justify if g_get_user_data_dir() returned the local application data folder while g_get_user_config_dir() would return the roaming one. Nothing in the function names or the XDG specs suggests that any roaming vs. local dichotomy would be involved. Document the new semantics and the fact that these two functions now return the same directory on Windows. Note that in reality, code that really truly wants to support Windows as well as possible probably will not use these GLib functions anyway, but Win32 APIs directly to be sure what it is doing... Should hopefully satisfy complaints in bug #620710 and related bugs. glib/gutils.c | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) commit 9040eac4ebfbe14141d6501f44a501bfe5e61b9c Author: Matthias Clasen Date: Sat Oct 16 23:30:30 2010 -0400 Prevent error pileup gio/glib-compile-schemas.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 3c808dc87471d25a7b06c7f41d1b8341c2ca1e7d Author: Ryan Lortie Date: Tue Oct 12 21:34:26 2010 -0400 GSignal: fix trivial docs typo gobject/gsignal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 15d87c2cc48c8c1af3ad06ff8aaef766aa21fd6b Author: Ryan Lortie Date: Tue Oct 12 20:58:43 2010 -0400 GObject: add g_signal_accumulator_first_wins Deals with the case where we want exactly one signal handler to run. docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.symbols | 1 + gobject/gsignal.c | 33 +++++++++++++++++++++++++++ gobject/gsignal.h | 5 ++++ 4 files changed, 40 insertions(+), 0 deletions(-) commit 0c21689ed83de2fb7bfb6dc31efa5d687cb7c6f8 Author: Colin Walters Date: Tue Oct 12 12:54:36 2010 -0400 gthemedicon: Fix annotation for g_themed_icon_get_names gio/gthemedicon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cdd58347d1ddc282e55f91d0a991b268547d78d9 Author: Jorge González Date: Sat Oct 9 14:38:08 2010 +0200 Updated Spanish translation po/es.po | 700 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 361 insertions(+), 339 deletions(-) commit 5fa7a1e9cedb33d32049c54f13adc3504d723573 Author: Javier Jardón Date: Fri Oct 8 17:21:53 2010 +0200 gtypemodule: Mention g_object_run_dispose correctly in a warning https://bugzilla.gnome.org/show_bug.cgi?id=630797 gobject/gtypemodule.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 44a8ff2f8f607f725c478793b876742b09f350ef Author: Emmanuele Bassi Date: Fri Oct 8 16:09:10 2010 +0100 gobject: Improve install_properties() Cache the parent type outside of the loop, and fix a typo in the documentation. gobject/gobject.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 3035bf40d0d75632b36fa703c3ac2becc98769d8 Author: Christian Dywan Date: Fri Oct 8 16:33:33 2010 +0200 Initialise lengths in GvdbReader to silence warnings gio/gvdb/gvdb-reader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ad363d9aac5a6167121631a1ee8d3cec2784b5c2 Author: Christian Dywan Date: Fri Oct 8 16:33:04 2010 +0200 Initialise lengths in GDbusAuth to silence warnings gio/gdbusauth.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 53f398f52aa07c4ae8c788fcc002f70eac941844 Author: Christian Dywan Date: Fri Oct 8 15:17:31 2010 +0200 Mention g_object_run_dispose correctly in tutorial Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=630797 docs/reference/gobject/tut_gobject.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 0e3a39c016c75523efb30531942cfd87976413c8 Author: Bruce Cowan Date: Thu Oct 7 21:27:17 2010 +0100 Updated British English translation po/en_GB.po | 469 ++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 258 insertions(+), 211 deletions(-) commit 7bafb3be95026055b4c9142ea1a82895c9e393bc Author: William Jon McCann Date: Thu Oct 7 13:51:21 2010 -0400 Remove g_desktop_app_info_lookup_get_type symbol from gio.types It was removed in 9b262f1c5fe5a6fd879f17cd7b80d8c54e33d80c docs/reference/gio/gio.types | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 46390c9d107b6df55de458b3ffe47a5428d7f287 Author: Tor Lillqvist Date: Thu Oct 7 12:04:52 2010 +0300 Don't call close() on -1 Of course, a proper implementation of close() will just ignore an invalid parameter silently, and set errno. But apparently the "debug" version of the Microsoft C library generates some noise in this case. So avoid that. Thanks to John Emmas for reporting. tests/testglib.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 200e3d7307df75803c03a2aebcbba0dc5eaa9161 Author: Yaron Shahrabani Date: Wed Oct 6 02:18:30 2010 +0200 Updated Hebrew translation. po/he.po | 449 ++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 236 insertions(+), 213 deletions(-) commit 9b262f1c5fe5a6fd879f17cd7b80d8c54e33d80c Author: Bastien Nocera Date: Tue Oct 5 15:02:37 2010 +0100 Replace "gio-desktop-app-info-lookup" extension point With a native version, that looks for desktop items supporting x-scheme-handler/foo, when looking for a handler for the "foo" URI scheme handler. https://bugzilla.gnome.org/show_bug.cgi?id=631410 gio/gdesktopappinfo.c | 93 ++++-------------------------------------------- gio/gdesktopappinfo.h | 36 ------------------- gio/gio.symbols | 1 - gio/giomodule.c | 5 --- 4 files changed, 8 insertions(+), 127 deletions(-) commit 1612a4d5065e3505cf45585ffb7e890a06ff27d6 Author: Ryan Lortie Date: Tue Oct 5 02:29:47 2010 -0400 volume monitor: don't unref NULL Fix a couple more cases of blindly calling g_object_unref() on the result of a function that is documented as sometimes returning NULL. gio/tests/volumemonitor.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit a7662ef315d7f369cbbc438dec76e3b9db3cd5ba Author: Ryan Lortie Date: Tue Oct 5 02:11:22 2010 -0400 GVariant tests: fix bad allignment assumption One of the GVariant test cases allocates a pair of character arrays on the stack and then passes them to functions that assume that they will be aligned to a multiple of two. This is not the case for some versions of GCC (4.0.3 on PowerPC). glib/tests/gvariant.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit 3c5b50c4243025c9f42caac9a429291194b77be5 Author: Ryan Lortie Date: Mon Oct 4 21:07:50 2010 -0400 GSettings test: fix error match strings The name of the internal function that appears in an assertion message has changed. Update the tests. gio/tests/gsettings.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit c4037230d4afcc0b634dede843a94b3836bb0c39 Author: Ryan Lortie Date: Mon Oct 4 03:41:03 2010 -0400 gsettings-tool: Add 'range' subcommand Provides access to the g_settings_get_range() functionality, converting its return value to something that's reasonable for printing at the console and potentially parseable. The format may change. Bug #631264. gio/gsettings-bash-completion.sh | 8 ++-- gio/gsettings-tool.c | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 4 deletions(-) commit 59bdba3cbb50274b906740d483f049cdc91eb928 Author: Ryan Lortie Date: Mon Oct 4 03:40:22 2010 -0400 gsettings-tool: implement range-checking Prevent assertion messages from spewing forth and also ensure that we exit with an error status in the event that the value was out of range. Bug #631264. gio/gsettings-tool.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit e740c5b4cdcdf8e5f60cd2500451499c499d4ec2 Author: Ryan Lortie Date: Mon Oct 4 03:36:09 2010 -0400 Update symbols and docs sections docs/reference/gio/gio-sections.txt | 6 +++++- gio/gio.symbols | 2 ++ 2 files changed, 7 insertions(+), 1 deletions(-) commit e81d85615991e40a9c72f4f4319c358a4e1479cd Author: Ryan Lortie Date: Mon Oct 4 03:33:06 2010 -0400 GSettings: add g_settings_range_check() API Checks if a given value is within the correct range for a key. gio/gsettings.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- gio/gsettings.h | 3 +++ 2 files changed, 46 insertions(+), 8 deletions(-) commit d6d76783ae9fc473d7fe38683d729d6c2c8e80c4 Author: Ryan Lortie Date: Mon Oct 4 02:58:46 2010 -0400 Bug 631263 - GSettings needs range/choice APIs Add g_settings_get_range() to describe the possible values that may be provided to g_settings_set_value() without causing an error. Add a test case. gio/gsettings.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++- gio/gsettings.h | 2 + gio/strinfo.c | 31 ++++++++++++++++++ gio/tests/gsettings.c | 43 +++++++++++++++++++++++++ 4 files changed, 159 insertions(+), 1 deletions(-) commit 833e389516b5e5b2271ed84c7b2036801c3100f1 Author: Ryan Lortie Date: Mon Oct 4 02:57:06 2010 -0400 schema compiler: Don't store zero-valued flags Don't store the "none" value for flags into the compiled schema file. "none" should never appear as a value -- no flags set is indicated by an empty array. gio/glib-compile-schemas.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit 136e705e8383ff8848e425ac01278102d7badc52 Author: Ryan Lortie Date: Mon Oct 4 01:51:11 2010 -0400 Bug 627126 - gsettings schemas on FreeBSD Rewrite the install rule for GSettings schemas to not depend on an obscure chunk of non-portable sed that nobody understands the purpose of. Instead, use make's VPATH feature to resolve the paths of the files that need to be installed. No need to depend on the .valid targets here since automake already ensures that 'make all' is complete before 'make install' is permitted to run. m4macros/gsettings.m4 | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) commit 8efcc0d8c86b588eb0ee0e60d3c60d8c107734b5 Author: Ryan Lortie Date: Sun Oct 3 23:26:18 2010 -0400 glib-compile-schemas: write strinfo little endian Ensure that the strinfo is output in little-endian byte order on big endian machines. GSettings is now passing all of its tests on PowerPC. Bug #630968 is closed. gio/glib-compile-schemas.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 61563d5f555f697824cd2ecc17a6687773e6e70e Author: Ryan Lortie Date: Sun Oct 3 23:25:29 2010 -0400 GSettings strinfo: byteswap integers strinfo is always strictly little endian, so ensure that we byteswap to native when comparing and returning. gio/strinfo.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9211d2b00c82057864631a78b1f4ba1d36ee7b5c Author: Ryan Lortie Date: Sun Oct 3 23:15:27 2010 -0400 GSettings endian: missed a spot Missed an instance of get_value -> get_raw_value search/replace. gio/gsettingsschema.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c84441fbb3b2eb14775e8467a07cda4eff4502e1 Author: Ryan Lortie Date: Sun Oct 3 23:04:00 2010 -0400 GSettings big endian tweaks GSettings relies on parts of the schema infromation remaining unbyteswapped (the strinfo database, for example) while requiring other parts to be in native order (the default value, constraints, etc.). Lift the byteswapping into a place where we can do it selectively. gio/gsettings.c | 15 +++++++++++++++ gio/gsettingsschema.c | 12 +----------- 2 files changed, 16 insertions(+), 11 deletions(-) commit 73ca8b47540d005d5227c03aac143d6780da654c Merge: 9082232 e5e491c Author: Ryan Lortie Date: Sun Oct 3 23:03:12 2010 -0400 Merge remote branch 'gvdb/master' commit e5e491c96946ec6ff6809e4b2b757b1f2d497867 Author: Ryan Lortie Date: Sun Oct 3 22:54:03 2010 -0400 Add gvdb_table_get_raw_value() API for GSettings gvdb-reader.c | 23 +++++++++++++++++++++++ gvdb-reader.h | 3 +++ 2 files changed, 26 insertions(+), 0 deletions(-) commit 90822327acdcc0a10f0de41c591e4cee234811db Author: Ryan Lortie Date: Sun Oct 3 22:53:49 2010 -0400 GSettings test: fix unsafe GObject properties use The test case was passing a guint16 to g_object_get() for a guint property. That's invalid on all systems, although it works (more or less) on little endian ones. On big endian it's a total no-go. gio/tests/gsettings.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit 2ce2d587edbeb98b355c4038c218d75a8c8f9c99 Author: Ryan Lortie Date: Sun Oct 3 22:39:47 2010 -0400 GVariant: avoid byteswapping in some cases Make g_variant_byteswap() merely return a new reference on the given value in the event that we know that byteswapping will have no effect (ie: types which have no alignment requirement). This fixes a somewhat complicated interaction between GVariant, GSettings and GVDB on big endian machines: GSettings assumes that it can unref values returned from GVDB without losing access to the underlying data. This only works if the underlying data is in the mapped file -- not a freshly-allocated buffer that GVariant byteswapped into. glib/gvariant.c | 40 +++++++++++++++++++++++++++------------- 1 files changed, 27 insertions(+), 13 deletions(-) commit 63adeda0861a26b38ec0adc76255666554c18951 Merge: cdab385 a35852b Author: Ryan Lortie Date: Sun Oct 3 21:11:17 2010 -0400 Merge remote branch 'gvdb/master' commit a35852bda37400bb4f7c6ee3a3184dde65fadb1f Author: Ryan Lortie Date: Sun Oct 3 21:10:35 2010 -0400 Fix reader on big endian Some of the hashtable code was failing to byteswap properly. gvdb-reader.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit cdab385ad9fcda469c3fae107adc4abc1082c27a Author: Ryan Lortie Date: Sun Oct 3 20:47:26 2010 -0400 allow libtool 2.4 It's released now and it seems to work OK. autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0bd50b39eb8223f2eeffe8dc5fe096b2c7695529 Author: Ryan Lortie Date: Sun Oct 3 17:30:10 2010 -0400 Bug 623400 - acquire context before dispatching For GSettings. Use the functionality introduced in the last commit to simplify our notify dispatching and increase the safety of doing so (by ensuring that the context is acquired in the current thread for the duration of the dispatch). This closes bugs #623400 and #629849. gio/gdelayedsettingsbackend.c | 16 +------- gio/gsettingsbackend.c | 87 +++++++++++++++------------------------- gio/gsettingsbackendinternal.h | 2 - 3 files changed, 33 insertions(+), 72 deletions(-) commit 92974b80fc10f494b33ed6760b5417bbbbb83473 Author: Ryan Lortie Date: Sun Oct 3 17:26:37 2010 -0400 Bug 618737 - "dispatch to context" functionality Adds a new function g_main_context_invoke() (and _full() variant). This function takes a main context, a function and a user_data. If the main context is already acquired in the current thread, the function is invoked directly. If the main context is the default main context of the current thread and it can be acquired then the function is invoked directly while the context is owned. Otherwise, the function is scheduled as an idle on the context. glib/glib.symbols | 2 + glib/gmain.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gmain.h | 9 ++++ 3 files changed, 121 insertions(+), 0 deletions(-) commit 63fb3ff774146a44dcf980bd4cfbca68770a3d93 Author: Žygimantas Beručka Date: Sun Oct 3 15:45:33 2010 +0200 Updated Lithuanian translation by Aurimas Černius po/lt.po | 278 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 158 insertions(+), 120 deletions(-) commit 2d6f8a8ea4a0c86c40da60db2d948306f4c2f5c9 Author: Ryan Lortie Date: Sun Oct 3 02:40:48 2010 -0400 gsettings-tool: Rewrite Rewrite the GSettings tool. Improvements/changes: - simplify the code by performing common actions (like creating a schema) in only one place instead of one per-command - new features (list schemas, list keys, monitor multiple, etc) - factor-out bash completion and implement in shellscript - input validation: should never abort due to invalid inputs Still to do: - proper error checking for ranges/choices - support for querying range/choice information - bash completion support for enums Closes bug #629289, possibly among others. gio/gsettings-bash-completion.sh | 58 ++- gio/gsettings-tool.c | 1047 +++++++++++++------------------------ 2 files changed, 405 insertions(+), 700 deletions(-) commit ed9db23f9a056ae253be25c2262f19047a62fe76 Author: Ryan Lortie Date: Sun Oct 3 01:53:09 2010 -0400 GSettings: implement .property_get('path') This was unimplemented in g_settings_get_property(), leading to a failed 'g_assert_not_reached()'. gio/gsettings.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 5af11ae4bc74104502da537b5a89e92223f697dc Author: Ryan Lortie Date: Sat Oct 2 22:46:53 2010 -0400 Add 'Since:' tags for schema listing APIs gio/gsettingsschema.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit d2c06994402ee30e989efb9e912d3abd16ca0e10 Author: Ryan Lortie Date: Sat Oct 2 22:42:02 2010 -0400 Clean up g_settings_list_schemas() In its previous form, g_settings_list_schemas() was not useful as a tool to prevent aborts due to using g_settings_new() with an invalid schema name. This is because g_settings_list_scheams() also listed relocatable schemas, and calling g_settings_new() for those would abort just the same as if you called it for a non-existent schema. Modify g_settings_list_schemas() so that it only returns schemas for which it is safe to call g_settings_new(). Add another call for sake of completeness: g_settings_list_relocatable_schemas(). gio/gio.symbols | 1 + gio/gsettings.h | 1 + gio/gsettingsschema.c | 126 +++++++++++++++++++++++++++++++++++++------------ gio/tests/gsettings.c | 7 ++- 4 files changed, 103 insertions(+), 32 deletions(-) commit 1fee36f72bdbf87d585222e864cb8494e7156ee0 Author: Damyan Ivanov Date: Sat Oct 2 08:57:09 2010 +0300 Updated Bulgarian translation po/bg.po | 143 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 95 insertions(+), 48 deletions(-) commit ba0e608478367cdb7ee550b9efaefba8bd418720 Author: Ryan Lortie Date: Mon Sep 27 11:14:08 2010 -0400 Improve .gitignore gio/tests/.gitignore | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 3e771509b487fbc671e9217f8dcbd20daa44c116 Author: Ryan Lortie Date: Mon Sep 27 11:10:11 2010 -0400 Bug 628937 - gracefully handle broken schemas Implement the second feature requested in the bug: silently ignore override files that attempt to override schemas that are not currently installed. Also, support 'strictness' being optional for other errors when parsing override files (ie: inability to open the file, unknown key name, parse errors, out of range). We don't completely back out the file in this case — as that is difficult with the current implementation — but just ignore the override for the single key. gio/glib-compile-schemas.c | 121 ++++++++++++++++++++++++++++++-------------- 1 files changed, 83 insertions(+), 38 deletions(-) commit bd290081ff8c7951c6509d0aee23246739a928a2 Author: Ryan Lortie Date: Mon Sep 27 10:36:11 2010 -0400 glib-compile-schemas: improve error accuracy We wrote " must contain at least one " for empty . Fix that. gio/glib-compile-schemas.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit e40f3932dd9d924c3197e98f44950561248297ae Author: Ryan Lortie Date: Mon Sep 27 10:27:11 2010 -0400 Bug 628937 - gracefully handle broken schemas Implement the first of two features requested in the bug: when encountering a broken .xml schema file, back out the changes in that file and continue to parse other files. This prevents a single broken .xml file from messing up GSettings for everyone else. Add a --strict option to get the old behaviour. Use this from the test cases. gio/glib-compile-schemas.c | 89 ++++++++++++++++++++++++++++++++++--------- gio/tests/gschema-compile.c | 1 + 2 files changed, 72 insertions(+), 18 deletions(-) commit fff6814973356ac23b1022113632441110825283 Author: Ryan Lortie Date: Mon Sep 27 09:06:24 2010 -0400 Bug 630077 - GDateTime week number support Fully implement support for ISO 8601 week dates in GDateTime and document that this is the case. Add an exhaustive test case to ensure correctness. docs/reference/glib/glib-sections.txt | 1 + glib/gdatetime.c | 96 ++++++++++++++++- glib/gdatetime.h | 1 + glib/glib.symbols | 1 + glib/tests/gdatetime.c | 188 +++++++++++++++++++++++++-------- 5 files changed, 239 insertions(+), 48 deletions(-) commit fe1186a842458dcc647c5f9ab03f17c762354e95 Author: Matthias Clasen Date: Thu Sep 30 14:40:50 2010 -0400 message_to_write_data_free: Don't unref data->message if it is NULL After the recent changes to message filtering, it can happen that data->message is NULL when we get here. gio/gdbusprivate.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit faaa8a9f8af9548e2d6052d1ba465285cb314cee Author: Giannis Katsampirhs Date: Thu Sep 30 14:47:58 2010 +0300 l10n: Updated Greek translation for glib po/el.po | 7535 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 3835 insertions(+), 3700 deletions(-) commit 98a0ce64a379a60cfaf9b37f52b300c9297ea44c Author: Piotr Drąg Date: Wed Sep 29 18:46:10 2010 +0200 Updated Polish translation po/pl.po | 1642 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 794 insertions(+), 848 deletions(-) commit 755c2dad72650f11397fc5a91ac42af15eafd530 Author: Colin Walters Date: Wed Sep 29 10:38:25 2010 -0400 introspection: Fix one annotation syntax gio/gsettings.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 01735d6cc09b7d24c2af07f91e1e96fe3cf785d1 Author: Gabor Kelemen Date: Wed Sep 29 14:07:05 2010 +0200 Updated Hungarian translation po/hu.po | 632 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 310 insertions(+), 322 deletions(-) commit 38e476ac7da339cec868cabf21beed6a91254935 Author: Bruno Brouard Date: Wed Sep 29 09:02:51 2010 +0200 Updated French translation po/fr.po | 190 ++++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 116 insertions(+), 74 deletions(-) commit 36ba8ffb87a9cf23d37c91d716e3a1512fcc7707 Author: Petr Kovar Date: Wed Sep 29 04:41:25 2010 +0200 Update Czech translation po/cs.po | 994 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 563 insertions(+), 431 deletions(-) commit e458687fac24770f368f9caf498c84400b749f6b Author: Peter Kragelj Date: Tue Sep 28 21:21:38 2010 +0200 Updated Slovenian translation po/sl.po | 218 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 109 insertions(+), 109 deletions(-) commit afb6e1b4589a5308c3e9d7b2b77fdb8d47419929 Author: Fran Diéguez Date: Tue Sep 28 17:35:23 2010 +0200 Updated Galician translations po/gl.po | 555 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 305 insertions(+), 250 deletions(-) commit 339182f575521ede0e380a3cf502f2ff974621b4 Author: Peter Kragelj Date: Tue Sep 28 15:12:00 2010 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 974ab9cfa016e0f6c0b6c58b203fd1b1f891c3a2 Author: Peter Kragelj Date: Tue Sep 28 15:10:33 2010 +0200 Updated Slovenian translation po/sl.po | 623 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 308 insertions(+), 315 deletions(-) commit e44f695f64d1baba9cc2f1eb2cdacbe68837dbfd Author: Gintautas Miliauskas Date: Tue Sep 28 00:12:42 2010 +0300 Updated Lithuanian translation (thanks Aurimas Cernius). po/lt.po | 569 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 307 insertions(+), 262 deletions(-) commit c4f2bd25934cb322c9910ef46148cea1beae2cca Author: Mario Blättermann Date: Mon Sep 27 20:19:46 2010 +0200 [i18n] Updated German translation po/de.po | 582 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 311 insertions(+), 271 deletions(-) commit 973174e5cc56cd4f273c9d3b54a36f803e0b59dd Author: Fabrício Godoy Date: Mon Sep 27 08:49:51 2010 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 2487 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 1588 insertions(+), 899 deletions(-) commit e2ea3eb5867b25465ef3ea540a541611aa7fef18 Author: Damyan Ivanov Date: Mon Sep 27 13:31:09 2010 +0300 Updated Bulgarian translation po/bg.po | 2388 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 1570 insertions(+), 818 deletions(-) commit 1a0dbff2365cc956ed0675a790dc09ea40f04fd1 Author: Ryan Lortie Date: Sun Sep 26 18:51:23 2010 -0400 clean up g_date_time_get_week_day() No functionality changes here. Vastly simplify the algorithm for calculating the day of the week. Fix the documentation (which is incorrectly stating that 1 means Sunday) and clarify that the number we return is in line with ISO 8601 week day numbering. glib/gdatetime.c | 24 +++--------------------- 1 files changed, 3 insertions(+), 21 deletions(-) commit e77faeb9209518f422fa6b035b8f4dd4401bf0e1 Author: Wouter Bolsterlee Date: Sun Sep 26 22:59:38 2010 +0200 Updated Dutch translation by Wouter Bolsterlee po/nl.po | 326 +++++++++++++++++++++++--------------------------------------- 1 files changed, 119 insertions(+), 207 deletions(-) commit 4e091e8647175063d4684cfc6717e70d27f4d625 Author: Lucian Adrian Grijincu Date: Sun Sep 26 22:39:14 2010 +0300 Updated Romanian translation po/ro.po | 2508 +++++++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 2003 insertions(+), 505 deletions(-) commit 30132c44c18d9a08e4c6a9b4834366bd8628ecfa Author: Johan Dahlin Date: Fri Sep 24 18:24:41 2010 -0300 Add a lot of missing annotations gio/gaction.h | 2 +- gio/gappinfo.c | 3 +- gio/gasyncresult.c | 4 +- gio/gcancellable.c | 2 +- gio/gcontenttype.c | 4 +- gio/gconverterinputstream.c | 2 +- gio/gconverteroutputstream.c | 2 +- gio/gcredentials.c | 2 +- gio/gdbusaddress.c | 4 +- gio/gdbusconnection.c | 12 +++--- gio/gdbusmessage.c | 12 +++--- gio/gdbusmethodinvocation.c | 6 ++-- gio/gdbusproxy.c | 2 +- gio/gdesktopappinfo.c | 2 +- gio/gdrive.c | 4 +- gio/gemblem.c | 2 +- gio/gemblemedicon.c | 4 +- gio/gfile.c | 67 +++++++++++++++++++++------------------ gio/gfileenumerator.c | 2 +- gio/gfileicon.c | 4 +- gio/gfileinfo.c | 4 +- gio/gfileinputstream.c | 4 +- gio/gfileiostream.c | 4 +- gio/gfileoutputstream.c | 4 +- gio/gicon.c | 4 ++- gio/ginetsocketaddress.c | 2 +- gio/ginitable.c | 6 ++-- gio/giomodule.c | 4 +- gio/giomodule.h | 2 +- gio/gkeyfilesettingsbackend.c | 2 +- gio/gloadableicon.c | 4 +- gio/gmemoryoutputstream.c | 2 +- gio/gmount.c | 6 ++-- gio/gnetworkaddress.c | 8 ++-- gio/gnetworkservice.c | 2 +- gio/goutputstream.c | 6 ++-- gio/gproxy.c | 4 +- gio/gproxyresolver.c | 6 ++-- gio/gresolver.c | 2 +- gio/gseekable.c | 3 +- gio/gsettings.c | 8 ++-- gio/gsettingsbackend.c | 6 ++-- gio/gsettingsschema.c | 2 +- gio/gsimpleasyncresult.c | 4 +- gio/gsocket.c | 10 +++--- gio/gsocketaddressenumerator.c | 4 +- gio/gsocketclient.c | 18 +++++----- gio/gsocketconnectable.c | 4 +- gio/gsocketconnection.c | 6 ++-- gio/gsocketcontrolmessage.c | 2 +- gio/gsocketlistener.c | 8 ++-- gio/gsrvtarget.c | 2 +- gio/gthemedicon.c | 8 ++-- gio/gunionvolumemonitor.c | 2 +- gio/gunixconnection.c | 2 +- gio/gunixcredentialsmessage.c | 2 +- gio/gunixfdmessage.c | 2 +- gio/gunixmounts.c | 6 ++-- gio/gvfs.c | 12 +++--- gio/gvolume.c | 2 + gio/gvolumemonitor.c | 2 +- 61 files changed, 172 insertions(+), 161 deletions(-) commit 701ce5d2011ee4408212461f6e191eaca2290d0a Author: Johan Dahlin Date: Fri Sep 24 16:23:31 2010 -0300 [introspection] Add GObject annotations These were moved in from gobject-introspection gobject/gobject.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 835f9cb310b988b07d1822c3f12093b9b01bc496 Author: Johan Dahlin Date: Fri Sep 24 15:51:26 2010 -0300 [introspection] Move over annotations Move all the annotations over from gobject-introspection. They will not be used directly by the introspection scanner for now, instead they will be extracted by a script and updated manually until introspection is properly integrated into the glib build gio/gaction.c | 4 ++-- gio/gactiongroup.c | 7 ++++--- gio/gappinfo.c | 6 +++--- gio/gasyncinitable.c | 2 +- gio/gcontenttype.c | 2 +- gio/gdesktopappinfo.c | 2 +- gio/gemblemedicon.c | 3 ++- gio/gfile.c | 22 +++++++++++----------- gio/gfileenumerator.c | 4 ++-- gio/giomodule.c | 3 ++- gio/gmount.c | 8 ++++---- gio/gresolver.c | 22 ++++++++++++---------- gio/gsettings.c | 7 ++++--- gio/gsrvtarget.c | 2 +- gio/gunionvolumemonitor.c | 2 +- gio/gunixmounts.c | 4 ++-- gio/gvolume.c | 6 +++--- gio/gvolumemonitor.c | 2 +- 18 files changed, 57 insertions(+), 51 deletions(-) commit 0927dda8ad29cb4e6b3d19977be1fb747b1d4950 Author: Christian Dywan Date: Fri Sep 24 13:56:35 2010 +0200 Correct error message when GUnixOutputStream fails to write Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=628876 gio/gunixoutputstream.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 80de3ca7ccc4bca1beeaf18459ecf4f703c6a2de Author: Andre Klapper Date: Fri Sep 24 13:15:23 2010 +0200 Add missing file to POTFILES.in po/POTFILES.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4d9ae95ae05669f329381898c38e6a98ae7f0cd5 Author: David Zeuthen Date: Thu Sep 23 19:16:25 2010 -0400 GDBus: Don't use abstract sockets in test code It doesn't really work right now because of a dbus-daemon(1) bug - see the comment added in the TODO section of gdbusconnection.c. So revert to old behavior. The downside is a lot of files in /tmp but right now that's better than not being able to run tests in a loop. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 9 +++++++++ gio/tests/gdbus-sessionbus.c | 6 ++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit a35eb7047116d0614d9d8dc9d1e435d45659d0d6 Author: David Zeuthen Date: Thu Sep 23 18:57:35 2010 -0400 GDBus: Use abstract namespace in test cases to avoid littering all over /tmp Signed-off-by: David Zeuthen gio/tests/gdbus-sessionbus.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit 7036415cc1a32bbd9cc08e516196dbd704f8b5eb Author: David Zeuthen Date: Thu Sep 23 17:23:30 2010 -0400 GDBusConnection: Use correct GMainContext when invoking free functions Without this fix, the ./gdbus-connection test case occasionally fails, see https://bugzilla.gnome.org/show_bug.cgi?id=629945#c5 like this /gdbus/connection/basic: OK /gdbus/connection/life-cycle: ** ERROR:gdbus-connection.c:223:test_connection_life_cycle: assertion failed: (!quit_mainloop_fired) cleaning up bus with pid 21794 Aborted (core dumped) because the callback didn't happen on the same thread as where we are running the loop. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 93 +++++++++++++++++++++++++++++++++++++----- gio/tests/gdbus-connection.c | 57 +++++++++++++++++++++----- 2 files changed, 129 insertions(+), 21 deletions(-) commit 919f64acab8a0bfb1262f3df1cdda4383054e0f1 Author: Stefan Kost Date: Thu Sep 23 18:41:57 2010 +0300 build: fix out of srcdir build The gtk-doc makefile rules do cd srcdir && cp $(HTML_IMAGES) target/ and this breaks for "srcdir" != ".". docs/reference/gobject/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 643e5526c515f0ee6e681b806fda36eaaa3f263c Author: David Zeuthen Date: Thu Sep 23 16:27:52 2010 -0400 GDBus: fix name test cases Since we make message buses come and go, we need to ensure that the singleton connection instance goes away before attempting to call g_bus_get_sync() or similar. Signed-off-by: David Zeuthen gio/tests/gdbus-names.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 71b1d738e2c0fe900b6bb6672aa464ce74b489b3 Author: David Zeuthen Date: Thu Sep 23 16:09:25 2010 -0400 GDBus: bump timeout for some tests When under load, a one second timeout is just not enough. This can be observed by e.g. restarting a CPU- and IO-intensive application like a web browser with many tabs while running the test cases. Therefore, bump the timeouts to 30 seconds. Signed-off-by: David Zeuthen gio/tests/gdbus-connection.c | 8 ++++---- gio/tests/gdbus-tests.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 1f6a9f1e2d2ebc5f37e7c526344d7aa26cee148d Author: David Zeuthen Date: Thu Sep 23 15:47:46 2010 -0400 GDBus: Move "slow" connection test cases into separate test program Signed-off-by: David Zeuthen gio/tests/Makefile.am | 4 + gio/tests/gdbus-connection-slow.c | 214 +++++++++++++++++++++++++++++++++++++ gio/tests/gdbus-connection.c | 160 --------------------------- 3 files changed, 218 insertions(+), 160 deletions(-) commit f0b04acfd31b768151a88db3f8d3347f55b2a7b3 Author: David Zeuthen Date: Thu Sep 23 15:10:50 2010 -0400 GDBusConnection: Avoid callbacks on finalized connection Turns out that GDBusWorker will issue callbacks (in its own thread) even after g_dbus_worker_stop() has been called. This would rarely happen (and unreffing a connection is even rarer) so only saw this bug occasionally when running the gdbus-connection test case in a loop. Fix up this issue by maintaining a set of GDBusConnection objects that are currently "alive" and do nothing in the callbacks if the passed user_data pointer is not in this set. Also attempted to fix up a race condition with _g_object_wait_for_single_ref_do() and its use of GObject toggle references - for now, just resort to busy waiting, thereby sidestepping the toggle reference mess altogether. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 65 ++++++++++++++++++++++++++++++++++++++---- gio/gdbusprivate.c | 14 ++------- gio/tests/gdbus-connection.c | 8 +++-- gio/tests/gdbus-tests.c | 50 +++++++++++++++++++++++++++++++- 4 files changed, 115 insertions(+), 22 deletions(-) commit c3c0e4d11d0682d832d199de31b35457f6078d5c Author: Takayuki KUSANO Date: Fri Sep 24 02:09:10 2010 +0900 Updated Japanese translation (symbolic link related) po/ja.po | 58 ++++++++++++++++++++++++++++++---------------------------- 1 files changed, 30 insertions(+), 28 deletions(-) commit e7df1a4157cc95e658a31de55e8374c4364a2238 Author: Nicolas Dufresne Date: Wed Sep 22 13:11:59 2010 -0400 Fix memory leak in SOCKSv5 implementation gio/gsocks5proxy.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 99d57b5ce952b7f43ff52b41362035bfa193eb5f Author: Benjamin Otte Date: Thu Sep 23 13:57:22 2010 +0200 glib-2.0.m4: Use unsigned variables for version numbers When using signed, we get complaints from gcc about comparing signed to unsigned with -Wsign-compare. And combined with -Werror in users' CFLAGS it breaks configure runs. m4macros/glib-2.0.m4 | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 24a706404ded0578b029b2fb65e6418bda84d32f Author: Bruno Brouard Date: Thu Sep 23 08:47:54 2010 +0200 Updated French translation po/fr.po | 1706 ++++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 1044 insertions(+), 662 deletions(-) commit 61453216803d745b1d563710f8ec3aa918d2e819 Author: Ryan Lortie Date: Wed Sep 22 06:45:02 2010 -0400 GSocketControlMessage: clean up confusing code It looks like the deserialisation function in GSocketControlMessage can potentially leak a reference to the class structure of a GSocketControlMessage subclass (although the particular code path is probably never hit). Clean up the code a bit. Also, make sure that the GUnixCredentialsMessage type is registered before attempting deserialisation. Closes bug #629687. gio/gsocketcontrolmessage.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) commit 02451227ec8bafae48af4c519c9e0441176d1978 Author: Ryan Lortie Date: Wed Sep 22 06:28:49 2010 -0400 fix argument order for g_date_time_difference() The names of the arguments in the header file was reversed. Closes bug #630000 glib/gdatetime.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 86d3342f854f11c1a35f02ec4f54c7aec345bae5 Author: Claude Paroz Date: Wed Sep 22 10:42:55 2010 +0200 Add translator comments for command parameter translation gio/gsettings-tool.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 0a68f09494dea14d90ab802862eaa04d1ac54169 Author: Mattias Põldaru Date: Tue Sep 21 19:18:38 2010 +0300 [l10n] Updated Estonian translation po/et.po | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit 33216f3d07d21bb5a8af62cfffeb18c8352cf114 Author: Inaki Larranaga Murgoitio Date: Tue Sep 21 14:42:23 2010 +0200 Updated Basque language po/eu.po | 1435 ++++++++++++++++++++++++++++++-------------------------------- 1 files changed, 699 insertions(+), 736 deletions(-) commit 60def049d95e82c836cfc8b2f13a4ed8472f7865 Author: Philip Withnall Date: Mon Sep 20 17:56:30 2010 +0100 Bug 630185 — Allow NULL strings in g_quark_try_string() Allow NULL strings to be passed to g_quark_try_string(), returning a 0 quark in that case, as per the existing documentation. Closes: bgo#630185 glib/gdataset.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit f1f7e771d7b3d9f8b7c656c6d9a9d8112f32732d Author: Behdad Esfahbod Date: Mon Sep 20 22:51:26 2010 -0400 Fix typo glib/giochannel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 291545b6eee306249529652a2d1422d0e7a460c8 Author: Colin Walters Date: Mon Sep 20 13:20:04 2010 -0400 gdir: Clarify in documentation that ordering is not defined glib/gdir.c | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) commit 909fad7583ae9459fc3301e6de184b56a963464c Author: Michael Kotsarinis Date: Mon Sep 20 19:40:53 2010 +0300 l10n: Updated Greek translation for glib po/el.po | 6698 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 3700 insertions(+), 2998 deletions(-) commit 05e185728a9b7decfd13f4bffaad9f240253e83f Author: Yaron Shahrabani Date: Mon Sep 20 15:15:46 2010 +0200 Updated Hebrew translation. po/he.po | 1134 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 579 insertions(+), 555 deletions(-) commit de432280a0e93aa1ebde4512fc1dd248af88bb32 Author: Stefan Kost Date: Sun Sep 19 22:06:10 2010 +0300 docs: shorten var name in example We use 'pspec' instead of 'maman_param_spec' elsewhere too. docs/reference/gobject/tut_howto.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit aa8c8df44fc1e2b852bb6a0cfb516f976f841de5 Author: Stefan Kost Date: Sun Sep 19 22:03:40 2010 +0300 docs: fix iface type naming docs/reference/gobject/tut_gtype.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 58e5b01fbc208a8cd374b60951c70e3d5c4355de Author: Stefan Kost Date: Sun Sep 19 21:50:31 2010 +0300 docs: fix docbook validity 'type' must be inside of 'link'. docs/reference/gobject/tut_gobject.xml | 19 ++++++----- docs/reference/gobject/tut_gsignal.xml | 12 +++--- docs/reference/gobject/tut_gtype.xml | 56 ++++++++++++++++---------------- docs/reference/gobject/tut_howto.xml | 10 +++--- 4 files changed, 49 insertions(+), 48 deletions(-) commit 409f7db894bcfc6574d86aec34af6851dacc1666 Author: Stefan Kost Date: Sun Sep 19 21:37:19 2010 +0300 docs: cleanup constructor example Remove unused var and chain-up the sane way we do elsewhere. docs/reference/gobject/tut_gobject.xml | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) commit a6ad0fbec23d78611bafd217ea56fcd58aea1405 Author: Stefan Kost Date: Sun Sep 19 21:33:52 2010 +0300 docs: use passive voice. docs/reference/gobject/tut_howto.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 062e7f7848eb0577e4745b3e8c6a4e8312e360c3 Author: Takayuki KUSANO Date: Mon Sep 20 02:02:32 2010 +0900 Updated Japanese translation po/ja.po | 802 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 413 insertions(+), 389 deletions(-) commit 5bb2da9b999b414ea65a7d89168101ddf87856f1 Author: Ask H. Larsen Date: Sun Sep 19 18:07:57 2010 +0200 Updated Danish translation po/da.po | 1305 +++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 772 insertions(+), 533 deletions(-) commit 29393abf05b7322b1b1d267c5a929136ed8a7c70 Author: Wouter Bolsterlee Date: Sun Sep 19 17:08:25 2010 +0200 Updated Dutch translation by Wouter Bolsterlee po/nl.po | 2089 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 1372 insertions(+), 717 deletions(-) commit abfa91e655254180ce134012cbbcffa8e150a00b Author: Mattias Põldaru Date: Sun Sep 19 11:52:30 2010 +0300 [l10n] Updated Estonian translation po/et.po | 1189 ++++++++++++++++++++++++++++---------------------------------- 1 files changed, 531 insertions(+), 658 deletions(-) commit cec629972b2a599cb28eb9d61cc000c4dc97f534 Author: Ryan Lortie Date: Sat Sep 18 16:31:00 2010 -0400 GDateTime: G_GNUC_WARN_UNUSED_RESULT for modifiers Emmanuele suggested adding G_GNUC_WARN_UNUSED_RESULT to all of the g_date_time_add_* functions to help deal with the situation where people may mistakenly believe that these functions are inplace modifiers. glib/gdatetime.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit ac05f990db211a27a950d61ef4bf47335ced7cc4 Author: Ryan Lortie Date: Sat Sep 18 12:52:58 2010 -0400 Fix header cleaup fallout when using system pcre Using the internal pcre has the side effect of exposing gregex.c to glib.h. When we use the system one, we lose that, so we need to explicitly include the things we use (glist, gatomic, etc..) glib/gregex.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 1bc08279b907529627677c9191664862c063de49 Author: Duarte Loreto Date: Sat Sep 18 12:30:00 2010 +0100 Updated Portuguese translation po/pt.po | 770 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 397 insertions(+), 373 deletions(-) commit c1b7697a8ba4cf016f1efef86369376917acccdb Author: Ryan Lortie Date: Fri Sep 17 20:48:25 2010 -0400 bump version to 2.27.1 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)