commit 5cd829c9245d9441bba03bb137a0ec218f927007 Author: Matthias Clasen Date: Mon May 14 18:06:02 2012 -0400 Keep interface age in sync with micro configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f55caae10274d38d29bc21670087f01ed1be76f Author: Matthias Clasen Date: Mon May 14 18:05:48 2012 -0400 Updates NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit d3268cda0aabece89e720f4968279bd4b0bc9647 Author: Matthias Clasen Date: Mon May 14 18:02:59 2012 -0400 NEWS: correct title NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6799e4a73a93c4c6c2e3fbfbd44f05e5a5e26bcf Author: Dan Winship Date: Tue Apr 17 11:46:50 2012 -0400 GConverterInputStream: fix an infinite loop when fill_buffer returns an error The loop was using a GConverterResult variable where it meant to use a gssize, and since GConverterResult was ending up as an unsigned type, this meant the (res < 0) check always failed. gio/gconverterinputstream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b62b5a3d8c67e3245e6d642207d07cafe3943fc2 Author: Dan Winship Date: Sun Apr 22 15:20:14 2012 -0400 gio: fix error handling in async case of GProxyAddressEnumerator In the async case, a failed DNS lookup was causing the proxy resolution to bail out immediately, rather than just moving on to the next potential proxy (which might not need us to do the DNS lookup beforehand). Fix that. gio/gproxyaddressenumerator.c | 95 +++++++++++++++++++++++++---------------- 1 file changed, 58 insertions(+), 37 deletions(-) commit 6ab3affcc99066828a36c05be49a9c366c52edff Author: Sasi Bhushan Date: Mon May 14 13:32:06 2012 +0530 Updated Telugu Translations po/te.po | 234 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 124 insertions(+), 110 deletions(-) commit 86ee75adb3e6035ec9d53edcb9d86ab556d33a90 Author: Jiro Matsuzawa Date: Sun May 13 19:22:24 2012 +0900 [l10n] Update Japanese translation po/ja.po | 637 +++++++++++++++----------------------------------------------- 1 file changed, 155 insertions(+), 482 deletions(-) commit 64924095a36ea500ed060d094caf0549753dbec0 Author: Christian Kirbach Date: Tue May 8 19:15:09 2012 +0200 [l10n] Updated German translation po/de.po | 108 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 46 deletions(-) commit 59d6312637e32eafc71b10bb8ffd481d2acbaf4a Author: Jiro Matsuzawa Date: Tue May 8 20:24:53 2012 +0900 [l10n] Update Japanese translation po/ja.po | 6155 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3275 insertions(+), 2880 deletions(-) commit 227d978b7a0592d9a6c1181255bf173aa72fcfc9 Author: Alexander Shopov Date: Sat Apr 28 07:55:20 2012 +0300 Updated Bulgarian translation po/bg.po | 209 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 113 insertions(+), 96 deletions(-) commit e6b86fe4f49a02f70482486dee5bcbf3418a73b1 Author: Gil Forcada Date: Sun May 6 16:20:22 2012 +0200 [l10n] Updated Catalan translation po/ca.po | 252 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 144 insertions(+), 108 deletions(-) commit 430ed69af0530e2b5d85925741aaeea043dc083b Author: Matej Urbančič Date: Fri May 4 13:42:36 2012 +0200 Updated Slovenian translation po/sl.po | 266 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 141 insertions(+), 125 deletions(-) commit 5ae043e9ec34e1805d6c3b2a42058b8ca7529b27 Author: Marek Černocký Date: Fri May 4 09:32:11 2012 +0200 Updated Czech translation po/cs.po | 459 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 201 insertions(+), 258 deletions(-) commit e59a29eb9a86ec2c2430df549c10d6f7bb0cc199 Author: Chun-wei Fan Date: Wed May 2 11:06:14 2012 +0800 Fix GIO/GObject Visual C++ projects -Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL builds, omitting this caused problems to surface due to recent works to make GDBus work on Windows. -Also use the FFI_BULIDING macro for GObject builds as the suggessted workaround for using static LibFFI builds (as we do now)-please see ffi.h.in. This will fix the build of GObject against LibFFI 3.0.11, but it is probable that this will change at some point for LibFFI. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 7fe1f97a128be5f48dcd1232250e96bd581a35c1 Author: Michael Biebl Date: Tue May 1 18:42:12 2012 +0200 configure: Reset LIBS after ELF check If action-if-found is not specified, AC_CHECK_LIB will append the library to LIBS. As we don't want to link everything against libelf, reset LIBS after doing the checks. configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit 9ab02c1428385c30b13e24872960474d44b6866b Author: Rafał Mużyło Date: Sun Apr 15 11:17:07 2012 -0400 configure: Fix typo in ELF check Signed-off-by: Colin Walters configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2343f6ecc81b60d0fe2d6b9e91c2eff6d0da915a Author: Ryan Lortie Date: Tue May 1 01:18:04 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2afebe2541dc5dfcbdd4e4e7f9a3e04ccf6b32cd Author: Ryan Lortie Date: Tue May 1 01:04:49 2012 -0400 GLib 2.32.2 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit b6031518d051160d36aef4bc24b4a0b3fad7c5ca Author: Alexander Larsson Date: Thu Apr 26 10:05:41 2012 +0200 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 485c5fcf4880f3a6d92d4b0160e34253418a739c Author: Cosimo Cecchi Date: Mon Apr 16 10:45:12 2012 -0400 tests/date: force English locale running the GDateTime tests The parsing test needs to make some assumption about the locale representation of the string to be parsed, so we need to explicitly override the locale here. glib/tests/date.c | 1 + 1 file changed, 1 insertion(+) commit 7e9306e84e3cfc9b9e43991bd6d1978a77463349 Author: Ryan Lortie Date: Sat Mar 3 11:31:05 2012 -0500 GApplication: allow null application_id GApplication application ID is now permitted to be NULL, in which case G_APPLICATION_NON_UNIQUE will be implicitly enabled. https://bugzilla.gnome.org/show_bug.cgi?id=671249 gio/gapplication.c | 57 ++++++++++++++++++++++++++----------------- gio/gapplicationimpl-dbus.c | 6 +++++ gio/gioenums.h | 9 ++++--- 3 files changed, 45 insertions(+), 27 deletions(-) commit 33f52e58e9d4f82524c20b23daa240b72f01230c Author: Bruno Brouard Date: Mon Apr 30 21:54:22 2012 +0200 Updated French translation po/fr.po | 171 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 93 insertions(+), 78 deletions(-) commit d92736ab032bb650b1d115042e2a0ff965175940 Author: Xavier Claessens Date: Wed Apr 25 15:02:25 2012 +0200 Fix g_clear_object macro with C++ compilers In C++ it is invalid to cast a void* to void**. Also add a static check to ensure sizeof(*object_ptr) == sizeof (gpointer). This avoid common mistake of missing '&' in g_clear_object(&obj); https://bugzilla.gnome.org/show_bug.cgi?id=674634 gobject/gobject.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9e4b28051db5eb402d1cd6d881302e8714009010 Author: Fran Diéguez Date: Mon Apr 30 16:22:09 2012 +0200 Updated Galician translations po/gl.po | 205 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 110 insertions(+), 95 deletions(-) commit dfd4bab41bba9b5b270d6c72a438e67c998a5a49 Author: Luca Ferretti Date: Mon Apr 30 15:41:08 2012 +0200 l10n: Updated Italian translation po/it.po | 319 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 169 insertions(+), 150 deletions(-) commit 1c7878d7f14e0c67cc6fa560e92f4b0d882247a3 Author: Мирослав Николић Date: Sun Apr 29 12:08:04 2012 +0200 Updated Serbian translation po/sr.po | 257 ++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 257 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 272 insertions(+), 242 deletions(-) commit 2c245e702e4cb61ce6917a028d5e4fabb2780b89 Author: Piotr Drąg Date: Sat Apr 28 18:03:13 2012 +0200 Updated Polish translation po/pl.po | 109 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 63 insertions(+), 46 deletions(-) commit ae2dd455bc3c70865f62e2663c23852be18e4bdf Author: Jonh Wendell Date: Sat Apr 28 10:11:25 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 375 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 197 insertions(+), 178 deletions(-) commit 171f97aacc361ead17be90b0dc29bc9075d5d83b Author: Daniel Mustieles Date: Sat Apr 28 11:30:41 2012 +0200 Updated Spanish translation po/es.po | 350 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 187 insertions(+), 163 deletions(-) commit 5b29f72c3dd17367f4d7302aca419de6605521cc Author: Aurimas Černius Date: Fri Apr 27 22:17:10 2012 +0300 Updated Lithuanian translation po/lt.po | 265 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 140 insertions(+), 125 deletions(-) commit 9926b9315c3f74a9b0b54fb29cd6495dd363fd54 Author: Debarshi Ray Date: Mon Apr 16 23:00:01 2012 +0200 GAppInfo: overwrite the DISPLAY only if it is set in the launch context If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed306565c0652050665eafff4dfcdf0d8b Fixes: https://bugzilla.gnome.org/672786 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a7a1a50d6a8eb8387cce1756f3c38abf36f281b4 Author: Michael Olbrich Date: Wed Apr 25 09:46:35 2012 +0200 make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the correct alignment. Without a previous AC_CHECK_TYPE for the same type, the alignment is silently set to '0'. This makes sure that configure fails and reports the problem. Signed-off-by: Michael Olbrich https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit 8f2c2eef3ca53c7534e462453fd54321677904d9 Author: Alexander Larsson Date: Tue Apr 24 14:53:49 2012 +0200 win32: Fix build with srcdir != builddir Missed this part in the last commit (cherry picked from commit 62905cda0b42163bbd582278260f659f94e4d2bf) gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b588b3e46f08ae4f79f75cc9a8b749c2fba8f9d Author: Alexander Larsson Date: Tue Apr 24 14:03:38 2012 +0200 win32: Fix build of gdbus-daemon-generated.[ch] gdbus-daemon-generated.[ch] failed to build because it depended on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part of the build, however SUBDIRS are done *after* processing BUILT_SOURCES, and these files are in BUILT_SOURCES. The fix is simple, instead of running the gdbus-codegen code we run the gdbus-codegen.in code, which works fine for uninstalled execution. I also removed Makefile from the dependencies to avoid rebuilding the file in tarballs, as Makefiles are written at configure time. We should be able to ship the prebuilt files in the tarballs. When running uninstalled (cherry picked from commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67) gio/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d47f4c4ce6f538eeaca31e2b8e0b394c75851447 Author: Chun-wei Fan Date: Tue Apr 24 00:03:33 2012 +0800 Visual C++ projects: Clean/fix up Clean/fix up the Preprocessor Definitions for the various projects, where we purge out the unneeded macros and add _DEBUG to the Debug builds of various projects that somehow lacked this. This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro in the release builds will cause a debug entry to appear in its manifest file during the build, which will cause GIO-using applications to fail to run on systems not running Visual C++/Studio 2008 due to its embedding of a badly-generated manifest file. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/glib-genmarshal.vcxproj | 8 ++++---- build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs10/gmodule.vcxproj | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 4 ++-- build/win32/vs10/gspawn-win32-helper.vcxproj | 4 ++-- build/win32/vs10/gthread.vcxproj | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib-genmarshal.vcproj | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 4 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 4 ++-- build/win32/vs9/gthread.vcproj | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) commit d161fcf3851c7d427deb32abecdd50ce95599a0b Author: Alexandre Rostovtsev Date: Sun Apr 15 22:57:25 2012 -0400 Do not detect GNUstep as Cocoa GNUstep also installs Foundation/Foundation.h https://bugzilla.gnome.org/show_bug.cgi?id=674172 Signed-off-by: William Hua configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit 76627dc7b6f128517d7ee5208e8d2c18df779dd7 Author: William Hua Date: Tue Apr 17 23:49:47 2012 -0400 Use Cocoa header for Cocoa test instead of Foundation. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d58a42fd38f9c2d39df308a93a1707ee007053c9 Author: Alexander Larsson Date: Tue Apr 17 15:50:01 2012 +0200 Fix build on win32 Some errnos don't exist on win32 (cherry picked from commit 2414d7d6a197e0c4b184607160d6cd8a378df177) glib/tests/fileutils.c | 2 ++ 1 file changed, 2 insertions(+) commit b5a846ca763cf4172b57e93bd16a066b8f3d8696 Author: Alexander Larsson Date: Fri Apr 20 10:23:34 2012 +0200 win32: Implement _g_dbus_get_machine_id using machine guid This is what libdbus uses, so we're compatible. (cherry picked from commit 5fb44f70dcac16ff6f13d3d36c330ddd617a5d97) gio/gdbusprivate.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 5d41a0212550281db91125f11e0a9ba00beb6b73 Author: Alexander Larsson Date: Wed Apr 18 17:09:37 2012 +0200 win32: Support autolaunching dbus daemon (cherry picked from commit dccce383670592f12510019e92ea91a618a1810c) gio/Makefile.am | 8 ++ gio/gdbusaddress.c | 306 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 312 insertions(+), 2 deletions(-) commit cef54a9b8270d35149bf0e1db03045d6cbcea6eb Author: Alexander Larsson Date: Wed Apr 18 16:25:29 2012 +0200 Add _g_io_win32_get_module to get the gio HMODULE (cherry picked from commit bd148e127a5863de4aef260cd879e0eda370c711) gio/giomodule-priv.h | 4 ++++ gio/giomodule.c | 6 ++++++ 2 files changed, 10 insertions(+) commit 9490d67f3c8a3f8b5d6bb866a139ab6c93df42fd Author: Alexander Larsson Date: Mon Apr 16 10:16:04 2012 +0200 Add GDBusDAaemon, an implementation of a message bus This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work. (cherry picked from commit 25581738a8d5ee7db2a6d9ebd908d59b2837cd70) gio/.gitignore | 1 + gio/Makefile.am | 17 +- gio/dbus-daemon.xml | 76 +++ gio/gdbusdaemon.c | 1752 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusdaemon.h | 19 + 5 files changed, 1864 insertions(+), 1 deletion(-) commit 27352d96e28cf9e65bce12e2250a679261872aae Author: Alexander Larsson Date: Tue Apr 17 15:50:53 2012 +0200 gdbus: Escape nonce files in dbus addressess Otherwise the colon in c:\blah made for trouble (cherry picked from commit 82aecce30131e275dff73f23ee91e7c40a9b3f03) gio/gdbusserver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5051aaca68eacf280ce48d1500a19cccf2125fc8 Author: Alexander Larsson Date: Mon Apr 16 09:55:29 2012 +0200 Support initial underscores in dbus codegen namespace Before these were considered lowercase and thus got duplicated. (cherry picked from commit ff92fe95935b38eaacedb287f6600df000ed1c1a) gio/gdbus-2.0/codegen/utils.py | 7 +++++++ 1 file changed, 7 insertions(+) commit ad35c6cae1ad065bc46968b1169c18e624dd8ada Author: Benjamin Otte Date: Fri Apr 20 14:31:05 2012 +0200 resourcefile: Set display name Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345 gio/gresourcefile.c | 1 + 1 file changed, 1 insertion(+) commit 153cad8974740b0a32341b7531a0b66be5181c7c Author: Hannes Mueller Date: Sat Feb 4 10:06:35 2012 +0100 avoid warning in gutils.h when using gcc with -Wconversion Old solution to avoid warning with gcc flag -Wconversion does not work with gcc >=4.3 since the behaviour for that flag has been changed, ref. http://gcc.gnu.org/wiki/NewWconversion. Now cast for __builtin_clzl is required, which itself is declared to return int. https://bugzilla.gnome.org/show_bug.cgi?id=619026 glib/gutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 437b831c76079d53649a363f5401cf98134ae2f8 Author: Christian Persch Date: Mon Apr 9 15:34:10 2012 +0200 resources: compiler: Fix resources on big endian architectures Resources are always little endian, so the gvdb is byteswapped. When looking up the value, it would return a new byteswapped variant, making the data returned from do_lookup() invalid once that variant is unref'd. Since byteswapping doesn't matter for the "ay" data anyway, just use gvdb_table_get_raw_value() instead and only byteswap the length and flag values. https://bugzilla.gnome.org/show_bug.cgi?id=673409 (cherry picked from commit 5ef34e5f11b4f71a66615b6506108ee540cc3420) gio/gresource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c7db8d989bdbdda4de561ee65693ba538ec0ca2a Author: Colin Walters Date: Mon Apr 16 11:50:05 2012 -0400 tests/mainloop: Add a test for recursive child sources https://bugzilla.gnome.org/show_bug.cgi?id=669260 glib/tests/mainloop.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit a6822b46dba80fa431cef4bccd8c9ae5a1f5d85c Author: Dan Winship Date: Fri Apr 13 11:44:34 2012 -0400 tests/mainloop: add a test for child sources https://bugzilla.gnome.org/show_bug.cgi?id=669260 glib/tests/mainloop.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit b1d447bd664bcbc607811c7920b67856d4f551e6 Author: Dan Winship Date: Wed Apr 11 15:21:17 2012 -0400 gmain: block child sources when blocking the parent When blocking a source that has child sources, we need to consider the children blocked as well. Otherwise they will still trigger repeatedly in an inner loop started from the parent source's callback. https://bugzilla.gnome.org/show_bug.cgi?id=669260 glib/gmain.c | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) commit c18ef42c454d57903866ee8103286e342aacf0ac Author: Piotr Drąg Date: Mon Apr 16 21:19:23 2012 +0200 Updated Polish translation po/pl.po | 104 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) commit 6b4c907cc716b12488cd472aac3024be30f0846a Author: Kalev Lember Date: Sat Apr 14 15:48:13 2012 +0300 Only build gmenumodel test on unix It depends on gdbus-sessionbus.c which only builds on unix. gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 274940b2476e99ea850da29215c1ce91d2bb85cf Author: Kalev Lember Date: Sat Apr 14 15:40:17 2012 +0300 tests/fileutils: Fix Windows build glib/tests/fileutils.c | 2 ++ 1 file changed, 2 insertions(+) commit c88c1639a3e4e91076cc68db4bdc782930f66558 Author: Yinghua Wang Date: Mon Apr 16 14:06:56 2012 +0800 update Simplified Chinese (zh_CN) translation po/zh_CN.po | 320 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 162 insertions(+), 158 deletions(-) commit 9b1a9ed4ce326d4ebfca68b2a98ddb4d8110e5e7 Author: David Zeuthen Date: Sat Apr 14 12:29:30 2012 -0400 GSocketControlMessage: Don't warn about unknown messages If we do this, the tests added in bug 673943 will cause warnings. Signed-off-by: David Zeuthen gio/gsocketcontrolmessage.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 55bbb9fc69856fff853e4f464ac0813e247e78d2 Author: Matthias Clasen Date: Fri Apr 13 19:54:42 2012 -0400 Bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2b6cf583d264c101c72f4f7554925a0612b58e08 Author: Matthias Clasen Date: Fri Apr 13 19:53:42 2012 -0400 2.32.1 NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) commit c1a83a4ac8b0e45bd176ff1334f58ae2d5c33ad2 Author: Matthias Clasen Date: Fri Apr 13 18:51:23 2012 -0400 Fix distcheck I forgot to dist a test script, and forgot to look for it in srcdir instead of builddir. glib/tests/Makefile.am | 3 ++- glib/tests/spawn-singlethread.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) commit 9375212311382679344649b66d5161b25af02724 Author: Christian Kirbach Date: Fri Apr 13 19:39:19 2012 +0200 [l10n] Updated German translation po/de.po | 302 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 152 insertions(+), 150 deletions(-) commit baf0ebf7b233f05359f59dbee8d73fa15ef09407 Author: Dan Winship Date: Fri Apr 13 11:43:09 2012 -0400 tests/mainloop: fix a race condition Rather than depending on the machine's speed/load, just interlock between the two threads properly. glib/tests/mainloop.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit e0aa0ae8a2b8a8989447673a7323434040ec7bd0 Author: Dan Winship Date: Fri Apr 13 11:42:39 2012 -0400 tests/mainloop: use g_assert_cmpint(), for better error messages glib/tests/mainloop.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 50aed1cc8f5cfc18d389c5e1c059368482fba56d Author: Matthias Clasen Date: Fri Apr 13 09:31:08 2012 -0400 Make the markup-parse test independent of the locale I added a setlocale call, because we need it for Unicode to come out right; but I forgot to fix the locale, so we now fail when comparing error messages to the expected (English) result. Correct this by setting LANG explicitly to en_US.utf-8. https://bugzilla.gnome.org/show_bug.cgi?id=669285 glib/tests/markup-parse.c | 1 + 1 file changed, 1 insertion(+) commit 5e0be9e9e2a3ed3b84fe3ce8d4d560220bd78811 Author: Bruce Cowan Date: Fri Apr 13 13:27:39 2012 +0100 Updated British English translation po/en_GB.po | 289 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 147 insertions(+), 142 deletions(-) commit e13fc585354508cb28dd08b7d3f44f5744cfa461 Author: Kalev Lember Date: Fri Apr 13 13:22:46 2012 +0300 GResource docs: fix typo gio/gresource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 192892b52cbd13d4d3a09c1ca09c5ccdfe76d359 Author: Ryan Lortie Date: Thu Apr 12 20:04:32 2012 -0400 GSettings docs: clarify what is a good path Add an explicit note to the docs about choosing paths based on domain names, not ones like "/apps/", "/desktop/" or "/system/". gio/gsettings.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Author: Ryan Lortie Date: Thu Apr 12 19:55:34 2012 -0400 glib-compile-schemas: warn about bad dconf paths For quite some time the recommended usage of GSettings and dconf has been to use paths like /org/gnome/example/. Use of /apps/ has spilled over from GConf and is continuing to make its way into a number of applications as they port. glib-compile-schemas will now warn about these types of paths being used. This generates a lot of noise, but hopefully it will reduce the number of ported applications making this mistake. gio/glib-compile-schemas.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 386f0f29fd3dc8e39f49b50ae496c6b1feb3b0a1 Author: Alexander Larsson Date: Thu Apr 12 16:50:20 2012 +0200 Fall back to SO_PEERCRED if credentials passing fails Turns out libdbus doesn't send struct ucred credentials on linux, but just relies on the SO_PEERCRED support. However, gdbus does send, and expect to recieve a ucred credential. So, when libdbus talks to a gdbus server the authentication fails to send the credentials. We fix this by falling back to g_socket_get_credentials() if we don't get any credential messages. gio/gunixconnection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ec91ed00f14c70cca9749347b8ebc19d72d9885b Author: Alexander Larsson Date: Thu Apr 12 16:43:49 2012 +0200 Detect "empty" socket credentials on Linux Linux uses struct ucred to pass over socket credentials. Historically this has always worked in recievemsg, if SO_PASSCRED was set on the socket, even if the remote side didn't pass any credits. But this change broke that: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=16e5726269611b71c930054ffe9b858c1cea88eb;hp=a9e9fd7182332d0cf5f3e601df3e71dd431b70d7 However, it doesn't actually fail getting the credentials, it just returns an "empty" one, as initialized by cred_to_ucred() at: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/core/sock.c;h=b29ab61b029cf7f76fda992ecfcb8dcaa06b0483;#l756 So, we detect this and fail the credentials reading. This actually happened in real life with gdbus acting as a server, as gdbus expected an ucred but libdbus didn't send one. gio/gunixcredentialsmessage.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 69d929e67fd44d9a20c64064cc7e06f5d3cead82 Author: William Hua Date: Wed Apr 11 23:25:09 2012 -0400 Be more precise about Carbon v. Cocoa. configure.ac | 14 ++++++++++++++ gio/Makefile.am | 7 ++----- gio/giomodule.c | 2 +- gio/gsettingsbackendinternal.h | 2 +- 4 files changed, 18 insertions(+), 7 deletions(-) commit ebe30ef463f5fd2f011a3386c8e95aff7a42ab22 Author: OKANO Takayoshi Date: Thu Apr 12 09:30:05 2012 +0900 [l10n] Update Japanese translation po/ja.po | 430 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 215 insertions(+), 215 deletions(-) commit 47692845c0a062a76f99b5de125c5eafa4556847 Author: Kalev Lember Date: Wed Apr 11 16:41:48 2012 +0300 gio-2.0.pc: Avoid full path to executables Instead of using full path in glib_compile_schemas and glib_compile_resources variables, rely on having the executables in PATH. This fixes the cross-compiling case where we cannot execute the binaries for target system. Instead of executing the target system's binaries, we need to use the native versions installed on the build host. The easiest way to find the native executables is to just pick them up from PATH. In addition, this brings gio-2.0.pc in line with glib-2.0.pc -- the latter has historically only listed the executable name and not the full path. https://bugzilla.gnome.org/show_bug.cgi?id=673911 gio-2.0.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5739d896f8d3bf9883d4f5e4b7553a617a1c751a Author: Jeremy Huddleston Date: Wed Apr 11 02:05:00 2012 -0400 Don't use fast enumeration in old version of Mac OS. Signed-off-by: William Hua gio/gnextstepsettingsbackend.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 51a2661da647d6ad5610a98bbdb8c805f822265b Author: Jeremy Huddleston Date: Wed Apr 11 01:44:29 2012 -0400 Link with Foundation framework on OSX. Signed-off-by: William Hua gio/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 92654b5035966e36a3b17d4a8a7db74d857f3acf Author: Bruno Brouard Date: Wed Apr 11 14:53:22 2012 +0200 Updated French translation po/fr.po | 176 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 90 insertions(+), 86 deletions(-) commit 708f82735ddade84ebd82106aa921fcb04c8c01f Author: Chandan Kumar (ciypro) Date: Wed Apr 11 16:25:22 2012 +0530 Updated HINDI translation po/hi.po | 1051 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 586 insertions(+), 465 deletions(-) commit 53accb95c017f21761d550dddc92c8d8bf5f2d58 Author: Kjartan Maraas Date: Wed Apr 11 12:41:51 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 228 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 116 insertions(+), 112 deletions(-) commit e1cabfd3f2c294d5fc7c79135d1bb284b456c0d1 Author: Matthias Clasen Date: Tue Apr 10 23:52:30 2012 -0400 Updates NEWS | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit e448f206e6473b5eb17b2296d90a5876eb5f34a0 Author: Carles Ferrando Date: Tue Apr 10 23:12:29 2012 +0200 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 187 +++++++++++++++++++++++++++-------------------------- 1 file changed, 96 insertions(+), 91 deletions(-) commit 1083b28fb98daed0318eadbc26fdde3201c7ca0a Author: Jordi Serratosa Date: Tue Apr 10 23:12:23 2012 +0200 [l10n] Fixes on Catalan translation po/ca.po | 249 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 122 insertions(+), 127 deletions(-) commit c037879bd1424dce4e897635d829327b21e86e69 Author: Will Thompson Date: Fri Apr 6 10:03:29 2012 +0100 gdbus: test case for 673612 When presented with an array of empty arrays of 8-byte-aligned types, GDBus would incorrectly apply the 8-byte alignment when reading back. https://bugzilla.gnome.org/show_bug.cgi?id=673612 Signed-off-by: David Zeuthen gio/tests/gdbus-serialization.c | 60 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) commit 113f4abb67620696f63d61d1f22a5be635332b7c Author: Will Thompson Date: Tue Apr 10 13:20:09 2012 +0100 GDBusMessage: do not align for grandchildren of empty arrays. D-Bus arrays are serialized as follows: 1. align to a 4-byte boundary (for the length) 2. uint32: the length of the serialized body in bytes 3. padding for the alignment of the body type (not included in the length) 4. the body. Note that 3. is a no-op unless the body type is an 8-byte aligned type (uint64, int64, double, struct, dict_entry), since you are always on a 4-byte boundary from aligning and writing the length. So, an empty aax (that is, an array containing zero arrays of int64) is serialized as follows: 1. align to a 4-byte boundary 2. length of the contents of this (empty) array, in bytes (0) 3. align to a 4-byte boundary (the child array's alignment requirement) 4. there is no body. But previously, GDBus would recurse in step three to align not just for the type of the child array, but for the nonexistent child array's contents. This only affects the algorithm when the grandchild type has 8-byte alignment and the reader happened to not already be on an 8-byte boundary, in which case 4 bytes were spuriously skipped. https://bugzilla.gnome.org/show_bug.cgi?id=673612 Signed-off-by: David Zeuthen gio/gdbusmessage.c | 151 +++++++++++++++++++++++++--------------------------- 1 file changed, 72 insertions(+), 79 deletions(-) commit e28d3ef92197eb2e2a6a3a5627dcfaf475021e7e Author: Will Thompson Date: Tue Apr 10 12:58:52 2012 +0100 GDBusMessage: print more debug info about alignment Signed-off-by: David Zeuthen gio/gdbusmessage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ce5710121961d0a7dfc1b5f83577e485560fa8c8 Author: Yaron Shahrabani Date: Tue Apr 10 20:06:51 2012 +0300 Updated Hebrew translation. po/he.po | 254 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 129 insertions(+), 125 deletions(-) commit 6620b305a7eae8b59303b3858c25b3f9b9e5fc2d Author: Мирослав Николић Date: Tue Apr 10 11:06:03 2012 +0200 Updated Serbian translation po/sr.po | 183 ++++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 183 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 184 insertions(+), 182 deletions(-) commit 825fdfdc9a7ad9a64ca2ea9184b7c7db397d37f8 Author: Jasper St. Pierre Date: Mon Apr 9 20:07:13 2012 -0300 gclosure: Support return values of GVariants https://bugzilla.gnome.org/show_bug.cgi?id=673803 gobject/gclosure.c | 3 +++ 1 file changed, 3 insertions(+) commit c39d6954d3219472b3e9187bb86931051d313582 Author: Cosimo Cecchi Date: Mon Apr 9 15:47:29 2012 -0400 tests: always use four digit years for date parsing tests Or some system with different locale settings might get confused whether a two digit year is to be parsed with regard to the current century or as an absolute year. glib/tests/date.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3b079daf9de2a293ad272ca997cd9dd06f072d8e Author: Aurimas Černius Date: Mon Apr 9 21:52:10 2012 +0300 Updated Lithuanian translation po/lt.po | 196 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 99 insertions(+), 97 deletions(-) commit 390f02fca0a3f79e7349bf12bdf30cba5ceae448 Author: Piotr Drąg Date: Mon Apr 9 17:24:00 2012 +0200 Updated POTFILES.skip po/POTFILES.skip | 1 + 1 file changed, 1 insertion(+) commit 72aca9db1de2fc897e85d47ada1674af9b96c9b4 Author: Fran Diéguez Date: Sun Apr 8 21:56:22 2012 +0200 Updated Galician translations po/gl.po | 210 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 107 insertions(+), 103 deletions(-) commit ee29e496841d3b56689e826eba9ec0e7ca7f91bc Author: Matthias Clasen Date: Sun Apr 8 10:23:16 2012 -0400 binding: Improve test coverage gobject/tests/binding.c | 3 +++ 1 file changed, 3 insertions(+) commit fb0951e67aa8f650f76d6e9bddf4f93c42c57735 Author: Matthias Clasen Date: Sun Apr 8 10:21:50 2012 -0400 spawn: Improve test coverage Add a test that excercises the script execution code. Unfortunately, much of this code only runs in the forked child, and therefore its execution does not get caught by gcov. glib/tests/echo-script | 1 + glib/tests/spawn-singlethread.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) commit b87e7ca7291929d405deaec23368165638255504 Author: Matthias Clasen Date: Sun Apr 8 10:21:27 2012 -0400 mainloop: Improve test coverage glib/tests/mainloop.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 43806fca693cb2b12d6f50b0ec38f5e2ed8022c5 Author: Matthias Clasen Date: Sun Apr 8 10:20:46 2012 -0400 settings: Improve test coverage gio/tests/gsettings.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 3072e7afee287a32d44b1113fd341f7ae64b77e3 Author: Matthias Clasen Date: Sun Apr 8 10:20:10 2012 -0400 gdbusserver: Improve test coverage gio/tests/gdbus-peer.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit 26145b97088428444182bcd3c1371c9e27bcb375 Author: Matthias Clasen Date: Sun Apr 8 10:19:20 2012 -0400 icon: Improve test coverage gio/tests/g-icon.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit a8c869e9458087220df7e0194c3981032e8caed4 Author: Matthias Clasen Date: Sun Apr 8 10:17:32 2012 -0400 contenttype: Improve test coverage Excercise more parts of the guessing machinery. These tests rely on the mime database being present. gio/tests/contenttype.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 1e2cf010e7de9041c38a2ea4bb29807086720f76 Author: Matthias Clasen Date: Sun Apr 8 10:17:04 2012 -0400 networkaddress: Improve test coverage gio/tests/network-address.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 5632e9fc9cc588d4846cb40e88194d025f758412 Author: Matthias Clasen Date: Sun Apr 8 10:15:29 2012 -0400 networkaddress: Fix userinfo parsing in uris The code that is checking the userinfo part was accidentally given a pointer to the end of the userinfo, so it was not checking the right portion of the string at all. gio/gnetworkaddress.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 2a1ea40920b3a65420e085c3828da9e406e7afa0 Author: Matthias Clasen Date: Sat Apr 7 11:32:36 2012 -0400 utils: Improve test coverage Add a test for some of our gettext variants. glib/tests/utils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 5951295937feffcb9b9671c20f3f07a6df4fd984 Author: Matthias Clasen Date: Sat Apr 7 11:28:42 2012 -0400 fileutils: Improve test coverage Add tests for corner cases of g_path_get_basename, and for the errno-to-file-error conversion. glib/tests/fileutils.c | 59 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) commit 550b69b963dd63360b762172073490b49167ff70 Author: Matthias Clasen Date: Sat Apr 7 11:28:04 2012 -0400 sort: Improve test coverage Test the code paths that sort 'large' items. glib/tests/sort.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) commit 06015064b8766bbc3efbc38ed2a62703322ca173 Author: Matthias Clasen Date: Sat Apr 7 11:27:15 2012 -0400 date: Improve test coverage Add tests that exercise g_date_order, g_date_compare, g_date_clamp, and more of the date parsing functions. glib/tests/date.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit cbeecdc4ae5e25e94e694f0503e42386572c5a25 Author: Matthias Clasen Date: Sat Apr 7 11:23:47 2012 -0400 convert: Improve test coverage Add a test that excercises the 'no conversion' code path. This uncovered that we don't treat errno properly in this path, and as a consequence, the returned error code is unreliable. glib/tests/convert.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 7d489acecc4d3e293660d59a942e686776d6b2b4 Author: Matthias Clasen Date: Sat Apr 7 11:22:13 2012 -0400 collate: Improve test coverage Add some strings that exercise the non-ASCII parts of our collation support. glib/tests/collate.c | 3 +++ 1 file changed, 3 insertions(+) commit 6a57bf12433e241a82a7646cde33b5297bc86d3a Author: Matthias Clasen Date: Sat Apr 7 11:21:09 2012 -0400 Make the dbus menu tests independent from the session bus With this change, DBUS_SESSION_BUS_ADDRESS= make check succeed here. gio/tests/Makefile.am | 1 + gio/tests/gmenumodel.c | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit d036960d3058825625bc595896306f53e787e408 Author: Matthias Clasen Date: Sat Apr 7 11:20:01 2012 -0400 ifdef out some unused code Nothing wrong with leaving debug spew in the code, but we should not build it if it is not used. gio/tests/gdbus-connection.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit fca9c7a2c73a0c12154b28dff71b90b09f0e0c22 Author: Piotr Drąg Date: Sun Apr 8 13:13:53 2012 +0200 Updated Polish translation po/pl.po | 194 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 99 insertions(+), 95 deletions(-) commit 4becf835b7a2739e727aa0bf272a8b5c0b67b36c Author: Alexander Shopov Date: Sat Apr 7 20:58:19 2012 +0300 Updated Bulgarian translation po/bg.po | 208 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 106 insertions(+), 102 deletions(-) commit 5ce66bed3df43b8fe0a2b2b973f7b1b097ee80ac Author: Matthias Clasen Date: Fri Apr 6 21:22:17 2012 -0400 Formatting cleanup gio/gresource.c | 405 +++++++++++++++++++++++++++---------------------------- 1 file changed, 202 insertions(+), 203 deletions(-) commit 8db4b949b8fa4577ecff0289776a5c098c575cc5 Author: Matthias Clasen Date: Fri Apr 6 20:50:34 2012 -0400 Always use '/' in test paths It does not make much sense to use a platform-dependent directory separator in these strings, since they are not filesystem paths. https://bugzilla.gnome.org/show_bug.cgi?id=673216 glib/gtestutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e52cf810426600fde8b92dc44482b9e19680dc43 Author: Matthias Clasen Date: Fri Apr 6 20:41:19 2012 -0400 Don't return values from void functions Sun CC does not take that lightly. gio/gactionmap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit d0b429af482d759f33b82002362ecd8630edc943 Author: Matthias Clasen Date: Fri Apr 6 19:15:53 2012 -0400 Revert "GDesktopAppInfo: add an accessor for StartupWMClass" This reverts commit 3ccc4cf91d4ee20df4207f04d3344ee33f1b5c94. docs/reference/gio/gio-sections.txt | 1 - gio/gdesktopappinfo.c | 23 +---------------------- gio/gdesktopappinfo.h | 1 - gio/gio.symbols | 1 - gio/tests/appinfo-test.desktop | 2 -- gio/tests/appinfo.c | 15 --------------- 6 files changed, 1 insertion(+), 42 deletions(-) commit 3ccc4cf91d4ee20df4207f04d3344ee33f1b5c94 Author: Giovanni Campagna Date: Thu Apr 5 23:26:12 2012 +0200 GDesktopAppInfo: add an accessor for StartupWMClass Components using GIO to do window to application matching can use that field to retrieve potential candidates. https://bugzilla.gnome.org/show_bug.cgi?id=673659 docs/reference/gio/gio-sections.txt | 1 + gio/gdesktopappinfo.c | 23 ++++++++++++++++++++++- gio/gdesktopappinfo.h | 1 + gio/gio.symbols | 1 + gio/tests/appinfo-test.desktop | 2 ++ gio/tests/appinfo.c | 15 +++++++++++++++ 6 files changed, 42 insertions(+), 1 deletion(-) commit a81a0622027a21b71ba11677933f07b646cca151 Author: Dan Winship Date: Wed Apr 4 10:21:24 2012 -0400 gchecksum: fix strict-aliasing warnings in the MD5 code https://bugzilla.gnome.org/show_bug.cgi?id=673191 glib/gchecksum.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit 0c14f2b8a77f93489255147258f3bf9439c6f06d Author: Sasi Bhushan Date: Thu Apr 5 19:23:08 2012 +0530 Updated Telugu Translation po/te.po | 370 +++++++++++++++++++++++++------------------------------------- 1 file changed, 147 insertions(+), 223 deletions(-) commit 265526288958bfe576b02e4d3a2a5cf7d4ea60a5 Author: Dieter Verfaillie Date: Tue Apr 3 13:20:01 2012 +0200 Fix malformed GTK-Doc comment blocks: remove repeated comment blocks. gio/gproxyresolver.h: GProxyResolver already documented in gio/giotypes.h gio/gtlsbackend.h: GTlsBackend already documented in gio/gtlsbackend.c gio/gtlsclientconnection.h: GTlsClientConnection already documented in gio/gtlsclientconnection.c gio/gtlsconnection.h: GTlsConnection already documented in gio/gtlsconnection.c gio/gunixconnection.h: GTcpConnection already documented in gio/giotypes.h glib/gversion.h: GLIB_CHECK_VERSION already documented in glib/gversion.c Found these thanks to the improved gobject-introspection GTK-Doc comment block/annotation parser. See https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/gproxyresolver.h | 5 ----- gio/gtlsbackend.c | 5 +++-- gio/gtlsbackend.h | 10 ---------- gio/gtlsclientconnection.h | 8 -------- gio/gtlsconnection.h | 8 -------- gio/gunixconnection.h | 7 ------- glib/gversion.h | 22 ---------------------- 7 files changed, 3 insertions(+), 62 deletions(-) commit ce7f1a07890e081675f1522595e7a1b519bb6f5e Author: Dieter Verfaillie Date: Tue Apr 3 10:56:29 2012 +0200 Fix malformed GTK-Doc comment blocks: don't confuse GTK-Doc parsers. Found these thanks to the improved gobject-introspection GTK-Doc comment block/annotation parser. See https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/gdbusmessage.c | 26 +++++++++++++------------- glib/giochannel.c | 2 +- gobject/gparam.h | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) commit 0183c1f8a158834e5bfb601d4a207a8cff0b2b62 Author: Dieter Verfaillie Date: Tue Apr 3 20:17:00 2012 +0200 Fix malformed GTK-Doc comment blocks: invalid parameters and tags. Found these thanks to the improved gobject-introspection GTK-Doc comment block/annotation parser. See https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/gremoteactiongroup.c | 2 +- glib/gasyncqueue.c | 4 ++-- glib/gmem.c | 1 - gobject/gtype.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) commit fefe5d9a20756d58f4207ae26553d65d54037b20 Author: Dieter Verfaillie Date: Mon Apr 2 17:03:56 2012 +0200 Fix malformed GTK-Doc comment blocks: correct struct name. Found these thanks to improved gobject-introspection GTK-Doc comment block/annotation parser from: https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/giotypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a058c1c13e379d4dbe17741231ec9d3f482daf55 Author: Dieter Verfaillie Date: Mon Apr 2 17:02:15 2012 +0200 Fix malformed GTK-Doc comment blocks: mutliline annotations are invalid. Found these thanks to improved gobject-introspection GTK-Doc comment block/annotation parser from: https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 glib/gvariant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 60fb0f5ea8e05174971dfca0e6c1dae35f816b9e Author: Dieter Verfaillie Date: Mon Apr 2 17:01:32 2012 +0200 Fix malformed GTK-Doc comment blocks: unmark non GTK-Doc comment block. Found these thanks to improved gobject-introspection GTK-Doc comment block/annotation parser from: https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/strinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e740f726faf659df912c0c496eb5de80f1695ad Author: Dieter Verfaillie Date: Mon Apr 2 17:16:35 2012 +0200 Fix malformed GTK-Doc comment blocks: add missing colons. Found these thanks to improved gobject-introspection GTK-Doc comment block/annotation parser from: https://bugzilla.gnome.org/show_bug.cgi?id=672254 https://bugzilla.gnome.org/show_bug.cgi?id=673385 gio/gdesktopappinfo.c | 2 +- gio/gfile.c | 2 +- gio/gfileinfo.c | 2 +- gio/gmountoperation.c | 2 +- gio/gproxyaddress.c | 8 ++++---- glib/gmem.c | 2 +- glib/gqueue.c | 2 +- glib/gscanner.c | 2 +- glib/gtestutils.c | 4 ++-- glib/gurifuncs.h | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) commit 6bd47498a043ed52db0ecb2989e9d9157924c82c Author: Ihar Hrachyshka Date: Thu Apr 5 15:25:42 2012 +0300 Updated Belarusian translation. po/be.po | 201 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 103 insertions(+), 98 deletions(-) commit 24fa2ee53c62a22b7e9f5504f7242a5d847ba87b Author: Chun-wei Fan Date: Thu Apr 5 15:46:34 2012 +0800 gobject/tests/signals.c: Remove C99ism Declare variables in start of block. gobject/tests/signals.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 63673da5eb5ba313f92ee06daf9df8aff6aa0a11 Author: Chun-wei Fan Date: Thu Apr 5 15:45:38 2012 +0800 Update GLib Visual C++ projects Some of the bundled PCRE source files are removed as they are not needed anymore (please see commit e7c0f10e), so don't include them in the projects build/win32/vs10/glib.vcxproj.filtersin | 9 --------- build/win32/vs10/glib.vcxprojin | 30 ------------------------------ build/win32/vs9/glib.vcprojin | 30 ------------------------------ 3 files changed, 69 deletions(-) commit 88781d59066a185337dee76969fb49dabc4a6f15 Author: Dan Winship Date: Wed Apr 4 15:22:15 2012 -0400 Fix some gtk-doc stuff gio/ginputstream.c | 8 ++++---- gio/goutputstream.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 69d698799563a0276550c339157a01d10d9e95dc Author: Matthias Clasen Date: Wed Apr 4 14:56:17 2012 -0400 Switch to using a mainloop when waiting for connection close GDBus heavily relies on idles for some of its cleanup operations, and not running a mainloop leads to things not getting cleaned up properly, which in turn leads to test failures, since the session bus singleton does not get removed. gio/tests/gdbus-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f1d4d3a4a5734e21dd1f0ea7afc352e475df0c27 Author: Matthias Clasen Date: Wed Apr 4 14:39:17 2012 -0400 Improve GApplication tests Make GApplication tests manage their dbus connections. gio/tests/Makefile.am | 2 +- gio/tests/gapplication.c | 57 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 48 insertions(+), 11 deletions(-) commit a52c0a06c8789f27b94a74c6a5811f12949f792e Author: Matthias Clasen Date: Wed Apr 4 06:38:36 2012 -0400 Make basic-application test more robust This program is only used indirectly from gapplication.c in tests, but that is no reason to let it segfault when it is run from the commandline without arguments. gio/tests/basic-application.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9171894a59d217bf3f01a10674d774bb51f68a06 Author: Matthias Clasen Date: Wed Apr 4 06:36:45 2012 -0400 GActionMap: correct critical warnings These warnings were copied from GSimpleActionGroup, but the function names were not updated. Correct that. gio/gactionmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4259587fec70248f4d61ce06fc468bb72a0f9991 Author: Matthias Clasen Date: Tue Apr 3 21:52:45 2012 -0400 Add tests for action-related gapplication api gio/tests/gapplication.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 8a4744f7fd0bf3780a1299bfb7ba7087f87229a4 Author: Matthias Clasen Date: Tue Apr 3 21:39:06 2012 -0400 Add a test for g_application_quit gio/tests/gapplication.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 588c2bacf7753dc17c95a8ec56f2f457e205026e Author: Matthias Clasen Date: Tue Apr 3 01:43:45 2012 -0400 Improve keyfile test coverage glib/tests/keyfile.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit 3eec7eeeaa09a1af7d08f4d172b481747293f9c7 Author: Matthias Clasen Date: Tue Apr 3 01:42:21 2012 -0400 Remove a bit of unused code _g_utf8_strwidth is always called with max == -1, so remove the parameter and update all callers. glib/goption.c | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) commit 84a1b8aac8478428fdc8085400674be52278c6eb Author: Matthias Clasen Date: Tue Apr 3 01:09:39 2012 -0400 Improve test coverage Add tests for all the suffixes in g_format_size. glib/tests/fileutils.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 51609ec943f9d51a8c8863badd79d2a9293ae4c7 Author: Dan Winship Date: Wed Apr 4 14:38:18 2012 -0400 tests/gdatetime: fix new_from_unix test When creating a struct tm for "1990-01-01T00:00:00" to pass to mktime(), we have to set tm_isdst to -1; leaving it set to 0 will result in the wrong time being generated when run in a timezone where January 1 would normally be tm_isdst==1 (ie, in southern hemisphere DST-observing countries, like Australia). https://bugzilla.gnome.org/show_bug.cgi?id=670254 glib/tests/gdatetime.c | 1 + 1 file changed, 1 insertion(+) commit f0a3241eab5ba61ebe4aa6fbe7f1cb0ec696d8c9 Author: Daniel Mustieles Date: Wed Apr 4 17:18:59 2012 +0200 Updated Spanish translation po/es.po | 9032 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 4519 insertions(+), 4513 deletions(-) commit e133f31896f7cfe1034332244e728f0aa384b844 Author: Gabor Kelemen Date: Wed Apr 4 17:02:04 2012 +0200 Updated Hungarian translation po/hu.po | 470 +++++++++++++++++++++++--------------------------------------- 1 file changed, 170 insertions(+), 300 deletions(-) commit 47adef84da73e71a9ecafc56e8313997fb685394 Author: Dan Winship Date: Wed Apr 4 10:47:04 2012 -0400 Fix warnings caused by an ifdeffed-out test case gio/tests/gapplication.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 142b0455ff2bd0d376632107de7c943be74c585b Author: Matej Urbančič Date: Wed Apr 4 13:42:44 2012 +0200 Updated Slovenian translation po/sl.po | 204 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 104 insertions(+), 100 deletions(-) commit 9aa19e1d9615924ab25c63918d09d334a0277b8e Author: Rodrigo Moya Date: Wed Apr 4 11:55:40 2012 +0200 Use 'if test' for checking auto* variables' values configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 118c42e7471155d444b9df38d9538f344cb7f89c Author: Rodrigo Moya Date: Wed Apr 4 11:39:03 2012 +0200 Always include G_SOCKET_FAMILY_UNIX value in GSocketFamily This is needed because glib-mkenums doesn't handle #ifdef values in enums, and so it needs to have all values always defined in the enum. When not available, define the missing values to a negative value. configure.ac | 12 +++++++++++- gio/gioenums.h | 2 -- gio/gsocket.c | 7 +++++++ 3 files changed, 18 insertions(+), 3 deletions(-) commit 091d652120e068518ed4b7d8a835018f30ed63e8 Author: Guillaume Desmottes Date: Tue Apr 3 16:37:22 2012 +0200 use GLIB_DEPRECATED_IN_2_32_FOR to deprecate g_value_{g,s}et_schar https://bugzilla.gnome.org/show_bug.cgi?id=673439 gobject/gvaluetypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f2c77ee718b0bfdcf5f1d6eaba151122b8c5eb36 Author: Will Thompson Date: Fri Mar 30 14:44:05 2012 +0100 g_input_stream_read[_finish]: document returning 0 on EOF g_input_stream_read() does state that it returns 0 on end of file, but not in the Returns: line, so it's easy to miss on a quick skim-read. g_input_stream_read_async() documents that g_input_stream_read_finish() returns 0 on end of file, but g_input_stream_read_finish() itself does not. https://bugzilla.gnome.org/show_bug.cgi?id=673174 gio/ginputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 27d95bd81fabd41367cf000566ee2ccf3651652c Author: Matthias Clasen Date: Mon Apr 2 08:53:20 2012 -0400 Rework the libelf configure checks one more time It seems that there is quite a bit of variation out there, in terms of libelf versions and API. Make the checks more thorough, by not only checking for elf_begin, but also some of the shdr function that we need. Also, explicitly check for libelf.h. This should address bug 673132 and 673253. configure.ac | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit e51c3b4cfe9f24ccf21ee3bd04186fe5c38d95f8 Author: Matthias Clasen Date: Mon Apr 2 08:00:48 2012 -0400 Use new hashset api in the hash set tests glib/tests/hash.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit c2318a18f91ee098efd8239ae6d9ec0bd3826423 Author: Matthias Clasen Date: Mon Apr 2 07:59:55 2012 -0400 Dispose test object While not very important, it means one less untested function in the coverage report. tests/refcount/objects2.c | 2 ++ 1 file changed, 2 insertions(+) commit c173c0beb4e0f664faf616bd6475b6c5c1aa50fb Author: Matthias Clasen Date: Mon Apr 2 07:59:23 2012 -0400 Drop g_thread_init from tests This is not needed anymore. tests/refcount/Makefile.am | 3 +-- tests/refcount/closures.c | 1 - tests/refcount/objects.c | 1 - tests/refcount/objects2.c | 3 +-- tests/refcount/properties.c | 1 - tests/refcount/properties2.c | 1 - tests/refcount/properties3.c | 2 -- tests/refcount/signals.c | 4 ---- 8 files changed, 2 insertions(+), 14 deletions(-) commit 9ea9471d26084d787858024838d08fc666a7b18b Author: Matthias Clasen Date: Mon Apr 2 07:37:55 2012 -0400 Improve GBusObjectManager test coverage gio/tests/gdbus-test-codegen.c | 57 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) commit 548337b042fa71ab8b2d93452232ed8930ddbc93 Author: David King Date: Mon Apr 2 10:22:56 2012 +0100 docs: Fix typo in glib-compile-schemas man page docs/reference/gio/glib-compile-schemas.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bebbc69081a952d0ff2e411a086c11b74330b292 Author: Matthias Clasen Date: Sun Apr 1 23:04:59 2012 -0400 Improve boxed test coverage This commit add basic tests for all GLib types that are registered as boxed types. gobject/tests/boxed.c | 143 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) commit e7c0f10ee0baebc4768ab250e1306201fa5d7e20 Author: Matthias Clasen Date: Sun Apr 1 22:04:08 2012 -0400 Drop some unused PCRE sources There is no point in compiling these, since we are not calling any of the functions in them. glib/pcre/Makefile.am | 3 - glib/pcre/pcre_maketables.c | 148 ------------------------------------------- glib/pcre/pcre_refcount.c | 89 -------------------------- glib/pcre/pcre_version.c | 95 --------------------------- glib/pcre/pcreposix.h | 146 ------------------------------------------ 5 files changed, 481 deletions(-) commit 0f469c26319b4b0aeee63be75ba6041b978e01b4 Author: Daniel Nylander Date: Sun Apr 1 13:11:33 2012 +0200 Updated Swedish translation po/sv.po | 128 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 72 insertions(+), 56 deletions(-) commit 829db4cec3fa59e1ec905e226851ae719858c8d4 Author: Antoine Jacoutot Date: Sat Mar 31 22:48:42 2012 +0200 gthread-posix: fix typo in error message glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14945449580d394b5e1e009f71792ccac51fc41e Author: Antoine Jacoutot Date: Sat Mar 31 20:20:19 2012 +0200 gresource: libelf, try pkg-config first then fall-back to AC_CHECK_LIB On some systems gelf.h may not be stored under the top level include directory in which case we need to add the correct include paths in cflags by using pkg-config(1). configure.ac | 7 ++++--- gio/Makefile.am | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) commit 4143842eb47c1f38b2b4742b0928e4049e38afb9 Author: Robert Ancell Date: Sat Mar 24 23:58:45 2012 +1100 Add missing allow-none annotations for function parameters. Found using: find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none gio/gactiongroup.c | 8 ++++---- gio/gapplication.c | 4 ++-- gio/gapplicationcommandline.c | 2 +- gio/gasyncinitable.c | 2 +- gio/gcancellable.c | 8 ++++---- gio/gdbusaddress.c | 6 +++--- gio/gdbusauthobserver.c | 4 ++-- gio/gdbusconnection.c | 40 ++++++++++++++++++++-------------------- gio/gdbuserror.c | 4 ++-- gio/gdbusinterface.c | 2 +- gio/gdbusintrospection.c | 2 +- gio/gdbusmessage.c | 6 +++--- gio/gdbusmethodinvocation.c | 4 ++-- gio/gdbusnameowning.c | 14 +++++++------- gio/gdbusnamewatching.c | 12 ++++++------ gio/gdbusobjectmanagerclient.c | 16 ++++++++-------- gio/gdbusproxy.c | 24 ++++++++++++------------ gio/gdbusserver.c | 2 +- gio/gfile.c | 24 ++++++++++++------------ gio/ginitable.c | 2 +- gio/gioscheduler.c | 6 +++--- gio/gmemoryoutputstream.c | 6 +++--- gio/gnetworkmonitor.c | 4 ++-- gio/gpermission.c | 8 ++++---- gio/gsettingsbackend.c | 2 +- gio/gsimpleasyncresult.c | 2 +- gio/gsocket.c | 4 ++-- gio/gsocketclient.c | 2 +- gio/gtlsconnection.c | 4 ++-- gio/gvolume.c | 2 +- glib/garray.c | 6 +++--- glib/gbookmarkfile.c | 36 ++++++++++++++++++------------------ glib/gconvert.c | 2 +- glib/gdataset.c | 8 ++++---- glib/gdatetime.c | 6 +++--- glib/gerror.c | 8 ++++---- glib/ggettext.c | 8 ++++---- glib/ghash.c | 10 +++++----- glib/giochannel.c | 6 +++--- glib/gkeyfile.c | 8 ++++---- glib/gmain.c | 28 ++++++++++++++-------------- glib/gmem.c | 4 ++-- glib/gmessages.c | 2 +- glib/goption.c | 28 ++++++++++++++-------------- glib/gpattern.c | 2 +- glib/gregex.c | 2 +- glib/gsequence.c | 2 +- glib/gstdio.c | 2 +- glib/gstrfuncs.c | 6 +++--- glib/gtestutils.c | 4 ++-- glib/gunidecomp.c | 2 +- glib/gutf8.c | 26 +++++++++++++------------- glib/gvariant-parser.c | 8 ++++---- glib/gvariant-serialiser.c | 2 +- glib/gvarianttype.c | 2 +- glib/gvarianttypeinfo.c | 8 ++++---- glib/gwin32.c | 10 +++++----- gmodule/gmodule.c | 2 +- 58 files changed, 232 insertions(+), 232 deletions(-) commit 4cf5d2531608b4433fb3348d679f099bd3d29716 Author: Matthias Clasen Date: Fri Mar 30 17:34:37 2012 -0400 Fix a link As pointed out in bug 673139, the link to the mailing list information page was outdated. README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f0ff457ce5e8fc9aa5ca121cf429888bcf4e51f Author: ManojKumar Giri Date: Fri Mar 30 18:08:23 2012 +0530 Updated Odia Translation po/or.po | 247 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 122 insertions(+), 125 deletions(-) commit e3cc48f28998782da46292b53b5b540e82094d2a Author: Christian Persch Date: Thu Mar 22 14:01:40 2012 +0100 resources: compiler: Respect absolute paths When a already has an absolute path, use it directly instead of trying to locate it in the --sourcedir directories. https://bugzilla.gnome.org/show_bug.cgi?id=672541 gio/glib-compile-resources.c | 3 +++ 1 file changed, 3 insertions(+) commit 8f8fc836709cff58bd666b87937542088cfc19db Author: Kalev Lember Date: Wed Mar 28 12:42:49 2012 +0300 configure: Fix alignment tests when cross compiling When inserting custom code to AC_CHECK_ALIGNOF, make sure to not replace the default includes, but instead append to them. This fixes ALIGNOF_GUINT32 and ALIGNOF_GUINT64 that were both 0 when cross compiling. The third 'unsigned long' test wasn't affected because the AC_CHECK_ALIGNOF call didn't specify the optional 2nd parameter. configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 92b84e88ab9bdd6db869574020843101ddb3a0de Author: Chun-wei Fan Date: Wed Mar 28 15:12:04 2012 +0800 Fix gspawn-win32-helper Visual C++ projects The name of the executable for the Release|Win32 and Release|x64 configs were mixed up. Fix that. DOH! for not noting this earlier. build/win32/vs10/gspawn-win32-helper.vcxproj | 2 +- build/win32/vs9/gspawn-win32-helper.vcproj | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) commit 0463fa1cb0ab991bc9d8a1986a5a8511e39825b5 Author: Chun-wei Fan Date: Wed Mar 28 14:57:12 2012 +0800 Fix VS property sheets We need to accomodate for gspawn-win64-helper-console.exe for the "install" phase too. build/win32/vs10/glib.props | 2 +- build/win32/vs9/glib.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 50a8fa5efda293898ea378f82ba29ca54124c5fb Author: Daniel Mustieles Date: Tue Mar 27 21:24:37 2012 +0200 Updated Spanish translation po/es.po | 9040 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 4514 insertions(+), 4526 deletions(-) commit cbb95038cf23ce8061961984bd52ad565b219a6e Author: Dan Winship Date: Tue Mar 27 12:45:27 2012 -0400 GFileMonitor: fix docs bug gio/gfilemonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a68f59e5b32d826902279f2b54fddcae6ee7b4b Author: Sandeep Sheshrao Shedmake Date: Tue Mar 27 15:04:14 2012 +0530 Updated Marathi Translations po/mr.po | 422 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 261 insertions(+), 161 deletions(-) commit 9b0734a09c7ed357fbb21db52ce8fbc42b8f014c Author: Bastien Nocera Date: Tue Mar 27 11:01:00 2012 +0200 all: s/availible/available/ gio/gresource.c | 4 ++-- glib/gmain.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit ec55b19da59b939c0de67ce172b3176b692399fa Author: Rajesh Ranjan Date: Tue Mar 27 12:22:39 2012 +0530 hindi translation by Chandan Kumar po/hi.po | 5813 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3095 insertions(+), 2718 deletions(-) commit 569357dcc3fe85f78d204ba94e477bac97350a4f Author: Sandeep Sheshrao Shedmake Date: Mon Mar 26 19:48:20 2012 +0530 Updated Marathi Translations po/mr.po | 5925 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3160 insertions(+), 2765 deletions(-) commit bf20906ad4952611f992c3fa79bd074838a9279e Author: ManojKumar Giri Date: Mon Mar 26 18:42:41 2012 +0530 Updated Odia Translation po/or.po | 5969 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3169 insertions(+), 2800 deletions(-) commit 72c11eda584849bb55e85d06fea87476c423d258 Author: Marek Černocký Date: Mon Mar 26 14:49:18 2012 +0200 Updated Czech translation po/cs.po | 6143 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3254 insertions(+), 2889 deletions(-) commit 56c2c297cd7fc2af00a40bcb29a000b676f9949a Author: Rudolfs Mazurs Date: Sun Mar 25 15:05:26 2012 +0300 Updated Latvian translation. po/lv.po | 6240 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3325 insertions(+), 2915 deletions(-) commit c80eeae316fb3a351947502788eeb29c12f0a88f Author: Luca Ferretti Date: Sun Mar 25 13:14:47 2012 +0200 [l10n] Updated Italian translation po/it.po | 336 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 141 insertions(+), 195 deletions(-) commit f8ddba0b8a2969f9d539019bdb961b2273690c72 Author: Shankar Prasad Date: Sun Mar 25 13:26:17 2012 +0530 Updated Kannada Translation po/kn.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6bd8fecfa178a08b4adfbb4c4cf981e3721df66d Author: Shankar Prasad Date: Sun Mar 25 13:24:31 2012 +0530 Updated Kannada Translation po/kn.po | 92 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) commit 41cccb467f354cf843877fe73db539a1e332a41d Author: Shankar Prasad Date: Sun Mar 25 13:03:57 2012 +0530 Updated Kannada Translation po/kn.po | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit 22885b1de447c1a8398b03978e60a0042eabc016 Author: Shankar Prasad Date: Sun Mar 25 12:42:30 2012 +0530 Updated Kannada Translation po/kn.po | 78 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 40 insertions(+), 38 deletions(-) commit e927df7b7ab089f5e7de452a509130c06e13e4f9 Author: Matthias Clasen Date: Sat Mar 24 23:00:15 2012 -0400 Add a forgotten include guard gbytes.h was missing the single-include guard. glib/gbytes.h | 4 ++++ 1 file changed, 4 insertions(+) commit de64aa8bd70fe42c613a948ce670a27b8d5c12cc Author: Shankar Prasad Date: Sun Mar 25 00:33:10 2012 +0530 Updated Kannada Translation po/kn.po | 5769 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3071 insertions(+), 2698 deletions(-) commit 257e6c4e4e291955b99bf43440eef55fad977520 Author: Daniel Nylander Date: Sat Mar 24 16:58:42 2012 +0100 Updated Swedish translation po/sv.po | 6145 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3223 insertions(+), 2922 deletions(-) commit d793287b3a5ede547cbd1b72de46c499f8ab8c35 Author: Matthias Clasen Date: Sat Mar 24 11:31:01 2012 -0400 Bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 816554c62bf227498cb539924e6ee2050030b4b9 Author: Matthias Clasen Date: Sat Mar 24 11:28:35 2012 -0400 2.32.0 NEWS | 12 ++++++++++++ configure.ac | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) commit 97cc0d0179e20c9a83d049b9a999f7fab40eacfb Author: Matthias Clasen Date: Sat Mar 24 10:33:38 2012 -0400 Release notes tweaks Update download locations, mailing list instructions, and shuffle the version-specific notes to be at the end. README.in | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 49 deletions(-) commit d2b7ee62f9d4df0aa5925ea123da7db6753d03ac Author: Raphael Kubo da Costa Date: Mon Mar 19 14:20:08 2012 -0300 Make the `include' glib test case build on FreeBSD. Defining _POSIX_C_SOURCE to 0 will make time.h not create the clockid_t typedef used by some functions in pthread.h. The right approach here is to set it to 199309L, which creates the typedef on FreeBSD and doesn't set __USE_UNIX98 or __USE_XOPEN2K on glibc, which is what the test is actually testing. https://bugzilla.gnome.org/show_bug.cgi?id=672406 glib/tests/include.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd8b01ead613788ad136cc61e1b744dfd811e0ec Author: Krishnababu Krothapalli Date: Thu Mar 22 19:56:06 2012 +0530 Updated Telugu Translations po/te.po | 549 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 317 insertions(+), 232 deletions(-) commit b08b3012235b089cc3c8d015c47f703da01a4d81 Author: Chun-wei Fan Date: Tue Mar 20 13:19:11 2012 +0800 glib/gqsort.c: Fix C99ism/GCCism -There were a number of variables that were declared in the middle of the block, so move these declarations to the start of the block -There was a use of mempcpy, but it is a GCC extension, so use memcpy since we didn't care about the return value of the call to mempcpy. https://bugzilla.gnome.org/show_bug.cgi?id=672095 glib/gqsort.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f23e7c3ef988a251c42a8a8f7e60566e0bab76fb Author: Alexander Larsson Date: Tue Mar 20 10:20:18 2012 +0100 Fix the tests on win32 There was some unix-specific pathname handling in the test utils which broke the css tests on win32. glib/gtestutils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d0635dac52b4a4dae535dd22940ed2adb6a89074 Author: Alexander Larsson Date: Tue Mar 20 10:19:42 2012 +0100 Use g_unsetenv, not unsetenv This fixed the win32 build glib/tests/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aed6d01d1454293ddaba84a5bd1a666385f44f62 Author: Alexander Larsson Date: Tue Mar 20 10:18:32 2012 +0100 Only build actions test on unix It depends on gdbus-sessionbus.c which only builds on unix. gio/tests/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 322c6e93444e74ae99b73f1ae7e3b55563470431 Author: Marco Trevisan (Treviño) Date: Mon Mar 19 20:13:24 2012 +0100 GDBusConnection: Avoid dereferencing vtable for unregistered objects https://bugzilla.gnome.org/show_bug.cgi?id=671988 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 617c0cb6a0776c3c090c54d10eda21768d76890c Author: Matthias Clasen Date: Mon Mar 19 16:59:54 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2826ece6fc91944a3469ba8f1b7b81143b11ccaa Author: Matthias Clasen Date: Mon Mar 19 16:58:48 2012 -0400 Fix distcheck automake decided to complain about some more leftovers. glib/Makefile.am | 7 ++++++- gobject/Makefile.am | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) commit 166595c4d58ce1b0e7d297b4bbb599e7ddd5cf8d Author: Matthias Clasen Date: Mon Mar 19 14:27:20 2012 -0400 2.31.22 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f92d2110cf8b4225725e161f29e8f7add590c64 Author: Matthias Clasen Date: Mon Mar 19 13:43:31 2012 -0400 Updates NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 6dfb50adf7eb004b9fe79f9314e27856d80a4de8 Author: Matthias Clasen Date: Mon Mar 19 13:28:14 2012 -0400 Don't return from a void function glib/gqsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb45176110a85c3e8228499edb2ce36da85f3670 Author: Matthias Clasen Date: Mon Mar 19 13:26:19 2012 -0400 Fix a C99ism glib/gqsort.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bd3063c742f654a2233620ad2e666e5f0bc9e9bf Author: Matthias Clasen Date: Mon Mar 19 13:22:04 2012 -0400 Silence a compiler warning glib/gqsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2afbc425eb24f21c598636e5037782cb8a1870ea Author: Ryan Lortie Date: Fri Mar 16 13:32:38 2012 -0400 GDBus: set no-reply flag on calls with no callback If g_dbus_connection_call() or g_dbus_proxy_call() are given a NULL callback then set the no-reply flag on the outgoing D-Bus message. https://bugzilla.gnome.org/show_bug.cgi?id=672239 gio/gdbusconnection.c | 71 ++++++++++++++++++++++++++++++++++--------------- gio/gdbusproxy.c | 46 +++++++++++++++++++++++--------- 2 files changed, 82 insertions(+), 35 deletions(-) commit c3125ee36d47e71d27906b88eed68b0b9c9b9e0c Author: Ryan Lortie Date: Fri Mar 16 13:15:46 2012 -0400 GDBusProxy: report an error instead of leaking it GDBusProxy sets an error on a GSimpleAsyncResult and then returns without dispatching the result for completion (and leaks the result in the process). Fix that. Also add a testcase. Unfortunately, adding the testcase uncovered bug #672248. We can work around that by reordering the tests. https://bugzilla.gnome.org/show_bug.cgi?id=672249 gio/gdbusproxy.c | 2 ++ gio/tests/gdbus-proxy.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 1 deletion(-) commit 190891042d9830fb095bf50220555384cae7f823 Author: Chun-wei Fan Date: Mon Mar 19 16:02:37 2012 +0800 Update config.h.win32(.in) Make it more like the one that is generated by autotools. It is true that Visual C++ has sig_atomic_t, at least for Visual C++ 2008 and later, but this is currently only used for UNIX builds of GLib, as a point of note here. config.h.win32.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bac0294c73b3ff9c33885d0af6f3e20af7062739 Author: Chun-wei Fan Date: Mon Mar 19 15:55:20 2012 +0800 Update glibconfig.h.win32(.in) Added the definitions below, as these #defines are needed for gqsort.c #define ALIGNOF_GUINT32 4 #define ALIGNOF_GUINT64 8 #define ALIGNOF_UNSIGNED_LONG 4 glib/glibconfig.h.win32.in | 4 ++++ 1 file changed, 4 insertions(+) commit 06384094689efbdc00cc39dcb9eb2929dec92933 Author: Bruno Brouard Date: Sun Mar 18 10:34:15 2012 +0100 Updated French translation po/fr.po | 1400 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 794 insertions(+), 606 deletions(-) commit 8c2434f01a60865e22c579c4092c3588827e883b Author: Matthias Clasen Date: Sat Mar 17 23:43:52 2012 -0400 Make inf testcase more forgiving printf may produce "infinity" instead of "inf". https://bugzilla.gnome.org/show_bug.cgi?id=668973 glib/tests/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57878d6042366070e80a109bf113ac03abb86cfd Author: Sebastian Dröge Date: Sat Mar 17 23:28:48 2012 -0400 Use __builtin_bswap* for GUINT*_SWAP_LE_BE if building with GCC https://bugzilla.gnome.org/show_bug.cgi?id=531901 glib/gtypes.h | 38 ++++++++++++++++++++++++++++++-------- glib/tests/utils.c | 24 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 8 deletions(-) commit e2b47ae9e0ff4402253c5ca854b3a5229513a12e Author: Dieter Verfaillie Date: Sat Mar 17 23:10:01 2012 -0400 Fix out of tree build for MinGW/MSYS When building with MinGW/MSYS with srcdir != builddir the build fails: - to locate the generated .def files - creating libglib-gdb.py - creating libgobject-gdb.py Solved this by explicitly instructing these files to be generated in $(builddir)/... https://bugzilla.gnome.org/show_bug.cgi?id=653167 gio/Makefile.am | 10 +++++----- glib/Makefile.am | 17 ++++++----------- gmodule/Makefile.am | 8 ++++---- gobject/Makefile.am | 13 ++++++------- 4 files changed, 21 insertions(+), 27 deletions(-) commit 65d758859c8155362f8ffaebf5614a10d025f5a6 Author: Duarte Loreto Date: Sun Mar 18 00:45:43 2012 +0000 Updated Portuguese translation po/pt.po | 6128 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3230 insertions(+), 2898 deletions(-) commit 7f856e3a09386c7d87ee0562a2ab85b463cac20f Author: Aurimas Černius Date: Sat Mar 17 18:49:25 2012 +0200 Updated Lithuanian translation po/lt.po | 170 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 66 insertions(+), 104 deletions(-) commit 1b08ad61cdd19899f51ec44242913b18576861e1 Author: Ryan Lortie Date: Sat Mar 17 12:39:23 2012 -0400 man pages: document the order of schema overrides GSettings overrides are processed in such a way that alphabetically-later files have precedence over earlier files (eg: 20_ will beat 10_). Document that fact. docs/reference/gio/glib-compile-schemas.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit e8122f6f98b853bccfb6aebcfb1714eb6f82971e Author: Yuri Kozlov Date: Sat Mar 17 12:57:44 2012 +0400 Updated Russian translation po/ru.po | 6215 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3306 insertions(+), 2909 deletions(-) commit 6833385c5a7a35e22bb549ad0e7f390031952945 Author: Colin Walters Date: Tue Mar 13 14:49:04 2012 -0400 gmain: Use sig_atomic_t for list of pending Unix signals Pointed out by: Simon McVittie https://bugzilla.gnome.org/show_bug.cgi?id=671997 configure.ac | 12 ++++++++++++ glib/gmain.c | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit f3fca56b7ef94e70e78597afca69b157e07cd339 Author: Tomas Bzatek Date: Fri Mar 16 18:54:09 2012 +0100 gio: Only show mounts in /run/media/$USER And reflect the recent changes + sync with gvfs+udisks2 rules. https://bugzilla.gnome.org/show_bug.cgi?id=669797 gio/gunixmounts.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit b0739f22231b7555c9fcfd5b9fcb5f93b5a46149 Author: David Benjamin Date: Thu Mar 15 19:16:02 2012 -0400 Continue searching in PATH on ENODEV and ETIMEDOUT Synchronize the error-handling logic from glibc. Users with networked filesystems in their PATH may hit ETIMEDOUT. https://bugzilla.gnome.org/show_bug.cgi?id=672201 glib/gspawn.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit cf912785b6aa4cd7acd1cf2b041b25fae76df5f7 Author: Colin Walters Date: Thu Mar 15 17:59:01 2012 -0400 gtype: Note idempotency of g_type_init() gobject/gtype.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8ae5bd399ed94fe74172f1331fbe716b4f68249c Author: Alexander Larsson Date: Fri Mar 16 12:51:33 2012 +0100 Remove now unused qsort_r checks https://bugzilla.gnome.org/show_bug.cgi?id=672095 configure.ac | 45 --------------------------------------------- 1 file changed, 45 deletions(-) commit a43dd7435af92d70fa0ef5a2c48e77156b0ad304 Author: Alexander Larsson Date: Wed Mar 14 21:17:47 2012 +0100 Make g_array_sort* methods use a stable sort Also, remove previous comments about sort stability in g_array_sort docs, as the method that was explained does not work. Adds a new comment about this. https://bugzilla.gnome.org/show_bug.cgi?id=672095 glib/garray.c | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) commit 839957f275875b6f8fd033d67379bce0fde1c58f Author: Alexander Larsson Date: Wed Mar 14 21:17:23 2012 +0100 Make g_qsort_with_data stable, based on glibc msort We need a stable sort, and we might as well always use it rather than have multiple sort versions. This picks up the glibc merge sort implementation which it uses by default for qsort, except we don't fall back to non-stable quicksort in some cases like glibc https://bugzilla.gnome.org/show_bug.cgi?id=672095 configure.ac | 31 ++++ glib/gqsort.c | 494 +++++++++++++++++++++++++++-------------------------- glib/tests/sort.c | 39 +++++ 3 files changed, 320 insertions(+), 244 deletions(-) commit 8da947892022ba966893e5ceb1c5235c5da4665f Author: Gabor Kelemen Date: Fri Mar 16 11:12:56 2012 +0100 Updated Hungarian translation po/hu.po | 6275 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3347 insertions(+), 2928 deletions(-) commit 5a108c918355b7344daad1acdcd87bc3765aeaca Author: Carles Ferrando Date: Thu Mar 15 23:33:50 2012 +0100 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 6314 ++++++++++++++++++++++++++++------------------------- 1 file changed, 3313 insertions(+), 3001 deletions(-) commit 93b9d65d12e74dc23162a23b53f8d166e5e17fd4 Author: Gil Forcada Date: Thu Mar 15 23:33:43 2012 +0100 [l10n]Updated Catalan translation po/ca.po | 6364 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3352 insertions(+), 3012 deletions(-) commit f025c9c4f4803dd09dba12ca8f35692a0ea8050a Author: David Zeuthen Date: Thu Mar 15 14:04:39 2012 -0400 GDBusConnection: Don't store GCancellable in qdata Now that we're using g_simple_async_result_set_check_cancellable() we no longer need this terrible hack of carrying the GCancellable on the GSimpleAsyncResult using qdata. See bug 672013 for more details. https://bugzilla.gnome.org/show_bug.cgi?id=672013 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) commit e3c7fdd7a47264c584f3f16e37d903a7d1f36f76 Author: Ryan Lortie Date: Tue Mar 13 16:41:57 2012 -0400 GDBus: make use of reliable async cancellation Call g_simple_async_result_set_check_cancellable() after all GSimpleAsyncResult creation in order to take advantage of the new reliable cancellation feature. The guarantee of reliable cancellation fixes a bug in dbusmenu (which was already assuming that cancellation was reliable). See this bug: https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/953562 https://bugzilla.gnome.org/show_bug.cgi?id=672013 Signed-off-by: David Zeuthen gio/gdbusaddress.c | 1 + gio/gdbusconnection.c | 5 +++++ gio/gdbusprivate.c | 1 + gio/gdbusproxy.c | 3 +++ 4 files changed, 10 insertions(+) commit 1c42b6b09213b3c5275a71bbcd7def9a19767b59 Author: Chun-wei Fan Date: Thu Mar 15 16:39:52 2012 +0800 Fix "install" paths in VS property sheets ...and cleanup the VS2010 property sheets a little bit build/win32/vs10/glib.props | 10 +++++----- build/win32/vs9/glib.vsprops | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit 53b02b023da1ef7c253493b4aee0830e77a09a87 Author: Mario Blättermann Date: Wed Mar 14 22:27:33 2012 +0100 [l10n] Updated German translation po/de.po | 1506 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 919 insertions(+), 587 deletions(-) commit 4804094472e90a537b534c32e3c225b624c4500e Author: Ryan Lortie Date: Tue Mar 13 16:09:01 2012 -0400 GSimpleAsyncResult: support reliable cancellation Add a function g_simple_async_result_set_check_cancellable() to provide a GCancellable that is checked for being cancelled during the call to g_simple_async_result_propagate_error(). This gives asynchronous operation implementations an easy way to provide reliable cancellation of those operations -- even in the case that a positive result has occured and is pending dispatch at the time the operation is cancelled. https://bugzilla.gnome.org/show_bug.cgi?id=672013 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsimpleasyncresult.c | 58 +++++++++++++++++++++++++++++++++++ gio/gsimpleasyncresult.h | 2 ++ 4 files changed, 62 insertions(+) commit 53b1afba0eb94f7f836b408d81da7b58c374dc3f Author: Mike Gorse Date: Tue Mar 13 16:02:30 2012 -0500 Invalidate single_va_closure when adding an emission hook If the optimization is used for only having one closure handling a signal emission, then hooks will not be run, so it should be disabled when an emission hook is added. https://bugzilla.gnome.org/show_bug.cgi?id=671918 gobject/gsignal.c | 1 + 1 file changed, 1 insertion(+) commit fbbdf98668641a6e6494dacb5f5f13703145e6f8 Author: Ryan Lortie Date: Tue Mar 13 20:10:39 2012 -0400 g_log: mask log level before checking prefix flags We check if the log level is in the "prefixed" list by checking it against the g_log_msg_prefix bitfield. Unfortunately we were failing to mask by G_LOG_LEVEL_MASK first, so if the FATAL bit was set (for example) then it would never match. This was the case for g_error(). https://bugzilla.gnome.org/show_bug.cgi?id=672026 glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 545736c0fbc4fdc861a726b293a5b3c1cd611a3c Author: Ryan Lortie Date: Tue Mar 13 20:08:27 2012 -0400 glib-init: restore default for G_MESSAGES_PREFIXED In the glib-init shuffle this ended up being set to no messages prefixed by default. Fix that so that we have prefixes back. https://bugzilla.gnome.org/show_bug.cgi?id=672026 glib/glib-init.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 063f03fa761fe2e341e32ebec6ed7ff6732b5bb1 Author: Ryan Lortie Date: Tue Mar 13 20:08:01 2012 -0400 glib-init: fix obvious buffer size mismatch glib/glib-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73fb1944e43b3ed3942c453dbe30db859cfe1bbe Author: Bruce Cowan Date: Tue Mar 13 13:48:15 2012 +0000 Updated British English translation po/en_GB.po | 6037 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3185 insertions(+), 2852 deletions(-) commit 2127246139d6e7706d6a94dd754af649dfa6e650 Author: Kenneth Nielsen Date: Tue Mar 13 09:11:21 2012 +0100 Updated Danish translation po/da.po | 122 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 70 insertions(+), 52 deletions(-) commit 81aaf53567cf8dc13ae77878a8663b847ca54fcc Author: Ryan Lortie Date: Mon Mar 12 16:43:15 2012 -0400 GSocketMsgFlags: annotate as a flags This was being incorrectly guessed as an enum. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=671942 gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 748cbafb8bffe88a7f1a3867b5f3f23d8713da6c Author: Kjartan Maraas Date: Mon Mar 12 18:18:55 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 117 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 48 deletions(-) commit c45b8135046790e13b0d486f605dc62c9a783b16 Author: Timo Jyrinki Date: Mon Mar 12 11:02:04 2012 +0200 Finnish translation update from http://l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint po/fi.po | 5844 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2846 insertions(+), 2998 deletions(-) commit 68bdfd69241ebb01be71fb7c8c8c7a188aedf8fb Author: Kristjan SCHMIDT Date: Sun Mar 11 12:02:28 2012 +0100 Updated Esperanto translation po/eo.po | 6076 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3194 insertions(+), 2882 deletions(-) commit 657e476b74bcf4c1e3a9363951d4adcb537b66de Author: Piotr Drąg Date: Fri Mar 9 22:18:45 2012 +0100 Updated Polish translation po/pl.po | 6186 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3246 insertions(+), 2940 deletions(-) commit 8084047ee3fa639fc0ca33035356e2ce11f0cab6 Author: Ryan Lortie Date: Fri Mar 9 10:29:32 2012 -0500 logging test: unset G_MESSAGES_DEBUG Having G_MESSAGES_DEBUG=all in the environment will fail this testcase. glib/tests/logging.c | 2 ++ 1 file changed, 2 insertions(+) commit 265f265c677bc5399dbb1cfa449cb4b915a6459f Author: Mark Janossy Date: Fri Mar 9 09:54:23 2012 -0500 deprecated threads: fix race in GStaticRecMutex The very last access to the 'depth' field of GStaticRecMutex in g_static_rec_mutex_unlock_full() was being performed after dropping the implementation mutex for the last time. This allowed the lock to be dropped an additional time if it was acquired in another thread right at that instant (which is somewhat likely, since another thread could have just been woken up by the lock being released). https://bugzilla.gnome.org/show_bug.cgi?id=670846 glib/deprecated/gthread-deprecated.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit cb44e96dfadf33c1c5df43dabe7ced19a03789dc Author: Alexander Larsson Date: Fri Mar 9 11:32:45 2012 +0100 Fix crash in signal emission optimization The trace of the signal emission of the was calculating the instance type after the instance was unrefed. Fix this by keeping the instance type around. gobject/gsignal.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit bbe4b5719502c934e3a2f931773babd858997e43 Author: Alexander Larsson Date: Fri Mar 9 09:32:06 2012 +0100 signal emission: Allocate instance_and_param with alloca This Gives a 5% performance increase in e.g. the emit-handled test. gobject/gsignal.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7b939efa6fad289c2878c64c1edd932200cf5f33 Author: Erik van Pienbroek Date: Thu Mar 8 20:29:18 2012 +0100 Use native glib-genmarshal when cross-compiling The ability to cross-compile glib got broken after the merge of the 'signal-performance' branch as the assumption was made that the generated glib-genmarshal can be executed on the host (which isn't valid when cross-compiling). Fixed this by using the just-built glib-genmarshal for normal compilations and the native (host) glib-genmarshal when doing a cross-compilation as was also done in several other areas of GLib Tested for host=x86_64-unknown-linux-gnu, target=x86_64-unknown-linux-gnu and host=x86_64-unknown-linux-gnu, target=i686-w64-mingw32 https://bugzilla.gnome.org/show_bug.cgi?id=671676 gobject/tests/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 3fa735848782735a7ccff3abba39c53388592588 Author: Ryan Lortie Date: Thu Mar 8 11:55:09 2012 -0500 gio-querymodules: unlink instead of writing empty cache If there are no modules installed then the most appropriate thing is to have no cachefile instead of an empty one. This unbreaks the "clean directory after 'make uninstall'" check that automake does. https://bugzilla.gnome.org/show_bug.cgi?id=671664 gio/gio-querymodules.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit c9f55445aa2f86b1ea62367849522ecabbe48d72 Author: Chun-wei Fan Date: Thu Mar 8 17:18:43 2012 +0800 msvc_recommended_pragmas.h: Silence C4819 warnings This warning appears when unicode chars that cannot be displayed in the current Windows code page is used anywhere in the file, including comment blocks. We probably don't need to see these, especially as problems caused by such characters are manifested as other warnings or errors, for example, the need to add BOM to a file when compiling code with complex script on Windows. msvc_recommended_pragmas.h | 3 +++ 1 file changed, 3 insertions(+) commit 93e2c1f12a354bca11d3467f3d7a2a0eb5dcd683 Author: Nilamdyuti Goswami Date: Thu Mar 8 14:08:11 2012 +0530 Assamese translation completed po/as.po | 552 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 312 insertions(+), 240 deletions(-) commit c79606a3d61ad45653a1c8fe7e2b18ba07fab56d Author: Chao-Hsiung Liao Date: Thu Mar 8 15:56:14 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 90 +++++++++++++++++++++++++++++++++++------------------------ po/zh_TW.po | 90 +++++++++++++++++++++++++++++++++++------------------------ 2 files changed, 108 insertions(+), 72 deletions(-) commit 05663607eaa595735e037a06101f897fdf97de36 Author: Chun-wei Fan Date: Thu Mar 8 15:34:39 2012 +0800 Update config.h.win32(.in) Remove the config for ENABLE_REGEX, as GRegex is now included in all builds. config.h.win32.in | 3 --- 1 file changed, 3 deletions(-) commit d642bf442ffcfba52c58764b03ac6dcf21feb1cf Author: Chun-wei Fan Date: Thu Mar 8 15:04:17 2012 +0800 glib-genmarshal.c: Use G_VA_COPY instead of va_copy() In the code generation portion, va_copy() is not universally available, so use the existing G_VA_COPY macro that in turn calls va_copy() if it is available or call an appropriate emulation otherwise. gobject/glib-genmarshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b72bb9dd08b15a3f85ab593121f9ba49828c07c2 Author: Chun-wei Fan Date: Thu Mar 8 14:51:22 2012 +0800 Use G_VA_COPY instead of va_copy() va_vopy() is not universally available in all compilers, so make use of the existing G_VA_COPY macro which either calls va_copy() if it is available, or emulates it if otherwise. gobject/gclosure.c | 2 +- gobject/gmarshal.c | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) commit 75ca1cd15891739052c96e94eed5f046f344f9c5 Author: Emmanuele Bassi Date: Wed Mar 7 12:53:14 2012 +0000 gobject: Fix a compiler warning Shuffle the parenthesis around. gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7cf50ceb857968a99e141e8e2c75053761a12639 Author: Cosimo Cecchi Date: Tue Mar 6 22:10:53 2012 -0500 tests: fix GAction test for headless run gio/tests/Makefile.am | 1 + gio/tests/actions.c | 11 +++++++++++ 2 files changed, 12 insertions(+) commit a06542b998869c619a9eb9548d5e3bc780d09bbb Author: Nilamdyuti Goswami Date: Tue Mar 6 21:43:24 2012 +0530 Assamese translation completed po/as.po | 5816 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3069 insertions(+), 2747 deletions(-) commit 6b4e24aca04f5b48f787f51db8d73dae620136a3 Author: Seong-ho Cho Date: Tue Mar 6 23:50:59 2012 +0900 Updated Korean translation po/ko.po | 1129 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 695 insertions(+), 434 deletions(-) commit 026340c5fcafd63b38a0424a0b83ae3a1c551aa7 Author: Alexander Larsson Date: Tue Mar 6 11:35:17 2012 +0100 Fix unused variable warning gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e8caec6d9af06d4f7f0e6cd1a86c6c47e49ff01 Author: David Zeuthen Date: Mon Mar 5 12:57:32 2012 -0500 GUnix{Input,Output}Stream: Only release cancelable poll-fd if we allocated it Otherwise we get criticals a'la GLib-GIO-CRITICAL **: g_cancellable_release_fd: assertion `cancellable->priv->fd_refcount > 0' failed when reading/writing to certain kinds of file descriptors. Patch reviewed by Dan Winship on IRC. Signed-off-by: David Zeuthen gio/gunixinputstream.c | 3 ++- gio/gunixoutputstream.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit b6f65ec94065eb1ef321fe034b6fe94059bb741e Author: Matthias Clasen Date: Mon Mar 5 11:43:20 2012 -0500 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3cf1ad1881c2d8f0cac67d51d3e29713bb28a201 Author: Alexander Larsson Date: Mon Mar 5 15:05:07 2012 +0100 Use G_DEFINE_CONSTRUCTOR for the glib_init constructor No need to hand-roll this when we have a macro version. glib/glib-init.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a970fddb0ed68de910120cbe009edb94aa38eb9d Author: Matthias Clasen Date: Mon Mar 5 09:01:20 2012 -0500 2.31.20 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17fe7fbd5afe58d386cd9df1148d9f897c233f7e Author: Matthias Clasen Date: Mon Mar 5 08:32:07 2012 -0500 Update glib-genmarshal docs A bunch of new commandline options sneaked in without docs... docs/reference/gobject/glib-genmarshal.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit afe30b28847487d9b5cb4fb65ce740107cbc7423 Author: Matthias Clasen Date: Mon Mar 5 07:54:47 2012 -0500 Fix a compiler warning gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dea3619367633786f98267181f18ec11834ec507 Author: Matthias Clasen Date: Mon Mar 5 07:34:58 2012 -0500 gobject: Fix symbol lists gobject/gobject.symbols | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit d2e742c60516963d894516f1ffaf72be021b5df2 Author: Matthias Clasen Date: Mon Mar 5 07:02:53 2012 -0500 More updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit f3fb42cfaf967cec4450437d81f824de266fb274 Merge: e9c399a 2d6502f Author: Alexander Larsson Date: Mon Mar 5 12:29:45 2012 +0100 Merge branch 'signal-performance' commit e9c399a65bfa1796947a8d1d65a4a7edab610c3b Author: Matthias Clasen Date: Sun Mar 4 23:42:45 2012 -0500 Fix distcheck gio/fam/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17835f8efd226580f767cf86e846749102050ae1 Author: YunQiang Su Date: Mon Mar 5 17:44:58 2012 +0800 update Simplified Chinese (zh_CN) translation po/zh_CN.po | 5919 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3129 insertions(+), 2790 deletions(-) commit c0c2cbe0aec6fe42ac7496ed831b2e78a477c351 Author: Matthias Clasen Date: Sun Mar 4 22:25:50 2012 -0500 Fix distcheck glib/pcre/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 47b162c1dfeca9384058e24a9cef3fdb4e730151 Author: Matthias Clasen Date: Sun Mar 4 21:48:26 2012 -0500 Updates for 2.31.20 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 1426a8ca07f3ad0e874c0b0aad241ae93cf1e144 Author: Matthias Clasen Date: Sun Mar 4 20:49:04 2012 -0500 Fix binding properties of the same object This problem was pointed out in bug 639873. The patch here is based on Matt Barnes patch, I've added a testcase as well. gobject/gbinding.c | 8 +++++--- gobject/tests/binding.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) commit 840c32281d307c709b3b2d83071280b3bf46b969 Author: Nirbheek Chauhan Date: Tue Feb 21 19:42:22 2012 +0530 Run gdb under libtool so that local libraries are used If this isn't done, the system-wide glib is used for this test, and that can cause test failures. https://bugzilla.gnome.org/621368 tests/run-assert-msg-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d49a77df5de8102974654f6f27a119dabd550043 Author: Matej Urbančič Date: Sun Mar 4 21:23:29 2012 +0100 Updated Slovenian translation po/sl.po | 72 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 32 insertions(+), 40 deletions(-) commit ce5ccbf3e0638b33f66a0948ecffe287beca1592 Author: Martin Srebotnjak Date: Sun Mar 4 21:20:59 2012 +0100 Updated Slovenian translation po/sl.po | 1636 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 992 insertions(+), 644 deletions(-) commit f3bf532a3c6dd97605117dba4b7cc4aae10e7136 Author: Michael Biebl Date: Sun Mar 4 00:26:10 2012 +0100 build: include glib-compile-resources.xml in the dist tarball https://bugzilla.gnome.org/show_bug.cgi?id=671281 docs/reference/gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit cc2104e87a12414c205319a0e488c17c64246e9c Author: Michael Biebl Date: Sat Mar 3 21:39:35 2012 +0100 build: Fix failure on "make distclean" https://bugzilla.gnome.org/show_bug.cgi?id=671270 gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d6502f67bb207c5a0d6eaba27b2398b74baa28f Author: Alexander Larsson Date: Sat Mar 3 21:36:10 2012 +0100 fastpath: Do allow NO_RECURSE fastpath for NOP emissions This fixes a performance regression wrt the old NOP emission handler. gobject/gsignal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 5f280eb6a828d3bdeb932ce42ee97b2ab7e771f2 Author: Shota Akiyama Date: Thu Feb 23 11:52:12 2012 +0100 glib/gmacros.h: Fix up attribute to avoid namespace collisions https://bugzilla.gnome.org/show_bug.cgi?id=670751 glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit deea0e39ba6bb7c41da405c1269abb962ca81a71 Author: Dan Winship Date: Fri Mar 2 10:22:11 2012 -0500 gspawn: rename G_SPAWN_ERROR_2BIG to be more bindings-friendly Rename G_SPAWN_ERROR_2BIG to G_SPAWN_ERROR_TOO_BIG (while keeping the old name for compatibility), to fix problems with language bindings where the old name translates into something that would be syntactically invalid due to starting with a digit. https://bugzilla.gnome.org/show_bug.cgi?id=671025 glib/gspawn.c | 2 +- glib/gspawn.h | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) commit a5caa564b7ac03d49386690c3037e57bdf80563d Author: Ryan Lortie Date: Sat Mar 3 11:40:51 2012 -0500 GApplication: fix name unregister logic We were attempting to unregister our ownership of our D-Bus name even in the case that we were non-unique (ie: we didn't actually own the name). Rework the logic a bit to prevent that: for non-unique, we leave impl->bus_name as NULL and we only register/unregister if it is non-NULL. gio/gapplicationimpl-dbus.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 5c3e86277627a8cc2dab64dd25fc7a30369472e0 Author: Nguyễn Thái Ngọc Duy Date: Sat Mar 3 22:49:18 2012 +0700 Updated Vietnamese translation po/vi.po | 85 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 38 insertions(+), 47 deletions(-) commit f5aad13d8f1fe4fccf128105f9ab50f2e73f7737 Author: Nguyễn Thái Ngọc Duy Date: Sat Mar 3 22:35:16 2012 +0700 po/vi: import from Damned Lies po/vi.po | 1134 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 669 insertions(+), 465 deletions(-) commit 27d9b92264a35dc5753f63ad0ff2f8e5c7381c44 Author: Inaki Larranaga Murgoitio Date: Sat Mar 3 14:43:05 2012 +0100 Updated Basque language po/eu.po | 6203 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3268 insertions(+), 2935 deletions(-) commit 59ee6dbc004adda8c4e4c8ff58bf21a9173eb99f Author: Peter O'Gorman Date: Fri Mar 2 13:36:27 2012 -0800 Bug 640202 Impossible to build multi-architecture libraries Hides ELF-only linker flag -export-dynamic from non-ELF linkers. configure.ac | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit b05ea89d0c9e97fcd7858a83ea0d1c6d7fe1972f Author: Alexander Larsson Date: Fri Mar 2 20:22:29 2012 +0100 Mask out G_SIGNAL_TYPE_STATIC_SCOPE when comparing types gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d10f79a1963d169b1613b2163176cdea7b7d4d8d Author: Emmanuele Bassi Date: Fri Mar 2 17:06:36 2012 +0000 build: Fix rules for marshalers.[ch] gobject/tests/.gitignore | 1 + gobject/tests/Makefile.am | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 3d52ee999af39b37badfb8ed6f7b0dbcf28c73b0 Author: Alexander Larsson Date: Fri Mar 2 16:16:17 2012 +0100 Add more tests for signal emissions gobject/tests/Makefile.am | 10 ++ gobject/tests/marshalers.list | 3 + gobject/tests/signals.c | 361 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 367 insertions(+), 7 deletions(-) commit f02ec2f2de3c9863da36be951662ddf4080adfaa Author: Alexander Larsson Date: Wed Feb 22 19:36:05 2012 +0100 Optimize single-handler va_marshaller case When there is only one closure handling a signal emission and it doesn't have a bunch of complicated features enabled we can short circuit the va_args collection into GValues and call the callback via the va_marshaller directly. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gsignal.c | 344 ++++++++++++++++++++++++++++++++------------- gobject/gvaluecollector.h | 30 ++++ 2 files changed, 274 insertions(+), 100 deletions(-) commit a3e91088ce40ed201cfe1514b0adb252394027b1 Author: Alexander Larsson Date: Fri Mar 2 11:20:45 2012 +0100 Use builtin marshallers and va_marshallers if possible If the signal argumment types matches a built in standard marshaller we use the va_marshaller for that, and also the normal marshaller if NULL was specified (as its faster than the generic one). gobject/gsignal.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) commit 7964cda8e6c9dc779e99b65150e158e29d373ea4 Author: Alexander Larsson Date: Wed Feb 22 19:34:05 2012 +0100 Add g_signal_set_va_marshaller This lets you set a va_marshaller on your signal which will be propagated to all closures for the signal. Also, automatically uses the generica va_marshaller if you specify a NULL c_marshaller. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gsignal.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++----- gobject/gsignal.h | 11 ++++++++++ 2 files changed, 64 insertions(+), 5 deletions(-) commit 1c4f0ca48332f2e550b5e5e17365c43912958cee Author: Alexander Larsson Date: Tue Feb 28 15:48:20 2012 +0100 Add _g_closure_is_void to check for NULL vfuncs https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 36 ++++++++++++++++++++++++++++++++++++ gobject/gtype-private.h | 2 ++ 2 files changed, 38 insertions(+) commit 57051905f9279d2c8c27e9e50154c9565708f4d5 Author: Alexander Larsson Date: Wed Feb 22 19:32:36 2012 +0100 Support generating va marshallers in glib-genmarshal https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/glib-genmarshal.c | 232 ++++++++++-- gobject/gmarshal.c | 909 +++++++++++++++++++++++++++++++++++++++++++++ gobject/gmarshal.h | 154 ++++++++ 3 files changed, 1272 insertions(+), 23 deletions(-) commit 588af03a2893615736685c43cdaff767f70d04e8 Author: Alexander Larsson Date: Wed Feb 22 19:29:14 2012 +0100 Add optional support for varargs marshallers to GClosure These closures support being invoked on a va_args which can be useful as you can then avoid boxing the va_args into GValues in certain cases. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 364 ++++++++++++++++++++++++++++++++++++++++++++++- gobject/gclosure.h | 18 +++ gobject/gtype-private.h | 13 ++ 3 files changed, 392 insertions(+), 3 deletions(-) commit d5fbbe400aef8c802968a1398fc8e9546173b748 Author: Alexander Larsson Date: Wed Feb 22 17:46:21 2012 +0100 Add GRealClosure and move meta_marshallers there This means we're not abusing the notifiers for meta_marshallres, and we're able to later cleanly add other fields to GClosure. We still have to leave the ABI intact for the GClosure->meta_marshal bit, as old G_CLOSURE_N_NOTIFIERS macro instances still accesses it. However, we always set it to zero to keep those macros working. https://bugzilla.gnome.org/show_bug.cgi?id=661140 gobject/gclosure.c | 81 +++++++++++++++++++---------------------------- gobject/gclosure.h | 6 ++-- gobject/gsignal.c | 4 +-- gobject/gtype-private.h | 12 +++++++ 4 files changed, 51 insertions(+), 52 deletions(-) commit 950e6a4a207180862061618de5a3b77f92d71c0a Author: Alexander Larsson Date: Wed Feb 22 19:44:24 2012 +0100 tests: Add generic and empty signal emission performace tests generic means it uses the generic marshaller empty means the vfunc pointer is NULL https://bugzilla.gnome.org/show_bug.cgi?id=661140 tests/gobject/performance.c | 112 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 107 insertions(+), 5 deletions(-) commit 3be0e57458fe297d79a20f261cc2b0f92c91db45 Author: Lionel Landwerlin Date: Tue Sep 27 09:15:17 2011 +0100 tests: performance: add emit-handled/emit-unhandled tests Signed-off-by: Lionel Landwerlin tests/gobject/performance.c | 125 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 104 insertions(+), 21 deletions(-) commit 00f1e1f5c282b0943d0a7b3e073d8867b0bdba05 Author: Jörn Magens Date: Wed Feb 29 12:29:50 2012 -0500 GSequence: add note about lookup requiring sorting g_sequence_lookup() only works on sorted sequences, but it's quite easy to create unsorted sequences. Add a note to the documentation that the sequence must be sorted in order for g_sequence_lookup() to work. https://bugzilla.gnome.org/show_bug.cgi?id=670969 glib/gsequence.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 7e7e0b141c887a2880c88f051cb8ed07e474b24a Author: Yaron Shahrabani Date: Fri Mar 2 14:15:58 2012 +0200 Updated Hebrew translation. po/he.po | 131 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 76 insertions(+), 55 deletions(-) commit cb0566eaf3b245bf2eaa8c9e912cf240d8868193 Author: Christian Dywan Date: Sat Mar 26 14:48:54 2011 +0000 gobject/gtype.c: Emphasize use of priv in member and use g_return_val_if_fail Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597785 Signed-off-by: Javier Jardón gobject/gtype.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 10fbfcf09010e423cfc79c54e8da50b62a0f4b8a Author: David Zeuthen Date: Thu Mar 1 14:06:43 2012 -0500 Add G_VOLUME_IDENTIFIER_KIND_CLASS identifier If an application (such as Nautilus) wants to show a sidebar with devices group into different groups such as "Devices" and "Network", it's currently up to the application itself to do the classification (for example by looking at the URI scheme for the activation root, e.g. smb://). This patch adds a new identifier G_VOLUME_IDENTIFIER_KIND_CLASS that can be set by volume monitors and used by applications. See https://bugzilla.gnome.org/show_bug.cgi?id=668295 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gvolume.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) commit 479416fada430f8d1f5af8e9b7c536b2ee6e71fb Author: Krishnababu Krothapalli Date: Thu Mar 1 13:59:41 2012 +0530 Updated Telugu Translations po/te.po | 6103 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3207 insertions(+), 2896 deletions(-) commit 80611295ab56dd95add95a9600ba8bc88d5e9a62 Author: Colin Walters Date: Wed Feb 29 12:37:24 2012 -0500 g_uri_unescape_segment: Mention (allow-none)/%NULL in documentation glib/gurifuncs.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit ede8707129389d6a795b9d23de2554b0d656e2f5 Author: Emmanuele Bassi Date: Wed Feb 29 17:52:39 2012 +0000 Version the deprecation of g_value_array_get_type() Just like the rest of the GValueArray API. gobject/gboxed.h | 13 ------------- gobject/gvaluearray.h | 13 ++++++++++++- 2 files changed, 12 insertions(+), 14 deletions(-) commit c5b6f774c4c133b5c1a9ebbd046a54ef6f177f84 Author: Andoni Morales Alastruey Date: Wed Feb 29 11:19:21 2012 +0100 gsocket: fix compilation when ENOTSOCK and WSANOTSOCK are both defined gio/gsocket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9db8692f5ada433b4c7292b5b595a667fb53bebc Author: Chun-wei Fan Date: Wed Feb 29 11:58:16 2012 +0800 Update Visual C++ projects Update the build support of the included PCRE as we are now including PCRE 8.30 with the GLib distribution. Also "install" the new gversionmacros.h header file. build/win32/vs10/glib.props | 2 + build/win32/vs10/glib.vcxproj.filtersin | 19 ++++- build/win32/vs10/glib.vcxprojin | 122 +++++++++++++++++++++++++++++-- build/win32/vs9/glib.vcprojin | 122 +++++++++++++++++++++++++++++-- build/win32/vs9/glib.vsprops | 1 + 5 files changed, 252 insertions(+), 14 deletions(-) commit 2bde3e8d833cf2d90ac3a0b3b89810ddd54b8c10 Author: Aleksander Morgado Date: Tue Feb 28 01:14:29 2012 +0100 gio-2.0.pc: add gdbus_codegen variable https://bugzilla.gnome.org/show_bug.cgi?id=670922 gio-2.0.pc.in | 1 + 1 file changed, 1 insertion(+) commit 0155e19566a9d9e0d334eddac7dd757b4b9a2f4c Author: Fran Diéguez Date: Tue Feb 28 00:32:18 2012 +0100 Updated Galician translations po/gl.po | 66 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 24 deletions(-) commit 7a4a973cfd1508065efa69c6a910cd01b490499a Author: David Zeuthen Date: Mon Feb 27 14:53:13 2012 -0500 GDBusConnection: Don't leak message reply in error path This was reported in bug 670909. https://bugzilla.gnome.org/show_bug.cgi?id=670909 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eeccd3866ac679b36f5bff2c8c542b911a09a390 Author: Ryan Lortie Date: Mon Feb 27 14:00:55 2012 -0500 GDBusMenuModel: plug a leak of a GHashTable gio/gdbusmenumodel.c | 1 + 1 file changed, 1 insertion(+) commit 51f1297a6e8a031a611dd15b8aec8f4abac9a1db Author: Christian Persch Date: Mon Feb 27 16:25:50 2012 +0100 Fixup docs comment glib/gunicode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2c37669f24d6c52642f0f7d76c6d8432fb57a6d Author: Christian Persch Date: Mon Feb 13 14:20:55 2012 +0100 regex: unicode: Update to Unicode 6.1.0 Update some more PCRE tables to Unicode 6.1.0. Should be completely updated now. glib/pcre/pcre_tables.c | 297 +++++++++++++++++++++++++---------------------- 1 file changed, 159 insertions(+), 138 deletions(-) commit c67ad269f1801371050da5600fa83abaf1130411 Author: Matthias Clasen Date: Mon Feb 27 07:16:11 2012 -0500 Fix doc build again The way gtk-doc works, we need compiling.sgml in both content_files (to make sure it ends up in the disted tarball) and in expand_content_files (to have references expanded). docs/reference/glib/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 96c98ce62ebb88b296deab5391203a870dbfa068 Author: Matthias Clasen Date: Mon Feb 27 06:48:01 2012 -0500 Improve the wording of the message for G_UNAVAILABLE The version number we have here is the one the function appeared in, not the max-allowed version. Therefore 'unavailable before VERSION' makes more sense than 'unavailable for VERSION'. glib/gmacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fecdb4f8dc5338b9c069edeb4f0eb77b0aaf3605 Author: Rico Tzschichholz Date: Mon Feb 27 12:50:18 2012 +0100 docs/glib: Moving back compiling.sgml to content_files to fix make dist docs/reference/glib/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 37c84b3bbf7ae6408f35db896c43ef513ffa0e8d Author: Alexander Shopov Date: Mon Feb 27 07:31:44 2012 +0200 Updated Bulgarian translation po/bg.po | 952 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 604 insertions(+), 348 deletions(-) commit 4995ef4dd7959dde44c62014a06c52d41acd8908 Author: Matthias Clasen Date: Mon Feb 27 00:32:13 2012 -0500 Add a 'these are private' note for the version macros glib/gversionmacros.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 76175ab9eda0c1d56a2b6a816853ab00264b1f3b Author: Matthias Clasen Date: Mon Feb 27 00:18:47 2012 -0500 Improve documentation around deprecations docs/reference/glib/Makefile.am | 4 +++- docs/reference/glib/compiling.sgml | 2 +- docs/reference/glib/glib-docs.sgml | 2 +- docs/reference/glib/glib-sections.txt | 1 + glib/docs.c | 8 ++++++++ 5 files changed, 14 insertions(+), 3 deletions(-) commit 550fcaddf7fcdb8a4052ab43f40b27e5e9d94be1 Author: Emmanuele Bassi Date: Tue Feb 21 13:40:50 2012 +0000 Add versioned deprecation annotation We start from GLib 2.26. https://bugzilla.gnome.org/show_bug.cgi?id=670542 glib/deprecated/gcompletion.h | 16 +++++----- glib/deprecated/grel.h | 22 ++++++------- glib/deprecated/gthread.h | 70 ++++++++++++++++++++--------------------- glib/gatomic.h | 2 +- glib/gmain.h | 2 +- glib/gunicode.h | 2 +- 6 files changed, 57 insertions(+), 57 deletions(-) commit 817d992abcf127cec3de89b6d6e6e45a99b1727d Author: Emmanuele Bassi Date: Mon Feb 20 16:41:30 2012 +0000 value array: Annotate with versioned deprecation https://bugzilla.gnome.org/show_bug.cgi?id=670542 gobject/gvaluearray.h | 20 ++++++++++---------- gobject/tests/valuearray.c | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) commit 34aeeb7d64a0433f7994dd2b3f60bc018f0a84c1 Author: Emmanuele Bassi Date: Mon Feb 20 16:20:15 2012 +0000 Add flexible API version boundaries There are cases when it should be possible to define at compile time what range of functions and types should be used, in order to get, or restrict, the compiler warnings for deprecated or newly added types or functions. For instance, if GLib introduces a deprecation warning on a type in version 2.32, application code can decide to specify the minimum and maximum boundary of the used API to be 2.30; when compiling against a new version of GLib, this would produce the following results: - all deprecations introduced prior to 2.32 would emit compiler warnings when used by the application code; - all deprecations introduced in 2.32 would not emit compiler warnings when used by the application code; - all new symbols introduced in 2.32 would emit a compiler warning. Using this scheme it should be possible to have fairly complex situations, like the following one: assuming that an application is compiled with: GLIB_VERSION_MIN_REQUIRED = GLIB_VERSION_2_30 GLIB_VERSION_MAX_ALLOWED = GLIB_VERSION_2_32 and a GLib header containing: void function_A (void) GLIB_DEPRECATED_IN_2_26; void function_B (void) GLIB_DEPRECATED_IN_2_28; void function_C (void) GLIB_DEPRECATED_IN_2_30; void function_D (void) GLIB_AVAILABLE_IN_2_32; void function_E (void) GLIB_AVAILABLE_IN_2_34; any application code using the above functions will get the following compiler warnings: function_A: deprecated symbol warning function_B: deprecated symbol warning function_C: no warning function_D: no warning function_E: undefined symbol warning This means that it should be possible to gradually port code towards non-deprecated API gradually, on a per-release basis. https://bugzilla.gnome.org/show_bug.cgi?id=670542 configure.ac | 4 + docs/reference/glib/compiling.sgml | 9 ++ docs/reference/glib/glib-sections.txt | 9 ++ glib/Makefile.am | 1 + glib/docs.c | 32 +++++ glib/glib.h | 1 + glib/gmacros.h | 9 ++ glib/gtypes.h | 1 + glib/gversion.c | 12 ++ glib/gversionmacros.h | 206 +++++++++++++++++++++++++++++++++ 10 files changed, 284 insertions(+) commit d70634526d43a9d9281301c2097c788ca575e318 Author: Christian Persch Date: Sat Feb 11 23:51:11 2012 +0100 regex: Remove --disable-regex option https://bugzilla.gnome.org/show_bug.cgi?id=622149 configure.ac | 114 ++++++++++++++++++++++------------------------------ glib/Makefile.am | 16 +------- glib/tests/regex.c | 13 ------ gobject/gboxed.c | 5 --- 4 files changed, 51 insertions(+), 97 deletions(-) commit 3e7f42654ff2fd471ccd67ad6b8a38672f81a393 Author: David King Date: Tue Feb 21 11:19:20 2012 +0000 docs: Clarify how to unset a GFileInfo attribute https://bugzilla.gnome.org/show_bug.cgi?id=592666 gio/gfileinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 500aafd09960b5cea027585e3898192f9501d04f Author: David King Date: Tue Feb 21 10:05:08 2012 +0000 docs: Clarify g_type_register_fundamental() behaviour https://bugzilla.gnome.org/show_bug.cgi?id=580873 gobject/gtype.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 989c466296fe9094f80a0633546b7419da7522c6 Author: Christian Persch Date: Sun Feb 12 21:22:13 2012 +0100 regex: Remove pcre_ucd.c glib/pcre/pcre_ucd.c | 3098 -------------------------------------------------- 1 file changed, 3098 deletions(-) commit 706b72db21d25ec26ed7411e5221550ffb08ff21 Author: Christian Persch Date: Sun Feb 12 21:20:33 2012 +0100 regex: Use glib for unicode data Use g_unichar_type() and g_unichar_get_script() instead of pcre tables. glib/pcre/Makefile.am | 1 - glib/pcre/pcre_compile.c | 26 +- glib/pcre/pcre_dfa_exec.c | 96 +++--- glib/pcre/pcre_exec.c | 26 +- glib/pcre/pcre_internal.h | 11 +- glib/pcre/pcre_tables.c | 16 + glib/pcre/pcre_xclass.c | 24 +- glib/pcre/ucp.h | 265 ++++++++-------- glib/update-pcre/ucp.patch | 732 +++++++++++++++++++++++++++++++++++++++++++- 9 files changed, 958 insertions(+), 239 deletions(-) commit 75dffb99b3d11f4ae9d8a72a055641482a727b75 Author: Christian Persch Date: Sun Feb 12 20:41:52 2012 +0100 regex: Remove obsolete patch glib/update-pcre/utt.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) commit 8e8ab99bad79455fae732f5472c8b06a68cca35d Author: Christian Persch Date: Sun Feb 12 20:04:41 2012 +0100 regex: unicode: Update to Unicode 6.1.0 glib/pcre/pcre_ucd.c | 4769 ++++++++++++++++++++++++++------------------------ glib/pcre/ucp.h | 10 +- 2 files changed, 2452 insertions(+), 2327 deletions(-) commit 735e4a6a6a5112b5caccb7e55841aa0eba50f5cb Author: Christian Persch Date: Sun Feb 12 19:44:31 2012 +0100 regex: Remove obsolete makefile fragments The update.sh script doesn't work with current PCRE, so these are obsolete. glib/update-pcre/Makefile.am | 2 -- glib/update-pcre/Makefile.am-1 | 28 ---------------------------- glib/update-pcre/Makefile.am-2 | 10 ---------- 3 files changed, 40 deletions(-) commit afa3375210cf5b29885559c6fefcdd1b167614d2 Author: Christian Persch Date: Sun Feb 12 19:40:48 2012 +0100 regex: Use glib memory allocator glib/pcre/pcre_globals.c | 10 ++-- glib/update-pcre/memory.patch | 114 ++++++++++++----------------------------- 2 files changed, 40 insertions(+), 84 deletions(-) commit 38309dc482eb80037b620d5797fce133fe5f3060 Author: Christian Persch Date: Sun Feb 12 19:31:15 2012 +0100 regex: Remove obsolete patch glib/update-pcre/Makefile.am | 3 +-- glib/update-pcre/pcre_valid_utf8.c | 14 -------------- 2 files changed, 1 insertion(+), 16 deletions(-) commit d02f6393dffe8dbf9e909d20cab9c8dcaaa8d98b Author: Christian Persch Date: Sun Feb 12 19:29:42 2012 +0100 regex: Use g_ascii_is[x]digit glib/pcre/pcre_compile.c | 22 ++-- glib/update-pcre/digitab.patch | 217 ++++++++++++++++------------------------ 2 files changed, 101 insertions(+), 138 deletions(-) commit 8aadf6b3c94b907c418b8289f89978e289aefa1d Author: Christian Persch Date: Sun Feb 12 19:20:49 2012 +0100 regex: Remove obsolete patch PCRE doesn't even contain the patched file anymore. glib/update-pcre/Makefile.am | 1 - glib/update-pcre/pcre_ucp_searchfuncs.c | 130 ------------------------------- 2 files changed, 131 deletions(-) commit 3225b24cb5a24b1360d90d7efaf6e3e7329717bd Author: Christian Persch Date: Sun Feb 12 19:18:44 2012 +0100 regex: Remove obsolete patches Upstream PCRE has removed the relocations that these patches were fixing; the patches are obsolete. glib/update-pcre/make_utt.py | 57 ------- glib/update-pcre/table-reduction.patch | 269 -------------------------------- 2 files changed, 326 deletions(-) commit a40523b7f2e4994e9a9f8c577d2b2b03d701290e Author: Christian Persch Date: Sun Feb 12 19:14:59 2012 +0100 regex: Update included PCRE to 8.30 glib/pcre/Makefile.am | 43 +- glib/pcre/pcre.h | 290 +- glib/pcre/pcre_byte_order.c | 288 ++ glib/pcre/pcre_chartables.c | 2 +- glib/pcre/pcre_compile.c | 3217 ++++++++++++------ glib/pcre/pcre_config.c | 48 +- glib/pcre/pcre_dfa_exec.c | 901 +++-- glib/pcre/pcre_exec.c | 3406 +++++++++++-------- glib/pcre/pcre_fullinfo.c | 62 +- glib/pcre/pcre_get.c | 199 +- glib/pcre/pcre_globals.c | 14 +- glib/pcre/pcre_internal.h | 1168 +++++-- glib/pcre/pcre_jit_compile.c | 6915 ++++++++++++++++++++++++++++++++++++++ glib/pcre/pcre_maketables.c | 148 + glib/pcre/pcre_newline.c | 50 +- glib/pcre/pcre_ord2utf8.c | 30 +- glib/pcre/pcre_refcount.c | 89 + glib/pcre/pcre_string_utils.c | 168 + glib/pcre/pcre_study.c | 718 +++- glib/pcre/pcre_tables.c | 54 +- glib/pcre/pcre_try_flipped.c | 139 - glib/pcre/pcre_ucd.c | 2981 ++++++++++++++++ glib/pcre/pcre_ucp_searchfuncs.c | 131 - glib/pcre/pcre_valid_utf8.c | 299 ++ glib/pcre/pcre_version.c | 95 + glib/pcre/pcre_xclass.c | 64 +- glib/pcre/pcreposix.h | 146 + glib/pcre/ucp.h | 195 +- 28 files changed, 17983 insertions(+), 3877 deletions(-) commit da4293a4e431185d8c0c889643712adea0dae473 Author: Matthias Clasen Date: Sun Feb 26 21:49:20 2012 -0500 Update case conversion test data for Unicode 6.1 tests/casefold.txt | 7 ++++++- tests/casemap.txt | 25 +++++++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) commit 8280a8ee36845699ea62ce0a36fcde26e22b1b90 Author: Christian Persch Date: Fri Feb 10 18:59:50 2012 +0100 unicode: tests: More script to/from ISO-15924 tests glib/tests/unicode.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) commit 58b4cdd38b3fb78de918b9861e5d6362d48d1fcd Author: Christian Persch Date: Fri Feb 10 18:42:08 2012 +0100 unicode: tests: Add tests for new scripts glib/tests/unicode.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit d133d229327b8cfb7974a861da08f57140cf5c55 Author: Christian Persch Date: Fri Feb 10 18:36:13 2012 +0100 unicode: tests: Add tests for new line break classes glib/tests/unicode.c | 2 ++ 1 file changed, 2 insertions(+) commit 2a2f3c41761d078368e084574bf2f1c51b89f792 Author: Christian Persch Date: Fri Feb 10 18:25:47 2012 +0100 unicode: Regenerate tables from Unicode 6.1.0 glib/gunibreak.h | 1176 ++++++++++++++++++++++++++++++----------- glib/gunichartables.h | 1383 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 1766 insertions(+), 793 deletions(-) commit d1da9ff080b42f1bac6a611f68d8d3f8a166f3e6 Author: Christian Persch Date: Fri Feb 10 18:21:31 2012 +0100 unicode: Regenerate gscripttable.h for Unicode 6.1.0 glib/gscripttable.h | 162 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 100 insertions(+), 62 deletions(-) commit 3554026b39b575612ce71d79608156a303800552 Author: Christian Persch Date: Fri Feb 10 18:33:22 2012 +0100 unicode: tests: Remove U+27CD from is-undefined test It's assigned in Unicode 6.1.0. glib/tests/unicode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 48e01af6f1115057d861367792e1e40f2a71fdd3 Author: Christian Persch Date: Fri Feb 10 18:20:26 2012 +0100 unicode: Add new line break classes from Unicode 6.1.0 glib/gen-unicode-tables.pl | 2 ++ glib/gunicode.h | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit fb574834c18893413fa0549f0c12699ad6354724 Author: Christian Persch Date: Fri Feb 10 16:59:41 2012 +0100 unicode: Add new scripts from Unicode 6.1.0 glib/gunicode.h | 22 +++++++++++++++++++--- glib/guniprop.c | 9 +++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) commit 2161bf254f6bfdfe589f7750c30f129261a48b30 Author: Stefan Sauer Date: Sun Feb 26 21:20:24 2012 +0100 goption: try to be helpful in goption args/flag checks When complaining about ill defined GOptionEntries include the name of the option group and entry in the warning. glib/goption.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit e4738839edfa88d1e9c401f9342d2a11e7ad2bab Author: Daniel Mustieles Date: Sun Feb 26 20:08:29 2012 +0100 Updated Spanish translation po/es.po | 137 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 77 insertions(+), 60 deletions(-) commit 761b21a249f1438bd7c347a316f023e89a30dbbc Author: Jonh Wendell Date: Sun Feb 26 10:59:40 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 75 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 42 insertions(+), 33 deletions(-) commit 4ce98d3b5952f7c1048352c436c71d636beaae48 Author: Thomas Hindoe Paaboel Andersen Date: Sat Feb 25 10:25:13 2012 +0100 docs: g_file_new_tmp: template was renamed to tmpl gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0833f9735dbf077f401e30fcd8047516a53ce0c0 Author: A S Alam Date: Sun Feb 26 16:24:15 2012 +0530 update Punjabi Translation po/pa.po | 6072 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3268 insertions(+), 2804 deletions(-) commit 4876be4abfa3291cf3e5412092059b7a2ac2ccce Author: Мирослав Николић Date: Sun Feb 26 11:26:11 2012 +0100 Updated Serbian translation po/sr.po | 89 +++++++++++++++++++++++++++++++++----------------------- po/sr@latin.po | 89 +++++++++++++++++++++++++++++++++----------------------- 2 files changed, 106 insertions(+), 72 deletions(-) commit 755a45e530bdde4b618baeec1f4f478bcc2e4f03 Author: Gheyret Kenji Date: Sun Feb 26 11:23:43 2012 +0900 Updated Uyghur translation po/ug.po | 6110 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3151 insertions(+), 2959 deletions(-) commit ba7e1542fe9ed53dbf596e23a3efdfacae1adb98 Author: Ihar Hrachyshka Date: Sun Feb 26 01:18:29 2012 +0300 Updated Belarusian translation. po/be.po | 77 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 28 deletions(-) commit abac7df5734cff4ea92b5ae92a8b34008548ecfb Author: Jonh Wendell Date: Sat Feb 25 10:54:53 2012 -0200 Make some strings translatable gio/gresource-tool.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 3cc5900b7be49da10617775b91d86bbf945091ca Author: Aurimas Černius Date: Sat Feb 25 22:37:20 2012 +0200 Updated Lithuanian translation po/lt.po | 6207 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3290 insertions(+), 2917 deletions(-) commit feaf828a92dcc373c859a196d7b82ab9347e4b2a Author: Jonh Wendell Date: Sat Feb 25 10:18:40 2012 -0200 Fixed a typo gio/glib-compile-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c75614ecedf7d990083c4f54871816d547a23a0c Author: Arash Mousavi Date: Sat Feb 25 15:35:17 2012 +0330 Updated Persian Translation po/fa.po | 5657 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3007 insertions(+), 2650 deletions(-) commit cb7d3552c3673f898fb677c1ae6fca1931f67a38 Author: Chao-Hsiung Liao Date: Sat Feb 25 10:44:50 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 333 ++++++++++++++++++++++++++++++----------------------------- po/zh_TW.po | 333 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 344 insertions(+), 322 deletions(-) commit 47475dbe6ab981679cbc2931306973d2143694cd Author: John Ralls Date: Fri Feb 24 17:04:52 2012 -0800 [Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv glib/gconvert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 462f7f5a4d7f5690e34f639afdd111c5c4119e26 Author: Filippo Della Betta Date: Thu Feb 16 10:04:50 2012 +0100 Added better support of G_STRFUNC for Visual Studio platform https://bugzilla.gnome.org/show_bug.cgi?id=670128 glib/gmacros.h | 2 ++ 1 file changed, 2 insertions(+) commit a75cac1b4c63f348f65e7045ab0eb6b66a2f55d8 Author: Jonh Wendell Date: Fri Feb 24 17:12:14 2012 -0200 Updated Brazilian Portuguese translation po/pt_BR.po | 6156 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3237 insertions(+), 2919 deletions(-) commit 21457abdccc06087ee4e20f8f0e4449b318f6723 Author: Daiki Ueno Date: Fri Feb 24 10:12:08 2012 +0900 Hide global variable for signal ID in gdbusproxy.c. Also a similar fix for gdbusserver.c. https://bugzilla.gnome.org/show_bug.cgi?id=670721 gio/gdbusproxy.c | 2 +- gio/gdbusserver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eece6cb9c33dbbc30e6a71e09f699fe1ab6fdff3 Author: Richard Hughes Date: Thu Feb 23 10:34:46 2012 +0000 Fix up 'Since:' for g_mapped_file_new_from_fd() It was introduced in 2.31.0, not 2.30.x glib/gmappedfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98a70df48603c3c4fc63acb22a9bf6985bc0fa55 Author: Dan Winship Date: Wed Feb 22 11:38:43 2012 -0500 gthread-posix: fix order of arguments in g_thread_abort() message glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88182d375e13ae6519a288d5295220c83ca27e73 Author: Dan Winship Date: Wed Feb 22 08:12:52 2012 -0500 gasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop also, add a test for g_async_queue_timed_pop() and g_async_queue_timeout_pop() to tests/asyncqueue.c https://bugzilla.gnome.org/show_bug.cgi?id=669670 glib/gasyncqueue.c | 2 +- glib/tests/asyncqueue.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) commit 9ff09f34cf0bc5fbc951490923880d82d94862d1 Author: Rui Matos Date: Tue Feb 21 16:42:43 2012 +0100 gvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value Transforming a GValue holding flags from a GFlagsValue set that includes the 0 value (no flag bits set) into a string would loop until exhausting all the available memory. https://bugzilla.gnome.org/show_bug.cgi?id=670557 gobject/gvaluetransform.c | 2 +- gobject/tests/enums.c | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) commit 9e5ff3d3ebba8bd7f3a871735ed35fe7b4e98d77 Author: Rico Tzschichholz Date: Tue Feb 21 14:19:37 2012 +0100 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 055229b1c589aa8b722eef2d622e1b2bde939961 Author: Fran Diéguez Date: Tue Feb 21 11:57:41 2012 +0100 Updated Galician translations po/gl.po | 140 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 76 insertions(+), 64 deletions(-) commit b80e169b146a31a1595ce6342f675cab6536f76a Author: Ryan Lortie Date: Tue Feb 21 01:37:09 2012 +0100 mention g_application_quit() in the NEWS NEWS | 3 +++ 1 file changed, 3 insertions(+) commit ed519758997ca0fa40575722816be3121f106357 Author: Ryan Lortie Date: Mon Feb 20 21:41:35 2012 +0100 GApplication: add g_application_quit() A long requested feature; this quits the application immediately, ignoring the hold count. https://bugzilla.gnome.org/show_bug.cgi?id=670485 docs/reference/gio/gio-sections.txt | 1 + gio/gapplication.c | 29 +++++++++++++++++++++++++++++ gio/gapplication.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 33 insertions(+) commit 486c694af02c69b06484d0b87c89c2874422f4ff Author: Ryan Lortie Date: Tue Feb 21 01:12:25 2012 +0100 Mention documentation fixes in NEWS NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 2ca6c475ea16d4e1a0a136bde1c20ba45c421a58 Author: David King Date: Sat Feb 18 11:56:09 2012 +0000 docs: Fix g_async_queue_timeout_pop_unlocked typo glib/gasyncqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 912ac79041ed64b2df9be7e88bdb4323d3a6f20e Author: David King Date: Sat Feb 18 12:25:32 2012 +0000 docs: Add some missing G_TOKEN_* descriptions glib/gscanner.c | 5 +++++ 1 file changed, 5 insertions(+) commit 708d4178ceb34586a630afc4597008cf5e9f3a12 Author: David King Date: Sun Feb 19 15:16:59 2012 +0000 docs: Fix g_key_file_load_from_file error parameter glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1965206be828c724ca79d1461134a4ac5adcb73f Author: David King Date: Sun Feb 19 15:19:40 2012 +0000 docs: Ignore private network monitor headers docs/reference/gio/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit c5f8f6f8f4c19b8b735ab9ea9d25b192b4123187 Author: David King Date: Sun Feb 19 15:41:12 2012 +0000 docs: Fix GTlsBackend typo GTyep → GType gio/gtlsbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a290fff9a28a16086de8af7f5e1c789b2070a016 Author: David King Date: Sun Feb 19 15:51:09 2012 +0000 docs: Fix GTlsDatabase typos gio/gioenums.h | 5 +++-- gio/gtlsdatabase.c | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) commit c490a75a18a5ef81821d94a939ac8108111207dc Author: David King Date: Sun Feb 19 16:09:35 2012 +0000 docs: Fix GApplicationCommandLine typo gio/gapplication.c | 6 +++--- gio/gapplicationcommandline.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 69ecc4b49676508fef4372dfc9bf69f1b500125f Author: David King Date: Sun Feb 19 16:11:23 2012 +0000 docs: Fix define typos in GApplication gio/gapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fba11825a325351d9470765caf8e05c0425c1290 Author: David King Date: Sun Feb 19 16:13:59 2012 +0000 docs: Fix typo in GActionGroup gio/gactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6129a1c2d5e654454befdc2734f690bdce42ef9d Author: David King Date: Sun Feb 19 16:14:54 2012 +0000 docs: Fix GActionGroup exporter typo gio/gactiongroupexporter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87c76bdbb6e64484959892909b9a411fe7073a59 Author: David King Date: Sun Feb 19 16:18:37 2012 +0000 docs: Remove some old GMenu documentation gio/gapplication.c | 6 ++---- gio/gmenu.c | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) commit 83392caa727a80bcd9334ac36f41ef4301559a43 Author: David King Date: Sun Feb 19 16:25:07 2012 +0000 docs: Fix typo GAsyncReady → GAsyncResult Also GSimpleAsyncReady → GSimpleAsyncResult. gio/gasynchelper.c | 2 +- gio/gmount.c | 4 ++-- gio/gvolume.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 37fd4d86ab8f3f27caf8817c7a1100ff364dacd1 Author: David King Date: Sun Feb 19 16:26:52 2012 +0000 docs: Remove mention of GFileAttributeValue Instead mention GFileAttributeInfo. gio/gfileattribute.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8ee2cadd7f51f6e1632b8bd8235b9c4c97ecee9d Author: David King Date: Sun Feb 19 16:30:10 2012 +0000 docs: Fix some GDBusConnection typos gio/gdbusconnection.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 11154ff5c13260e257abd240b0353d78e213d0fa Author: David King Date: Sun Feb 19 16:32:08 2012 +0000 docs: Fix typo GConvertFlags → GConverterFlags gio/gconverter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59e1c77b8d46ca083dec98d29a2ea7521cee651d Author: David King Date: Sun Feb 19 16:34:27 2012 +0000 docs: Fix typo export → unexport gio/gdbusinterfaceskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13bc546657b111a4dd61891e6329cb99a2137320 Author: David King Date: Sun Feb 19 16:35:10 2012 +0000 docs: Fix GDBusProxy typo name → g-name gio/gdbusproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ae3ae3699bc153a9fbd3ae0c788f40c8c13fffbd Author: David King Date: Sun Feb 19 16:36:28 2012 +0000 docs: Fix typo in GFileInputStream g_seekable_stream_can_seek() → g_seekable_can_seek(). gio/gfileinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e70b72f5a10c22be137d3173e9fbe2ae11c82f85 Author: David King Date: Sun Feb 19 16:37:55 2012 +0000 docs: Fix method names in GMenu and GMenuModel gio/gmenu.c | 11 +++++------ gio/gmenumodel.c | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) commit 43a3a5edfcb43d0c659047637cb5f0af762201d1 Author: David King Date: Sun Feb 19 16:39:15 2012 +0000 docs: Fix GNetworkAddress typo g_network_address_parse_host() → g_network_address_parse(). gio/gnetworkaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4653c6074f74234f230e8a8b1d1eb94fe05c48f0 Author: David King Date: Sun Feb 19 16:40:06 2012 +0000 docs: Add documentation for supports_hostname in GProxy Also fix a typo has → as. gio/gproxy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5d64eb4cb8e682175875343eef9de0f5798bf09d Author: David King Date: Sun Feb 19 16:42:55 2012 +0000 docs: Correct GSocketClient::event link gio/gsocketclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2616b6eb8e04e63ad8d7151fbf2805ab5d2be9b1 Author: David King Date: Sun Feb 19 16:46:59 2012 +0000 docs: Fix some typos in GVolume gio/gvolume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 07dc3db69a9c32637e9834ad62b32df3bdcfc4cb Author: David King Date: Sun Feb 19 16:48:20 2012 +0000 docs: Fix GFileAttribute link in GFileInfo gio/gfileinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8c8657ac34fde32ebe49020de415b56140c427ce Author: David King Date: Sun Feb 19 16:53:30 2012 +0000 docs: Correct GUnixMount → GUnixMountEntry gio/gmount.c | 2 +- gio/gunixmounts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 31936039b0494201af3d6c0af3df14ad6bd1f8db Author: Ryan Lortie Date: Tue Feb 21 00:31:14 2012 +0100 GApplication: disable a broken test This test made some invalid assumptions that are no longer true. Disable it until we can figure out a better way. gio/tests/gapplication.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 726257ab9721acd0699e54194e20e7f53e5a9688 Author: Dan Winship Date: Mon Feb 13 17:20:04 2012 -0500 gsocket: add g_socket_condition_timed_wait() https://bugzilla.gnome.org/show_bug.cgi?id=667755 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocket.c | 91 +++++++++++++++++++++++++++++------ gio/gsocket.h | 5 ++ gio/tests/socket.c | 53 +++++++++++++++++++- 5 files changed, 136 insertions(+), 15 deletions(-) commit 823f553e36dc3421dd202631962f25ca82298c44 Author: Matthias Clasen Date: Tue Feb 21 00:26:06 2012 +0100 2.31.18 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) commit dbc01d30901204f676ce6225c5f1627a47924c17 Author: Matthias Clasen Date: Tue Feb 21 00:25:31 2012 +0100 Don't rely on /bin/sh Another Fedora UsrMove victim ! glib/tests/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3808a181db2079dc0975811296fa86268de90641 Author: Ask H. Larsen Date: Mon Feb 20 23:25:53 2012 +0100 Updated Danish translation po/da.po | 6117 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3203 insertions(+), 2914 deletions(-) commit 7630bff9ea720cae187f8c9eb065239f1c36ba11 Author: Luca Ferretti Date: Mon Feb 20 15:14:18 2012 +0100 l10n: Updated Italian translation po/it.po | 6509 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3454 insertions(+), 3055 deletions(-) commit 0efd808c964f38d9517cda9ad0d749eadb6e1862 Author: Kjartan Maraas Date: Sun Feb 19 15:26:13 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 179 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 84 deletions(-) commit 17e7c85d8f2f87a50ee78740a1d44cbc6be097c2 Author: David King Date: Sat Feb 18 11:19:53 2012 +0000 docs: Fix g_drive_get_identifier() typo gio/gdrive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b50863aafac23b2d19ae69dd9a6d243a15075dc5 Author: David King Date: Sat Feb 18 11:10:00 2012 +0000 docs: Add GIOModuleScope and GIOModuleScopeFlags Fix some typos and add GIOModuleScope and GIOModuleScopeFlags to gio-sections.txt. docs/reference/gio/gio-sections.txt | 2 ++ gio/gioenums.h | 4 ++-- gio/giomodule.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit 4e6c2b88b9d071d5aedfdafb2b55533d46c5f266 Author: David King Date: Sat Feb 18 09:24:42 2012 +0000 docs: Typo fix GInitiable → GInitable gio/ginitable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c29d7d7f53646a07e42e6edbc777bac90bcdf1d2 Author: David King Date: Sat Feb 18 09:20:02 2012 +0000 docs: Typo fixes for GMount gio/gmount.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d0a310de96b97669e1341fbe1246dbae869f4a5c Author: Yaron Shahrabani Date: Sat Feb 18 11:07:12 2012 +0200 Updated Hebrew translation. po/he.po | 985 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 614 insertions(+), 371 deletions(-) commit 50efbaf063f77f4e273f87ebf4ab01a1c507e97f Author: Peter Kjellerstedt Date: Thu Feb 16 12:17:32 2012 +0100 Do not fail unit test due to gdb abbreviating strings gdb by default will only print strings up to 200 characters. After that it abbreviates them. This affects the run-assert-msg-test.sh script if the path to the glib installation is too long (in our case it was 133 characters, 132 would still have worked...) By having gdb execute "set print elements 0" before printing the assert string, the limit on maximum number of characters to print is set to unlimited. Signed-off-by: Peter Kjellerstedt https://bugzilla.gnome.org/show_bug.cgi?id=670218 tests/run-assert-msg-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29f3e40e4e8bb382f405ecd1769d37bfd536e24b Author: David King Date: Fri Feb 17 16:09:59 2012 +0000 docs: Fix a typo in the GSeekable documentation gio/gseekable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52f34311b908e661f257cab70d60d89d37a2da75 Author: Matthias Clasen Date: Thu Feb 16 13:33:44 2012 -0500 Docs: fix reference to nonexisting function The regex syntax docs referred to g_regex_fetch() when g_match_info_fetch() was meant. https://bugzilla.gnome.org/show_bug.cgi?id=669865 docs/reference/glib/regex-syntax.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 275731e20039e763748608072e0e2a98b7d035ed Author: Ravi Sankar Guntur Date: Tue Feb 14 22:05:33 2012 +0530 gio: fix memory leak in g_buffered_output_stream_write_async() https://bugzilla.gnome.org/show_bug.cgi?id=670085 Signed-off-by: Ravi Sankar Guntur gio/gbufferedoutputstream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit eafb108cafe257645fc0d16a16ac2764afed6d5a Author: Christian Persch Date: Wed Feb 15 15:25:47 2012 +0100 gbytes: Add G_BEGIN/END_DECL guards Bug #670138. glib/gbytes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 26f238e85d751aded81602f68cd69bf73cfc8350 Author: Christian Persch Date: Sun Feb 5 16:00:31 2012 +0100 Plug a mem leak in g_environ_unsetenv And clarify the memory allocation requirement of the string arrays passed to g_environ_{,un}setenv(). ==9458== 10 bytes in 1 blocks are definitely lost in loss record 16 of 39 ==9458== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==9458== by 0x4221A1F: vasprintf (vasprintf.c:78) ==9458== by 0x40C6065: g_vasprintf (gprintf.c:314) ==9458== by 0x409D894: g_strdup_vprintf (gstrfuncs.c:509) ==9458== by 0x409D8C9: g_strdup_printf (gstrfuncs.c:535) ==9458== by 0x40672E9: g_environ_setenv (genviron.c:156) ==9458== by 0x80490E7: test_environ_array (environment.c:78) ==9458== by 0x40A3DB5: test_case_run (gtestutils.c:1662) ==9458== by 0x40A40B2: g_test_run_suite_internal (gtestutils.c:1715) ==9458== by 0x40A417C: g_test_run_suite_internal (gtestutils.c:1726) ==9458== by 0x40A42F9: g_test_run_suite (gtestutils.c:1771) ==9458== by 0x40A3441: g_test_run (gtestutils.c:1319) ==9458== by 0x80493F1: main (environment.c:108) Bug #669412. glib/genviron.c | 63 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 24 deletions(-) commit ca05902a5883020add334e542a63d7f9381a3117 Author: Dan Winship Date: Fri Feb 10 08:49:17 2012 -0500 Add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS Add new macros to disable -Wdeprecated-declarations around a piece of code, using the C99 (and GNU89) _Pragma() operator. Replace the existing use of #pragma for this in gio, and suppress the warnings in gvaluearray.c as well. https://bugzilla.gnome.org/show_bug.cgi?id=669671 docs/reference/glib/glib-sections.txt | 2 ++ gio/gdesktopappinfo.c | 7 ++++--- gio/giomodule.c | 5 ++--- glib/docs.c | 33 +++++++++++++++++++++++++++++++++ glib/gmacros.h | 11 +++++++++++ gobject/gvaluearray.c | 4 ++++ 6 files changed, 56 insertions(+), 6 deletions(-) commit ab59739e1177d463fc7577def059deb0179662cc Author: Dan Winship Date: Fri Feb 10 08:24:28 2012 -0500 gobject: Use a destructor rather than g_atexit() for refcount debugging https://bugzilla.gnome.org/show_bug.cgi?id=669671 gobject/gobject.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d4992b3d10f64918017617cda0fdaba4d132bf99 Author: Murray Cumming Date: Wed Feb 15 11:53:03 2012 +0100 g_application_activate(): Fix typo in docs. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d240b883155183fcb9723766b4e4b4b5a0db57ff Author: Giovanni Campagna Date: Mon Feb 13 16:42:44 2012 +0100 GKeyFile: fix annotation of g_key_file_load_from_data (array) without (element-type) means "array of the same type as the C type", so gchar* with (array) is interpreted as an array of strings. Since GKeyFiles must be UTF-8 encoded anyway, just annotate it as a string. https://bugzilla.gnome.org/show_bug.cgi?id=658484 glib/gkeyfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5b8a6900d3c0e757044b7f5c6e9eb54f9cb18154 Author: Giovanni Campagna Date: Mon Feb 13 16:41:20 2012 +0100 GDataInputStream: don't segfault on async line reads If an async line read fails, it returns NULL. In that case, we must return NULL before validating the line, or we segfault. https://bugzilla.gnome.org/show_bug.cgi?id=658484 gio/gdatainputstream.c | 3 +++ 1 file changed, 3 insertions(+) commit 96671ce815e061a7ff472adbe89ac381443c619a Author: Kasia Bondarava Date: Tue Feb 14 18:28:32 2012 +0300 Updated Belarusian translation. po/be.po | 910 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 575 insertions(+), 335 deletions(-) commit f2eed2fd2521cd856b0fcc91187a1da09f386768 Author: Мирослав Николић Date: Tue Feb 14 11:01:33 2012 +0100 Updated Serbian translation po/sr.po | 229 +++++++++++++++++++++----------------------------------- po/sr@latin.po | 229 +++++++++++++++++++++----------------------------------- 2 files changed, 170 insertions(+), 288 deletions(-) commit dd553a2ba32cd8523e3097d34228c21b96a3f10c Author: Dan Winship Date: Wed Feb 8 08:26:36 2012 -0500 gasyncqueue: deprecate GTimeVal-based methods, add relative-delay ones https://bugzilla.gnome.org/show_bug.cgi?id=669670 docs/reference/glib/glib-sections.txt | 8 ++- glib/gasyncqueue.c | 105 +++++++++++++++++++++++++++++---- glib/gasyncqueue.h | 15 +++-- glib/glib.symbols | 2 + glib/gthreadpool.c | 16 ++--- 5 files changed, 117 insertions(+), 29 deletions(-) commit 99af65a079e4d7c0c20960a6e68f83b3c56f6f20 Author: Мирослав Николић Date: Sun Feb 12 20:12:30 2012 +0100 Updated Serbian translation po/sr.po | 6162 ++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 6160 +++++++++++++++++++++++++++++-------------------------- 2 files changed, 6541 insertions(+), 5781 deletions(-) commit 3d34b9bbc7322256d8fb6a6081c503e321d907db Author: Daniel Mustieles Date: Sun Feb 12 13:21:17 2012 +0100 Updated Spanish translation po/es.po | 279 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 151 insertions(+), 128 deletions(-) commit 967f3f83a7311c7ee9584b2f2bc80413142b096f Author: Matthias Clasen Date: Fri Feb 10 22:13:36 2012 -0500 Add a few more missing functions to the docs docs/reference/gio/gio-sections.txt | 1 + docs/reference/gobject/gobject-sections.txt | 3 +++ 2 files changed, 4 insertions(+) commit 5278d1f6af5e053ec1fe75bfde6c86ebcb06afba Author: Matthias Clasen Date: Fri Feb 10 22:08:47 2012 -0500 Add g_settings_new_full to the docs docs/reference/gio/gio-sections.txt | 1 + 1 file changed, 1 insertion(+) commit cd3aebc96e59ef558ce0a4d84629da0a97fe24eb Author: Matthias Clasen Date: Fri Feb 10 21:10:58 2012 -0500 Add g_test_undefined to the docs docs/reference/glib/glib-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 8cb48f644d66fef98429d2adbf298d3225a25fef Author: Matthias Clasen Date: Fri Feb 10 21:09:39 2012 -0500 Fix a parameter name mismatch gtk-doc gets unhappy if parameters aren't named the same in headers, sources and doc comments. glib/ghash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6293105593e68165590c66bdd40c0df7f822b1e1 Author: Matthias Clasen Date: Fri Feb 10 18:06:10 2012 -0500 Drop menu markup docs This does not exist anymore. docs/reference/gio/gio-docs.xml | 1 - 1 file changed, 1 deletion(-) commit 7e657d1e5c4ea733531da2da87f6435ffaa3deac Author: Javier Jardón Date: Fri Feb 10 20:09:20 2012 +0000 docs: Fix some typos in gwin32inputstream docs/reference/gio/gio-sections.txt | 2 +- gio/gwin32inputstream.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 704a2ca02de0430786114e7d9bf7aa772c40b934 Author: Marc-André Lureau Date: Fri Feb 10 02:02:29 2012 +0100 socket/win32: flush pending read before signaling HUP Unix and Windows gio GSocket behaves differently when the socket is closed by the peer. On Unix, the client receives pending data before receiving HUP. But on Windows, the HUP may come before, resulting in unreliable and racy code. We should have same behaviour on all platforms. According to MSDN documentation: "an application should check for remaining data upon receipt of FD_CLOSE to avoid any possibility of losing data." https://bugzilla.gnome.org/show_bug.cgi?id=669810 gio/gsocket.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit 6ca817c3f2c14b39792b381466067f71e601f895 Author: Marc-André Lureau Date: Fri Feb 10 14:52:33 2012 +0100 gio/tests: add /socket/close_graceful test Add a test to check that remaining data is read before the close event is received. https://bugzilla.gnome.org/show_bug.cgi?id=669810 gio/tests/socket.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) commit 6d3b31a533d74b727bca5ac720a81eacb8aee31e Author: Christophe Fergeau Date: Thu Feb 9 17:59:55 2012 +0100 Fix g_hash_table_foreach crash with NULL hash table When G_DISABLE_ASSERT is not defined, g_hash_table_foreach and g_hash_table_find dereferences the hash table argument before checking if it's NULL. This causes a crash when one of this function is mistakenly called with a NULL argument instead of returning with a warning through g_return_if_fail. glib/ghash.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit b17b135d9f4fa5652d64decf1d1cd0cad7de21f0 Author: Chun-wei Fan Date: Fri Feb 10 08:57:21 2012 +0800 Dist gio/gconstructor_as_data.h This will avoid a dependency on a PERL installation for Visual Studio builds. Checked with mclasen in https://bugzilla.gnome.org/show_bug.cgi?id=669538#c2 gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d4e3ae990c55c3673c4d18870173d78c38dd6494 Author: Chun-wei Fan Date: Tue Feb 7 14:41:24 2012 +0800 Bug 669538-glib-compile-resources.c: Include io.h on Windows This is needed for close() on Windows (Visual C++ specifically) so that no C4013 (aka Implicit declaration of ...) errors/warnings will be emitted. gio/glib-compile-resources.c | 3 +++ 1 file changed, 3 insertions(+) commit 52d046009607e35b4665fc94aa392874d9aaacb8 Author: Richard Hughes Date: Thu Feb 9 16:22:36 2012 +0000 Allow multiple --sourcedir options to glib-compile-resources gio/glib-compile-resources.c | 50 +++++++++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 8 deletions(-) commit 40e9192d7261ff9eec9e6ec4bd7029c08df80004 Author: Ryan Lortie Date: Thu Feb 9 12:15:49 2012 -0500 GApplication: put non-unique apps on D-Bus For a number of reasons it might be useful to register the object paths associated with a non-unique application so that the application can at least field requests to its unique D-Bus name. https://bugzilla.gnome.org/show_bug.cgi?id=647986 gio/gapplication.c | 21 +++++++++------------ gio/gapplicationimpl-dbus.c | 22 +++++++++++++++++++++- 2 files changed, 30 insertions(+), 13 deletions(-) commit db38923c94bb764f14ac4b7bff6e71cf6aba343f Author: David King Date: Tue Feb 7 09:02:51 2012 +0000 docs: Fix gdbus-codegen example XML Without the surrounding tags, gdbus-codegen does not generate any implementation for the interface described in the introspection XML. https://bugzilla.gnome.org/show_bug.cgi?id=669544 docs/reference/gio/gdbus-codegen.xml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit daf78764e5e142ea0c787e5f3f22e5bee4417883 Author: Dan Winship Date: Fri Feb 3 12:14:06 2012 -0500 gthread-win32: update for g_get_monotonic_time() changes g_cond_wait_until() was calling GetSystemTimeAsFileTime() to get the current time, which is no longer what g_get_monotonic_time() returns. https://bugzilla.gnome.org/show_bug.cgi?id=669329 glib/gthread-win32.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) commit ca5ed93fde448943d7ab62b057a9b16e6ed85621 Author: Dan Winship Date: Fri Feb 3 11:45:51 2012 -0500 glocalfile: fix error code when opening a directory on win32 g_file_read() was returning G_IO_ERROR_IS_DIRECTORY when you tried to open a directory on unix, but G_IO_ERROR_PERMISSION_DENIED on win32. Fix that, and add a test to tests/file.c Pointed out on IRC by Paweł Forysiuk. https://bugzilla.gnome.org/show_bug.cgi?id=669330 gio/glocalfile.c | 14 ++++++++++++++ gio/tests/file.c | 5 +++++ 2 files changed, 19 insertions(+) commit a067df5d720096a62736d26c9e971363c0843d91 Author: David Zeuthen Date: Wed Feb 8 12:46:04 2012 -0500 GDBusProxy: Add G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES flag This is useful when using certain D-Bus services where the PropertiesChanged signal does not include the property value such as e.g. various systemd mechanisms, see e.g. https://bugs.freedesktop.org/show_bug.cgi?id=37632 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 108 ++++++++++++++++++++++++++++++++++++++--- gio/gioenums.h | 4 +- gio/tests/gdbus-proxy.c | 47 +++++++++++++++++- gio/tests/gdbus-testserver.py | 6 +-- 4 files changed, 153 insertions(+), 12 deletions(-) commit 1370804f2b1cbb39875bb6a8a53f5bc5318092f4 Author: Jesse van den Kieboom Date: Wed Feb 8 17:13:34 2012 +0100 Retrieve cwd and environ in local GApplicationCommandLine https://bugzilla.gnome.org/show_bug.cgi?id=669689 gio/gapplicationcommandline.c | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) commit 90dbaca92477aeb6e1facac5dd8172e0d5319d4e Author: Ravi Sankar Guntur Date: Mon Feb 6 23:10:34 2012 +0530 glib/tests: mainloop - fix a mem leak. https://bugzilla.gnome.org/show_bug.cgi?id=669372 Signed-off-by: Ravi Sankar Guntur glib/tests/mainloop.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit bd79c00537756ca24423e51f11cae008111ab7d2 Author: Ravi Sankar Guntur Date: Sat Feb 4 23:42:41 2012 +0530 glib/tests: fix memory leak https://bugzilla.gnome.org/show_bug.cgi?id=669372 Signed-off-by: Ravi Sankar Guntur glib/tests/gdatetime.c | 1 + glib/tests/hash.c | 1 + 2 files changed, 2 insertions(+) commit 46affb0cd8befd5c6c13583570434648ee1e1f13 Author: Dan Winship Date: Wed Feb 8 08:39:42 2012 -0500 gio: update .gitignore gio/.gitignore | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit a8f516f61e42de970c78a2905a309a7c17eb02c2 Author: Dan Winship Date: Wed Feb 8 08:46:03 2012 -0500 glib/tests/option-context: remove unused tests These tests were written, but then never used since it was decided to add g_warnings() to goption.c in the cases they were supposed to be testing. So anyway, just remove them. glib/tests/option-context.c | 68 ------------------------------------------- 1 file changed, 68 deletions(-) commit 71c3ba28a8d9e117efb0446db37d69210820266f Author: Chun-wei Fan Date: Wed Feb 8 20:41:13 2012 +0800 config.h.win32.in: Add note on if_nametoindex This explains the current disabling of HAVE_IF_NAMETOINDEX as we are still supporting Windows XP. This is expected to change when the patch for XP support for if_nametoindex in accepted into master. config.h.win32.in | 4 ++++ 1 file changed, 4 insertions(+) commit 95a2c885d749b6a14aa3db04bf5ee46ca91fc915 Author: Chun-wei Fan Date: Wed Feb 8 19:52:55 2012 +0800 config.h.win32.in: Updates Make this more like the config.h.in template config.h.win32.in | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit af99ccc0d663b759b7edfaf744bcb657853280c2 Author: Chun-wei Fan Date: Wed Feb 8 15:09:13 2012 +0800 Update VS2010 property sheet Should be $(CopyDir) not $(OutDir) here for VS2010. Oops :| build/win32/vs10/glib.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bbda744c0e8d5aa3c1b5476c5083ccfd51b02a7b Author: Chun-wei Fan Date: Wed Feb 8 14:54:38 2012 +0800 Update VS property sheets ...To reflect the correct GIO headers to install build/win32/vs10/glib.props | 4 ++-- build/win32/vs9/glib.vsprops | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit f049262a6105ecad71e5515300cbb0239800b10d Author: Dan Winship Date: Tue Feb 7 10:54:22 2012 -0500 glib-mkenums: fix handling of forward enum declarations Given typedef enum MyFoo MyFoo; glib-mkenums would get confused, not notice the ";", and then keep skipping lines until it found one that started with a "{", possibly even going into the next file. Fix it to just ignore those lines instead (and also, to error out if it hits eof while parsing an enum). https://bugzilla.gnome.org/show_bug.cgi?id=669595 gobject/glib-mkenums.in | 6 ++++++ 1 file changed, 6 insertions(+) commit 808346c6abd1af04221308a1ef3abe98b7f062f4 Author: Javier Jardón Date: Tue Feb 7 15:37:26 2012 +0100 docs: Add win32 gio specific api to the docs Reported by Lethalman on IRC docs/reference/gio/gio-docs.xml | 2 ++ docs/reference/gio/gio-sections.txt | 42 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit 46e2df316dd4f23b20e2ed2b300cc294336c8dac Author: Chun-wei Fan Date: Tue Feb 7 17:05:22 2012 +0800 Add Visual C++ 2010 projects to compile GResource tools Added projects to compile the glib-compile-resources and gresource(-tool) utility programs during the Visual C++ 2010 build process, "install" the resulting binaries upon successful compilation, and dist the new .vcxproj and .vcxproj.filters files. Also updated the property sheet and "install" project to make sure the new .exe's are indeed "installed" and removed from the "install" project the dependency on the testglib project as testglib is not an exhausive test on GLib and people might want to make that project compile different test programs as they might need. Just wondering: I have updated the property sheet to create the gconstructor_as_data.h header for glib-compile-resources, but is it better to dist that generated header instead as the VS 2008/2010 projects will depend on a working installation of PERL on Windows? build/win32/vs10/Makefile.am | 4 + build/win32/vs10/glib-compile-resources.vcxproj | 177 ++++++++++++++++++++ .../vs10/glib-compile-resources.vcxproj.filters | 17 ++ build/win32/vs10/glib.props | 10 ++ build/win32/vs10/glib.sln | 38 ++++- build/win32/vs10/gresource.vcxproj | 176 +++++++++++++++++++ build/win32/vs10/gresource.vcxproj.filters | 14 ++ build/win32/vs10/install.vcxproj | 12 +- 8 files changed, 443 insertions(+), 5 deletions(-) commit 2b400d853e084dc7fe512ea6a56510e64cba7846 Author: Chun-wei Fan Date: Tue Feb 7 16:31:53 2012 +0800 Update Visual C++ 2008 projects Make the "install" project depend on the glib-compile-resources gresource projects so that these tools will be indeed installed. Missed that in my last commit-oops. Also make the "install" project not to depend on the testglib project as: -the test program in the project is not an exhausive test of the GLib libraries -One may want to use the project to compile different test program(s), so it might be better to keep the project but not "install" the resulting .exe build/win32/vs9/glib.sln | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d858cd30478c0d331e1dc4164e39237de6f52f7f Author: Chun-wei Fan Date: Tue Feb 7 14:37:57 2012 +0800 Add Visual C++ 2008 projects for GResource tools Add projects to build the glib-compile-resources and gresource(-tool) utilities, and "install" these tools upon successful compilation, and dist the new projects. One piece of note: will it be better to dist gconstructor_as_data.h instead of generating it in the VS build process (I generated it in the property sheet update in this commit)? Visual C++ 2010 projects will follow shortly. build/win32/vs9/Makefile.am | 2 + build/win32/vs9/glib-compile-resources.vcproj | 156 +++++++++++++++++++++++++ build/win32/vs9/glib.sln | 46 ++++++++ build/win32/vs9/glib.vsprops | 6 + build/win32/vs9/gresource.vcproj | 155 ++++++++++++++++++++++++ 5 files changed, 365 insertions(+) commit 867f554ea53bb4e7c975a919e245d4a02d6f42fe Author: Christian Persch Date: Mon Feb 6 22:33:19 2012 +0100 docs: Fix typo docs/reference/gio/glib-compile-resources.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1faed130dc227f983f42f23df2a242bd004c4ac8 Author: Giovanni Campagna Date: Thu Nov 17 00:52:59 2011 +0100 gtimezone: consider a leading : in TZ environment variable When set to represent a zoneinfo file, TZ may start with :, therefore glib needs to check it and ignore the first char when building the resulting filename, or it won't be found. Also, the path could be absolute, in which case it is wrong to append /usr/share/timezone https://bugzilla.gnome.org/show_bug.cgi?id=664237 glib/gtimezone.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit b98b63187a24451411c88962bd82553652b198e0 Author: Swecha Localization Team Date: Mon Feb 6 17:15:14 2012 +0530 Updated Telugu Translation po/te.po | 1774 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 918 insertions(+), 856 deletions(-) commit bd0897034970253cb3831bdd4d54bb620cdab075 Author: Fran Diéguez Date: Mon Feb 6 02:54:44 2012 +0100 Updated Galician translations po/gl.po | 418 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 224 insertions(+), 194 deletions(-) commit 7e9aed94deb6d6b9f25af539d84bb1e66c958cbc Author: Christian Persch Date: Sun Feb 5 20:00:16 2012 +0100 Revert "Plug a mem leak in g_environ_unsetenv" This reverts commit 2f4b46e3783b04cddcb2622a57b2a8e692cff68a, which was pushed accidentally. glib/genviron.c | 3 --- 1 file changed, 3 deletions(-) commit 30e0a1beacb8ffa2e58581e723023a3475d6ad62 Author: Christian Persch Date: Sun Feb 5 19:55:45 2012 +0100 resources: Consolidate creation of GResource into one place gio/gresource.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 04df4d45a47d653c24c75f321fe7b017b2d47a68 Author: Christian Persch Date: Sun Feb 5 16:44:10 2012 +0100 resources: tests: Plug a mem leak ==1265== 84 (8 direct, 76 indirect) bytes in 1 blocks are definitely lost in loss record 793 of 827 ==1265== at 0x4029467: calloc (vg_replace_malloc.c:467) ==1265== by 0x408479B: standard_calloc (gmem.c:104) ==1265== by 0x4084846: g_malloc0 (gmem.c:189) ==1265== by 0x4084B2D: g_malloc0_n (gmem.c:385) ==1265== by 0x4228A98: g_resource_load (gresource.c:253) ==1265== by 0x804A56D: test_resource_registred (resources.c:198) gio/tests/resources.c | 1 + 1 file changed, 1 insertion(+) commit 0ebb6339d15aa4ccc5a380dd35d116806c7005f3 Author: Christian Persch Date: Sun Feb 5 16:39:51 2012 +0100 resources: tests: Plug a mem leak ==509== 700 (20 direct, 680 indirect) bytes in 1 blocks are definitely lost in loss record 828 of 837 ==509== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==509== by 0x4084724: standard_malloc (gmem.c:85) ==509== by 0x40847C7: g_malloc (gmem.c:159) ==509== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==509== by 0x405396B: g_bytes_new_with_free_func (gbytes.c:173) ==509== by 0x405390D: g_bytes_new_take (gbytes.c:122) ==509== by 0x804A48C: test_resource_data (resources.c:174) gio/tests/resources.c | 1 + 1 file changed, 1 insertion(+) commit 6789ab2294409ce9388ada1110ea5bb8da71b95a Author: Christian Persch Date: Sun Feb 5 16:38:36 2012 +0100 resources: tests: Plug a mem leak ==29204== 11,456 (84 direct, 11,372 indirect) bytes in 1 blocks are definitely lost in loss record 859 of 861 ==29204== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==29204== by 0x4084724: standard_malloc (gmem.c:85) ==29204== by 0x40847C7: g_malloc (gmem.c:159) ==29204== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==29204== by 0x409B227: g_slice_alloc0 (gslice.c:1029) ==29204== by 0x41936CF: g_type_create_instance (gtype.c:1872) ==29204== by 0x417CCC9: g_object_constructor (gobject.c:1839) ==29204== by 0x417C6F4: g_object_newv (gobject.c:1703) ==29204== by 0x417CC5A: g_object_new_valist (gobject.c:1820) ==29204== by 0x417C1DB: g_object_new (gobject.c:1535) ==29204== by 0x41E5E29: g_converter_input_stream_new (gconverterinputstream.c:204) ==29204== by 0x4228D38: g_resource_open_stream (gresource.c:363) gio/tests/resources.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 877fe6fb524df8478c963342b7948aa3aa55f25e Author: Christian Persch Date: Sun Feb 5 16:37:36 2012 +0100 resources: Init refcount to 1 This bug was exposed by fixing the following leak in the resources test: ==29204== 11,456 (84 direct, 11,372 indirect) bytes in 1 blocks are definitely lost in loss record 859 of 861 ==29204== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==29204== by 0x4084724: standard_malloc (gmem.c:85) ==29204== by 0x40847C7: g_malloc (gmem.c:159) ==29204== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==29204== by 0x409B227: g_slice_alloc0 (gslice.c:1029) ==29204== by 0x41936CF: g_type_create_instance (gtype.c:1872) ==29204== by 0x417CCC9: g_object_constructor (gobject.c:1839) ==29204== by 0x417C6F4: g_object_newv (gobject.c:1703) ==29204== by 0x417CC5A: g_object_new_valist (gobject.c:1820) ==29204== by 0x417C1DB: g_object_new (gobject.c:1535) ==29204== by 0x41E5E29: g_converter_input_stream_new (gconverterinputstream.c:204) ==29204== by 0x4228D38: g_resource_open_stream (gresource.c:363) gio/gresource.c | 1 + 1 file changed, 1 insertion(+) commit 30e9cccb85bd6f398ce1f17d9a8eae98f4c2430a Author: Christian Persch Date: Sun Feb 5 16:18:34 2012 +0100 resources: Plug a mem leak ==29204== 7,192 (76 direct, 7,116 indirect) bytes in 1 blocks are definitely lost in loss record 855 of 861 ==29204== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==29204== by 0x4084724: standard_malloc (gmem.c:85) ==29204== by 0x40847C7: g_malloc (gmem.c:159) ==29204== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==29204== by 0x409B227: g_slice_alloc0 (gslice.c:1029) ==29204== by 0x41936CF: g_type_create_instance (gtype.c:1872) ==29204== by 0x417CCC9: g_object_constructor (gobject.c:1839) ==29204== by 0x417C6F4: g_object_newv (gobject.c:1703) ==29204== by 0x417CC5A: g_object_new_valist (gobject.c:1820) ==29204== by 0x417C1DB: g_object_new (gobject.c:1535) ==29204== by 0x424E815: g_zlib_decompressor_new (gzlibdecompressor.c:270) ==29204== by 0x4228DD8: g_resource_lookup_data (gresource.c:422) gio/gresource.c | 4 ++++ 1 file changed, 4 insertions(+) commit e194a9032f03a14b4a2be85c370a9cf52faeb3d2 Author: Christian Persch Date: Sun Feb 5 16:16:37 2012 +0100 resources: tests: Plug a mem leak ==28778== 700 (20 direct, 680 indirect) bytes in 1 blocks are definitely lost in loss record 842 of 863 ==28778== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==28778== by 0x4084724: standard_malloc (gmem.c:85) ==28778== by 0x40847C7: g_malloc (gmem.c:159) ==28778== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==28778== by 0x405396B: g_bytes_new_with_free_func (gbytes.c:173) ==28778== by 0x405390D: g_bytes_new_take (gbytes.c:122) ==28778== by 0x804C2B1: test_uri_query_info (resources.c:435) gio/tests/resources.c | 1 + 1 file changed, 1 insertion(+) commit 108e11875e74c9c9483cab1a8f72e432bdbb8004 Author: Christian Persch Date: Sun Feb 5 16:14:21 2012 +0100 resources: tests: Plug a mem leak ==28318== 38 (12 direct, 26 indirect) bytes in 1 blocks are definitely lost in loss record 613 of 865 ==28318== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==28318== by 0x4084724: standard_malloc (gmem.c:85) ==28318== by 0x40847C7: g_malloc (gmem.c:159) ==28318== by 0x4084AB4: g_malloc_n (gmem.c:361) ==28318== by 0x4229599: g_resources_enumerate_children (gresource.c:806) ==28318== by 0x804B39E: test_resource_registred (resources.c:283) gio/tests/resources.c | 1 + 1 file changed, 1 insertion(+) commit 74c262a8bd4a1fa6a0163ceb22667852c891c159 Author: Christian Persch Date: Sun Feb 5 16:12:23 2012 +0100 resources: tests: Plug a mem leak ==27820== 31 bytes in 1 blocks are definitely lost in loss record 587 of 866 ==27820== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==27820== by 0x4084724: standard_malloc (gmem.c:85) ==27820== by 0x40847C7: g_malloc (gmem.c:159) ==27820== by 0x4084AB4: g_malloc_n (gmem.c:361) ==27820== by 0x409D6A1: g_strdup (gstrfuncs.c:356) ==27820== by 0x4069FF7: g_get_current_dir (gfileutils.c:2544) ==27820== by 0x804BCA7: test_resource_module (resources.c:370) gio/tests/resources.c | 1 + 1 file changed, 1 insertion(+) commit ffe7a3293f7e69fab1211f014a54b78fb7611ee0 Author: Christian Persch Date: Sun Feb 5 16:10:48 2012 +0100 resources: Plug a mem leak ==27020== 44 (24 direct, 20 indirect) bytes in 1 blocks are definitely lost in loss record 684 of 936 ==27020== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==27020== by 0x4084724: standard_malloc (gmem.c:85) ==27020== by 0x40847C7: g_malloc (gmem.c:159) ==27020== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==27020== by 0x40BC038: g_variant_get_child_value (gvariant-core.c:969) ==27020== by 0x40B5277: g_variant_get_variant (gvariant.c:749) ==27020== by 0x4273182: gvdb_table_value_from_item (gvdb-reader.c:478) ==27020== by 0x42731E8: gvdb_table_get_value (gvdb-reader.c:509) ==27020== by 0x4228B36: do_lookup (gresource.c:280) ==27020== by 0x4228F56: g_resource_get_info (gresource.c:492) gio/gresource.c | 1 + 1 file changed, 1 insertion(+) commit fa370571690356bc1082b89ff5b8b8a74664d16f Author: Christian Persch Date: Sun Feb 5 16:08:10 2012 +0100 resources: Plug a mem leak ==26427== 24 bytes in 1 blocks are definitely lost in loss record 608 of 965 ==26427== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==26427== by 0x4084724: standard_malloc (gmem.c:85) ==26427== by 0x40847C7: g_malloc (gmem.c:159) ==26427== by 0x409B1E1: g_slice_alloc (gslice.c:1003) ==26427== by 0x40BC038: g_variant_get_child_value (gvariant-core.c:969) ==26427== by 0x40BA89F: g_variant_valist_get (gvariant.c:4482) ==26427== by 0x40BAC23: g_variant_get_va (gvariant.c:4681) ==26427== by 0x40BAB29: g_variant_get (gvariant.c:4633) ==26427== by 0x4228BA5: do_lookup (gresource.c:293) ==26427== by 0x4228F51: g_resource_get_info (gresource.c:493) gio/gresource.c | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) commit 2f4b46e3783b04cddcb2622a57b2a8e692cff68a Author: Christian Persch Date: Sun Feb 5 16:00:31 2012 +0100 Plug a mem leak in g_environ_unsetenv ==9458== 10 bytes in 1 blocks are definitely lost in loss record 16 of 39 ==9458== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==9458== by 0x4221A1F: vasprintf (vasprintf.c:78) ==9458== by 0x40C6065: g_vasprintf (gprintf.c:314) ==9458== by 0x409D894: g_strdup_vprintf (gstrfuncs.c:509) ==9458== by 0x409D8C9: g_strdup_printf (gstrfuncs.c:535) ==9458== by 0x40672E9: g_environ_setenv (genviron.c:156) ==9458== by 0x80490E7: test_environ_array (environment.c:78) ==9458== by 0x40A3DB5: test_case_run (gtestutils.c:1662) ==9458== by 0x40A40B2: g_test_run_suite_internal (gtestutils.c:1715) ==9458== by 0x40A417C: g_test_run_suite_internal (gtestutils.c:1726) ==9458== by 0x40A42F9: g_test_run_suite (gtestutils.c:1771) ==9458== by 0x40A3441: g_test_run (gtestutils.c:1319) ==9458== by 0x80493F1: main (environment.c:108) Bug #669412. glib/genviron.c | 3 +++ 1 file changed, 3 insertions(+) commit 26a5af83d428657dcae72af1c920b36055d92020 Author: Matthias Clasen Date: Sat Feb 4 22:54:58 2012 -0500 Back to odd configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6a4369089ad3dd4ab047989ba1ff31904b17eb6 Author: Matthias Clasen Date: Sat Feb 4 18:43:13 2012 -0500 2.31.16 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 439c8365da232ceb715f14f3f0a7a0751e35547c Author: Matthias Clasen Date: Sat Feb 4 11:51:45 2012 -0500 Updates NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 59a0134de8ba98d05d97d8fcded4e86bac7fe606 Author: Ravi Sankar Guntur Date: Sat Feb 4 00:14:56 2012 +0530 fix memory leak in g_bookmark_file_parse() https://bugzilla.gnome.org/show_bug.cgi?id=669334 Signed-off-by: Ravi Sankar Guntur glib/gbookmarkfile.c | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) commit 7e3eeb2ba12c056308020afa1b26891e5d514539 Author: Kjartan Maraas Date: Sat Feb 4 12:32:51 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 160 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 82 insertions(+), 78 deletions(-) commit f43565c822697504e32d2d329f4ea1c6c073d514 Author: Dan Winship Date: Fri Feb 3 11:29:46 2012 -0500 gio/tests/file: use g_file_new_tmp() Rather than misusing g_file_open_tmp(), misuse g_file_new_tmp() instead. Progress! (Also, gets rid of a compile warning about close() on win32.) gio/tests/file.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit cc4c1e89f439244fd0af0afd45ca40015cea4634 Author: Dan Winship Date: Fri Feb 3 12:08:40 2012 -0500 gio/tests/socket-common.c: add a missing #ifdef G_OS_UNIX gio/tests/socket-common.c | 2 ++ 1 file changed, 2 insertions(+) commit d22c36cf00878a949261603ebac9515245e829bd Author: Dan Winship Date: Fri Feb 3 11:39:27 2012 -0500 gioenums.h: clean up a few GIOErrorEnum descriptions gio/gioenums.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e9caa11aa5b12a424bc0602855b6960d29aa4a3c Author: Daniel Mustieles Date: Fri Feb 3 16:29:28 2012 +0100 Updated Spanish translation po/es.po | 265 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 132 insertions(+), 133 deletions(-) commit 3b8ba958f5a0d1e129219cab10ced9c0fa03c1cc Author: Alexander Larsson Date: Fri Feb 3 15:11:23 2012 +0100 Fix warning to refer to to-pixdata, not xmllint gio/glib-compile-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac800fa8febe2370cab2de2e0f4ed5abb431e963 Author: Alexander Larsson Date: Fri Feb 3 15:05:03 2012 +0100 Fix GResourceFile get_parent() This was erronously losing the last char. gio/gresourcefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 260a9cc290c42f06af89db33306df7a990448ed9 Author: Christian Persch Date: Wed Feb 1 14:59:22 2012 +0100 resource: tests: Use g_assert_cmp[u]int ... instead of just g_assert(), so when the test does fail, one immediately can see the actual value the variable had. gio/tests/resources.c | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) commit cb1dd2143dc6f5b5881b6d94abb7dd6f05137c76 Author: Christian Persch Date: Tue Jan 31 18:10:55 2012 +0100 resources: compiler: Fix entity processing of xml-stripblanks Preserve entities instead of replacing them! Bug #669173. gio/glib-compile-resources.c | 1 - 1 file changed, 1 deletion(-) commit 296a2a72c6837ddc90a372b5bc6aea95a9bf82be Author: Christian Persch Date: Tue Jan 31 18:01:25 2012 +0100 resources: compiler: Make to-pixbuf failure fatal Bug #669123. gio/glib-compile-resources.c | 12 +++++++++--- gio/gresource.c | 9 +++++---- 2 files changed, 14 insertions(+), 7 deletions(-) commit 387ed239e236cad1c3a54d08a34194c36bb59dba Author: Ryan Lortie Date: Thu Feb 2 10:48:11 2012 -0500 gsettings tool: fix a memory error 8852d4e9a08e7fbc9df7fb99a54b112f5049ee19 introduced a memory error by taking the type of a GVariant, freeing the GVariant and using the type after the free. This delays the free until after we've used the type. https://bugzilla.gnome.org/show_bug.cgi?id=669253 gio/gsettings-tool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 552b815365649521379c60b672f608a40a8a5f44 Author: Kalev Lember Date: Wed Feb 1 18:44:15 2012 +0200 gio: Convert data-to-c.c to perl Helper scripts in C can be problematic for cross compiling: the compiler produces executables for the target platform, which the host is usually unable to run. https://bugzilla.gnome.org/show_bug.cgi?id=669224 gio/Makefile.am | 10 +++------- gio/data-to-c.c | 51 --------------------------------------------------- gio/data-to-c.pl | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 58 deletions(-) commit 053b011cccdf8463a10ae09799dd43048bb6c9f0 Author: Benjamin Otte Date: Wed Feb 1 16:25:01 2012 +0100 docs: Clarify GSocketClient reuse policy gio/gsocketclient.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit a60f475b36a35081913c8fa51dc4de6381aaee56 Author: Kalev Lember Date: Wed Feb 1 15:48:28 2012 +0200 gio/tests: Fix out-of-source build The glib-compile-resources --generate-dependencies call was failing, although not stopping the build. Failed to open file 'test2.gresource.xml': No such file or directory Failed to open file 'test3.gresource.xml': No such file or directory Failed to open file 'test4.gresource.xml': No such file or directory Failed to open file 'test.gresource.xml': No such file or directory gio/tests/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 9cf678ed2233ecb603eda92cf727e8cf8ec27335 Author: Kalev Lember Date: Wed Feb 1 10:09:57 2012 +0200 gio.symbols: Add g_static_* symbols ... which were added in b79cfda49c. gio/gio.symbols | 3 +++ 1 file changed, 3 insertions(+) commit 0bb201348f7fad556197bec979fc488354ac8a9d Author: Kalev Lember Date: Wed Feb 1 09:10:29 2012 +0200 gresource-tool: include sys/mman.h conditionally It's only needed for code guarded by HAVE_LIBELF, so ifdef the include as well. gio/gresource-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3758b41e08147ca15d5f348afa8e84d9ea6a6a0b Author: Matthias Clasen Date: Tue Jan 31 22:00:45 2012 -0500 Add a test to show that GMarkup properly handles > in content glib/tests/markups/valid-15.expected | 3 +++ glib/tests/markups/valid-15.gmarkup | 1 + 2 files changed, 4 insertions(+) commit 47aa8c43e8d63af27ea60befbeb498d9c6be17b6 Author: Alexander Larsson Date: Tue Jan 31 16:07:09 2012 +0100 resources: Add to-pixdata preprocessing option docs/reference/gio/glib-compile-resources.xml | 9 ++++ gio/glib-compile-resources.c | 67 ++++++++++++++++++++++++- gio/gresource.c | 13 +++-- 3 files changed, 85 insertions(+), 4 deletions(-) commit b79cfda49c59b348c9c713f5f04fd9ec982b6c9d Author: Alexander Larsson Date: Tue Jan 31 10:51:44 2012 +0100 Make constructor-based resource registration malloc free We need to do this because constructors run before main() and thus before any call to g_mem_set_vtable, making it impossible to use that function if constructors call g_malloc. We do this by making the constructors just register the static data for lazy registration, doing the lazy registration when using the global resource set. gio/glib-compile-resources.c | 80 ++++++++---------- gio/gresource.c | 189 ++++++++++++++++++++++++++++++++++++++---- gio/gresource.h | 14 ++++ 3 files changed, 223 insertions(+), 60 deletions(-) commit 2496c8b53e0fde02328a43b16542353a8a1643d7 Author: Alexander Larsson Date: Tue Jan 31 10:51:23 2012 +0100 resources: Minor fixes to the docs gio/gresource.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8ab7ed8ffc2da341064d759776b1e985a2fd24a7 Author: Matthias Clasen Date: Mon Jan 30 18:47:31 2012 -0500 Bump version number configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d332bdcc583c67e17d2d508225200372f2981ad4 Author: Matthias Clasen Date: Mon Jan 30 18:46:18 2012 -0500 2.31.14 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6713ec8105b8197a0b56e9f15b48dfa9550ffe1 Author: Matthias Clasen Date: Mon Jan 30 18:45:45 2012 -0500 Fix distclean gio/Makefile.am | 4 ++-- gio/tests/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit a6bafde5f26b7773fc06e7c3b222b41dfe0d069c Author: Matthias Clasen Date: Mon Jan 30 17:54:33 2012 -0500 Dist gconstructor.h glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit de0d7a335c76cd158f69d83788985ed05db5756b Author: Matthias Clasen Date: Mon Jan 30 17:53:48 2012 -0500 Emit meaningful error messages That is useful, even if this is only an internal tool. I have been scratching my head why this tool would break distcheck... gio/data-to-c.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 77ebf9bfc50f86f6ecc4aa41c0b5f4cea75219ad Author: Matthias Clasen Date: Mon Jan 30 17:26:33 2012 -0500 Fix builddir != src builds gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 796389d6c8ce1fb4645db8c13f04aeb7f13d9225 Author: Matthias Clasen Date: Mon Jan 30 16:23:01 2012 -0500 Some more documentation fixes gio/gactiongroup.c | 2 +- gio/gsocket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 49eeaa9bbdec4b7f57d28697971a63be6854b63e Author: Matthias Clasen Date: Mon Jan 30 15:59:38 2012 -0500 Assorted documentation fixes docs/reference/gio/gio-sections.txt | 5 ----- gio/gapplication.c | 3 ++- gio/ginetsocketaddress.c | 2 +- gio/gnetworkmonitor.c | 34 ++++++++++++++++++++++++++++++++++ gio/gremoteactiongroup.c | 4 ++-- 5 files changed, 39 insertions(+), 9 deletions(-) commit 9902a5e064c24ed5793a1e4850026a06147fcd1b Author: Matthias Clasen Date: Mon Jan 30 15:37:43 2012 -0500 Drop menu markup functions from API docs docs/reference/gio/gio-sections.txt | 10 ---------- 1 file changed, 10 deletions(-) commit 9ffc3391ed7fd8f667c7919edf444e4761fa9e63 Author: Matthias Clasen Date: Mon Jan 30 15:37:28 2012 -0500 Fix doc syntax gobject/gvaluearray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9fe3d34ae354d00f590a268e032b39022d62d184 Author: Matthias Clasen Date: Mon Jan 30 15:26:15 2012 -0500 Move pragmas out of function body It seems that older gcc does not like pragmas inside functions. gio/gdesktopappinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 96f9997387e77cfa567e008f08c75007300e4590 Author: Matthias Clasen Date: Mon Jan 30 15:25:09 2012 -0500 Move pragmas out of function body It seems that older gcc does not like pragmas inside functions. gio/giomodule.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bdd0aada62806fb492ddf79179ee3d66836d5ba0 Author: Matthias Clasen Date: Mon Jan 30 14:21:03 2012 -0500 Silence another deprecation warning gio/gdesktopappinfo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5ae5fc85f40bd5dbc405c37b6dff6992e717e5f5 Author: Matthias Clasen Date: Mon Jan 30 14:18:07 2012 -0500 Silence a deprecation warning Advantage of the new deprecation handling: there's pragmas to shut them up locally. gio/giomodule.c | 3 +++ 1 file changed, 3 insertions(+) commit b01af10c86bece6271bdbda09c28d7a3b63d0709 Author: Matthias Clasen Date: Mon Jan 30 14:06:22 2012 -0500 Remove a check that triggers deprecation warnings gobject/tests/reference.c | 1 - 1 file changed, 1 deletion(-) commit ec49d55247ae4dc5f80d0a3e80229e3d4aa0dd86 Author: Matthias Clasen Date: Mon Jan 30 13:38:44 2012 -0500 Updates NEWS | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) commit 968f4e8d79b3191266bf327f18b167445db0076e Author: Alexander Larsson Date: Mon Jan 30 16:57:54 2012 +0100 Move constructor macros to an internal header and into generated code With this we're not longer exporting the constructor headers, which means we're not tying ourselves to a macro that might need special tweaking on a compiler-by-compiler basis. gio/Makefile.am | 10 +++++ gio/data-to-c.c | 44 ++++++++++++++++++++ gio/glib-compile-resources.c | 3 ++ gio/tests/resources.c | 1 + glib/gconstructor.h | 91 +++++++++++++++++++++++++++++++++++++++++ glib/gmacros.h | 93 ------------------------------------------ 6 files changed, 149 insertions(+), 93 deletions(-) commit e43a98c00091f5e293d2d9d72df2c04081802abe Author: Antoine Jacoutot Date: Mon Jan 30 16:17:06 2012 +0100 goption: implement platform_get_argv0() for OpenBSD https://bugzilla.gnome.org/show_bug.cgi?id=669024 glib/goption.c | 31 ++++++++++++++++++++++++++++++- glib/tests/option-argv0.c | 4 ++-- 2 files changed, 32 insertions(+), 3 deletions(-) commit 18cb864d12acdb0915ebf63b89b2385dc3fb7e6c Author: Dan Winship Date: Mon Jan 30 09:00:15 2012 -0500 gtlspassword.c: indentation fixes and doc clarifications gio/gtlspassword.c | 75 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 29 deletions(-) commit 46aaad1b2c7f75947833a3315d8c990ab15d49d7 Author: Chao-Hsiung Liao Date: Sun Jan 29 22:57:02 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 5844 ++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 5863 +++++++++++++++++++++++++++++++---------------------------- 2 files changed, 6138 insertions(+), 5569 deletions(-) commit e9b2e86f59fa5c68ad15c82b355838331d65767e Author: Kjartan Maraas Date: Sat Jan 28 15:42:38 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 286 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 155 insertions(+), 131 deletions(-) commit 7486cd946acc268290a7fa498416f44c95aba40b Author: Ravi Sankar Guntur Date: Sat Jan 28 12:02:36 2012 +0530 comments/docs: Fix couple of typos https://bugzilla.gnome.org/show_bug.cgi?id=668857 glib/gbase64.c | 2 +- glib/gbookmarkfile.c | 2 +- glib/gchecksum.c | 2 +- glib/gdataset.c | 4 ++-- glib/gdate.c | 2 +- glib/ggettext.c | 2 +- glib/grand.c | 2 +- glib/gsequence.c | 2 +- glib/gslice.c | 4 ++-- glib/gtester.c | 2 +- glib/gthread-posix.c | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) commit 9a7a98bf3b4853371e72c91d665e5ad375d68929 Author: Ryan Lortie Date: Sat Jan 28 01:09:08 2012 +0100 glib-compile-schemas: get strict about whitespace It's important to have strict rules for handling of whitespace in translated strings in GSettings schema files so that the tools extracting the messages will end up with the same messages as the runtime calling gettext(). The rules are designed to be simple and unambiguous yet cover most normal uses in a convenient way. Those rules are as follows (with rationale): - for tags, the text content has its leading and trailing whitespace stripped off, but internal whitespace is not modified in any way. This allows for slightly more flexible use of whitespace without causing that whitespace to appear in the strings for translation. - for and tags, the content is split into paragraphs. Paragraphs are separated by two or more sequential newline characters. Each paragraph has its leading and trailing whitespace removed and all other whitespace is normalised to a single ascii space character. Finally, the paragraphs are rejoined, inserting exactly two newlines between them. This allows for longer explanations (particularly in the description tag) using a natural format that, when normalised, will display nicely in toolkits. This patch implements the rules for tags. The schema compiler currently ignores and tags. gio/glib-compile-schemas.c | 76 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 63 insertions(+), 13 deletions(-) commit 37af8167b65ab95278262bd243292042d01a916b Author: Ryan Lortie Date: Fri Jan 27 21:49:46 2012 +0100 README: Fix potentially extremely annoying typo README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bfc973c279b9c3819cf83e903c8456f6bdadb5f Author: Daniel Mustieles Date: Fri Jan 27 13:39:52 2012 +0100 Updated Spanish translation po/es.po | 89 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 44 deletions(-) commit 83f530dfc6276be21d2750673d244dc21c11b179 Author: Daniel Mustieles Date: Fri Jan 27 11:17:23 2012 +0100 Updated Spanish translation po/es.po | 660 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 393 insertions(+), 267 deletions(-) commit da386705f9e03ebf2cb9abbc523d84146b075444 Author: Ryan Lortie Date: Fri Jan 27 03:00:23 2012 -0500 GSettings: two memory use fixes First, correct a rather dubious case of accessing a GSettingsSchemaKey after clearing it. This was technically okay because only the key name was accessed (and it is not owned by the struct) but it looks very wrong. Second, have g_settings_backend_write() sink the passed in GVariant*. Not all backends get this right, and I'm starting to like the pattern of virtual function wrappers being responsible for sinking the parameters that they are documented as consuming. gio/gsettings.c | 4 +++- gio/gsettingsbackend.c | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) commit 8e763aef43b951746662978c7c644365a92ecfa3 Author: David Zeuthen Date: Thu Jan 26 14:52:09 2012 -0500 gdbus-codegen: Use C array instead of GValueArray GValueArray was deprecated in bug 667228 and since we never change the size of the array, it was kinda dumb to just GValueArray in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=667228 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen.py | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 9bfde4a53fbc7c5596c65c790b76e61aae88860d Author: Ryan Lortie Date: Thu Jan 26 11:27:47 2012 -0500 GKeyFile: allow loading from empty strings GKeyFile supports empty files and also supports loading from the string "", but will fail with a critical if you try: - explicit length == 0 - data == NULL length == 0 should always be valid, and data == NULL should be valid in the case that length == 0, so add some testcases for those and fix the code up to allow them. https://bugzilla.gnome.org/show_bug.cgi?id=668756 glib/gkeyfile.c | 5 ++--- glib/tests/keyfile.c | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 4 deletions(-) commit bc40fe582d63e75c0e7f9dae44808ecc924e3f7e Author: David Zeuthen Date: Thu Jan 26 14:16:28 2012 -0500 GDBusInterface: add dup_object() method This is needed for thread-safety ... yes, it would have been better to make get_object() return a full reference and have something like a peek_object() method return a borrowed reference for C convenience (only a single vfunc would have been needed). But such an ABI break is too late now... Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusinterface.c | 40 ++++++++++++++++++++++++++++++++++- gio/gdbusinterface.h | 3 +++ gio/gdbusinterfaceskeleton.c | 14 ++++++++++++ gio/gdbusproxy.c | 17 +++++++++++++++ gio/gio.symbols | 1 + 6 files changed, 75 insertions(+), 1 deletion(-) commit eb6c35f7c391acdc62d295589d829b99088e224c Author: David Zeuthen Date: Thu Jan 26 14:06:59 2012 -0500 gio.symbols: Remove removed g_menu_markup_* symbols Signed-off-by: David Zeuthen gio/gio.symbols | 6 ------ 1 file changed, 6 deletions(-) commit 1542e898f97a152563e53ff871f2e7d26a359a85 Author: Dan Winship Date: Thu Jan 26 09:53:56 2012 -0500 gmain: fix a bunch of comment typos in g_get_monotonic_time() And remove a comment about Windows in the fallback implementation that no longer applies, since there's now a separate Windows-specific implementation. glib/gmain.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) commit 8998e77b8f348179d0d2fe4d9aea312caef05d71 Author: Christian Persch Date: Thu Jan 26 15:22:10 2012 +0100 docs: Fix formatting in glib-compile-resource man page Fixup the formatting in the example rule for --generate-dependencies. docs/reference/gio/glib-compile-resources.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit fbfad9cf859072d0a3b0182f636d2496493130e9 Author: Rico Tzschichholz Date: Thu Jan 26 14:52:31 2012 +0100 Updated POTFILES.in po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) commit 59881a65b2c92edfcc1ad26ec04ff99f401a962b Author: Andoni Morales Alastruey Date: Thu Jan 26 14:38:14 2012 +0100 keyfile tests: Fix windows build using portable g_setenv glib/tests/keyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f870fc056c2ce01c54a25456ca71e95de170a85 Author: Christian Persch Date: Thu Jan 26 14:35:30 2012 +0100 docs: Fix the glib-compile-resources docs Add a tag missing from commit 45783c5927f32cae965c67db14adb8422373d345. docs/reference/gio/glib-compile-resources.xml | 2 ++ 1 file changed, 2 insertions(+) commit 2a90aba068439ef528cd31f36971ca92b5a70f94 Author: Ryan Lortie Date: Wed Jan 25 19:55:33 2012 -0500 Drop the GMenu markup functions The parser has been moved into Gtk in a modified form and the printer was never really useful anyway (except for debugging/testing). gio/Makefile.am | 5 - gio/gio.h | 1 - gio/gmenumarkup.c | 741 ------------------------------------------------ gio/gmenumarkup.h | 47 --- gio/menumarkup.dtd | 29 -- gio/menumarkup.xml | 26 -- gio/menumarkup2.xml | 75 ----- gio/tests/gmenumodel.c | 375 ++++++++---------------- 8 files changed, 121 insertions(+), 1178 deletions(-) commit 4e9f59bff8adc59fd8fde5bdee9879b8c3e4e55b Author: Matthias Clasen Date: Wed Jan 25 14:18:34 2012 -0500 e G_SOURCE_CONTINUE/REMOVE internally Now that we have these macros, we should use them. This commit covers everything in gio/. gio/gapplication.c | 2 +- gio/gmountoperation.c | 2 +- gio/gpollfilemonitor.c | 2 +- gio/gregistrysettingsbackend.c | 2 +- gio/gunixmount.c | 2 +- gio/tests/contexts.c | 2 +- gio/tests/gapplication-example-cmdline3.c | 2 +- gio/tests/gapplication.c | 2 +- gio/tests/pollable.c | 8 ++++---- gio/tests/simple-async-result.c | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) commit ef159af00f723f46658f46af03ea67185dae9988 Author: Matthias Clasen Date: Wed Jan 25 08:53:05 2012 -0500 Use G_SOURCE_CONTINUE/REMOVE internally Now that we have these macros, we should use them. This commit covers everything in glib/. glib/gmain.c | 2 +- glib/tests/mainloop.c | 2 +- glib/tests/spawn-multithreaded.c | 2 +- glib/tests/spawn-singlethread.c | 2 +- glib/tests/timeout.c | 4 +++- glib/tests/unix.c | 6 +++--- 6 files changed, 10 insertions(+), 8 deletions(-) commit 12060df9f17a48cd4c7fda27a0af70c17c308ad9 Author: Ryan Lortie Date: Wed Jan 25 10:09:09 2012 -0500 GHash: add note about randomness in hashing To clarify our statements about being robust against outside attackers degrading the performance of your hashtable. glib/ghash.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5286dbb7e14d53256ebe45b4482c3a5317eb4e5c Author: Christian Persch Date: Tue Jan 24 14:18:12 2012 +0100 resources: tool: Fix a compiler warning Use G_GSIZE_FORMAT. gio/gresource-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f42a5fb53b80540b3af457af32ca1de072f4fdd7 Author: Christian Persch Date: Mon Jan 23 22:51:44 2012 +0100 resources: compiler: Add autoselected output format This allows simplifying the make rules. Bug #668539. docs/reference/gio/glib-compile-resources.xml | 21 +++++++++++++++++++++ gio/glib-compile-resources.c | 11 +++++++++++ gio/tests/Makefile.am | 13 +++++-------- 3 files changed, 37 insertions(+), 8 deletions(-) commit 55d10d6bfdfa054d59fa5a01a8289fdc507e0aa9 Author: Christian Persch Date: Mon Jan 23 20:42:20 2012 +0100 resources: compiler: Add dependency generator Bug #668532. docs/reference/gio/glib-compile-resources.xml | 17 +++++++++ gio/glib-compile-resources.c | 48 +++++++++++++++++++------ gio/tests/Makefile.am | 11 +++--- 3 files changed, 61 insertions(+), 15 deletions(-) commit 45783c5927f32cae965c67db14adb8422373d345 Author: Christian Persch Date: Sat Jan 14 22:34:15 2012 +0100 resources: compiler: Allow stripping blanks from xml data It's hardly useful to bloat the resource data with blanks intended only for human readability, so add a preprocessing option that uses xmllint --noblanks to strip these. Bug #667929. docs/reference/gio/glib-compile-resources.xml | 14 ++++ gio/glib-compile-resources.c | 111 +++++++++++++++++++++++-- gio/gresource.c | 10 ++- gio/tests/test.gresource.xml | 1 + 4 files changed, 129 insertions(+), 7 deletions(-) commit e94a5f4f8394fe6a7160850c12ea8079215e4323 Author: Matthias Clasen Date: Wed Jan 25 07:32:39 2012 -0500 GKeyFile: make list separators effective again We must preserve the list_separator across clear;init sequences. glib/gkeyfile.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit aea9951ef0714418ac139a6c3678eb64d82c692f Author: Matthias Clasen Date: Wed Jan 25 07:32:20 2012 -0500 Fix the new test glib/tests/keyfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e50d7e065c72278f7811f7008dac80d5ce53f401 Author: Matthias Clasen Date: Wed Jan 25 07:26:58 2012 -0500 Add a test for g_key_file_set_list_separator A recent 'harmless' fix broke it... glib/tests/keyfile.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) commit ca949756de4ac87815144295abeb8d37535ea314 Author: Guillaume Desmottes Date: Wed Jan 25 12:03:14 2012 +0100 GArray: initialize the clear_func pointer https://bugzilla.gnome.org/show_bug.cgi?id=668650 glib/garray.c | 1 + 1 file changed, 1 insertion(+) commit 73f5764fcde237737a844fb3b164bcddf6c335d1 Author: Xan Lopez Date: Wed Jan 25 10:28:27 2012 +0100 gresource-tool: fix the build gio/gresource-tool.c | 1 + 1 file changed, 1 insertion(+) commit e9725d165621c34f076ce3ae3bb1b2513aa7cf0d Author: Ravi Sankar Guntur Date: Sat Jan 21 22:17:18 2012 +0530 Macro to insert a new GNode "after" the given sibling. https://bugzilla.gnome.org/show_bug.cgi?id=626258 Signed-off-by: Ravi Sankar Guntur docs/reference/glib/glib-sections.txt | 1 + glib/gnode.c | 5 +++-- glib/gnode.h | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) commit aa95853f9cd509b09a9c94a58df778ededad562f Author: Enrique Ocaña González Date: Tue Jan 24 13:24:51 2012 +0100 Honor the glib_cv_g_atomic_lock_free env var in configure This fixes bug: https://bugzilla.gnome.org/show_bug.cgi?id=668572 configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0ac9ab4e271c8dbaaddd3e748aa687faa4a75523 Author: Emmanuele Bassi Date: Wed Jan 4 09:31:12 2012 +0000 Deprecate GValueArray The GValueArray type was added in a time, during the Jurassic era or so, when GArray did not have a representable GType. The GValueArray API has various issues as well: - it doesn't match the other GLib array types; - it is not reference counted; - the structure is fully exposed on the stack, so it cannot be extended to add reference counting; - it cannot be forcibly resized. The nice thing is that now we have a GArray type that can replace in full GValueArray, so we can deprecate the latter, and reduce the complexity in GLib, application code, and bindings. https://bugzilla.gnome.org/show_bug.cgi?id=667228 gobject/gboxed.c | 5 ++++- gobject/gboxed.h | 4 ++++ gobject/gparamspecs.c | 3 +++ gobject/gparamspecs.h | 6 ++++++ gobject/gvaluearray.c | 37 +++++++++++++++++++++++++++++++++++++ gobject/gvaluearray.h | 20 +++++++++++++++++++- gobject/tests/valuearray.c | 1 + 7 files changed, 74 insertions(+), 2 deletions(-) commit c602a5f887233bdd75544a290023d10029ca4fda Author: Emmanuele Bassi Date: Wed Jan 4 07:41:47 2012 +0000 array: Add a clear function Like GPtrArray has a "free function" that can be used to free memory associated to each pointer in the array, GArray would benefit from having a "clear function" that can be used to clear the content of each element of the array when it's removed, or when the entire array is freed. https://bugzilla.gnome.org/show_bug.cgi?id=667243 docs/reference/glib/glib-sections.txt | 1 + glib/garray.c | 71 ++++++++++++++++++++++++++++----- glib/garray.h | 2 + glib/glib.symbols | 1 + glib/tests/array-test.c | 38 ++++++++++++++++++ 5 files changed, 103 insertions(+), 10 deletions(-) commit 030b3f25e3e5c018247e18bf309e0454ba138898 Author: Matthias Clasen Date: Tue Jan 24 21:11:13 2012 -0500 GHashTable: Add a note about hash collisions glib/ghash.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit a3b91b36919af79abbb4737253c40afe18008ee0 Author: Matthias Clasen Date: Tue Jan 24 17:37:09 2012 -0500 gresource: Initialize i18n ...otherwise translations don't work. Pointed out by Kjartan Maraas. https://bugzilla.gnome.org/show_bug.cgi?id=668561 gio/gresource-tool.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 26d4feae0cc900bdb56af490176d30025cd0bba6 Author: Ryan Lortie Date: Tue Jan 24 16:59:59 2012 -0500 keyfile tests: Add testcase for bug #634232 Add a testcase based on one by Alfredo Dal'Ava Júnior (the original reporter of the bug). https://bugzilla.gnome.org/show_bug.cgi?id=634232 glib/tests/keyfile.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit fe10b2c966289d87ea6ea6e76e1ae87ba16f101b Author: Ryan Lortie Date: Tue Jan 24 16:45:49 2012 -0500 GKeyFile: remove approximate_size optimisation This is micro-optimisation of the worst kind and it's causing obscure bugs in edge cases. Better just remove this entirely. https://bugzilla.gnome.org/show_bug.cgi?id=634232 glib/gkeyfile.c | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) commit 570514a95c0e2602eb187bd49c6c50e02d09486f Author: Dan Winship Date: Tue Jan 24 08:28:33 2012 -0500 GSocket: fix complile on platforms without source-specific multicast Some platforms don't have the source-specific multicast sockopts, and so would fail to compile. Fix that (and return an error if the caller tries to use source-specific). Also clarify the docs a bit. https://bugzilla.gnome.org/show_bug.cgi?id=668468 gio/gsocket.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) commit 3f691c6f511a49d0b391ca2d488b9fd617b4ca3d Author: Christian Persch Date: Sun Jan 30 20:45:52 2011 +0100 Write list-of value correctly Fixes a c&p typo. Bug #639099. gio/glib-compile-schemas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a689e1077affb7dcf05898693dd7a616cb4484b Author: Kjartan Maraas Date: Tue Jan 24 10:53:35 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 390 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 246 insertions(+), 144 deletions(-) commit 99c379f5148b15326a9e2b5d23db9d941c97d2c1 Author: Matthias Clasen Date: Mon Jan 23 19:21:22 2012 -0500 GMenuMarkup: call g_variant_ref_sink() Watch out for them floating variants ! They are easily consumed... gio/gmenumarkup.c | 1 + 1 file changed, 1 insertion(+) commit ae3b9b16ceab5518280a18e79b78a0c94c4d1ed3 Author: Fran Diéguez Date: Tue Jan 24 00:50:50 2012 +0100 Updated Galician translations po/gl.po | 447 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 280 insertions(+), 167 deletions(-) commit 051d4d846eead9d6baccc939c46a56653f9827c3 Author: Piotr Drąg Date: Mon Jan 23 20:15:30 2012 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit d994c38aba1f564e63058ce615dbb8bb4ae34e36 Author: Matthias Clasen Date: Mon Jan 23 00:23:18 2012 -0500 Add docs for gresource docs/reference/gio/Makefile.am | 2 + docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gresource.xml | 116 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) commit 716cf3558510be0a7ba7075a431ac2a5ad13b2bf Author: Matthias Clasen Date: Sun Jan 22 02:39:11 2012 -0500 Add a resource tool This lets you poke at resources in elf files and standalone resource bundles. So far, only listing and extracting resources is supported. The support for elf files requires libelf. configure.ac | 11 + gio/Makefile.am | 13 +- gio/gresource-bash-completion.sh | 58 ++++ gio/gresource-tool.c | 622 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 703 insertions(+), 1 deletion(-) commit b6a8dec558c259d3320a5d0d4bc5f8c0d6c62a41 Author: Dan Winship Date: Thu Jan 19 10:39:57 2012 -0500 g_date_time_format: fix output in non-UTF-8 locales In non-UTF-8 locales, the translations and nl_langinfo() return values must be converted to UTF-8 before being returned to the caller. Likewise, when making a recursive call to expand a format like '%x', the format string must first be converted to UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=668250 configure.ac | 26 +-- glib/gdatetime.c | 574 ++++++++++++++++++++++++++++-------------------- glib/tests/gdatetime.c | 63 ++++++ 3 files changed, 413 insertions(+), 250 deletions(-) commit 9fa374ccf7f360c54c29a0cee746b20820ae4afa Author: Matthias Clasen Date: Fri Jan 20 15:42:44 2012 -0500 bump rev configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4642d58adf802772f3f2e39566aee300d395742 Author: Matthias Clasen Date: Fri Jan 20 15:10:29 2012 -0500 2.31.12 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f2b760ea188bc3f0d373d0ab6e0ebfbeea62a707 Author: Matthias Clasen Date: Fri Jan 20 15:10:00 2012 -0500 Updates NEWS | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit a461f70080f4fb7127ee59619abed803dbdc2353 Author: Matthias Clasen Date: Fri Jan 20 08:08:06 2012 -0500 Silence some compiler warnings gio/gmenumarkup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c864a1bb2fa25b82dd439c705c2e9ae23f29c5d Author: Matthias Clasen Date: Fri Jan 20 08:07:52 2012 -0500 Silence a compiler warning gio/gmemoryinputstream.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8852d4e9a08e7fbc9df7fb99a54b112f5049ee19 Author: Matthias Clasen Date: Fri Jan 20 08:02:26 2012 -0500 Fix a refcounting error 'new' is created floating, therefore it is consumed by g_settings_set, and unreffing it after that call is not right. gio/gsettings-tool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6784468625a77b3daa1247f2199bc11714cb4eca Author: Ryan Lortie Date: Thu Jan 19 22:13:51 2012 -0500 Note G_MESSAGES_DEBUG in README README.in | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d683c201f93cdb3c98c4ee16b085f748d63df789 Author: Ryan Lortie Date: Thu Jan 19 10:49:06 2012 -0500 tests for GSettings action binding https://bugzilla.gnome.org/show_bug.cgi?id=668279 gio/tests/gsettings.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 1d98d18f64edddddea314630e9830a56082c2639 Author: Ryan Lortie Date: Thu Jan 19 09:40:24 2012 -0500 add a way to create a GAction from GSettings g_settings_create_action() will create a GAction for the named key, allowing it to be added to the action group of the application (so that the setting can be directly manipulated from menus, for example). https://bugzilla.gnome.org/show_bug.cgi?id=668279 docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 1 + gio/gsettings.c | 262 +++++++++++++++++++++++++++++++++++ gio/gsettings.h | 3 + 4 files changed, 269 insertions(+) commit cf48434867bf6fa074f9a0a67cf03b5c2157170a Author: Ryan Lortie Date: Thu Jan 19 09:01:08 2012 -0500 gsignal: add g_signal_handlers_disconnect_by_data Similar to g_signal_handlers_disconnect_by_func() but disconnects all functions that use the given user_data. https://bugzilla.gnome.org/show_bug.cgi?id=668269 gobject/gsignal.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 41fbf42c3cbebcf061d023d35e2a4dff5ba7e7de Author: Murray Cumming Date: Thu Jan 19 16:18:05 2012 +0100 gioenums.h: Remove a trailing comma. gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c95e9085296a1c76124896bf6bedd772cdef4c5e Author: Ryan Lortie Date: Wed Jan 18 22:15:30 2012 -0500 GSettingsSchema: ignore empty schema caches glib-compile-schemas used to generate these. They're harmless and they mean that no schemas are installed in a particular directory, so just ignore them. https://bugzilla.gnome.org/show_bug.cgi?id=656301 gio/gsettingsschema.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d8b295abb3e34ce8fe5e7c16bf3ae208d70a3205 Author: Christian Persch Date: Sat Jan 14 21:28:29 2012 +0100 resources: Plug mem leaks in resource compiler ==13007== 173 bytes in 1 blocks are definitely lost in loss record 90 of 106 ==13007== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==13007== by 0x407DDBA: standard_malloc (gmem.c:85) ==13007== by 0x407E318: g_try_malloc (gmem.c:271) ==13007== by 0x40654DE: g_file_get_contents (gfileutils.c:756) ==13007== by 0x804A531: main (glib-compile-resources.c:580) ==13007== 521 (56 direct, 465 indirect) bytes in 1 blocks are definitely lost in loss record 100 of 106 ==13007== at 0x402AD89: malloc (vg_replace_malloc.c:236) ==13007== by 0x407DDBA: standard_malloc (gmem.c:85) ==13007== by 0x407E160: g_malloc (gmem.c:159) ==13007== by 0x4091D8D: g_slice_alloc (gslice.c:1003) ==13007== by 0x40674A1: g_hash_table_new_full (ghash.c:676) ==13007== by 0x804B252: gvdb_hash_table_new (gvdb-builder.c:76) ==13007== by 0x43C66B2: (below main) (libc-start.c:226) gio/glib-compile-resources.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 54b986d9187f3935f09b7ba04a9644f8f7c8556e Author: Ryan Lortie Date: Mon Jan 16 14:47:08 2012 -0500 GApplication: drop support for appmenu/menubars This has been moved over to GtkApplication now. https://bugzilla.gnome.org/show_bug.cgi?id=668118 gio/gapplication.c | 105 +---------------------------- gio/gapplicationimpl-dbus.c | 154 ------------------------------------------- 2 files changed, 1 insertion(+), 258 deletions(-) commit 7a2e6ab79132db79987e67c08ff12be7b46eed62 Author: Dan Winship Date: Wed Jan 18 13:28:00 2012 -0500 update .gitignores .gitignore | 1 - gio/.gitignore | 1 + gio/tests/.gitignore | 8 ++++++++ 3 files changed, 9 insertions(+), 1 deletion(-) commit da9d98728dd6b43be2d9e51707e41e8ae1299676 Author: Dan Winship Date: Wed Jan 18 12:05:07 2012 -0500 Fix glib-compile-resources usage when cross-compiling Copy the behavior of glib-genmarshal: require an installed copy of it, and use that rather than the built copy. configure.ac | 5 +++++ gio/tests/Makefile.am | 16 +++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit 7a0bddd768b8f88c94ecf15ac026cad16af4e7f4 Author: Will Thompson Date: Wed Jan 18 10:14:37 2012 +0000 GDBusConnection: note that exit-on-close is sometimes TRUE g_bus_get_finish() and g_bus_get_sync() both document that the returned object will usually have exit-on-close set to TRUE, but the property's documentation specified that its default is FALSE. While that's technically true from a GObject perspective, it's not accurate from the API user's perspective. https://bugzilla.gnome.org/show_bug.cgi?id=668163 Reviewed-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 3 +++ 1 file changed, 3 insertions(+) commit d077b66ee9b480569095e605ce98edab61afbb1c Author: Xavier Claessens Date: Mon Jan 16 14:51:19 2012 +0100 GUnixConnection: add async variant for send/receive_credentials() https://bugzilla.gnome.org/show_bug.cgi?id=629503 docs/reference/gio/gio-sections.txt | 4 + gio/gio.symbols | 4 + gio/gunixconnection.c | 195 ++++++++++++++++++++++++++++++----- gio/gunixconnection.h | 15 ++- 4 files changed, 193 insertions(+), 25 deletions(-) commit 3691194b357aa5a045f8f87658150670834f45c2 Author: Dan Winship Date: Wed Jan 18 09:02:21 2012 -0500 g_base64_encode_step: clarify break_lines behavior a bit break_lines uses LFs, not CRLFs like you might expect (since it's designed for email-related use), but we can't change that now since the caller has to allocate the output buffer and so the number-of-bytes-output is part of the ABI. So, just document that. https://bugzilla.gnome.org/show_bug.cgi?id=668158 glib/gbase64.c | 3 +++ 1 file changed, 3 insertions(+) commit 08036ce30318a666a4f9df22512d74805be0d498 Author: Dan Winship Date: Tue Jan 17 19:46:34 2012 -0500 gsocket: make this compile on Windows again https://bugzilla.gnome.org/show_bug.cgi?id=668071 configure.ac | 2 +- gio/gsocket.c | 24 +++++++++++++----------- gio/gsocket.h | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) commit 28f3d4dbffa108c2026efce714e09767c4794237 Author: Kjartan Maraas Date: Tue Jan 17 17:11:43 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 92 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 41 deletions(-) commit 3fe710c0b59b881c7b4090601f8c1a33876af78d Author: Kjartan Maraas Date: Tue Jan 17 17:10:19 2012 +0100 Fix broken build with -Wundefined glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d825828b7b00f67a06ef1b6ba7ddb9c5dd6b0d87 Author: Alexander Larsson Date: Tue Jan 17 12:32:37 2012 +0100 resources: Skip initial underscores in resource section names Initial underscores are used in c identifier to make them private, for instance in Gtk+. However, we don't want to have this in the resource section name, that just looks ugly. gio/glib-compile-resources.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7dfbe5aa3040d042131b9ff8ac1be0568d56303a Author: Dan Winship Date: Mon Jan 16 17:15:06 2012 -0500 gsocket: Use alternate IPv6 multicast group sockopt names Apparently IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP are more portable than IPV6_ADD_MEMBERSHIP and IPV6_DROP_MEMBERSHIP. (Windows and Linux have both, but OS X only has the latter.) gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8390f3bf7e49bbacd96b356c06fa2ebe3edeaf4c Author: Matthias Clasen Date: Mon Jan 16 14:46:26 2012 -0500 Back to the odd configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 639c5867c7d86cb50d5dde54acaa9ec0fcdd7648 Author: Matthias Clasen Date: Mon Jan 16 14:00:18 2012 -0500 2.31.10 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1945ed407b4ee6e951cc1644274f9cac49e3f045 Author: Matthias Clasen Date: Mon Jan 16 11:50:07 2012 -0500 Updates NEWS | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit bf7408c30bac5b0a20202be5aaa850dd0ca1e671 Author: Dan Winship Date: Thu Dec 29 09:42:25 2011 -0500 GInetSocketAddress: add IPv6 flowinfo and scope_id fields struct sin6_addr has two additional fields that struct sin_addr doesn't. Add support for those to GInetSocketAddress, and make sure they don't get lost when converting between glib and native types. https://bugzilla.gnome.org/show_bug.cgi?id=635554 docs/reference/gio/gio-sections.txt | 2 + gio/ginetsocketaddress.c | 109 +++++++++++++++++++++++++++++++++-- gio/ginetsocketaddress.h | 12 ++-- gio/gio.symbols | 2 + gio/gsocketaddress.c | 7 ++- gio/tests/socket.c | 40 +++++++++++++ 6 files changed, 162 insertions(+), 10 deletions(-) commit c71fc7477ed3ebe513432cba21d69ca99d7eb81c Author: Dan Winship Date: Thu Dec 29 09:18:53 2011 -0500 ginetaddress.c: fix an incorrect enum name in the docs gio/ginetaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76f46b4f33c178fe9a2c0113b38dca1dc9e87c97 Author: Sebastian Dröge Date: Mon Jan 16 19:22:28 2012 +0100 GSocket: Use correct type for SO_BROADCAST parameter gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d44bb6ef64bf309efa393d8c89138ba23ad6c004 Author: Sebastian Dröge Date: Mon Jan 16 15:49:50 2012 +0100 GSocket: Reset the timeout in the GSocket GSource after it was triggered https://bugzilla.gnome.org/show_bug.cgi?id=667989 gio/gsocket.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit fbdb8128dce3ef013640c7142888a76f56a7f0f8 Author: Ole André Vadla Ravnås Date: Mon Jan 16 14:00:49 2012 +0100 GSocket: Add function to get the currently available bytes for reading https://bugzilla.gnome.org/show_bug.cgi?id=668009 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocket.c | 34 ++++++++++++++++++++++++++++++++++ gio/gsocket.h | 2 ++ 4 files changed, 38 insertions(+) commit ffb5f8b10191ddf51ccd021c1e4dbba4eafbc370 Author: Sebastian Dröge Date: Fri Jan 13 13:01:35 2012 +0100 GSocket: Add function to set/get the broadcast setting on a socket https://bugzilla.gnome.org/show_bug.cgi?id=623187 docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 94 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 4 ++ 4 files changed, 102 insertions(+) commit 5560d9b8800de1144d77ed924286759286b7d27e Author: Sebastian Dröge Date: Fri Jan 13 12:48:02 2012 +0100 GSocket: Add function for setting unicast TTL docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 114 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 5 ++ 4 files changed, 123 insertions(+) commit 03b40522df4fb247f76e5948eddd2d7a02c097a5 Author: Sebastian Dröge Date: Fri Jan 13 12:53:50 2012 +0100 GSocket: Add support for source-specific multicast (RFC 4604) gio/gsocket.c | 22 +++++++++++++++++----- gio/gsocket.h | 2 ++ 2 files changed, 19 insertions(+), 5 deletions(-) commit 97f25892ea38e227fe802d0cc50fd88be12cdb17 Author: Sebastian Dröge Date: Fri Jan 13 12:37:31 2012 +0100 GSocket: Add possibility to join a multicast group only on a specific interface configure.ac | 4 ++++ gio/gnetworkingprivate.h | 1 + gio/gsocket.c | 28 +++++++++++++++++++++++++--- gio/gsocket.h | 2 ++ 4 files changed, 32 insertions(+), 3 deletions(-) commit a62d1bb74728aa80af2410cee57950a545f6fa04 Author: Dan Winship Date: Thu Dec 29 11:01:23 2011 -0500 GSocket: Add multicast-related functions Add APIs for sending and receiving multicast datagrams with GSocket. Based on an earlier patch from Olivier Chalouhi. https://bugzilla.gnome.org/show_bug.cgi?id=626589 docs/reference/gio/gio-sections.txt | 7 + gio/gio.symbols | 6 + gio/gsocket.c | 337 ++++++++++++++++++++++++++++++++++- gio/gsocket.h | 13 ++ 4 files changed, 362 insertions(+), 1 deletion(-) commit 26b3fbd141089d493adb700be0366e8e7f9e595b Author: Kjartan Maraas Date: Sun Jan 15 15:52:24 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 239 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 162 insertions(+), 77 deletions(-) commit afe7a2d1368fc8dff0735757c096ded3d540ae42 Author: Dan Winship Date: Thu Jan 5 13:04:37 2012 -0500 GAsyncInitable: fix subclassibility If a class implements GAsyncInitable, and its parent also implements it, then the subclass needs to call its parent's init_async() before running its own. This was made more complicated by the fact that the default init_finish() behavior was handled by the wrapper method (which can't be used when making the super call) rather than the default implementation itself. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=667375 gio/gasyncinitable.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit feb120eb40570e803e043e1a87213166ad307c30 Author: Alexander Larsson Date: Mon Jan 16 10:38:35 2012 +0100 Fix typo registred_resources -> registered_resources gio/gresource.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit decac50c1598f75ce781a3c6a68a85c0defe38ac Author: Patrick Welche Date: Thu Jan 12 15:38:15 2012 +0000 Protect call to pthread_condattr_setclock with define. While here update pthread_attr_setstacksize test to use AC_LINK_IFELSE and avoid an unused variable in glib/tests/thread.c. https://bugzilla.gnome.org/show_bug.cgi?id=667790 configure.ac | 22 +++++++++++++++++----- glib/gthread-posix.c | 2 +- glib/tests/thread.c | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) commit 6d9f874330ee27ea09b383cb30718a492f6539dd Author: Simon McVittie Date: Fri Sep 30 14:02:29 2011 +0100 g_error_new_valist, g_error_copy: warn if domain is 0 or message is NULL Neither of those usages is valid, but there's a lot of use of 0 as a domain "in the wild", so we can't g_return_if_fail yet. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371 glib/gerror.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 186c15fc879606866215b40f1bfb730b1c47a727 Author: Matthias Clasen Date: Sun Jan 15 23:18:09 2012 -0500 GError: small documentation addition Document that out variables are not guaranteed to be set to defined values if an error is thrown. Inspired by bug 658315 glib/gerror.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5377c0de0108d292ea3e23fa6d90410f9ac9fa00 Author: Matthias Clasen Date: Sun Jan 15 22:15:10 2012 -0500 Beef up Libs.private in glib-2.0.pc This should help getting static builds working on mingw. Based on a patch by Volker Grabsch, bug 619126. At the same time, drop the unnecessary GLIB_RT_LIBS variable; we are already adding -lrt to G_THREAD_LIBS. configure.ac | 4 +--- gio-2.0.pc.in | 2 +- glib-2.0.pc.in | 2 +- glib/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) commit 7e542e97a97a02592beea6a8ffff497f538df3ab Author: Matthias Clasen Date: Sun Jan 15 21:09:31 2012 -0500 Trivial docs fix I like GLib to be consistently capitalized in the docs. docs/reference/gio/glib-compile-resources.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4abe25dbbdd1ba0fd430ef61a02334b8be497fc6 Author: Daniel Mustieles Date: Sun Jan 15 19:28:05 2012 +0100 Updated Spanish translation po/es.po | 259 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 176 insertions(+), 83 deletions(-) commit 673396fb654036f7eb7ba152bb6966e48c1c0e5d Author: Dan Winship Date: Sun Jan 15 09:35:11 2012 -0500 gmain: fix adding a child source to an already-attached source Adding a child source to an already-attached parent source would crash, because we were passing the parent's context when setting the child's priority. glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87dc86240835313f0cfe503b2d68a09301ad6240 Author: Christian Persch Date: Sun Jan 15 00:34:56 2012 +0100 Ensure to generate a flags GType for empty Flags enums When the flags enum only has the default NONE = 0 entry, glib-mkenums creates an enum type for it, not a flags type. Add an annotation to the enum to ensure the correct GType is created. Bug #667938. gio/gioenums.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit b717ef86ade12781b95464f4de26c1c1ec2f2df2 Author: Christian Persch Date: Sat Jan 14 21:13:03 2012 +0100 resources: Use g_set_error_literal where appropriate gio/gresourcefile.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 870fc484d994093b1d4ebc8d2f52665530693e59 Author: Christian Persch Date: Sun Jan 15 00:40:25 2012 +0100 Add missing Since: docs gio/gioenums.h | 4 ++++ 1 file changed, 4 insertions(+) commit 91e3a673767214a86c3316f8851d93a911953f78 Author: Fran Diéguez Date: Sun Jan 15 00:42:25 2012 +0100 Updated Galician translations po/gl.po | 733 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 414 insertions(+), 319 deletions(-) commit 0fd61489e5e02312dd54ad721bcca7c45cf367a4 Author: Rico Tzschichholz Date: Sat Jan 14 11:18:07 2012 +0100 gio/tests: Fix out-of-source build and use uninstalled libraries gio/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a6e149e41f359c4bf2ddab341dad20e7fb2bd9f3 Author: Benjamin Otte Date: Sat Jan 14 01:13:42 2012 +0100 array: return_if_fail() if element size is 0 This is particular useful for: g_array_new (sizeof (MyStruct), FALSE, FALSE); because the correct incantation is g_array_new (FALSE, FALSE, sizeof (MyStruct)); and these warnings will trigger in the first situation. glib/garray.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 9d52243790aa460c228bdcf7ee8e28f78ecd7b13 Author: Benjamin Otte Date: Sun Jan 1 21:51:40 2012 +0100 values: Use v_pointer for g_value_set_gtype() ... and g_value_get_gtype(). G_TYPE_GTYPE is a pointer type, so it's values should use the v_pointer member. This is especially true, because the value collectors from varargs in gvaluecollector.h use that, too. This should only cause issues when sizeof(glong) != sizeof(gpointer), and I'm not aware of any such platform. Maybe win64? gobject/gvaluetypes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 86cd3018e0c5205707b2db8b9cc8537c2f60678d Author: Rico Tzschichholz Date: Fri Jan 13 23:48:12 2012 +0100 gio/tests: add some missing files to EXTRA_DIST gio/tests/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit e3fe25669227944381119852b89beead267c604c Author: Rico Tzschichholz Date: Fri Jan 13 23:18:01 2012 +0100 gio: Fix for -Wformat-security gio/gresourcefile.c | 2 ++ 1 file changed, 2 insertions(+) commit 8735f53ae4f1530b07ff6cf1a5211378b09cd50d Author: Rico Tzschichholz Date: Fri Jan 13 22:35:44 2012 +0100 tests: Fix build failure of resources by linking against libgmodule-2.0.la gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 0ed77c4fdd44d717a7ab2e55b6d3551975133215 Author: Piotr Drąg Date: Fri Jan 13 21:11:03 2012 +0100 Updated POTFILES.in po/POTFILES.in | 3 +++ 1 file changed, 3 insertions(+) commit 056cec779a02d33a49fa7bdd9abe621d6bdc95d4 Author: Alexander Larsson Date: Thu Jan 12 14:50:56 2012 +0100 Add GResource functions to gio.symbols gio/gio.symbols | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 186e2d20780d23ebe234e9432ee7bfc47fd25ba3 Author: Alexander Larsson Date: Thu Jan 12 21:09:15 2012 +0100 Add GLIB_COMPILE_RESOURCES to glib m4 macros m4macros/glib-2.0.m4 | 3 +++ 1 file changed, 3 insertions(+) commit ac51c338ed4c503dab0927e64e8de7cad5a73e0a Author: Alexander Larsson Date: Thu Jan 12 20:51:56 2012 +0100 Add glib_compile_resources variable to the gio pc file gio-2.0.pc.in | 1 + 1 file changed, 1 insertion(+) commit c7dfea30b358d737a2711f25a7167968fede4c05 Author: Alexander Larsson Date: Fri Jan 13 16:39:28 2012 +0100 Add documentation for GResource docs/reference/gio/Makefile.am | 1 + docs/reference/gio/gio-docs.xml | 5 ++ docs/reference/gio/gio-sections.txt | 43 +++++++++++ docs/reference/gio/glib-compile-resources.xml | 101 +++++++++++++++++++++++++ 4 files changed, 150 insertions(+) commit e041843b3e70df95c8909cf4e35728d0d88c1530 Author: Alexander Larsson Date: Wed Dec 21 23:37:56 2011 +0100 Support resource:/// uris gio/Makefile.am | 2 + gio/gresourcefile.c | 875 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gresourcefile.h | 51 +++ gio/gvfs.c | 11 + gio/tests/resources.c | 40 +++ 5 files changed, 979 insertions(+) commit 75439298f88b5a56130cd1fc03c944f0326471e5 Author: Alexander Larsson Date: Wed Dec 21 21:45:16 2011 +0100 Add tests for GResource gio/tests/Makefile.am | 32 ++- gio/tests/resourceplugin.c | 18 ++ gio/tests/resources.c | 436 +++++++++++++++++++++++++++++++++++++++++ gio/tests/test.gresource.xml | 10 + gio/tests/test1.txt | 1 + gio/tests/test2.gresource.xml | 6 + gio/tests/test2.txt | 1 + gio/tests/test3.gresource.xml | 6 + gio/tests/test3.txt | 1 + gio/tests/test4.gresource.xml | 6 + 10 files changed, 516 insertions(+), 1 deletion(-) commit 827657491dba97392f5ba38a5f5c13f8f2431b10 Author: Alexander Larsson Date: Wed Dec 21 21:43:20 2011 +0100 Initial version of glib-compile-resources This is the basic utility to create resource files, either binary versions or source files that can be compiled into your app. gio/Makefile.am | 13 +- gio/glib-compile-resources.c | 693 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 705 insertions(+), 1 deletion(-) commit b87cf491630032de24c2c4ac680b6ea17613b2c8 Author: Alexander Larsson Date: Wed Dec 21 21:38:23 2011 +0100 Initial version of GResource GResource is a bundle of files combined into a single binary blog. The API lets you access the files the resource contains by using resource paths. You can also register resources with a global list and access these globally in a merged resource namespace. The normal way this is used is to link in the resources into your application/library and have it be automatically registred. Resources are compiled from an xml description using glib-compile-resources. gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gioenums.h | 38 +++ gio/giotypes.h | 8 + gio/gresource.c | 844 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gresource.h | 98 +++++++ 6 files changed, 991 insertions(+) commit d85b722734a6fcfe94032f6113de9e5c190fd7c3 Merge: 9ef4554 73acf01 Author: Alexander Larsson Date: Fri Jan 13 16:12:56 2012 +0100 Merge remote-tracking branch 'gvdb/master' commit 9ef4554a0b252b092ee0e6731305b829d088f0cc Author: Alexander Larsson Date: Wed Dec 21 21:13:21 2011 +0100 Add macros to handle constructor functions on the compilers that support it This is only supported on some compilers, so we define G_HAS_CONSTRUCTORS when it is supported. However, when it is supported we guarantee that both constructors and destructors work, in executables as well as shared libraries (including runtime unloading of shared libraries). Usage is a bit unorthodox, as some compilers need to use #pragma to implement constructors, and #pragma can't be used in macros. The canonical way to use this: #ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(my_constructor) #endif G_DEFINE_CONSTRUCTOR(my_constructor) static void my_constructor (void) { ... #ifdef G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA #pragma G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(my_destructor) #endif G_DEFINE_DESTRUCTOR(my_destructor) static void my_destructor (void) { ... glib/gmacros.h | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit 73acf016185f323a8caa268b53284621d805fb15 Author: Alexander Larsson Date: Fri Jan 13 15:59:56 2012 +0100 Support creating a GvdbReader from data This is needed for the glib resource work. gvdb-reader.c | 146 ++++++++++++++++++++++++++++++++++++++++++--------------- gvdb-reader.h | 10 ++++ 2 files changed, 117 insertions(+), 39 deletions(-) commit d1f6300363bb8afc5f7f1e54663a7201587bcd41 Author: Murray Cumming Date: Fri Jan 13 09:21:46 2012 +0100 Docs: Changed can not to cannot. This is a backport from the glib commit 30fdc1a79938540af7bad0af68d0a3b8af14f117 gvdb-reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3db6241b12bccab05be6916e1f843091a3cea380 Author: Yaron Shahrabani Date: Fri Jan 13 09:38:35 2012 +0200 Updated Hebrew translation. po/he.po | 442 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 221 insertions(+), 221 deletions(-) commit 9e732ab0ea742d57a46f72be475ac1d2f026eae2 Author: Javier Jardón Date: Tue Dec 6 23:15:58 2011 +0000 docs/gobject/tutorial: Use g_object_class_install_properties docs/reference/gobject/tut_gobject.xml | 51 +++++++++++++++++--------------- docs/reference/gobject/tut_howto.xml | 33 ++++++++++++++------- 2 files changed, 49 insertions(+), 35 deletions(-) commit c3d6595f5a9230fc579edd9a646351b22ca6d976 Author: Evan Nemerson Date: Sat Jan 7 09:54:53 2012 -0800 GIO: add lots of annotations for Vala bindings https://bugzilla.gnome.org/show_bug.cgi?id=667447 gio/gapplicationcommandline.c | 2 +- gio/gbufferedinputstream.c | 3 ++- gio/gdbusintrospection.c | 2 +- gio/gdbusmessage.c | 15 ++++++++------- gio/gdbusserver.c | 2 +- gio/gemblemedicon.c | 2 +- gio/gfile.c | 18 +++++++++--------- gio/gfileicon.c | 3 ++- gio/gfileinfo.c | 2 +- gio/gfilemonitor.c | 2 +- gio/ginetaddress.c | 2 +- gio/ginitable.c | 2 +- gio/gmemoryinputstream.c | 4 ++-- gio/gmountoperation.c | 3 ++- gio/gnetworkaddress.c | 2 +- gio/gnetworkservice.c | 2 +- gio/goutputstream.c | 2 ++ gio/gsimpleactiongroup.c | 4 ++-- gio/gsocket.c | 19 ++++++++++++------- gio/gsocketservice.c | 3 ++- gio/gthemedicon.c | 6 +++--- gio/gtlsclientconnection.c | 3 ++- gio/gtlsdatabase.c | 4 ++-- gio/gtlsfiledatabase.c | 3 ++- gio/gtlspassword.c | 1 + gio/gtlsserverconnection.c | 3 ++- 26 files changed, 65 insertions(+), 49 deletions(-) commit e98f17e5cf1696d418444b23cb092be0eaba3008 Author: Philip Withnall Date: Thu Dec 22 00:16:06 2011 +0000 Bug 666700 — Add some missing (allow-none) annotations Add some missing (allow-none) annotations to GContentType, GIcon and GHashTable methods. Closes: bgo#666700 gio/gcontenttype.c | 2 +- gio/gicon.c | 4 ++-- glib/ghash.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) commit f8843a0feb09898fea320a5a65a443bc5a70d78e Author: Matthias Clasen Date: Tue Jan 10 00:40:14 2012 -0500 Back to odd configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a016d82f1246b6bb58e4374f318ab47a5806672 Author: Matthias Clasen Date: Tue Jan 10 00:39:20 2012 -0500 2.31.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93849185ca8b5bfdece2b80f21f25efd160f0019 Author: Matthias Clasen Date: Mon Jan 9 23:23:27 2012 -0500 Updates NEWS | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) commit 00c00e2f3f3194202877e54a2429bd1a4f9c5526 Author: Matthias Clasen Date: Mon Jan 9 21:49:08 2012 -0500 Add G_FILE_ATTRIBUTE_FILESYSTEM_USED to get exact used space This is implemented by with statfs_buffer.f_bavail (free blocks for unprivileged users) as a default way to retrieve real free space. Based on a patch by Marcus Carlson, bug 625751. docs/reference/gio/gio-sections.txt | 1 + gio/gfileattribute.c | 1 + gio/gfileinfo.h | 11 +++++++++++ gio/glocalfile.c | 19 +++++++++++++++++++ 4 files changed, 32 insertions(+) commit 31960257a6f52a4ec92d70986969f3f7ce336c4c Author: Matthias Clasen Date: Mon Jan 9 21:35:13 2012 -0500 Make glocalfile.c more readable The many nested ifdefs here really deserve some annotations. Based on a patch by Marcus Carlson, bug 625751. gio/glocalfile.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit fd7e44383810cd939d8e0daf880817f67ea1dce2 Author: Ravi Sankar Guntur Date: Fri Jan 6 22:43:19 2012 +0530 add g_queue_free_full to glib-sections.txt Signed-off-by: Ravi Sankar Guntur https://bugzilla.gnome.org/show_bug.cgi?id=667331 docs/reference/glib/glib-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 0ed2cdb0d926e28188f1ac924c8216dfa9db24a6 Author: Ravi Sankar Guntur Date: Thu Jan 5 10:51:03 2012 +0530 Use g_queue_free_full() convenience function. https://bugzilla.gnome.org/show_bug.cgi?id=667331 Signed-off-by: Ravi Sankar Guntur gio/gdbusprivate.c | 12 +++--------- glib/gmain.c | 22 +++++++++++----------- 2 files changed, 14 insertions(+), 20 deletions(-) commit a76d85de50285c7f376acefd14e66764afc1321a Author: Ihar Hrachyshka Date: Tue Jan 10 01:00:29 2012 +0300 Updated Belarusian translation. po/be.po | 5888 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2960 insertions(+), 2928 deletions(-) commit ddf9633d95235ed783cdab42e79e99b7b0f6bee0 Author: Matthias Clasen Date: Mon Jan 9 15:27:07 2012 -0500 fix a compiler warning glib/tests/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39dc681fc7d9e336d081d0d6559e6dd3454965a0 Author: Matthias Clasen Date: Fri Jan 6 20:48:04 2012 -0500 Realign the hash set example with added api Change the name of set_insert to set_add, to better match the newly added g_hash_table_add. glib/ghash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 875ffc41b72291cc0f2d3efae905cb0b380bb210 Author: Ryan Lortie Date: Mon Jan 9 14:28:10 2012 +0100 drop debian/ directory debian/README.debian | 30 ---------- debian/build | 62 --------------------- debian/changelog | 10 ---- debian/control | 53 ------------------ debian/copyright | 8 --- debian/libglib-cvs-dev.files | 9 --- debian/postinst | 7 --- debian/rules | 126 ------------------------------------------ 8 files changed, 305 deletions(-) commit 7678b10703ebe84cf869cf5929d89770f3f7f977 Author: Dan Vrátil Date: Mon Jan 9 09:29:20 2012 +0100 Fix GHashTable GDB pretty printing (bug #667420) glib/glib.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 82740adc61b6d4a6174d033efe1df1303b98eaa1 Author: Alexander Shopov Date: Sun Jan 8 16:48:13 2012 +0200 Updated Bulgarian translation po/bg.po | 5874 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2963 insertions(+), 2911 deletions(-) commit d141940bc67a1c101dbd893e0b5247d931515159 Author: Jasper St. Pierre Date: Fri Jan 6 14:29:45 2012 -0500 gthread-posix: Remove misleading documentation comments g_thread_init() has done nothing since 2.32, so while the function still can be used if "g_thread_init() has not yet been called", it won't do nothing in that case, it will just perform normally. glib/gthread-posix.c | 15 --------------- 1 file changed, 15 deletions(-) commit 021e116f0525ce99cea97fb7039d6be804d4145f Author: Jasper St. Pierre Date: Mon Sep 12 23:14:32 2011 -0400 gbacktrace: g_get_prgname () isn't called for a NULL argument https://bugzilla.gnome.org/show_bug.cgi?id=658871 glib/gbacktrace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a44404f4ecbf9404f32313f8ee9a3fd06e5b0a47 Author: Kjartan Maraas Date: Fri Jan 6 20:35:34 2012 +0100 Updated Norwegian bokmål translation po/nb.po | 296 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 148 insertions(+), 148 deletions(-) commit 20825918a3035e1569eb12f0fc8c4d482b0a27d4 Author: Daniel Mustieles Date: Fri Jan 6 20:31:54 2012 +0100 Updated Spanish translation po/es.po | 440 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 211 insertions(+), 229 deletions(-) commit 21d2c49f82aa3c73ab77817a80065e747a9d154a Author: Ryan Lortie Date: Fri Jan 6 10:25:03 2012 -0500 minor fixup to last commit glib/ghash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 752f0cac159dc84c03c42f84d9d8a8c923334d43 Author: Ryan Lortie Date: Fri Jan 6 10:09:32 2012 -0500 GHashTable: new 'add' and 'contains' APIs These are both convenience APIs that make it slightly nicer to use GHashTable as a set (which is something we document as officially supported). docs/reference/glib/glib-sections.txt | 2 ++ glib/ghash.c | 48 +++++++++++++++++++++++++++++++++ glib/ghash.h | 4 +++ glib/glib.symbols | 2 ++ 4 files changed, 56 insertions(+) commit b87f6f9f8cb789a645b8792cf197328fb686ba55 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:58:57 2012 +0700 gio/gsocks5proxy: typo fix gio/gsocks5proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e92646f218ce6d70dc932c5b444150d78928294 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:58:28 2012 +0700 Updated Vietnamese translation po/vi.po | 114 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 49 insertions(+), 65 deletions(-) commit 74345b3383132985c04ec2f46846f89d7a51f0a0 Author: Nguyễn Thái Ngọc Duy Date: Fri Jan 6 16:48:13 2012 +0700 po/vi: import from Damned Lies po/vi.po | 5906 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3027 insertions(+), 2879 deletions(-) commit 0da8db52cdd928809dc7e78c951ecbb19c51c0a2 Author: Dan Winship Date: Thu Jan 5 12:57:01 2012 -0500 Remove some cruft from an older version of the code gio/gfilterinputstream.c | 3 --- gio/gfilteroutputstream.c | 1 - 2 files changed, 4 deletions(-) commit 382341dd9934251de9e9e10dbe5ea3da00c74c59 Author: Michael Terry Date: Wed Jan 4 14:48:53 2012 -0500 gdesktopappinfo: Fix gtk-doc to mention Keywords not X-GNOME-Keywords https://bugzilla.gnome.org/show_bug.cgi?id=667285 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fe964eeb15843a1e21789d13751b789f520ea4b Author: Simon McVittie Date: Thu Jan 5 15:10:04 2012 +0000 Mention g_test_undefined() when documenting assert_failed, assert_stderr Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/gtestutils.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 254efaf85e0bb0748e97a3dbe68153831a96592f Author: Simon McVittie Date: Thu Jan 5 15:02:07 2012 +0000 Skip tests of incorrect property usage under gtester -m no-undefined Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666116 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gobject/tests/param.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e3d53d5529522a8db4e1711b47baa44250ce09fd Author: Javier Jardón Date: Thu Jan 5 04:31:21 2012 +0100 glib/*: Use g_slist_free_full() convenience function glib/gshell.c | 14 ++++---------- glib/tests/regex.c | 3 +-- 2 files changed, 5 insertions(+), 12 deletions(-) commit c735b54a6384ff170ca32906ad7eae64a338e1d6 Author: Javier Jardón Date: Thu Jan 5 04:27:20 2012 +0100 gio/*: Use g_slist_free_full() convenience function gio/gfilemonitor.c | 3 +-- gio/gmemoryinputstream.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 31c3082e19551377049742a7862dab455727844a Author: Michael Terry Date: Wed Jan 4 13:08:56 2012 -0500 gdesktopappinfo: Avoid crash by NULL-ing data.pid_envvar before launch https://bugzilla.gnome.org/show_bug.cgi?id=667279 gio/gdesktopappinfo.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8b96fb3761bb094d7c0044114f377934b9b00c51 Author: Claudio Saavedra Date: Wed Jan 4 00:18:59 2012 +0200 GSocket: fix a couple of return values g_socket_receive_with_blocking() and g_socket_send_with_blocking claim to return -1 in error, their return type is gssize, and yet they return FALSE if the initial g_return_val_if_fail() call fails. https://bugzilla.gnome.org/show_bug.cgi?id=667226 gio/gsocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f38a1dbca7d68eedc2d75cd7a7947c7217bbbd99 Author: Claudio Saavedra Date: Wed Jan 4 00:13:50 2012 +0200 GSocket: add some more g_return_if_fail()s https://bugzilla.gnome.org/show_bug.cgi?id=667225 gio/gsocket.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 1b919d2e5643b43c27f86d4bcf2d94f7bf98e7df Author: Matthias Clasen Date: Wed Jan 4 00:10:11 2012 -0500 Clarify g_utf8_strlen docs a bit glib/gutf8.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d64b4c4887da1d4ec308c08ded094dad130a5c6d Author: Paolo Borelli Date: Tue Jan 3 11:49:55 2012 +0100 Add a testcase for an old regex bug. Add a testcase for bug #455640, which was fixed in PCRE versions newer than 7.2. glib/tests/regex.c | 3 +++ 1 file changed, 3 insertions(+) commit 2ae83e116bc1ce2c02548940e276c294c91c5da7 Author: Javier Jardón Date: Mon Jan 2 16:10:35 2012 +0100 glib/*: Use g_list_free_full() glib/gbookmarkfile.c | 38 ++++++-------------------------------- glib/gkeyfile.c | 10 ++-------- glib/goption.c | 3 +-- glib/gregex.c | 15 +++++---------- 4 files changed, 14 insertions(+), 52 deletions(-) commit 928d2cea616db45a1a0d870fd73aed2570170288 Author: Javier Jardón Date: Mon Jan 2 16:30:11 2012 +0100 gio/*: Use g_list_free_full() convenience function gio/gcontenttype.c | 12 ++++-------- gio/gdbusauth.c | 3 +-- gio/gdbusobjectmanagerclient.c | 6 ++---- gio/gdbusobjectmanagerserver.c | 3 +-- gio/gdbusobjectskeleton.c | 3 +-- gio/gdbusserver.c | 3 +-- gio/gdesktopappinfo.c | 17 +++++------------ gio/gemblemedicon.c | 3 +-- gio/gfileenumerator.c | 3 +-- gio/gfilenamecompleter.c | 12 ++++-------- gio/gunixvolumemonitor.c | 27 +++++++++------------------ 11 files changed, 30 insertions(+), 62 deletions(-) commit dde3401122930355f665af25292ad1b639e98390 Author: Javier Jardón Date: Mon Jan 2 16:09:50 2012 +0100 gio/gdbus-2.0/codegen/codegen.py: Use g_list_free_full() gio/gdbus-2.0/codegen/codegen.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 99c166501a6d05b2eaeb11893fab38dcf88aeeaf Author: Matthias Clasen Date: Tue Jan 3 10:48:50 2012 -0500 Fix parameter name mismatches in GWeakRef api gobject/gobject.c | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) commit e6a5c2efb284acc557b6129e0649b9f7af807067 Author: Matthias Clasen Date: Tue Jan 3 08:02:49 2012 -0500 Add GWeakRef to the docs docs/reference/gobject/gobject-sections.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit ee044fd839b396655000db1662b5de0569632581 Author: Javier Jardón Date: Mon Jan 2 15:20:42 2012 +0100 gio/tests: Use g_list_free_full() convenience function gio/tests/contenttype.c | 3 +-- gio/tests/desktop-app-info.c | 9 +++------ gio/tests/gdbus-example-objectmanager-client.c | 6 ++---- gio/tests/gdbus-peer.c | 3 +-- gio/tests/gdbus-test-codegen.c | 9 +++------ gio/tests/volumemonitor.c | 12 ++++-------- 6 files changed, 14 insertions(+), 28 deletions(-) commit 411259ddd3e6b5c5fbf900d7ab38d0d4da03f156 Author: Stef Walter Date: Mon Nov 14 18:03:47 2011 +0100 gvariant: Never break out of g_variant_iter_loop * Document how to break out of g_variant_iter_loop style loops. https://bugzilla.gnome.org/show_bug.cgi?id=664069 glib/gvariant.c | 5 +++++ 1 file changed, 5 insertions(+) commit 34e3881f2f02ccd7df704f54c0a31dead48ea382 Author: Simon McVittie Date: Wed Dec 7 15:04:59 2011 +0000 Add test for GDBusConnection singleton access racing with destruction Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211 gio/tests/gdbus-threading.c | 128 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) commit 1e09bfc77c157b7d70342188a424eadc3d14769a Author: Simon McVittie Date: Tue Dec 6 12:44:36 2011 +0000 GDBusConnection: use GWeakRef to make the singletons thread-safe Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665211 https://bugzilla.gnome.org/show_bug.cgi?id=548954 gio/gdbusconnection.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit 146aa7aa1777b84137fb1f3d4035b0f1d11e76c9 Author: Simon McVittie Date: Wed Dec 7 15:04:13 2011 +0000 Add regression test for GWeakRef used to cache a singleton https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/tests/threadtests.c | 121 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit fa5ff3955957e48a0bf50bb13be53af9b5400bb6 Author: Simon McVittie Date: Thu Dec 8 17:35:19 2011 +0000 Add deterministic tests for the API of GWeakRef These don't address the thread-safety, but do address basic use. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/tests/reference.c | 101 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) commit 46c2f570da10c93d7b2fab790048f957bb422302 Author: Ryan Lortie Date: Tue Dec 6 12:27:07 2011 +0000 GWeakRef: add a weak GObject reference believed to be thread-safe This patch is a joint work with Simon McVittie. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/gobject.c | 239 ++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 12 +++ gobject/gobject.symbols | 4 + 3 files changed, 253 insertions(+), 2 deletions(-) commit 28c87a5594ef05a324a183d6d3271e6733abf908 Author: Simon McVittie Date: Tue Dec 6 11:37:45 2011 +0000 g_object_weak_ref, g_object_add_weak_pointer: document non-thread-safety Transparent access to a weak pointer from the thread performing the weak -> strong conversion is incompatible with thread-safety: that thread will have to do something special. This is GNOME#548954. https://bugzilla.gnome.org/show_bug.cgi?id=548954 gobject/gobject.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 1425aa664d5efa56d9e2cc29f8aa1292463e1f5a Author: Simon McVittie Date: Tue Dec 6 11:35:02 2011 +0000 GBitLock: turn assumptions of g_futex_int_address into a static assertion We'll probably never encounter a platform where these fail, but that's what static assertions are for... https://bugzilla.gnome.org/show_bug.cgi?id=548954 glib/gbitlock.c | 6 ++++++ 1 file changed, 6 insertions(+) commit fc731de9291556d93e02cc4c39a8573c0a5500ea Author: Ryan Lortie Date: Mon Jan 2 11:38:40 2012 -0500 gthread.h: avoid anonymous union This is a GNU extension. https://bugzilla.gnome.org/show_bug.cgi?id=666978 glib/deprecated/gthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a07e9a5fb22de50e7a94797cf4f0e5718f064ea1 Author: William Hua Date: Sun Jan 1 21:53:28 2012 -0500 nextstep gsettings backend: whitespace police gio/gnextstepsettingsbackend.c | 118 +++++++++++++--------------------------- 1 file changed, 37 insertions(+), 81 deletions(-) commit edd2aff575888dc6cd6570681c719bc18fe91bb2 Author: William Hua Date: Sun Jan 1 21:38:05 2012 -0500 thread-safe nextstep gsettings backend simplified key reset logic gio/gnextstepsettingsbackend.c | 49 ++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 17 deletions(-) commit 9c1008384414a257d1f0f354d5ea897df0e24e89 Author: William Hua Date: Mon Dec 26 10:04:38 2011 -0500 GSettings: nextstep settings backend gio/Makefile.am | 11 + gio/giomodule.c | 3 + gio/gnextstepsettingsbackend.c | 497 ++++++++++++++++++++++++++++++++++++++++ gio/gsettingsbackendinternal.h | 5 + 4 files changed, 516 insertions(+) commit 00f43b22e5b5d9e4afe1eda69e348e3fdaa8c262 Author: Xan Lopez Date: Sun Jan 1 19:01:14 2012 +0100 ginetaddressmask: plug leak ==24706== 52 bytes in 1 blocks are definitely lost in loss record 7,248 of 13,092 ==24706== at 0x4A074CD: malloc (vg_replace_malloc.c:236) ==24706== by 0x70E9F5F: standard_malloc (gmem.c:85) ==24706== by 0x70E9FE8: g_malloc (gmem.c:159) ==24706== by 0x71018EC: g_slice_alloc (gslice.c:1003) ==24706== by 0x710192B: g_slice_alloc0 (gslice.c:1029) ==24706== by 0x7068526: g_type_create_instance (gtype.c:1872) ==24706== by 0x705067B: g_object_constructor (gobject.c:1835) ==24706== by 0x704FE47: g_object_newv (gobject.c:1699) ==24706== by 0x7050612: g_object_new_valist (gobject.c:1816) ==24706== by 0x704F894: g_object_new (gobject.c:1531) ==24706== by 0x6F0F2F0: g_inet_address_new_from_bytes (ginetaddress.c:459) ==24706== by 0x6F5D703: remove_network (gnetworkmonitornetlink.c:256) ==24706== by 0x6F5DD80: read_netlink_messages (gnetworkmonitornetlink.c:386) ==24706== by 0x6F2D5CA: socket_source_dispatch (gsocket.c:2505) ==24706== by 0x70E1D45: g_main_dispatch (gmain.c:2513) ==24706== by 0x70E2A06: g_main_context_dispatch (gmain.c:3050) ==24706== by 0x70E2BE9: g_main_context_iterate (gmain.c:3121) ==24706== by 0x70E2CAD: g_main_context_iteration (gmain.c:3182) ==24706== by 0x6F60A05: g_application_run (gapplication.c:1599) ==24706== by 0x42D011: main (ephy-main.c:472) https://bugzilla.gnome.org/show_bug.cgi?id=667098 gio/ginetaddressmask.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 5e4188101efe6747b637ac8e1519fe67ee42495c Author: Yaron Shahrabani Date: Fri Dec 30 10:47:56 2011 +0200 Updated Hebrew translation. po/he.po | 240 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 122 insertions(+), 118 deletions(-) commit a2e1541cda3902474aa54aded959f78928fbabf6 Author: Chun-wei Fan Date: Fri Dec 30 15:27:31 2011 +0800 config.h.win32.in: Cleanups -Make the contents of the preconfigured config.h.win32(.in) more like the contents of config.h.in -Correct the sizing of void* on x64 platforms (which should be 8, unlike 4 on x86-32 platforms) config.h.win32.in | 106 ++++++++++++++++++++++++++++------------------------- 1 file changed, 57 insertions(+), 49 deletions(-) commit 8558ae9ad4411dfdcd76180aaa421b29fc587571 Author: Matthias Clasen Date: Thu Dec 29 11:57:42 2011 -0500 Correct some Since tags As pointed out in bug 666951, g_mkdtemp and g_mkdtemp_full were only added in 2.30. glib/gfileutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8ca2647c7405d06231ca5e0cfa47621e5086a65a Author: Ravi Sankar Guntur Date: Tue Dec 20 14:49:53 2011 +0530 Fix to handle '\v' (vertical tab) by g_strescape() and g_strcompress(). fix enables g_strescape() and g_strcompress() to handle '\v' along with other special characters - '\b', '\f', '\n', '\r', '\t', '\'. https://bugzilla.gnome.org/show_bug.cgi?id=664830 Signed-off-by: Ravi Sankar Guntur glib/gstrfuncs.c | 9 ++++++++- glib/tests/strfuncs.c | 16 ++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) commit 030bf82340f1a82825ad71c4b85d664995eafde1 Author: Matthias Clasen Date: Tue Dec 27 18:10:42 2011 -0500 Some minor updates of building.sgml https://bugzilla.gnome.org/show_bug.cgi?id=664830 docs/reference/glib/building.sgml | 10 ---------- 1 file changed, 10 deletions(-) commit a3860d8d7712eb52f8535f6517bb5641e70dd825 Author: Matthias Clasen Date: Tue Dec 27 18:10:26 2011 -0500 Some minor updates of HACKING HACKING | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 993de34a77bdbfc37e210a85382e5f34f604efe9 Author: Simon McVittie Date: Wed Dec 14 17:31:23 2011 +0000 Add undefined/no-undefined mode options to GTester https://bugzilla.gnome.org/show_bug.cgi?id=666116 docs/reference/glib/gtester.xml | 33 ++++++++++++++++++++++++++++++++- glib/gtester.c | 10 ++++++++++ glib/gtestutils.c | 33 ++++++++++++++++++++++++++++++++- glib/gtestutils.h | 2 ++ 4 files changed, 76 insertions(+), 2 deletions(-) commit fa4792c35e42107e0ded0f499bb86415a2b1faef Author: Simon McVittie Date: Wed Dec 14 18:08:59 2011 +0000 various tests: do not provoke SIGTRAP with -m no-undefined Some of the GLib tests deliberately provoke warnings (or even fatal errors) in a forked child. Normally, this is fine, but under valgrind it's somewhat undesirable. We do want to follow fork(), so we can check for leaks in child processes that exit gracefully; but we don't want to be told about "leaks" in processes that are crashing, because there'd be no point in cleaning those up anyway. https://bugzilla.gnome.org/show_bug.cgi?id=666116 gio/tests/actions.c | 83 +++++++++++++--------- gio/tests/gdbus-proxy.c | 30 ++++---- gio/tests/gsettings.c | 64 +++++++++++------ glib/tests/error.c | 3 + glib/tests/gvariant.c | 32 +++++---- glib/tests/logging.c | 54 +++++++++------ glib/tests/markup-collect.c | 3 + glib/tests/mem-overflow.c | 13 +++- glib/tests/option-context.c | 6 ++ glib/tests/slice.c | 3 + glib/tests/strfuncs.c | 146 +++++++++++++++++++++++---------------- glib/tests/testing.c | 32 ++++++--- gobject/tests/ifaceproperties.c | 3 + 13 files changed, 304 insertions(+), 168 deletions(-) commit 5cb29d7909afdb41054ca47892aea4e0a79f2d7a Author: Simon McVittie Date: Wed Dec 14 17:32:16 2011 +0000 Clarify documentation of fast/slow/thorough and quiet/verbose tests It turns out that there is no middle setting between fast and slow/thorough, but there *is* a middle setting between quiet and verbose. https://bugzilla.gnome.org/show_bug.cgi?id=666116 glib/gtestutils.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 643ad9f6c340fb368ccf8e09ef1f0ba88ee6dccf Author: Matthias Clasen Date: Tue Dec 27 17:45:40 2011 -0500 Remove another unused AC_DEFINE Nothing was using the HAVE_GCOV define. configure.ac | 2 -- 1 file changed, 2 deletions(-) commit 7cc9e10cce30ebe9242c0cc0649a4badffe0123e Author: Matthias Clasen Date: Tue Dec 27 17:20:36 2011 -0500 Drop unused AC_SUBST DISABLE_MEM_POOLS is only used as define. configure.ac | 1 - 1 file changed, 1 deletion(-) commit bc85e6ed516f23d9fed9cdad39c605721738e190 Author: Matthias Clasen Date: Tue Dec 27 17:15:44 2011 -0500 Remove a bashism configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a176008826a8f7dcdcbc2a35d9ac3bfcabce824c Author: Matthias Clasen Date: Tue Dec 27 17:12:39 2011 -0500 Drop a lot of dead configury for threads Much of this became obsolete by the recent rewrite of our threading support. configure.ac | 179 +++++++++------------------------------------------------- 1 file changed, 27 insertions(+), 152 deletions(-) commit 8cea99741bdc540b76b4cace996068acd78e746c Author: Matthias Clasen Date: Tue Dec 27 16:22:13 2011 -0500 Don't put documentation in glibconfig.h configure.ac | 7 ------- glib/gmain.h | 3 +++ 2 files changed, 3 insertions(+), 7 deletions(-) commit 31f0ad3f352ec8bae297983f67b18cb33c2c3e5e Author: Matthias Clasen Date: Tue Dec 27 16:18:19 2011 -0500 Make glibconfig.h include guards consistent configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d09800d86ec408ec27b9559fbd9ff6aebca25397 Author: Matthias Clasen Date: Tue Dec 27 16:16:24 2011 -0500 Remove a commented-out macro configure.ac | 2 -- 1 file changed, 2 deletions(-) commit 4576a459fc0aebc48581d16a076bd0a0924ae988 Author: Matthias Clasen Date: Tue Dec 27 15:55:04 2011 -0500 Remove obsolescent AC_HEADER_STDC macro We only used the resulting define in one place, and really, these headers just have to be around or its not worth trying. configure.ac | 3 --- glib/tests/hash.c | 2 -- 2 files changed, 5 deletions(-) commit 49a4de3ea446f21202d586a906e0aef1d4dacfed Author: Thomas Hindoe Paaboel Andersen Date: Sat Dec 24 15:31:55 2011 +0100 docs: g_atexit: do not point in a direction for where to find details https://bugzilla.gnome.org/show_bug.cgi?id=666804 glib/gutils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 89a832250b9864c28cd0eec8db7200e00a8e9679 Author: Åsmund Skjæveland Date: Mon Dec 26 17:15:32 2011 +0100 Updated Norwegian Nynorsk translation po/nn.po | 959 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 515 insertions(+), 444 deletions(-) commit cc03b3cdea45b3592ab8e931628f027c20586aa3 Author: Matthias Clasen Date: Sat Dec 24 23:01:17 2011 -0500 Don't leak references to the menus gio/gmenumarkup.c | 3 +++ 1 file changed, 3 insertions(+) commit f077127d0169df135d078827c1c51742c3a71901 Author: Matthias Clasen Date: Sat Dec 24 22:59:10 2011 -0500 Add a test for ids on submenu and section elements The test checks that menus which are created via or
end up in the objects hash table. gio/tests/gmenumodel.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 37efbf4354969fdbca9ed71895309fb7fb95a55a Author: Matthias Clasen Date: Sat Dec 24 22:58:16 2011 -0500 Menu markup: Support ids on submenu and section elements This was supposed to work, but didn't. Bug 666595. gio/gmenumarkup.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 7 deletions(-) commit c4fc2584241dadeedee7b21bd24ca5708d6318e8 Author: Benjamin Otte Date: Sat Dec 24 14:26:24 2011 +0100 docs: Clarify non-NUL requirement in g_utf8_validate() UTF8 validation is not about your character on a dating site, so don't talk about meeting. https://bugzilla.gnome.org/show_bug.cgi?id=666803 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f3e141ec8ffe8f40a2faced69d35cb161153107 Author: Dan Winship Date: Fri Aug 20 13:04:19 2010 -0400 Add GSocketClient::event, for tracking socket client status This can be used for debugging, or for progress UIs ("Connecting to example.com..."), or to do low-level tweaking on the connection at various points in the process. https://bugzilla.gnome.org/show_bug.cgi?id=665805 docs/reference/gio/gio-sections.txt | 3 +- gio/gio.symbols | 1 + gio/gioenums.h | 38 +++++++ gio/gsocketclient.c | 194 +++++++++++++++++++++++++++++++++-- gio/gsocketclient.h | 6 +- gio/tests/send-data.c | 23 +++++ 6 files changed, 253 insertions(+), 12 deletions(-) commit 57f279988cc2219a974042a29cbb12efd2422540 Author: Dan Winship Date: Sun Jun 12 16:29:04 2011 -0400 Add g_socket_connection_connect(), etc Previously it was more or less assumed that GSocketConnections were always connected, although this was not enforced. Make it explicit that they don't need to be, and add methods to connect them, and simplify GSocketClient by using those methods. https://bugzilla.gnome.org/show_bug.cgi?id=665805 docs/reference/gio/gio-sections.txt | 5 ++ gio/gio.symbols | 4 + gio/gsocketclient.c | 129 +++++++++------------------- gio/gsocketconnection.c | 159 +++++++++++++++++++++++++++++++++++ gio/gsocketconnection.h | 15 ++++ 5 files changed, 223 insertions(+), 89 deletions(-) commit e121d46b251d7a695f6c56bf3de95acb51371599 Author: Chun-wei Fan Date: Thu Dec 22 20:18:11 2011 +0800 Update GIO Visual C++ projects Link to zlib1.lib for release builds and zlib1d.lib for debug builds- this is to be consistent across the board for the GTK+ stack (and many other opensource code linking to the ZLib DLL on Windows) build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 550fee44a9379969cb185b19b787c1d6ab35e77e Author: Chun-wei Fan Date: Thu Dec 22 18:49:01 2011 +0800 Update Visual C++ property sheets "Install" the newly-introduced gremoteactiongroup.h header. build/win32/vs10/glib.props | 2 ++ build/win32/vs9/glib.vsprops | 1 + 2 files changed, 3 insertions(+) commit 6e7da987b443c861946a7702d64f9e50150b9320 Author: Ryan Lortie Date: Thu Dec 22 00:24:20 2011 -0500 GSettingsBackend: allow floating refs from read() Use g_variant_take_ref() to allow for backends to return floating GVariant instances from their read() implementations. gio/gsettingsbackend.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b0337744282c7f048a31a9818b99370d97c44f3 Author: rodrigorivascosta Date: Thu Dec 22 10:48:09 2011 +0800 Bug 666551-Fix a few dangling pointers When removing an item from the list, check the next one's my_owner, and fix it accordingly. And take this case into account when last of the list is deleted. Also, assign NULL to 'my_owner' in g_thread_xp_WakeConditionVariable. glib/gthread-win32.c | 5 +++++ 1 file changed, 5 insertions(+) commit 76bc1ab28084dab671fed6e9f3993014e225df2c Author: Chun-wei Fan Date: Wed Dec 21 11:24:09 2011 +0800 glib/tests/private.c: Fix compilation on Windows -process.h must be included for _beginthreadex -Use a cast to HANDLE on _beginthreadex to silence warnings on different types glib/tests/private.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cb71b03e2f0a273d3e466831e5c2cdf0a7c43f46 Author: Kjartan Maraas Date: Wed Dec 21 22:22:05 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 276 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 140 insertions(+), 136 deletions(-) commit adff60ed6389cfb1e97a329c150320aa44b18be6 Author: Cosimo Cecchi Date: Wed Dec 21 12:36:19 2011 +0100 menu: documentation fixes g_menu_new_section() does not exist, the comment meant g_menu_item_new_section(). gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 557da1650707bbb67b80be0c986598eab3893071 Author: Ryan Lortie Date: Tue Dec 20 19:45:57 2011 -0500 GObject: do checks on interface property install Add some checks to g_object_interface_install_property() similar to those in g_object_class_install_property(). https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 8 +++++++- gobject/tests/param.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit b2371871097ef2b52bdb4688d702438c9e3f1787 Author: Ryan Lortie Date: Tue Dec 20 19:43:21 2011 -0500 GObject: require READ or WRITE on property install g_object_class_install_property() currently lets you install properties that are neither readable nor writable. Add a check to prevent that. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 1 + gobject/tests/param.c | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) commit 4e793c2eefab1a9b5b0c29b530cbe77fb53d7396 Author: Ryan Lortie Date: Tue Dec 20 19:33:02 2011 -0500 GObject: allow G_PARAM_CONSTRUCT on any override We were previously preventing implementations of an interface from specifying G_PARAM_CONSTRUCT for a property of that interface if the interface didn't specify it itself (or was readonly). This is something that should only interest the implementation, so we remove this restriction. This allows 6 new possible override scenarios: - writable -> writable/construct - writable -> readwrite/construct - readwrite -> readwrite/construct - writable/construct-only -> writable/construct - writable/construct-only -> readwrite/construct - readwrite/construct-only -> readwrite/construct and we update the testcase to reflect this. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 5 +---- gobject/tests/param.c | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 18 deletions(-) commit b3b9f82206707d6adad0d54ae9232bc826bec574 Author: Ryan Lortie Date: Tue Dec 20 18:44:48 2011 -0500 GObject: add test for interface property overrides Add a testcase to check all possibilities for overriding a property specified on an interface from an implementation of that interface, changing the type and flags. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/tests/param.c | 379 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 379 insertions(+) commit d8d78688a8e00d1f2c338bd75fb1ce20d05e059d Author: Ryan Lortie Date: Tue Dec 20 18:41:03 2011 -0500 GObject: change the order of property checks Change the order of the checks so that we hear about the 'biggest' problem first. Also, stop reporting problems after we report the first one for a particular property. Add some comments. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 70 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 50 insertions(+), 20 deletions(-) commit 5fb7a8e127bde6465a5b9e22b299ca2e439e702c Author: Ryan Lortie Date: Tue Dec 20 18:26:14 2011 -0500 GObject: fix property override type checks The property override typecheck was meant to enforce the type on the overriding property being exactly equal to the type on the interface property. Instead, g_type_is_a() was incorrectly used. We could try to enforce equality, but if a property is read-only then it should be possible for the implementation to type the property with any subtype of the type specified on the interface (because returning a more specific type will still satisfy the interface). Likewise, if the property is write-only then it should be possible for the implementation to type the property with any supertype. We implement the check this way. https://bugzilla.gnome.org/show_bug.cgi?id=666616 gobject/gobject.c | 73 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 58 insertions(+), 15 deletions(-) commit ab0da3c2821b6e9ed89a3a2a708bbae1db2ed45f Author: Ryan Lortie Date: Tue Dec 20 19:12:56 2011 -0500 GSimpleAction: fix some whitespace fail gio/gsimpleaction.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 342e2faa2996601bc44413087b3d70560dad78aa Author: Ryan Lortie Date: Tue Dec 20 19:11:19 2011 -0500 GSimpleAction: tweak property flags There's no need for 'enabled' and 'state' to be marked construct-only. These properties are writable at all times. gio/gsimpleaction.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 958f2bac7a123bc0cf35c5afab6ac62c80b0c03b Author: Ryan Lortie Date: Tue Dec 20 15:29:16 2011 -0500 GObject: fixup reversed logic in last commit Accidentally dropped a !. gobject/gobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3af050f6fc760c3bedfad4e7c0f767a2e01848be Author: Ryan Lortie Date: Tue Dec 20 15:12:44 2011 -0500 gobject: Clean up logic in property checks Simplify some of the logic in this function. 1) Simplify flag checks as per Colin's suggestions in https://bugzilla.gnome.org/show_bug.cgi?id=605667 2) Don't repeatedly recheck if class_pspec is NULL. gobject/gobject.c | 50 +++++++++++++++++++++----------------------------- 1 file changed, 21 insertions(+), 29 deletions(-) commit ebf572cdd81d8c0fca4641f9204dc0421ad1bf5d Author: Ryan Lortie Date: Tue Dec 20 14:43:15 2011 -0500 GAction: back out changes to property flags 41e5ba86a791a17bb560dd7813ad7e849e0230dc introduced some changes to the property flags of GAction. These changes were not a reflection of the actual interface of GAction but were necessary due to GObject being overly-sensitive to flag changes on property overrides. Now that the GObject bug is fixed, we can restore the GAction flags to their correct values. https://bugzilla.gnome.org/show_bug.cgi?id=666615 gio/gaction.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit af24dbc12aa77aac3c82d39872878558cced7add Author: Ryan Lortie Date: Tue Dec 20 14:36:29 2011 -0500 gobject: loosen property override flag restrictions GObject enforces the following restrictions on property overrides: - must only add abilities: if the parent class supports readability/writability then the subclass must also support them. Subclasses are free to add readability/writability. - must not add additional restrictions: if the parent class doesn't have construct/construct-only restrictions then the subclass must not add them. Subclasses are free to remove restrictions. The problem with the previous implementation is that the check against adding construct/construct-only restrictions was being done even if the property was not previously writable. As an example: "readable" and "writable only on construct" was considered as being more restrictive than "read only". This patch tweaks the check to allow the addition of construct/construct-only restrictions for properties that were previously read-only and are now being made writable. https://bugzilla.gnome.org/show_bug.cgi?id=666615 gobject/gobject.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 68706bfa2b91d4eb33cddfca2b640fcc3ce80637 Author: Matthias Clasen Date: Tue Dec 20 12:15:05 2011 -0500 Add references to the dbus interface docs on the wiki And strip out the (now) redundant copy of that information from the sources. gio/gactiongroupexporter.c | 96 ++--------------------------------------- gio/gapplicationimpl-dbus.c | 4 ++ gio/gmenuexporter.c | 100 +------------------------------------------ 3 files changed, 9 insertions(+), 191 deletions(-) commit adbfa38c8e2ab859d252e566fa130a7023442d7d Author: Ryan Lortie Date: Mon Dec 19 22:56:05 2011 -0500 docs: remove duplicate GMenuModel from gio.types docs/reference/gio/gio.types | 1 - 1 file changed, 1 deletion(-) commit 541693f42d462f114055fd05d1ac536e0c6f46f5 Author: Ryan Lortie Date: Mon Dec 19 17:35:31 2011 -0500 winxp threads: fix some condition variable races There are some races in the condition variable emulation code for Windows XP with respect to timeouts while waiting. First, in the event of a timeout, we never remove the waiter from the condition variable. This can cause crashes later. That problem was found by Rodrigo Rivas Costa. Second, if the waiting thread times out and exits just as we were about to call SetEvent() on its waiter event, we could end up trying to access the waiter after it was closed/freed. We need to hold on to the lock a little bit longer to ensure that that's not possible. https://bugzilla.gnome.org/show_bug.cgi?id=666551 glib/gthread-win32.c | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) commit f3cf8c0ca8ea952c08ef29af1e84515a8f6a2d77 Author: Ryan Lortie Date: Mon Dec 19 15:24:52 2011 -0500 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f558d80100d4de5ffc50dac37857ca1b63c1480 Author: Dan Winship Date: Mon Dec 19 15:19:19 2011 -0500 gnetworkmonitornetlink.c: Fix a gsize->gssize https://bugzilla.gnome.org/show_bug.cgi?id=666422 gio/gnetworkmonitornetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fbe1fb8e4999dc9e7c30a19896e421e8a2c4103b Author: Ryan Lortie Date: Mon Dec 19 13:38:21 2011 -0500 glib 2.31.6 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) commit 5e8a10daf15afc8fa006a3ce9877541c344a4c67 Author: Ryan Lortie Date: Mon Dec 19 13:37:06 2011 -0500 gitignore build/win32/vs10/.gitignore | 6 ++++++ docs/reference/gio/gdbus-object-manager-example/.gitignore | 1 + gio/tests/.gitignore | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) commit 0a22f63ebe7ea1abe78e4b88287aaf31eb1bdb5e Author: Ryan Lortie Date: Mon Dec 19 10:47:45 2011 -0500 Drop public menu APIs from GApplication This is moving to Gtk, but we don't want to do it all right now. docs/reference/gio/gio-sections.txt | 4 -- gio/gapplication.c | 74 ++++++----------------------------- gio/gapplication.h | 8 ---- gio/gapplicationimpl-dbus.c | 14 +++++-- gio/gio.symbols | 4 -- 5 files changed, 21 insertions(+), 83 deletions(-) commit 0c094d660769a00564ef33a775a387f62cf2ff41 Author: Ryan Lortie Date: Mon Dec 19 10:47:28 2011 -0500 Drop the GApplication menu test gio/tests/Makefile.am | 4 -- gio/tests/gapplication-example-menu.c | 87 --------------------------------- 2 files changed, 91 deletions(-) commit db7707b41a48c062b8b7595bbfc241692eed7b62 Author: Daniel Mustieles Date: Mon Dec 19 17:13:11 2011 +0100 Updated Spanish translation po/es.po | 314 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 171 insertions(+), 143 deletions(-) commit 466432830c60c61fe99ac30e4914443b0f0bd979 Author: Giovanni Campagna Date: Sat Dec 17 20:08:50 2011 +0100 gsettings-tool: allow specifying custom schema dirs It happens that one wants to customize settings for plugins or shell extensions, that installing schemas in nonstandard locations. This patch adds the --schemadir option to gsettings, and ensure that the appropriate schema is found. https://bugzilla.gnome.org/show_bug.cgi?id=666415 gio/gsettings-bash-completion.sh | 41 ++++++--- gio/gsettings-tool.c | 179 ++++++++++++++++++++++---------------- 2 files changed, 133 insertions(+), 87 deletions(-) commit f59acb55c1758d5e620b4806036dbc997db24ad4 Author: Florian Müllner Date: Mon Dec 19 14:52:10 2011 +0100 gdesktopappinfo: Use "Keywords" instead of "X-GNOME-Keywords" The field has now been standardized, so drop the prefix. gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40413490374777c0aba8b569f5ad45ffc205cac0 Author: Matthias Clasen Date: Mon Dec 19 07:45:43 2011 -0500 Teach gtk-doc about G_GNUC_WARN_UNUSED_RESULT docs/reference/gio/Makefile.am | 3 ++- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 0971d36e4b8338f4f3f96d751f5275517514d3b1 Author: Ryan Lortie Date: Sat Dec 17 00:52:57 2011 -0500 GApplication: receiving end of GRemoteActionGroup Use the fact that the action group exporter now speaks to GRemoteActionGroup to get the platform data into GApplicion without hacks. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gapplication.c | 89 ++++++++++++++++++++++++++++++++++++++++++- gio/gapplicationimpl-dbus.c | 6 ++- gio/gapplicationimpl.h | 13 ++++--- 3 files changed, 100 insertions(+), 8 deletions(-) commit 1807ef336a94a1d2498e2ce77686c29db1aa6aac Author: Ryan Lortie Date: Sat Dec 17 00:26:11 2011 -0500 action group exporter: kill GApplication hackery Use the GRemoteActionGroup interface, if available, instead. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gactiongroupexporter.c | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) commit eefd08996f7657488cb8afed23667030d6bd45f7 Author: Ryan Lortie Date: Sat Dec 17 00:17:08 2011 -0500 introduce GRemoteActionGroup This interfaceifies the extra functions that were on GDBusActionGroup for dealing with platform data. The two main benefits of doing this: - no longer have to do a silly song and dance in GApplication to avoid calling GDBusActionGroup API from non-dbus-aware code - the interface can be reused by the action group exporter to avoid ugly and unbindable hook callbacks https://bugzilla.gnome.org/show_bug.cgi?id=665737 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 16 ++++ gio/Makefile.am | 2 + gio/gapplication.c | 19 ++--- gio/gapplicationimpl-dbus.c | 35 ++------- gio/gapplicationimpl.h | 14 +--- gio/gdbusactiongroup.c | 138 +++++++++++++---------------------- gio/gdbusactiongroup.h | 9 --- gio/gio.h | 1 + gio/gio.symbols | 5 +- gio/giotypes.h | 1 + gio/gremoteactiongroup.c | 136 ++++++++++++++++++++++++++++++++++ gio/gremoteactiongroup.h | 74 +++++++++++++++++++ 13 files changed, 303 insertions(+), 148 deletions(-) commit ee9f104432ee1ed0bf1e7461cf3264d0f0f1d297 Author: Ryan Lortie Date: Fri Dec 16 22:24:03 2011 -0500 GApplication: send platform data for actions again Use the _full variants of the GDBusActionGroup API to send platform data for action invocations once again. gio/gapplication.c | 16 +++++++--------- gio/gapplicationimpl-dbus.c | 20 ++++++++++++++++++++ gio/gapplicationimpl.h | 12 ++++++++++++ 3 files changed, 39 insertions(+), 9 deletions(-) commit f58df66d4d640ea926573104be9849037a3c8522 Author: Ryan Lortie Date: Fri Dec 16 22:23:30 2011 -0500 GDBusActionGroup: add _full variants of activation This allows the platform_data to be explicitly specified. docs/reference/gio/gio-sections.txt | 4 ++ gio/gdbusactiongroup.c | 93 ++++++++++++++++++++++++++++++----- gio/gdbusactiongroup.h | 9 ++++ gio/gio.symbols | 2 + 4 files changed, 95 insertions(+), 13 deletions(-) commit e5ed11bcf807b3e2c0a36c684e9b794ec253cd72 Author: Ryan Lortie Date: Fri Dec 16 21:25:57 2011 -0500 Revert "GDBusActionGroup: add static platform registration" This reverts commit fcc9902e98a6a6568a1150441c8680fd4615d437. gio/gactiongroupexporter.c | 10 ---------- gio/gdbusactiongroup.c | 32 ++------------------------------ gio/gdbusactiongroup.h | 14 +++----------- gio/gio.symbols | 1 - 4 files changed, 5 insertions(+), 52 deletions(-) commit e370631f46ca9b9d5b6ca1f7bbdf0ce708922ad3 Author: Ryan Lortie Date: Fri Dec 16 11:39:24 2011 -0500 GApplication: emit signals on action changes Now that we're a GActionMap the story about propagating signals from our (now-constant) internal action group is vastly simplified. If someone calls g_application_set_action_group() then signals will stop working -- but this function is deprecated and they never worked before, so no big loss there. https://bugzilla.gnome.org/show_bug.cgi?id=643736 gio/gapplication.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 11015f165229ac3cb5f008a8824f8135ec45c89a Author: Ryan Lortie Date: Thu Dec 15 13:27:27 2011 -0500 windows XP threads: fix hilariously obvious race I tried to do a double-checked lock without the double check. Rodrigo Rivas Costa caught the problem and suggested the (obviously correct) fix. https://bugzilla.gnome.org/show_bug.cgi?id=666296 glib/gthread-win32.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit fcc9902e98a6a6568a1150441c8680fd4615d437 Author: Ryan Lortie Date: Wed Dec 14 13:31:27 2011 -0500 GDBusActionGroup: add static platform registration We provide a mechanism by which a 'platform' (eg: Gtk) can register some hook functions to be called to collect platform-data at the point of sending an outgoing action activation request and also to inform the platform of this data on incoming requests (before and after dispatching the actual request). This can be used for forwarding timestamp and startup-notification information (as is presently done in GApplication) but the before/after hook could also be used for acquiring/releasing the Gdk lock or other similar things. https://bugzilla.gnome.org/show_bug.cgi?id=665737 gio/gactiongroupexporter.c | 10 ++++++++++ gio/gdbusactiongroup.c | 32 ++++++++++++++++++++++++++++++-- gio/gdbusactiongroup.h | 14 +++++++++++--- gio/gio.symbols | 1 + 4 files changed, 52 insertions(+), 5 deletions(-) commit 1d4009e6f7e1d368b3e3df2fa41b007277b600d8 Author: Ravi Sankar Guntur Date: Wed Dec 14 20:17:54 2011 +0530 Added API g_queue_free_full(). g_queue_free_full(), to free a Queue including its dynamically-allocated elements. On similar lines to List and Slist. void g_queue_free_full (GQueue *queue, GDestroyNotify free_func); Test case covering g_queue_free_full() is added. Added export symbol to glib.symbols. Closes Bug: https://bugzilla.gnome.org/show_bug.cgi?id=657433 Signed-off-by: Ravi Sankar Guntur glib/glib.symbols | 1 + glib/gqueue.c | 24 ++++++++++++++++++++++++ glib/gqueue.h | 2 ++ glib/tests/queue.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) commit 63e69b4958272c5c1525da60005cae6a974d0d48 Author: Colin Walters Date: Thu Dec 15 09:47:15 2011 -0500 GDBusActionGroup: Fix a typo in docs gio/gdbusactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 84df41c02c8806071d18e532432dff00a48ff369 Author: Dan Winship Date: Wed Dec 14 10:19:13 2011 -0500 configure.ac: robustify netlink.h check https://bugzilla.gnome.org/show_bug.cgi?id=666173 configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 14fb10d14b07cef6af8952bfdd0bd4d864876607 Author: Stef Walter Date: Fri Dec 9 18:19:24 2011 +0100 GBytes: add a size argument to g_bytes_get_data * An out size argument so that this is more easily bindable by gobject-introspection. https://bugzilla.gnome.org/show_bug.cgi?id=665879 glib/gbytes.c | 8 ++++++-- glib/gbytes.h | 3 ++- glib/gtimezone.c | 4 ++-- glib/gvariant-core.c | 5 ++--- glib/tests/array-test.c | 4 +++- glib/tests/bytes.c | 41 ++++++++++++++++++++++++++--------------- 6 files changed, 41 insertions(+), 24 deletions(-) commit 162bafee37ccd5d58260423a8120fdcba25ecad6 Author: Chris Coulson Date: Wed Dec 14 14:00:56 2011 +0000 Initialize service_loop before running the service thread Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666129 gio/tests/gdbus-peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6eda97d8e8440ea5b04c081d444916dc51ad220 Author: Matthias Clasen Date: Wed Dec 14 21:05:38 2011 -0500 menu markup: tolerate not having a hash table of objects Various places in the code were assuming that the hash table was always available. Fix this, and also avoid leaking strings now that the hash table may be NULL. Based on a patch by Simon McVittie, bug 666167 gio/gmenumarkup.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit e129deb0170c8a18e662c53db799f2ba16ebf26f Author: Simon McVittie Date: Wed Dec 14 16:56:15 2011 +0000 g_array_free, g_ptr_array_free: decrement refcount if not the last ref foo_free is conceptually "worth" one unref; not decrementing the refcount here means the GArray or GPtrArray wrapper (but not its contents) would leak in the following call sequence: p = g_ptr_array_new (); g_ptr_array_ref (p); g_ptr_array_free (p, TRUE); g_ptr_array_unref (p); Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/garray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit df9d9cc72f4d107f576322516a87e9fe0daa2539 Author: Simon McVittie Date: Wed Dec 14 16:53:24 2011 +0000 GArray, GPtrArray: factor out the actual freeing Depending how the array is freed, we may want to free the underlying array (the "segment"), the struct wrapper or both. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/garray.c | 57 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 14 deletions(-) commit 6457677b7db236ab580bdf546221f1e8d2102c80 Author: Simon McVittie Date: Wed Dec 14 16:46:56 2011 +0000 g_key_file_get_string_list: don't leak the pieces on error Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/gkeyfile.c | 1 + 1 file changed, 1 insertion(+) commit a1bd6e07172771f9a7e8006e5f1f824cc1f564ea Author: Simon McVittie Date: Tue Dec 13 18:18:27 2011 +0000 tls-interaction test: use a weak pointer instead of a deliberate use-after-free Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Dan Winship gio/tests/tls-interaction.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 0a7930d04879018b5ea451ee9708f40fe93a131e Author: Ryan Lortie Date: Tue Dec 13 20:54:24 2011 -0500 gdbus tests: remove buggy use of GMainLoop g_main_loop_quit() only quits mainloops that are currently running -- not ones that may run in the future. The way the gdbus-threading tests are written can possibly result in a call to g_main_loop_quit() before g_main_loop_run() has started. The mainloops aren't actually used for anything other than signalling the completion of the threads, so just use g_thread_join() for that. https://bugzilla.gnome.org/show_bug.cgi?id=666129 gio/tests/gdbus-threading.c | 25 ------------------------- 1 file changed, 25 deletions(-) commit a2e9318d4a8dc1257526814b8255210acd13d406 Author: Ryan Lortie Date: Wed Dec 14 09:32:11 2011 -0500 two test fixes for ARM First, some ARM systems are not fast enough to meet the 30 second deadline in gwakeuptest.c, so increase that to 60. Second, we have some signed/unsigned woes in the gparam transform tests. glib/tests/gwakeuptest.c | 4 ++-- gobject/tests/param.c | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) commit 995a2eb50bf7d9e46c029768691f93b31e09bdf8 Author: Simon McVittie Date: Tue Dec 13 18:18:07 2011 +0000 Plug some leaks in the GIO tests Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen gio/tests/data-input-stream.c | 1 + gio/tests/network-monitor.c | 8 ++++++++ gio/tests/pollable.c | 1 + gio/tests/socket.c | 3 +++ gio/tests/tls-certificate.c | 1 + 5 files changed, 14 insertions(+) commit f6b2847e5787a7c17a6d85f57049c5699451c246 Author: Simon McVittie Date: Tue Dec 13 14:46:02 2011 +0000 hash test: avoid leaking various keys and values Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen glib/tests/hash.c | 82 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 75 insertions(+), 7 deletions(-) commit 5dca72fe67aec5f98bfb68257c34ff133b59d22a Author: Simon McVittie Date: Mon Dec 12 18:56:21 2011 +0000 GOptionContext test: free all arguments, not just the remaining ones On success, g_option_context_parse alters argv by removing options that it understood, so g_strfreev is insufficient. Instead, take a shallow copy and free all of the arguments in that, then free the array argv but not its contents. Also, improve the checks in error cases, by checking that argv has not been altered in this way. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen glib/tests/option-context.c | 353 ++++++++++++++++++++++++++++++++----------- 1 file changed, 265 insertions(+), 88 deletions(-) commit 29f2ced8eb32d9001da8082c4530f017decb8267 Author: Simon McVittie Date: Tue Dec 13 19:01:42 2011 +0000 various GLib tests: plug memory leaks These don't really matter, since it's test code, but they do obscure real leaks in the library. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Acked-by: Matthias Clasen glib/tests/bookmarkfile.c | 6 ++---- glib/tests/cache.c | 2 ++ glib/tests/convert.c | 4 ++++ glib/tests/fileutils.c | 4 ++++ glib/tests/gvariant.c | 1 + glib/tests/gwakeuptest.c | 2 +- glib/tests/include.c | 1 + glib/tests/keyfile.c | 1 + glib/tests/mainloop.c | 3 +++ glib/tests/markup-parse.c | 33 ++++++++++++++++++++++++++------- glib/tests/mem-overflow.c | 23 +++++++++++++++++++---- glib/tests/node.c | 2 ++ glib/tests/option-argv0.c | 2 ++ glib/tests/option-context.c | 3 +++ glib/tests/protocol.c | 6 ++++++ glib/tests/queue.c | 12 ++++++++++-- glib/tests/sequence.c | 7 +++++++ glib/tests/strfuncs.c | 5 ++++- glib/tests/string.c | 4 ++++ glib/tests/timeout.c | 2 ++ glib/tests/tree.c | 1 + glib/tests/unix.c | 3 +++ glib/tests/uri.c | 15 ++++++++++++++- gobject/tests/boxed.c | 2 ++ gobject/tests/param.c | 1 + tests/testglib.c | 12 ++++++++++++ 26 files changed, 137 insertions(+), 20 deletions(-) commit a0f5e89aedd0fcd04164c35b1c77d194adfc698a Author: Simon McVittie Date: Mon Dec 12 15:55:59 2011 +0000 testglib: test_file_functions: don't close fd if it's -1 Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666115 Reviewed-by: Matthias Clasen tests/testglib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fedc0cff518067c26bad698798e50069c765d1f3 Author: Simon McVittie Date: Wed Dec 14 12:39:06 2011 +0000 Revert "g_menu_markup_start_element: tolerate not having a hash table of objects" This reverts commit bcdb60641196f98482b5e17fcc96a92589deba35, accidentally pushed before it was reviewed. gio/gmenumarkup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcdb60641196f98482b5e17fcc96a92589deba35 Author: Simon McVittie Date: Wed Dec 14 12:31:31 2011 +0000 g_menu_markup_start_element: tolerate not having a hash table of objects I don't know whether this is the right fix, but gio/tests/gmenumodel crashes out, which can't be right. gio/gmenumarkup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93f8f8158fc086312ad1e0711d403bb7479416ee Author: Simon McVittie Date: Mon Dec 12 18:58:03 2011 +0000 g_variant_byteswap: don't leak serialised.data Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a48edddc198237803474994a3c9813d3b21f4f78 Author: Simon McVittie Date: Tue Dec 13 18:16:55 2011 +0000 GDBusActionGroup: don't leak param_str Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen gio/gdbusactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c49a4dba82ea4edb8d09619caf3dc4f65e92f9dc Author: Simon McVittie Date: Tue Dec 13 14:44:18 2011 +0000 g_data_set_internal: avoid use-after-free if datalist is in dataset Removing the last thing in a dataset frees the dataset, and if the datalist was in a dataset, we can't safely unlock it after the dataset has been freed. Unlock it sooner. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Matthias Clasen glib/gdataset.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 0bf8378840ef553262fa4f8c981c867f8f6efaaf Author: Simon McVittie Date: Mon Dec 12 18:37:10 2011 +0000 g_strcompress: check that source is non-NULL rather than just crashing Calling this function with a NULL argument is considered to be invalid, but one of the regression tests does it anyway (to watch it crash), which seems a good indication that it's expected to be somewhat common. Let's check it rather than segfaulting. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi Reviewed-by: Matthias Clasen glib/gstrfuncs.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit fbab468da531c41a516024171e67c2a7088979dd Author: Simon McVittie Date: Tue Dec 13 18:17:13 2011 +0000 g_dbus_action_group_changed: don't leak iterator and its contents Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi gio/gdbusactiongroup.c | 1 + 1 file changed, 1 insertion(+) commit 90baa7e460c86c4c1d22f791482a2380467a190a Author: Simon McVittie Date: Mon Dec 12 18:35:14 2011 +0000 GKeyFile: free group comments when the group is removed These were leaked. Valgrind was sad. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/gkeyfile.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 9ddb2f8091e72e2c03794e65bd35031e49559dff Author: Simon McVittie Date: Mon Dec 12 18:34:47 2011 +0000 g_hmac_get_string: don't allocate and leak an unused buffer Also document why we're not actually using the buffer for anything. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/ghmac.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 64ca85ceaeb0375ff5931d45810015d5d2c774f1 Author: Simon McVittie Date: Mon Dec 12 15:54:50 2011 +0000 g_hmac_copy: initialize the refcount In practice, the uninitialized refcount will typically mean that the copy is never freed, and leaks. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=666113 Reviewed-by: Emmanuele Bassi glib/ghmac.c | 1 + 1 file changed, 1 insertion(+) commit edfab83c07ccac635dae15f0b8ee30c662d239a3 Author: Matthias Clasen Date: Wed Dec 14 07:16:04 2011 -0500 Add an explicit deprecation note to g_thread_init https://bugzilla.gnome.org/show_bug.cgi?id=666145 glib/deprecated/gthread-deprecated.c | 4 ++++ 1 file changed, 4 insertions(+) commit b386d9ffb70879fed888f15c8ca41957e02c280c Author: Matthias Clasen Date: Wed Dec 14 00:10:34 2011 -0500 Add another menu parser test This one concerns itself with objects. gio/tests/gmenumodel.c | 62 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 46 insertions(+), 16 deletions(-) commit b153e38ff0b6fc7c6532e6dfc5b0f7305a360574 Author: Matthias Clasen Date: Tue Dec 13 23:16:25 2011 -0500 GMenuModel: Flesh out the docs some more gio/gmenumodel.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit c14a3b3e9c43a32552223c05f1559717eeccec95 Author: Matthias Clasen Date: Tue Dec 13 23:06:16 2011 -0500 GMenu: purge references to GMenuProxy from the docs gio/gmenuexporter.c | 4 ++-- gio/gmenumodel.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7e92997539b481e31b5566b4885c8b5158488daa Author: Stef Walter Date: Tue Dec 13 23:00:16 2011 -0500 documentation fixes Fixes for gtk-doc warnings. http://bugzilla.gnome.org/show_bug.cgi?id=66469 https://bugzilla.gnome.org/show_bug.cgi?id=664699 docs/reference/glib/glib-sections.txt | 4 ++ docs/reference/gobject/gobject-sections.txt | 2 + glib/docs.c | 6 ++- glib/garray.c | 12 ++--- glib/gbacktrace.h | 2 +- glib/gerror.c | 2 +- glib/gfileutils.c | 10 ++--- glib/ggettext.c | 2 +- glib/ghook.c | 4 +- glib/giochannel.c | 10 ++--- glib/glib-init.c | 2 +- glib/glib-unix.c | 20 +++++---- glib/glib-unix.h | 4 +- glib/gmain.c | 6 +-- glib/gmain.h | 3 +- glib/gmessages.c | 6 +-- glib/gpoll.h | 3 ++ glib/gscanner.c | 65 ++++++++++++++++++--------- glib/gscanner.h | 10 ++++- glib/gspawn.c | 8 ++-- glib/gspawn.h | 34 +++++++------- glib/gstdio.c | 2 +- glib/gstrfuncs.c | 54 +++++++++++----------- glib/gtestutils.c | 12 ++--- glib/gthread-posix.c | 2 +- glib/gthread.c | 8 ++-- gmodule/gmodule.c | 1 + gobject/genums.c | 2 +- 28 files changed, 169 insertions(+), 127 deletions(-) commit b0c3997fdd553eca363dfd0f3c4da9938800acf9 Author: Matthias Clasen Date: Tue Dec 13 12:56:20 2011 -0500 Improve GNetworkMonitor docs Make sure we get signal and property docs, and mention the extension point in the overview. docs/reference/gio/gio.types | 1 + docs/reference/gio/overview.xml | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) commit f3dde2d4057f5dfa5cbc9f1e3f13d596608b0b3b Author: Christophe Fergeau Date: Mon Dec 12 15:06:41 2011 +0100 gnetworkmonitornetlink.c: Fix compilation on RHEL 6.2 When trying to compile glib master on a RHEL 6.2 system, it fails with: make[4]: Entering directory `/home/teuf/gnome/src/glib/gio' CC libgio_2_0_la-gnetworkmonitornetlink.lo In file included from gnetworkmonitornetlink.c:25: /usr/include/linux/netlink.h:35: error: expected specifier-qualifier-list before 'sa_family_t' gnetworkmonitornetlink.c: In function 'g_network_monitor_netlink_initable_init': gnetworkmonitornetlink.c:99: error: 'struct sockaddr_nl' has no member named 'nl_family' gnetworkmonitornetlink.c:100: error: 'struct sockaddr_nl' has no member named 'nl_pid' gnetworkmonitornetlink.c:100: error: 'struct sockaddr_nl' has no member named 'nl_pad' gnetworkmonitornetlink.c:101: error: 'struct sockaddr_nl' has no member named 'nl_groups' make[4]: *** [libgio_2_0_la-gnetworkmonitornetlink.lo] Error 1 sa_family_t is defined in sys/socket.h, this commit makes sure this header is included before netlink.h This fixes bgo bug #666001 gio/gnetworkmonitornetlink.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit b79d1f8619951322efcfab02df65d868fa247ac7 Author: Ryan Lortie Date: Tue Dec 13 09:16:51 2011 -0500 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab15175567d11600d0293fb4028718d2dead2e76 Author: Chun-wei Fan Date: Tue Dec 13 12:12:48 2011 +0800 Update VS property sheets "Install" the newly-added public headers in GLib and GIO, such as the ones for GMenuModel, etc. build/win32/vs10/glib.props | 28 ++++++++++++++++++++++++++-- build/win32/vs9/glib.vsprops | 14 +++++++++++++- 2 files changed, 39 insertions(+), 3 deletions(-) commit b6890e94fe304adc8d00f0211d3ed546841bf388 Author: Alexandre Franke Date: Mon Dec 12 20:36:29 2011 +0100 Fix wording délai épuisé has been replaced with délai dépassé po/fr.po | 6126 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3123 insertions(+), 3003 deletions(-) commit 2f9ab64ac9dc4aeba4a6a297888986d26515d6f8 Author: Ryan Lortie Date: Mon Dec 12 13:28:24 2011 -0500 glib 2.31.4 NEWS | 17 ++++++++++++++--- configure.ac | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) commit 93f17967e4c6c5194d3c0cc4512169b6bd394bf7 Author: Ryan Lortie Date: Mon Dec 12 13:28:09 2011 -0500 GActionGroupExporter: stop using signal IDs GDBusConnection recently changed to dispatching its GDestroyNotify calls from an idle instead of on-the-spot. Under the previous regime, we would destroy-notify the action group export of a GtkApplicationWindow at the point it was removed from the application (ie: slightly before being disposed). With the destroy notify now deferred to an idle, the window has already been disposed, so the signal handlers have already been disconnected. Avoid the problem by dropping our use of signal IDs and just do g_signal_handlers_disconnect_by_func(), which doesn't complain if there is no connection. gio/gactiongroupexporter.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit bbae5fe94193104ea24124e284bc3cccf9bdcb73 Author: Ryan Lortie Date: Mon Dec 12 13:13:42 2011 -0500 GMenuMarkup parser: small typo fix in docs gio/gmenumarkup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8cde0b507ed2d131a1e88d3701b62be2fb012ac Author: Ryan Lortie Date: Mon Dec 12 13:08:48 2011 -0500 More clearly define 'named menu' in the XML parser This is when menus have id='' attributes. gio/gmenumarkup.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 60bcb367832b5e625e51d11f863a9044712de924 Author: Ryan Lortie Date: Mon Dec 12 13:07:04 2011 -0500 GMenu parser: use G_MARKUP_COLLECT_BOOLEAN ...instead of trying to parse the boolean for ourselves. gio/gmenumarkup.c | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) commit 5c70759482d9fe8797020590071615386831b86e Author: Ryan Lortie Date: Mon Dec 12 10:43:54 2011 -0500 update maintainers in glib.doap (at request of sysadmin team) glib.doap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4f5732f721d11545bfd2ad3a971a44b76bfa7273 Author: Matthias Clasen Date: Mon Dec 12 01:44:41 2011 -0500 GApplication: fix a copy-paste error Activating an action must not turn into a change-state request. gio/gapplication.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit dec7ed8abad74baa70160e0652171666d5ca461f Author: Matthias Clasen Date: Mon Dec 12 00:01:20 2011 -0500 Rearrange GApplication long desc a bit gio/gapplication.c | 53 ++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) commit e24241384793b9d4648d00df8ac972dafcbc87a0 Author: Matthias Clasen Date: Mon Dec 12 00:00:16 2011 -0500 Expand actiongroup docs a bit more gio/gactiongroup.c | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) commit 840482658a7cdacd012df6edba78edf7f7862036 Author: Matthias Clasen Date: Sun Dec 11 12:05:23 2011 -0500 Fix an assertion when activating apps a second time This was causing the following critical when running bloatpad twice: GLib-CRITICAL **: g_hash_table_insert_internal: assertion `hash_table != NULL' failed gio/gdbusactiongroup.c | 3 +++ 1 file changed, 3 insertions(+) commit f40de4b15201eaf6936e7d82eeeb3c044067be7c Author: Matthias Clasen Date: Sat Dec 10 22:14:34 2011 -0500 Add some more since tags gio/gmenu.c | 8 ++++++-- gio/gmenumodel.c | 12 +++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) commit f0eb58075a9716e5eb976e160b374c23a04ec5e5 Author: Matthias Clasen Date: Sat Dec 10 21:55:11 2011 -0500 Add a since tag gio/gfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 042954de9f990e53e81374c1b14ad53c7e4f7018 Author: Matthias Clasen Date: Sat Dec 10 21:49:10 2011 -0500 Fix since tag glib/gunicode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d6d127c96de7317c6364ff7abfb29475e644df2 Author: Matthias Clasen Date: Sat Dec 10 21:46:13 2011 -0500 Whitespace fixes And add some missing since tags. gio/gnetworkmonitor.c | 66 ++++++------- gio/gnetworkmonitorbase.c | 166 +++++++++++++++++---------------- gio/gnetworkmonitornetlink.c | 210 +++++++++++++++++++++--------------------- 3 files changed, 223 insertions(+), 219 deletions(-) commit d50f77b394641fbf3d8b57e1328d4a5bbceac31e Author: Matthias Clasen Date: Sat Dec 10 21:42:49 2011 -0500 Add g_application_set/get_default to the docs docs/reference/gio/gio-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit f109415d950edae973ca630046deb7aebf3c8ddd Author: Matthias Clasen Date: Sat Dec 10 20:47:22 2011 -0500 Add since tags gio/gdbusactiongroup.c | 4 +- gio/gdbusmenumodel.c | 5 ++- gio/gmenu.c | 102 ++++++++++++++++++++++++++++++++++++------------ gio/gmenuexporter.c | 4 +- gio/gmenumarkup.c | 16 ++++++-- gio/gmenumodel.c | 68 +++++++++++++++++++++++--------- 6 files changed, 150 insertions(+), 49 deletions(-) commit 829b4dfb43c118602d1c333a1a1fb7ec50cef7b0 Author: Ryan Lortie Date: Sat Dec 10 17:21:53 2011 -0500 Clean up GApplication docs Clean up the docs for GApplication and related classes. I'm no longer writing documentation for the structure type of classes and interfaces. See https://bugzilla.gnome.org/show_bug.cgi?id=665926 for discussin on the correct way forward on this point. Also: stop putting gtk-doc comments in installed headers. docs/reference/gio/gio-sections.txt | 4 +++- gio/Makefile.am | 32 ++++++++++++++++++-------------- gio/gaction.c | 17 +++++++++++++++++ gio/gaction.h | 14 -------------- gio/gactiongroup.c | 23 +++++++++++++++++++++++ gio/gactiongroup.h | 20 -------------------- gio/gactionmap.c | 15 ++++++++++++++- gio/gapplication.c | 35 +++++++++++++++++++++++++++++++++++ gio/gapplication.h | 35 ----------------------------------- gio/gapplicationcommandline.c | 8 ++++++++ gio/gapplicationcommandline.h | 16 ---------------- 11 files changed, 118 insertions(+), 101 deletions(-) commit a8927732c9889d345fd34384b25a930ba8b76ef8 Author: Ryan Lortie Date: Sat Dec 10 14:06:18 2011 -0500 GDate: gtk-doc fixup glib/gdate.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit 3e06a34abaa0cee15b5372d5c9ba546509c2dd87 Author: Seong-ho, Cho Date: Sat Dec 10 23:32:23 2011 +0900 Updated Korean translation po/ko.po | 5780 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2915 insertions(+), 2865 deletions(-) commit ee4b21bc8c1c00d58009e0537b815677e10f2451 Author: Yaron Shahrabani Date: Sat Dec 10 11:03:08 2011 +0200 Updated Hebrew translation. po/he.po | 612 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 338 insertions(+), 274 deletions(-) commit 4eeac41d7dd9b75d2d44f5542f70d4f795a34333 Author: Colin Walters Date: Fri Dec 9 11:13:23 2011 -0500 gfile: Don't use C++ keyword "template" as variable name This breaks autotestkeyword.cc from gtk+. gio/gfile.c | 8 ++++---- gio/gfile.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 8fcb73b0a90e663f5b1bf6d7b2554623c6b14968 Author: Aleksander Morgado Date: Fri Dec 9 12:11:53 2011 +0100 gdbus-codegen: fix typo in generated documentation Fixes https://bugzilla.gnome.org/show_bug.cgi?id=665858 gio/gdbus-2.0/codegen/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 721667399a2ebc198292ecb5bfedc8f296aef04d Author: Thomas Hindoe Paaboel Andersen Date: Thu Dec 8 23:17:07 2011 +0100 GFile: add g_file_new_temp A convenience function that creates a temporary file and returns a GFile and GFileIOStream for it. The file is created using g_file_open_tmp. https://bugzilla.gnome.org/show_bug.cgi?id=657085 docs/reference/gio/gio-sections.txt | 1 + gio/gfile.c | 54 ++++++++++++++++++++++++++++++++++- gio/gfile.h | 3 ++ gio/gio.symbols | 1 + gio/glocalfileoutputstream.c | 10 +++++++ gio/glocalfileoutputstream.h | 1 + 6 files changed, 69 insertions(+), 1 deletion(-) commit e50d8a11b273498407cd360330533bda80e1f38d Author: Matthias Clasen Date: Fri Dec 9 08:01:12 2011 -0500 Cosmetic doc change gobject/gobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 605856adfa0cbd2a4cfed63bf013c86f09d15f04 Author: Piotr Drąg Date: Fri Dec 9 12:55:40 2011 +0100 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 8d428e3cc43e4732feba2c47237b0a50c08cab92 Author: Matthias Clasen Date: Thu Dec 8 23:44:30 2011 -0500 GApplication: Make ::startup run-first https://bugzilla.gnome.org/show_bug.cgi?id=665817 gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94a2ed4bc2dad2547b4ae89aad40b4d4483e2d0d Author: Matthias Clasen Date: Thu Dec 8 22:00:24 2011 -0500 Updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit a65429cf4442168981130463e2e40fc1bf136293 Author: Ryan Lortie Date: Thu Dec 8 17:52:10 2011 -0500 gio.symbols fixes gio/gio.symbols | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit a6366dc2892ff476a737f36ddfb0952895e58158 Author: Ryan Lortie Date: Thu Dec 8 17:49:01 2011 -0500 GDBusActionGroup: make API just like GDBusMenuModel Have one simple _get() API that returns the group immediately, in an empty state. The group is initialised on the first attempt to interact with it. Leave a secret 'back door' for GApplication to do a blocking initialisation. docs/reference/gio/gio-sections.txt | 5 +- gio/gapplicationimpl-dbus.c | 12 +- gio/gdbusactiongroup.c | 430 ++++++++++++++++------------------- gio/gdbusactiongroup.h | 16 +- gio/tests/actions.c | 18 +- 5 files changed, 216 insertions(+), 265 deletions(-) commit 0fdd9985bb4c840d1767f1e15e2fa5c97870ed7a Author: Ryan Lortie Date: Thu Dec 8 16:06:01 2011 -0500 GDBusActionGroup: drop ability to 'inject' Also drop the GDBusActionGroupFlags that were only meant to facilitate injection-based usage. gio/gapplicationimpl-dbus.c | 3 +- gio/gdbusactiongroup.c | 97 ++++++++++++------------------------------- gio/gdbusactiongroup.h | 8 ---- gio/gioenums.h | 19 --------- gio/tests/actions.c | 2 +- 5 files changed, 29 insertions(+), 100 deletions(-) commit caa6287f399422677f6496412c2e009e686c42c2 Author: Matthias Clasen Date: Thu Dec 8 00:46:03 2011 -0500 More documentation fixes gio/gapplication.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 04aab0cd46c1623f3dc6b4524f41c0a4cf243868 Author: Matthias Clasen Date: Thu Dec 8 00:31:23 2011 -0500 Fix up docs docs/reference/gio/gio-docs.xml | 2 +- docs/reference/gio/gio-sections.txt | 14 +++++++------- docs/reference/gio/gio.types | 2 +- gio/gdbusactiongroup.c | 2 +- gio/gdbusmenumodel.c | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) commit 39bebbed8241d9ce5209eff2d3dd5793e4221505 Author: Matthias Clasen Date: Wed Dec 7 22:31:10 2011 -0500 Don't use deprecated GApplication api in examples gio/tests/gapplication-example-actions.c | 10 ++-------- gio/tests/gapplication-example-menu.c | 14 +++----------- 2 files changed, 5 insertions(+), 19 deletions(-) commit 13e084437b6d3611ccd59f18aa799c87a2bfc3fd Author: Ryan Lortie Date: Wed Dec 7 21:22:51 2011 -0500 GDBusMenuModel: become thread-aware Allow imports of the same menu on multiple different main contexts at the same time by creating a separate object for each context. gio/gdbusmenumodel.c | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) commit 25ffde957cfcaa07c44a348da61d04456865d396 Author: Ryan Lortie Date: Wed Dec 7 21:10:18 2011 -0500 menu threaded test: run the mainloop after export GDBusConnection now dispatches GDestroyNotify calls back to the mainloop. Adding an idle to the mainloop is O(n) in the number of idles already there. We therefore need to periodically empty the mainloop to avoid quadratic behaviour with a very large 'n'. gio/tests/gmenumodel.c | 1 + 1 file changed, 1 insertion(+) commit 1c036cb9f525853174c96d11e77160c315476df0 Author: Ryan Lortie Date: Wed Dec 7 21:05:38 2011 -0500 Rename GMenuProxy to GDBusMenuModel This improves consistency with GDBusActionGroup. gio/Makefile.am | 4 +- gio/gdbusmenumodel.c | 907 ++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusmenumodel.h | 45 +++ gio/gio.h | 2 +- gio/gmenuproxy.c | 907 ------------------------------------------------ gio/gmenuproxy.h | 44 --- gio/tests/gmenumodel.c | 8 +- 7 files changed, 959 insertions(+), 958 deletions(-) commit 14900d37f46ecab99deb4fd97822f1f2ec105c40 Author: Ryan Lortie Date: Wed Dec 7 20:39:23 2011 -0500 action exporter: clarify threading situation Exporting can only be done relative to a particular given main context and all interaction with the action group must be on that same context. Fix up the implementation so that the user can specify that context with the normal (thread default) mechanism and document the limitation on the API. Adjust the testcase to adhere to the documentation limitations. It passes now. gio/gactiongroupexporter.c | 16 ++++++++++++++-- gio/tests/actions.c | 41 ++++++++++++++++++----------------------- 2 files changed, 32 insertions(+), 25 deletions(-) commit 7af08e1fc06fbf0180d3e6c3b8314cda5258c0f6 Author: Ryan Lortie Date: Wed Dec 7 20:23:41 2011 -0500 action exporter: use GSource* instead of source id Keep track of the GSource* of our event dispatch idle instead of using source ID. gio/gactiongroupexporter.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit 64e3e10c9827ff53c8388ebfb672810a6c5fa658 Author: Ryan Lortie Date: Wed Dec 7 14:43:50 2011 -0500 action exporter: cancel pending events on unexport If there are events pending when we unexport the action group, free them and cancel the pending idle. gio/gactiongroupexporter.c | 5 +++++ 1 file changed, 5 insertions(+) commit 21aca44ee1c16bec9338fe3df1b285a9f0ffaf4a Author: Ryan Lortie Date: Wed Dec 7 10:35:29 2011 -0500 GMenuModel exporter: remove workaround With Bug 665733 fixed, we can remove the workaround (which was causing thread safety problems). gio/gmenuexporter.c | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) commit 328bf4616a3ffa45ffe3c1e6b1a00f658b108897 Author: Matthias Clasen Date: Wed Dec 7 00:58:01 2011 -0500 Add testcase for threaded menu exporter use This currently fails gio/tests/gmenumodel.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit f1a403e80983a33dbe7cebb7a60c24ecaf0f2d28 Author: Matthias Clasen Date: Wed Dec 7 00:43:49 2011 -0500 Add a test for multithreaded action group exporter use gio/tests/actions.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 77f6e6a97f96312eac0fec06e032fc686e7fca59 Author: Ryan Lortie Date: Sun Dec 4 21:33:55 2011 -0500 GApplication dbus: publish the menus again gio/gapplicationimpl-dbus.c | 150 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) commit 690596e9fbcad66f1692f92f919cd3be61ee27cb Author: Matthias Clasen Date: Sat Dec 3 22:26:59 2011 -0500 Fully implement app-menu and menubar properties gio/gapplication.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit ac8bc3d40732e6b2fb759e9fdc2f11a8d0e1e885 Author: Ryan Lortie Date: Sat Dec 3 17:17:13 2011 -0500 GApplication: make menu properties readwrite Otherwise the notify signals won't be emitted. gio/gapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ef8c443092e52e5f4a934c77b1e30a06f59451d9 Author: Ryan Lortie Date: Fri Dec 2 17:47:34 2011 -0500 menumodel test: don't get stuck in a loop Sometimes randa and randb end up having the same state, causing them to return the same stream of 'random numbers'. This is a problem for the testcase that is looping to find unequal menus. If we find ourselves in this state, throw one of the random generators away and recreate it so we have a better chance of getting some unequal menus. gio/tests/gmenumodel.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 4f2c2077457bcd59ff09b2829b9f25b45e37a515 Author: Ryan Lortie Date: Fri Dec 2 16:50:09 2011 -0500 menu/action exporter docs fixup docs/reference/gio/gio-sections.txt | 10 ++++----- gio/gactiongroupexporter.c | 36 +++++++++++++++++++++++---------- gio/gactiongroupexporter.h | 2 +- gio/gmenuexporter.c | 38 ++++++++++++++++++++++------------- gio/gmenuexporter.h | 2 +- 5 files changed, 55 insertions(+), 33 deletions(-) commit 46e3dca2e4c3b9c83f88894984046f6a376281c9 Author: Ryan Lortie Date: Fri Dec 2 16:29:28 2011 -0500 gio symbol cleanups gio/gio.symbols | 16 ++++++++-------- gio/gmenuproxy.c | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) commit cfbc1b5a4b0bdf6de856fc054149e8f558970dff Author: Ryan Lortie Date: Fri Dec 2 15:36:15 2011 -0500 Menu model exporter: clean up the API Give it the same treatment as the exporter for GActionGroup just got. There is a wart here: the exporter attempt to re-enter GDBusConnection when it is freed in order to cancel outstanding name watches. GDBusConnection holds its own lock while calling the destroy notify, so the attempt at reentrancy results in a deadlock. We have a workaround to deal with that for now... gio/gmenuexporter.c | 176 +++++++++++++----------------------------------- gio/gmenuexporter.h | 15 ++--- gio/tests/gmenumodel.c | 12 ++-- 3 files changed, 58 insertions(+), 145 deletions(-) commit a9f03596fa6da9999f3493d1deb8771f52efea3f Author: Ryan Lortie Date: Fri Dec 2 15:17:56 2011 -0500 GApplication: menu can change after registration Allow the menu to be changed after registration. This is quite useful for setting up the menus from the ::startup handler instead of having to do it before registration because it lets you skip the work if you're not the primary instance. gio/gapplication.c | 8 -------- 1 file changed, 8 deletions(-) commit f7886d6adbef560ea9dcc2ced3f327c927899752 Author: Ryan Lortie Date: Fri Dec 2 15:04:53 2011 -0500 Action group exporter: clean up the API Make it look more like a typical GDBusConnection API with integer registration ID and corresponding unexport call. Kill the 'query' call. gio/gactiongroupexporter.c | 127 ++++++++++--------------------------------- gio/gactiongroupexporter.h | 15 ++--- gio/gapplicationimpl-dbus.c | 12 ++-- gio/tests/actions.c | 10 ++-- 4 files changed, 45 insertions(+), 119 deletions(-) commit 5a3276930089a801e86ddc3fef2167e4dcca5704 Author: Ryan Lortie Date: Fri Dec 2 14:24:17 2011 -0500 GApplication: simplify dbus impl The error handling on register() was just totally out of hand before. Clean that mess up. Take out the menu export for now as well. It will be added back again later. gio/gapplicationimpl-dbus.c | 298 ++++++++++++++++++------------------------- 1 file changed, 123 insertions(+), 175 deletions(-) commit 03d894d81fffefe837b4fa072338308a96f6f25d Author: Ryan Lortie Date: Fri Dec 2 11:19:18 2011 -0500 GApplication dbus: use XML for introspection The hand-written structures are hard to read and cause quite a lot of relocations at library load time. Avoid that. gio/gapplicationimpl-dbus.c | 144 ++++++++++++++++++++----------------------- 1 file changed, 66 insertions(+), 78 deletions(-) commit 088682d860b80eb843e2c15026cc5b10f00b9ed7 Author: Ryan Lortie Date: Fri Dec 2 10:32:28 2011 -0500 GApplication: implement GActionMap and deprecate g_application_set_action_group(). gio/gapplication.c | 70 +++++++++++++++++++++++++++++++++++++++++++--------- gio/gapplication.h | 1 + 2 files changed, 60 insertions(+), 11 deletions(-) commit 75f1802a1c88007e2d29b5ac0cb55d9eb3b3a794 Author: Ryan Lortie Date: Thu Dec 1 22:53:07 2011 -0500 Fix some GMenu and GMenuItem leaking gio/gapplication.c | 6 ++++++ gio/gmenumarkup.c | 1 + 2 files changed, 7 insertions(+) commit 38216273665bb264d5f86157191b0a9a5ab8ad1d Author: Ryan Lortie Date: Thu Dec 1 12:14:04 2011 -0500 GApplication: make distinction about menus Rename g_application_set_menu to g_application_set_app_menu and make a couple of fixups. Clarify the documentation about exactly what this menu is meant to be. Add g_application_set_menubar and document that as well. docs/reference/gio/gio-sections.txt | 6 +- gio/gapplication.c | 139 +++++++++++++++++++++++++++------ gio/gapplication.h | 10 ++- gio/gapplicationimpl-dbus.c | 10 +-- gio/tests/gapplication-example-menu.c | 2 +- 5 files changed, 130 insertions(+), 37 deletions(-) commit 8777b08a5ac72c1c8fb54d7ab5d5aa180094f427 Author: Colin Walters Date: Thu Dec 1 09:38:04 2011 -0500 gsimpleaction: Ensure actions are enabled gio/gsimpleaction.c | 1 + 1 file changed, 1 insertion(+) commit a8a8633cef2472ad85dc17a50cc0433a068db7dc Author: Matthias Clasen Date: Wed Nov 30 23:19:35 2011 -0500 Include gactionmap.h in gio.h gio/gio.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit eb09099f6502a952a933d0bcb1043a929dcee12c Author: Matthias Clasen Date: Wed Nov 30 19:04:08 2011 -0500 Minor doc improvements docs/reference/gio/gio-sections.txt | 1 - gio/gaction.c | 2 +- gio/gmenumodel.c | 18 +++++++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) commit c8e76fdda2dc932ddf471d8a6c6a7ced750bfd41 Author: Matthias Clasen Date: Wed Nov 30 19:03:41 2011 -0500 Add GActionMap to the docs docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 22 +++++++++++- docs/reference/gio/gio.types | 1 + gio/gactionmap.c | 66 +++++++++++++++++++++++++++++++---- gio/gsimpleactiongroup.c | 8 ++--- 5 files changed, 87 insertions(+), 11 deletions(-) commit 41e5ba86a791a17bb560dd7813ad7e849e0230dc Author: Colin Walters Date: Wed Nov 30 17:26:59 2011 -0500 GSimpleAction: Fix to comply with constructor rules foo_new_*() must be pure wrappers around g_object_new(), otherwise their functionality is inaccessible to bindings. gio/gaction.c | 12 +++++--- gio/gsimpleaction.c | 82 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 57 insertions(+), 37 deletions(-) commit 76527e5cd5e864f1695b3afe0d6350e7546606bb Author: Ryan Lortie Date: Wed Nov 30 11:36:08 2011 -0500 add GActionMap interface This is an interface to represent GSimpleActionGroup-like objects (ie: those GActionGroups that operate by containing a number of named GAction instances). gio/Makefile.am | 2 + gio/gactionmap.c | 211 ++++++++++++++++++++++++++++++++++++++ gio/gactionmap.h | 94 +++++++++++++++++ gio/gio.symbols | 5 + gio/giotypes.h | 1 + gio/gsimpleactiongroup.c | 250 +++++++++++++++------------------------------- gio/gsimpleactiongroup.h | 23 +---- 7 files changed, 392 insertions(+), 194 deletions(-) commit 02b001f8f600b3a44883fe0337b20967c3420bde Author: Ryan Lortie Date: Tue Nov 29 08:18:38 2011 -0500 gmenu exporter: put submenus in separate groups Keep sections in the same subscription group as the parent (since they will be needed immediately) but put submenus in a separate group. gio/gmenuexporter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a0a94cd6c68e339bc36a998ea7ce9f5b5b87d586 Author: Ryan Lortie Date: Tue Nov 29 08:16:19 2011 -0500 menu tests: keep mirror of proxy Create a 'mirror' model of the proxy for the testcase. In addition to testing that the proxy model emits the proper signals this also keeps the proxy alive (by holding references to it from the mirror). The previous code would create the submenu proxies and destroy them right away (from the recursive step in the equality comparison functions). This means that the subscription would go out over D-Bus and the proxy would be destroyed before it returned. Keeping the model alive allows it to be actually updated. gio/tests/gmenumodel.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit d6f2281329ca6b70e63537d41b2b6cf0b9aa94ef Author: Matthias Clasen Date: Mon Nov 28 20:37:07 2011 -0500 Shorten a variable name gio/gmenuexporter.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit ad09498fa7dd6e759236cdc9893e50c4ed6afbd3 Author: Matthias Clasen Date: Mon Nov 28 18:34:08 2011 -0500 Expand dbus action group tests The new tests check that activation and state changes propagate back. gio/tests/actions.c | 83 +++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 67 insertions(+), 16 deletions(-) commit 5718804e5894de7de19d9fb98ae831d60ba001d7 Author: Matthias Clasen Date: Mon Nov 28 18:13:16 2011 -0500 Some more assertions gio/tests/gmenumodel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 22c9d20b7aad101d795a8034866a637b8d3bd611 Author: Matthias Clasen Date: Mon Nov 28 18:12:46 2011 -0500 Add some dbus action group tests gio/tests/actions.c | 214 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) commit 7ef3e27255d66af428f046b58281d4402a045b54 Author: Matthias Clasen Date: Mon Nov 28 18:12:17 2011 -0500 Fix the dbus action group query_action implementation gio/gdbusactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5002cb29358ed3161afe1395397ccd995806c281 Author: Matthias Clasen Date: Mon Nov 28 18:11:25 2011 -0500 Make stopping an action group export work gio/gactiongroupexporter.c | 2 ++ 1 file changed, 2 insertions(+) commit 7a0faf66fe41649def3753eda09149883991da60 Author: Ryan Lortie Date: Mon Nov 28 11:45:20 2011 -0500 rework GMenuProxy links Only resolve the link at the point that we pull it through the API rather than at the point that we first are told about it. This reduces the lifespan of subscriptions and, more importantly, avoids a tricky reference cycle issue. gio/gmenuproxy.c | 72 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 31 deletions(-) commit 2c4ded15e53d2c0e46aeaab2bea50320d86b4f37 Author: Ryan Lortie Date: Mon Nov 28 11:44:25 2011 -0500 g_menu_model_get_item_link: be careful with refs Don't unref the hashtable until after we already take the ref on the value that was contained in the hashtable, otherwise we may kill the value. gio/gmenumodel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1bb0a89de65e93dc055cb6147318d3760a535a8d Author: Matthias Clasen Date: Mon Nov 28 10:22:25 2011 -0500 Add debug code This adds a dump method to show the entire tree of proxies. gio/gmenuproxy.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 2cf4866e33127a4f1dd2dbae94583af7c6457f1c Author: Matthias Clasen Date: Mon Nov 28 07:51:57 2011 -0500 Avoid cross-talk between tests Each test needs to remove the sources that it attaches to the default main context, or else things will work fine in isolation, but go bad in a full test run. gio/tests/gmenumodel.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 39ce59f955ad04d4689d82dd35029723f7e7f3cd Author: Matthias Clasen Date: Mon Nov 28 07:40:55 2011 -0500 Typo fix gio/gmenuproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff833ccac9d8c175e8879540d042d4fb76fdad10 Author: Matthias Clasen Date: Mon Nov 28 00:18:39 2011 -0500 Remove unused variable gio/tests/gmenumodel.c | 1 - 1 file changed, 1 deletion(-) commit 500f8fbac5efda5b0970020af15b17ff14629aac Author: Matthias Clasen Date: Sun Nov 27 23:28:53 2011 -0500 Add a test for menu subscriptions gio/tests/gmenumodel.c | 165 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 163 insertions(+), 2 deletions(-) commit efd23e23c68d2fa90c24870c5f89db96796fd41e Author: Matthias Clasen Date: Sun Nov 27 18:52:15 2011 -0500 Take out excessive width gio/gmenuproxy.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 381b23fc85a4c5f94497394a68146c540cb26dab Author: Matthias Clasen Date: Sun Nov 27 18:50:04 2011 -0500 Reduce excessive width gio/gmenumarkup.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit f9f0ef19d7d163abc822e06f9e6b09c80cc8b1f7 Author: Matthias Clasen Date: Sun Nov 27 18:46:57 2011 -0500 whitespace fix gio/gmenu.h | 1 + 1 file changed, 1 insertion(+) commit 0f88b7af3375ab6ed43be46e51409262526f0c70 Author: Matthias Clasen Date: Sun Nov 27 18:12:52 2011 -0500 Add some tests for links gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 0760bf5850ebde4d87db035d3b38c1f1873f0d2a Author: Matthias Clasen Date: Sun Nov 27 16:51:13 2011 -0500 Add parser roundtrip tests gio/tests/gmenumodel.c | 160 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 158 insertions(+), 2 deletions(-) commit a2aeea7acdd0c98b14c3b8d9519fc479748b0ca3 Author: Matthias Clasen Date: Sun Nov 27 16:50:17 2011 -0500 GMenuMarkup: fixes uncovered by roundtrip testing The print function was forgetting to emit type information for attributes, and the parser was not handling types properly either. gio/gmenumarkup.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit d5a1b674f5a54ed0edef8d46d8e73715b7d88cd8 Author: Matthias Clasen Date: Sun Nov 27 13:46:49 2011 -0500 Improve docs Specify that g_menu_item_set_attribute_value consumes floating @values. gio/gmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 41c19c7df8f13101a40e7df115efbb8cd8de3f67 Author: Matthias Clasen Date: Sun Nov 27 02:16:51 2011 -0500 GApplication: Add a menu example to the docs gio/gapplication.c | 8 +++ gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-menu.c | 95 +++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) commit 8d96e68eeb6fddff167e730492be6f33a0e543a6 Author: Matthias Clasen Date: Sun Nov 27 01:44:14 2011 -0500 GMenu: Enforce attribute name restrictions The code assumes in various places that ':' does not occur in attribute names. We are a little more strict than that, and only allow lowercase ASCII, digits and '-'. gio/gmenu.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 61 insertions(+), 4 deletions(-) commit 9bebf15077e462f1c3e657df5d377b5ec6e806c3 Author: Matthias Clasen Date: Sun Nov 27 01:16:39 2011 -0500 Reduce excessive width of gmenu.h gio/gmenu.h | 198 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 99 insertions(+), 99 deletions(-) commit 58a8c02dfb2b003d4bb104dbe622b31c816107bc Author: Matthias Clasen Date: Sun Nov 27 01:06:17 2011 -0500 Match up a parameter name gio/gmenu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 60ab57c4b07edb4be50f240f07b8fbd7f73918a0 Author: Matthias Clasen Date: Sun Nov 27 00:54:17 2011 -0500 Describe the org.gtk.Menus interface Even though we consider the interface to be an implementation detail, we should have internal documentation of the interface. gio/gmenuexporter.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) commit cd22e1967d82cfd37cd018c058d7e60a3c92df6f Author: Matthias Clasen Date: Sun Nov 27 00:52:51 2011 -0500 Describe the org.gtk.Actions interface Even though we consider the interface to be an implementation detail, we should have internal documentation for the interface. gio/gactiongroupexporter.c | 93 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit db34b1aebebfab110078ddea2f509fa338e7c8c7 Author: Matthias Clasen Date: Sat Nov 26 23:21:12 2011 -0500 Rename exporter APIs There are no public 'exporter' objects, so don't allude to them in the function names. At the same time, we want to make it clear that these functions are D-Bus specific. The new APIs are g_action_group_dbus_export_start g_action_group_dbus_export_query g_action_group_dbus_export_stop g_menu_model_dbus_export_start g_menu_model_dbus_export_query g_menu_model_dbus_export_stop docs/reference/gio/gio-sections.txt | 12 ++++++------ gio/gactiongroupexporter.c | 30 +++++++++++++++--------------- gio/gactiongroupexporter.h | 16 ++++++++-------- gio/gapplicationimpl-dbus.c | 28 ++++++++++++++-------------- gio/gdbusactiongroup.c | 2 +- gio/gio.symbols | 12 ++++++------ gio/gmenuexporter.c | 34 +++++++++++++++++----------------- gio/gmenuexporter.h | 18 ++++++++---------- gio/gmenuproxy.c | 2 +- gio/tests/gmenumodel.c | 4 ++-- 10 files changed, 78 insertions(+), 80 deletions(-) commit 435b2418dae32a5d5e5ee750744e4061d1cf07b8 Author: Matthias Clasen Date: Sat Nov 26 21:44:46 2011 -0500 GActionGroup: Mention GMenuModel in the docs gio/gactiongroup.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit ae0bd032cac1931fba13bd7a20040760edcd349c Author: Matthias Clasen Date: Sat Nov 26 22:17:47 2011 -0500 Add g_application_set_menu This adds ane asy way to export menu information alongside the actions that are already exported by GApplication. docs/reference/gio/gio-sections.txt | 2 + gio/gapplication.c | 73 +++++++++++++++++++++++++++++++++-- gio/gapplication.h | 4 ++ gio/gapplicationimpl-dbus.c | 39 +++++++++++++++++++ gio/gio.symbols | 2 + 5 files changed, 117 insertions(+), 3 deletions(-) commit 6dfb9d583f264da11430acbc7c141f3955fe78ed Author: Ryan Lortie Date: Fri Oct 21 23:51:48 2011 -0400 Add GMenuModel testcases gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 + gio/tests/gmenumodel.c | 625 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 629 insertions(+) commit d110fd9202a1084e1fe1d8efcfbdda1d078945e4 Author: Ryan Lortie Date: Fri Oct 21 22:49:54 2011 -0400 Add GMenuProxy GMenuProxy can be used as a client-side wrapper for the a menu model that has been exported on D-Bus. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 14 + docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 2 + gio/gmenuproxy.c | 858 +++++++++++++++++++++++++++++++++++ gio/gmenuproxy.h | 44 ++ 8 files changed, 923 insertions(+) commit 66e089f086c0243eb43847137081bf99f2fc89dc Author: Matthias Clasen Date: Sat Nov 26 21:02:15 2011 -0500 Add GMenuModel D-Bus exporter docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 7 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 3 + gio/gmenuexporter.c | 884 +++++++++++++++++++++++++++++++++++ gio/gmenuexporter.h | 45 ++ 7 files changed, 943 insertions(+) commit 6b40d4eb6bf2a974e52be34e7c25b9f9f98242db Author: Matthias Clasen Date: Sat Nov 26 22:00:48 2011 -0500 Add GMenu markup These functions serialize and deserialize a GMenuModel to and from XML. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 10 + gio/Makefile.am | 5 + gio/gio.h | 1 + gio/gio.symbols | 6 + gio/gmenumarkup.c | 717 +++++++++++++++++++++++++++++++++++ gio/gmenumarkup.h | 47 +++ gio/menumarkup.dtd | 29 ++ gio/menumarkup.xml | 26 ++ gio/menumarkup2.xml | 75 ++++ 10 files changed, 917 insertions(+) commit 13f59777350f120dd82d1bd36e15155057b073c3 Author: Matthias Clasen Date: Sat Nov 26 22:48:24 2011 -0500 Add GMenu docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 62 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 29 + gio/gmenu.c | 1019 +++++++++++++++++++++++++++++++++++ gio/gmenu.h | 130 +++++ 8 files changed, 1245 insertions(+) commit 12a39a05d3085783923a3613d6a93987732d4d0a Author: Matthias Clasen Date: Sat Nov 26 22:46:51 2011 -0500 Add GMenuModel docs/reference/gio/Makefile.am | 4 +- docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 76 +++ docs/reference/gio/gio.types | 8 + docs/reference/gio/menu-example.png | Bin 0 -> 31470 bytes docs/reference/gio/menu-model.png | Bin 0 -> 20647 bytes gio/Makefile.am | 8 +- gio/gio.h | 1 + gio/gio.symbols | 22 + gio/giotypes.h | 2 + gio/gmenumodel.c | 954 +++++++++++++++++++++++++++++++++++ gio/gmenumodel.h | 195 +++++++ 12 files changed, 1268 insertions(+), 3 deletions(-) commit df4cd241e5fd03d539295fa428a00a584b526353 Author: Matthias Clasen Date: Sat Nov 26 22:30:02 2011 -0500 GApplication: use GDBusActionGroup instead of the internal version of the same gio/gapplication.c | 84 +++++----------- gio/gapplicationimpl-dbus.c | 234 ++----------------------------------------- gio/gapplicationimpl.h | 14 +-- 3 files changed, 32 insertions(+), 300 deletions(-) commit c249e10d117c432aad540b4009c334411c77ea2d Author: Ryan Lortie Date: Fri Jul 1 02:41:30 2011 +0100 Add GDBusActionGroup GDBusActionGroup can be used as a client-side wrapper for the an action group that has been exported on D-Bus. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 20 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gdbusactiongroup.c | 574 +++++++++++++++++++++++++++++++++++ gio/gdbusactiongroup.h | 74 +++++ gio/gio.h | 1 + gio/gio.symbols | 6 + gio/gioenums.h | 20 ++ gio/giotypes.h | 1 + 10 files changed, 700 insertions(+) commit bc5fe41dec00a80ee0f9e827898e75e0553ed39c Author: Ryan Lortie Date: Thu Jun 30 10:40:51 2011 +0100 GApplication: port action client to new D-Bus API for compatibility with GActionGroup exporter gio/gapplicationimpl-dbus.c | 205 +++++++++++++++++++++++-------------------- 1 file changed, 110 insertions(+), 95 deletions(-) commit 20d1de3a1bfd0cc297dc8a5224fa274aaa6fca4a Author: Ryan Lortie Date: Thu Jun 30 09:52:24 2011 +0100 GApplication: use GActionGroup exporter instead of home-grown internal implementation of the same gio/gapplicationimpl-dbus.c | 203 +++---------------------------------------- 1 file changed, 12 insertions(+), 191 deletions(-) commit 940ec94f0a0f1c1c77deaf4eb88722f155544445 Author: Ryan Lortie Date: Wed Jun 29 01:02:21 2011 +0100 Add GActionGroup D-Bus exporter docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 7 + gio/Makefile.am | 2 + gio/gactiongroupexporter.c | 624 +++++++++++++++++++++++++++++++++++ gio/gactiongroupexporter.h | 48 +++ gio/gio.h | 1 + gio/gio.symbols | 3 + 7 files changed, 686 insertions(+) commit 8d1cc7f4635c1ab5cb9a7963b3dfebba56d87629 Author: Ryan Lortie Date: Fri Dec 2 16:22:13 2011 -0500 Revert "Use an XML blob for gapplication interface info" This reverts commit 8013401f6e4edb01dd31b716c179806b55d4064b. gio/gapplicationimpl-dbus.c | 165 ++++++++++++++++++++++++++++--------------- 1 file changed, 107 insertions(+), 58 deletions(-) commit 45818762d398588fd36be138e9981525d98bf687 Author: Ryan Lortie Date: Fri Dec 2 16:22:01 2011 -0500 Revert "Forgot one interface..." This reverts commit 30580bdca7764525a49899dd56dcdde25a300a21. gio/gapplicationimpl-dbus.c | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) commit 888a52034bcd06b6b5aeac98d372216d1f7b2798 Author: Matthias Clasen Date: Wed Dec 7 20:41:33 2011 -0500 Updates NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 3d686e3d8f6af393b01fe38cd7d29517e52dea50 Author: Matthias Clasen Date: Wed Dec 7 14:36:56 2011 -0500 Clarify docs around main loop vfuncs Mention that the vfuncs are no longer used, and tweak the wording around what g_application_run() does. https://bugzilla.gnome.org/show_bug.cgi?id=665391 gio/gapplication.c | 4 ++-- gio/gapplication.h | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) commit 70dacf83d23ed468ff60972fd166769482d7195f Author: David Zeuthen Date: Wed Dec 7 10:25:24 2011 -0500 Bug 665733 – GDBusConnection holds lock while calling destroynotify Fix this problem by always running the destroynotify from an idle. https://bugzilla.gnome.org/show_bug.cgi?id=665733 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 45 +++++++++++++++++---------------------------- gio/tests/gdbus-export.c | 4 ++++ 2 files changed, 21 insertions(+), 28 deletions(-) commit 386bb0faadd98c190f171cbdd4c51dba50e85505 Author: Philip Withnall Date: Tue Dec 6 19:41:31 2011 +0000 unicode: Fix a few issues with G_UNICHAR_MAX_DECOMPOSITION_LENGTH Raised by Matthias in bgo#665685 but which I didn't spot until after pushing commit 3ac7c35656649b1d1fcf2ccaa670b854809d4cd8. Renames G_UNICHAR_MAX_DECOMPOSITION_LEN to G_UNICHAR_MAX_DECOMPOSITION_LENGTH and fixes a few documentation issues. See: bgo#665685 docs/reference/glib/glib-sections.txt | 1 + glib/gunicode.h | 4 ++-- glib/gunidecomp.c | 5 +++-- glib/guniprop.c | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) commit 3ac7c35656649b1d1fcf2ccaa670b854809d4cd8 Author: Philip Withnall Date: Tue Dec 6 18:30:43 2011 +0000 Bug 665685 — Add a #define for the max length of a Unicode decomposition Add G_UNICHAR_MAX_DECOMPOSITION_LEN for the maximum length of the decomposition of a single Unicode character. Closes: bgo#665685 glib/gunicode.h | 12 ++++++++++++ glib/gunidecomp.c | 4 ++-- glib/guniprop.c | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) commit 990af4b3725faba230abc6c2e68c112da6f13b41 Author: David Zeuthen Date: Tue Dec 6 13:32:12 2011 -0500 GDBus: Note in docs that g_dbus_node_info_new_for_xml() is using GMarkup This was discussed in bug 665634. https://bugzilla.gnome.org/show_bug.cgi?id=665634 Signed-off-by: David Zeuthen gio/gdbusintrospection.c | 4 ++++ 1 file changed, 4 insertions(+) commit 74e131551dcc347fa659183aa19558c0509f0445 Author: David Zeuthen Date: Tue Dec 6 13:29:01 2011 -0500 GDBus: fix link to D-Bus spec Signed-off-by: David Zeuthen gio/gdbusintrospection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10a154446c2427861656763b68f312e48f7d0bd6 Author: Behdad Esfahbod Date: Tue Dec 6 13:20:39 2011 -0500 Minor doc fix. glib/gunidecomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91fb373d553779b7b2b535c44a3236907f0a72c8 Author: Behdad Esfahbod Date: Tue Dec 6 13:18:47 2011 -0500 Minor glib/guniprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6bb8fdaa5fad07713b189ea53e6c5afd67ad9b4e Author: Matthias Clasen Date: Tue Dec 6 07:43:35 2011 -0500 Make the qsort_r check cross-compile friendly Pointed out by Daniel Mack. https://bugzilla.gnome.org/show_bug.cgi?id=665607 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 482f226270efd6c0c8d336b9146376986979e1f4 Author: Benjamin Otte Date: Mon Dec 5 22:40:18 2011 +0100 outputstream: Clarify docs of flush() After questioning the semantics of flush on IRC, it seemed necessary to clarify what flushing is supposed to do. The Linux man page for fflush() seemed to cover it perfectly, so I just copied it. I did not add the "via the underlying write mechanism" part as that in my opinion is not something subclasses should need to guarantee. gio/goutputstream.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit fd1e9938b36677587dfe9960dacb678bbd3981bf Author: Cosimo Alfarano Date: Wed Jan 19 19:08:15 2011 +0000 Send CHANGES_DONE_HINT on file moves if no IN_CLOSE_WRITE is emitted This patch makes GFileMonitor to emit EVENT_CHANGES_DONE_HINT when EVENT_CREATED is emitted but the file is not opened for writing. On file moves across different mounted volumes, inotify will always emit IN_CREATE and IN_CLOSE_WRITE (plus other events). This translates into GIO's _EVENT_CREATED and _EVENT_CHANGES_DONE_HINT. On file moves across the same mounted volumes, inotify will emit IN_MOVED_FROM/IN_MOVED_TO which will be translated into _EVENT_DELETED/_EVENT_CREATED GIO's side. No _EVENT_CHANGES_DONE_HINT is emited afterwards. Under such circumstances a file indexer does not know when actually the file is ready to be indexed, either waiting too much or triggering the indexing twice. On small devices it's not advisable. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=640077 Bug-NB: NB#219982 Reviewed-by: Simon McVittie Reviewed-by: Tomas Bzatek gio/inotify/inotify-helper.c | 24 ++++++++++++++++++++++++ gio/inotify/inotify-kernel.c | 4 +++- gio/inotify/inotify-kernel.h | 8 ++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) commit 83d0c8a7396e8c1f70619e01f0b0c06fd22790b7 Author: Simon McVittie Date: Mon Nov 28 17:54:46 2011 +0000 GDBusConnection: propagate error correctly if flags are inappropriate Previously, this would fail the assertion "connection->initialization_error != NULL" after the label "out". Bug: https://bugzilla.gnome.org/show_bug.cgi?id=665067 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15437a7e5a89dcb2a812f829bc8e9e1db7ce350b Author: Sam Thursfield Date: Thu Dec 1 15:48:27 2011 +0000 Link to libpcre correctly when static linking https://bugzilla.gnome.org/show_bug.cgi?id=665298 glib-2.0.pc.in | 1 + 1 file changed, 1 insertion(+) commit eb315b68cf6b868e100b8171661d2e162a37bf21 Author: Daniel Mustieles Date: Fri Dec 2 18:27:07 2011 +0100 Updated Spanish translation po/es.po | 203 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 98 insertions(+), 105 deletions(-) commit a00530ecb0e8576e7a023f37a97528da4d0dfce5 Author: Tristan Van Berkom Date: Fri Dec 2 11:20:21 2011 -0500 GDBusInterfaceSkeleton: make it possible to export on multiple connections This is useful in peer-to-peer connections. With minor changes by David Zeuthen . https://bugzilla.gnome.org/show_bug.cgi?id=662718 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 + gio/gdbus-2.0/codegen/codegen.py | 56 ++++-- gio/gdbusinterfaceskeleton.c | 364 ++++++++++++++++++++++++++++------- gio/gdbusinterfaceskeleton.h | 6 + gio/gio.symbols | 3 + gio/tests/Makefile.am | 8 +- gio/tests/gdbus-peer.c | 239 +++++++++++++++++++++++ 7 files changed, 592 insertions(+), 87 deletions(-) commit 22da18fa706c685da015c9b9a786d810270b3a5f Author: Philip Withnall Date: Wed Nov 30 10:20:13 2011 +0000 GVariant: add preconditions to ref. counting functions These prevent GVariants from accidentally being brought back to life after being freed, and should make it easier to track down ref. counting issues. Closes: bgo#665184 glib/gvariant-core.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 190645bcc40a4dda579cb5cabd3b1778628d9ef6 Author: Kjartan Maraas Date: Thu Dec 1 18:01:02 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 76 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 33 insertions(+), 43 deletions(-) commit e79834958718725493029a61c62f3faf6a4d039c Author: Dan Winship Date: Thu Dec 1 13:10:25 2011 +0100 GMemoryInputStream/GMemoryOutputStream: fix bug in previous commit A g_input_stream_read_async() implementation can't call g_input_stream_read() on itself directly because it will fail because the pending flag is already set. So fix that by invoking the vmethod directly rather than calling the wrapper. Likewise with GMemoryOutputStream. Add a test to gio/tests/memory-input-stream.c to catch read_async failures in the future. gio/gmemoryinputstream.c | 12 +++++-- gio/gmemoryoutputstream.c | 16 ++++++---- gio/tests/memory-input-stream.c | 66 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 8 deletions(-) commit a5876e5fc1b1e192e8cde664780957798b8a2607 Author: Dan Winship Date: Wed Nov 30 10:32:42 2011 +0100 GMemoryInputStream/GMemoryOutputStream: make these properly subclassable The async methods were directly invoking their own implementations of the sync methods, making it impossible for a subclass to reimplement them. https://bugzilla.gnome.org/show_bug.cgi?id=664635 gio/gmemoryinputstream.c | 4 ++-- gio/gmemoryoutputstream.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) commit b13e79da62b256058e4ca1d9fdd46376d3013f16 Author: Matthias Clasen Date: Tue Nov 29 22:53:50 2011 -0500 Don't abort if g_ascii_strtod tests fail https://bugzilla.gnome.org/show_bug.cgi?id=652560 glib/tests/strfuncs.c | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) commit 22748dbbc9c20c149ccfd4ae99e7aeea490820da Author: Geek87 Date: Mon Jul 25 13:08:24 2011 +0200 Remove two useless lines of code https://bugzilla.gnome.org/show_bug.cgi?id=648516 glib/gtree.c | 2 -- 1 file changed, 2 deletions(-) commit 27e70806c1e4a44d2ff753cba152446ab1762fd5 Author: Geek87 Date: Mon Jul 25 13:06:02 2011 +0200 Fix a little comment error in the _GTreeNode struct https://bugzilla.gnome.org/show_bug.cgi?id=648516 glib/gtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3aa0fc43a6811cdc4126d5678e03ab991e1f4bf6 Author: Matthias Clasen Date: Tue Nov 29 22:09:58 2011 -0500 Clarify local_command_line docs https://bugzilla.gnome.org/show_bug.cgi?id=641720 gio/gapplication.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit f24d8247b3a20cc62b4be50a0515acffd7e7d277 Author: Nicola Fontana Date: Tue Nov 29 22:02:00 2011 -0500 Do not use static GTypeInfo and GInterfaceInfo Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600161 docs/reference/gobject/tut_gtype.xml | 8 ++++---- docs/reference/gobject/tut_howto.xml | 2 +- gobject/gboxed.c | 2 +- gobject/genums.c | 2 +- gobject/gobject.c | 2 +- gobject/gparam.c | 2 +- gobject/gtype.h | 2 +- gobject/gtypemodule.c | 4 ++-- gobject/gtypeplugin.c | 2 +- gobject/gvaluetypes.c | 2 +- gobject/testgobject.c | 6 +++--- tests/gobject/defaultiface.c | 2 +- tests/gobject/deftype.c | 2 +- tests/gobject/ifacecheck.c | 2 +- tests/gobject/ifaceinit.c | 2 +- tests/gobject/testcommon.h | 6 +++--- tests/refcount/objects.c | 2 +- tests/refcount/objects2.c | 2 +- tests/refcount/properties.c | 2 +- tests/refcount/properties2.c | 2 +- tests/refcount/signals.c | 2 +- 21 files changed, 29 insertions(+), 29 deletions(-) commit 1f33446e1fae721cc6c8f260afe2ebfa42dd51c8 Author: Dan Winship Date: Tue Nov 29 21:45:37 2011 +0100 gnetworkmonitornetlink.c: Make the error messages less geeky This makes several different errors have identical messages, but they're pretty much "can't happen" situations anyway. https://bugzilla.gnome.org/show_bug.cgi?id=664406 gio/gnetworkmonitornetlink.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 69043de3e00cbc1f661e9613000cd820ea989ba5 Author: Dan Winship Date: Tue Nov 29 21:42:41 2011 +0100 gzlibdecompressor.c: fix a comment gio/gzlibdecompressor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0627759331d857a3b99eec0ed2c13e5cf7f67130 Author: Michael Vogt Date: Tue Nov 29 12:00:38 2011 +0100 Add missing annotation to g_file_set_attribute() g_file_set_attribute() also permits a NULL value for value_p, and requires it to be NULL to unset it. Also fix the wrong variable name in the documentation. Signed-off-by: Martin Pitt gio/gfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 30580bdca7764525a49899dd56dcdde25a300a21 Author: Matthias Clasen Date: Mon Nov 28 19:57:44 2011 -0500 Forgot one interface... gio/gapplicationimpl-dbus.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit 8013401f6e4edb01dd31b716c179806b55d4064b Author: Matthias Clasen Date: Mon Nov 28 19:33:24 2011 -0500 Use an XML blob for gapplication interface info This is both more readable and more efficient. Double win ! gio/gapplicationimpl-dbus.c | 165 +++++++++++++++---------------------------- 1 file changed, 58 insertions(+), 107 deletions(-) commit 4ce5a11dafb0999aa26b36b32df18124e8ebd51d Author: Carlos Garcia Campos Date: Fri Nov 25 15:39:31 2011 +0100 gtester: Add command line option to skip tests https://bugzilla.gnome.org/show_bug.cgi?id=664809 docs/reference/glib/gtester.xml | 7 +++++++ glib/gtester.c | 18 ++++++++++++++++++ glib/gtestutils.c | 17 +++++++++++++++++ 3 files changed, 42 insertions(+) commit e4b7cfcb038c4e19d23fae19e0d68705dfef2d63 Author: Matthias Clasen Date: Sat Nov 26 22:38:32 2011 -0500 Rearrange GApplication docs Move the GApplication docs to the front of the section, where they belong. docs/reference/gio/gio-docs.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01ce06ac272aa31c5cf572d551195c45c4e65c15 Author: Ryan Lortie Date: Fri Oct 21 23:54:31 2011 -0400 gio.symbols: add g_application_[gs]et_default() gio/gio.symbols | 2 ++ 1 file changed, 2 insertions(+) commit c7dc66602aeee9c1c3692666998bb77ae5818a0f Author: Matthias Clasen Date: Sat Nov 26 01:42:21 2011 -0500 Cosmetics Reword the title of GSimpleAction in the docs. gio/gsimpleaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a81cdf297ca97e375d28463556a7b838f4fb0ac1 Author: Ryan Lortie Date: Thu Sep 29 23:52:16 2011 -0400 GApplication: add default application gio/gapplication.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gapplication.h | 3 +++ 2 files changed, 52 insertions(+) commit 95c3796d6af8017d5b789938dc7518fd6576a65e Author: Ryan Lortie Date: Thu Jun 30 09:47:40 2011 +0100 GApplication: unregister action interface export We missed a few cases of unexporting the action group interface (in error cases, and on GApplication teardown). gio/gapplicationimpl-dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 2cbc6d9ae6a949818f48c20d3f4230688371e2ea Author: Matthias Clasen Date: Sat Nov 26 19:43:46 2011 -0500 GApplication: Implement query_action gio/gapplication.c | 138 ++++++++++++---------------------------------------- 1 file changed, 32 insertions(+), 106 deletions(-) commit c3a2c280c3697938f0666a737bbfb96ad20dc132 Author: Matthias Clasen Date: Fri Nov 25 22:35:33 2011 -0500 GSimpleActionGroup: Implement query_action gio/gsimpleactiongroup.c | 94 ++++++++++------------------------------------ 1 file changed, 20 insertions(+), 74 deletions(-) commit f468e9c3097cb8a797091822c52fee29d5bdca90 Author: Ryan Lortie Date: Thu Nov 24 19:52:48 2011 -0500 Add g_action_group_query_action() This new API allows requesting multiple pieces of information about a particular action in one go and also simplifies the burden for GActionGroup implementations -- they need not implement all the separate APIs now. docs/reference/gio/gio-sections.txt | 7 +- gio/gactiongroup.c | 184 ++++++++++++++++++++++++++++++++++- gio/gactiongroup.h | 17 ++++ gio/gio.symbols | 1 + 4 files changed, 204 insertions(+), 5 deletions(-) commit fcc69fd318f55ca0edc52864b4c0488b304b8382 Author: Stef Walter Date: Fri Nov 11 17:08:26 2011 +0100 GBytes: A new type for an immutable set of bytes. * Represents an immutable reference counted block of memory. * This is basically the internal glib GBuffer structure exposed, renamed, and with some additional capabilities. * The GBytes name comes from python3's immutable 'bytes' type * GBytes can be safely used as keys in hash tables, and have functions for doing so: g_bytes_hash, g_bytes_equal * GByteArray is a mutable form of GBytes, and vice versa. There are functions for converting from one to the other efficiently: g_bytes_unref_to_array() and g_byte_array_free_to_bytes() * Adds g_byte_array_new_take() to support above functions https://bugzilla.gnome.org/show_bug.cgi?id=663291 docs/reference/glib/Makefile.am | 2 +- docs/reference/glib/glib-sections.txt | 21 +- docs/reference/gobject/gobject-sections.txt | 1 + glib/Makefile.am | 5 +- glib/garray.c | 77 ++++- glib/garray.h | 4 + glib/gbuffer.c | 210 ------------ glib/gbufferprivate.h | 88 ----- glib/gbytes.c | 478 +++++++++++++++++++++++++++ glib/gbytes.h | 69 ++++ glib/glib.h | 1 + glib/glib.symbols | 16 + glib/gmappedfile.c | 11 - glib/gmappedfile.h | 1 + glib/gtimezone.c | 27 +- glib/gvariant-core.c | 50 +-- glib/gvariant-core.h | 6 +- glib/gvariant.c | 26 +- glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 + glib/tests/array-test.c | 33 ++ glib/tests/bytes.c | 331 +++++++++++++++++++ gobject/gboxed.c | 1 + gobject/glib-types.h | 10 + gobject/gobject.symbols | 1 + 25 files changed, 1102 insertions(+), 371 deletions(-) commit 069ec3719c65be5663c10eb98569e45e13501d97 Author: Matthias Clasen Date: Wed Nov 23 18:13:44 2011 -0500 Fix distcheck Now that we have switched to template-free docs, these hand-rolled cleanup rules get in the way. docs/reference/gio/Makefile.am | 2 +- docs/reference/gio/gdbus-object-manager-example/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 0104c62f3fda9016658809d79cf395d78611e35a Author: Simon McVittie Date: Thu Oct 20 15:01:47 2011 +0100 GInitable, GAsyncInitable: not initializing gives undefined behaviour This is the ISO C sense of undefined behaviour, in which works-by-coincidence, critical warning, abort, demons-fly-out-of-your-nose are all valid implementations. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662208 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gasyncinitable.c | 8 +++++--- gio/ginitable.c | 31 ++++++++++++++++++++----------- 2 files changed, 25 insertions(+), 14 deletions(-) commit 968ef5f5ffbe5e694bae3052bea34e9b9d1aef35 Author: Simon McVittie Date: Wed Nov 23 11:20:15 2011 +0000 GDBusWorker: continue_writing: initialize flush_async_data if closing This was a regression in commit f41178c6c: flush_async_data wasn't necessarily NULL in the "don't flush" case. Also move initialization of these variables up so that it's unconditional, since that's easier to verify than checking that each branch gets it right. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=664617 Signed-off-by: Simon McVittie gio/gdbusprivate.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 1b01109377a4780431996d617643704351a27d8f Author: Matthias Clasen Date: Tue Nov 22 23:57:18 2011 -0500 Add some more mainloop tests glib/tests/mainloop.c | 178 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) commit d0e2865a2ed237be1867b212cba6740e7f15fbc0 Author: Matthias Clasen Date: Tue Nov 22 19:31:30 2011 -0500 Remove unnecessary includes These were meant for some other test that ended up not getting added. This fixes bug 664559. glib/tests/mainloop.c | 3 --- 1 file changed, 3 deletions(-) commit 2da24259ab2a4da63885155460e281beb3d5998b Author: Matthias Clasen Date: Tue Nov 22 19:25:03 2011 -0500 Fix !debug builds As pointed out by Chun-wei Fan in bug 664455, parts of the merged gobjectnotifyqueue.c code ended up inside an #ifdef G_ENABLE_DEBUG section. gobject/gobject.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 6dde6b7f21af0d3748f142c3f718f1d4cb21739e Author: Matthias Clasen Date: Tue Nov 22 19:12:48 2011 -0500 Add back required _XOPEN_SOURCE define This got lost somewhere between 2.30 and now, but it is needed for isnan(). See bug 664354, reported by Tim Mooney. glib/tests/strfuncs.c | 1 + 1 file changed, 1 insertion(+) commit 345688c9e9d811b2844ea573c82be63cb02996ce Author: Ryan Lortie Date: Tue Nov 22 17:32:04 2011 -0500 GApplication: don't fail if can't get session bus If we can't get on the session bus, just behave like a normal non-unique application. This turns out to be remarkably easy to implement and lets us avoid adding a 'dummy' backend. Add a test for this case as well. Idea from Zachary Dovel. https://bugzilla.gnome.org/show_bug.cgi?id=651997 gio/gapplicationimpl-dbus.c | 15 +++++++++------ gio/tests/gapplication.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 6 deletions(-) commit 1f02ef3205e810dd937f316f5a7b58ecc2893d59 Author: Matthias Clasen Date: Tue Nov 22 11:06:07 2011 -0500 gio: Move gmodule to Requires.private Users of GIO are not generally expected to use gmodule API, so don't force them all to link against it. gio-2.0.pc.in | 5 +++-- gio-unix-2.0.pc.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit c4a11858cfb098ccc25d35dd7f5461c51b7f6ad3 Author: Simon McVittie Date: Tue Nov 22 12:39:54 2011 +0000 GDBusConnection: don't pass boolean > 1 to _g_dbus_worker_new This happens to work at the moment (because GDBusWorker.frozen is a gboolean and not just a 1-bit bitfield), but isn't right: the gboolean ends up with values 0 or G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING (which is more than 1). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=664558 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95faa44f2d04593f201a2d98210575e894d4cf01 Author: Dan Winship Date: Tue Nov 22 08:56:54 2011 -0500 GSocketInputStream/GSocketOutputStream: fix win32 build based on a patch from Chun-wei Fan https://bugzilla.gnome.org/show_bug.cgi?id=664455 gio/gsocketinputstream.c | 10 +++++++--- gio/gsocketoutputstream.c | 9 +++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) commit 38a00cec67709e5c154398e8cbb8f15a15bed583 Author: Rico Tzschichholz Date: Mon Nov 21 23:06:15 2011 +0100 gio/tests: Fix for -Werror=format-security gio/tests/test-pipe-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2cb386b78203fc2e3fb540e94dc6eab10a1a0ef Author: Ryan Lortie Date: Mon Nov 21 15:21:23 2011 -0500 post-release bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36c21d4790044683a042f8d9479ffc5798914b5b Author: Ryan Lortie Date: Mon Nov 21 12:18:32 2011 -0500 release glib 2.31.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59623973fa1853552f0bd59c850aa9c505c42d7d Author: Ryan Lortie Date: Mon Nov 21 12:36:43 2011 -0500 dist gio/tests/key8.pem gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 4bb411948c9ca00a534e5ec06efbf8ef22fc07f1 Author: Simon McVittie Date: Tue Nov 1 18:03:12 2011 +0000 Add test case for #662395 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/tests/Makefile.am | 10 + gio/tests/gdbus-connection-flush.c | 384 ++++++++++++++++++++++++++++++++++++ 2 files changed, 394 insertions(+) commit 96deb40caaf82bc9c51675515971dc3d638c72a0 Author: Simon McVittie Date: Tue Nov 1 16:49:36 2011 +0000 GDBus tests: factor out TestIOStream, test_pipe and test_bidi_pipe These might even make useful public API if they grew a Windows implementation, but for now they can be Unix-only test API. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/tests/Makefile.am | 10 ++- gio/tests/gdbus-non-socket.c | 143 ++++++++++-------------------------------- gio/tests/test-io-stream.c | 104 ++++++++++++++++++++++++++++++ gio/tests/test-io-stream.h | 53 ++++++++++++++++ gio/tests/test-pipe-unix.c | 130 ++++++++++++++++++++++++++++++++++++++ gio/tests/test-pipe-unix.h | 37 +++++++++++ 6 files changed, 365 insertions(+), 112 deletions(-) commit bae9928246d5104e1d73a60dd66bfbc45740d640 Author: Simon McVittie Date: Mon Nov 21 17:20:52 2011 +0000 _g_dbus_worker_flush_sync: always flush if we need to We didn't previously flush in a couple of cases where we should have done: * a write is running when flush is called: we should flush after it finishes * writes have been made since the last flush, but none are pending or running right now: we should flush the underlying transport straight away Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/gdbusprivate.c | 43 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) commit f41178c6c79a00a1fb3a99bc3ae7c88a85c833fc Author: Simon McVittie Date: Mon Nov 21 17:18:01 2011 +0000 GDBusWorker: move flush async op into continue_writing() This makes it easier to schedule a flush, by putting it on the same code path as writing and closing. Also change message_written to expect the lock to be held, since all that's left in that function either wants to hold the lock or doesn't care, and it's silly to release the lock immediately before calling message_written, which just takes it again. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/gdbusprivate.c | 101 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 68 insertions(+), 33 deletions(-) commit 301332168b096e8c64e26932e2a02bd24fafdbab Author: Simon McVittie Date: Mon Nov 21 17:16:16 2011 +0000 schedule_write_in_worker_thread: require caller to lock; rename accordingly When we use this function to schedule a flush, it'll be called with the lock held. Releasing and immediately re-taking the lock would be pointless. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/gdbusprivate.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 56eb16ff50cee51117db2e4979f5632a8df19e40 Author: Simon McVittie Date: Fri Oct 21 14:43:44 2011 +0100 GDBusWorker: rename some functions maybe_write_next_message now also closes, and I'm about to make it consider whether to flush as well, so its name is increasingly inappropriate. Similarly, write_message_in_idle_cb is a wrapper around it which could do any of those things. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/gdbusprivate.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 18482ab17ef5abe3b41bf0f6a076546ff1a5b28e Author: Simon McVittie Date: Mon Nov 21 17:14:55 2011 +0000 GDBusWorker: distinguish between 3 sorts of output that might be pending If the user calls flush_sync() with no messages in the queue, but an async write call pending, then we ought to flush after that async write returns (although we don't currently do that). If it was an async close or flush that was pending, there's no need to flush (again) afterwards. So, we need to distinguish. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662395 Signed-off-by: Simon McVittie Reviewed-by: Cosimo Alfarano gio/gdbusprivate.c | 71 +++++++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 32 deletions(-) commit a795e563dfec28842846700d30360acaff9699e3 Author: Ryan Lortie Date: Mon Nov 21 12:02:02 2011 -0500 Drop last uses of @returns: gio/gapplication.c | 24 +++++--- gio/gkeyfilesettingsbackend.c | 3 +- gio/gsettings.c | 128 ++++++++++++++++++++++++++--------------- gio/gsettings.h | 11 ++-- gio/gsettingsbackend.c | 18 ++++-- 5 files changed, 118 insertions(+), 66 deletions(-) commit 0f1fb417bf0425fc4d5c277ffb86b881fd3f1c48 Author: Ryan Lortie Date: Mon Nov 21 11:39:52 2011 -0500 Missed a couple of @returns glib/gvariant.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 0e0554bd62e897f001aaa9388345c1d4e62614af Author: Ryan Lortie Date: Mon Nov 21 11:33:05 2011 -0500 GVariant: drop use of @returns glib/gvariant-core.c | 42 +++++--- glib/gvariant-parser.c | 6 +- glib/gvariant-serialiser.c | 6 +- glib/gvariant.c | 240 +++++++++++++++++++++++++++++--------------- glib/gvarianttype.c | 84 ++++++++++------ 5 files changed, 249 insertions(+), 129 deletions(-) commit 4527e7cbf75f5f06a3f8b3ee9c5ecb16f6a27406 Author: Matthias Clasen Date: Mon Nov 21 11:09:42 2011 -0500 gbitlock: Drop @returns syntax from doc comments glib/gbitlock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 22d3972284df905e948143792afc8865b193700e Author: Matthias Clasen Date: Mon Nov 21 11:05:43 2011 -0500 GBuffer: Drop @returns syntax from doc comments glib/gbuffer.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit f62ee0a0ca29c263083f15d3dd144dc1fb01be22 Author: Matthias Clasen Date: Mon Nov 21 11:03:31 2011 -0500 GSocketClient: Drop @returns syntax from doc comments gio/gsocketclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b9f0cb0f0754d5985cef5e01c2761975eacdd87b Author: Matthias Clasen Date: Mon Nov 21 11:02:30 2011 -0500 GSimplePermission: Drop @returns syntax in doc comments gio/gsimplepermission.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2011ecd6ac9dff37aaab9a0d831b78c369375b4b Author: Matthias Clasen Date: Mon Nov 21 11:01:16 2011 -0500 GPermission: Drop @returns syntax from doc comments gio/gpermission.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit ef4ae742cecf696acb0449ab08ad4dac2a91aac2 Author: Matthias Clasen Date: Mon Nov 21 01:53:29 2011 -0500 Improve test coverage glib/tests/test-printf.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 89ad8bda233cb69608570471a18bc3c42d28db28 Author: Matthias Clasen Date: Mon Nov 21 01:40:51 2011 -0500 Improve mainloop test coverage slightly glib/tests/mainloop.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit b0fa0968705743ff81df7e22b4f5417cd22cf882 Author: Matthias Clasen Date: Mon Nov 21 01:02:50 2011 -0500 Improve test coverage glib/tests/keyfile.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 0fd14b1a56085d59fcb2619dd5071d854997e4d7 Author: Matthias Clasen Date: Mon Nov 21 00:27:25 2011 -0500 Fix a case conversion bug For titlecase chars without uppercase variant, we were returning 0, contrary to the docs. glib/guniprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5197870665c0b90f3d3e475f1cd8c64f7cfb7bd2 Author: Matthias Clasen Date: Mon Nov 21 00:27:12 2011 -0500 Improve test coverage glib/tests/unicode.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 4cbacb91de6010c0d852979202901e70e24de790 Author: Matthias Clasen Date: Sun Nov 20 23:18:20 2011 -0500 Add a test for g_unichar_isdefined glib/tests/unicode.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 3aeddaa2d4d9c2eba708e24e2368536e7eeee8da Author: Chun-wei Fan Date: Mon Nov 21 11:53:02 2011 +0800 gio/Makefile.am Filter out yet another *nix only source file from the Visual C++ project file completion rules. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fee6293bc9703c6c31d4a6dcb6e5b572b75a283d Author: Chun-wei Fan Date: Mon Nov 21 10:45:27 2011 +0800 Update GLib Visual C++ projects Also link to WinMM.lib since timeGetTime is used (commit 8d023c27). build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) commit 928e356cdbf48d6c7967e5d3bc4135c1c1a9ed55 Author: Fran Diéguez Date: Mon Nov 21 01:59:07 2011 +0100 Updated Galician translations po/gl.po | 5966 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 3018 insertions(+), 2948 deletions(-) commit 0878f5ba438b153c1654d3275527442b7e4f5008 Author: Matthias Clasen Date: Sun Nov 20 15:12:05 2011 -0500 GFile: Add some introspection annotations progress_callback in g_file_copy and g_file_copy_async may be NULL. Annotations should reflect that. Pointed out by Carlo Teubner. https://bugzilla.gnome.org/show_bug.cgi?id=664415 gio/gfile.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit ff2f4a12ee673cbb020d44fca2adb81be3c99f49 Author: Josselin Mouette Date: Sun Nov 20 16:53:36 2011 +0100 Document that g_list_sort is a stable sort. This is a guarantee for the future so that applications can rely on it. https://bugzilla.gnome.org/show_bug.cgi?id=531973 glib/glist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b6732da5e749b73f6386d9da87eec2aa867d89b0 Author: Jorge González Date: Sun Nov 20 10:10:13 2011 +0100 Updated Spanish translation po/es.po | 81 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) commit d920cb6bdbefc20d9dfb33b289b388a7e63415c6 Author: Matthias Clasen Date: Thu Nov 17 23:30:32 2011 -0500 GApplication: unregister bus name https://bugzilla.gnome.org/show_bug.cgi?id=647987 gio/gapplicationimpl-dbus.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 6c7387f6d13d8e1db16a754d7b7c25635b2118f5 Author: Matthias Clasen Date: Sat Nov 19 16:23:33 2011 -0500 Trivial doc typo fix gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55daa7f599e77f3abedb747eb70859d8ecdeae7 Author: Kjartan Maraas Date: Sat Nov 19 12:02:08 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 5818 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2935 insertions(+), 2883 deletions(-) commit 1dc8d1f93213a08d8f63bcadf31ce0e3d169b936 Author: Dan Winship Date: Fri Nov 18 15:05:34 2011 -0500 GTlsCertificate: support unencrypted PKCS#8 private keys PKCS#8 is the "right" way to encode private keys. Although the APIs do not currently support encrypted keys, we should at least support unencrypted PKCS#8 keys. https://bugzilla.gnome.org/show_bug.cgi?id=664321 gio/gtlscertificate.c | 76 ++++++++++++++++++++++++++++++------------- gio/tests/key8.pem | 16 +++++++++ gio/tests/tls-certificate.c | 36 +++++++++++++++++++- 3 files changed, 105 insertions(+), 23 deletions(-) commit cb74c366783944057492bae1e6b9472e36e2e7f1 Author: Nicolas Dufresne Date: Thu Nov 17 13:04:04 2011 -0500 [gio] Terminate connect call when application proxy is used The connect_async() calls would never terminated when an application side proxy was being used. Note we also skip over TLS handshake in this case, as the application may have to do some proxy handshake before. gio/gsocketclient.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit d2fd6dac4a794211eb2c1b034f67d6bcfc348b20 Author: Giovanni Campagna Date: Thu Nov 17 22:30:29 2011 +0100 GMain: allow NULL context to g_source_attach Documentation says it's fine and means default context, but the annotations are missing (and thus bindings would complain). https://bugzilla.gnome.org/show_bug.cgi?id=664302 glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71d3dad3ffc13a102689f00a8ae398c5d96577c4 Author: Giovanni Campagna Date: Thu Nov 17 22:29:18 2011 +0100 GPollable*Stream: expose source methods to introspection GSource has been introspectable for a while, so can stop skipping methods of GPollableInputStream/OutputStream that return it. https://bugzilla.gnome.org/show_bug.cgi?id=664302 gio/gpollableinputstream.c | 4 ++-- gio/gpollableoutputstream.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 951827379f34e491a72473a45eb84618c8715f73 Author: Murray Cumming Date: Fri Nov 18 10:46:35 2011 +0100 gsignal.h: Remove trailing comma gobject/gsignal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f9cc0786715afa977e4fa55a684ba2e12f98a203 Author: Ryan Lortie Date: Fri Nov 18 09:41:07 2011 +0000 We need in gsettingsschema.c now for LC_TIME (since we moved a bunch of code over from gsettings.c). gio/gsettings.c | 1 - gio/gsettingsschema.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) commit 4ae42ceb3c6f671d41a390aa664edd2f5f21fb4a Author: Nicolas Dufresne Date: Thu Nov 17 13:01:05 2011 -0500 Clear proxy address upon retry The proxy address was not cleared between each attempt. That would lead to leak or worse, trying to do the proxy handshake on the final destination address. To make all this safer, I have regroup all the cleanup where the iterations starts. https://bugzilla.gnome.org/show_bug.cgi?id=664141 gio/gsocketclient.c | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) commit 216fd8a82c902486ba5e5bdcf4a0a0d3d61036c4 Author: Sjoerd Simons Date: Mon Nov 14 22:06:07 2011 +0100 Silence compiler warnings Fix several warnings for format strings (-Werror=format-security) and set but unused variables (-Wunused-but-set-variable) https://bugzilla.gnome.org/show_bug.cgi?id=664144 tests/iochannel-test.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit fcffe6abbb1363b4645752ef2f06c098767f2194 Author: Jürg Billeter Date: Fri Nov 4 22:48:56 2011 +0100 GKeyFile: Accept empty files It already accepts files consisting solely of whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=663432 glib/gkeyfile.c | 8 -------- 1 file changed, 8 deletions(-) commit a0c755710cdf3e06622b34e10088d4209189e6f9 Author: Simon McVittie Date: Tue Oct 18 11:14:20 2011 +0100 Document exactly what g_time_val_to_iso8601() produces Bug: https://bugzilla.gnome.org/show_bug.cgi?id=537637 Signed-off-by: Simon McVittie glib/gtimer.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit dc89b51c2d71088c014ec94572629aabf143310e Author: Alexandre Rostovtsev Date: Wed Nov 16 15:05:46 2011 +0000 _g_dbus_get_machine_id(): check /etc/machine-id too machine-id can be in /etc or in /var/lib/dbus. [amended with slightly revised error handling -smcv] Bug: https://bugzilla.gnome.org/show_bug.cgi?id=663928 gio/gdbusprivate.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 8d9f600aeab76277abfad0ee924954297a1c06d9 Author: Rico Tzschichholz Date: Thu Nov 17 19:46:54 2011 +0100 Remove redefinition of typedef 'GSettingsSchemaSource' gio/gsettingsschema.c | 2 -- 1 file changed, 2 deletions(-) commit 99718b9e221b032545674662a3ec7d959e38f813 Author: Ryan Lortie Date: Thu Nov 17 17:40:36 2011 +0000 start on the NEWS NEWS | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 7f285291900f0cf7892bd79a5721d95f9bcdce4e Author: Ryan Lortie Date: Thu Nov 17 17:33:19 2011 +0000 g_settings_new_full(): more docs gio/gsettings.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ee31c7f4ed7317fdae06ee5d37158908dcc83ca5 Author: Ryan Lortie Date: Thu Nov 17 14:02:39 2011 +0000 add plugin example for GSettingsSchemaSource gio/gsettingsschema.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 88 insertions(+), 1 deletion(-) commit a4421529b88a1ff2229102ab6853039007ab6bf8 Author: Ryan Lortie Date: Thu Nov 17 10:06:49 2011 +0000 Add gtk-doc for gsettingsschema{,source} docs/reference/gio/Makefile.am | 2 +- docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 30 ++++++ gio/gsettingsschema.c | 188 ++++++++++++++++++++++++++++++++++- 4 files changed, 219 insertions(+), 2 deletions(-) commit 011a71cf7167479d4006685acf6b8ac8cad3be34 Author: Matthias Clasen Date: Wed Nov 16 23:24:46 2011 -0500 'make dist' fixes gio/Makefile.am | 1 + gio/tests/Makefile.am | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 97cf2d78c58c942538ab125bd90bf23841e169b0 Author: Matthias Clasen Date: Wed Nov 16 22:25:16 2011 -0500 settings-source test: Check returned error as well gio/tests/gsettings.c | 1 + 1 file changed, 1 insertion(+) commit a7ce1953fa1dc5aef72814678494cb94a9668611 Author: Matthias Clasen Date: Wed Nov 16 22:12:21 2011 -0500 Trivial typo fix gio/gsettingsschema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f47264ef5c4cfdb1abb903b4d8409352c65f98b9 Author: Jasper St. Pierre Date: Wed Nov 16 14:51:45 2011 -0500 gsettings: add annotations for _new_full() The path and backend arguments to g_settings_new_full are optional. gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6339b5fe2de6e49807938983805152bd7c94ef0a Author: Jasper St. Pierre Date: Wed Nov 16 14:53:03 2011 -0500 schema source: avoid introspection confusion Any method that has its prefix'd argument as its first parameter will be interpreted by introspection as a method. We don't want this, so we need to swap the first two parameters. gio/gsettingsschema.c | 4 ++-- gio/gsettingsschema.h | 4 ++-- gio/tests/gsettings.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) commit bef773408cfebd5a80475c32d96a2b14afaabf8e Author: Jasper St. Pierre Date: Wed Nov 16 14:51:27 2011 -0500 gsettingsschema: Use the trusted parameter gio/gsettingsschema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 148f731748a586ecc2d6e15afcc760a46e929a84 Author: Ryan Lortie Date: Wed Nov 16 10:38:04 2011 +0000 Add test case and fix some bugs Add the first test case for the schema source functionality and fix a couple of bugs that got uncovered by that. gio/gsettings.c | 3 +- gio/gsettingsschema.c | 3 +- gio/tests/gsettings.c | 89 +++++++++++++++++++++++ gio/tests/org.gtk.schemasourcecheck.gschema.xml | 7 ++ 4 files changed, 100 insertions(+), 2 deletions(-) commit fee2c87ba133cf029cb4a285cbb4d057d0d73391 Author: Ryan Lortie Date: Wed Nov 16 10:37:30 2011 +0000 Add g_settings_schema_source_new_from_directory() It is now possible for plugin loading systems to do the right thing. gio/gio.symbols | 1 + gio/gsettingsschema.c | 25 +++++++++++++++++++++++++ gio/gsettingsschema.h | 23 ++++++++++++++--------- 3 files changed, 40 insertions(+), 9 deletions(-) commit 446eda8c2b8656bf18b233a04c415f20821ae138 Author: Ryan Lortie Date: Tue Nov 15 12:42:02 2011 +0000 Clarify docs/params for 'schema' vs 'schema id' Clean up our parameter naming and documentation to draw a clearer line between a schema and its identifier. gio/gsettings.c | 45 ++++++++++++++++++++++++--------------------- gio/gsettings.h | 8 ++++---- 2 files changed, 28 insertions(+), 25 deletions(-) commit 1e700720657aa75b0ac4d2457b2ee2f216477c87 Author: Ryan Lortie Date: Tue Nov 15 12:38:01 2011 +0000 Add g_settings_new_full() taking GSettingsSchema gio/gio.symbols | 1 + gio/gsettings.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gsettings.h | 4 ++++ 3 files changed, 42 insertions(+) commit 1c8ae819edf2f2be4e4ad89dee534309ff62ef75 Author: Ryan Lortie Date: Tue Nov 15 12:16:50 2011 +0000 GSettings: add 'settings-schema' property Ideally we'd have called this 'schema', but it is already used. gio/gsettings.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) commit 269c99946345efd2bbf17a7b9778615e38ae046e Author: Ryan Lortie Date: Tue Nov 15 12:28:28 2011 +0000 add boxed types for GSettingSchema{,Source} gio/gio.symbols | 2 ++ gio/gsettingsschema.c | 3 +++ gio/gsettingsschema.h | 8 +++++++- 3 files changed, 12 insertions(+), 1 deletion(-) commit c25a36c920e2b884ef0856bb1bf6679ab38d7132 Author: Ryan Lortie Date: Tue Nov 15 11:56:18 2011 +0000 Drop the 'schema_name' field of GSettings This is strictly redundant now that we can get the ID from the schema itself. Its only other purpose was to get the schema name from the set_property() call to the constructed() call and we can avoid that by doing the schema lookup at the time of the property being set. gio/gsettings.c | 68 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) commit 48b99017de2057666d442167d9f329b0724cec02 Author: Ryan Lortie Date: Tue Nov 15 11:39:12 2011 +0000 speak of 'schema id' rather than 'schema name' Schemas are identified by id='' in the xml file, so we should use the same language on the C and GObject property APIs. gio/gio.symbols | 2 +- gio/gsettings.c | 38 +++++++++++++++++++------------------- gio/gsettingsschema.c | 25 ++++++++++++------------- gio/gsettingsschema.h | 4 ++-- 4 files changed, 34 insertions(+), 35 deletions(-) commit 736a286dce9dec2d9b331ed0df14fb984107a254 Author: Ryan Lortie Date: Tue Nov 15 11:31:58 2011 +0000 GSettings: deprecate 'schema' property This should have been called 'schema-name'. gio/gsettings.c | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) commit 3bcf1137f4f9a9c84814f3a2102d06d90858daa2 Author: Ryan Lortie Date: Tue Nov 15 08:03:38 2011 +0000 drop the now-trivial g_settings_schema_new Combine it into g_settings_constructed() gio/gsettings.c | 12 +++++++++++- gio/gsettingsschema-internal.h | 2 -- gio/gsettingsschema.c | 19 ------------------- 3 files changed, 11 insertions(+), 22 deletions(-) commit d5fb032f726dfc712a3e863adc6707c205b69da3 Author: Ryan Lortie Date: Tue Nov 15 08:00:16 2011 +0000 new public header: gsettingsschema.h Expose some GSettingsSchemaSource and GSettingsSchema APIs. These are mostly useless so far... gio/Makefile.am | 1 + gio/gio.h | 1 + gio/gio.symbols | 8 ++++++++ gio/gsettingsschema-internal.h | 12 +---------- gio/gsettingsschema.c | 1 + gio/gsettingsschema.h | 43 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 55 insertions(+), 11 deletions(-) commit 2633f2903ea3ec5f5019f6c3fe57b687fd2d3eb9 Author: Ryan Lortie Date: Tue Nov 15 07:47:56 2011 +0000 Add non-aborting g_settings_schema_source_lookup() And rewrite g_settings_schema_new() in terms of it gio/gsettingsschema.c | 66 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 19 deletions(-) commit bf5626ddc20f973baf92edfc3c888ef77e9de1db Author: Ryan Lortie Date: Tue Nov 15 07:31:20 2011 +0000 GSettingSchemaSource: add refcounting gio/gsettingsschema.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit e01a43b6216a27194fddcabe9e864ab40c052d50 Author: Ryan Lortie Date: Tue Nov 15 07:24:48 2011 +0000 GSettingsSchema: use our own linked lists Switch from GSList for the list of schema sources to using our own linked list type called GSettingsSchemaSource. gio/gsettingsschema.c | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-) commit 5ec84e805626657d0470accfebea72ddcbadf052 Author: Ryan Lortie Date: Tue Nov 15 07:16:48 2011 +0000 GSettingsSchema: alter our 'reverse' technology Instead of building a reversed linked list by prepending in order and then reversing it at the end, prepend in reverse by iterating backwards through the directories (to get a list in-order when we're done). gio/gsettingsschema.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 104f7353a7c86a8a34b1b284d1b7d453eacb0c74 Author: Ryan Lortie Date: Mon Nov 14 17:15:58 2011 +0100 move GSettingsSchemaKey to gsettingsschema.c These functions no longer have anything to do with GSettings itself, so they should not be in that file anymore. GSettings still wants direct access to the GSettingsSchemaKey structure, so put that one in gsettingsschema-internal.h. gio/gsettings.c | 333 +--------------------------------------- gio/gsettingsschema-internal.h | 50 ++++++ gio/gsettingsschema.c | 312 +++++++++++++++++++++++++++++++++++++ 3 files changed, 363 insertions(+), 332 deletions(-) commit 53b591854586171c05ea602795e27982faea5eaa Author: Ryan Lortie Date: Mon Nov 14 17:08:31 2011 +0100 GSettingsSchemaKey: store the GSettingsSchema* gio/gsettings.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) commit 54964e22d481f0ebac8bd3c0fb13fd7569013b57 Author: Ryan Lortie Date: Mon Nov 14 17:03:57 2011 +0100 g_settings_schema_key_init: take GSettingsSchema* instead of of GSettings * gio/gsettings.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 10907cafc39958fc65b8c8082cbbe08b53e96659 Author: Ryan Lortie Date: Mon Nov 14 17:02:04 2011 +0100 add internal g_settings_schema_get_name() gio/gsettingsschema-internal.h | 2 ++ gio/gsettingsschema.c | 6 ++++++ 2 files changed, 8 insertions(+) commit e6b4074e41ae379a17768b199c5adc2a1a3e02cb Author: Ryan Lortie Date: Sun Nov 13 23:47:49 2011 +0100 rename GSettingsKeyInfo to GSettingsSchemaKey gio/gsettings.c | 347 +++++++++++++++++++++++++++---------------------------- 1 file changed, 169 insertions(+), 178 deletions(-) commit 426b146e5f31fa4d788dfd78857499dabf64000e Author: Ryan Lortie Date: Sun Nov 13 23:38:47 2011 +0100 GSettingsKeyInfo: rename field 'key' to 'name' gio/gsettings.c | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) commit ca2004fe73ca853bc1f9ade6160c1b59d2865c67 Author: Ryan Lortie Date: Sun Nov 13 23:35:27 2011 +0100 remove GSettings* from GSettingsKeyInfo This way GSettingsKeyInfo depends strictly on the information in the schema. Pass the GSettings* around separately where we need it. gio/gsettings.c | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) commit d6c3c2f3c2fe0f22870abb643853640dba5cc8be Author: Ryan Lortie Date: Sun Nov 13 23:31:39 2011 +0100 store some extra info in GSettingsKeyInfo gio/gsettings.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit f60e0e724286fc85c03c7c739474390cd4c27c62 Author: Ryan Lortie Date: Sun Nov 13 23:24:24 2011 +0100 GSettingsKeyInfo: drop unused variable gio/gsettings.c | 2 -- 1 file changed, 2 deletions(-) commit 11ef4d7981d81746d25296e3336a390f1a3330a8 Author: Ryan Lortie Date: Sun Nov 13 21:41:01 2011 +0100 rename gsettingsschema.h to -internal.h gio/gsettings.c | 2 +- gio/gsettingsschema-internal.h | 50 +++++++++++++++++++++++++++++++++++++ gio/gsettingsschema.c | 2 +- gio/gsettingsschema.h | 54 ---------------------------------------- 4 files changed, 52 insertions(+), 56 deletions(-) commit 577faeae5bcdff8431c298c9275bf7703d8b6a22 Author: Ryan Lortie Date: Sun Nov 13 21:38:31 2011 +0100 unGObjectify GSettingsSchema gio/gsettings.c | 2 +- gio/gsettingsschema.c | 82 ++++++++++++++++++++++--------------------------- gio/gsettingsschema.h | 34 +++----------------- 3 files changed, 43 insertions(+), 75 deletions(-) commit eaaf18960f84989cfe2ac927ad5e19a0c56524de Author: Christian Persch Date: Thu Nov 17 14:21:24 2011 +0100 Fix the fix for G*_TO_POINTER casts on 32 bits The 'fix' from commit 16292dd753cb63f8ccb2267644aefbd2632dd52c broke the build on 32 bit because it was missing the parentheses around "gint" / "guint" in glib_gp[u]i_cast. https://bugzilla.gnome.org/show_bug.cgi?id=661546 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit affbdd8206edcb89eadcae4a0453da76e8bd723f Author: Jorge González Date: Thu Nov 17 14:21:12 2011 +0100 Updated Spanish translation po/es.po | 190 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 97 insertions(+), 93 deletions(-) commit 6d405f81c2778dff2df4a36748bf98647f385497 Author: Daniel Mustieles Date: Thu Nov 17 12:36:54 2011 +0100 Updated Spanish translation po/es.po | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 59 insertions(+), 7 deletions(-) commit 9e19b6fe0fefc5c6c26e749a56418061ce339154 Author: Matthias Clasen Date: Thu Nov 17 00:01:18 2011 -0500 Fix doc formatting gmodule/gmodule.c | 1 - 1 file changed, 1 deletion(-) commit 1a08591c3a953d53fb22b8da59b2023d278590d6 Author: Matthias Clasen Date: Wed Nov 16 21:42:28 2011 -0500 Deal gracefully with NULL log domains glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 877c0ad5b885f598006f576a5756dd7cda1ef4ee Author: Ryan Lortie Date: Wed Nov 16 15:46:19 2011 +0000 [notify] remove some rather bogus 'inline' use gobject/gobject.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9253f38a908f4b3304e2e195c87aad7b098e8bac Author: Ryan Lortie Date: Wed Nov 16 15:45:31 2011 +0000 [notify] add warning to gobjectnotifyqueue.c Mention that this file gets installed, so people should probably not modify it. gobject/gobjectnotifyqueue.c | 6 ++++++ 1 file changed, 6 insertions(+) commit ac0ddcf23f4f57efc2f4e6f370022586d7897f6a Author: Ryan Lortie Date: Wed Nov 16 13:02:23 2011 +0000 [notify] dispatch 'notify' directly if not frozen Avoid the notify queue in the case that we're not already frozen. gobject/gobject.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 39458748dd32c8745f60e8ba83bd35ad9ceebb12 Author: Ryan Lortie Date: Wed Nov 16 15:42:36 2011 +0000 [notify] add 'conditional' to _notify_queue_freeze When the 'conditional' parameter is TRUE, the queue will only be frozen (ie: have its freeze count increase by one) if it is already frozen. This will allow us to avoid a freeze-notify-thaw in the case that we just want to notify on a single property. Another approach may have been to add an is_frozen() type call and avoid even increasing the freeze count at all in this case. Unfortunately, I'm not totally sure what is the exact expected semantics of simultaneous notifications in multiple threads and this may interact badly with someone freezing or thawing in between our check and emission. gobject/gobject.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 393d4c28b4af6aea45100edc636c116d38dca460 Author: Ryan Lortie Date: Wed Nov 16 15:41:06 2011 +0000 [notify] Remove GObjectNotifyContext indirection This silly abstraction is causing more trouble than it's worth -- just use the relevant bits directly. gobject/gobject.c | 60 ++++++++++++++++------------------------------------- 1 file changed, 18 insertions(+), 42 deletions(-) commit 8215fc5f255ae499904534042ac08e221c4f5f13 Author: Ryan Lortie Date: Wed Nov 16 15:38:25 2011 +0000 [notify] lift some logic out of _notify_queue_add Lift the check-if-READABLE and redirect-target logic from out of g_object_notify_queue_add() into its own function, get_notify_pspec(). Use that function at the site of our two calls to g_object_notify_queue_add(). gobject/gobject.c | 63 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 21 deletions(-) commit 760037ec46bb3a8af8ea98e06a624a3ebac1cb1a Author: Ryan Lortie Date: Wed Nov 16 15:37:17 2011 +0000 [notify] remove an obviously false comment gobject/gobject.c | 1 - 1 file changed, 1 deletion(-) commit 45d80cf9bdd4ee3edaa64069dd16ad220d615c4e Author: Ryan Lortie Date: Wed Nov 16 15:36:57 2011 +0000 [notify] lift some code outside of critical region gobject/gobject.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1d98f931946c45301531a576107f5f9d12d63c28 Author: Ryan Lortie Date: Wed Nov 16 15:35:58 2011 +0000 [notify] drop some unused code gobject/gobject.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit 128862eafe49b5454c4b32b0866800d4aa7c53f3 Author: Ryan Lortie Date: Wed Nov 16 15:31:58 2011 +0000 [notify] merge gobjectnotifyqueue.c into gobject.c This was done as a separate file before, and #include brought it into gobject.c. That's a bit mad, so stop doing that. Unfortunately, the insanity steps up a level: gobjectnotifyqueue.c is installed in the public include dir, so we can't just get rid of it entirely. gobject/gobject.c | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 160 insertions(+), 2 deletions(-) commit 688059cb9402281f8922827dc98fe76b914f21cf Author: Ryan Lortie Date: Wed Nov 16 12:47:40 2011 +0000 [notify] remove some useless forward declarations These cause trouble in the next commit. gobject/gobject.c | 7 ------- 1 file changed, 7 deletions(-) commit 3c66ada4358ca0a8d9c31a14d45c13cd9de0b084 Author: Benjamin Otte Date: Wed Nov 2 00:31:50 2011 +0100 localfileenumerator: Improve non-stat'ing code We now avoid the per-enumerated-file stat for type and names. We could improve this further by moving things to the no_stat function, but this is what the file chooser needs for autocomplete, so I am happy. gio/glocalfileenumerator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 93aea49bd7a8fa29d4ad857fd5de9f282edd8603 Author: Benjamin Otte Date: Tue Nov 1 23:37:35 2011 +0100 localfileinfo: Split out attributes that don't need a stat This will be used in the next commit. gio/glocalfileinfo.c | 80 +++++++++++++++++++++++++++----------------------- gio/glocalfileinfo.h | 10 +++++++ 2 files changed, 54 insertions(+), 36 deletions(-) commit 8863071b9d17fa37036549b8c6579736d259a9cd Author: Benjamin Otte Date: Tue Nov 1 23:21:42 2011 +0100 localfileenumerator: Take the type from the readdir() call That way, we can avoid stat() calls for all enumerated files in various cases. In particular in the autocompletion code in the GTK filechooser. configure.ac | 2 + gio/glocalfileenumerator.c | 96 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 84 insertions(+), 14 deletions(-) commit 6fe9791f2401c7842ed8e4b72e62296f1da1e47d Author: Benjamin Otte Date: Tue Nov 1 20:12:27 2011 +0100 gio: Add tests for g_file_attribute_matcher_subtract() gio/tests/fileattributematcher.c | 90 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) commit 1985d54bb2eee39e88e62d1b749bf85f43a55721 Author: Benjamin Otte Date: Tue Nov 1 20:11:47 2011 +0100 fileinfo: Add g_file_attribute_matcher_subtract() Added as public API so I can write tests, the use case is local. docs/reference/gio/gio-sections.txt | 1 + gio/gfileinfo.c | 83 ++++++++++++++++++++++++++++++++++- gio/gfileinfo.h | 2 + gio/gio.symbols | 1 + 4 files changed, 85 insertions(+), 2 deletions(-) commit 60c42f66482f0b3c7cd9353156de99e077fc73c7 Author: Benjamin Otte Date: Tue Nov 1 19:12:17 2011 +0100 tests: Add tests for fileattributematchers gio/tests/Makefile.am | 4 ++ gio/tests/fileattributematcher.c | 88 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) commit b400127b3eb6039ecfcada3fa398f8aecb4945bd Author: Benjamin Otte Date: Tue Nov 1 19:06:39 2011 +0100 fileinfo: Add g_file_attribute_matcher_to_string() This is to be mainly used for debugging and tests. docs/reference/gio/gio-sections.txt | 1 + gio/gfileinfo.c | 40 +++++++++++++++++++++++++++++++++++ gio/gfileinfo.h | 1 + gio/gio.symbols | 1 + 4 files changed, 43 insertions(+) commit 86d29e4e7302525b178ff7fb7463026243c89603 Author: Benjamin Otte Date: Tue Nov 1 17:50:22 2011 +0100 fileinfo: Store namespace::* as 0th attribute This way, we can get_attribute() namespaces. This will be important in the next commit. gio/gfileinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 128e0cb787dedc0bb57f7f1fbdc52aa20c20d9b6 Author: Benjamin Otte Date: Tue Nov 1 13:58:09 2011 +0100 fileinfo: Change the way attribute matchers are created We now sort the matchers and remove unnecessary duplicates (like removing standard:type when we already match standard:*), so that we can do more complex operations on them easily in later commits. gio/gfileinfo.c | 102 ++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 74 insertions(+), 28 deletions(-) commit 1850d23f52639a5eaf33551fad7a1936edbbfb0a Author: Benjamin Otte Date: Tue Nov 1 12:47:33 2011 +0100 fileinfo: Remove optimization for GFileAttributeMatcher It makes code more complicated, in particular the code I'm about to add. gio/gfileinfo.c | 100 ++++++++++++++++--------------------------------------- 1 file changed, 28 insertions(+), 72 deletions(-) commit 16292dd753cb63f8ccb2267644aefbd2632dd52c Author: Lucas De Marchi Date: Thu Oct 6 11:18:03 2011 -0300 Fix G*_TO_POINTER casts on 32 bits If we don't do the cast to the proper size in 32 bits, things like below doesn't work: uint8_t u = 20; void *p; p = GUINT_TO_POINTER(u); Signed-off-by: Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=661546 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3a7960f75730fdde77652b97ad6492004c5b1ec1 Author: Alexander Larsson Date: Fri Nov 4 16:45:41 2011 +0100 win32: Make g_get_monotonic_clock lockless glib/gmain.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 8d023c2706c1aca43dd04e807dd7d78aee96f202 Author: Alexander Larsson Date: Fri Nov 4 15:42:38 2011 +0100 win32: Use timeGetTime as monotonic base This allows apps that need it to increase timer accuracy using timeBeginPeriod configure.ac | 2 +- glib/gmain.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++--- glib/makefile.msc.in | 2 +- 3 files changed, 68 insertions(+), 5 deletions(-) commit 64dec8ad9ff3d9be7d66b11d5f2b22ce3e0954aa Author: Alexander Larsson Date: Fri Nov 4 11:27:00 2011 +0100 win32: Add a monotonic timer glib/glib-init.c | 1 + glib/glib-init.h | 1 + glib/gmain.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 59 insertions(+), 2 deletions(-) commit 2056906bb7504e520aae5ab3fc69fa3f80da1da0 Author: Piotr Drąg Date: Tue Nov 15 20:46:17 2011 +0100 Updated POTFILES.in po/POTFILES.in | 4 ++++ 1 file changed, 4 insertions(+) commit 8d4a141b14dda229a9074d14e9288cddc3191536 Author: Daniel Mustieles Date: Tue Nov 15 17:37:39 2011 +0100 Updated Spanish translation po/es.po | 5989 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2998 insertions(+), 2991 deletions(-) commit f08a1d126c2aba7d23c107a7c6882cf0f850b6f4 Author: Javier Jardón Date: Tue Nov 15 12:11:55 2011 +0000 docs: Remove tmpl directory We use inline comments now docs/reference/glib/tmpl/.gitignore | 74 --- docs/reference/glib/tmpl/glib-unused.sgml | 1015 ----------------------------- 2 files changed, 1089 deletions(-) commit 469e1a15a0eea2cf355fba245343a3ac1c29662b Author: Sjoerd Simons Date: Sun Nov 13 17:49:57 2011 +0100 Fix 1bit mutex test on platforms with 32 bit aligned pointers The 1 bit mutex tests asserts: ((gsize) ptrs) % 8, ==, 0), which fails when the platform only aligns porters to 32 bits (e.g. S390 and powerpc). I'm not sure why this assertion was placed here, but given that internally g_pointer_bit_trylock uses g_atomic_int_or internally change the assertion so it only requires the alignment to be a multiple of sizeof(int) glib/tests/1bit-mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65eb65b7779e5e6ec72de9bb372568d88b1ec7bb Author: Matthias Clasen Date: Mon Nov 14 23:30:18 2011 -0500 Avoid unused variable warnings in g_ascii_strtod glib/gstrfuncs.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 7c0ee79e348cfa3711ecf74f1c0e4d9a2e29864e Author: Matthias Clasen Date: Mon Nov 14 22:18:13 2011 -0500 GThread: handle thread names safely Avoid a race condition where the string may be freed before the new thread got around to using it. Also add a test for thread names. https://bugzilla.gnome.org/show_bug.cgi?id=663381 glib/gthread.c | 13 +++++++++---- glib/gthreadprivate.h | 2 +- glib/tests/thread.c | 28 ++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 5 deletions(-) commit 375015018bb16cdd02708e1df0953d91916033ca Author: Matthias Clasen Date: Mon Nov 14 21:18:12 2011 -0500 Switch to using template-free docs build All docs are finally inline, so we can do this switch. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f0d275295d0dbf8028e77c3f7ef662c3a41cdf3 Author: Matthias Clasen Date: Mon Nov 14 07:44:52 2011 -0500 Move remaining docs inline This introduces a fake source file just for holding docs that have no good place elsewhere. Not great, but better than templates. docs/reference/glib/glib-docs.sgml | 1 - docs/reference/glib/glib-sections.txt | 133 +- docs/reference/glib/tmpl/.gitignore | 8 + docs/reference/glib/tmpl/byte_order.sgml | 628 ------- docs/reference/glib/tmpl/limits.sgml | 253 --- docs/reference/glib/tmpl/macros.sgml | 233 --- docs/reference/glib/tmpl/macros_misc.sgml | 743 -------- docs/reference/glib/tmpl/numerical.sgml | 121 -- docs/reference/glib/tmpl/type_conversion.sgml | 125 -- docs/reference/glib/tmpl/types.sgml | 327 ---- docs/reference/glib/tmpl/windows.sgml | 142 -- glib/Makefile.am | 1 + glib/docs.c | 2259 +++++++++++++++++++++++++ glib/gtimer.c | 11 + 14 files changed, 2330 insertions(+), 2655 deletions(-) commit 127df9bd83d610cb989e63037f3e3a6b64c034e0 Author: Matthias Clasen Date: Mon Nov 14 21:06:30 2011 -0500 Move GModule docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/modules.sgml | 291 --------------------------------- gmodule/gmodule.c | 258 ++++++++++++++++++++++++++++- 3 files changed, 250 insertions(+), 300 deletions(-) commit 2195e20dce58ab14db40187dbcd78682e4287889 Author: Matthias Clasen Date: Sun Nov 13 15:37:56 2011 -0500 Move GDate docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/date.sgml | 822 ----------------------------------- glib/gdate.c | 638 ++++++++++++++++++++++++++- 3 files changed, 637 insertions(+), 824 deletions(-) commit 18da6e6be97c838edf6ef150b196b428ff3118cf Author: Matthias Clasen Date: Sun Nov 13 00:43:50 2011 -0500 Move i18n docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/i18n.sgml | 252 ----------------------------------- glib/ggettext.c | 156 ++++++++++++++++++++++ 3 files changed, 157 insertions(+), 252 deletions(-) commit c8b0617a2b9b71ca89b9fdd0e6f3b6afdd255a49 Author: Matthias Clasen Date: Sun Nov 13 00:26:57 2011 -0500 Move slice and hook docs inline docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/hooks.sgml | 470 --------------------------- docs/reference/glib/tmpl/memory_slices.sgml | 256 --------------- glib/ghook.c | 421 +++++++++++++++++++++++- glib/gslice.c | 255 +++++++++++++++ 5 files changed, 676 insertions(+), 728 deletions(-) commit bad6c0ad1516ab149d2917c8db9d84a235c4667c Author: Dan Winship Date: Mon Nov 14 19:46:02 2011 -0500 GSocketClient: improve error messages on connection failure Include the hostname (or proxy hostname if it was the connection to the proxy server that failed) in the GError message when g_socket_client_connect* fail. https://bugzilla.gnome.org/show_bug.cgi?id=661266 gio/gsocket.c | 7 +++---- gio/gsocketclient.c | 55 +++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 52 insertions(+), 10 deletions(-) commit 74dad004d143a2d3fbe4171d20e57cc9942ad89d Author: Dan Winship Date: Mon Nov 14 18:27:34 2011 -0500 GUnixInput/OutputStream: fix blocking methods to always block Previously, if you created a GUnixInputStream or GUnixOutputStream from a non-blocking file descriptor, it might sometimes return G_IO_ERROR_WOULD_BLOCK from g_input_stream_read/g_output_stream_write, which is wrong. Fix that. (Use the GPollableInput/OutputStream methods if you want non-blocking I/O.) Also, add a test for this to gio/tests/unix-streams. Also, fix the GError messages to say "Error reading from file descriptor", etc instead of "Error reading from unix" (which was presumably from a bad search and replace job). https://bugzilla.gnome.org/show_bug.cgi?id=626866 gio/gunixinputstream.c | 48 ++++++++++++++++++++++++----------------- gio/gunixoutputstream.c | 54 ++++++++++++++++++++++++++-------------------- gio/tests/unix-streams.c | 24 +++++++++++++++++++-- 3 files changed, 81 insertions(+), 45 deletions(-) commit 29f786851d9fb8c8229161087e55254e379ef6e7 Author: Dan Winship Date: Mon Nov 14 13:55:14 2011 -0500 Fix glib/tests/utils for g_parse_debug_string() changes glib/tests/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe5ba0f291c11a22fbfe812d1c8315837fa14177 Author: Dan Winship Date: Sun Jun 12 15:59:36 2011 -0400 add GNetworkMonitor, for... monitoring the network Add GNetworkMonitor and its associated extension point, provide a base implementation that always claims the network is available, and a netlink-based implementation built on top of that that actually tracks the network state. https://bugzilla.gnome.org/show_bug.cgi?id=620932 configure.ac | 4 + docs/reference/gio/gio-docs.xml | 5 +- docs/reference/gio/gio-sections.txt | 20 ++ gio/Makefile.am | 11 + gio/gio.h | 1 + gio/gio.symbols | 10 + gio/giomodule.c | 11 + gio/giotypes.h | 1 + gio/gnetworkmonitor.c | 261 ++++++++++++++++++++ gio/gnetworkmonitor.h | 89 +++++++ gio/gnetworkmonitorbase.c | 412 +++++++++++++++++++++++++++++++ gio/gnetworkmonitorbase.h | 66 +++++ gio/gnetworkmonitornetlink.c | 465 +++++++++++++++++++++++++++++++++++ gio/gnetworkmonitornetlink.h | 57 +++++ gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 + gio/tests/network-monitor.c | 463 ++++++++++++++++++++++++++++++++++ 17 files changed, 1878 insertions(+), 2 deletions(-) commit eb9755dc9c765cd0381f8b6d897e6ff4f7582a0a Author: Dan Winship Date: Sat Oct 1 08:31:54 2011 -0400 GInetAddressMask: new type for internet address range matching Eg, for matching a GInetAddress to a range like "10.0.0.0/8" or "fe80::/10" https://bugzilla.gnome.org/show_bug.cgi?id=620932 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 25 ++ gio/Makefile.am | 2 + gio/ginetaddressmask.c | 463 +++++++++++++++++++++++++++++++++++ gio/ginetaddressmask.h | 78 ++++++ gio/gio.h | 1 + gio/gio.symbols | 9 + gio/giotypes.h | 1 + 8 files changed, 580 insertions(+) commit fac9e8d29f3b73afb17feca1fefe51986a09327c Author: Dan Winship Date: Sun Nov 13 16:39:45 2011 -0500 gunixinput/outputstream: fix docs Don't try to link to the docs of undocumented private classes gio/gunixinputstream.c | 3 +-- gio/gunixoutputstream.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 9b4cc6edf4a698597c0cee9a5ef4d40ad13aa888 Author: Dan Winship Date: Tue Apr 27 16:54:18 2010 -0400 GUnixInputStream, GUnixOutputStream: support ordinary files better If the fd is not a pipe or socket, fall back to using threads to do async I/O rather than poll, since poll doesn't work the way you want for ordinary files. https://bugzilla.gnome.org/show_bug.cgi?id=606913 gio/gunixinputstream.c | 34 +++++++++++++++++++++++++++++----- gio/gunixoutputstream.c | 34 +++++++++++++++++++++++++++++----- 2 files changed, 58 insertions(+), 10 deletions(-) commit e60846dc78b9dace8d27276f7ef512e209dba7b3 Author: Matthias Clasen Date: Sat Nov 12 22:52:24 2011 -0500 Some more docs reshuffling docs/reference/glib/building.sgml | 980 ++++++++++++++++-------------------- docs/reference/glib/glib-docs.sgml | 132 ++--- 2 files changed, 509 insertions(+), 603 deletions(-) commit 06bb6c75a2e5e6e0c3bfcb99ae829143768e1702 Author: Matthias Clasen Date: Sat Nov 12 21:54:42 2011 -0500 More consistent doc formatting Move some things around, make capitalization of short descriptions more consistent. docs/reference/glib/glib-docs.sgml | 6 +- docs/reference/glib/gvariant-text.xml | 4 + docs/reference/glib/gvariant-varargs.xml | 7 +- docs/reference/glib/regex-syntax.sgml | 9 +- docs/reference/glib/running.sgml | 237 +++++++++++++++--------------- glib/gchecksum.c | 2 +- glib/gconvert.c | 2 +- glib/gdatetime.c | 2 +- glib/ghmac.c | 2 +- glib/glist.c | 4 +- glib/gslist.c | 4 +- glib/gtimezone.c | 2 +- glib/gurifuncs.c | 7 +- glib/gversion.c | 2 +- 14 files changed, 148 insertions(+), 142 deletions(-) commit 599f254066beb3bdad1d4fb70a7afd28c45d7634 Author: Matthias Clasen Date: Sat Nov 12 19:13:44 2011 -0500 Cleanups to debug env var handling glib/glib-init.c | 6 +++--- glib/gslice.c | 48 ++++++++++++++++++------------------------------ gobject/gtype.c | 13 +++++-------- 3 files changed, 26 insertions(+), 41 deletions(-) commit 943a18b5643443438820eae3453d3b279213547e Author: Matthias Clasen Date: Sat Nov 12 18:36:52 2011 -0500 Parse G_DEBUG only once glib/glib-init.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 5d9f05eef147f17d71e38c9fba2e3f622c9ed21b Author: Matthias Clasen Date: Sat Nov 12 10:26:31 2011 -0500 glib-unix.h: Add G_BEGIN/END_DECLS The omission was pointed out in bug 663880. glib/glib-unix.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit faebf0f6536f85bfc4afd81a69d9d46383031fa6 Author: Chun-wei Fan Date: Sat Nov 12 10:38:31 2011 +0800 gstrfuncs.c: Fix variable declaration Declare variables at top of block to stop C89 compilers from complaining. glib/gstrfuncs.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 0f01bef4b458b73f2500ad8926b9c8a886215dc3 Author: Simon McVittie Date: Fri Nov 11 14:41:50 2011 +0000 GDBusWorker: tolerate read errors while closing My previous fix for GNOME#662100 was incomplete: it seems that with some timings, the stream can be closed with an async read in-flight. This can make the read fail immediately with G_IO_ERROR_CLOSED instead of becoming cancelled. This happens reliably on an embedded device, and rarely on my laptop; repeating the test 100 times in quick succession reliably reproduces the bug on my laptop. It seems as though what we really want is to ignore read errors, once we've established that we want to close the connection anyway - this means that after asking to close, you're immune to exit-on-close, which seems like a good rule. An additional subtlety is that continuing to read after we know we want to close is still required, otherwise we'll never emit ::closed. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gio/gdbusprivate.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 214d249f40de028c5f76cea6ed665af5e1cf45d0 Author: Simon McVittie Date: Thu Nov 10 19:06:43 2011 +0000 GDBusWorker: debug on read errors if transport debugging is enabled Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gio/gdbusprivate.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit fc21c6ced0f1d7e6c8960b2e1439d814a960e7bf Author: Simon McVittie Date: Thu Nov 3 18:33:08 2011 +0000 gdbus-exit-on-close test: don't leak a variant Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gio/tests/gdbus-exit-on-close.c | 1 + 1 file changed, 1 insertion(+) commit f0c383917bdae58393410f2c3052bad2a4b51d9e Author: Simon McVittie Date: Thu Nov 3 18:32:53 2011 +0000 gdbus-exit-on-close test: optionally be more verbose for debugging Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gio/tests/gdbus-exit-on-close.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) commit 759c0e935d0d189aebbb7ff8186c397e88477c7f Author: Dan Winship Date: Sat Sep 3 09:03:17 2011 -0400 gio: more implementations of GFileDescriptorBased Implement GFileDescriptorBased in GSocket{Input,Output}Stream and GUnix{Input,Output}Stream. https://bugzilla.gnome.org/show_bug.cgi?id=616852 gio/gsocketinputstream.c | 27 ++++++++++++++++++++++++++- gio/gsocketoutputstream.c | 29 +++++++++++++++++++++++++++-- gio/gunixinputstream.c | 12 +++++++++++- gio/gunixoutputstream.c | 12 +++++++++++- 4 files changed, 75 insertions(+), 5 deletions(-) commit f218353e04ca61dbf5e4d7a3a024fe414dbfa46a Author: Kristian Rietveld Date: Wed Nov 9 08:32:33 2011 +0100 Need to include xlocale.h on Darwin for strtod_l This fixes the build of gstrfuncs.c on Darwin. configure.ac | 2 ++ glib/gstrfuncs.c | 5 +++++ 2 files changed, 7 insertions(+) commit fb95c20c965bc241fc9d519afede94d3bc7838a8 Author: Marc-André Lureau Date: Mon Nov 7 20:04:15 2011 +0100 Add G_SIGNAL_DEPRECATED Similar to G_PARAM_DEPRECATED. It will warn only for users of the signals, so a signal can still be emited without warning, for compatibility reasons. Apparently, there is no way user flags could have been used before, so that shouldn't break anyone. https://bugzilla.gnome.org/show_bug.cgi?id=663581 gobject/gobject.c | 2 +- gobject/gsignal.c | 32 +++++++++++++++++++++++++++++++- gobject/gsignal.h | 8 ++++++-- 3 files changed, 38 insertions(+), 4 deletions(-) commit f09e71aff05bfa07e58c68b2dd8396ed760e4666 Author: Dan Winship Date: Mon Nov 7 13:50:00 2011 -0500 gio/tests/proxy: don't use deprecated functions gio/tests/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5bf1c117b9042906763d166f396e8cccaf48f91 Author: Dan Winship Date: Mon Nov 7 13:48:30 2011 -0500 Fix g_variant_get_gtype() deprecation message Instead of: warning: ‘g_variant_get_gtype’ is deprecated (declared at ../../gobject/glib-types.h:242): Use '((GType) ((21) << (2)))' instead [-Wdeprecated-declarations] show: warning: ‘g_variant_get_gtype’ is deprecated (declared at ../../gobject/glib-types.h:242): Use ''G_VARIANT_GET_TYPE'' instead [-Wdeprecated-declarations] Also, document the macro-expansion problem in the G_GNUC_DEPRECATED_FOR docs docs/reference/glib/tmpl/macros_misc.sgml | 7 +++++++ gobject/glib-types.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 7d1c7af1a6ed30d4caec244ac8ebe47dc86bf04f Author: Benjamin Otte Date: Sun Oct 16 12:58:29 2011 -0700 docs: Improve g_variant_loop() docs Typo fix and changing "is not recommended" to the nice version of "don't do this", aka "causes undefined behavior". gio/glocalfileinfo.c | 5 ++++- glib/gvariant.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 14677e16d8ac6b7bdb22885ef94ae889f67751ee Author: Benjamin Otte Date: Mon Jul 25 13:08:59 2011 +0200 docs: Tell which function to use to avoid errors. glib/gvarianttype.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0e283dcb94a6be20ccc0b8446c3df70ff14d36f1 Author: Chun-wei Fan Date: Mon Nov 7 14:14:45 2011 +0800 Update VS property sheets gmain.h was added into the list of deprecated headers, so "install" that as weel. build/win32/vs10/glib.props | 2 ++ build/win32/vs9/glib.vsprops | 1 + 2 files changed, 3 insertions(+) commit fc0b8d4f28c1d3d24a0d92b134ebbe74966a4a73 Author: Matthias Clasen Date: Mon Nov 7 00:14:28 2011 -0500 Add a test for CDATA in gschema.xml files gio/tests/gschema-compile.c | 3 ++- gio/tests/schema-tests/cdata.gschema.xml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit 7ec69ecd3207abc750291231c37739d16d8d5a42 Author: Matthias Clasen Date: Mon Nov 7 00:13:56 2011 -0500 Accept CDATA in gschema.xml files gio/glib-compile-schemas.c | 1 + 1 file changed, 1 insertion(+) commit 41b8ce7100fa5fa4ecb01555e52b3664bcc41b28 Author: Alexander Larsson Date: Thu Nov 3 17:27:08 2011 +0100 win32: Remove some debug spew on startup This is not needed anymore and was causing problems for pkg-config. glib/gthread-win32.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit d2d62ecfcd09f91ed423b66b5b21be602dce2ecd Author: Matthias Clasen Date: Thu Nov 3 01:48:54 2011 -0400 Make the default log handler more useful We make the default log handler only print default and informational messages if the log domain is explicitly requested. https://bugzilla.gnome.org/show_bug.cgi?id=661926 docs/reference/glib/running.sgml | 34 +++++++++++++++++++++++++++++++++- glib/gmessages.c | 37 +++++++++++++++++++++++++++++++++++++ glib/tests/logging.c | 23 ++++++++++++++++++++++- 3 files changed, 92 insertions(+), 2 deletions(-) commit 7456b43c3e31355c97c19218e1e75eb44611d12f Author: Matthias Clasen Date: Thu Nov 3 00:39:31 2011 -0400 Move old deprecated gmain api into deprecated/ glib/Makefile.am | 1 + glib/deprecated/gmain.h | 138 +++++++++++++++++++++++++++++++++++++++++++++++ glib/glib.h | 1 + glib/gmain.h | 100 ---------------------------------- 4 files changed, 140 insertions(+), 100 deletions(-) commit a3c8712c4bc8c8ed4e7523ee06766436a6a84c0e Author: Matthias Clasen Date: Thu Nov 3 00:30:56 2011 -0400 Remove single-include guards in deprecated/ Not allowed to include these headers single anymore, either. glib/deprecated/gallocator.h | 2 +- glib/deprecated/gcompletion.h | 2 +- glib/deprecated/grel.h | 2 +- glib/deprecated/gthread.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 5896808e8c6a66db34d9c0c5562a3bef00357a25 Author: Matthias Clasen Date: Thu Nov 3 00:16:41 2011 -0400 GIO: Don't use G_DISABLE_DEPRECATED for functions gio/gdesktopappinfo.c | 2 -- gio/gdesktopappinfo.h | 6 ++++-- gio/gdrive.h | 2 -- gio/gfile.h | 4 ---- gio/giomodule.c | 2 -- gio/gmount.h | 2 -- gio/gtlsconnection.h | 5 ++--- gio/gunixsocketaddress.h | 4 ---- gio/gvolume.h | 2 -- gio/gvolumemonitor.h | 3 +-- 10 files changed, 7 insertions(+), 25 deletions(-) commit 328be3938ec4b65f2d19adc531148ce8c0b1803f Author: Matthias Clasen Date: Thu Nov 3 00:09:32 2011 -0400 GObject: Don't use G_DISABLE_DEPRECATED for functions gobject/gboxed.h | 2 -- gobject/glib-types.h | 3 +-- gobject/gobject.h | 5 +---- gobject/gparam.h | 2 -- gobject/gvaluetypes.h | 7 ++----- 5 files changed, 4 insertions(+), 15 deletions(-) commit 07bcb3f8d6451de9d44c1ff5891f7fc79d8fa524 Author: Matthias Clasen Date: Thu Nov 3 00:05:29 2011 -0400 Update deprecation docs docs/reference/glib/compiling.sgml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 03766a1a38407fbbbf8c30874e6f8d46e2b0da43 Author: Matthias Clasen Date: Thu Nov 3 00:04:15 2011 -0400 Don't use G_DISABLE_DEPRECATED guards around deprecated functions I'm leaving the old-style deprecation guards in place around deprecated macros, enumeration values, etc, for now. glib/gasyncqueue.h | 2 -- glib/gatomic.h | 2 -- glib/gfileutils.h | 6 ++---- glib/ghash.h | 4 +--- glib/giochannel.c | 2 -- glib/giochannel.h | 2 -- glib/glib.h | 2 -- glib/gmain.h | 3 +-- glib/gmappedfile.h | 2 -- glib/gmessages.h | 3 +-- glib/gstrfuncs.h | 8 -------- glib/gstring.h | 6 ++---- glib/gtree.h | 2 -- glib/gunicode.h | 3 --- glib/gutils.h | 2 +- 15 files changed, 8 insertions(+), 41 deletions(-) commit f9c2362e434b2d190296f8a41a7aa68c50474923 Author: Dan Winship Date: Fri Oct 28 15:38:52 2011 -0400 glib-mkenums: add --identifier-prefix and --symbol-prefix args Allow passing --identifier-prefix and --symbol-prefix to glib-mkenums, with the same meanings as in g-ir-scanner, to allow fixing up the enum name parsing globally rather than needing to add a /<* *>/ override to each enum. https://bugzilla.gnome.org/show_bug.cgi?id=661797 docs/reference/gobject/glib-mkenums.xml | 24 +++++++++++++++++ gobject/glib-mkenums.in | 43 +++++++++++++++++++++++-------- 2 files changed, 56 insertions(+), 11 deletions(-) commit 78a0dbd8536f993094be30bf8f1e3b189f571325 Author: Dan Winship Date: Fri Oct 28 15:38:27 2011 -0400 docs: don't refer to a deprecated glib-mkenums flag Refer to the new flag instead https://bugzilla.gnome.org/show_bug.cgi?id=661797 docs/reference/gobject/glib-mkenums.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dd4a8d333ddab043c5a6e89c0d19e56a1bdcec3e Author: Dan Winship Date: Fri Oct 14 14:32:11 2011 -0400 glib-mkenums.in: fix @ENUMPREFIX@ with /*< underscore_name=... >*/ For enums defined with an underscore_name override, @ENUMPREFIX@ would include a trailing "_". Fix. https://bugzilla.gnome.org/show_bug.cgi?id=661797 gobject/glib-mkenums.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9782598b81ffe35f892bb510c27bc0d1afffaeee Author: Aleksander Morgado Date: Thu Oct 27 16:54:02 2011 +0200 gdbus: avoid warning when finalizing a GDBusObjectManagerClient If the GDBusObjectManagerClient doesn't get a name owner during its lifetime, `on_control_proxy_g_signal' will never be connected to any signal, so we shouldn't dump any warning in that case. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=662858 gio/gdbusobjectmanagerclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1fc897352e2bd8c52f33517088213ee4b0024932 Author: David Zeuthen Date: Thu Oct 27 10:30:58 2011 -0400 g_bus_own_name: fix race when unowning a name immediately after owning it ... and also add a test to verify that the fix works. https://bugzilla.gnome.org/show_bug.cgi?id=662808 Signed-off-by: David Zeuthen gio/gdbusnameowning.c | 86 ++++++++++++++++++++++++++++++++++------------- gio/tests/gdbus-names.c | 29 ++++++++++++++-- 2 files changed, 89 insertions(+), 26 deletions(-) commit 4c038429b10a961b59b0c4a5c7ede40fe5aee494 Author: Ryan Lortie Date: Wed Oct 26 15:10:33 2011 -0400 Revert "gthread: G_STATIC_MUTEX_INIT: Fix this for the non-win32 case." This reverts commit 52fd106724aa79ad57ecaa7ad9d340f8c89da06d. glib/deprecated/gthread.h | 8 -------- 1 file changed, 8 deletions(-) commit 52fd106724aa79ad57ecaa7ad9d340f8c89da06d Author: Murray Cumming Date: Wed Oct 26 11:38:13 2011 +0200 gthread: G_STATIC_MUTEX_INIT: Fix this for the non-win32 case. Also initialize the unused member. This was correct before but was broken when the ifndef was moved inside the GStaticMutex struct: http://git.gnome.org/browse/glib/commit/glib/gthread.h?id=24652730a9faaedb19b9e90024077eb7f75a6907 This avoids a compiler warning. glib/deprecated/gthread.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 73d22207d166d02660d8864034b3eab855ad2f54 Author: Damien Lespinau Date: Mon Oct 24 22:25:59 2011 -0400 Add TAGS files to .gitignore "make tags" is the best way to produce tags in an automake project and yet very few people are using it so the tags files it generates are never added to the .gitignore files. Add TAGS files to .gitignore then. https://bugzilla.gnome.org/show_bug.cgi?id=615424 .gitignore | 1 + 1 file changed, 1 insertion(+) commit ba7bf09285636a3c150a83620c6d91611aa37b05 Author: Robert Nagy Date: Mon Oct 24 21:18:48 2011 -0400 Fix some build issues on OpenBSD Adapt to some OpenBSD header quirks. Patch by Robert Nagy. https://bugzilla.gnome.org/show_bug.cgi?id=661386 configure.ac | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 6a81ced72d0d5dc835e53dd6ae6652a3c9de494b Author: Sjoerd Simons Date: Fri Oct 21 15:40:56 2011 +0200 Fix document generation in out of tree builds https://bugzilla.gnome.org/show_bug.cgi?id=662390 docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5e2a2ef288abafa34213982365bf2019e882864e Author: Will Thompson Date: Thu Oct 20 16:07:03 2011 +0100 g_parse_debug_string: invert flags given besides "all" Any flags specified as well as "all" are subtracted from the result, allowing the user to specify FOO_DEBUG="all,bar,baz" to mean "give me debugging information for everything except bar and baz". https://bugzilla.gnome.org/show_bug.cgi?id=642452 glib/glib-init.c | 41 +++++++++++++++++++++++++++++------------ tests/testglib.c | 18 ++++++++++++++++-- 2 files changed, 45 insertions(+), 14 deletions(-) commit 73ffa9034f80ff08c30ff519984b5d00894c63c6 Author: Will Thompson Date: Wed Feb 16 10:48:22 2011 +0000 Test g_parse_debug_string ("all") https://bugzilla.gnome.org/show_bug.cgi?id=642452 tests/testglib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 94a46ea410ced6904691dba16d01485b6a6283f0 Author: Matthias Clasen Date: Mon Oct 24 13:43:11 2011 -0400 Fix 'make check' with clang Patch by Elias Pipping https://bugzilla.gnome.org/show_bug.cgi?id=662491 tests/run-assert-msg-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 73e3c98df07ae7180922216aa3bebfb434405375 Author: Matthias Clasen Date: Mon Oct 24 13:25:15 2011 -0400 Fix g_hash_table_iter_replace When reusing an existing key 'internally', we must avoid calling the key_destroy function on the old key. https://bugzilla.gnome.org/show_bug.cgi?id=662544 glib/ghash.c | 17 ++++++++++++----- glib/tests/hash.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 5 deletions(-) commit a124562d1bdd51de4b136725b3902b1e518d991f Author: Simon McVittie Date: Fri Oct 21 11:42:10 2011 +0100 GDBusConnection: document that this object is (meant to be) thread-safe Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit a031bacaac77d5de7388203dbe1ccc67b9142482 Author: Simon McVittie Date: Fri Oct 21 15:46:00 2011 +0100 GDBusConnection: make the closed flag atomic (but still lock to write) Strictly speaking, neither of the two uses that aren't under the lock *needs* to be atomic, but it seems better to be obviously correct (and we save another 4 bytes of struct). One of these uses is in g_dbus_connection_is_closed(), any use of which is inherently a race condition anyway. The other is g_dbus_connection_flush_sync, which as far as I can tell just needs a best-effort check, to not waste effort on a connection that has been closed for a while (but I could be wrong). I removed the check for the closed flag altogether in g_dbus_connection_send_message_with_reply_unlocked, because it turns out to be redundant with one in g_dbus_connection_send_message_unlocked, which is called immediately after. g_dbus_connection_close_sync held the lock to check the closed flag, which is no longer needed. As far as I can tell, the only reason why the lock is still desirable when setting the closed flag is so that remove_match_rule can't fail by racing with close notification from the worker thread - but on_worker_closed needs to hold the lock anyway, to deal with other data structures, so there's no point in trying to eliminate the requirement to hold the lock. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 163 +++++++++++++++++++++++++++++-------------------- 1 file changed, 96 insertions(+), 67 deletions(-) commit 9857cf8c46511b0fb1ed60ea96da8f4a310263e5 Author: Simon McVittie Date: Fri Oct 21 16:24:29 2011 +0100 GDBusConnection: document which properties are protected by @lock Also, a few that don't need to be. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 8df114f5975ac8819a5a16cb4c5492a179cdfa2e Author: Simon McVittie Date: Mon Oct 17 19:27:23 2011 +0100 GDBusConnection: access the exit-on-close flag atomically This isn't strictly necessary, because in every location where it's checked, if the reading thread misses an update from another thread, it's indistinguishable from the reading thread having been scheduled before the writing thread, which is an unavoidable race condition that callers need to cope with anyway. On the other hand, merging exit_on_close into atomic_flags gives the least astonishing semantics to library users and saves 4 bytes of struct, and if you're accessing exit-on-close often enough for it to be a performance concern, you're probably doing it wrong. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 3a0b60647d8fd3b7ecffd5f79641a1daa9d79299 Author: Simon McVittie Date: Mon Oct 17 13:27:03 2011 +0100 Annotate GDBusConnection private functions with thread/lock status The thread shared between all GDBusWorker instances was variously called the "worker thread" or "message handler thread", which I mostly changed to "the GDBusWorker thread" to avoid ambiguity. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 89 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 63 insertions(+), 26 deletions(-) commit a886c2b3b8396bfacf546c9c52911fabb58acc57 Author: Yaron Shahrabani Date: Sat Oct 22 12:39:15 2011 +0200 Updated Hebrew translation. po/he.po | 5798 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2916 insertions(+), 2882 deletions(-) commit c75ee5ed17c865072c7ee7c48fbea96ea8c09a62 Author: Matej Urbančič Date: Fri Oct 21 21:24:06 2011 +0200 Updated Slovenian translation po/sl.po | 5811 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2908 insertions(+), 2903 deletions(-) commit 9c07e7dc90b1331dab9f0e960d119d0889c7d585 Author: Ryan Lortie Date: Fri Oct 21 14:05:10 2011 -0400 GDBusMessage: fix leak of GError As part of the deserialisation process of a zero-length array in the DBus wire format, parse_value_from_blob() recursively calls itself with the expectation of failing (as can be seen by the assert immediately following). It passes &local_error to this always-failing call and then fails to free it (indeed, to use it at all). The result is that the GError is leaked. Fix it by passing in NULL instead, so that the GError is never created in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=662411 gio/gdbusmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d13ee1b5ff2a2ad5f32704cc5f071167a8852a6 Author: Ryan Lortie Date: Fri Oct 21 15:00:24 2011 -0400 GVariant format string docs: fix maybe types The documentation for maybe types failed to mention 'a' as one of the types that was handled with a single pointer for which NULL means "nothing". Correct that omission. Problem caught by Shaun McCance. docs/reference/glib/gvariant-varargs.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit e52437982c4dd1c88459f3eed0d8ad1dc167c0eb Author: Matthias Clasen Date: Fri Oct 21 14:57:47 2011 -0400 Make g_ascii_strtod behave as documented The docs explicitly state that we reset errno, so lets do that, even if we just wrap strtod_l. Also move the argument check out of the ifdef. https://bugzilla.gnome.org/show_bug.cgi?id=662398 glib/gstrfuncs.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 848df03e16e190eddf1ee63733d85f687b65bdf9 Author: Simon McVittie Date: Wed Oct 19 17:23:30 2011 +0100 GDBusConnection: check for initializedness in most public API The only exceptions are those of the trivial getters/setters that don't already need the initialization check for its secondary role as a memory barrier (this is consistent with GSocket, where trivial getters/setters don't check): * g_dbus_connection_set_exit_on_close * g_dbus_connection_get_exit_on_close * g_dbus_connection_is_closed g_dbus_connection_set_exit_on_close needs to be safe for use before initialization anyway, so it can be set at construct-time. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 3958a9fc1ef99b474373415d5d46d596293764f6 Author: Simon McVittie Date: Thu Oct 20 20:02:02 2011 +0100 GDBusConnection: document use while uninitialized as undefined behaviour Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662208 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit a7ea94929420cafe5189b477f24da4903bec9e49 Author: Simon McVittie Date: Thu Oct 20 13:12:26 2011 +0100 GDBusConnection: check for initialization where needed for thread-safety Also document which fields require such a check in order to have correct threading semantics. This usage doesn't matches the GInitable documentation, which suggests use of a GError - but using an uninitialized GDBusConnection is programming error, and not usefully recoverable. (The GInitable documentation may have been a mistake - GNOME#662208.) Also, not all of the places where we need it can raise a GError. The check serves a dual purpose: it turns a non-deterministic crash into a deterministic critical warning, and is also a memory barrier for thread-safety. All of these functions dereference or return fields that are meant to be protected by FLAG_INITIALIZED, so they could crash or return an undefined value to their caller without this, if called from a thread that isn't the one that called initable_init() (although I can't think of any way to do that without encountering a memory barrier, undefined behaviour, or a race condition that leads to undefined behaviour if the non-initializing thread wins the race). One exception is that initable_init() itself makes a synchronous call. We deal with that by passing new internal flags up the call stack, to reassure g_dbus_connection_send_message_unlocked() that it can go ahead. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusconnection.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++--- gio/gioenums.h | 2 + 2 files changed, 133 insertions(+), 8 deletions(-) commit 245d68be6ff0104783ce0b2d4bc0a139f09e0c34 Author: Simon McVittie Date: Fri Oct 21 16:02:22 2011 +0100 GDBusConnection: replace is_initialized with an atomic flag The comment implied that even failed initialization would set is_initialized = TRUE, but this wasn't the case - failed initialization would only set initialization_error, and it was necessary to check both. It turns out the documented semantics are nicer than the implemented semantics, since this lets us use atomic operations, which are also memory barriers, to avoid needing separate memory barriers or locks for initialization_error (and other members that are read-only after construction). I expect to need more than one atomically-accessed flag to fix thread safety, so instead of a minimal implementation I've turned is_initialized into a flags word. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661689 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661992 Reviewed-by: David Zeuthen gio/gdbusconnection.c | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) commit e1a481ec0ab4b727632e9ef5d74e001318ab84a2 Author: Chun-wei Fan Date: Thu Oct 20 14:42:51 2011 +0800 Fix VS 2008 property sheet Missed a required ';'-sorry about this. DOH! :| build/win32/vs9/glib.vsprops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 269acbe7032cbc02b0c0edead054824ba111a5f1 Author: Matthias Clasen Date: Wed Oct 19 21:03:43 2011 -0400 Deprecate g_atexit This function was just not a good idea to begin with. Its documentation gives plenty of reason not to use it. glib/gutils.c | 3 +++ glib/gutils.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 3569af4af10b2ae65d4d93bfb3de929e1d1e2308 Author: Cosimo Cecchi Date: Tue Oct 18 10:48:31 2011 -0400 desktop-app-info: annotate g_desktop_app_info_get_keywords() https://bugzilla.gnome.org/show_bug.cgi?id=662096 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9da3dc292c1a0e3e0418eec2b909163ff2b68be8 Author: Ryan Lortie Date: Wed Oct 19 15:26:25 2011 -0400 more NEWS NEWS | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit 2a98cc635e03e57623268045cb0d6761b1619fea Author: Ryan Lortie Date: Wed Oct 19 15:07:22 2011 -0400 The usual docs unbreaking... docs/reference/glib/Makefile.am | 1 + docs/reference/glib/building.sgml | 2 +- docs/reference/glib/glib-sections.txt | 4 +--- glib/giochannel.c | 10 +++++++++- glib/gmessages.c | 2 +- 5 files changed, 13 insertions(+), 6 deletions(-) commit 3fd412549fa50e06f92fb279d54a5d5b668600bc Author: Ryan Lortie Date: Wed Oct 19 10:11:54 2011 -0400 configure.ac: join the cargo-cult of _cv_ For some reason, the setting of g_atomic_lock_free wasn't making it down to the lower part of the configure script where glibconfig.h was being generated when building using mingw32-configure. If we prefix glib_cv_ to the start of the variable name (like everyone else is doing) then it magically starts working. I love you, automake. configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 612d2384670378d23e46046ab42ca98d618aba43 Author: Simon McVittie Date: Tue Oct 18 16:19:43 2011 +0100 gdbus-non-socket test: avoid use of a GMainContext across a fork See https://bugzilla.gnome.org/show_bug.cgi?id=658999 for why this would be bad. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/tests/gdbus-non-socket.c | 51 +++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 13 deletions(-) commit be89f052c2f578a812d7bba4bbd02be04a4fdc03 Author: Simon McVittie Date: Tue Oct 18 16:18:21 2011 +0100 gdbus-exit-on-close test: cover more possibilities We didn't previously test anything except the implicit default of TRUE. Now we test implicit TRUE, explicit TRUE, explicit FALSE, and disconnecting at the local end (which regressed while fixing Bug #651268). Also avoid some questionable use of a main context, which fell foul of Bug #658999 and caused this test to be disabled in master. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/tests/gdbus-exit-on-close.c | 141 ++++++++++++++++++++++++++++++++++----- 1 file changed, 125 insertions(+), 16 deletions(-) commit 5e0492da509aad12b93b732c449dae1a016367c1 Author: Simon McVittie Date: Wed Oct 19 10:49:56 2011 +0100 GDBusWorker: if a read was cancelled it means we closed the connection This was a regression caused by my previous work on GDBusWorker thread-safety (Bug #651268). The symptom is that if you disconnect a GDBusConnection locally, the default implementation of GDBusConnection::closed terminates your process, even though it shouldn't do that for locally-closed connections; this is because GDBusWorker didn't think a cancelled read was a local close. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/gdbusprivate.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 6c33e1cd9d9e247b8b2aa95e9617904a317b78c6 Author: Simon McVittie Date: Tue Oct 18 16:27:21 2011 +0100 Revert "Disable two GDBus tests" This reverts commit 05ef173466e32d8b3d212803e4a72239913a362d. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Signed-off-by: Simon McVittie Reviewed-by: David Zeuthen gio/tests/gdbus-exit-on-close.c | 3 +-- gio/tests/gdbus-non-socket.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 99f0eaa4c5a86f6fa721044bb6841f6bda4c689b Author: Ryan Lortie Date: Tue Oct 18 23:26:00 2011 -0400 Fix bug in g_static_rec_mutex_unlock_full() pthreads doesn't implement the _lock_full() and _unlock_full() calls on recursive mutexes so we don't have it on GRecMutex either. Now that we're using GRecMutex to implement GStaticRecMutex, we have to fake it by keeping an internal counter of the number of locks and calling g_rec_mutex_unlock() the appropriate number of times. The code to do this looked like: depth = mutex->depth; while (mutex->depth--) g_rec_mutex_unlock (rm); return depth; which unfortunately did one last decrement after mutex->depth was already zero (leaving it equal to -1). When locked the next time, the count would then increase from -1 to 0 and then the next _unlock_full() call would not do any calls to g_rec_mutex_unlock(), leading to a deadlock. https://bugzilla.gnome.org/show_bug.cgi?id=661914 glib/deprecated/gthread-deprecated.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit aba0f0c38bbfa11ad48b5410ebdbed2a99e68c58 Author: Ryan Lortie Date: Tue Oct 18 16:21:50 2011 -0400 gatomic: introduce G_ATOMIC_LOCK_FREE We clean up the detection of if we should do 'real' atomic operations or mutex-emulated ones with the introduction of a new (public) macro: G_ATOMIC_LOCK_FREE. If defined, our atomic operations are guaranteed to be done in hardware. We need to use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 to determine if our compiler supports GCC-style atomic operations from the gatomic.h header because we might be building a program against GLib using a different set of compiler options (or a different compiler) than was used to build GLib itself. Unfortunately, this macro is not available on clang, so it has currently regressed to using the mutex emulation. A bug about that has been opened here: http://llvm.org/bugs/show_bug.cgi?id=11174 configure.ac | 85 ++++++++++++++++++++------------ docs/reference/glib/glib-overrides.txt | 5 ++ docs/reference/glib/glib-sections.txt | 3 ++ glib/gatomic.c | 48 ++++++++++-------- glib/gatomic.h | 4 +- glib/glibconfig.h.win32.in | 2 + 6 files changed, 93 insertions(+), 54 deletions(-) commit c9b6c3c85ac8f870ff193ae75b2bd19a7a310ec9 Author: Ryan Lortie Date: Tue Oct 18 16:21:17 2011 -0400 gatomic: cast to the correct pointer sign In the fallback case of the g_atomic_int_ macros we had some (gint*) casts that should have been (guint*) casts. glib/gatomic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4641d13770d4591ce85c5d8ffaf0484703666cc4 Author: Mario Blättermann Date: Tue Oct 18 22:28:23 2011 +0200 [l10n] Updated German translation po/de.po | 5958 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2981 insertions(+), 2977 deletions(-) commit 915e2238c478737def2f8919204ee10d06ecb98a Author: David Zeuthen Date: Thu Oct 13 16:53:44 2011 -0400 gio: Introduce get_sort_key() methods on GDrive, GVolume and GMount This is needed to implement efficient and predictable proxy volume monitors, see https://bugzilla.gnome.org/show_bug.cgi?id=661711 for details. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 +++ gio/gdrive.c | 25 +++++++++++++++++++++++++ gio/gdrive.h | 5 +++++ gio/gio.symbols | 3 +++ gio/gmount.c | 25 +++++++++++++++++++++++++ gio/gmount.h | 5 +++++ gio/gvolume.c | 25 +++++++++++++++++++++++++ gio/gvolume.h | 5 +++++ 8 files changed, 96 insertions(+) commit 4a25d21bd08b7dcf38f781bf678ee8fffe817203 Author: Javier Jardón Date: Sun Oct 2 17:58:16 2011 +0100 tests/gobject: Use G_VALUE_INIT tests/gobject/override.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 108480b7baad8d02b7b0f9729146a04ad09219de Author: Javier Jardón Date: Fri Sep 30 17:19:50 2011 +0100 gobject: Use G_VALUE_INIT gobject/gbinding.c | 16 ++++++++-------- gobject/gobject.c | 8 ++++---- gobject/gparam.c | 4 ++-- gobject/gsignal.c | 6 +++--- gobject/gsourceclosure.c | 6 +++--- gobject/gvaluetypes.c | 2 +- gobject/tests/boxed.c | 26 +++++++++++++------------- gobject/tests/enums.c | 4 ++-- gobject/tests/ifaceproperties.c | 4 ++-- gobject/tests/param.c | 12 ++++++------ gobject/tests/reference.c | 2 +- gobject/tests/valuearray.c | 2 +- 12 files changed, 46 insertions(+), 46 deletions(-) commit 8d3250016dac9d43b2a2de6dacb670a9fbc88808 Author: Javier Jardón Date: Fri Sep 30 17:08:15 2011 +0100 gio: Use G_VALUE_INIT gio/gasynchelper.c | 4 ++-- gio/gcancellable.c | 4 ++-- gio/gdbus-2.0/codegen/codegen.py | 6 +++--- gio/gdbusnameowning.c | 6 +++--- gio/gdbusnamewatching.c | 4 ++-- gio/gpollableinputstream.c | 4 ++-- gio/gsettings.c | 4 ++-- gio/gsocket.c | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) commit f07201c314e891354f236d7ec49a11700ce02da0 Author: Sjoerd Simons Date: Sun Oct 16 10:57:29 2011 +0100 GDBusConnection: Fix race in /gdbus/connection/life-cycle GDBusConnection sets the closed flag in the worker thread, then adds an idle callback (which refs the Connection) to signal this in the main thread. The tests session_bus_down doesn't spin the mainloop, so the "closed" signal will always fire if iterating the mainloop later (and drops the ref when doing so). But _is_closed can return TRUE even before signalling this, in which case the "closed" signal isn't fired and the ref isn't dropped, causing the test to fail. Instead simply always wait for the closed signal, which is a good thing to check anyway and ensures the ref is closed. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661896 Reviewed-by: Matthias Clasen gio/tests/gdbus-connection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit cf3f1b026b13fe377057f6e1102eefaad1e24c72 Author: Alexander Larsson Date: Tue Oct 18 14:15:07 2011 +0200 Actually Don't define GLIB_COMPILATION in libgthread Last commit was wrong, fixing it up glib/gthread-win32.c | 9 +++++++-- gthread/Makefile.am | 1 - gthread/gthread-impl.c | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) commit be770969e93f989d7165b240c4e7e5e6ac9c0587 Author: Alexander Larsson Date: Tue Oct 18 13:34:06 2011 +0200 Don't define GLIB_COMPILATION in libgthread This was turning all the GLIB_VARs in the glib headers into dllexports on windows, causing all sort of nastiness. libgthread is mostly empty now anyway, so we don't need any GLIB_COMPILATION like flag. glib/gthread-win32.c | 9 ++------- gthread/gthread-impl.c | 4 ---- 2 files changed, 2 insertions(+), 11 deletions(-) commit 735420e54690d5971a0e258e12fff6ee79ae34a6 Author: Matthias Clasen Date: Mon Oct 17 17:01:36 2011 -0400 Fix an include guard mismatch Spotted by Colin Walters. glib/gcharset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52389bd01067284565b007bc156643d534282842 Author: Alexander Larsson Date: Mon Oct 17 23:00:29 2011 +0200 Fix up testcase broken due to g_thread_new API change gio/tests/win32-streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f3ac581713f7297b0bf33c77c47e9bf32961775f Author: Chun-wei Fan Date: Tue Oct 18 00:15:37 2011 +0800 Move _glib_get_locale_dir to ggettext.c -Move _glib_get_locale_dir to ggettext.c, as Matthias suggested -Made up for the headers that needed to be included in ggettext.c to avoid C4013 (implicit declaration of ...) errors/warnings glib/ggettext.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gutils.c | 50 ------------------------------------------------- 2 files changed, 56 insertions(+), 50 deletions(-) commit 9973383bd05236272f28909db8f422f7a56b11ea Author: Piotr Drąg Date: Mon Oct 17 18:31:48 2011 +0200 Updated POTFILES.in po/POTFILES.in | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) commit 32214583c361e1b0406a3e6c77c66d907f3f1126 Author: Chun-wei Fan Date: Mon Oct 17 14:54:50 2011 +0800 Fix gio.symbols g_simple_action_get_parameter_type is now static, so this symbol needs to be removed from here... gio/gio.symbols | 1 - 1 file changed, 1 deletion(-) commit b25177fc4f1aaa1daf27791982ecc5e001845d2c Author: Chun-wei Fan Date: Mon Oct 17 14:53:58 2011 +0800 GLib: Add forgotten includes and build fixes -gcharset.c, genviron.c, gunicollate.c: Some headers were missed in those files that triggered C4013 warnings/errors (aka. implicit declaration of ... in GCC). Make up for them here. -gwin32.h: Only define g_win32_get_package_installation_directory/ g_win32_get_package_installation_subdirectory as macros (alias of g_win32_get_package_installation_directory_utf8/ g_win32_get_package_installation_subdirectory_utf8) on Win64 (x64) as g_win32_get_package_installation_directory/ g_win32_get_package_installation_subdirectory have seperate existing implmentations for Win32-this is a long-standing problem but was covered- up by G_DISABLE_DEPRECATED, which we are stopping to use as of 2.31.0. glib/gcharset.c | 3 +++ glib/genviron.c | 6 ++++++ glib/gunicollate.c | 1 + glib/gwin32.h | 2 ++ 4 files changed, 12 insertions(+) commit e5fd0f5df6043887a985f922ee4a35b73585ca3e Author: Ryan Lortie Date: Mon Oct 17 10:54:50 2011 -0400 Revert "Bug 652827 - glib-2.29.8 no longer builds with mingw.org's toolchain" This reverts commit 349212211247781e7bec43b95cb57dddc1d0e5b1. configure.ac | 12 +----------- glib/gatomic.c | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) commit 3a04f8796855777aa503f1be9ee90107d978cd76 Author: Chun-wei Fan Date: Mon Oct 17 17:47:00 2011 +0800 Update VS property sheets Some new headers were added... build/win32/vs10/glib.props | 10 ++++++++++ build/win32/vs9/glib.vsprops | 5 +++++ 2 files changed, 15 insertions(+) commit e192f45a932b62edcd1d3e2315a5dff20747a346 Author: Chun-wei Fan Date: Mon Oct 17 17:18:20 2011 +0800 glib/tests/thread.c: Add config guards Not all systems come with unistd.h and sys/time.h, so use config guards on them so that they are only included when available. glib/tests/thread.c | 4 ++++ 1 file changed, 4 insertions(+) commit 1bfa7e7e860feb9e825ad0a4ae340aca7afe51a6 Author: Chun-wei Fan Date: Mon Oct 17 16:40:44 2011 +0800 Update VS property sheets gcache.h is now a deprecated header, so up the "install" part for it. build/win32/vs10/glib.props | 4 ++-- build/win32/vs9/glib.vsprops | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2f71118e785be41953765d048a7d03718a94e619 Author: Matthias Clasen Date: Mon Oct 17 02:14:18 2011 -0400 More include cleanups glib/gconvert.c | 2 -- glib/grand.c | 1 - glib/gstrfuncs.c | 1 - glib/gthread-win32.c | 4 +--- 4 files changed, 1 insertion(+), 7 deletions(-) commit eb125665d8ad11c22457b4ec5062ede6594b8d89 Author: Chun-wei Fan Date: Mon Oct 17 14:17:53 2011 +0800 Update VS property sheets Stop using G_DISABLE_DEPRECATED as there are now warnings for usage of deprecated APIs/items in GLib build/win32/vs10/glib.props | 2 +- build/win32/vs9/glib.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0ec3c744c4f90d99b46658b39cab36a530904ab8 Author: Matthias Clasen Date: Mon Oct 17 01:59:35 2011 -0400 include cleanup glib/gutils.c | 4 ---- 1 file changed, 4 deletions(-) commit d9053e026c5b56a0aab2ca684de0929024181d10 Author: Matthias Clasen Date: Mon Oct 17 01:52:10 2011 -0400 Make things compile again glib/Makefile.am | 2 + glib/glib.h | 1 + glib/gstrfuncs.c | 308 +----------------------------------------------------- glib/gstrfuncs.h | 19 ---- glib/gutils.c | 63 +---------- 5 files changed, 5 insertions(+), 388 deletions(-) commit 08933846e49d14e48dded58b6237cbc0a7a9c371 Author: Matthias Clasen Date: Mon Oct 17 01:50:00 2011 -0400 Move gettext variations into their own files glib/ggettext.c | 402 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/ggettext.h | 59 ++++++++ 2 files changed, 461 insertions(+) commit 67bf0083db329d02ad2e99a8f4586ebfdcba1dd2 Author: Matthias Clasen Date: Mon Oct 17 01:30:31 2011 -0400 Reshuffle some functions between gutils and gfileutils Move filename-related functions to gfileutils, and move size formatting functions to gutils. glib/gfileutils.c | 709 ++++++++++++++++++++++++++++++++++------------------- glib/gfileutils.h | 101 +++++--- glib/gutils.c | 679 +++++++++++++++++++------------------------------- glib/gutils.h | 60 +---- 4 files changed, 779 insertions(+), 770 deletions(-) commit 23afdb119e05741e90d048b0d54077842de25720 Author: Matthias Clasen Date: Mon Oct 17 01:30:09 2011 -0400 include cleanup glib/gconvert.c | 1 + 1 file changed, 1 insertion(+) commit f8a747130887ee1b48d31fe2a5b3480b121379d7 Author: Matthias Clasen Date: Mon Oct 17 01:11:56 2011 -0400 Trivial glib/genviron.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit fbe24cab21fbf85c5f52b3cb5967efe614194756 Author: Matthias Clasen Date: Mon Oct 17 00:33:54 2011 -0400 Reshuffle genviron.c Split win32 functions off into their own section, instead of having large and unwieldy ifdef sections inside each function. Also move the compat versions of env functions over from gutils.c glib/genviron.c | 727 ++++++++++++++++++++++++++++++------------------------- glib/gutils.c | 49 ---- 2 files changed, 396 insertions(+), 380 deletions(-) commit b0ab7aba6bf2d70e0546f85091d76d9f83174ce8 Author: Ryan Lortie Date: Sun Oct 16 21:59:55 2011 -0400 push G_THREADS_MANDATORY over the cliff This was used as an optimisation for the macro hackery that used to live in gthread.h. If a particular library or program knew that it could rely on thread support being enabled, it would allow for static evaluation of conditionals in some of those macros. Since the macros are dead and thread support is now always-on, we can get rid of this bit of legacy. gio/Makefile.am | 2 -- glib/Makefile.am | 1 - glib/deprecated/gthread.h | 6 +----- gobject/Makefile.am | 2 -- 4 files changed, 1 insertion(+), 10 deletions(-) commit b0760207197cb32dcc89190f6329a043670ecbd7 Author: Ryan Lortie Date: Sun Oct 16 21:53:03 2011 -0400 gobject/gio: some last missed statics/inclues gio/glib-compile-schemas.c | 2 +- gobject/gparam.c | 2 +- gobject/gvalue.c | 1 + gobject/testgobject.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit a6d9cf3380a3be9ea518227cba3c571726bb99c6 Author: Ryan Lortie Date: Sun Oct 16 21:50:26 2011 -0400 gthread/: fix up declarations g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED from the CFLAGS for gthread/. Add the missing declaration for g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h. glib/deprecated/gthread.h | 2 ++ gthread/Makefile.am | 3 +-- gthread/gthread-impl.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 3eec796b18e56351638cc6c0c03ab481618d0e29 Author: Ryan Lortie Date: Sun Oct 16 20:58:02 2011 -0400 Add private prototype for g_thread_init_glib() This function was never put in a header and was only used internally from libgthread, but we should keep the symbol around to avoid triggering any false-positives on ABI checkers. For -Wmissing-prototypes compatibility with this unusual case, we should add a private prototype in the .c file just before. glib/deprecated/gthread-deprecated.c | 1 + 1 file changed, 1 insertion(+) commit 09429e2c820118918e6132d32884eb02203136d4 Author: Ryan Lortie Date: Sun Oct 16 21:24:45 2011 -0400 gio static fixups gio/gapplicationimpl-dbus.c | 2 +- gio/giomodule.c | 2 +- gio/gkeyfilesettingsbackend.c | 2 +- gio/gnetworkaddress.c | 1 + gio/gnetworkservice.c | 1 + gio/gsettingsschema.c | 2 ++ gio/gsimpleaction.c | 2 +- gio/gsocketaddress.c | 1 + gio/gsocketclient.c | 2 +- gio/gsrvtarget.c | 2 +- gio/gtlscertificate.c | 4 ++-- 11 files changed, 13 insertions(+), 8 deletions(-) commit 740eacbfcacb4acdc09a5ef93cb2840d1648ce28 Author: Ryan Lortie Date: Sun Oct 16 21:17:10 2011 -0400 static and #include fixups in glib/ glib/gfileutils.c | 2 +- glib/gmain.c | 2 +- glib/gvariant-parser.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 1b018a8bb2c4c508fe8e3996a31210d655b70d30 Author: Ryan Lortie Date: Sun Oct 16 21:13:22 2011 -0400 genviron: #include fixups glib/genviron.c | 2 ++ glib/genviron.h | 2 ++ 2 files changed, 4 insertions(+) commit 38e8ecd62a4e9dfcdf37bc31d8de6fb1fd39d6b5 Author: Ryan Lortie Date: Sun Oct 16 21:11:11 2011 -0400 more 'static' adding in testcases No dead code found this time... gio/tests/gapplication-example-cmdline2.c | 3 ++- gio/tests/gdbus-example-export.c | 3 ++- gio/tests/gsettings.c | 7 ++++--- gio/tests/gtlsconsoleinteraction.c | 4 ++-- gio/tests/io-stream.c | 1 + gio/tests/socket-common.c | 2 +- gio/tests/tls-interaction.c | 1 + gobject/tests/binding.c | 2 ++ gobject/tests/boxed.c | 1 + gobject/tests/dynamictests.c | 5 ++++- gobject/tests/ifaceproperties.c | 7 ++++--- gobject/tests/properties.c | 1 + gobject/tests/reference.c | 1 + gobject/tests/signals.c | 4 ++-- gobject/tests/threadtests.c | 7 +++++++ 15 files changed, 35 insertions(+), 14 deletions(-) commit b264fccd23cfb678fbaba9fc7459220f5eef7e14 Author: Ryan Lortie Date: Sun Oct 16 21:10:23 2011 -0400 contexts test: don't use deprecated GCond wait API gio/tests/contexts.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 3d93c44374964b5846aea61f32ecb294efe148db Author: Ryan Lortie Date: Sun Oct 16 20:57:40 2011 -0400 Mark some functions 'static' in glib/tests This has uncovered two unused testcases in option-context.c. They are currently broken and require more investigation (which is probably why they are unused). glib/tests/642026.c | 2 +- glib/tests/collate.c | 4 +- glib/tests/cond.c | 2 +- glib/tests/logging.c | 8 ++-- glib/tests/markup-subparser.c | 2 +- glib/tests/option-context.c | 91 +++++++++++++++++++++-------------------- glib/tests/sequence.c | 2 +- glib/tests/slice.c | 2 +- glib/tests/strfuncs.c | 2 +- glib/tests/string.c | 2 +- 10 files changed, 59 insertions(+), 58 deletions(-) commit 5f79db145d5caf5c16d254cba80cccfdb82e1abc Author: OKANO Takayoshi Date: Mon Oct 17 09:25:08 2011 +0900 Updated Japanese translation po/ja.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit c3a1d832b8f783308f038bf2b821359c87fedcaf Author: Ryan Lortie Date: Sun Oct 16 19:21:35 2011 -0400 README: Add note about gobject->gthread situation README.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 086d577b3dc7aa1509e95a875984682d9048aabc Author: Ryan Lortie Date: Sun Oct 16 19:17:52 2011 -0400 gobject.pc: remove dependency on gthread GObject no longer uses gthread, so libgthread should no longer be included in the linker flags of programs built against GObject. gobject-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 306aa62ea5fa4d3a57bca419afcc159f9509b476 Author: Ryan Lortie Date: Sun Oct 16 19:14:18 2011 -0400 drop -uninstalled.pc files These were meant to provide the ability to use GLib directly out of its build tree but have a couple of rather serious limitations that prevent their serious use: - these files only worked with programs built using libtool - for non-trivial uses, other environment variables will need to be setup to allow GLib to function properly - the system doesn't stack well when attempting to use multiple libraries all uninstalled The jhbuild --prefix= style system works much better in every way, so we remove this old hack. Makefile.am | 9 +-------- README.in | 2 ++ configure.ac | 7 ------- gio-2.0-uninstalled.pc.in | 6 ------ gio-unix-2.0-uninstalled.pc.in | 6 ------ glib-2.0-uninstalled.pc.in | 9 --------- gmodule-2.0-uninstalled.pc.in | 8 -------- gmodule-no-export-2.0-uninstalled.pc.in | 14 -------------- gobject-2.0-uninstalled.pc.in | 7 ------- gthread-2.0-uninstalled.pc.in | 6 ------ 10 files changed, 3 insertions(+), 71 deletions(-) commit c5aa8390b27c6cb535251187f8d4f86da59730e9 Author: Ryan Lortie Date: Sun Oct 16 19:11:00 2011 -0400 gitignore gio/tests/.gitignore | 14 ++++++++------ glib/tests/.gitignore | 13 +++++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) commit a9a1c97904aeed96bcb248e16cb495e6907b7126 Author: Ryan Lortie Date: Sun Oct 16 19:08:59 2011 -0400 gthread: move test cases to glib/ configure.ac | 1 - glib/tests/1bit-mutex.c | 157 ++++++++++++++++++++ glib/tests/642026.c | 91 ++++++++++++ glib/tests/Makefile.am | 46 +++++- glib/tests/gwakeuptest.c | 272 +++++++++++++++++++++++++++++++++++ glib/tests/spawn-multithreaded.c | 236 ++++++++++++++++++++++++++++++ glib/tests/spawn-singlethread.c | 190 ++++++++++++++++++++++++ glib/tests/test-spawn-echo.c | 39 +++++ gthread/Makefile.am | 3 - gthread/tests/.gitignore | 11 -- gthread/tests/1bit-mutex.c | 157 -------------------- gthread/tests/642026.c | 91 ------------ gthread/tests/Makefile.am | 52 ------- gthread/tests/gwakeuptest.c | 272 ----------------------------------- gthread/tests/spawn-multithreaded.c | 236 ------------------------------ gthread/tests/spawn-singlethread.c | 190 ------------------------ gthread/tests/test-spawn-echo.c | 39 ----- 17 files changed, 1029 insertions(+), 1054 deletions(-) commit fb4e120d88777affc4a8fbeb73312b1e810e2431 Author: Ryan Lortie Date: Sun Oct 16 19:04:19 2011 -0400 tests: merge gthread/ and glib/ atomic tests glib/tests/atomic.c | 60 +++++++++++++++++++++++++++++++++++++- gthread/tests/Makefile.am | 4 --- gthread/tests/atomic.c | 70 --------------------------------------------- 3 files changed, 59 insertions(+), 75 deletions(-) commit f5e869478221387f915bb619892d68d10744ff65 Author: Ryan Lortie Date: Sun Oct 16 19:01:55 2011 -0400 glib/tests/atomic: convert to proper gtester test glib/tests/atomic.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 6c1d768f7bb4ced7d0f484fe9fe8ee2daef489e2 Author: Matthias Clasen Date: Sun Oct 16 18:43:22 2011 -0400 Also clean up includes glib/gconvert.c | 1 + glib/gmessages.c | 3 ++- glib/gunicode.h | 3 --- glib/gutils.h | 4 ---- 4 files changed, 3 insertions(+), 8 deletions(-) commit 0589f715e5462b6bfcadc044fe4bcf9bbaf62ccb Author: Matthias Clasen Date: Sun Oct 16 18:40:58 2011 -0400 Move charset and locale name functions to their own files They did not really belong into either gutils or gutf8. glib/Makefile.am | 6 +- glib/gcharset.c | 589 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gcharset.h | 40 ++++ glib/glib.h | 1 + glib/gutf8.c | 193 ------------------ glib/gutils.c | 363 --------------------------------- 6 files changed, 634 insertions(+), 558 deletions(-) commit 86cc4b246da0896d7842d121bf5bc019741ba99b Author: Matthias Clasen Date: Sun Oct 16 17:37:29 2011 -0400 Add deprecation annotations to mem chunk apis glib/deprecated/gallocator.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e7b4319d61495d742915770a7b6f4fc14c29db02 Author: Matthias Clasen Date: Sun Oct 16 17:01:26 2011 -0400 Move version APIs out of gutils Just another cleanup. glib/Makefile.am | 2 + glib/glib.h | 1 + glib/gutils.c | 93 ---------------------------------- glib/gutils.h | 42 ---------------- glib/gversion.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gversion.h | 78 +++++++++++++++++++++++++++++ 6 files changed, 226 insertions(+), 135 deletions(-) commit 45f221c32f7c88e487fe260eefb3be8d1c2443af Author: Matthias Clasen Date: Sun Oct 16 16:52:24 2011 -0400 Move GTrashStack out of gutils.[hc] Reducing the mess in gutils, and moving docs inline at the same time. Double win. docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/trash_stack.sgml | 77 --------------------- glib/Makefile.am | 2 + glib/glib.h | 1 + glib/gslice.c | 1 + glib/gtrashstack.c | 94 ++++++++++++++++++++++++++ glib/gtrashstack.h | 103 +++++++++++++++++++++++++++++ glib/gutils.h | 61 ----------------- 8 files changed, 202 insertions(+), 138 deletions(-) commit 6ab1c772705560f62b3f302ee0d396eed06eefb4 Author: Matthias Clasen Date: Sun Oct 16 16:23:18 2011 -0400 Pass correct data to fatal log handlers This was pointed out by John Ralls in bug 653052. He also provided the test case. glib/gmessages.c | 2 +- glib/tests/logging.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) commit 1435db48baff185660650d46992f1a290a803b9d Author: Martin Pitt Date: Wed Aug 17 08:57:15 2011 +0200 Clarify g_spawn_*() behaviour without full path Document the previously uncovered case of calling g_spawn_async_with_pipes() without a full path but no G_SPAWN_SEARCH_PATH. This runs programs from the current directory, which might be unexpected and even dangerous in some corner cases. https://bugzilla.gnome.org/show_bug.cgi?id=656621 glib/gspawn.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8ff94df6325b54264cd2ea7b7b6701665b1014a9 Author: Matthias Clasen Date: Sun Oct 16 14:34:16 2011 -0400 Add a tests of some GVfs functions https://bugzilla.gnome.org/show_bug.cgi?id=656621 gio/tests/Makefile.am | 7 +++++-- gio/tests/vfs.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) commit c41f6a0b7c90a51f7e195669083754e96c794d6a Author: Jiro Matsuzawa Date: Mon Oct 17 01:54:33 2011 +0900 Updated Japanese translation po/ja.po | 218 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 122 insertions(+), 96 deletions(-) commit 0e68a7d06d5ca68253d1992a8147afc3ecd90460 Author: Jiro Matsuzawa Date: Sat Sep 17 11:30:01 2011 +0900 Updated Japanese translation po/ja.po | 195 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 98 insertions(+), 97 deletions(-) commit 448be24cf38e90c0ba415cb37cbc0bae09666593 Author: Matthias Clasen Date: Sun Oct 16 00:08:42 2011 -0400 Add app lauch environment test gio/tests/appinfo.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit cbb0b2a0ed4e5e219902fd0dbbff408ff0324381 Author: Matthias Clasen Date: Sat Oct 15 23:58:30 2011 -0400 Add g_get_codeset test glib/tests/utils.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 1493285f1d4693b54020dd77bbbfd8a5086af6ae Author: Matthias Clasen Date: Sat Oct 15 23:58:18 2011 -0400 Add GAsyncQueue unit test glib/tests/Makefile.am | 3 + glib/tests/asyncqueue.c | 182 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+) commit d0bb1e0b0a3237f982a0ec234e7be877d4e223f2 Author: Matthias Clasen Date: Sat Oct 15 23:27:28 2011 -0400 Move g_get_codeset next to g_get_charset g_get_codeset is a close relatove to g_get_charset, and up to now it lived a shadowy existence without any header presence. docs/reference/glib/glib-sections.txt | 1 + glib/gunicode.h | 13 ++++--------- glib/gutf8.c | 28 +++++++++++++++++++++++----- glib/gutils.c | 18 ------------------ 4 files changed, 28 insertions(+), 32 deletions(-) commit 976b0b72a477d64c9d4382de11b6db900ed9405f Author: Matthias Clasen Date: Sat Oct 15 20:06:32 2011 -0400 Include genviron.h where necessary glib/gasyncqueue.c | 1 + glib/grand.c | 1 + glib/gspawn.c | 1 + 3 files changed, 3 insertions(+) commit 327e72f9fb9a44e9756dd037c2562701925a6a81 Author: Matthias Clasen Date: Sat Oct 15 19:39:14 2011 -0400 And fix the syntax, too glib/genviron.h | 2 ++ 1 file changed, 2 insertions(+) commit 7df9637f0f09a2eefaddb1a76f171dc3f20e3430 Author: Matthias Clasen Date: Sat Oct 15 19:38:10 2011 -0400 Forgotten file glib/genviron.h | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit d4dfca21bb01c98fcf415f974edc63297a38b59c Author: Matthias Clasen Date: Sat Oct 15 18:23:07 2011 -0400 Drop unused copy of _g_getenv_nomalloc glib/genviron.c | 610 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 610 insertions(+) commit a7143a0e9f597916e3cfb7e3b59674f571e9cba6 Author: Simon McVittie Date: Thu Oct 13 17:39:03 2011 +0100 GDBusConnection: warn that direct access to the stream is a bad idea Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661679 Signed-off-by: Simon McVittie gio/gdbusconnection.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 70eff50f218e9bf34dafb97f50f0bc5da9356256 Author: Torsten Schönfeld Date: Tue Aug 16 19:11:43 2011 +0200 Add two annotations to gio https://bugzilla.gnome.org/show_bug.cgi?id=656679 gio/gfile.c | 2 +- gio/gfileinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5dcc502f914db3b57599e6740345b46292a979a4 Author: Simon McVittie Date: Tue Oct 4 10:14:35 2011 +0100 Document that types are limited to 64 KiB Bug: https://bugzilla.gnome.org/show_bug.cgi?id=659916 Signed-off-by: Simon McVittie gobject/gtype.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 33a86fce6a157ec7a69fe21a157b27748cb286eb Author: Kean Johnston Date: Sat Oct 15 17:57:23 2011 -0400 GIOModule: Use G_SEARCHPATH_SEPARATOR_S instead of ":" https://bugzilla.gnome.org/show_bug.cgi?id=661257 gio/giomodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94accc2d7891c8147ea5468828a346c716b06045 Author: Giovanni Campagna Date: Sat Oct 15 17:54:41 2011 -0400 GKeyFile: improve introspection annotations Ensure that all methods that take or return arrays are annotated (including length). Mark ref, unref and free methods as (skip). https://bugzilla.gnome.org/show_bug.cgi?id=590808 glib/gkeyfile.c | 60 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) commit 96817746d999ce34b4fd3471b3c58d3a6be2dcbd Author: Giovanni Campagna Date: Sat Oct 15 17:51:25 2011 -0400 Turn GKeyFile into a boxed for introspection Using the new refcounting API, introduce a boxed type wrapping GKeyFile and expose it introspection bindings in glib-types.h. docs/reference/gobject/gobject-sections.txt | 1 + gobject/gboxed.c | 2 ++ gobject/glib-types.h | 10 ++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 14 insertions(+) commit a57c9148cf6dde67c967b837d74faf92a12c3ca6 Author: Christian Persch Date: Mon May 25 15:07:27 2009 +0200 GKeyFile: Add refcounting API Adds g_key_file_ref and g_key_file_unref, to be used by a future GKeyFile boxed type for language bindings. Based on the patch by Christian Persch and Emmanuele Bassi. Author: Christian Persch Signed-off-by: Johan Dahlin Signed-off-by: Giovanni Campagna https://bugzilla.gnome.org/show_bug.cgi?id=590808 docs/reference/glib/glib-sections.txt | 2 ++ glib/gkeyfile.c | 59 ++++++++++++++++++++++++++++++--- glib/gkeyfile.h | 2 ++ glib/glib.symbols | 2 ++ 4 files changed, 60 insertions(+), 5 deletions(-) commit dfd75d2ead8c41f307f0daeb84aaa9e4bd923119 Author: Matthias Clasen Date: Sat Oct 15 17:31:47 2011 -0400 Add 'Since 2.32' indexes to gio and gobject docs docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 2 files changed, 8 insertions(+) commit de834bed306565c0652050665eafff4dfcdf0d8b Author: Dan Winship Date: Sat Oct 15 16:59:59 2011 -0400 GAppLaunchContext: add environment-manipulating functions Add functions for manipulating the environment under which a GAppLaunchContext will launch its children, to avoid thread-related bugs with using setenv() directly. FIXME: win32 side isn't implemented yet https://bugzilla.gnome.org/show_bug.cgi?id=659326 docs/reference/gio/gio-sections.txt | 3 + gio/gappinfo.c | 99 +++++++++++++++++++++++- gio/gappinfo.h | 66 +++++++++------- gio/gdesktopappinfo.c | 145 ++++++++++++++++++++--------------- gio/gio.symbols | 3 + gio/gwin32appinfo.c | 9 +++ 6 files changed, 232 insertions(+), 93 deletions(-) commit 117e534091d7cf21ab48c56141a3340a15c74390 Author: Matthias Clasen Date: Sat Oct 15 16:50:23 2011 -0400 Misc doc formatting fixes docs/reference/glib/glib-sections.txt | 1 - glib/gscanner.c | 9 ++++----- glib/gthread.c | 16 +++++++--------- glib/gthread.h | 2 +- glib/gthreadpool.c | 4 ++-- 5 files changed, 14 insertions(+), 18 deletions(-) commit 94c246e8e3816d05971e9a825cf15769b04e8098 Author: Matthias Clasen Date: Sat Oct 15 16:28:07 2011 -0400 Add tests for new g_environ_ functions glib/tests/environment.c | 62 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) commit 7a9987d35d568707df2c7c12e851623b46e9e63d Author: Matthias Clasen Date: Sat Oct 15 16:13:08 2011 -0400 Move environment-related functions into their own files gutils.[hc] is a bit of a grab bag, so lets start cleaning things up by moving all the environment-related functions into separate genviron.[hc] files. The private _g_getenv_nomalloc has been moved to its sole caller. glib/Makefile.am | 4 +- glib/glib.h | 1 + glib/gslice.c | 20 +- glib/gutils.c | 591 +----------------------------------------------------- glib/gutils.h | 38 +--- 5 files changed, 30 insertions(+), 624 deletions(-) commit 409d93148f2d95c2966f75fe0901edd1e06c99a9 Author: Dan Winship Date: Sat Oct 15 15:52:28 2011 -0400 gutils: Add functions for working with environment arrays When spawning a child process, it is not safe to call setenv() before the fork() (because setenv() isn't thread-safe), but it's also not safe to call it after the fork() (because it's not async-signal-safe). So the only safe way to alter the environment for a child process from a threaded program is to pass a fully-formed envp array to exec*/g_spawn*/etc. So, add g_environ_getenv(), g_environ_setenv(), and g_environ_unsetenv(), which act like their namesakes, but work on arbitrary arrays rather than working directly on the environment. http://bugzilla.gnome.org/show_bug.cgi?id=659326 docs/reference/glib/glib-sections.txt | 3 + glib/glib.symbols | 3 + glib/gspawn.h | 36 ++++-- glib/gutils.c | 204 ++++++++++++++++++++++++++++----- glib/gutils.h | 27 +++-- 5 files changed, 225 insertions(+), 48 deletions(-) commit 5ff803d91f252bfeb4a9cfaf2f94ecdea6e6a687 Author: Ryan Lortie Date: Sat Oct 15 13:27:46 2011 -0400 Add to the pitfalls: fork() and daemon() glib/gthread.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit ef6371ff746e618eabd301b237b4e4a620ca5e47 Author: Ryan Lortie Date: Sat Oct 15 11:03:07 2011 -0400 tests/Makefile.am: remove unused LDFLAGS variable tests/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 6651bd221e4d9316884b4fad3c3e9943695ab639 Author: Matthias Clasen Date: Sat Oct 15 13:04:20 2011 -0400 Expand thread docs a bit Add some discussion of pitfalls of threaded programming. glib/gthread.c | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) commit e4699af8eb384cac336a36db6b97722d021e1cbf Author: Matthias Clasen Date: Sat Oct 15 11:37:03 2011 -0400 Documentation tweaks glib/gthread.c | 66 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 25 deletions(-) commit 55654fc8adb1cb2f907aa0228631951860dc6dda Author: Fran Dieguez Date: Sat Oct 15 16:29:50 2011 +0200 Updaged Galician translations po/gl.po | 824 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 422 insertions(+), 402 deletions(-) commit 3fe3fdd75abb313fc43b58ebd4a71dcfe8bab32f Author: Ryan Lortie Date: Sat Oct 15 09:48:42 2011 -0400 Check for "our" threads in some places Don't allow g_thread_join() to be called on or g_thread_exit() to be called from within threads that were not created by GLib. Document this. glib/gthread.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 11f3684b715ef35dd97ad108c7116260c7c4cdc2 Author: Ryan Lortie Date: Sat Oct 15 09:48:22 2011 -0400 gtk-doc g_thread_ref() and g_thread_unref() glib/gthread.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e75e9c30446157b52013644fdc5fd406733027b9 Author: Ryan Lortie Date: Sat Oct 15 09:48:10 2011 -0400 Rename g_thread_try to g_thread_try_new docs/reference/glib/glib-sections.txt | 2 +- glib/glib.symbols | 2 +- glib/gthread.c | 18 +++++++++--------- glib/gthread.h | 2 +- glib/gthreadpool.c | 2 +- glib/tests/thread.c | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) commit 4417e77f17902e8a4d782979b187f23f6b86bf9e Author: Matthias Clasen Date: Sat Oct 15 00:56:08 2011 -0400 Add atomic test to TEST_PROGS glib/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 482bb387484c3febb6f7b01326cb6ab66d900f91 Author: Matthias Clasen Date: Sat Oct 15 00:26:02 2011 -0400 Documentation additions glib/deprecated/gthread-deprecated.c | 2 ++ 1 file changed, 2 insertions(+) commit 8bc8cd7aa05900dcfad943b91c3720caa7b611ee Author: Matthias Clasen Date: Sat Oct 15 00:09:20 2011 -0400 Improve test coverage glib/tests/Makefile.am | 3 +++ glib/tests/mainloop.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++-- glib/tests/strfuncs.c | 15 +++++++++++++ 3 files changed, 74 insertions(+), 2 deletions(-) commit 52321def8f187eb1586c8989c407b473e19cf2e6 Author: Matthias Clasen Date: Fri Oct 14 23:20:06 2011 -0400 Add a test involving g_thread_ref/unref Also, fix the resource-limit test to properly unset RLIMIT_NPROC. glib/tests/thread.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 81431fa5b8093ea15533a41cd46c5569941fe99a Author: Matthias Clasen Date: Fri Oct 14 23:12:06 2011 -0400 Add g_thread_try to the docs docs/reference/glib/glib-sections.txt | 1 + 1 file changed, 1 insertion(+) commit d000bf67f70f83bd37ae078b38cf83ee7d3c6447 Author: Matthias Clasen Date: Fri Oct 14 23:01:05 2011 -0400 Update doc lists docs/reference/glib/glib-sections.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 5ddcc284e801a84a455bfecca18dbc68dd91439b Author: Matthias Clasen Date: Fri Oct 14 23:00:17 2011 -0400 Minor doc clarifications glib/gthread.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit a6da2b9ff91f0b8782a243e342e17a0ace415c11 Author: Ryan Lortie Date: Fri Oct 14 21:52:36 2011 -0400 Mention thread API changes in README README.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 4359cbd810e29f964aae16fb186d2ad2fe331189 Author: Ryan Lortie Date: Fri Oct 14 21:43:51 2011 -0400 I read the news today, oh boy... NEWS | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) commit 7ab25865f229ad8d98a067b590319bfdd988e50e Author: Ryan Lortie Date: Fri Oct 14 19:41:08 2011 -0400 Stop checking for fork() across GMainContext 01ed78d525cf2f8769022e27cc2573ec7ba123b3 introduced assertion checks for creating a main context, forking, and attempting to use the main context from the child side of the fork. Some code (such as gnome-keyring-daemon) daemonise after calling GMainContext. That's probably still mostly safe since we still only have one side of the fork touching the context afterwards. This use case is still troubling, however, since if any worker threads have been created at the time of the fork(), we could end up in the classic situation of leaving some mutexes in a locked state when the other threads disappear from the copy of the image that the child gets. This will require some deeper thinking... glib/gmain.c | 14 -------------- 1 file changed, 14 deletions(-) commit 51773c6c64431c03242a6f3d12d44f99282c815c Author: Ryan Lortie Date: Fri Oct 14 13:02:58 2011 -0400 Mask all signals in GLib worker thread Some code using GLib (gnome-keyring-daemon, for example) assumes that they can catch signals by masking them out in the main thread and calling sigwait() from a worker. The problem is that our new worker thread catches the signals before sigwait() has a chance and the default action occurs (typically resulting in program termination). If we mask all the signals in our worker, then this can't happen. docs/reference/glib/tmpl/macros_misc.sgml | 15 +++++++++++++++ glib/gmain.c | 11 +++++++++++ 2 files changed, 26 insertions(+) commit 1ed88f0615d1be4d629f3f1933ec5b249cb6429e Author: Florian Müllner Date: Thu Oct 13 22:33:21 2011 +0200 desktop-app-info: Add support for X-GNOME-Keywords With search gaining traction as being the preferred way to locate applications, the existing .desktop file fields meant for browsing often produce insufficient results. gnome-control-center introduced a custom X-GNOME-Keywords field for that purpose, which we plan to support in gnome-shell as well. https://bugzilla.gnome.org/show_bug.cgi?id=661763 docs/reference/gio/gio-sections.txt | 1 + gio/gdesktopappinfo.c | 21 +++++++++++++++++++++ gio/gdesktopappinfo.h | 1 + gio/gio.symbols | 1 + 4 files changed, 24 insertions(+) commit 14e3b128237279d895128e4d611cd12c604a67d4 Author: Ryan Lortie Date: Fri Oct 14 00:00:14 2011 -0400 g_cond_timed_wait: support NULL time parameter It was undocumented, but this used to mean "wait forever". Looks like we have some uses of this internally and there may be others in the wild... glib/deprecated/gthread-deprecated.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 4033c616ff23eb1e647a0b0cd13ac54f28e1242b Author: Ryan Lortie Date: Thu Oct 13 23:24:23 2011 -0400 GCond: use monotonic time for timed waits Switch GCond to using monotonic time for timed waits by introducing a new API based on monotonic time in a gint64: g_cond_wait_until(). Deprecate the old API based on wallclock time in a GTimeVal. Fix up the gtk-doc for GCond while we're at it: update the examples to use static-allocated GCond and GMutex and clarify some things a bit. Also explain the rationale behind using an absolute time instead of a relative time. docs/reference/glib/glib-sections.txt | 2 +- glib/deprecated/gthread-deprecated.c | 46 ++++++++++ glib/deprecated/gthread.h | 12 ++- glib/glib.symbols | 2 +- glib/gthread-posix.c | 148 ++++++++++++++++++--------------- glib/gthread-win32.c | 30 +------ glib/gthread.c | 42 ++++++---- glib/gthread.h | 5 +- 8 files changed, 167 insertions(+), 120 deletions(-) commit fd382156b80a0ba848d6de7e009337fdb32221d9 Author: Ryan Lortie Date: Thu Oct 13 10:51:35 2011 -0400 tests: disable deprecation warnings for tests We need to test deprecated functions, so don't warn us for doing so. tests/Makefile.am | 5 +++-- tests/gobject/Makefile.am | 1 + tests/refcount/Makefile.am | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) commit 3ebdb4d46a97790e0d93db3e2411b44e46da0159 Author: Ryan Lortie Date: Thu Oct 13 09:14:57 2011 -0400 gutils: stop using GStaticPrivate This was our last internal use. glib/gutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 62fe0532685a592c760d98c791379dea4d79fbe1 Author: Ryan Lortie Date: Thu Oct 13 09:00:54 2011 -0400 Revert "make struct _GThread private" This reverts commit d904612100120d12126f1a6623a106d8a5b02fa6. glibmm touches the contents of GThread, so this broke their build. glib/deprecated/gthread.h | 9 +++++++++ glib/gthreadprivate.h | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) commit d904612100120d12126f1a6623a106d8a5b02fa6 Author: Ryan Lortie Date: Thu Oct 13 01:24:16 2011 -0400 make struct _GThread private Hide the definition of struct _GThread in gthreadprivate.h for now. This is possibly an API break -- although the structure contents were undocumented and it was not safe to access them in a meaningful way, someone may have tried to do it anyway. We'll leave it here for a while to see if it causes any problems. Avoid merging its contents with GRealThread for now, just incase we need to expose it again. glib/deprecated/gthread.h | 9 --------- glib/gthreadprivate.h | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) commit b1cc2579c199c6568e1bf5cef1aab7633f99824f Author: Ryan Lortie Date: Thu Oct 13 01:22:51 2011 -0400 tidy up gthreadprivate.h Remove some unused includes, too. glib/deprecated/gthread-deprecated.c | 1 + glib/gthreadprivate.h | 40 +++++++++++++++------------------- 2 files changed, 18 insertions(+), 23 deletions(-) commit 332f74a2fc40da5d8f9313020468ed27e56b2b14 Author: Ryan Lortie Date: Thu Oct 13 01:17:36 2011 -0400 drop g_thread_new_full() We'll hold out on this until someone has a really convincing reason for why they need to control the stack size. If we do decide to add it back, it should probably have a name like _new_with_stack_size(), not _full(). glib/deprecated/gthread-deprecated.c | 2 +- glib/deprecated/gthread.h | 2 +- glib/glib.symbols | 1 - glib/gthread.c | 51 ++++------------------------------ glib/gthread.h | 5 ---- glib/tests/thread.c | 6 ++-- 6 files changed, 10 insertions(+), 57 deletions(-) commit 430c5635f245ca485f09035f1b6c3a59dd69758c Author: Ryan Lortie Date: Thu Oct 13 01:00:57 2011 -0400 g_thread_new: never fail Remove the GError argument from g_thread_new() and abort on failure. Introduce g_thread_try() for those who want to handle failure. gio/gdbusprivate.c | 5 +---- gio/tests/contexts.c | 2 +- gio/tests/gdbus-export.c | 7 +----- gio/tests/gdbus-peer.c | 14 ++++-------- gio/tests/gdbus-proxy-threads.c | 4 +--- gio/tests/gdbus-test-codegen.c | 3 +-- gio/tests/gdbus-threading.c | 24 ++++----------------- gio/tests/resolver.c | 4 +--- gio/tests/send-data.c | 4 +--- gio/tests/socket-client.c | 4 +--- gio/tests/socket-server.c | 4 +--- gio/tests/socket.c | 3 +-- gio/tests/tls-interaction.c | 3 +-- gio/tests/unix-streams.c | 4 ++-- glib/glib.symbols | 1 + glib/gmain.c | 6 +----- glib/gthread.c | 40 +++++++++++++++++++++++++++++++---- glib/gthread.h | 3 +++ glib/gthreadpool.c | 2 +- glib/tests/once.c | 2 +- glib/tests/thread.c | 6 +++--- gobject/tests/dynamictests.c | 2 +- gthread/tests/1bit-mutex.c | 3 +-- gthread/tests/atomic.c | 2 +- gthread/tests/gwakeuptest.c | 2 +- gthread/tests/spawn-multithreaded.c | 6 ++---- 26 files changed, 73 insertions(+), 87 deletions(-) commit 015f4b4513279c4be40c03121473ffcea347ed84 Author: Ryan Lortie Date: Thu Oct 13 00:43:33 2011 -0400 thread: nuke the concept of 'joinable' And remove the 'joinable' argument from g_thread_new() and g_thread_new_full(). Change the wording in the docs. Clarify expectations for (deprecated) g_thread_create(). gio/gdbusprivate.c | 1 - gio/tests/contexts.c | 2 +- gio/tests/gdbus-export.c | 1 - gio/tests/gdbus-peer.c | 4 --- gio/tests/gdbus-proxy-threads.c | 2 +- gio/tests/gdbus-test-codegen.c | 1 - gio/tests/gdbus-threading.c | 4 --- gio/tests/resolver.c | 8 +++++- gio/tests/send-data.c | 6 ++++- gio/tests/socket-client.c | 6 ++++- gio/tests/socket-server.c | 6 ++++- gio/tests/socket.c | 2 +- gio/tests/tls-interaction.c | 2 +- gio/tests/unix-streams.c | 4 +-- glib/deprecated/gthread-deprecated.c | 24 ++++++++++++----- glib/gmain.c | 2 +- glib/gthread.c | 48 ++++++++++------------------------ glib/gthread.h | 2 -- glib/gthreadpool.c | 13 ++++----- glib/gthreadprivate.h | 14 +++++----- glib/tests/once.c | 2 +- glib/tests/thread.c | 12 ++++----- gobject/tests/dynamictests.c | 2 +- gthread/tests/1bit-mutex.c | 4 +-- gthread/tests/atomic.c | 2 +- gthread/tests/gwakeuptest.c | 2 +- gthread/tests/spawn-multithreaded.c | 3 +-- 27 files changed, 87 insertions(+), 92 deletions(-) commit b0e73ca390d0f22baccc3636dd4d2e8e9cb0f58f Author: Ryan Lortie Date: Thu Oct 13 00:29:04 2011 -0400 GThread: make refcounting public glib/glib.symbols | 2 ++ glib/gthread.c | 12 +++++++++++- glib/gthread.h | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) commit 62be9365d9641073185c28c8f0a8fe06fb9a92e0 Author: Ryan Lortie Date: Thu Oct 13 00:18:17 2011 -0400 thread: simplify 'free' process GThread is freed using some very slightly confusing logic: if the thread was created 'joinable', then the structure is freed after the join() call succeeds (since we know the thread has exited). If the thread was not created 'joinable' then the free is when the thread quits (since we know 'join' will not be called later). Move to a straight ref-counting system: 1 ref owned by the thread and 1 extra ref if the thread is joinable. Both thread quit and joining will decrease the refcount by 1. glib/gthread.c | 40 ++++++++++++++++++---------------------- glib/gthreadprivate.h | 1 + 2 files changed, 19 insertions(+), 22 deletions(-) commit becb4b820f84badac9eaee4e123c8a0ef41a9ba3 Author: Ryan Lortie Date: Thu Oct 13 00:01:28 2011 -0400 remove 'joinable' parameter to backends Both backends are now oblivious to the concept of joinability, so don't bother passing the parameter. glib/gthread-posix.c | 1 - glib/gthread-win32.c | 1 - glib/gthread.c | 2 +- glib/gthreadprivate.h | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) commit dbf20d585fd53c612a1dd8ef07275d2affcf7fc0 Author: Ryan Lortie Date: Wed Oct 12 23:40:02 2011 -0400 posix threads: joinable tweaks Make the POSIX backend a little bit more like the win32 one in terms of how we deal with joinability. Calling g_system_thread_join() is now optional, and g_system_thread_wait() can be safely called by multiple threads. There is no longer any internal concept of joinability. glib/gthread-posix.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit f970dfc73471f2108bc21c10e4714eafea70315c Author: Ryan Lortie Date: Wed Oct 12 23:25:12 2011 -0400 tests: don't #include on win32 glib/tests/thread.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 45736d33bb0a855cfa1aa07453c7af0d26996e9b Author: Ryan Lortie Date: Wed Oct 12 23:22:31 2011 -0400 win32 threads: simplify Merge the GThreadData with the GThreadWin32 struct. Drop the extra TLS variable. Close the handle on _free(), which means that there is no leak if g_system_thread_join() isn't called. Remove all internal concept of joinability. glib/gthread-win32.c | 57 ++++++++------------------------------------------ 1 file changed, 9 insertions(+), 48 deletions(-) commit dfd466979be8ab93d7c569c3e5199a02d03671e8 Author: Ryan Lortie Date: Wed Oct 12 23:16:49 2011 -0400 Only g_system_thread_free() our own threads Keep track of if we created a thread for ourselves or if the GThread* was allocated in response to g_thread_self() on a previously-unknown thread. Only call g_system_thread_free() in the first case. glib/gthread.c | 21 +++++++++++++-------- glib/gthreadprivate.h | 2 ++ 2 files changed, 15 insertions(+), 8 deletions(-) commit a5800ef336661e51db019d7bc4b98b184b06ba86 Author: Ryan Lortie Date: Wed Oct 12 23:04:15 2011 -0400 Finish killing off GSystemThread configure.ac | 14 -------------- glib/deprecated/gthread.h | 13 +++++++++++-- glib/glibconfig.h.win32.in | 16 ---------------- glib/gthreadprivate.h | 1 - 4 files changed, 11 insertions(+), 33 deletions(-) commit e0c9757b9b0d7074923f96716adb3bff07b32349 Author: Ryan Lortie Date: Wed Oct 12 22:53:52 2011 -0400 win32 threads: use our own data, not system_thread Stop using the generic system_thread field in GRealThread. Use our own pointer instead. glib/gthread-win32.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 67e28068e14428afe8335a1503ea7d734419326d Author: Ryan Lortie Date: Wed Oct 12 22:49:39 2011 -0400 win32: fix function name clash glib/gthread-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2010f7f95554df5654e6ee626f76189a0712dbfe Author: Ryan Lortie Date: Wed Oct 12 22:40:37 2011 -0400 posix threads: use our own system_thread Wrap GRealThread in a GThreadPosix that includes its own pthread_t field called "system_thread" and use that instead of the generic field in GRealThread. glib/gthread-posix.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 2f5486f02040b0d5cfc67eb97bd037a0ffd86635 Author: Ryan Lortie Date: Wed Oct 12 22:35:35 2011 -0400 thread creation: Simplify error handling Instead of always returning non-NULL and finding out about errors via the GError*, return NULL from the backend in the event of an error. glib/gthread-posix.c | 5 +++-- glib/gthread-win32.c | 3 ++- glib/gthread.c | 23 +++++++++-------------- 3 files changed, 14 insertions(+), 17 deletions(-) commit e14a3746db8c9979b3d9840602be5f79af501605 Author: Ryan Lortie Date: Wed Oct 12 22:29:13 2011 -0400 Combine g_sytem_thread_{new,create}() glib/gthread-posix.c | 24 ++++++++++-------------- glib/gthread-win32.c | 25 ++++++++++--------------- glib/gthread.c | 11 ++++------- glib/gthreadprivate.h | 12 +++++------- 4 files changed, 29 insertions(+), 43 deletions(-) commit a3f82c847f8f9dc7931bc9c81f95205e2178ab49 Author: Ryan Lortie Date: Wed Oct 12 22:23:12 2011 -0400 g_system_thread_create: drop 'data' arg Since it's now always the same as the 'thread' arg. glib/gthread-posix.c | 3 +-- glib/gthread-win32.c | 3 +-- glib/gthread.c | 2 +- glib/gthreadprivate.h | 1 - 4 files changed, 3 insertions(+), 6 deletions(-) commit 3237eaf5d527ecccae51b490d9cfbbf7e6b8538c Author: Ryan Lortie Date: Wed Oct 12 22:19:28 2011 -0400 g_system_thread_create: SystemThread -> RealThread Just like g_system_thread_wait(). glib/gthread-posix.c | 4 ++-- glib/gthread-win32.c | 4 ++-- glib/gthread.c | 2 +- glib/gthreadprivate.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 6613b2f8fdc9d7422b124b69231c3f4b93c744c3 Author: Matthias Clasen Date: Wed Oct 12 22:29:18 2011 -0400 Move more docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/messages.sgml | 300 -------------------------------- glib/gmessages.c | 268 ++++++++++++++++++++++++++++ 3 files changed, 269 insertions(+), 300 deletions(-) commit dc3727cc5f4f4c9939e010722ea28e152cf9b324 Author: Ryan Lortie Date: Wed Oct 12 22:15:46 2011 -0400 g_system_thread_join: rename to _wait() glib/gthread-posix.c | 2 +- glib/gthread-win32.c | 2 +- glib/gthread.c | 2 +- glib/gthreadprivate.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4bb968e3358db98a4ad41ce7e72cf62f4458053d Author: Ryan Lortie Date: Wed Oct 12 22:14:38 2011 -0400 g_system_thread_join: take GRealThread * Make g_system_thread_join take the GRealThread* instead of a GSystemThread. glib/gthread-posix.c | 4 ++-- glib/gthread-win32.c | 4 ++-- glib/gthread.c | 2 +- glib/gthreadprivate.h | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) commit e064c9bfeca33b59627e7e1ee43d805713fde280 Author: Ryan Lortie Date: Wed Oct 12 22:03:14 2011 -0400 thread: delegate allocation of GThread to backends Add g_system_thread_new() and g_system_thread_free(), implemented with GSlice. Use those instead of g_new() and g_free(). Presently, the backends are both doing the same thing. This will change soon. glib/gthread-posix.c | 12 ++++++++++++ glib/gthread-win32.c | 12 ++++++++++++ glib/gthread.c | 8 ++++---- glib/gthreadprivate.h | 5 +++++ 4 files changed, 33 insertions(+), 4 deletions(-) commit 75ea14e885322ea1241315e070b2cdd68645e267 Author: Matthias Clasen Date: Wed Oct 12 21:48:34 2011 -0400 Move GScanner docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/scanner.sgml | 607 --------------------------------- glib/gscanner.c | 472 ++++++++++++++++++++++++- 3 files changed, 471 insertions(+), 609 deletions(-) commit d537726ded76eb470a78d41418579b8652c4ae8b Author: Ryan Lortie Date: Wed Oct 12 21:47:25 2011 -0400 thread: stop sharing g_once_mutex Unrelated code shouldn't be sharing the same mutex for no good reason -- particularly not across a file boundary. glib/deprecated/gthread-deprecated.c | 9 +++++---- glib/gthread.c | 2 +- glib/gthreadprivate.h | 2 -- 3 files changed, 6 insertions(+), 7 deletions(-) commit 8cff9c57b1cbb443aa4063d8624af8a7bb392b75 Author: Ryan Lortie Date: Wed Oct 12 21:44:07 2011 -0400 thread: drop thread setup function hackery Use a custom proxy function for the deprecated case instead. Now GRealThread has strictly zero members dedicated to deprecated functionality. glib/deprecated/gthread-deprecated.c | 15 +++++++++++++-- glib/gthread.c | 17 ++++++----------- glib/gthreadprivate.h | 7 ++++--- 3 files changed, 23 insertions(+), 16 deletions(-) commit 2da83bbd36efd4adb1f4c036fe4793befbb8d120 Author: Matthias Clasen Date: Wed Oct 12 19:55:02 2011 -0400 Deprecate GCache Ryan said it would be 'deprecated soon in GLib', when he removed the use of this in GTK+. That was a year ago, so its about time we act on it. docs/reference/glib/glib-docs.sgml | 2 +- glib/Makefile.am | 4 +- glib/deprecated/gcache.c | 345 ++++++++++++++++++++++++++++++++++++ glib/deprecated/gcache.h | 73 ++++++++ glib/gcache.c | 331 ---------------------------------- glib/gcache.h | 70 -------- glib/glib.h | 2 +- 7 files changed, 422 insertions(+), 405 deletions(-) commit 39ae59c47e2fbed30da725041b4cad552bea82c7 Author: Ryan Lortie Date: Wed Oct 12 18:35:45 2011 -0400 thread: Delete g_system_thread_self() It's no longer used for anything at all. glib/gthread-posix.c | 6 ------ glib/gthread-win32.c | 23 ----------------------- glib/gthreadprivate.h | 1 - 3 files changed, 30 deletions(-) commit a90a4b967fde1c2d7c7d6d978a797731adb25057 Author: Ryan Lortie Date: Wed Oct 12 18:33:07 2011 -0400 thread: reduce use of system_thread The use of system_thread is now limited to joining. We don't do that for threads that we didn't create for ourselves, so we don't need to call g_system_thread_self() to fill in system_thread for those. glib/gthread.c | 2 -- 1 file changed, 2 deletions(-) commit b7f05063710ff5bfd0e7f3722687eb63c0709ac3 Author: Ryan Lortie Date: Wed Oct 12 18:27:06 2011 -0400 thread: hide g_static_rec_mutex_get_rec_mutex_impl Unlike with GStaticMutex, this function was never part of the pre-2.32 ABI, so we should keep it tucked in. glib/deprecated/gthread-deprecated.c | 2 +- glib/gconvert.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1f34ef4117559f268257d902dd48ea91b3d4993e Author: Ryan Lortie Date: Wed Oct 12 18:25:40 2011 -0400 missed from last commit glib/gthreadprivate.h | 2 -- 1 file changed, 2 deletions(-) commit 47e20ed3ac5206c8aa83f7d307d9802328eed05f Author: Ryan Lortie Date: Wed Oct 12 18:24:48 2011 -0400 thread: remove GSystemThread assign/equal These are no longer in use. glib/gthread-posix.c | 7 ------- glib/gthread-win32.c | 7 ------- glib/gthreadprivate.h | 9 --------- 3 files changed, 23 deletions(-) commit 903705edf2e33384914688ee30ea118486cb537c Author: Ryan Lortie Date: Wed Oct 12 18:23:20 2011 -0400 thread: remove dead decl from gthreadprivate.h This function hasn't existed for a while... glib/gthreadprivate.h | 3 --- 1 file changed, 3 deletions(-) commit ed35d2719ba60fe36032db6eae5e07cd45b4fe1c Author: Ryan Lortie Date: Wed Oct 12 18:22:31 2011 -0400 thread: Remove the zero_thread This was only used for redundant assertion checks. glib/deprecated/gthread-deprecated.c | 2 -- glib/gthread.c | 8 +------- glib/gthreadprivate.h | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) commit 2b281e40f32b7916d856dcc95e6f8fe625fcff03 Author: Ryan Lortie Date: Tue Oct 11 11:08:48 2011 -0400 GStaticRecMutex: implement via GRecMutex Instead of doing our own hacked-up version. This also reduces use of GSystemThread. glib/deprecated/gthread-deprecated.c | 128 +++++++++++++++------------------- 1 file changed, 57 insertions(+), 71 deletions(-) commit 96904b679061d78da65bf0dd0b331f4a3c754b3d Author: Ryan Lortie Date: Wed Oct 12 17:01:33 2011 -0400 thread: use GSList for g_thread_foreach list ...instead of having a 'next' pointer in the GThread struct. Now GThread contains no fields used only by deprecated code (except for the rather generic setup function field). glib/deprecated/gthread-deprecated.c | 28 ++++++++-------------------- glib/gthreadprivate.h | 1 - 2 files changed, 8 insertions(+), 21 deletions(-) commit 9ca4f142641e6c756e48555c7dc0ea8780000359 Author: Ryan Lortie Date: Wed Oct 12 16:50:43 2011 -0400 thread: call g_enumerable_thread_add via callback There are no longer any functions defined in gthread-deprecated.c called from gthread.c. glib/deprecated/gthread-deprecated.c | 123 +++++++++++++++++----------------- glib/gthread.c | 21 +++--- glib/gthreadprivate.h | 22 +++--- 3 files changed, 83 insertions(+), 83 deletions(-) commit f788a2e5e1f7c9898675d3876367e2cf7d55f386 Author: Ryan Lortie Date: Wed Oct 12 16:26:39 2011 -0400 thread: use GPrivate for enumerable threads Use a GPrivate to track the destruction of enumerable threads and remove them from the list. glib/deprecated/gthread-deprecated.c | 27 ++++++++++++++++----------- glib/gthread.c | 11 +++-------- glib/gthreadprivate.h | 1 - 3 files changed, 19 insertions(+), 20 deletions(-) commit 1368533dc2c117202d11acdde27724a0301ad301 Author: Colin Walters Date: Wed Oct 12 15:25:12 2011 -0400 gvariant: Doc typo fix glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15b9f64004e7377dabad7b9a03dae094df51a0e4 Author: Colin Walters Date: Wed Oct 12 15:22:09 2011 -0400 gvariant: Briefly mention limits glib/gvariant.c | 5 +++++ 1 file changed, 5 insertions(+) commit 0af48a5d7b9504dd190d497963a14d8f7a4942ed Author: Dan Winship Date: Wed Oct 12 13:59:33 2011 -0400 gthread-deprecated: add a mising "static" to a method glib/deprecated/gthread-deprecated.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95cab96515d84a9bc5dd731ea6eee08d7e786f50 Author: Dan Winship Date: Wed Oct 12 13:57:44 2011 -0400 giomodule: make the default_modules mutex recursive It is possible for _g_io_module_get_default() to be called recursively (eg, if a module of one type is loaded that tries to look up gsettings from its init() method and ends up causing the gsettings module to be loaded). So use a recursive mutex. gio/giomodule.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 71cf70b39cd3859ac4cb4954c369bda731a61171 Author: Dan Winship Date: Tue Oct 11 15:38:37 2011 -0400 Simplify checks for CLOCK_MONOTONIC Remove the complicated configure-time and runtime checks, and just use CLOCK_MONOTONIC if it's defined. https://bugzilla.gnome.org/show_bug.cgi?id=661421 configure.ac | 15 ----------- glib/gmain.c | 84 ++++++++++++++++++++++++---------------------------------- 2 files changed, 34 insertions(+), 65 deletions(-) commit daede1dc27bbf28d2cbefc2fac22e0f917a23952 Author: Matthias Clasen Date: Wed Oct 12 00:37:02 2011 -0400 Disable deprecations where appropriate in tests glib/tests/unix.c | 4 ---- gobject/tests/boxed.c | 2 ++ gobject/tests/dynamictests.c | 3 +-- gobject/tests/param.c | 1 + gobject/tests/threadtests.c | 2 +- gthread/tests/1bit-mutex.c | 4 +--- gthread/tests/642026.c | 8 ++------ gthread/tests/atomic.c | 4 +--- gthread/tests/gwakeuptest.c | 4 +--- gthread/tests/spawn-multithreaded.c | 6 ++---- gthread/tests/spawn-singlethread.c | 2 -- 11 files changed, 12 insertions(+), 28 deletions(-) commit bcdb865c597b9201b717f0d4b420e73a2393e5ff Author: Matthias Clasen Date: Wed Oct 12 00:37:02 2011 -0400 Disable deprecations where appropriate in tests glib/tests/cache.c | 3 +++ glib/tests/cond.c | 3 +++ glib/tests/date.c | 3 +++ glib/tests/fileutils.c | 4 ++++ glib/tests/mainloop.c | 38 ++++++++++++++++++++++++++++++++++++++ glib/tests/mappedfile.c | 2 ++ glib/tests/mutex.c | 3 +++ glib/tests/once.c | 2 +- glib/tests/private.c | 5 +++-- glib/tests/rec-mutex.c | 3 +++ glib/tests/rwlock.c | 3 +++ glib/tests/strfuncs.c | 6 +++--- glib/tests/string.c | 3 +++ glib/tests/thread.c | 2 -- glib/tests/tree.c | 3 +++ glib/tests/unicode.c | 3 +++ 16 files changed, 78 insertions(+), 8 deletions(-) commit 7455dd370eb37ce3b0b409ff6120501f37b50569 Author: Matthias Clasen Date: Wed Oct 12 00:24:46 2011 -0400 Make single includes mandatory This has been the official line since 2.17, which seems plenty long enough for a transition phase. README.in | 3 +++ configure.ac | 2 -- docs/reference/glib/compiling.sgml | 8 ++------ glib/galloca.h | 2 +- glib/garray.h | 2 +- glib/gasyncqueue.h | 2 +- glib/gatomic.h | 2 +- glib/gbacktrace.h | 2 +- glib/gbase64.h | 2 +- glib/gbitlock.h | 2 +- glib/gbookmarkfile.h | 2 +- glib/gcache.h | 2 +- glib/gchecksum.h | 2 +- glib/gconvert.h | 2 +- glib/gdataset.h | 2 +- glib/gdate.h | 2 +- glib/gdatetime.h | 2 +- glib/gdir.h | 2 +- glib/gerror.h | 2 +- glib/gfileutils.h | 2 +- glib/ghash.h | 2 +- glib/ghmac.h | 2 +- glib/ghook.h | 2 +- glib/giochannel.h | 2 +- glib/gkeyfile.h | 2 +- glib/glist.h | 2 +- glib/gmacros.h | 2 +- glib/gmain.h | 2 +- glib/gmappedfile.h | 2 +- glib/gmarkup.h | 2 +- glib/gmem.h | 2 +- glib/gmessages.h | 2 +- glib/gnode.h | 2 +- glib/goption.h | 2 +- glib/gpattern.h | 2 +- glib/gprimes.h | 2 +- glib/gqsort.h | 2 +- glib/gquark.h | 2 +- glib/gqueue.h | 2 +- glib/grand.h | 2 +- glib/gregex.h | 2 +- glib/gscanner.h | 2 +- glib/gsequence.h | 2 +- glib/gshell.h | 2 +- glib/gslice.h | 2 +- glib/gslist.h | 2 +- glib/gspawn.h | 2 +- glib/gstrfuncs.h | 2 +- glib/gstring.h | 2 +- glib/gstringchunk.h | 2 +- glib/gtestutils.h | 2 +- glib/gthread.h | 2 +- glib/gthreadpool.h | 2 +- glib/gtimer.h | 2 +- glib/gtimezone.h | 2 +- glib/gtree.h | 2 +- glib/gtypes.h | 2 +- glib/gunicode.h | 2 +- glib/gurifuncs.h | 2 +- glib/gutils.h | 2 +- glib/gvariant.h | 2 +- glib/gvarianttype.h | 2 +- glib/gwin32.h | 2 +- 63 files changed, 65 insertions(+), 68 deletions(-) commit 9bb5a55bda83c58ddbd0381693d98c7a2f701d01 Author: Ryan Lortie Date: Tue Oct 11 23:13:22 2011 -0400 GStaticPrivate: implement via GPrivate Thanks to the modifications in 3d4846d92309d001697c2827660fa41b5c63dbc4, GStaticPrivate is not so directly tied in with GThread anymore. It is now a simple matter to cut it out completely by using a GPrivate to store the GArray instead of storing it in the GThread. glib/deprecated/gthread-deprecated.c | 49 +++++++++++++++------------------- glib/gthread.c | 4 --- glib/gthreadprivate.h | 2 -- 3 files changed, 22 insertions(+), 33 deletions(-) commit c6016458ba2a981ccd72f02208f8140abde6c9d1 Author: Matthias Clasen Date: Tue Oct 11 23:50:34 2011 -0400 Update deprecation docs docs/reference/glib/compiling.sgml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 3d282dcc2ef1dba36e67f91d8a6c5f589ce249ea Author: Matthias Clasen Date: Tue Oct 11 23:44:43 2011 -0400 Silence deprecations in deprecated/ (again) glib/deprecated/gallocator.c | 5 +++++ glib/deprecated/gcompletion.c | 3 +++ glib/deprecated/grel.c | 3 +++ glib/deprecated/gthread-deprecated.c | 7 +------ 4 files changed, 12 insertions(+), 6 deletions(-) commit f5f242caf80d96a6ec057fc746e5d53a34de7077 Author: Chun-wei Fan Date: Wed Oct 12 11:23:49 2011 +0800 Update VS projects Get rid of _CRT_SECURE_NO_WARNINGS and _CRT_NONSTDC_NO_WARNINGS from the preprocessor definitions as those two macros are now defined in msvc_recommended_pragmas.h, which is force-included in these projects via the property sheets. This will silence C4005 warnings on macro redefinition. build/win32/vs10/glib-compile-schemas.vcxproj | 8 ++++---- build/win32/vs10/gsettings.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 ++++---- build/win32/vs10/testglib.vcxproj | 8 ++++---- build/win32/vs9/glib-compile-schemas.vcproj | 8 ++++---- build/win32/vs9/gsettings.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper.vcproj | 8 ++++---- build/win32/vs9/testglib.vcproj | 8 ++++---- 10 files changed, 40 insertions(+), 40 deletions(-) commit b93d6ab83a0cddce0a3847984a91a2819df61130 Author: Chun-wei Fan Date: Wed Oct 12 10:53:30 2011 +0800 Bug 661438: Update msvc_recommended_pragmas.h Don't disable warning C4996 as that is the Visual C++ warning triggered by __declspec(deprecated) and __declspec(deprecated('..."))-disabling that warning will defeat the purpose of G_DPRECATED/G_DEPRECATED_FOR. For people who don't want to see the GLib deprecation warnings during GLib compilation, define GLIB_DISABLE_DEPRECATION_WARNINGS in the projects or property sheet. msvc_recommended_pragmas.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 36ccdab760003fc1efd2f49e77932cb253f006f4 Author: Chun-wei Fan Date: Wed Oct 12 10:38:47 2011 +0800 Bug 661438: Fix up gmacros.h a bit The macro here should be G_DEPRECATED, not G_GNUC_DEPRECATED. glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17c713d3f6322e2e968e1f7774f1009bac6881c2 Author: Chun-wei Fan Date: Wed Oct 12 10:37:24 2011 +0800 Update VS property sheets Missed the new glib/gstringchunk.h header that needed to be installed as well. build/win32/vs10/glib.props | 2 ++ build/win32/vs9/glib.vsprops | 1 + 2 files changed, 3 insertions(+) commit 380ec80d07218123b8274ace506274f36af7c445 Author: Dan Winship Date: Tue Oct 11 19:28:59 2011 -0400 g_time_val_from_iso8601: clarify the docs a bit glib/gtimer.c | 5 +++++ 1 file changed, 5 insertions(+) commit baa394910b23bfa7162c2571d83d1c196522c636 Author: Ryan Lortie Date: Tue Oct 11 18:39:57 2011 -0400 gmain: use GPrivate instead of GStaticPrivate glib/gmain.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit b3e39140621228788cedd2f6ce7fa03b0fef4664 Author: Dan Winship Date: Tue Oct 11 15:36:42 2011 -0400 Fix two tests for G_DEBUG=gc-friendly glib/tests/array-test.c | 9 ++++----- glib/tests/protocol.c | 6 +++++- 2 files changed, 9 insertions(+), 6 deletions(-) commit 08d6e1147d2e6e3abf85ae7a399c689609a7b761 Author: Chun-wei Fan Date: Tue Oct 11 14:34:59 2011 +0800 Use GLIB_DEPRECATED instead of G_GNUC_DEPRECATED in our headers This will let others opt out of seeing GLib deprecation warnings by defining GLIB_DISABLE_DEPRECATION_WARNINGS. https://bugzilla.gnome.org/show_bug.cgi?id=661438 gio/gdrive.h | 7 +- gio/gfile.h | 14 ++-- gio/gmount.h | 14 ++-- gio/gtlsconnection.h | 5 +- gio/gunixsocketaddress.h | 6 +- gio/gvolume.h | 7 +- glib/deprecated/gcompletion.h | 22 ++++-- glib/deprecated/grel.h | 32 ++++++--- glib/deprecated/gthread.h | 149 +++++++++++++++++++++++++++-------------- glib/gasyncqueue.h | 7 +- glib/gatomic.h | 3 +- glib/gcache.h | 3 +- glib/gdate.h | 3 +- glib/gfileutils.h | 3 +- glib/giochannel.h | 15 +++-- glib/gmain.h | 3 +- glib/gmappedfile.h | 3 +- glib/gstrfuncs.h | 13 ++-- glib/gstring.h | 6 +- glib/gtree.h | 3 +- glib/gunicode.h | 3 +- glib/gutils.h | 3 +- gobject/gboxed.h | 3 +- gobject/gobject.h | 3 +- gobject/gparam.h | 3 +- gobject/gvaluetypes.h | 8 ++- 26 files changed, 231 insertions(+), 110 deletions(-) commit a1acf35653ac5d437bdd8dce1b2b56333b005c0c Author: Matthias Clasen Date: Tue Oct 11 13:33:07 2011 -0400 Add our own deprecation macros This will allow to suppress deprecation warnings on a per-module basis, if needed. They are on by default now, though. docs/reference/glib/glib-sections.txt | 2 ++ glib/gmacros.h | 14 ++++++++++++++ 2 files changed, 16 insertions(+) commit 0da0411a4a2f9efde4f8fc3d6bf504ee488c2e4a Author: Matthias Clasen Date: Tue Oct 11 13:06:58 2011 -0400 Add better deprecation macros Unlike G_GNUC_... macros, the new G_DEPRECATED[_FOR] are meant as abstractions that work with different compilers. Using a new name also lets us restrict it to 'must be placed before the declaration', which works with more compilers. https://bugzilla.gnome.org/show_bug.cgi?id=661438 docs/reference/glib/glib-sections.txt | 4 ++++ glib/gmacros.h | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) commit a73113908f310c8ccc532d04f4cf4b4625860962 Author: Chun-wei Fan Date: Tue Oct 11 18:04:07 2011 +0800 Update VS property sheets Copy the deprecated headers in their appropriate places. build/win32/vs10/glib.props | 15 +++++++++++---- build/win32/vs9/glib.vsprops | 8 ++++++-- 2 files changed, 17 insertions(+), 6 deletions(-) commit 0e71214bef4038316f96a12dfcf7b2635c94e5b1 Author: Chun-wei Fan Date: Tue Oct 11 14:19:02 2011 +0800 glibconfig.win32(.in): Cleanup cruft The definitions of _GMutex* and G_STATIC_MUTEX_INIT is now found in glib/deprecated/gthread.h, and should no longer be in the mainline code, so remove them from here. glib/glibconfig.h.win32.in | 2 -- 1 file changed, 2 deletions(-) commit 3e5a30fc17ee071254d7c2a70e1713d554e4a1ad Author: Ryan Lortie Date: Mon Oct 10 13:13:31 2011 -0400 GStaticMutex: ABI fixup Everything was OK as long as GMutex was backed by pthread_mutex_t on POSIX. Since this is no longer the case, the ABI of GStaticMutex was broken. Fix that up by using pthread_mutex_t directly in the structure. Since that's potentially incompatible with our GMutex implementation, set g_thread_use_default_impl to FALSE to cause the fallback code (which manually allocates a GMutex) to run, even in the case of already-existing code (without the need for a recompile). This will cause the pthread_mutex_t part of the struct to be completely ignored. glib/deprecated/gthread-deprecated.c | 13 ++++++++----- glib/deprecated/gthread.h | 25 +++++++++++++------------ 2 files changed, 21 insertions(+), 17 deletions(-) commit 2c1cbde21e24be0e0ae1e20ad772b03255e96c53 Author: Matthias Clasen Date: Mon Oct 10 11:10:20 2011 -0400 Compile private test with -pthread on UNIX We are using explicit pthread calls here, so we should use the right linker flags for that. https://bugzilla.gnome.org/show_bug.cgi?id=661318 glib/tests/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 93e49aea1b5563c90f1c5152ab9cb65f19329891 Author: Matthias Clasen Date: Mon Oct 10 09:49:50 2011 -0400 Don't use deprecated GThread API in gio tests gio/tests/async-close-output-stream.c | 1 - gio/tests/contexts.c | 3 +-- gio/tests/echo-server.c | 1 - gio/tests/gdbus-connection-loss.c | 1 - gio/tests/gdbus-export.c | 9 ++++---- gio/tests/gdbus-non-socket.c | 1 - gio/tests/gdbus-peer.c | 37 ++++++++++++++++++--------------- gio/tests/gdbus-proxy-threads.c | 5 +++-- gio/tests/gdbus-test-codegen.c | 9 ++++---- gio/tests/gdbus-threading.c | 37 ++++++++++++++++++--------------- gio/tests/httpd.c | 1 - gio/tests/resolver.c | 2 +- gio/tests/send-data.c | 3 +-- gio/tests/socket-client.c | 4 +--- gio/tests/socket-server.c | 4 +--- gio/tests/socket.c | 2 +- gio/tests/tls-interaction.c | 3 +-- gio/tests/unix-streams.c | 5 ++--- gio/tests/win32-streams.c | 5 ++--- 19 files changed, 64 insertions(+), 69 deletions(-) commit 5662619f22073e8d7ceec5429c36aae7bb9cf8ea Author: Kjartan Maraas Date: Mon Oct 10 07:53:16 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 765 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 382 insertions(+), 383 deletions(-) commit 918954e089c9c1aea0019e4dc8a73f994d8bdf83 Author: Algimantas Margevičius Date: Sun Oct 9 22:00:49 2011 +0300 Updated Lithuanian translation po/lt.po | 1777 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 879 insertions(+), 898 deletions(-) commit 5e2764d70cbd9f556fe4d873897e2d4a174a98a7 Author: Matthias Clasen Date: Sun Oct 9 09:57:13 2011 -0400 Silence deprecation warnings in deprecated/ We know we are all deprecated here... glib/deprecated/gthread-deprecated.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit ff2dafb20999d0b00ee599f998ef00ea514e4482 Author: Matthias Clasen Date: Sat Oct 8 23:49:04 2011 -0400 Add G_GNUC_DEPRECATED to deprecated functions in gio gio/gdesktopappinfo.h | 3 ++- gio/gdrive.h | 12 ++++++------ gio/gfile.h | 24 ++++++++++++------------ gio/gmount.h | 8 ++++---- gio/gtlsconnection.h | 4 ++-- gio/gunixsocketaddress.h | 8 ++++---- gio/gvolume.h | 12 ++++++------ 7 files changed, 36 insertions(+), 35 deletions(-) commit 93b3f6477e1670536d9d208e1d51d682a81d3d65 Author: Matthias Clasen Date: Sat Oct 8 23:23:43 2011 -0400 Add G_GNUC_DEPRECATED to deprecated functions in gobject gobject/gboxed.h | 2 +- gobject/gobject.h | 2 +- gobject/gparam.h | 2 +- gobject/gvaluetypes.h | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) commit f9b29ca0343a23d8eaa0aa41034169b95405383e Author: Matthias Clasen Date: Sat Oct 8 23:16:01 2011 -0400 Add G_GNUC_DEPRECATED to deprecated APIs in glib glib/deprecated/gcompletion.h | 20 ++++++------- glib/deprecated/grel.h | 20 ++++++------- glib/deprecated/gthread.h | 66 ++++++++++++++++++++--------------------- glib/gasyncqueue.h | 4 +-- glib/gatomic.h | 2 +- glib/gcache.h | 2 +- glib/gdate.h | 2 +- glib/gfileutils.h | 2 +- glib/giochannel.h | 22 +++++++------- glib/gmain.h | 2 +- glib/gmappedfile.h | 2 +- glib/gstrfuncs.h | 14 ++++----- glib/gstring.h | 4 +-- glib/gtree.h | 2 +- glib/gunicode.h | 2 +- glib/gutils.h | 2 +- 16 files changed, 84 insertions(+), 84 deletions(-) commit 30b320b61c34f953bf7b7bbc27d978c321fe1c4d Author: Matthias Clasen Date: Sat Oct 8 12:43:12 2011 -0400 Add some GHookList tests glib/tests/Makefile.am | 3 ++ glib/tests/hook.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) commit 6109db27aec99f456c5bbda27bd4afe851b5bcff Author: Matthias Clasen Date: Sat Oct 8 12:42:41 2011 -0400 Test a few more GIOChannel functions glib/tests/protocol.c | 3 +++ 1 file changed, 3 insertions(+) commit d33f625444c28cd1c6313410d639360141dfd16b Author: Matthias Clasen Date: Sat Oct 8 12:42:06 2011 -0400 Remove a bit of dead code glib/gmarkup.c | 3 --- 1 file changed, 3 deletions(-) commit b3ead3c998931b11d6d413474bba4866d6afd29d Author: Matthias Clasen Date: Sat Oct 8 12:41:38 2011 -0400 Pass G_DEBUG=g-gc-friendly when running the tests Makefile.decl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d5a1ca8fd751c6f0a28ad3990259976f23954a34 Author: Matthias Clasen Date: Thu Oct 6 09:01:24 2011 -0400 Add some more GMarkup tests glib/tests/markups/fail-41.expected | 1 + glib/tests/markups/fail-41.gmarkup | 3 +++ glib/tests/markups/fail-42.expected | 1 + glib/tests/markups/fail-42.gmarkup | 5 +++++ glib/tests/markups/fail-43.expected | 1 + glib/tests/markups/fail-43.gmarkup | 1 + glib/tests/markups/fail-44.expected | 3 +++ glib/tests/markups/fail-44.gmarkup | 1 + glib/tests/markups/fail-45.expected | 3 +++ glib/tests/markups/fail-45.gmarkup | 1 + glib/tests/markups/fail-46.expected | 2 ++ glib/tests/markups/fail-46.gmarkup | 2 ++ glib/tests/markups/fail-47.expected | 1 + glib/tests/markups/fail-47.gmarkup | 1 + glib/tests/markups/fail-48.expected | 1 + glib/tests/markups/fail-48.gmarkup | 2 ++ glib/tests/markups/fail-49.expected | 3 +++ glib/tests/markups/fail-49.gmarkup | 1 + glib/tests/markups/valid-12.expected | 5 +++++ glib/tests/markups/valid-12.gmarkup | 3 +++ glib/tests/markups/valid-13.expected | 4 ++++ glib/tests/markups/valid-13.gmarkup | 3 +++ glib/tests/markups/valid-14.expected | 30 ++++++++++++++++++++++++++++++ glib/tests/markups/valid-14.gmarkup | 24 ++++++++++++++++++++++++ 24 files changed, 102 insertions(+) commit 08e17ae51b6336d059b0cc85071cc26772ab2f0c Author: Matthias Clasen Date: Thu Oct 6 08:59:51 2011 -0400 Call setlocale in markup-parse test This is necessary to make utf-8 text come out properly. glib/tests/markup-parse.c | 3 +++ 1 file changed, 3 insertions(+) commit 87cb246f4627a7644d0291e1ae131fa2e628fde9 Author: Matthias Clasen Date: Wed Oct 5 23:36:35 2011 -0400 Improve GNode test coverage glib/tests/node.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit dca6a601c13798dde689cab7f9ac67db2765ae2d Author: Matthias Clasen Date: Wed Oct 5 23:31:14 2011 -0400 Improve GCache test coverage glib/tests/cache.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit eeedaac3e8306403c9359edd8e4baea6a22153ed Author: Matthias Clasen Date: Wed Oct 5 23:24:27 2011 -0400 Improve coverage of string function tests glib/tests/strfuncs.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 944f66f38fa24c657c192e7d72ca2508020f68dd Author: Matthias Clasen Date: Wed Oct 5 23:24:08 2011 -0400 Improve coverage of GHmac tests glib/tests/hmac.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit d9e9239a4659c972279955e77d0351e664613e70 Author: Matthias Clasen Date: Wed Oct 5 23:00:09 2011 -0400 Add a test for g_date_time_new_from_timeval_utc glib/tests/gdatetime.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit c739a5df14ff5ee8cf262ce6e1cebdd0096aff5a Author: Antoine Jacoutot Date: Sat Oct 8 11:47:20 2011 +0200 gio: enable test_peer regression test for OpenBSD https://bugzilla.gnome.org/show_bug.cgi?id=661255 gio/tests/gdbus-peer.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 3c4d3dec092609bb8e8bf77dcaea5ad9ddfb4ed3 Author: David Zeuthen Date: Fri Oct 7 14:20:03 2011 -0400 GDBusConnection: Make pending calls error when the connection is lost If the connection to the bus is lost while a method call is ongoing, the method call does not get cancelled. Instead it just sits around until it times out. This is visible here on XO laptops when stopping the display manager during shutdown. imsettings starts sending a sync message to give up its bus name (via g_bus_unown_name()), then systemd terminates the session bus at approximately the same time. imsettings then hangs for about 20 seconds before timing out the message. http://lists.freedesktop.org/archives/dbus/2011-September/014717.html imsettings behaviour could be improved as described in that thread, but I think this is a glib bug. I've also come up with the attached patch which fixes it. Credits for the bug-fix goes to Daniel Drake . The test case was written by David Zeuthen . https://bugzilla.gnome.org/show_bug.cgi?id=660637 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 42 ++++++++-- gio/tests/Makefile.am | 4 + gio/tests/gdbus-connection-loss.c | 155 +++++++++++++++++++++++++++++++++++++ 3 files changed, 194 insertions(+), 7 deletions(-) commit edcac1ee419116327aee73435f7442f2201752e6 Author: John Ralls Date: Fri Oct 7 09:51:04 2011 -0700 Bug 661129: Duplicate symbols zero_thread and g_once_mutex on OSX glib/gthreadprivate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59f1f5465571bac403357b59cf7bfe2723356a37 Author: Dan Winship Date: Wed Oct 5 10:46:57 2011 -0400 Add g_main_context_ref_thread_default() Add g_main_context_ref_thread_default(), which always returns a reffed GMainContext, rather than sometimes returning a (non-reffed) GMainContext, and sometimes returning NULL. This simplifies the bookkeeping in any code that needs to keep a reference to the thread-default context for a while. https://bugzilla.gnome.org/show_bug.cgi?id=660994 docs/reference/glib/glib-sections.txt | 1 + gio/gdbus-2.0/codegen/codegen.py | 7 ++--- gio/gdbusconnection.c | 46 ++++++++++++--------------------- gio/gdbusinterfaceskeleton.c | 7 ++--- gio/gdbusnameowning.c | 17 ++++++------ gio/gdbusnamewatching.c | 17 ++++++------ gio/gdbusserver.c | 9 +++---- gio/gfilemonitor.c | 5 ++-- gio/gioscheduler.c | 7 ++--- gio/gsettings.c | 7 +---- gio/gsimpleasyncresult.c | 9 ++----- gio/gtlsinteraction.c | 7 ++--- glib/glib.symbols | 1 + glib/gmain.c | 34 ++++++++++++++++++++++-- glib/gmain.h | 1 + 15 files changed, 84 insertions(+), 91 deletions(-) commit d91769b64160353b4f9861cb68a97a0171b323ad Author: Daniel Mustieles Date: Fri Oct 7 10:14:10 2011 +0200 Updated Spanish translation po/es.po | 936 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 481 insertions(+), 455 deletions(-) commit 97b0b36ae39d5eb087315259ff56c799271b28c3 Author: Matthias Clasen Date: Fri Oct 7 01:19:15 2011 -0400 USE __COUNTER__ instead of __LINE__ when available I've seen builds fail with nm-connection.c:119:691: error: declaration of '_GStaticAssertCompileTimeAssertion_119' shadows a previous local [-Werror=shadow] because several compile-time assertions ended up on the same line. __COUNTER__ is meant specifically for the purpose of constructing identifiers, so use it when available. glib/gmacros.h | 4 ++++ 1 file changed, 4 insertions(+) commit c51fa1852dc7c661dc5d46355303d97a521e0a0c Author: Matthias Clasen Date: Fri Oct 7 00:42:52 2011 -0400 Don't redundantly redeclare It makes gcc throw an error: redundant redeclaration of 'g_static_mutex_get_mutex_impl' [-Werror=redundant-decls] glib/deprecated/gthread.h | 3 --- 1 file changed, 3 deletions(-) commit e76927006a6886b92e73eb25b5ed559485a83af0 Author: Ryan Lortie Date: Thu Oct 6 12:24:21 2011 -0400 Move G_LOCK below GMutex in the docs The flow is currently a bit wrong since G_LOCK makes reference to GMutex which was not yet defined, so switch things around. docs/reference/glib/glib-sections.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 761e75f84966e58f9a40ddae6ca3bc497c45afbe Author: Ryan Lortie Date: Thu Oct 6 12:21:33 2011 -0400 .gitignore docs/reference/glib/tmpl/.gitignore | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 083812f8546230deef08a63f2064c293438b3802 Author: Ryan Lortie Date: Thu Oct 6 12:19:58 2011 -0400 Several docs cleanups docs/reference/glib/glib-sections.txt | 8 ++++++++ glib/deprecated/gthread-deprecated.c | 11 +++++++++++ glib/gthread.h | 1 + glib/gvariant.h | 2 +- 4 files changed, 21 insertions(+), 1 deletion(-) commit 94b7d2ee6cb9f1e0416c82e2bf0615fd2d0c848a Author: Ryan Lortie Date: Thu Oct 6 12:01:53 2011 -0400 Cleanup thread documentation docs/reference/glib/Makefile.am | 3 + docs/reference/glib/glib-docs.sgml | 9 ++- docs/reference/glib/glib-overrides.txt | 2 +- docs/reference/glib/glib-sections.txt | 92 +++++++++++++++-------------- glib/deprecated/gthread-deprecated.c | 18 ++++++ glib/gthread-posix.c | 40 +++++++------ glib/gthread.c | 101 ++++++-------------------------- 7 files changed, 114 insertions(+), 151 deletions(-) commit 49b93a0bba1d2a837e5ea8f299464aa7ecd02321 Author: Chun-wei Fan Date: Thu Oct 6 16:02:18 2011 +0800 gobjet/gclosure.c: Fix styling issues ...so that it looks more consistent with the rest. gobject/gclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e80d8f0c2304ca471e6643dec846153307eee0fa Author: Chun-wei Fan Date: Thu Oct 6 15:37:52 2011 +0800 gobject/gclosure.c: Add type cast for int_val = value This will silence compiler warnings on Visual C++. (Sorry for the bad fix just now.) gobject/gclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d77f65d24dbdff40052e2346861eb420af9718ad Author: Chun-wei Fan Date: Thu Oct 6 15:33:34 2011 +0800 Revert "gobject/gclosure.c: Made up for missed pointer deref" This reverts commit d792a1ebe445cfab942ee9e079daa3b87bd60304. gobject/gclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d792a1ebe445cfab942ee9e079daa3b87bd60304 Author: Chun-wei Fan Date: Thu Oct 6 15:24:08 2011 +0800 gobject/gclosure.c: Made up for missed pointer deref The value parameter is a gpointer * (void **), but ffi_arg itself is not a pointer type, so make up for dereference here. gobject/gclosure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed03047a5be48995be01e217d3f942619dedc030 Author: Chun-wei Fan Date: Thu Oct 6 15:12:22 2011 +0800 gthread-deprecated.c: Include gutils.h This is needed for declaration of inline. glib/deprecated/gthread-deprecated.c | 2 ++ 1 file changed, 2 insertions(+) commit eb17516a6731acf7347e9f72ee81651c59087232 Author: Chun-wei Fan Date: Thu Oct 6 15:02:54 2011 +0800 config.h.win32(.in): Update for strcasecmp Visual C++ uses _stricmp, which is identical to strcasecmp on gcc. config.h.win32.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 3636cf2c640ab0b6a7c3b9d2358332bb52f4dc6e Author: Matthias Clasen Date: Wed Oct 5 22:43:22 2011 -0400 Update threads docs for the demise of g_thread_init() glib/gthread.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) commit 47c7fa2ccd9baad00da95fcc9a3dc6c2ef222747 Author: Matthias Clasen Date: Wed Oct 5 22:31:17 2011 -0400 Remove mention of gthread-2.0.pc from 'Compiling' section At the same time, add one or two other corrections. docs/reference/glib/compiling.sgml | 55 +++++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 23 deletions(-) commit 749758ec78b84ca577947fecca0ea54b790fd529 Author: Matthias Clasen Date: Wed Oct 5 22:23:25 2011 -0400 Add a warning to g_thread_init_with_errorcheck_mutexes Should anybody try to use this, we should at least tell them that its gone. gthread/gthread-impl.c | 1 + 1 file changed, 1 insertion(+) commit 8e82225aedf81ea8a33deb3eb27a8878cd606521 Author: Dan Williams Date: Fri Sep 23 12:32:23 2011 -0500 closure: fix handling of ENUMs and integral return types on 64-bit BE platforms enums are stored in v_long but need to be marshalled as signed integers. On platforms where int is 32 bits, taking the address of v_long resulted in the wrong 32 bits being marshalled. So we need to stuff the enum's int-sized value to a temporary int-sized variable and marshall that instead. Second, on return, libffi actually returns a pointer to a value that's sized according to platform conventions, not according to what the caller requested. ie if ffi_type_sint was requested, the value can still be a 64-bit sign-extended long on a 64-bit architecture like PPC64, thus the caller cannot simply cast the return value as a pointer to the desired type, but must cast as a pointer to an integral type and then cast to the desired type to remove any sign extension complications. For more information on how to correctly handle libffi return values, see the following bug, specifically comment 35: https://bugzilla.redhat.com/show_bug.cgi?id=736489 "For 64-bit ABIs that extend integral returns types to 64-bits, libffi always returns full 64-bit values that you can truncate in the calling code. It's just the way it is has always been. Please don't change libffi. I'll document this clearly for the next version (perhaps there is a mention of this, I haven't looked yet). The same is true for returning 8-bit values, for instance, on 32-bit systems. All ABIs extend those results to the full 32-bits so you need to provide a properly aligned buffer that's big enough to hold the result." https://bugzilla.gnome.org/show_bug.cgi?id=659881 gobject/gclosure.c | 76 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 59 insertions(+), 17 deletions(-) commit c3133affcd55023a5e9cfbd87ec96e04a13c8e86 Author: Colin Walters Date: Wed Oct 5 11:27:45 2011 -0400 gmacros: Hide G_STATIC_ASSERT from g-ir-scanner The C syntax here is twisted and confuses the scanner. We don't need to see it, so let's just skip it. https://bugzilla.gnome.org/show_bug.cgi?id=660413 glib/gmacros.h | 2 ++ 1 file changed, 2 insertions(+) commit 9560423a6ea05d6f34b5ee8533974b8f41ab03fc Author: Ryan Lortie Date: Wed Oct 5 13:16:05 2011 -0400 Be sure to #include "gutils.h" in gbacktrace.c 0e3f530185d494dbb9db1b47f72f10f3ae598564 introduced a compiler warning about implicit declaration of g_get_prgname(). Fix that. Problem caught and fix suggested by Rico Tzschichholz. glib/gbacktrace.c | 1 + 1 file changed, 1 insertion(+) commit f34908ef1555c8c579b0154e17932b84af04b81f Author: David Zeuthen Date: Wed Oct 5 12:33:55 2011 -0400 GDBus: Regenerate code when the codegen or options passed to it changes https://bugzilla.gnome.org/show_bug.cgi?id=660498 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 7ca83c6c9f369a88df98a86810596bb9efc73736 Author: Dan Winship Date: Wed Oct 5 11:45:51 2011 -0400 Fix up some doc comments that referred to threads not being enabled (and a few other unrelated comment fixes) gio/gasyncresult.c | 6 ------ gio/gioscheduler.c | 2 +- gio/giotypes.h | 6 +----- gio/gresolver.c | 3 +-- gio/gsimpleasyncresult.c | 2 +- gio/gsocketservice.c | 12 +++++++----- glib/glib-unix.c | 6 ------ glib/gmain.c | 2 +- glib/gthreadpool.c | 2 +- 9 files changed, 13 insertions(+), 28 deletions(-) commit af55ff5a2b604399aa216bd731df97cba4474ad0 Author: David Zeuthen Date: Wed Oct 5 10:56:11 2011 -0400 GDBus: disable two more GDBus tests using fork() Signed-off-by: David Zeuthen gio/tests/gdbus-proxy.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2b963266b68a3b14afcaa237ed41319c99949e43 Author: David Zeuthen Date: Tue Oct 4 11:37:16 2011 -0400 GDBusProxy: Correctly handle unknown members when having an expected interface Since it is valid for a D-Bus interface / service to add new methods, signals or properties we must NEVER warn about unknown properties or drop unknown signals or disallow unknown method invocations when we have an expected interface. So this means that the expected_interface machinery is only useful for checking that the service didn't break ABI. Also update the docs so it is clear exactly what it means to have an expected interface. https://bugzilla.gnome.org/show_bug.cgi?id=660886 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 165 +++++++++++++++++++++++++---------------- gio/tests/gdbus-proxy.c | 147 ++++++++++++++++++++++++++++++++++-- gio/tests/gdbus-testserver.py | 12 +++ 3 files changed, 253 insertions(+), 71 deletions(-) commit 2f48b4b7fb4d2d1f758ce5a8064ab51ac3d17a12 Author: Dan Winship Date: Wed Oct 5 08:36:03 2011 -0400 gthreadedresolver: remove a bit of cruft Remove a test that only made sense when GThreadedResolver was the base class for the two non-threaded resolver classes that no longer exist. gio/gthreadedresolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e3f530185d494dbb9db1b47f72f10f3ae598564 Author: Matthias Clasen Date: Tue Oct 4 01:25:26 2011 -0400 Remove cruft from g_strerror and g_strsignal We can just assume that strerror/strsignal are available nowadays. At the same time, drop use of thread-private storage. Instead, always return interned strings. https://bugzilla.gnome.org/show_bug.cgi?id=660849 configure.ac | 33 --- glib/gstrfuncs.c | 627 +++--------------------------------------------------- 2 files changed, 29 insertions(+), 631 deletions(-) commit 5fef796126e2c74ccc619528414339cfb5dfcf9c Author: Matthias Clasen Date: Wed Oct 5 01:04:42 2011 -0400 Misc test coverage improvements https://bugzilla.gnome.org/show_bug.cgi?id=660849 glib/tests/array-test.c | 6 +++++- glib/tests/fileutils.c | 3 +++ glib/tests/strfuncs.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) commit ddbd4acdfbfd6766aaba2de5a3ff4c599dbf1b74 Author: Matthias Clasen Date: Wed Oct 5 01:04:02 2011 -0400 Need to check for prlimit configure.ac | 1 + 1 file changed, 1 insertion(+) commit ea4bc6008f3acdd90a7da490a0cbc15f62ba608b Author: Matthias Clasen Date: Wed Oct 5 00:28:53 2011 -0400 Add a test for thread creation failure glib/tests/thread.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 08a6d812312c6d164844bb77dad203d7781139e5 Author: Ryan Lortie Date: Tue Oct 4 20:31:33 2011 -0400 gthread.h: a bunch of pointless whitespace changes Make it look pretty. glib/gthread.h | 223 +++++++++++++++++++++++++++----------------------------- 1 file changed, 107 insertions(+), 116 deletions(-) commit 674543d091d0561f3b6a28b4326d21ac56f093c1 Author: Ryan Lortie Date: Tue Oct 4 20:23:20 2011 -0400 Move typedef GStaticPrivate to deprecated/ This was missed in the earlier move. glib/deprecated/gthread.h | 1 + glib/gthread.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 69c0b4440eabd5898066b36caccac9a34d783a78 Author: Ryan Lortie Date: Tue Oct 4 19:09:43 2011 -0400 Deprecate g_{mutex,cond}_{new,free}() Now that we have _init() and _clear(), these old calls are no longer useful. https://bugzilla.gnome.org/show_bug.cgi?id=660739 glib/deprecated/gthread-deprecated.c | 84 ++++++++++++++++++++++++++++++++++ glib/deprecated/gthread.h | 4 ++ glib/gthread.c | 72 ----------------------------- glib/gthread.h | 4 -- 4 files changed, 88 insertions(+), 76 deletions(-) commit 26a6b3c6ff4ee086f72612930d3134df90980211 Author: Ryan Lortie Date: Tue Oct 4 20:07:31 2011 -0400 gdbusprivate: fix a missed g_mutex_free() This should have been changed to g_mutex_clear() gio/gdbusprivate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f343ca548af912e7ea6b0a35f5e12c8cb820126 Author: Ryan Lortie Date: Tue Oct 4 19:04:41 2011 -0400 Remove g_mutex_new()/g_cond_new() in testcases These were the last users of the dynamic allocation API. Keep the uses in glib/tests/mutex.c since this is actually meant to test the API (which has to continue working, even if it is deprecated). https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/tests/contexts.c | 30 +++++++++++++++--------------- gio/tests/tls-interaction.c | 28 ++++++++++++++++------------ gobject/tests/dynamictests.c | 12 +++++------- gobject/tests/threadtests.c | 27 ++++++++++++--------------- tests/mainloop-test.c | 30 ++++++++++++++---------------- tests/memchunks.c | 25 +++++++++---------------- tests/onceinit.c | 31 +++++++++++++++---------------- tests/slice-concurrent.c | 13 +++++-------- tests/slice-test.c | 2 -- tests/thread-test.c | 14 ++++++-------- 10 files changed, 97 insertions(+), 115 deletions(-) commit 9793708931640df4d89f87d16678508d417fd1e6 Author: Ryan Lortie Date: Tue Oct 4 18:52:55 2011 -0400 drop errorcheck mutex test We don't support errorchecking mutexes in GLib anymore. tests/.gitignore | 1 - tests/Makefile.am | 1 - tests/errorcheck-mutex-test.c | 131 ----------------------------------------- 3 files changed, 133 deletions(-) commit 4d5fe2704834e5038aa7a05a54445336cff831b6 Author: Ryan Lortie Date: Tue Oct 4 17:27:27 2011 -0400 GVariant: add a clarification to the docs Add a note to the doc for g_viarnat_get_child_value() that the return value is non-floating and must be freed with g_variant_unref(). https://bugzilla.gnome.org/show_bug.cgi?id=654412 glib/gvariant-core.c | 3 +++ 1 file changed, 3 insertions(+) commit 6b566e1d0b672e156c0cb80ceddc21b2f01deeaf Author: Ryan Lortie Date: Tue Oct 4 17:17:01 2011 -0400 gtimer: remove warnings about threads GTimer no longer uses the thread system for time information and g_thread_init() no longer does anything, so remove the doubly-untrue warning about these topics. https://bugzilla.gnome.org/show_bug.cgi?id=527214 glib/gtimer.c | 5 ----- 1 file changed, 5 deletions(-) commit e3be556728831b03b448819741f2c1c69f939294 Author: Ryan Lortie Date: Tue Oct 4 16:52:03 2011 -0400 end the glib-ctor experiment This was a bad approach. We attempt to handle initailisation in a more centralised way now. glib/Makefile.am | 1 - glib/glib-ctor.h | 25 ------------------------- glib/gmem.c | 2 -- 3 files changed, 28 deletions(-) commit bb5d90a76806788c26a6a3ed2c8453b35cb8c86e Author: Ryan Lortie Date: Tue Oct 4 16:36:53 2011 -0400 Test that g_slice_set_config() works For a while it didn't work, due to the ctor-based initialisation of gslice. https://bugzilla.gnome.org/show_bug.cgi?id=660887 glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 +++ glib/tests/slice.c | 28 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) commit 5bfb64d50704f334ae6692184e53de6dbb2e6be4 Author: Ryan Lortie Date: Tue Oct 4 16:38:28 2011 -0400 gslice: stop using ctors We can't initialise gslice from a ctor because g_slice_set_config() must be called before gslice initialisation. Instead, do the initialisation in a threadsafe way from the initialisation function for the thread private data. This will only be called once per thread so the synchronisation doesn't pose a significant overhead here. Ensure that we try to grab the thread private data directly on entrance to g_slice_alloc() so that we force the initialisation to occur. Grabbing the private data is the common case anyway. https://bugzilla.gnome.org/show_bug.cgi?id=660887 glib/gslice.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit f1512917e6e46e30000bcca2ebf06ef9d15b751d Author: Ryan Lortie Date: Tue Oct 4 16:08:27 2011 -0400 win32: stop leaking GPrivate data Instead of running the GPrivate destructors from our thread proxy code, run it from the DllMain handler for the DLL_THREAD_DETACH case. This should ensure that thread-local data is free at the exit of all threads -- not just the ones we created for ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=660745 glib/glib-init.c | 4 +++ glib/glib-init.h | 1 + glib/gthread-win32.c | 95 ++++++++++++++++++++++++++------------------------ 3 files changed, 54 insertions(+), 46 deletions(-) commit dd09a95543dd9e2156a635e81892d2c583177f08 Author: Ryan Lortie Date: Tue Oct 4 16:02:16 2011 -0400 Add GPrivate destroy notify testcase Ensure that GPrivate destroy notifies are properly called. This test currently fails on win32 (where we are leaking). https://bugzilla.gnome.org/show_bug.cgi?id=660745 glib/tests/private.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit 2e5cb6f52242a235f09d0b72954ed06591c01c06 Author: Ryan Lortie Date: Tue Oct 4 15:44:48 2011 -0400 win32 fixes from g_thread_init() deprecation I can't even begin to imagine how these fell through the cracks... glib/gmessages.c | 4 ---- glib/gthread-win32.c | 2 +- glib/gutils.c | 23 +---------------------- 3 files changed, 2 insertions(+), 27 deletions(-) commit 1bf01efb9f41a3b261e480f4cee0c3385ce3cfcb Author: Ryan Lortie Date: Tue Oct 4 15:34:15 2011 -0400 gitignore glib/tests/.gitignore | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 47444dacc069be5984df4064ae382d45a9ae8c9e Author: Ryan Lortie Date: Tue Oct 4 15:30:39 2011 -0400 Deprecate g_thread_init() Move the last few things that needed thread-safe initialisation to a global ctor. https://bugzilla.gnome.org/show_bug.cgi?id=660744 glib/Makefile.am | 2 + glib/deprecated/gthread-deprecated.c | 49 +++++++ glib/deprecated/gthread.h | 15 +++ glib/glib-init.c | 246 ++++++++++++++++++++++++++++++++++ glib/glib-init.h | 38 ++++++ glib/gmain.c | 4 - glib/gmem.c | 54 +------- glib/gmessages.c | 87 +----------- glib/grand.c | 2 - glib/gslice.c | 3 - glib/gstrfuncs.c | 2 - glib/gthread.c | 71 ---------- glib/gthread.h | 14 -- glib/gthreadpool.c | 1 - glib/gthreadprivate.h | 3 - glib/gutils.c | 95 ------------- glib/gwin32.c | 2 - gobject/gtype.c | 3 - gthread/gthread-impl.c | 13 -- 19 files changed, 353 insertions(+), 351 deletions(-) commit 310c3ed4cc733f47b88b44fb03757bd7213a4f9a Author: Ryan Lortie Date: Wed Sep 21 21:20:07 2011 -0400 Clean up process of calling g_debug_init() Make sure that it calls absolutely nothing that may ever recurse back into GLib again: - g_ascii_strcasecmp() is unsafe because it has g_return_if_fail() at the top. As far as I know, the only ASCII character letter that would get special treatment here is "i" and that appears in neither "help" nor "all". - g_getenv() is very complicated on Windows, so use a simple version that is sufficient for our purposes. Now that it's completely safe, we can just call it from g_logv() in the usual way without all of the hacks. https://bugzilla.gnome.org/show_bug.cgi?id=660744 glib/gmessages.c | 83 ++++++++++++++++++++++-------------------------------- glib/gutils.c | 16 +++++++---- 2 files changed, 43 insertions(+), 56 deletions(-) commit 1481b7bca3c24149a2970758bc8762e1318f361e Author: Dan Winship Date: Tue Jun 21 18:21:27 2011 -0400 Add _g_io_module_get_default(), use to simplify other *_get_default()s Add _g_io_module_get_default(), which implements the figure-out-the-best-available-module-that-is-actually-usable logic, and use that to simplify g_proxy_resolver_get_default(), g_settings_backend_get_default(), g_tls_backend_get_default(), and g_vfs_get_default(). https://bugzilla.gnome.org/show_bug.cgi?id=620932 gio/giomodule-priv.h | 5 ++ gio/giomodule.c | 127 ++++++++++++++++++++++++++++++++++++++++++++++++ gio/gproxyresolver.c | 52 ++------------------ gio/gsettingsbackend.c | 63 ++++++++---------------- gio/gtlsbackend.c | 35 +------------ gio/gvfs.c | 53 ++------------------ 6 files changed, 161 insertions(+), 174 deletions(-) commit 38d21f6d8a761cf211c0e0ca21c394b4824d13f2 Author: Dan Winship Date: Thu Sep 22 11:52:53 2011 -0400 gsettingsbackend: remove useless check GMemorySettingsBackend is always present, so there's no need to check for "no backends available" https://bugzilla.gnome.org/show_bug.cgi?id=620932 gio/gsettingsbackend.c | 4 ---- 1 file changed, 4 deletions(-) commit afa604f88179b4c95bdfe4e1819a93318f7b1d3f Author: Dan Winship Date: Tue Oct 4 13:19:21 2011 -0400 gio/tests/socket-client: fix a crash (and some indentation) gio/tests/socket-client.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 53fb4e986777ccad3b382151a23765c162a645c4 Author: Chun-wei Fan Date: Tue Oct 4 23:52:38 2011 +0800 Bug 660851: Update GIO for changes in GThread API gsocket.c: Use intern string instead of GStaticPrivate/ g_static_private_set, as Dan suggested. gio/gsocket.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 82fae72ae9d68bcce23c47c9f7046a50bb226105 Author: Bastien Nocera Date: Mon Oct 3 15:27:15 2011 +0100 [gio] Improve doc for g_file_make_directory_with_parents() g_file_make_directory_with_parents() will fail for already existing directories, unlike g_mkdir_with_parents(), so mention this clearly in the docs. https://bugzilla.gnome.org/show_bug.cgi?id=660791 gio/gfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 449a1e8bfd0ea7e8db1e3a436cf182b5cc71aa75 Author: Ryan Lortie Date: Tue Oct 4 11:07:15 2011 -0400 Fix an invalid non-looping use of GCond The GIOScheduler was using a GCond in a way that didn't deal with the possibility of spurious wakeups. Add an explicit predicate and a loop. Problem caught by Matthias Clasen. https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gioscheduler.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c474cd71ba3fe205865966c4a1467916597d43c4 Author: Ryan Lortie Date: Mon Oct 3 23:44:37 2011 -0400 GIO: switch a couple more GMutex users to _init() Move a couple more GIO users off of _new()/_free() to _init()/_clear(). https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gioscheduler.c | 41 ++++++++++++++++++----------------------- gio/gtlsinteraction.c | 38 +++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 42 deletions(-) commit e517fb6cb030c678918932aad5c0e63b4e0b1beb Author: Ryan Lortie Date: Tue Oct 4 11:52:47 2011 -0400 Make G_ASSERT_STATIC work with clang A simplified variant of an approach proposed by Behdad. https://bugzilla.gnome.org/show_bug.cgi?id=660413 glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7d4dea748d74a648989fe5d62361c1b151725f61 Author: Ryan Lortie Date: Tue Oct 4 00:09:53 2011 -0400 GDBus codegen: generate code with embedded GMutex Modify GDBus code generator to emit code that uses GMutex embedded into the structure of the skeleton instead of a pointer. https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gdbus-2.0/codegen/codegen.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 8bcdabf25a16bfcbc14696849ecf34689022469b Author: Ryan Lortie Date: Tue Oct 4 00:02:36 2011 -0400 GThreadedResolver: port to embedded GMutex/GCond This is the only case that was non trivial to port, due to some of the logic being based on checking the GCond* for being non-%NULL. https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gthreadedresolver.c | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) commit 518feb45eb1522f3e80125372d78b225b4e2e6e1 Author: Ryan Lortie Date: Mon Oct 3 23:52:13 2011 -0400 GMain, ThreadPool: embed GCond in struct Use an embedded GCond and g_cond_init()/clear() instead of a pointer with g_cond_new() and _free(). https://bugzilla.gnome.org/show_bug.cgi?id=660739 glib/gmain.c | 24 ++++++++---------------- glib/gthreadpool.c | 14 +++++--------- 2 files changed, 13 insertions(+), 25 deletions(-) commit 19cd57d4f3d1da19b3792f6294d354c2b3c70b85 Author: Ryan Lortie Date: Mon Oct 3 23:33:57 2011 -0400 GCancellable: use GCond and GMutex directly Use a statically-allocated GCond and directly use GMutex instead of making use of the undocumented G_LOCK_NAME() macro. https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gcancellable.c | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) commit 5f48e2cde5cb2871abb4e07b16140f52244d36ff Author: Ryan Lortie Date: Mon Oct 3 23:26:55 2011 -0400 GDBus: switch to struct-embedded GMutex and GCond Now that we have those, we should use them. https://bugzilla.gnome.org/show_bug.cgi?id=660739 gio/gdbusconnection.c | 22 +++++------ gio/gdbusinterfaceskeleton.c | 44 +++++++++++----------- gio/gdbusobjectmanagerclient.c | 58 ++++++++++++++--------------- gio/gdbusobjectmanagerserver.c | 52 +++++++++++++------------- gio/gdbusobjectproxy.c | 44 +++++++++++----------- gio/gdbusobjectskeleton.c | 50 ++++++++++++------------- gio/gdbusprivate.c | 80 ++++++++++++++++++++-------------------- 7 files changed, 175 insertions(+), 175 deletions(-) commit e03db42792220e75fe7587f6c37493fd071e2b65 Author: Chun-wei Fan Date: Tue Oct 4 13:56:30 2011 +0800 gstringchunk.c: Include gutils.h This is due to usage of the inline keyword which may not be universally defined unless guils.h is included. glib/gstringchunk.c | 2 ++ 1 file changed, 2 insertions(+) commit 13bd399d0a369cd62590777f8da6f3c3e7e21172 Author: Ryan Lortie Date: Tue Oct 4 10:59:29 2011 -0400 Add README notes about recent changes README.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 794c1a30bc27b4c8d77537813acb1213d5ac80f2 Author: Ryan Lortie Date: Mon Oct 3 14:40:00 2011 -0400 macro wrappers for g_once_init_enter/leave Give the macro wrapper treatment to g_once_init_enter() and leave() in the same style that we did for gatomic. It is now possible to use these macros with any pointer-sized object, and not just gsize. The leave() macro ensures that the initialisation result is a compatible type with the pointer that it is being written to. Just like with gatomic, there could be problems caused by use of (void*) casts. We'll see how that goes, and reevaluate if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=660743 glib/deprecated/gthread-deprecated.c | 7 ++++++ glib/deprecated/gthread.h | 2 ++ glib/gthread.c | 15 ++++++++----- glib/gthread.h | 40 +++++++++++++++++++++------------- glib/tests/once.c | 12 ++++++++++ 5 files changed, 55 insertions(+), 21 deletions(-) commit 8f58c2c0c43fadc19463aec214b27bc41c6a1651 Author: Antoine Jacoutot Date: Tue Oct 4 07:52:10 2011 +0200 Fix DATADIRNAME on OpenBSD. On OpenBSD translation files are always installed under PREFIX/share/locale, there is no such thing as PREFIX/lib/locale; according to that, set DATADIRNAME to "share". m4macros/glib-gettext.m4 | 4 ++++ 1 file changed, 4 insertions(+) commit 037c91f845246b692acf5ff99c233b46514504ac Author: Ryan Lortie Date: Sun Oct 2 12:08:56 2011 -0400 rec-mutex testcase: add a performance test Add a reasonable performance test for uncontended and contended cases at different levels of recursion depth. glib/tests/rec-mutex.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) commit 7973d9f8bac34fa090e330dec136b251f305d06c Author: Simon McVittie Date: Mon Oct 3 14:27:15 2011 +0100 In the GVariant intro, mention lack of built-in endianness, and rationale Presumably, the rationale for not storing the endianness is that GVariant is a recursive type system, and in a sane format, endianness only needs to be stored once per blob of data (once per D-Bus message, once per file on disk, etc.). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit ebb544f549c77d0e98431ee38c55824ff4de81ab Author: Simon McVittie Date: Mon Oct 3 14:20:51 2011 +0100 g_variant_get_data: mention what you need to know to deserialise Also include a shorter version in the docs for g_variant_store, with a pointer to g_variant_get_data. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant-core.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 3869e40ac339a9395e47a9aa81b017dbaf8ad925 Author: Simon McVittie Date: Mon Oct 3 14:19:58 2011 +0100 g_variant_new_from_data: mention that the caller might need to byteswap Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 4 ++++ 1 file changed, 4 insertions(+) commit 3d7264ce703f7dd55b6deac91562d64db69059ef Author: Simon McVittie Date: Tue Oct 4 12:39:08 2011 +0100 Fix a typo in describing GVariant serialisation functions Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 83afcc0a29202f7171e185c93ab0183dbf80cb39 Author: Simon McVittie Date: Tue Oct 4 10:46:13 2011 +0100 Escape percent sign in g_variant_new_parsed documentation Strings matching /%[a-z]/ are special syntax for gtk-doc. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d34c9bc6f335b22260df25d849cb3f26d3998349 Author: Simon McVittie Date: Wed Oct 13 12:22:41 2010 +0100 g_variant_get_fixed_array: document which types are appropriate Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) commit 9e827ab6152cf1c83c27bbffa2686390c78fe46e Author: Simon McVittie Date: Wed Oct 13 12:21:22 2010 +0100 GVariant docs: be clear that the serialisation format isn't the same as D-Bus Bug: https://bugzilla.gnome.org/show_bug.cgi?id=632049 Signed-off-by: Simon McVittie Reviewed-by: Ryan Lortie glib/gvariant.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f778564ba2c389856904de3cc80126d7cfb988c2 Author: Simon McVittie Date: Tue Oct 4 09:48:35 2011 +0100 Be clear that g_str_hash etc. don't accept NULL This covers the str, double, int, int64 hash and equal functions, but not anything that takes an "object", since the convention is that "object methods" never accept NULL anyway. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=592715 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/ghash.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 34a122454966546fed0ccbb73338b28021e76481 Author: Simon McVittie Date: Tue Oct 4 09:44:27 2011 +0100 Be completely clear about what g_direct_hash, g_direct_equal do Also annotate them as (allow-none), more for the benefit of gtk-doc readers than introspection. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=592715 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/ghash.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 06c96ab1e59dead8a920433498624b946abdb9ab Author: Simon McVittie Date: Tue Oct 4 09:42:28 2011 +0100 GHashTable: be more clear what g_int_hash wants Using g_int_hash, g_int_equal with keys like GINT_TO_POINTER (n) seems to be a reasonably common GLib-novice mistake. It doesn't help that the documentation for GHashFunc was ambiguous about this. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=592715 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/ghash.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 5bed8317ea0dc615b02f34bde9b5dfa7374c5600 Author: Simon McVittie Date: Mon Oct 3 18:48:15 2011 +0100 Warn when classes/instances exceed the allowed size, if possible It's impossible to check this if the library user is using g_type_register_static, but in that case their compiler should hopefully warn about the truncation. This fixes it for G_DEFINE_TYPE and friends, at least. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=659916 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters gobject/gtype.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 29a71915d87aa3053ed60efbe30bd7cc63ae2114 Author: Chun-wei Fan Date: Tue Oct 4 14:06:10 2011 +0800 Update glibconfig.h.win32(.in) Update typedef of GStaticMutex here to match the typedef of GMutex in glib/gthread.h (due to commit c5634df6) glib/glibconfig.h.win32.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca6a9850395ede6f8de8a1a34096eb32de3ba94d Author: Matthias Clasen Date: Tue Oct 4 00:46:10 2011 -0400 Improve test coverage in the thread tests Use g_thread_new_full() in some places. glib/tests/thread.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit e6fa27a5f80f05a6661b803620639e6f0ae96852 Author: Matthias Clasen Date: Tue Oct 4 00:45:42 2011 -0400 Improve test coverage in the GString tests glib/tests/string.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit fc3248065813557c37e1f5ec3442b652d4b0d404 Author: Matthias Clasen Date: Tue Oct 4 00:44:58 2011 -0400 Improve testcoverage in the rec-mutex test Test g_rec_mutex_trylock() in both locked and unlocked cases. glib/tests/rec-mutex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 823e32655e2fc4810dee34ba1bdd5553bb383a42 Author: Matthias Clasen Date: Mon Oct 3 23:55:02 2011 -0400 Add a few more tests This brings test coverage for glist.c and glist.c to the coveted 100% lines mark. glib/tests/list.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++-- glib/tests/slist.c | 53 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 119 insertions(+), 3 deletions(-) commit 1fe4429318b147f275e730ef5a69cb94a0a25062 Author: Matthias Clasen Date: Mon Oct 3 23:54:08 2011 -0400 Remove bits of dead code identified by coverage tests These lines could were not hit by our tests, and examination of the code reveals that they can't ever be hit. glib/glist.c | 16 ++++++---------- glib/gslist.c | 12 ++---------- 2 files changed, 8 insertions(+), 20 deletions(-) commit b74f46db6b585abe7fb665651e51888aea88b356 Author: Matthias Clasen Date: Mon Oct 3 22:22:55 2011 -0400 Add some more thread tests glib/tests/Makefile.am | 3 ++ glib/tests/thread.c | 119 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) commit 070aefcf59b0238f4cf644cb9ec75cc0b2d4ffaf Author: Ryan Lortie Date: Mon Oct 3 22:18:01 2011 -0400 GAsyncQueue: properly set free function The copying of code from g_async_queue_new() to g_async_queue_new_full() in ef08aa786bca87c520ef319b97df4b3ed0782233 copied the setting of the free function to NULL (instead of the one passed in by the user). Fix that up so that the test passes again. https://bugzilla.gnome.org/show_bug.cgi?id=660843 glib/gasyncqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f982cb9ab1dc9a435c5bba2f0438f165eba25dc Author: David Zeuthen Date: Thu Sep 29 23:46:28 2011 -0400 GUnixMountPoint: expose options Make the options from an /etc/fstab entry available as public API - this can be used to support options such as comment=gvfs.name=Foo\040Bar to e.g. set the name of an fstab mount in the UI to "Foo Bar". https://bugzilla.gnome.org/show_bug.cgi?id=660536 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gunixmounts.c | 28 ++++++++++++++++++++++++++++ gio/gunixmounts.h | 1 + 4 files changed, 31 insertions(+) commit 3106391694408877ebf6e8451146c5ac5d7bb017 Author: Ryan Lortie Date: Mon Oct 3 10:19:14 2011 -0400 Revert "GSettings: don't abort on missing schemas" This reverts commit c841c2ce3fda6f754c88ae2c9099f36dff2f0814. This approach has been an unmitigated disaster. We're getting all sorts of crashes due to functions that are returning NULL because they can't find the schema for the default value. The people who get these crashes are then confused about the root cause of the problem and waste a lot of time trying to figure it out. Until we find a better solution, we should go back to what we had before. https://bugzilla.gnome.org/show_bug.cgi?id=655366 gio/gsettings.c | 77 ++++++++++--------------------------------------- gio/gsettingsschema.c | 5 +--- gio/tests/gsettings.c | 26 ----------------- 3 files changed, 17 insertions(+), 91 deletions(-) commit 9d989c7b8aebda0e56aaadb843def0f48f909156 Author: Matthias Clasen Date: Sun Oct 2 23:53:56 2011 -0400 Cosmetics glib/gthread.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit fa6710ab6f365b512281049276413747b311821d Author: Matthias Clasen Date: Sun Oct 2 23:43:17 2011 -0400 Documentation fixes docs/reference/glib/glib-sections.txt | 113 ++++++++++++++-------------- glib/deprecated/gthread-deprecated.c | 9 +-- glib/gthread-posix.c | 3 +- glib/gthread.c | 133 ++++++++++++++++++--------------- 4 files changed, 135 insertions(+), 123 deletions(-) commit 65b84bb7d0e429a30f344ebc149dc3d8d79bddda Author: Matthias Clasen Date: Sun Oct 2 22:38:49 2011 -0400 Fix doc build The markup here was not only broken, it was also unnecessary, since gtk-doc knows to apply tags to things that end with () already. glib/gthread-posix.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 65056180dd2fee9187426354e8ef5161bf980578 Author: Ryan Lortie Date: Sun Oct 2 23:37:20 2011 -0400 locks: Add initialisation notes For each of the 4, mention that static storage or _init() is needed. glib/gthread.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit c5634df6d3ffe2da013a246880b183140b8f1260 Author: Ryan Lortie Date: Sun Oct 2 20:59:15 2011 -0400 locks: change the ABI just a bit Add a little bit more room in the ABI for our synchronisation primatives since we're going to need it when we add native implementations on Linux. Also: rename the pointer field and add /*< private >*/ annotations. glib/deprecated/gthread.h | 2 +- glib/gthread-posix.c | 42 +++++++++++++++++++++--------------------- glib/gthread-win32.c | 15 +++++++-------- glib/gthread.h | 20 ++++++++++++++------ 4 files changed, 43 insertions(+), 36 deletions(-) commit 2a677d1370a1983c2c5e1a4a6dd5f0d9fa9868b3 Author: Ryan Lortie Date: Sun Oct 2 20:51:38 2011 -0400 locks: drop _INIT macros All locks are now zero-initialised, so we can drop the G_*_INIT macros for them. Adjust various users around GLib accordingly and change the docs. https://bugzilla.gnome.org/show_bug.cgi?id=659866 docs/reference/glib/glib-sections.txt | 4 -- gio/gunionvolumemonitor.c | 2 +- glib/deprecated/gthread.h | 2 +- glib/gbitlock.c | 2 +- glib/glib-ctor.h | 2 +- glib/gmem.c | 2 +- glib/gmessages.c | 2 +- glib/gslice.c | 2 +- glib/gthread-posix.c | 17 ++++----- glib/gthread-win32.c | 9 +---- glib/gthread.c | 67 +++------------------------------ glib/gthread.h | 7 +--- glib/gvarianttypeinfo.c | 2 +- glib/tests/cond.c | 4 +- glib/tests/mutex.c | 8 ++-- glib/tests/private.c | 6 +-- glib/tests/rec-mutex.c | 6 +-- glib/tests/rwlock.c | 18 +++------ gmodule/gmodule.c | 2 +- gobject/gparam.c | 2 +- gobject/gtype.c | 4 +- tests/thread-test.c | 2 +- 22 files changed, 44 insertions(+), 128 deletions(-) commit 3315aee70915deb12374ab1d6134e4414114bec3 Author: Ryan Lortie Date: Sun Oct 2 21:03:49 2011 -0400 Re-enable 'include' testcase The bug is fixed now. https://bugzilla.gnome.org/show_bug.cgi?id=659866 glib/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e081eadda598bc708fbf9dd53a190fc3b0e7fa76 Author: Ryan Lortie Date: Sun Oct 2 20:43:28 2011 -0400 GThread posix: switch to Windows ABI Modify the POSIX implementation of the synchronisation primatives to use the same ABI as Windows: one pointer for each type. This frees us from having to #include and avoids the problem with pthread_rwlock_t not being defined under certain compiler defines. A few more changes are expected to the ABI -- they will be committed separately. https://bugzilla.gnome.org/show_bug.cgi?id=659866 glib/gthread-posix.c | 198 ++++++++++++++++++++++++++++++++++++++------------ glib/gthread.h | 29 -------- 2 files changed, 152 insertions(+), 75 deletions(-) commit 151756631dcac8e74df37c02bf0cf13d9df2e18b Author: Matthias Clasen Date: Sun Oct 2 22:31:45 2011 -0400 Don't use g_thread_foreach in tests tests/threadpool-test.c | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) commit 3d4846d92309d001697c2827660fa41b5c63dbc4 Author: Matthias Clasen Date: Sun Oct 2 01:29:08 2011 -0400 Deprecate GStaticPrivate and g_thread_foreach This commit moves GStaticPrivate, g_thread_foreach and all related functions and variables to gthread-deprecated.c. We introduce some internal API to make this possible. g_thread_foreach is not a very useful function, since there is virtually nothing you can do with a GThread*, and implementing it requires us to keep a list of threads around. GStaticPrivate has been made redundant by adding comparable capabilities to GPrivate. https://bugzilla.gnome.org/show_bug.cgi?id=660635 glib/deprecated/gthread-deprecated.c | 324 ++++++++++++++++++++++++++++++- glib/deprecated/gthread.h | 18 +- glib/gthread.c | 348 ++-------------------------------- glib/gthread.h | 16 -- glib/gthreadprivate.h | 20 ++ 5 files changed, 371 insertions(+), 355 deletions(-) commit 12287c8cc70fc65bc7bbeb4f7079b262337fce09 Author: Matthias Clasen Date: Sun Oct 2 09:51:13 2011 -0400 Don't put threads created with g_thread_new() on the list This lets us avoid the overhead of maintaining the global list in the non-deprecated case. https://bugzilla.gnome.org/show_bug.cgi?id=660635 glib/deprecated/gthread-deprecated.c | 4 +- glib/gthread.c | 76 ++++++++++++++++++++-------------- glib/gthreadprivate.h | 8 ++++ 3 files changed, 56 insertions(+), 32 deletions(-) commit 1909d2398ad299b86fb708104d82ce5ab7415d36 Author: Matthias Clasen Date: Sun Oct 2 09:27:08 2011 -0400 Make thread names useful in a debugger Associate the name with the system thread, so that debuggers can see it. This is currently only implemented for Linux, using prctl. https://bugzilla.gnome.org/show_bug.cgi?id=660635 configure.ac | 1 + glib/gthread-posix.c | 12 +++++++++++- glib/gthread-win32.c | 6 ++++++ glib/gthread.c | 3 +++ glib/gthreadprivate.h | 1 + 5 files changed, 22 insertions(+), 1 deletion(-) commit 0d1a92ca3d234a4291ef3ecbf7df2d57442a63e5 Author: Matthias Clasen Date: Sun Oct 2 10:01:57 2011 -0400 Add new thread creation API Deprecate both g_thread_create functions and add g_thread_new() and g_thread_new_full(). The new functions expect a name for the thread. Change GThreadPool, GMainContext and GDBus to create named threads. https://bugzilla.gnome.org/show_bug.cgi?id=660635 gio/gdbusprivate.c | 9 +++--- glib/deprecated/gthread-deprecated.c | 36 +++++++++++++++++++-- glib/deprecated/gthread.h | 4 +++ glib/glib.symbols | 9 +++--- glib/gmain.c | 2 +- glib/gthread.c | 59 +++++++++++++++++++++------------- glib/gthread.h | 6 ++-- glib/gthreadpool.c | 2 +- 8 files changed, 91 insertions(+), 36 deletions(-) commit bc67c23bf939d3ad719e860362bdda0737c512a1 Author: Matthias Clasen Date: Sun Oct 2 21:57:06 2011 -0400 Define GLIB_COMPILATION when building libgthread.so This is necessary, because gthreadprivate.h can only be included inside GLib, otherwise single-include guards trigger. gthread/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 34ce4dd0324acd02ceb51d43fdaed5640041d8c1 Author: Matthias Clasen Date: Sun Oct 2 21:57:40 2011 -0400 Replace static privates by privates GStaticPrivate is heading for deprecation soon, and GPrivate can replace these uses now. gio/gcancellable.c | 12 ++++++------ glib/gutf8.c | 10 +++++----- gmodule/gmodule.c | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) commit 6f711518230cbb2e09c56a7853e191eb6269faef Author: Ryan Lortie Date: Sun Oct 2 21:13:14 2011 -0400 win32: fix GPrivate fallout Fix minor mistake in win32 GPrivate code. glib/gthread-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdd43d43c9be3914bfeca4b1548885b9b44dcabb Author: Ryan Lortie Date: Sun Oct 2 20:24:18 2011 -0400 locks: rename a bunch of parameters glib/gthread-posix.c | 84 +++++++++++++++++++++++++------------------------- glib/gthread.h | 16 +++++----- 2 files changed, 50 insertions(+), 50 deletions(-) commit 8e43470c3827f5980f39bf9da0bc510858daf2be Author: Ryan Lortie Date: Fri Sep 30 14:22:04 2011 -0400 Stop dithering over GPrivate Take out the half-private g_private_init() stuff and replace it with a G_PRIVATE_INIT macro that allows specifying a GDestroyNotify. Expose the GPrivate structure in a public header. Add a g_private_replace() to (sort of) match the functionality of g_static_mutex_set(). Improve the documentation. Deprecate g_private_new(). docs/reference/glib/glib-overrides.txt | 22 +--- docs/reference/glib/glib-sections.txt | 6 +- glib/deprecated/gthread-deprecated.c | 26 ++++- glib/deprecated/gthread.h | 3 + glib/glib.symbols | 1 + glib/gmessages.c | 7 -- glib/gslice.c | 4 +- glib/gthread-posix.c | 197 ++++++++++++++++++++++++++------ glib/gthread-win32.c | 83 +++++++++----- glib/gthread.c | 100 +--------------- glib/gthread.h | 11 +- glib/gthreadprivate.h | 14 --- 12 files changed, 273 insertions(+), 201 deletions(-) commit 7a75f56aa16ac13607a13f4e455a4fa4248ff750 Author: Matthias Clasen Date: Sun Oct 2 19:10:16 2011 -0400 Add a few comments glib/gthread.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 7df7c535574fc634461ed17750fdf5bb1e777d2f Author: Matthias Clasen Date: Sun Oct 2 19:09:24 2011 -0400 Add another GCond test This test shows how to implement a barrier using a GCond. glib/tests/cond.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) commit 1a5cc98ca2f1474c300a13247533bf0b0b05f1df Author: Matthias Clasen Date: Sun Oct 2 01:21:46 2011 -0400 Rework the way GStaticPrivate data is freed To avoid iterating threads in g_static_private_free(), defer freeing the per-thread data to thread exit. The one complication here is that it is possible for the static private index to be reused while 'old' data is still around. To deal with that case, store the 'owner' with each per-thread data node, and free old data in g_static_private_get() if the owner doesn't match. The remaining possibility that a private index could be reused by a GStaticPrivate with the same address is sufficiently unlikely that we can probably ignore it. With this change, per-thread data is now truly private again, and we can drop the lock for it as well. https://bugzilla.gnome.org/show_bug.cgi?id=660635 glib/gthread.c | 169 +++++++++++++++++--------------------------------------- 1 file changed, 50 insertions(+), 119 deletions(-) commit 6a31cc66cde646aee5efdd2ba8cc8a203e29f1ed Author: Matthias Clasen Date: Sun Oct 2 09:59:26 2011 -0400 Whitespace fixes glib/gthread.c | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 3c02c64474351a2decdab3348b4e9f7ab473bff8 Author: Matthias Clasen Date: Sun Oct 2 17:05:03 2011 -0400 Clean up includes glib/gthread.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 6d2b2ccaa0dea75b848bcff6d83ab03db547b0fe Author: Matthias Clasen Date: Sun Oct 2 16:48:17 2011 -0400 Add tests for GPrivate and GStaticPrivate glib/tests/Makefile.am | 3 + glib/tests/private.c | 337 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 340 insertions(+) commit 3659ca99f5ae2058b53a2fefe052926fe2e1858f Author: Javier Jardón Date: Fri Sep 30 17:21:52 2011 +0100 tests: Use G_VALUE_INIT tests/gobject/gvalue-test.c | 12 ++++++------ tests/gobject/paramspec-test.c | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) commit 91713e950ff20b6330ca66fe51c32beb1453e87e Author: Javier Jardón Date: Fri Sep 30 17:04:23 2011 +0100 docs: Use G_VALUE_INIT docs/reference/gobject/tut_gobject.xml | 2 +- docs/reference/gobject/tut_gtype.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 406f7d2b39dab16cd38ccdbd4c978490eb1a2ba1 Author: Ryan Lortie Date: Fri Sep 30 23:05:27 2011 -0400 mutex testcase: add a performance test Add a reasonable performance test for uncontended and contended cases. glib/tests/mutex.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6ef022bbb3b6dbe6f0f34858d7521a7b0ab331e3 Author: Matthias Clasen Date: Sun Oct 2 00:08:54 2011 -0400 Move all hash functions to ghash.c This matches their location in the headers. glib/ghash.c | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gstring.c | 95 ++++++-------------------- glib/gutils.c | 153 +----------------------------------------- 3 files changed, 226 insertions(+), 226 deletions(-) commit e7ca67f20c9f44478cdaf5832a91dc39086f4c38 Author: Matthias Clasen Date: Sun Oct 2 00:08:13 2011 -0400 GHash: Cosmetic changes glib/ghash.c | 424 +++++++++++++++++++++++++++++++--------------------------- glib/ghash.h | 134 ++++++++----------- 2 files changed, 281 insertions(+), 277 deletions(-) commit ed325b18798f29ce1efbc5377056c0e07cfe4175 Author: Matthias Clasen Date: Sat Oct 1 23:38:52 2011 -0400 One forgotten moved doc glib/gmessages.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 10d86cda0266d7467cab449892e5fbb9258c607f Author: Matthias Clasen Date: Sat Oct 1 23:38:23 2011 -0400 Move GStringChunk into its own files glib/Makefile.am | 2 + glib/glib.h | 1 + glib/gstring.c | 271 ------------------------------------------ glib/gstring.h | 17 --- glib/gstringchunk.c | 325 +++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gstringchunk.h | 53 +++++++++ 6 files changed, 381 insertions(+), 288 deletions(-) commit 0e8bcc3ed7121c672af6ce52d8985a4d60f8545b Author: Matthias Clasen Date: Sat Oct 1 23:27:45 2011 -0400 Move GString docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/strings.sgml | 369 --------------------------------- glib/gstring.c | 29 +++ glib/gstring.h | 12 -- 4 files changed, 30 insertions(+), 381 deletions(-) commit 459b14d89ae1065041d55089b82c170ec8e0f631 Author: Matthias Clasen Date: Sat Oct 1 23:23:40 2011 -0400 GString: cosmetic cleanups glib/gstring.c | 535 ++++++++++++++++++++++++++++---------------------------- glib/gstring.h | 180 +++++++++---------- 2 files changed, 357 insertions(+), 358 deletions(-) commit 7154d44c5c5a23e0a631f571bc689ff43995ee82 Author: Matthias Clasen Date: Sat Oct 1 23:03:09 2011 -0400 Move file utility docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/fileutils.sgml | 536 ------------------------------- glib/gdir.c | 6 + glib/gfileutils.c | 135 ++++++++ glib/gmappedfile.c | 10 +- 5 files changed, 151 insertions(+), 537 deletions(-) commit ca77b0e252aa783ff25db7a247986a5ec45ea84f Author: Matthias Clasen Date: Sat Oct 1 22:48:27 2011 -0400 Move string utility docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/string_utils.sgml | 903 ---------------------------- glib/gstrfuncs.c | 427 +++++++++++-- 3 files changed, 378 insertions(+), 953 deletions(-) commit 793ff83527bd6be8117b483d4b8dde55f1d6f3b9 Author: Matthias Clasen Date: Sat Oct 1 22:00:41 2011 -0400 Move test docs inline docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/testing.sgml | 691 --------------------------------- glib/gtestutils.c | 369 +++++++++++++++++- 3 files changed, 370 insertions(+), 692 deletions(-) commit 9d3b37ac3fa7d5ea25a897e5baa7c7a66da0873f Author: Matthias Clasen Date: Sat Oct 1 21:03:14 2011 -0400 Move keyfile docs inline docs/reference/glib/tmpl/keyfile.sgml | 939 --------------------------------- glib/gkeyfile.c | 364 ++++++++++++- 2 files changed, 361 insertions(+), 942 deletions(-) commit 3d814e7a2ae80f422889c5f830af7e26c1f88a02 Author: Matthias Clasen Date: Sat Oct 1 20:16:32 2011 -0400 GAsyncQueue: simplify an internal function g_cond_timed_wait() behaves like g_cond_wait() when given NULL, so no need have different branches for that in g_async_queue_pop_intern_unlocked(). glib/gasyncqueue.c | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) commit 8c5400ff45b28a68cd97965abe16ce45dca2548c Author: Matthias Clasen Date: Sat Oct 1 20:11:38 2011 -0400 GAsyncQueue: internal cleanup Turn the 'try' parameter of g_async_queue_pop_intern_unlocked into a 'wait', for better alignment with the GCond api. glib/gasyncqueue.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 793cf54275dea80d15e724d803273e79195308d0 Author: Matthias Clasen Date: Sat Oct 1 20:09:35 2011 -0400 GAsyncQueue: embed the GCond Use g_cond_init/clear, now that we have them. glib/gasyncqueue.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit ef08aa786bca87c520ef319b97df4b3ed0782233 Author: Matthias Clasen Date: Sat Oct 1 19:24:24 2011 -0400 GAsyncQueue: Cosmetic fixes Mostly doc formatting and whitespace fixes. glib/gasyncqueue.c | 496 ++++++++++++++++++++++++++++------------------------ glib/gasyncqueue.h | 70 ++------ 2 files changed, 281 insertions(+), 285 deletions(-) commit 93abf20d3bc17fcf14cfb605b2142113dc1fd8e9 Author: Matthias Clasen Date: Sat Oct 1 18:42:48 2011 -0400 GAsyncQueue: Move private API to a private header glib/Makefile.am | 5 +++-- glib/gasyncqueue.c | 1 + glib/gasyncqueue.h | 3 --- glib/gasyncqueueprivate.h | 31 +++++++++++++++++++++++++++++++ glib/gthreadpool.c | 23 +++++++++++++---------- 5 files changed, 48 insertions(+), 15 deletions(-) commit b17b02da796628afe7829f5e8929c7666eb54f31 Author: Matthias Clasen Date: Sat Oct 1 18:20:27 2011 -0400 GThreadPool: cosmetic cleanups Mostly documentation and formatting trivial, but also add boolean return types to GError taking functions. glib/gthreadpool.c | 809 +++++++++++++++++++++++++++------------------------- glib/gthreadpool.h | 49 ++-- 2 files changed, 444 insertions(+), 414 deletions(-) commit 81e161edf261b4a8943f256531c57f440bcea2a4 Author: Matthias Clasen Date: Sat Oct 1 18:43:15 2011 -0400 GThread: cosmetic fix Explicitly include gthread.h, don't rely on gthreadprivate.h to pull it in. glib/gthread.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5135241633cd13fa2ff6bee9b15f763c4c5d90e4 Author: Nguyễn Thái Ngọc Duy Date: Sun Oct 2 11:21:18 2011 +1100 Updated Vietnamese translation po/vi.po | 152 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 75 insertions(+), 77 deletions(-) commit 98818afa0859dac68f57d07d6fec0b72d2b45ff7 Author: Nguyễn Thái Ngọc Duy Date: Sun Oct 2 11:08:49 2011 +1100 po/vi: import from Damned Lies po/vi.po | 75 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) commit 1af5ac0179cfc98c8f7c0c2ed700e56ba072ec35 Author: Matthias Clasen Date: Sat Oct 1 13:47:54 2011 -0400 Add an index for 2.32 api additions docs/reference/glib/glib-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit b4dc4902c6b7099266985421b775084b68e5d44e Author: Matthias Clasen Date: Sat Oct 1 13:47:09 2011 -0400 Mark g_thread_create_with_stack_size as new API glib/gthread.c | 2 ++ 1 file changed, 2 insertions(+) commit 65b7a20c67406f9309b2b8e1e7d7aaef98b81d02 Author: Ryan Lortie Date: Mon Sep 26 11:21:55 2011 -0400 GSettings schemas: allow for zero items in schema GVDB deals with empty lists by returning NULL for the list instead of a zero-length (non-NULL) strv. We can work around that in GSettingsSchema by checking for the NULL case and treating it like a zero-length list. https://bugzilla.gnome.org/show_bug.cgi?id=660147 gio/gsettingsschema.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e147d7aa2f1e4aba555df32b80763e2bc8199798 Author: Jasper Lievisse Adriaanse Date: Sat Oct 1 10:46:52 2011 +0200 Fix URL to strlcpy(3) manpage in comment. glib/gstrfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c48a0d881313676f2c215b30ba2f8674673071ad Author: Simon McVittie Date: Thu Sep 29 15:42:47 2011 +0100 markup-subparser test: use a real GError domain Signed-off-by: Simon McVittie Reviewed-by: Matthias Clasen Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371 glib/tests/markup-subparser.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 7aad93c5b43faa383ccb609852209d480548dd64 Author: Simon McVittie Date: Thu Sep 29 15:42:33 2011 +0100 sleepy-stream test: use a real GError domain Signed-off-by: Simon McVittie Reviewed-by: Matthias Clasen Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371 gio/tests/sleepy-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e60e4999b9d4904b74e1a38bd5c24b9fd047f95d Author: Simon McVittie Date: Thu Sep 29 13:57:09 2011 +0100 g_dbus_error_encode_gerror: don't segfault on bad domains Signed-off-by: Simon McVittie Reviewed-by: Matthias Clasen Bug: https://bugzilla.gnome.org/show_bug.cgi?id=660371 gio/gdbuserror.c | 4 ++++ 1 file changed, 4 insertions(+) commit 5156d1b2d42d89d7ad916ca3c53db517a2674f31 Author: Matthias Clasen Date: Thu Sep 29 23:32:20 2011 -0400 Prevent data loss in gdesktopappinfo.c Don't loose the content of mimeapps.list when it doesn't contain a [Added Associations] group. Pointed out by Alexander Larsson. https://bugzilla.gnome.org/show_bug.cgi?id=660130 gio/gdesktopappinfo.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit e6c76d9fd44a5e7c42f10a4833a03cbb44edeb5d Author: Matthias Clasen Date: Thu Sep 29 23:13:49 2011 -0400 Clean up atomic cruft Nothing is using these defines anymore, and the messages are misleading. Based on a patch by Kean Johnston. https://bugzilla.gnome.org/show_bug.cgi?id=660013 config.h.win32.in | 32 ------------------- configure.ac | 90 ++--------------------------------------------------- 2 files changed, 2 insertions(+), 120 deletions(-) commit cde8cf16faa14df3c688adc39f26a45aa0d88d38 Author: Matthias Clasen Date: Sun Sep 25 01:51:33 2011 -0400 Some more gthread reshuffling glib/gthread.c | 49 +++++++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 22 deletions(-) commit 934e0a7470fbcfccfd7c4d3e589d59e8778fa973 Author: David Zeuthen Date: Thu Sep 29 15:49:09 2011 -0400 GUnixFileMonitor: Clean up /proc/mounts monitoring Most suggestions from Colin Walters . https://bugzilla.gnome.org/show_bug.cgi?id=660511 Signed-off-by: David Zeuthen gio/gunixmounts.c | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) commit 55065461bfc5ace53e736dfa8181909e918c161b Author: David Zeuthen Date: Thu Sep 29 15:09:43 2011 -0400 GUnixFileMonitor: Use /proc/mounts for monitoring mount changes On recent Linux distros /etc/mtab is just a symlink to /proc/mounts and GFileMonitor does not work there because of how the kernel conveys that the file changes. https://bugzilla.gnome.org/show_bug.cgi?id=660511 Signed-off-by: David Zeuthen gio/gunixmounts.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 48 insertions(+), 5 deletions(-) commit 6d05f684eb0193f7b272cbbe42cd7e72eb0f5174 Author: Javier Jardón Date: Thu Sep 29 20:00:16 2011 +0100 gfile: Be clear about freeing GFile objects gio/gfile.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f992c240e86986dbede0124d1038e0223d8491dd Author: Dan Winship Date: Thu Sep 29 09:58:57 2011 -0400 gthread: remove a stray reference to GStaticMutex glib/gthread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76d2f7fa6a6835058d29381b50f763b12e97a861 Author: Tiffany Antopolski Date: Thu Sep 29 06:24:55 2011 +0200 Updated Esperanto translation po/eo.po | 1878 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1014 insertions(+), 864 deletions(-) commit 0f4b278a4b35c54b4a5e887b35dc100c068fd52f Author: Dan Winship Date: Wed Sep 28 12:18:10 2011 -0400 update .gitignores gio/tests/.gitignore | 4 ++++ glib/tests/.gitignore | 5 +++++ 2 files changed, 9 insertions(+) commit 6feff14f197f7e24d128d7f24ad5a15be5769016 Author: Dan Williams Date: Mon Sep 26 19:51:42 2011 -0500 tests: add signal marshalling return tests for int/uint https://bugzilla.gnome.org/show_bug.cgi?id=659881 gobject/tests/signals.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) commit a343904596a68458682da5707cc35fcc3ee7fa47 Author: Dan Williams Date: Mon Sep 26 13:07:51 2011 -0500 tests: fix generic closure marshalling tests We're testing enums here, not flags, so we need to make sure we're trying to send enums through the marshalling. https://bugzilla.gnome.org/show_bug.cgi?id=659881 gobject/tests/signals.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit adf7e0740c6bb7ec31c7acb32d7ea28951ec1027 Author: Dan Williams Date: Fri Sep 23 11:36:35 2011 -0500 tests: Add some return value torture testcases for the generic marshaller Ensure that ENUM types are properly marshalled back from libffi types to glib types, which was failing on ppc64. https://bugzilla.gnome.org/show_bug.cgi?id=659881 gobject/tests/signals.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit 51166d0127d6d77ae7e4782887a76462858fdd91 Author: Dan Winship Date: Mon Sep 26 14:17:43 2011 -0400 Add thread-safety warnings to the g_setenv() and g_unsetenv() docs https://bugzilla.gnome.org/show_bug.cgi?id=659326 glib/gutils.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit 104ea17125aa70f926bddb3889d594b6f5642a21 Author: Ryan Lortie Date: Mon Sep 26 03:56:22 2011 -0400 GDesktopAppInfo: simplify how defaults work Previously, we took the default application for a particular mimetype from the system and copied it into the user's configuration as the default there. Instead of doing that we leave the user's default unset, and at time of use, if the user has no explicitly-set default value, we use the system default. This avoids complicated situations where inappropriate applications were being set as the default in the user's configuration. https://bugzilla.gnome.org/show_bug.cgi?id=658188 gio/gdesktopappinfo.c | 66 ++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 39 deletions(-) commit 5b2c809dda6ae04bcf3205702b2cc91b1b47cc64 Author: Edward Sheldrake Date: Wed Sep 21 19:14:50 2011 +0100 Add another mimeapps test This tests the interaction between mimeinfo.cache, defaults.list and mimeapps.list to ensure g_app_info_set_as_last_used_for_type doesn't incorrectly change the default. https://bugzilla.gnome.org/show_bug.cgi?id=658188 gio/tests/mimeapps.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) commit eba49a4f7fb5b8c85a84e28a31ff0b3ba7bc82ea Author: Dan Winship Date: Mon Sep 26 12:42:23 2011 -0400 g_simple_async_result_complete_in_idle: add a minor doc clarification gio/gsimpleasyncresult.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6bd959b7276c557ec70a363497d2c4e432ec294f Author: Ryan Lortie Date: Mon Sep 26 09:05:53 2011 -0400 glib tests: Compile new thread tests on win32 They accidentally got added inside of a 'if OS_UNIX'. Move them out. glib/tests/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit fdc594e963b52b1b554fbbc522b91937a39bb5dc Author: Ryan Lortie Date: Mon Sep 26 04:44:41 2011 -0400 winxp threads: detect SRWLock emulation reentrancy We lack SRWLock on Windows XP, so we use CRITICAL_SECTION to emulate it there. SRWLock is non-recursive, but CRITICAL_SECTION will happily allow itself to be acquired multiple times by the same thread. We need to detect if our second acquire succeeded because of the recursive nature of CRITICAL_SECTION. In the case of a _lock() operation, we would normally have deadlocked, so abort. In the case of a _trylock() operation, we need to ensure that FALSE is properly returned. Problem caught by Matthias Clasen and Chun-wei Fan. https://bugzilla.gnome.org/show_bug.cgi?id=660096 glib/gthread-win32.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit 5ef7b964e5d7022c9ecc6b75b2a670e407c18698 Author: Carles Ferrando Date: Mon Sep 26 14:40:23 2011 +0200 [l10n]Updated Catalan (Valencian) translation po/ca@valencia.po | 809 +++++++++++++++++++++++++++-------------------------- 1 file changed, 418 insertions(+), 391 deletions(-) commit f032536416c08a14bd42ea8833f81b2c91a63fe2 Author: Petr Kovar Date: Sun Sep 25 23:35:27 2011 +0200 Update Czech translation po/cs.po | 260 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 130 insertions(+), 130 deletions(-) commit 31ddbd688a8551aa00a082dafb92ad82b5ec744a Author: Gil Forcada Date: Sun Sep 25 23:12:36 2011 +0200 [l10n]Updated Catalan translation po/ca.po | 267 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 133 insertions(+), 134 deletions(-) commit 5a95e19a462712010fece9c71079d5c311c77304 Author: Stef Walter Date: Fri Sep 23 10:57:55 2011 +0200 gvariant: Add g_variant_get_fixed_array() Using g_variant_new_from_data() for creating new byte arrays is non-obvious. This patch adds a g_variant_new_fixed_array() function. https://bugzilla.gnome.org/show_bug.cgi?id=659923 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 65 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 5 ++- glib/tests/gvariant.c | 16 +++++++- 5 files changed, 86 insertions(+), 2 deletions(-) commit 81e395b00b4270e5af16b572e5d2c82daa845374 Author: Matthias Clasen Date: Sun Sep 25 01:32:41 2011 -0400 More GThread docs tweaks docs/reference/glib/glib-sections.txt | 2 +- glib/gthread.c | 256 +++++++++++++++------------------ glib/gthread.h | 18 +-- 3 files changed, 123 insertions(+), 153 deletions(-) commit 900c467fd0f5f375acabad78246ed320d1f208a1 Author: Matthias Clasen Date: Sun Sep 25 00:53:47 2011 -0400 Move GThread docs around glib/gthread-posix.c | 138 ----------------------------------------- glib/gthread.c | 165 ++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 152 insertions(+), 151 deletions(-) commit db04f59780a40ada3c7abb77ca39652c35cfa9e4 Author: Matthias Clasen Date: Sun Sep 25 00:42:37 2011 -0400 Move includes to the top of the file glib/gthread-posix.c | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) commit 0ea89987e237ed30dad40ae589728d744b249fca Author: Matthias Clasen Date: Sun Sep 25 00:37:31 2011 -0400 Move deprecated GThread functions to a separate file glib/Makefile.am | 3 +- glib/deprecated/gthread-deprecated.c | 977 ++++++++++++++++++++++++++++++ glib/gthread.c | 1089 ++-------------------------------- glib/gthreadprivate.h | 3 + 4 files changed, 1047 insertions(+), 1025 deletions(-) commit e34861da087aed7417b82efeb2621aad9ee0df61 Author: Matthias Clasen Date: Sat Sep 24 23:40:18 2011 -0400 GThread: more doc updates glib/gthread.c | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) commit 4e44e235172f63c78f5dcd8d8cb55208e204a60a Author: Matthias Clasen Date: Sat Sep 24 23:13:55 2011 -0400 Drop G_THREADS_IMPL_NONE from the docs GLib can no longer be built without thread support. docs/reference/glib/glib-sections.txt | 1 - glib/gthread.c | 8 -------- 2 files changed, 9 deletions(-) commit 8f340e2d75020991931d867b569137cb984ee233 Author: Chun-wei Fan Date: Fri Sep 23 11:27:45 2011 +0800 Fix warning/error C4013 (implicit declarations) -Include gthread.h in gregex.c as g_once_init_enter and g_once_init_leave are used. -Define prototype for g_thread_DllMain in gthreadprivate.h for Windows glib/gregex.c | 1 + glib/gthreadprivate.h | 4 ++++ 2 files changed, 5 insertions(+) commit 2b391940c090b050c6a4ec30fabb4a1c49207046 Author: Chun-wei Fan Date: Fri Sep 23 13:37:08 2011 +0800 gthread.c: Declare variable at start of block This is so that C89 compilers will not complain. glib/gthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a485a0e56504437ba88cfac2309ab4d18f7a32fc Author: Matthias Clasen Date: Sat Sep 24 19:04:46 2011 -0400 Document G_THREADS_IMPL_WIN32 docs/reference/glib/glib-sections.txt | 1 + glib/gthread.c | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit d6b0af99d711584ca4e44f218a4cd2151a9ccef4 Author: Matthias Clasen Date: Sat Sep 24 19:00:19 2011 -0400 GThread doc additions docs/reference/glib/glib-sections.txt | 41 +++- glib/deprecated/gthread.h | 3 + glib/gthread-posix.c | 406 ++++++++++++++++++++++++++++++--- glib/gthread.c | 66 ++++-- 4 files changed, 458 insertions(+), 58 deletions(-) commit df9e5c2435d6e57f868d75b474ef1d047fd7ee36 Author: Matthias Clasen Date: Sat Sep 24 16:38:51 2011 -0400 Fix an uninialized variable warning glib/tests/cond.c | 2 ++ 1 file changed, 2 insertions(+) commit ef883fd0dcc7bec8c7b7b883635bca168b889988 Author: Peter Mráz Date: Sat Sep 24 21:52:10 2011 +0200 Updated Slovak translation po/sk.po | 2105 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1124 insertions(+), 981 deletions(-) commit aeee16e4a396b2f19bc2d6602c2e9266245226f6 Author: Kenneth Nielsen Date: Sat Sep 24 14:42:07 2011 +0200 Updated Danish translation po/da.po | 642 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 333 insertions(+), 309 deletions(-) commit cf9623767a721607cb972d300440e91dc8a57861 Author: Matthias Clasen Date: Sat Sep 24 00:39:59 2011 -0400 Add a testcase for bug 659866 Mere inclusion of glib headers should not require you to define any XYZ_SOURCE macros. glib/tests/Makefile.am | 6 ++++++ glib/tests/include.c | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) commit e1f68c129233f79b244692f35d4bba4792c0e4ad Author: Matthias Clasen Date: Fri Sep 23 23:38:26 2011 -0400 Add a test for GCond glib/tests/cond.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) commit a11831359992dc9be6ca0f9a80d97d8f241ad3ea Author: Matthias Clasen Date: Fri Sep 23 22:07:32 2011 -0400 Add a nontrivial read-write lock test glib/tests/rwlock.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) commit 158a0366be6ea2af574f13208068104adb7ea2e7 Author: Matthias Clasen Date: Fri Sep 23 21:10:40 2011 -0400 Add GOnce tests glib/tests/Makefile.am | 3 ++ glib/tests/once.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) commit dd002113f1ce4114f6f39b562f895aab6b47c8dc Author: Matthias Clasen Date: Fri Sep 23 07:26:33 2011 -0400 Make the rec mutex test a little more verbose glib/tests/rec-mutex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bec571dc790f67a9ee13683b13011ae45ffd393c Author: Dan Winship Date: Fri Sep 23 08:53:47 2011 -0400 giostream: "closed" property should not be marked writable https://bugzilla.gnome.org/show_bug.cgi?id=659920 gio/giostream.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) commit 7aa824da6ea3600ae72dc5a7f4c999719ffdacb4 Author: Dan Winship Date: Fri Sep 23 07:46:55 2011 -0400 gio-2.0.pc.in: drop stray reference to libasyncns gio-2.0.pc's Libs.private was still using @LIBASYNCNS_LIBADD@, which was no longer being substituted to anything and so broke "pkg-config --static". Fix it to be @NETWORK_LIBS@ instead. https://bugzilla.gnome.org/show_bug.cgi?id=659889 gio-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf020d8250c04abf52b5cde68076c09c02f6655d Author: Matthias Clasen Date: Fri Sep 23 07:21:53 2011 -0400 Add a non-trivial GRWLock test This one tests that the writer lock behaves like a mutex. Adapted from the corresponding test in GMutex. glib/tests/rwlock.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) commit 0a9885ebd84b9e7762346be3153c2428bc95ec50 Author: Matthias Clasen Date: Fri Sep 23 07:14:13 2011 -0400 Add a non-trivial GRecMutex test Adapted from the corresponding GMutex test. glib/tests/rec-mutex.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) commit de39df9dc1fee88d9d21dcfd40e70d61678508d9 Author: Matthias Clasen Date: Fri Sep 23 07:13:47 2011 -0400 Remove an unused variable glib/tests/mutex.c | 1 - 1 file changed, 1 deletion(-) commit 16086900af6ec72cf6c83ca4dae87a3c1a9a410f Author: Manoj Kumar Giri Date: Fri Sep 23 16:23:44 2011 +0530 Updated Oriya Translation po/or.po | 240 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 126 insertions(+), 114 deletions(-) commit 798a7d5abee46eb8b1ddb1c72ffa17a9cefc4ab0 Author: Matthias Clasen Date: Fri Sep 23 06:31:12 2011 -0400 Add some more rw lock tests These test some simple mixed reader/writer api usage. glib/tests/rwlock.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit 81b37081848c7638e6edc42a5c61e791320d23af Author: Matthias Clasen Date: Fri Sep 23 06:29:36 2011 -0400 Add a mutex test This tests that mutexes do what they are supposed to do. Copied from a similar test for bitlocks in gthread/tests/bitlock.c. glib/tests/mutex.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) commit bcd02d7a755154ec8760cae1a8c4a4dd085ac410 Author: Yaron Shahrabani Date: Fri Sep 23 08:23:25 2011 +0300 Updated Hebrew translation po/he.po | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) commit 4f3026ea230aeb73e5d24e9b8c72852c097e4354 Author: Matthias Clasen Date: Thu Sep 22 22:44:53 2011 -0400 Add headers glib/tests/mutex.c | 31 ++++++++++++++++++++++++++++++- glib/tests/rec-mutex.c | 28 +++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 2 deletions(-) commit d4d203e3cb320a80f61231f5834b289e03667846 Author: Matthias Clasen Date: Thu Sep 22 22:44:05 2011 -0400 Fix g_rwlock_{writer,reader}_trylock glib/gthread-posix.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit ff139135372cb9d8d88fba19d553f6b68b3ffa37 Author: Matthias Clasen Date: Thu Sep 22 22:43:29 2011 -0400 Add basic tests for GRWLock Just basic api usage, no functional test cases yet. glib/tests/Makefile.am | 3 ++ glib/tests/rwlock.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) commit b2717740a23ee37d057cc293ee4f92d91993c648 Author: Chun-wei Fan Date: Fri Sep 23 10:41:19 2011 +0800 VS support updates -Fix GLib project/filter files generation as some source items are under the "deprecated" subfolder, and filter out the gthread-*.c -Explicitly specify gthread-win32.c in the GLib project/filter file templates, since tarballs are done on Linux. -Don't define g_static_mutex_get_mutex in the pregenerated glibconfig.h.win32(.in) as it is defined in deprecated/gthread.h for Windows build/win32/vs10/glib.vcxproj.filtersin | 3 ++ build/win32/vs10/glib.vcxprojin | 1 + build/win32/vs9/glib.vcprojin | 77 ++++--------------------------- glib/Makefile.am | 12 ++--- glib/glibconfig.h.win32.in | 2 - 5 files changed, 20 insertions(+), 75 deletions(-) commit 9de564bf1f0f0c874ea311479f1561158e0d55e8 Author: Matthias Clasen Date: Thu Sep 22 21:58:28 2011 -0400 Fix g_rec_mutex_trylock glib/gthread-posix.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 295af777e4c251559f15502e6082f540a7a0f325 Author: Matthias Clasen Date: Thu Sep 22 21:55:43 2011 -0400 Add trivial tests for GMutex and GRecMutex Not testing any mutual exclusion with threads yet, just basic api use. This is already enough to reveal g_rec_mutex_trylock as broken... glib/tests/Makefile.am | 6 +++++ glib/tests/mutex.c | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/tests/rec-mutex.c | 52 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+) commit 9958909fb2cf818a24737dc3a90e98e6f2f02910 Author: Chun-wei Fan Date: Thu Sep 22 22:10:23 2011 +0800 gmappedfile.c: Define S_IFREG on Win32 when it's not available Make a workaround for S_IFREG in gmappedfile.c on Windows as it may not be available for a given compiler on that platform glib/gmappedfile.c | 4 ++++ 1 file changed, 4 insertions(+) commit f42fe6cdc056b77f74ff6e332389d444c50ae7dc Author: Colin Walters Date: Thu Sep 22 16:08:35 2011 -0400 gvalue: Add explicitly signed g_value_get_schar() and g_value_set_schar() The documentation for G_TYPE_CHAR says: "The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed integer." However the return value for g_value_get_char() was just "char" which in C has an unspecified signedness; on e.g. x86 it's signed (which matches the GType), but on e.g. PowerPC or ARM, it's not. We can't break the old API, so we need to suck it up and add new API. Port most internal users, but keep some tests of the old API too. https://bugzilla.gnome.org/show_bug.cgi?id=659870 gio/gsettings-mapping.c | 4 ++-- gio/tests/gsettings.c | 6 +++--- gobject/gclosure.c | 2 +- gobject/glib-genmarshal.c | 2 +- gobject/gmarshal.c | 2 +- gobject/gobject.symbols | 2 ++ gobject/gvaluetypes.c | 42 +++++++++++++++++++++++++++++++++++++++- gobject/gvaluetypes.h | 5 +++++ gobject/tests/param.c | 13 ++++++++++--- tests/gobject/gvalue-test.c | 1 + tests/gobject/paramspec-test.c | 16 +++++++++++++++ 11 files changed, 83 insertions(+), 12 deletions(-) commit 1df8160fa675b225809eed2f86d2489133e5e54d Author: Colin Walters Date: Thu Sep 22 17:52:08 2011 -0400 tests: Add a some torture test cases for the generic marshaller In particular this has a test case for a G_TYPE_ENUM which we were running into a failure on ppc64. https://bugzilla.gnome.org/show_bug.cgi?id=659881 gobject/tests/signals.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) commit c59846086bdc464b8bff97a83c09d91e8c860369 Author: Ryan Lortie Date: Thu Sep 22 13:47:25 2011 -0400 Add gthread.h to deprecated headers ...not deprecated sources glib/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8e716cbb497ba0cee11a86410c6faff805ea7d90 Author: Emmanuele Bassi Date: Thu Sep 22 17:16:55 2011 +0100 Fix annotations for source/target in g_object_bind_property_* We use gpointer for convience of the C API users, but introspection users will not like it. https://bugzilla.gnome.org/show_bug.cgi?id=659838 gobject/gbinding.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 35829d28b9f731e2443d48d868ec6b49cb202e5c Author: Manoj Kumar Giri Date: Thu Sep 22 19:46:01 2011 +0530 Updated Oriya Translation po/or.po | 277 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 156 insertions(+), 121 deletions(-) commit 558955dd85ffaa8435c95eacca27db7134ab4c11 Author: Matthias Clasen Date: Thu Sep 22 01:16:41 2011 -0400 Some gthread doc updates Marking things as deprecated, mostly. glib/gthread.c | 169 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 100 insertions(+), 69 deletions(-) commit cedc82290f860683d695d0c5326db153893eec21 Author: Matthias Clasen Date: Thu Sep 22 00:52:18 2011 -0400 Use adaptive mutexes when available These are supposedly better on multi-cpu systems - and who doesn't have multiple cpus nowadays. One single-processor systems, they are identical to normal mutexes. See e.g. http://bugzilla.mozilla.org/show_bug.cgi?id=132089 https://bugzilla.gnome.org/show_bug.cgi?id=659423 glib/gthread-posix.c | 13 ++++++++++++- glib/gthread.h | 4 ++++ 2 files changed, 16 insertions(+), 1 deletion(-) commit 19e7026fe728678c33e4cf38290ea88f0941d648 Author: Ryan Lortie Date: Wed Sep 21 20:19:32 2011 -0400 GDateTime test: fix a race We have a GDateTime test that compares the time now (as per the libc) to the time now (as per GDateTime). The problem is that the time could change between those two "now"s. glib/tests/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af9e40dc5def1352e01368de56577addb2c7bbc1 Author: Ryan Lortie Date: Wed Sep 21 20:13:57 2011 -0400 gslice: remove single-threaded case GPrivate always works, so use it normally at all times. glib/gslice.c | 35 ++++------------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) commit ca154c399b879ad17804af5d9a81e607e049861e Author: Philip Van Hoof Date: Wed Sep 21 19:59:03 2011 +0200 GMappedFile: Add API to create from an existing file descriptor At Tracker we want to mmap files using O_NOATIME. With GMappedFile this is at the moment impossible. For that reason I added the constructor new_from_fd to the GMappedFile type. https://bugzilla.gnome.org/show_bug.cgi?id=659754 glib/glib.symbols | 1 + glib/gmappedfile.c | 174 ++++++++++++++++++++++++++++++----------------- glib/gmappedfile.h | 3 + glib/tests/mappedfile.c | 48 +++++++++++++ 4 files changed, 164 insertions(+), 62 deletions(-) commit 24652730a9faaedb19b9e90024077eb7f75a6907 Author: Ryan Lortie Date: Wed Sep 21 14:57:22 2011 -0400 Deprecate GStatic{,Rec,RW}Mutex The new versions use the primatives of the OS directly and don't have an annoying ABI. glib/deprecated/gthread.h | 65 +++++++++++++++++++++++++++++++++++++++++++++ glib/gthread.h | 65 --------------------------------------------- 2 files changed, 65 insertions(+), 65 deletions(-) commit aecec33c4949e022abe6b335f83223495004c09f Author: Ryan Lortie Date: Wed Sep 21 14:39:59 2011 -0400 gtype: port from GStaticRWLock to GRWLock gobject/gtype.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit b6140c2f89e3d9a613623b7eacad631360837df3 Author: Ryan Lortie Date: Wed Sep 21 14:37:34 2011 -0400 Port internal GStaticRecMutex users to GRecMutex gio/gunionvolumemonitor.c | 38 +++++++++++++++++++------------------- glib/gvarianttypeinfo.c | 12 ++++++------ gmodule/gmodule.c | 20 ++++++++++---------- gobject/gtype.c | 22 +++++++++++----------- 4 files changed, 46 insertions(+), 46 deletions(-) commit ad187e3a9b2efff3c773d361e78ec3acda36136e Author: Ryan Lortie Date: Wed Sep 21 14:36:53 2011 -0400 Add a new recursive mutex type, GRecMutex This is implemented using the native facilities of each platform instead of manually. glib/glib.symbols | 5 ++++ glib/gthread-posix.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gthread-win32.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++ glib/gthread.h | 13 +++++++++ 4 files changed, 158 insertions(+) commit 3d4102776e59e748ee8b6e4d456a06a33593f308 Author: Ryan Lortie Date: Wed Sep 21 10:19:36 2011 -0400 Add GRWLock glib/glib.symbols | 8 ++++++++ glib/gthread-posix.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/gthread-win32.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/gthread.h | 26 +++++++++++++++++++++++-- glib/tests/strfuncs.c | 1 - 5 files changed, 133 insertions(+), 3 deletions(-) commit 42af8eb39d2744af68a470bcd9f7aae3c8f43602 Author: Ryan Lortie Date: Wed Sep 21 00:33:16 2011 -0400 gthread: remove impl init functions glib/gthread-posix.c | 14 +++----------- glib/gthread-win32.c | 20 +++----------------- glib/gthread.c | 2 -- glib/gthreadprivate.h | 3 --- 4 files changed, 6 insertions(+), 33 deletions(-) commit 2539bd007d34c7e75788c34f8d9a1e0d5f225ea0 Author: Ryan Lortie Date: Tue Sep 20 10:06:57 2011 -0400 win32: Add 'shared' support to SRWLock emulation glib/gthread-win32.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) commit 9f42e3be1b7b9e7588eb84e21c321dfbde0a6f9a Author: Ryan Lortie Date: Tue Sep 20 00:05:34 2011 -0400 gthread-win32: trivial condition change Make another do-nothing change to the SRWLock emulation. glib/gthread-win32.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 391aea32f31506cd07b251385450a84d705cc798 Author: Ryan Lortie Date: Tue Sep 20 00:04:43 2011 -0400 gthread-win32: rename a struct member Our SRWLock is about to become a real reader/writer lock, so rename an instance variable to prepare for that. glib/gthread-win32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d7aeae97effab17a0562023497ed8baf46dcc09a Author: Ryan Lortie Date: Mon Sep 19 13:58:36 2011 -0400 gthread.h: remove some bogus decl/comments These are no longer relevent since the possibility of a thread-disabled GLib disappeared. glib/gthread.h | 10 ---------- 1 file changed, 10 deletions(-) commit 894dd4f62b5df008e9372394c0fb4ef2fd1dc527 Author: Ryan Lortie Date: Mon Sep 19 13:51:07 2011 -0400 Revert "Drop an unused variable" This reverts commit c7f9cd17d446938aaf4126e0753302676f66fd22. The old macros in gthread.h used this variable, so it must remain in place to keep ABI compatibility. glib/gthread.c | 1 + 1 file changed, 1 insertion(+) commit 8ef30eb3da2e371bf6cbaa4d102b89b948fc04bb Author: Matthias Clasen Date: Mon Sep 19 07:19:17 2011 -0400 Drop an unused variable glib/gthread.c | 1 - 1 file changed, 1 deletion(-) commit 7d859fb67f42a88368f8c5d404cf7ade07dbf27d Author: Matthias Clasen Date: Mon Sep 19 07:16:30 2011 -0400 More header cosmetics glib/gthread.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit c291259c659a2dd48f1202863852f61a34290a84 Author: Matthias Clasen Date: Mon Sep 19 00:29:53 2011 -0400 trivial: small header reordering glib/gthread.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ae2ac9e809a91635c6ff9751145cd09b6de8dab9 Author: Ryan Lortie Date: Mon Sep 19 01:11:11 2011 -0400 Move some things to deprecated/gthread.h glib/Makefile.am | 3 +- glib/deprecated/gthread.h | 112 +++++++++++++++++++++++++++++++++++++++++++++ glib/glib.h | 1 + glib/gthread.c | 2 +- glib/gthread.h | 83 +-------------------------------- 5 files changed, 118 insertions(+), 83 deletions(-) commit 97972fbb3a1d9234fbb5753802afd0c13db45f25 Author: Ryan Lortie Date: Mon Sep 19 01:02:44 2011 -0400 g_thread_init: take a gpointer as the arg GThreadFunctions is about to disappear. glib/gthread.h | 2 +- gthread/gthread-impl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit abba53e39630fd9df7249e239db06b391ba1f47a Author: Ryan Lortie Date: Mon Sep 19 00:55:16 2011 -0400 disable glib-ctor on win32 glib/glib-ctor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14e6377a603abd03a3c9d7130da1c1113cec4d7b Author: Ryan Lortie Date: Mon Sep 19 00:45:19 2011 -0400 Deprecate g_thread_create_full() Replace it with g_thread_create_with_stack_size() and a real function implementation of g_thread_create(). Modify a testcase that was calling g_thread_create_full() inappropriately (it was using the default values anyway). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 2 ++ glib/gthread.c | 64 +++++++++++++++++++++++++-------- glib/gthread.h | 17 +++++++-- tests/slice-test.c | 4 +-- 5 files changed, 68 insertions(+), 20 deletions(-) commit 9621b1093e7b745e6f8184012bc3c18ab1d261b1 Author: Ryan Lortie Date: Mon Sep 19 00:31:33 2011 -0400 Drop g_thread_fail() This is now unused. glib/gthread.c | 7 ------- 1 file changed, 7 deletions(-) commit b2c1364ab29f82d863990c9b1b17abce798f9a84 Author: Ryan Lortie Date: Mon Sep 19 00:30:30 2011 -0400 g_system_thread_create: drop unused args The 'bound' and 'priority' arguments are no longer in use, so drop them. glib/gthread-posix.c | 2 -- glib/gthread-win32.c | 2 -- glib/gthread.c | 2 +- glib/gthreadprivate.h | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) commit 2b4c303d61d614af90a92de4c85532fcc245118e Author: Ryan Lortie Date: Mon Sep 19 00:27:56 2011 -0400 Remove the concept of 'bound' This was ignored on Windows. On POSIX, where supported, it controlled if we ended up with a proper system thread or a user-mode thread. Linux did not support this. glib/gthread-posix.c | 7 ------- glib/gthread.c | 10 +++------- 2 files changed, 3 insertions(+), 14 deletions(-) commit cebcfed78347e7f0e5853cdc192319168cd811a6 Author: Matthias Clasen Date: Mon Sep 19 00:25:12 2011 -0400 Remove a leftover from errorcheck mutexes glib/gthread.h | 3 --- 1 file changed, 3 deletions(-) commit cffed9a03a54f92f04cf9648253a907573752975 Author: Ryan Lortie Date: Mon Sep 19 00:11:46 2011 -0400 Remove g_thread_functions_for_glib_use_old This has been unused for a while and it should definitely go away now that g_thread_functions_for_glib_use is back in gthread.c. glib/gthread.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) commit 6972ed340b702a2b2674cab4338207e2a74a19f0 Author: Ryan Lortie Date: Mon Sep 19 00:03:40 2011 -0400 Merge g_thread_functions_for_glib_use Move the now-identical copies of g_thread_functions_for_glib_use from gthread-{posix,win32}.c back into gthread.c. glib/gthread-posix.c | 25 ------------------------- glib/gthread-win32.c | 25 ------------------------- glib/gthread.c | 25 +++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 50 deletions(-) commit 6ea1721191efc27cef0236bf10174dd0a81125bb Author: Ryan Lortie Date: Mon Sep 19 00:01:29 2011 -0400 gthread.h: drop the vtable access macros We're finally free of these. Drop them. glib/gthread.h | 14 -------------- 1 file changed, 14 deletions(-) commit 3422dcfd28c2e33b5dffbcc0f59cfa507b89a468 Author: Ryan Lortie Date: Mon Sep 19 00:00:12 2011 -0400 NULL g_system_thread_{exit,equal} in the vtable These were never used from gthread.h and are no longer used from gthread.c. glib/gthread-posix.c | 4 ++-- glib/gthread-win32.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 7a69d46dc562188a8673c6057919b4d65798491d Author: Ryan Lortie Date: Sun Sep 18 23:58:12 2011 -0400 GSystemThread: port 'self' 'join' and 'create' Switch 'self' 'join' and 'create' from using the vtable to being called via normal g_system_thread_* internal API (implemented in each of gthread-{posix,win32}.c). Again, we can put NULL in the vtable since these were never used from gthread.h. glib/gthread-posix.c | 32 ++++++++++++++++---------------- glib/gthread-win32.c | 32 ++++++++++++++++---------------- glib/gthread.c | 18 +++++++++--------- glib/gthreadprivate.h | 10 ++++++++++ 4 files changed, 51 insertions(+), 41 deletions(-) commit 51d92adeee67d1df30d13fe41e97af9e563f62ec Author: Ryan Lortie Date: Sun Sep 18 23:43:27 2011 -0400 GThread: deprecate thread priorities Thread priorities were already documented as not working on Solaris, and they are meaningless on Linux unless the process separately requests realtime scheduling (and even then, it appears only to work as root). We can safely put a NULL into the vtable for set_priority since nothing outside of gthread.c ever calls this (and that call is gone). glib/gthread-posix.c | 106 +------------------------------------------------- glib/gthread-win32.c | 38 +----------------- glib/gthread.c | 59 +++++++--------------------- glib/gthread.h | 10 +++-- 4 files changed, 22 insertions(+), 191 deletions(-) commit a10306060c409c45b2ae7dc38813918ce5d611d4 Author: Matthias Clasen Date: Sun Sep 18 23:18:17 2011 -0400 Don't use the thread_exit vfunc Instead, just have the backends implement an internal function named g_system_thread_exit. glib/gthread-posix.c | 6 +++--- glib/gthread-win32.c | 10 +++++----- glib/gthread.c | 9 ++++----- glib/gthreadprivate.h | 2 ++ 4 files changed, 14 insertions(+), 13 deletions(-) commit cc7631cd197756a1f804342a39f6ab10a28bc4f5 Author: Matthias Clasen Date: Sun Sep 18 23:10:25 2011 -0400 Don't use the thread_equal vfunc anymore Just move the g_system_thread_equal implementation into the posix and win32 implementations, and drop some micro macro optimization. glib/gthread-posix.c | 7 ++++--- glib/gthread-win32.c | 7 +++++++ glib/gthread.c | 11 +++++------ glib/gthreadprivate.h | 10 ++-------- 4 files changed, 18 insertions(+), 17 deletions(-) commit e00bcfcdecbc25bf6e34492a328a855771ff08ef Author: Ryan Lortie Date: Sun Sep 18 23:07:24 2011 -0400 gthread-win32: use __stdcall markers where needed The "unknown reason" that the native thread implementation was broken is because functions in kernel32.dll are (obviously) following Microsoft's __stdcall ABI, not the GCC ABI. Change our function pointers to be __stdcall pointers and change our emulated implementation to match. glib/gthread-win32.c | 61 ++++++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 32 deletions(-) commit 835c9b75c8adb20f8a095a2bea486d59f16e72cc Author: Ryan Lortie Date: Sun Sep 18 22:48:53 2011 -0400 g_private_new: use GSlice We no longer call g_private_new() from anywhere in GLib, so we can use gslice instead of malloc(). glib/gthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ebd842d240f74cee6654e02beb15966b058c603 Author: Matthias Clasen Date: Sun Sep 18 22:11:12 2011 -0400 And move the g_thread_yield() docs too glib/gthread-posix.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 71df02658053cab2b18a15f02323a139f1de2092 Author: Matthias Clasen Date: Sun Sep 18 21:39:35 2011 -0400 Don't use the thread vtable for g_thread_yield() glib/gthread-posix.c | 6 +++--- glib/gthread-win32.c | 6 +++--- glib/gthread.c | 15 --------------- 3 files changed, 6 insertions(+), 21 deletions(-) commit 862e086b79aa285c22f53b6351f6b8816adf2ed5 Author: Matthias Clasen Date: Sun Sep 18 21:24:25 2011 -0400 Move g_private_new() to common code The implementations for posix and win32 were identical, so move it to gthread.c, to go with g_mutex_new() and g_cond_new(). glib/gthread-posix.c | 39 --------------------------------------- glib/gthread-win32.c | 13 ------------- glib/gthread.c | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 52 deletions(-) commit dffca808469f372352a2f6cfe58f8ad026ce3a5e Author: Matthias Clasen Date: Sun Sep 18 21:17:33 2011 -0400 Move docs around Move the docs of functions to the actual functions. Also add docs for some new apis. glib/gthread-posix.c | 237 +++++++++++++++++++++++++++++++++++++++++++ glib/gthread.c | 275 ++++++++++---------------------------------------- 2 files changed, 290 insertions(+), 222 deletions(-) commit 0044763a715ac5cec27fab5a7f247d3a1045d9aa Author: Matthias Clasen Date: Sun Sep 18 20:04:28 2011 -0400 Clean up g_thread_yield implementation This was the last macro wrapper that was directly accessing the vtable. Make it a regular function, like the rest. glib/glib.symbols | 1 + glib/gthread-posix.c | 2 +- glib/gthread.c | 27 ++++++++++++++++----------- glib/gthread.h | 2 +- 4 files changed, 19 insertions(+), 13 deletions(-) commit c4a69e784ebd5c19a79463c2593f8b9316aeb7b2 Author: Ryan Lortie Date: Sun Sep 18 02:27:03 2011 -0400 gmem: move to glib-ctor glib/gmem.c | 114 ++++++++++++++++++++----------------------------- glib/gthread.c | 3 -- glib/gthreadprivate.h | 2 - 3 files changed, 47 insertions(+), 72 deletions(-) commit ae4419610cf920acc2ada9df0e5320a500e9965c Author: Ryan Lortie Date: Sun Sep 18 02:17:17 2011 -0400 gslice: move initialisation to glib-ctor glib/gslice.c | 28 +++++----------------------- glib/gthread.c | 3 --- glib/gthreadprivate.h | 1 - 3 files changed, 5 insertions(+), 27 deletions(-) commit 8f74c927f609139c51b0a0c067ad63c60ac9139b Author: Ryan Lortie Date: Sun Sep 18 02:16:07 2011 -0400 Add glib-ctor functionality A pair of macros to define a constructor function (on compilers that support such a concept) and to ensure that the function is run exactly once (on compilers that lack such support). Presently only GCC is implemented. glib/Makefile.am | 1 + glib/glib-ctor.h | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) commit 0e604ef0b527129f947637bc3ae742e9e2c30c90 Author: Ryan Lortie Date: Sun Sep 18 01:24:27 2011 -0400 GThread: always initialise the system thread It's always safe to call the thread implementation 'self' function. glib/gthread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 4596dfbc7587c20261b56b58a0a3e5fdeb7ff79a Author: Ryan Lortie Date: Sun Sep 18 01:21:01 2011 -0400 gmessages: do implicit GPrivate initialisation Initialise the GPrivate implicitly at the site of first use rather than explicitly from the thread initialisation function. glib/gmessages.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 90679997ec7439ae520c97eb37b5ae36e0da6bba Author: Ryan Lortie Date: Sun Sep 18 01:10:07 2011 -0400 Continue GPrivate rework We remove the macros while at the same time switching all libglib users from g_private_new() to g_private_init(). We deal with the strange expectations of the libglib code that g_private_* should work before the GPrivate has been initialised with a temporary shim. glib/gmessages.c | 10 +++++----- glib/gslice.c | 8 ++++---- glib/gthread-posix.c | 18 ++++++++++++++---- glib/gthread-win32.c | 17 ++++++++++++++--- glib/gthread.c | 12 ++++++------ glib/gthread.h | 14 +++----------- glib/gthreadprivate.h | 2 ++ 7 files changed, 48 insertions(+), 33 deletions(-) commit b0d83576e26191505ce450cd3eae596be9aff1e1 Author: Ryan Lortie Date: Sat Sep 17 22:00:27 2011 -0400 Rework GPrivate - expose the structure types for GLib internal use only - avoid infinite recursion hazards by ensuring that GPrivate never calls back into any other part of GLib - substantially rework the Windows implementation so that it never holds locks, contains no arbitrary limits and doesn't waste 100*sizeof(void*) per thread We have to keep the macro hacks for the time being since some code inside libglib depends on it. glib/glib.symbols | 3 + glib/gthread-posix.c | 81 +++++++++++---------- glib/gthread-win32.c | 192 +++++++++++++++++++++++-------------------------- glib/gthread.h | 5 ++ glib/gthreadprivate.h | 12 ++++ 5 files changed, 155 insertions(+), 138 deletions(-) commit 4ec6d47806dbb4934aeeb748196d24f7cd0eb10c Author: Ryan Lortie Date: Sat Sep 17 20:15:07 2011 -0400 GStaticMutex: remove ./configure checks Now that GMutex is exposed we can avoid the dance we did in ./configure to allocate the correct amount of space for it within the GStaticMutex. Remove the checks and move the definitions to gthread.h, trying very hard to keep ABI-stable (even though we will be deprecating this soon). configure.ac | 63 +------------------------------------------------------- glib/gthread.h | 22 ++++++++++++-------- 2 files changed, 14 insertions(+), 71 deletions(-) commit c33cd007398cfc81a9405b95280e99a231f58ff8 Author: Ryan Lortie Date: Sat Sep 17 19:33:30 2011 -0400 Stop using GStaticMutex in two testcases gthread/tests/gwakeuptest.c | 14 ++++++-------- tests/thread-test.c | 14 +++++++------- 2 files changed, 13 insertions(+), 15 deletions(-) commit 1da913a7a3f120d7097a7474f7cccbeeb1a8383c Author: Ryan Lortie Date: Sat Sep 17 19:32:57 2011 -0400 GParamSpecPool: port from GStaticMutex to GMutex gobject/gparam.c | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) commit 806de91cd55c7ba2599a637346dbecd3bb3a5562 Author: Ryan Lortie Date: Sat Sep 17 19:26:41 2011 -0400 GSettings: port from GStaticMutex to GMutex gio/gdelayedsettingsbackend.c | 46 ++++++++++++++++++++--------------------- gio/gsettingsbackend.c | 18 ++++++++-------- 2 files changed, 32 insertions(+), 32 deletions(-) commit 646de11ae789fb19a878091491fa645788d89368 Author: Ryan Lortie Date: Sat Sep 17 18:30:07 2011 -0400 Remove "temporary until GLib is fixed" code The original GMutex/GCond rework patch introduced some temporary code to cope with GLib's old approach to thread initialisation. These are no longer required. glib/gthread-posix.c | 20 -------------------- glib/gthread-win32.c | 20 -------------------- 2 files changed, 40 deletions(-) commit e996a836e854934c0c45e17cfa26b22a8a1bc8bb Author: Ryan Lortie Date: Sat Sep 17 18:07:39 2011 -0400 Port g_cond_new to use GSlice Now that nothing inside of GLib is using g_cond_new(), we can implement it using GSlice. Since the implementations for POSIX and Windows are now the same, move it to gthread.c. glib/gthread-posix.c | 23 ----------------------- glib/gthread-win32.c | 22 ---------------------- glib/gthread.c | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 45 deletions(-) commit f1d34d0187cd658a95fba64473942b55d27bfcea Author: Ryan Lortie Date: Sat Sep 17 18:05:24 2011 -0400 libglib: stop using g_cond_new in some places Port a couple of low-level users of g_cond_new to use G_COND_INIT or g_cond_init() as appropriate. glib/gbitlock.c | 13 ++++++------- glib/gthread.c | 13 +++++-------- 2 files changed, 11 insertions(+), 15 deletions(-) commit 22b3e26034017f19c81a3f2bfa7e9c8ec5a690a8 Author: Ryan Lortie Date: Sat Sep 17 17:59:03 2011 -0400 Port g_mutex_new to use GSlice Now that nothing inside of GLib is using g_mutex_new, we can implement it using GSlice. Since the implementations for POSIX and Windows are now the same, move it to gthread.c. glib/gthread-posix.c | 21 --------------------- glib/gthread-win32.c | 21 --------------------- glib/gthread.c | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 42 deletions(-) commit cf26a6fc32e32bd71d4652245257477ae34d9a15 Author: Ryan Lortie Date: Sat Sep 17 18:33:25 2011 -0400 G_LOCK: port from GStaticMutex to GMutex GCancellable made use of the undocumented G_LOCK_NAME macro in an invalid way. Fix that up while we're at it. gio/gcancellable.c | 6 ++---- glib/gthread.h | 16 ++++++++-------- 2 files changed, 10 insertions(+), 12 deletions(-) commit 2c7388c19a3f7895ee49a5bc7219822a50b5b514 Author: Ryan Lortie Date: Sat Sep 17 17:56:33 2011 -0400 libglib: stop using g_mutex_new Use G_MUTEX_INIT or g_mutex_init() as appropriate. glib/gasyncqueue.c | 46 +++++++++++++++++------------------ glib/gmem.c | 17 ++++++------- glib/gmessages.c | 53 ++++++++++++++++++++-------------------- glib/gslice.c | 68 +++++++++++++++++++++++++--------------------------- glib/gthread.c | 29 ++++++++++------------ 5 files changed, 101 insertions(+), 112 deletions(-) commit f35362f3ae4a4bcc6c0d03b129758b2989e8cd79 Author: Ryan Lortie Date: Sat Sep 17 17:47:46 2011 -0400 libglib: drop use of GStaticMutex Use GMutex directly instead. glib/gbitlock.c | 12 ++++++------ glib/gmain.c | 19 +++++++++---------- 2 files changed, 15 insertions(+), 16 deletions(-) commit 80730bc75ca8b0ad71f1372c9652bee39391244e Author: Ryan Lortie Date: Fri Sep 16 18:05:23 2011 -0400 Rework GMutex and GCond APIs Do a substantial rework of the GMutex and GCond APIs. - remove all of the macro indirection hackery which is no longer needed since we dropped support for switchable thread implementations - expose the structure types and add G_MUTEX_INIT and G_COND_INIT static initialiser macros - add g_mutex_init() and g_mutex_clear() for use when embedding GMutex into another structure type and do the same for GCond as well - avoid infinite recursion hazards by ensuring that neither GCond or GMutex ever calls back into any other part of GLib - substantially rework the Windows implementation of GCond and GMutex to use the SRWLock and CONDITION_VARIABLE APIs present on Windows 2008/Vista and later, emulating these APIs on XP glib/glib.symbols | 16 ++ glib/gthread-posix.c | 363 +++++++++++++++++------- glib/gthread-win32.c | 759 ++++++++++++++++++++++++++++++++++++++------------ glib/gthread.h | 96 ++++--- glib/gutils.c | 3 + 5 files changed, 907 insertions(+), 330 deletions(-) commit c6f84faa17227da437eeceb58ce79334ffdfdb57 Author: Matthias Clasen Date: Wed Sep 21 15:46:24 2011 -0400 Forgotten part of an earlier mismerge This is making gmappedfile.c identical to the glib-2-30 branch again. glib/gmappedfile.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 43254e8c4c60f102be1212a1919953ad7ddf31db Author: Ryan Lortie Date: Wed Sep 21 15:27:37 2011 -0400 gmessage.c: mark a private function static glib/gmessages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aabdb7e190fc4db595484e05e40315985c6c4645 Author: David Zeuthen Date: Wed Sep 21 08:16:43 2011 -0400 GDBusObject{Proxy,Skeleton}: Prefix properties with g- to avoid collisions Otherwise we might collide with an interface called Connection. https://bugzilla.gnome.org/show_bug.cgi?id=659699 This is for the same reason that GDBusProxy has its properties prefixed with g-. Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen.py | 4 ++-- gio/gdbusobjectmanagerclient.c | 4 ++-- gio/gdbusobjectmanagerserver.c | 2 +- gio/gdbusobjectproxy.c | 28 ++++++++++++++-------------- gio/gdbusobjectskeleton.c | 16 ++++++++-------- 5 files changed, 27 insertions(+), 27 deletions(-) commit 1f5262d2c96f888c21bd113d43528cf3964f163d Author: Ryan Lortie Date: Tue Sep 20 10:07:35 2011 -0400 gunixmounts: exempt entries with "none" mountpoint We ignore entries with mountpoint of "swap" and "ignore". Add "none" to that list, since Debian uses it. Probably we should move to using our already-existing internal list of things to ignore, but this patch is more minimally intrusive for now. https://bugzilla.gnome.org/show_bug.cgi?id=654563 gio/gunixmounts.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6b39085016110dc92d0b17d605ee80b0a0e80eb6 Author: Xavier Claessens Date: Wed Sep 21 13:41:10 2011 +0200 gdbus-codegen: prepend arg_ to method/signal arg names This is to avoid shadow declaration warning in the case an arg name is "time" for example. https://bugzilla.gnome.org/show_bug.cgi?id=659690 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen.py | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 933ad70c32f146d324b8fc1e9b79711e83472909 Author: David Zeuthen Date: Wed Sep 21 07:12:32 2011 -0400 gdbus-codegen: Clarify how naming and Ugly_Case handling works Basically, move some paragraphs around. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 92 +++++++++++++++++----------------- 1 file changed, 47 insertions(+), 45 deletions(-) commit 30537b84de1b41e1813d2624968bb99271d45763 Author: David Zeuthen Date: Wed Sep 21 06:57:29 2011 -0400 gdbus-codegen: Update man page to reflect how --annotate actually works Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit 70515ffe928fa4dc2cadeddfa68a67a7cd727cfe Author: Xavier Claessens Date: Tue Sep 20 23:46:23 2011 +0200 gdbus-codegen: Fix build errors in generated code https://bugzilla.gnome.org/show_bug.cgi?id=659646 gio/gdbus-2.0/codegen/codegen.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 447eb0395623112ebf583988f7aa95b4a2be7c2f Author: Sweta Kothari Date: Wed Sep 21 12:20:30 2011 +0530 Removed the glib.glib-2-30.gu.po file that was wrongly committed po/glib.glib-2-30.gu.po | 3739 ----------------------------------------------- 1 file changed, 3739 deletions(-) commit 45dd6801cf368997b707a9cb0af5b6bba432dd49 Author: Sweta Kothari Date: Wed Sep 21 12:17:29 2011 +0530 Updated Gujarati Translations po/gu.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 06560292c665b463ce948eb36e23acf11edfbfda Author: Sweta Kothari Date: Wed Sep 21 12:14:29 2011 +0530 Updated Gujarati Translations po/gu.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a7057f5c6ee78c8822090bbcc957a5db670fb2fb Author: Sweta Kothari Date: Wed Sep 21 12:11:20 2011 +0530 Updated Gujarati Translations po/gu.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0c1dba064383154759d497568f8f3f95835fd6ea Author: Sweta Kothari Date: Wed Sep 21 12:07:00 2011 +0530 Updated Gujarati Translations po/gu.po | 355 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 166 insertions(+), 189 deletions(-) commit 855e13cc0acadd9d87baf55a2dd9a50e721ec6b1 Author: Dan Winship Date: Tue Sep 20 16:58:34 2011 -0400 GThreadedResolver: don't overwrite errors If a dns op was cancelled and then the abandoned op failed, it would try to overwrite the original error. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=658769 gio/gthreadedresolver.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 88b3f6b866749d273247ccccf6dbfd6ddb6b647d Author: Cosimo Cecchi Date: Sat Sep 10 00:35:09 2011 -0400 timeval: add introspection annotations to g_time_val_from_iso8601() The GTimeVal argument is missing an (out) annotations. https://bugzilla.gnome.org/show_bug.cgi?id=658692 glib/gtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0db338bdb0e9a0216681b6db7286ffb0f1711db1 Author: Antoine Jacoutot Date: Tue Sep 20 01:18:45 2011 +0200 gunixmounts: Fix compilation on BSD Commit afa82ae805f9c8bb875a3f863a7b4669953f159f introduced a compilation regression on BSD systems that use the sysctl(3) interface; we need to declare the buffer len in _g_get_unix_mount_points() BZ #659528 gio/gunixmounts.c | 1 + 1 file changed, 1 insertion(+) commit 11217edaaf3386c8504a6ed6f8f0fb69092ddfca Author: Matej Urbančič Date: Tue Sep 20 15:40:29 2011 +0200 Updated Slovenian translation po/sl.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 9365bc57611f21621c4ef88e302ae07611c2c6d3 Author: Matej Urbančič Date: Tue Sep 20 15:35:31 2011 +0200 Updated Slovenian translation po/sl.po | 1897 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 911 insertions(+), 986 deletions(-) commit f8dda0955ecddd02a4e300fba2714ea8cfa093ae Author: Sweta Kothari Date: Tue Sep 20 13:31:07 2011 +0530 Updated Gujarati Translations po/glib.glib-2-30.gu.po | 3739 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3739 insertions(+) commit 88f2b32eb00311da9799d2a71a55dedd92ff60bb Author: David Zeuthen Date: Mon Sep 19 17:31:21 2011 -0400 GDBusObjectManagerServer: Add test for export_uniquely() method Signed-off-by: David Zeuthen gio/tests/gdbus-test-codegen.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit b1c08ca41981da9ad62841b1a0cb7095ccc111f4 Author: Matthew Barnes Date: Mon Sep 19 16:45:05 2011 -0400 GDBusObjectManagerServer: Use correct object path in export_uniquely() method In registration_data_export_interface(), the object_path is obtained using: object_path = g_dbus_object_get_object_path (G_DBUS_OBJECT (data->object)); But when exporting an object uniquely, the object_path is not assigned to the GDBusObject until after all the interfaces are exported. Therefore, registration_data_export_interface() is trying to export the interface on the non-unique object path, which can lead to run-time errors if an object already exists on that path. Instead, registration_data_export_interface() should be passed the object_path explicitly, as is done in g_dbus_object_manager_server_export_unlocked(). Signed-off-by: David Zeuthen gio/gdbusobjectmanagerserver.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit fe27bf003764e453cd15cab67e8a99fcda84db1d Author: Philip Withnall Date: Mon Sep 19 10:13:52 2011 +0200 Don't close stream twice when splicing Ensure that the output/target stream in a g_output_stream_splice_async() operation is marked as closed if G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET is passed to g_output_stream_splice_async(). This removes the possibility of local FDs being closed twice because the stream's not marked as closed. This is implemented by calling g_output_stream_close() from within g_output_stream_splice_async() instead of calling the stream's close_fn() directly. Closes: bgo#659324 gio/goutputstream.c | 88 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 53 insertions(+), 35 deletions(-) commit 808035666ac2f730b8819232f86cd3fac9de0d44 Author: Ryan Lortie Date: Sun Sep 18 22:20:08 2011 -0400 gbitlock: #include "gslice.h" This is needed if we're doing emulated futexes. glib/gbitlock.c | 1 + 1 file changed, 1 insertion(+) commit bb1ada779161b0c552573c33a10cd2251d5cdea0 Author: Matthias Clasen Date: Sun Sep 18 22:14:19 2011 -0400 Fix a merge accident glib/tests/mappedfile.c | 1 + 1 file changed, 1 insertion(+) commit 8b03fed0cfdd07b367d4deb66980980d44f115ce Author: Ryan Lortie Date: Sun Sep 18 14:22:07 2011 -0400 Remove unused header gdebug.h This was only included from gmessages.c. Nuke the unused parts and merge the rest into gmessages.c. glib/Makefile.am | 1 - glib/gdebug.h | 59 ------------------------------------ glib/gmessages.c | 89 ++++++++++++++++++++++++++++-------------------------- 3 files changed, 47 insertions(+), 102 deletions(-) commit 37c740d50946e59c5a5767e4b7aee5f34fcab268 Author: Ryan Lortie Date: Sun Sep 18 18:59:20 2011 -0400 Don't #include from gmem.h It looks like this was done just to help people port from gmem to gslice, but nothing in this header actually requires gslice.h to be included. glib/garray.c | 1 + glib/gbuffer.c | 2 +- glib/gcache.c | 1 + glib/gchecksum.c | 1 + glib/gdataset.c | 1 + glib/gdatetime.c | 1 + glib/gerror.c | 1 + glib/ghash.c | 1 + glib/ghmac.c | 1 + glib/ghook.c | 1 + glib/glist.c | 1 + glib/gmarkup.c | 1 + glib/gmem.c | 1 + glib/gmem.h | 1 - glib/gnode.c | 2 ++ glib/gqueue.c | 1 + glib/gsequence.c | 1 + glib/gslist.c | 2 ++ glib/gtestutils.c | 1 + glib/gtimezone.c | 1 + glib/gtree.c | 1 + glib/gvariant-parser.c | 1 + glib/gvariant.c | 1 + glib/gvarianttypeinfo.c | 2 +- 24 files changed, 25 insertions(+), 3 deletions(-) commit e88a12caa0a4852a505911b12fe7ed93cd0068dc Author: Ryan Lortie Date: Sun Sep 18 20:36:30 2011 -0400 Move deprecated GCompletion to deprecated/ Keep the docs for now, though. We'll remove them after a few more cycles. https://bugzilla.gnome.org/show_bug.cgi?id=659427 glib/Makefile.am | 4 +- glib/deprecated/gcompletion.c | 489 ++++++++++++++++++++++++++++++++++++++++ glib/deprecated/gcompletion.h | 77 +++++++ glib/gcompletion.c | 491 ----------------------------------------- glib/gcompletion.h | 81 ------- glib/glib.h | 2 +- 6 files changed, 569 insertions(+), 575 deletions(-) commit c3fc0c285f001b3463eda4a63654d645594df08b Author: Ryan Lortie Date: Sun Sep 18 20:31:09 2011 -0400 Move deprecated GRel to deprecated/ Keep the docs for now, though. We'll remove them after a few more cycles. https://bugzilla.gnome.org/show_bug.cgi?id=659427 glib/Makefile.am | 8 +- glib/deprecated/grel.c | 674 +++++++++++++++++++++++++++++++++++++++++++++++ glib/deprecated/grel.h | 97 +++++++ glib/glib.h | 2 +- glib/grel.c | 675 ------------------------------------------------ glib/grel.h | 101 -------- 6 files changed, 776 insertions(+), 781 deletions(-) commit a2ea02d01ee7b0fe8f2be7f9a34decb17ec8193b Author: Ryan Lortie Date: Sun Sep 18 20:17:59 2011 -0400 Move GAllocator/GMemChunk to separate file Create a deprecated/ directory that we can start moving ancient chunks of code to. Start with GAllocator, GMemChunk and related APIs. Also drop all mention of them from the docs. https://bugzilla.gnome.org/show_bug.cgi?id=659427 docs/reference/glib/glib-docs.sgml | 2 - docs/reference/glib/glib-sections.txt | 56 ----- glib/Makefile.am | 7 + glib/deprecated/gallocator.c | 99 ++++++++ glib/deprecated/gallocator.h | 72 ++++++ glib/glib.h | 4 + glib/glist.c | 33 --- glib/glist.h | 5 - glib/gmem.c | 442 --------------------------------- glib/gmem.h | 44 ---- glib/gnode.c | 31 --- glib/gnode.h | 5 - glib/gslist.c | 32 --- glib/gslist.h | 5 - 14 files changed, 182 insertions(+), 655 deletions(-) commit 45d2ba8683b730d556bfbf71341fe2c3ff9248eb Author: Мирослав Николић Date: Mon Sep 19 03:07:41 2011 +0200 Updated Serbian translation po/sr.po | 7956 ++++++++++++++++++++++---------------------------------- po/sr@latin.po | 7956 ++++++++++++++++++++++---------------------------------- 2 files changed, 6294 insertions(+), 9618 deletions(-) commit 1e82f73f8b26393403e126916e9348e5dc8169d9 Author: Matthias Clasen Date: Sun Sep 18 14:50:31 2011 -0400 Fix g_ascii_formatd tests The test was not changing to the locales it was looping over. glib/tests/strfuncs.c | 1 + 1 file changed, 1 insertion(+) commit eb45a590fa1c41d5c04cae98313d82146d03051a Author: Dan Winship Date: Sun Sep 18 10:49:58 2011 -0400 gsocks5proxy, gsocks4aproxy: simplify some error messages There's no need to include the exact max length in the error messages, and it makes it look like the strings need to use ngettext() if you do. https://bugzilla.gnome.org/show_bug.cgi?id=658206 gio/gsocks4aproxy.c | 9 ++++----- gio/gsocks5proxy.c | 12 +++++------- 2 files changed, 9 insertions(+), 12 deletions(-) commit feafdad228bb35264b2b3a169ff1785461275289 Author: Alexander Shopov Date: Sun Sep 18 08:04:58 2011 +0300 Updated Bulgarian translation po/bg.po | 339 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 162 insertions(+), 177 deletions(-) commit e02b062635a5b41f997a169eb8b48de902116d5a Author: Matthias Clasen Date: Sat Sep 17 22:44:28 2011 -0400 Use xlocale functions where available Implement g_ascii_strto{d,ll,ull} and g_ascii_formatd using xlocale functions where available. This is slightly faster and a lot less icky than our homegrown code. https://bugzilla.gnome.org/show_bug.cgi?id=640293 configure.ac | 2 ++ glib/gstrfuncs.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 56 insertions(+), 7 deletions(-) commit 7b9571e4dd8ff9f8a123542c56c146d365368f98 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 file changed, 11 insertions(+), 14 deletions(-) commit f18eab2ac75ee457a4ff76a30bc4b727887be8da 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. Conflicts: glib/tests/mappedfile.c https://bugzilla.gnome.org/show_bug.cgi?id=659212 docs/reference/glib/tmpl/fileutils.sgml | 4 ++-- glib/gmappedfile.c | 13 +++++++++---- glib/tests/mappedfile.c | 12 ++++++++++++ 3 files changed, 23 insertions(+), 6 deletions(-) commit b83e0a39fbab49430767484a3af1a35dd21404e0 Author: Ryan Lortie Date: Sat Sep 17 19:11:10 2011 -0400 glib-compile-schemas: remove --uninstall option This option does nothing as has been documented as "will be removed soon" for the vast majority of its life. gio/glib-compile-schemas.c | 2 -- 1 file changed, 2 deletions(-) commit 2c9c72dc8cf180ae3a819f18eaf8cc140b49f4cd Author: Ryan Lortie Date: Sat Sep 17 17:32:42 2011 -0400 GVariant: avoid 'ARRAY_INFO' as function name Turns out that ARRAY_INFO isn't such a great name for a function since Windows appears to declare this symbol these days. Use a different name. glib/gvarianttypeinfo.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit f20294614616a4ae4fdfb34f1360354e6b2fbf27 Author: Ryan Lortie Date: Sat Sep 17 17:32:18 2011 -0400 gmain: fix some win32 build errors glib/gmain.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 928ce3e5efad6befb9f8d3ad97da576ceb6be9ca Author: Aron Xu Date: Sat Sep 17 16:18:03 2011 +0000 Update Simplified Chinese translation. po/zh_CN.po | 215 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 105 insertions(+), 110 deletions(-) commit a0eefd65bc66b4520ba91008ef39f5b67c493efc Author: Мирослав Николић Date: Sat Sep 17 00:03:56 2011 +0200 Updated Serbian translation po/sr.po | 7958 +++++++++++++++++++++++++++++++++---------------------- po/sr@latin.po | 7963 ++++++++++++++++++++++++++++++++++---------------------- 2 files changed, 9624 insertions(+), 6297 deletions(-) commit e2ae75ad4be9107ee172c644c096e5949598c4a8 Author: Ryan Lortie Date: Fri Sep 16 17:50:13 2011 -0400 gatomic: use pthread mutexes instead of GMutex GStaticMutex makes use of atomic operations to initialise itself. We were using GStaticMutex from the emulated case of gatomic. Use pthreads directly to avoid unbounded recursion in this case. glib/gatomic.c | 85 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 51 insertions(+), 34 deletions(-) commit 48494dd55244fc95357a88fc1f01944d950b7b7b 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 c6c2c109467f61b324f9261c4c0b7eb27214360c 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 file changed, 1 insertion(+), 1 deletion(-) commit e34e8a25a04f31e7436af297fced96bbfc4b4f79 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 file changed, 2 insertions(+), 2 deletions(-) commit 698eeb3ef6992d551b310bba474d8a38c22ea9b7 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 file changed, 7 insertions(+), 6 deletions(-) commit 20497f7af908697f958e43c06e38eca256bb58bf 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(+) commit c180ea13ae29db3e06411a149b9487328aea29e0 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 file changed, 60 insertions(+), 11 deletions(-) commit 8097e2de85e03667c2b8646326c007b213b55870 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 a8f75f21b4b2264b385022496c597573ecb709da 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 file changed, 25 insertions(+), 11 deletions(-) commit 05ef173466e32d8b3d212803e4a72239913a362d Author: Ryan Lortie Date: Fri Sep 16 11:06:50 2011 -0400 Disable two GDBus tests These tests try to use GMainContext across fork() which now fails a lot more violently than it used to. See https://bugzilla.gnome.org/show_bug.cgi?id=658999 for information. gio/tests/gdbus-exit-on-close.c | 3 ++- gio/tests/gdbus-non-socket.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 0bb01a150f131b409218e9710b0f75d7d1ec09bc Author: Murray Cumming Date: Fri Sep 16 16:09:56 2011 +0200 Revert "Add g_memory_input_stream_new_from_data_full/add_data_full() apis" I'm not sure that this API is right now that I try to use it. This reverts commit 42738469d15585791bd5613356c47bcc2c413c20. gio/gmemoryinputstream.c | 70 ++-------------------------------------------- gio/gmemoryinputstream.h | 29 ++++++------------- 2 files changed, 11 insertions(+), 88 deletions(-) commit 42738469d15585791bd5613356c47bcc2c413c20 Author: Tristan Van Berkom Date: Fri Sep 16 13:46:01 2011 +0200 Add g_memory_input_stream_new_from_data_full/add_data_full() apis Add an extra state pointer and an extra GDestroyNotify function to the 'Chunk' definition... allowing bindings to attach some extra state to memory chunks (to get memory management correctly from language bindings). Bug #589887 gio/gmemoryinputstream.c | 70 ++++++++++++++++++++++++++++++++++++++++++++-- gio/gmemoryinputstream.h | 29 +++++++++++++------ 2 files changed, 88 insertions(+), 11 deletions(-) commit b7051e8da82d955ca8f431c65079294747de0e1c Author: Behdad Esfahbod Date: Thu Sep 15 16:51:22 2011 -0400 Fix docs glib/gunidecomp.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 43007aa2d2f0d1fe3e63f7c61abb927dccaf799b Author: Ryan Lortie Date: Tue Sep 13 21:57:30 2011 -0400 GApplication: don't create a mainloop Just iterate the main context directly. Also: avoid calling the virtual functions for mainloops. https://bugzilla.gnome.org/show_bug.cgi?id=658805 gio/gapplication.c | 45 ++++++--------------------------------------- 1 file changed, 6 insertions(+), 39 deletions(-) commit 39294664a679dbfa89d0d23ebfea2a44c1dee42b Author: Ryan Lortie Date: Wed Sep 14 11:06:02 2011 -0400 GApplication test: fix testcase to avoid fork() The GApplication test case tried to fork() while using GMainLoop, causing problems. Avoid doing that by splitting the child process into a separate program and spawning it in the usual way. https://bugzilla.gnome.org/show_bug.cgi?id=658999 gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 + gio/tests/basic-application.c | 81 +++++++++++++++++++++ gio/tests/gapplication.c | 160 +++++++---------------------------------- 4 files changed, 111 insertions(+), 134 deletions(-) commit 01ed78d525cf2f8769022e27cc2573ec7ba123b3 Author: Ryan Lortie Date: Tue Sep 13 19:56:22 2011 -0400 mainloop: detect fork() and abort Abort if the child process returns to the mainloop after a fork(). https://bugzilla.gnome.org/show_bug.cgi?id=658999 glib/gmain.c | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) commit 01f9479438694d0e1f4ddd738ddf046f179cbd0e Author: Ryan Lortie Date: Wed Sep 14 14:00:08 2011 -0400 GApplication: add chain-up checks Make sure ::startup and ::shutdown are being chained up. gio/gapplication.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 15b1c1bf4f782189cf881a44b9116460a066c5da Author: Brian Koning Date: Wed Sep 14 13:42:35 2011 -0400 GApplication: introduce ::shutdown Introduce ::shutdown as a dual to ::startup. https://bugzilla.gnome.org/show_bug.cgi?id=643934 gio/gapplication.c | 22 ++++++++++++++++++++++ gio/gapplication.h | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) commit 8d52bdfd97843ec0ad4a8086423cdf7c63afb467 Author: Yuri Myasoedov Date: Wed Sep 14 21:26:49 2011 +0400 Updated Russian translation po/ru.po | 1224 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 577 insertions(+), 647 deletions(-) commit 659b287a92d951d7121584587cb7aefa28e88416 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 file changed, 1 insertion(+), 1 deletion(-) commit 53e52d9f72e8c367b177852d1bbc40235bab6d2d Author: Og B. Maciel Date: Wed Sep 14 09:14:02 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 192 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 99 insertions(+), 93 deletions(-) commit 8152e3f54e8f7fd309d19ae35dd8f036067db754 Author: Richard Hughes Date: Tue Sep 13 16:38:40 2011 +0100 Fix the description for g_app_info_get_icon() It can return NULL when there is no default icon. gio/gappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2dd32d24f34ed12da74b9714feb3dfadd8aec021 Author: I Felix Date: Tue Sep 13 15:40:27 2011 +0530 Updated Tamil Translations po/ta.po | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit d1bcb0032d52709e5b208f76c6303cd5040cd8a1 Author: I Felix Date: Tue Sep 13 15:34:22 2011 +0530 Updated Tamil Translations po/ta.po | 909 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 535 insertions(+), 374 deletions(-) commit 1b033919845cef366842373da9f1cfb56f522d01 Merge: 2d44a45 92652ac Author: Ryan Lortie Date: Mon Sep 12 08:12:57 2011 -0400 Merge remote-tracking branch 'gvdb/master' commit 92652ac79177bcdced5f01122debb50eabdb3e2c Author: Ryan Lortie Date: Mon Sep 12 08:06:13 2011 -0400 hashing: always use signed chars Our hashing of non-ASCII strings was undefined due to the fact that 'char' is signed on some platforms, unsigned on others. Always use a signed char. Discovered by Alexander Larsson. https://bugzilla.gnome.org/show_bug.cgi?id=658806 gvdb-builder.c | 2 +- gvdb-reader.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2d44a45b6ba2cf8de2ba1468013cad501e9858d8 Author: Matthias Clasen Date: Mon Sep 12 01:56:45 2011 -0400 GDesktopAppInfo: Improve docs gio/gdesktopappinfo.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 05342d0a930054647989c7d9bc5d248eb566f99d Author: Matthias Clasen Date: Mon Sep 12 01:49:01 2011 -0400 Fix formatting in a doc comment gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73c427fab9c61f523c57dff2107c959cb5d86751 Author: Matthias Clasen Date: Mon Sep 12 01:46:48 2011 -0400 Expand mimeapps test This adds a test involving both defaults.list and mimeapps.list. gio/tests/Makefile.am | 2 +- gio/tests/mimeapps.c | 359 ++++++++++++++++++++++++++++++++++++------------- 2 files changed, 267 insertions(+), 94 deletions(-) commit 2ba5a79a706d472a3040ac2956ae65a21d56b71a Author: Matthias Clasen Date: Sun Sep 11 23:39:29 2011 -0400 Also check api results In addition to looking at mimeapps.list, check that the default and recommended apps returned by g_app_info api are as expected. gio/tests/mimeapps.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit 75c989b9ab7e5f4b55ec21c82184904557d86759 Author: Matthias Clasen Date: Sun Sep 11 23:28:06 2011 -0400 Revert "Fix default setting generation in g_desktop_app_info_set_as_last_used" This reverts commit a13f5ca4da05c3a7edaed9a70c508f63772897cb. gio/gdesktopappinfo.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit 938e57dd4b403c3fe494c8c63b50abfb3673c6f6 Author: Matthias Clasen Date: Sun Sep 11 23:25:20 2011 -0400 Adapt tests to string changes gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit cab5b8abd3407bc9a7a32a6fd9b8873799507c74 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 file changed, 5 insertions(+), 4 deletions(-) commit 61b51555ec83413397b85916bd9e9e1eb61b2cab Author: Matthias Clasen Date: Sun Sep 11 13:08:14 2011 -0400 Cosmetics Make configure --help output a little more regular, by using AC_HELP_STRING() more consistently. configure.ac | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit 5b8623125133c16ebd51856a5da2db9e439c3527 Author: Jorge González Date: Sun Sep 11 11:05:50 2011 +0200 Updated Spanish translation po/es.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0db179e75e332de3bdecb1309ffe8018ab567484 Author: Matthias Clasen Date: Sat Sep 10 16:09:39 2011 -0400 GKeyFile: Unify error messsages a bit This marks a few forgotten error messages for translation, and makes some other strings more uniform. String change! https://bugzilla.gnome.org/show_bug.cgi?id=658715 glib/gkeyfile.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit ec3653be00725556625072e39e032e8b9e7c7e34 Author: Matthias Clasen Date: Sat Sep 10 10:36:00 2011 -0400 glib-compile-schemas: Pedantic string fixes Replace 'can not' by 'cannot' in several places. String change! https://bugzilla.gnome.org/show_bug.cgi?id=658207 gio/glib-compile-schemas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1e04b2986cadc6fbb8c966eb7bffa73ff848316 Author: Gabor Kelemen Date: Sat Sep 10 14:39:43 2011 +0200 Updated Hungarian translation po/hu.po | 173 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 87 insertions(+), 86 deletions(-) commit a13f5ca4da05c3a7edaed9a70c508f63772897cb 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 file changed, 14 insertions(+), 3 deletions(-) commit 011c0b488f0b2461e079a58cc4eacb4b92f23990 Author: Matthias Clasen Date: Fri Sep 9 23:43:02 2011 -0400 Add some tests for mimeapps.list handling These tests directly look at mimeapps.list to verify that we make the expected changes to the database. gio/tests/Makefile.am | 7 ++ gio/tests/mimeapps.c | 212 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 219 insertions(+) commit 66a1dfc84facad7e233b8cfeb4772bb243ea5923 Author: Matthias Clasen Date: Fri Sep 9 23:42:47 2011 -0400 Avoid some compiler warnings gio/tests/socket-client.c | 3 +++ 1 file changed, 3 insertions(+) commit 644ab6a7d3f3462b782258e5bb8bac35d46064a0 Author: Ryan Lortie Date: Fri Sep 9 22:33:33 2011 -0400 Nix inaccurately named g_main_context_init_pipe() ...and fold its contents into g_main_context_new() glib/gmain.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit 1c8c408c51c85230356cc95c06f2e1bd3f376624 Author: Ryan Lortie Date: Fri Sep 9 21:40:05 2011 -0400 gmain: get rid of poll_waiting This variable, which is the cause of much grief, exists for two reasons: - ensuring the the wakeup pipe doesn't fill up - preventing the first poll() after adding a source from waking up immediately The first point is no longer an issue with GWakeup. The second point is addressed by using different logic: we only signal a wakeup in the case that the context is currently acquired by a thread that is not us. As an added bonus, we can now implement g_main_context_wakeup() without taking a lock. https://bugzilla.gnome.org/show_bug.cgi?id=583511 https://bugzilla.gnome.org/show_bug.cgi?id=320888 glib/gmain.c | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) commit e15d5313af8bc1fd4f68e7ddc59cd73a3a2c9502 Author: Emmanuele Bassi Date: Tue Oct 5 14:01:05 2010 +0100 Add macros for GSourceFunc return values The boolean values to be returned by a GSourceFunc are always ambiguous, and even in case of experienced developers then can lead to confusion. The Perl bindings for GLib have two simple constants, mapping to TRUE and FALSE, that make the return values less confusing: G_SOURCE_CONTINUE and G_SOURCE_REMOVE respectively. https://bugzilla.gnome.org/show_bug.cgi?id=631413 docs/reference/glib/glib-sections.txt | 4 ++++ glib/gmain.h | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) commit e5653c0050e232e1834a31c85672319873f7612b Author: Matthias Clasen Date: Fri Sep 9 20:35:01 2011 -0400 Keep up with the standards More choices, always better. gio/gdesktopappinfo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 066c7b81211fe203d2f7a4c7556c05bd53293097 Author: Ryan Lortie Date: Fri Sep 9 19:54:06 2011 -0400 GRegex: fix thread-unsafe initialiser code glib/gregex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f1494c156dcbbe125807ef2a1b5ab0ca4b2acc66 Author: Ryan Lortie Date: Fri Sep 9 19:48:14 2011 -0400 Clean up l10n threading stuff Remove the explicit thread initialisation functions for g_get_charset(), g_get_filename_charsets() and g_get_language_names(). Add a lock around one remaining case of access to libcharset (the other 2 cases already have the lock). Do a proper g_once_init_enter() style initialisation for the GLib gettext functions. https://bugzilla.gnome.org/show_bug.cgi?id=658683 glib/gconvert.c | 10 ---------- glib/gthread.c | 4 ---- glib/gthreadprivate.h | 2 -- glib/gutf8.c | 2 ++ glib/gutils.c | 19 ++++++------------- 5 files changed, 8 insertions(+), 29 deletions(-) commit bceaf3a7194ecd5303b6cbc9797586ba4849b1bc Author: Ryan Lortie Date: Fri Sep 9 16:05:55 2011 -0400 glib-private: #include This is really our only choice if we don't want to annoy the single-include checking when we use this from inside of gio. glib/glib-private.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit e27b5a2ea7f117028fb5b645033085866a804fb7 Author: Ryan Lortie Date: Fri Sep 9 15:47:01 2011 -0400 Drop long-removed atomic thread init from header glib/gthreadprivate.h | 1 - 1 file changed, 1 deletion(-) commit 9e1d4aa257843849872abdf78326f5a29877c322 Author: Ryan Lortie Date: Fri Sep 9 15:21:07 2011 -0400 Remove now-useless glibprivate.h The only symbol in glibprivate.h was moved to glib-private.h. glib/Makefile.am | 1 - glib/glibprivate.h | 6 ------ 2 files changed, 7 deletions(-) commit d86386159d3fe1e592d813c6d8d6e293c2599231 Author: Ryan Lortie Date: Fri Sep 9 14:30:25 2011 -0400 glib worker: move to glib-private framework Remove the private glib_get_worker_context() symbol and move it over to using the glib-private stuff like GWakeup is doing. https://bugzilla.gnome.org/show_bug.cgi?id=657992 glib/glib-private.c | 7 ++++--- glib/glib-private.h | 24 ++++++++++++++---------- glib/glib.symbols | 1 - glib/gmain.c | 6 +++--- 4 files changed, 21 insertions(+), 17 deletions(-) commit 3022ef47313648e10fd415ef132d746ee2db88e1 Author: Ryan Lortie Date: Fri Sep 9 14:30:01 2011 -0400 gwakeup.h: add missing header for GPollFD glib/gwakeup.h | 2 ++ 1 file changed, 2 insertions(+) commit 9bf59d4a14b3fc4bb62f10c3665e99f9d8788bdc Author: Colin Walters Date: Thu Sep 1 14:32:11 2011 -0400 Add glib__private__() API to share between glib,gio; port GWakeup to it Historically we've added random symbols to the public API with warnings that they're private; examples are: glib_gettext(), glib_pgettext() g_thread_functions_for_glib_use, g_thread_use_default_impl, etc. And we almost added "GWakeup" to public API just to share between glib and gio. This new glib__private__() API exports a hidden vtable, and adds a macro GLIB_PRIVATE_CALL() that makes it generally convenient to use. This adds an extremely tiny cost for the double indirection; but it has the benefit that we don't need to either: 1) compile the code into both glib and gio (like GWakeup), with the inefficiency that implies. 2) Export a "do not use this" symbol; the serious problem with this is that someone CAN use it pretty easily. Particularly if we document it. It's far, far harder to peek into a structure without a public header file. https://bugzilla.gnome.org/show_bug.cgi?id=657992 gio/Makefile.am | 1 - gio/gcancellable.c | 16 ++++++++-------- glib/Makefile.am | 2 ++ glib/glib-private.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ glib/glib-private.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/glib.symbols | 1 + 6 files changed, 104 insertions(+), 9 deletions(-) commit b891b3616fa1c2af542cd188c00e074295bad4fe Author: Ryan Lortie Date: Tue Aug 30 13:32:58 2011 -0400 GMainLoop: remove wall clock time cache Since GMainLoop is now purely monotonic, it really doesn't make sense to cache the wallclock time just for the sake of making a deprecated call more efficient. glib/gmain.c | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) commit 940a728fdabca90ce7f5769de97f12a81c264cc5 Author: Ryan Lortie Date: Wed Aug 31 23:02:03 2011 -0400 gtester: Remove SIGCHLD race workarounds With the GMainLoop changes, gtester should now be race-free. glib/gtester.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit ba7019e19e83ef46184e39e1d546ba08500dbfd7 Author: Ryan Lortie Date: Wed Aug 31 22:58:26 2011 -0400 Modify child and signal sources to use worker glib/gmain.c | 370 ++++++++++++++++++++++++---------------------------------- 1 file changed, 151 insertions(+), 219 deletions(-) commit 7eae486179e2799c369ed9ffcea663bf9161ce79 Author: Ryan Lortie Date: Wed Aug 31 22:07:02 2011 -0400 GMain: simplify logic for g_wakeup_acknowledge() Instead of messing around with context->poll_waiting, just look at the GPollFD to see if the GWakeup needs to be acknowledged. glib/gmain.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 87880dfa571926678bf671bce7ce5e56adcf07a2 Author: Ryan Lortie Date: Wed Aug 31 18:33:32 2011 -0400 GMainLoop: remove single-threaded case Since we now always have thread support in libglib, we can remove the buggy single-threaded codepath for GMainContext. glib/gmain.c | 207 ++++++++++--------------------------------------- glib/gthread.c | 1 - glib/gthreadprivate.h | 1 - 3 files changed, 43 insertions(+), 166 deletions(-) commit 1facd36d00fc5fc18fa9d690979f9e73c0f1d312 Author: Ryan Lortie Date: Wed Aug 31 18:20:24 2011 -0400 Add private glib_get_worker_context() API The first time this is called, this creates a GMainContext * and a thread to run it. Future calls return the same. There are a lot of places that we could use this in GLib. glib/Makefile.am | 1 + glib/glib.symbols | 1 + glib/glibprivate.h | 6 ++++++ glib/gmain.c | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+) commit b6a2f502f28b112d791c8834b4ff7e5c8aa0fcd5 Author: Ryan Lortie Date: Fri Sep 9 13:39:22 2011 -0400 GRand: Make sure to g_thread_init_glib() The last commit should g_thread_init_glib() before attempting to use GOnce. glib/grand.c | 2 ++ 1 file changed, 2 insertions(+) commit 71c72d5e13748c2a7e0fd52c5693240aed808238 Author: Ryan Lortie Date: Fri Sep 9 13:31:21 2011 -0400 GRand: remove setup from g_thread_init_glib Use g_once_init_enter instead. glib/grand.c | 17 ++++------------- glib/gthread.c | 1 - glib/gthreadprivate.h | 1 - 3 files changed, 4 insertions(+), 15 deletions(-) commit 413186a962973cff5dfbee66ef920016f4cb5c2d Author: Ryan Lortie Date: Fri Sep 9 13:20:40 2011 -0400 emufutex: remove init from g_thread_init_glib Use a GStaticMutex instead. glib/gbitlock.c | 19 ++++++------------- glib/gthread.c | 1 - glib/gthreadprivate.h | 1 - gthread/tests/1bit-mutex.c | 6 ++---- 4 files changed, 8 insertions(+), 19 deletions(-) commit 80109acef586a5a1d34f604414a36e7e18b0cede Author: Ryan Lortie Date: Fri Sep 9 13:15:17 2011 -0400 win32: remove version init from g_thread_init_glib Instead, make this use g_once_init_enter() in the usual way. glib/gthread.c | 3 --- glib/gthreadprivate.h | 4 ---- glib/gwin32.c | 33 ++++++++------------------------- 3 files changed, 8 insertions(+), 32 deletions(-) commit 6c0dda8265a547d89b4c546298d0a29519f68749 Author: Ryan Lortie Date: Wed Aug 31 18:07:55 2011 -0400 make g_thread_init_glib() idempotent glib/gthread.c | 7 +++++++ 1 file changed, 7 insertions(+) commit cfa1d0540e4aaf83641f3876a2589a1e8f2b1242 Author: Ryan Lortie Date: Wed Aug 31 18:00:03 2011 -0400 Move the GThread implementations to glib/ We can now get threads initialised from inside of libglib by calling g_thread_init_glib(). glib/Makefile.am | 10 +- glib/gthread-posix.c | 407 ++++++++++++++++++++++++++++++++++ glib/gthread-win32.c | 558 ++++++++++++++++++++++++++++++++++++++++++++++ glib/gthread.c | 4 +- glib/gthreadprivate.h | 1 + gthread/Makefile.am | 8 +- gthread/gthread-impl.c | 6 +- gthread/gthread-posix.c | 409 ---------------------------------- gthread/gthread-win32.c | 563 ----------------------------------------------- 9 files changed, 982 insertions(+), 984 deletions(-) commit 96e489680423f87428c74b1f6ec8a6b8a9c99645 Author: Ryan Lortie Date: Wed Aug 31 17:40:01 2011 -0400 invert gthread-impl includes configure.ac defined G_THREAD_SOURCE and gthread-impl would #include it. Instead, since we only have two thread implementations now, and since we always use the Windows one only on Windows, move the logic to the Makefile, predicated on 'if OS_WIN32'. Then have the chosen backend do the #include "gthread-impl.c" from there. Remove the G_THREAD_SOURCE define from configure.ac. configure.ac | 2 -- gthread/Makefile.am | 6 +++++- gthread/gthread-impl.c | 7 ------- gthread/gthread-posix.c | 5 +++++ gthread/gthread-win32.c | 3 +++ 5 files changed, 13 insertions(+), 10 deletions(-) commit fc6a9275a4c1e14edb0b9948672ec77af980bc23 Author: Ryan Lortie Date: Wed Aug 31 17:18:43 2011 -0400 win32 threads: assume TryEnterCriticalSection Remove the dynamic lookup for TryEnterCriticalSection, which has existed since Windows 2000. gthread/gthread-win32.c | 90 ++++------------------------------------------- 1 file changed, 7 insertions(+), 83 deletions(-) commit 7cf89847e26af7817827a47cc2f4857d1742f4d0 Author: Ryan Lortie Date: Wed Aug 31 17:02:21 2011 -0400 Stop using HAVE_G_THREAD_IMPL_INIT Just always call the init function. gthread/gthread-impl.c | 5 +---- gthread/gthread-posix.c | 3 --- gthread/gthread-win32.c | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) commit 46af418e05de82cfd6174575ef3f376aecfe8795 Author: Ryan Lortie Date: Wed Aug 31 16:30:04 2011 -0400 Move thread priority translation into the backends The translation of GLib priorities into the thread priorities of different operating systems belongs in the implementation -- not half-way in the front end. gthread/gthread-impl.c | 26 -------------------------- gthread/gthread-posix.c | 30 ++++++++++++++++++++++++++++-- gthread/gthread-win32.c | 32 +++++++++++++++++++++++--------- 3 files changed, 51 insertions(+), 37 deletions(-) commit a4777122c84bfa33f710dceccf9e05087b89a301 Author: Ryan Lortie Date: Wed Aug 31 16:46:32 2011 -0400 Remove useless macros from when we supported DCE These are non-ops now, and easily replaced. gthread/gthread-posix.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) commit 715f94e95147097d6caf86b0be230e52a64ed738 Author: Ryan Lortie Date: Wed Aug 31 16:41:24 2011 -0400 Remove support for DCE threads configure.ac | 25 +++------------- docs/reference/glib/building.sgml | 2 +- gthread/gthread-posix.c | 60 +++---------------------------------- 3 files changed, 9 insertions(+), 78 deletions(-) commit 7d885253fa72e0a529a5a262082e6347c30198ee Author: Ryan Lortie Date: Wed Aug 31 16:10:55 2011 -0400 Remove support for custom thread implementations gthread/gthread-impl.c | 64 ++++++++---------------------------------------- 1 file changed, 10 insertions(+), 54 deletions(-) commit cef0acb945271a85d1e2283af7785f3b3f93ac41 Author: Ryan Lortie Date: Wed Aug 31 16:03:22 2011 -0400 Remove the dead 'none' thread implementation gthread/Makefile.am | 1 - gthread/gthread-none.c | 37 ------------------------------------- 2 files changed, 38 deletions(-) commit 3f931412434083a69f3fb794f01d82a3de8224ee Author: Ryan Lortie Date: Wed Aug 31 16:01:09 2011 -0400 GThread: remove errorcheck mutex support This can only possibly work if we call g_thread_init(), which we are moving away from. glib/gthread.h | 13 --- gthread/gthread-impl.c | 228 ++---------------------------------------------- 2 files changed, 8 insertions(+), 233 deletions(-) commit 41cbb40dca659799f05567bca0477f630eeeda16 Author: Ryan Lortie Date: Wed Aug 31 15:53:36 2011 -0400 gthread: remove some unused forward declarations gthread/gthread-impl.c | 7 ------- 1 file changed, 7 deletions(-) commit e48573c402326a9428b032b0d33dd06644316990 Author: Ryan Lortie Date: Wed Aug 31 15:49:35 2011 -0400 Deprecated (undocumented) g_thread_gettime g_thread_gettime() is an undocumented public function pointer that points to a function that returns the monotonic time in nanoseconds. g_get_monotonic_time() does the same in microseconds, so it can be used instead. GLib had one internal user in GFileMonitor that only cared about millisecond accuracy; it has been ported to g_get_monotonic_time(). gio/gfilemonitor.c | 2 +- glib/gthread.c | 21 ++------------------- glib/gthread.h | 2 ++ gthread/gthread-impl.c | 2 -- gthread/gthread-none.c | 2 -- gthread/gthread-posix.c | 29 +---------------------------- gthread/gthread-win32.c | 16 ---------------- 7 files changed, 6 insertions(+), 68 deletions(-) commit 3534ff418c85481d245631abb06e89b8898790f4 Author: Ryan Lortie Date: Wed Aug 31 16:43:15 2011 -0400 Update building docs to mention mandatory threads The docs used to say thread support was optional -- it's mandatory now. docs/reference/glib/building.sgml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 5a30712dc7e4adc36b0e8fd82cf5ccec19bbbdc5 Author: Dan Winship Date: Wed Aug 31 14:33:33 2011 -0400 Remove !g_thread_supported() codepaths in gio In particular, remove the libasyncns import, which was only used by GUnixResolver, which is only used when threads are not available. Likewise remove GWin32Resolver, and the hacky broken non-threaded parts of GIOScheduler. https://bugzilla.gnome.org/show_bug.cgi?id=616754 configure.ac | 5 - gio/Makefile.am | 10 +- gio/gcancellable.c | 2 +- gio/gio.symbols | 6 - gio/gioscheduler.c | 60 +- gio/gresolver.c | 18 +- gio/gthreadedresolver.c | 8 +- gio/gunixresolver.c | 516 --------------- gio/gunixresolver.h | 53 -- gio/gwin32resolver.c | 483 -------------- gio/gwin32resolver.h | 49 -- gio/libasyncns/Makefile.am | 15 - gio/libasyncns/README | 7 - gio/libasyncns/asyncns.c | 1533 -------------------------------------------- gio/libasyncns/asyncns.h | 163 ----- gio/libasyncns/g-asyncns.h | 33 - gio/libasyncns/update.sh | 20 - gio/tests/resolver.c | 41 +- 18 files changed, 23 insertions(+), 2999 deletions(-) commit aa586f63543fd584b782dbc1f90bcfae2c96502e Author: Ryan Lortie Date: Wed Aug 31 14:30:11 2011 -0400 Revert "GIOSchedulerJob: Improve struct packing" This reverts commit a2094d5e564433ed3a4398afeacce80519bbda44. https://bugzilla.gnome.org/show_bug.cgi?id=616754 gio/gioscheduler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5bc7729d16b641022f5eb8a4022515a163063ce9 Author: Dan Winship Date: Wed Aug 31 14:01:45 2011 -0400 Make threads mandatory G_THREADS_ENABLED still exists, but is always defined. It is still possible to use libglib without threads, but gobject (and everything above it) is now guaranteed to be using threads (as, in fact, it was before, since it was accidentally impossible to compile with --disable-threads). https://bugzilla.gnome.org/show_bug.cgi?id=616754 configure.ac | 440 ++++++++++++++++++++++------------------------- gio/Makefile.am | 6 +- glib/gmain.c | 60 ------- glib/gthread.c | 11 +- glib/gthread.h | 71 ++++---- gobject/Makefile.am | 6 +- gobject/gtype.c | 2 - gthread/gthread-impl.c | 18 -- tests/asyncqueue-test.c | 2 - tests/child-test.c | 6 +- tests/mainloop-test.c | 4 - tests/thread-test.c | 4 - tests/threadpool-test.c | 5 - 13 files changed, 240 insertions(+), 395 deletions(-) commit 0d1a2eb4bfcd733e0c015c76fb0ca0308b8a61f0 Author: David Schleef Date: Sun Aug 21 14:54:39 2011 -0700 Fix spelling of G_IO_FLAG_IS_WRITEABLE Fixes #657045. glib/giochannel.c | 7 ++++--- glib/giochannel.h | 5 ++++- glib/giowin32.c | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) commit 7a45dde4fe64b4f6c6d3ebc54dfb54d106290e9d Author: Kushal Das Date: Fri Sep 2 12:15:21 2011 +0530 g_key_file_parse_value_as_integer: Integers can have trailing whitespaces or tabs Now it can parse integer values with trailing whitespaces or tabs before CR. Using g_ascii_isspace() as suggested. https://bugzilla.gnome.org/show_bug.cgi?id=653987 glib/gkeyfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4a1d79842a177e45210736c71bf0c7d277d73179 Author: Piotr Drąg Date: Thu Sep 8 21:07:54 2011 +0200 Updated Polish translation po/pl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 687144edc7c11fb7a1aff5860b95ab5616320f1f Author: Piotr Drąg Date: Thu Sep 8 20:44:03 2011 +0200 Updated Polish translation po/pl.po | 188 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 85 insertions(+), 103 deletions(-) commit c8ef5b7d6c08c2e455527d42e1a1845261d30f09 Author: Damien Lespiau Date: Thu Sep 8 14:25:41 2011 +0100 simpleaction: Fix documentation of :enabled An over-zealous sed, most likely, transformed g_action_.*() into g_simple_action.*(). https://bugzilla.gnome.org/show_bug.cgi?id=658558 gio/gsimpleaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e03b70c4a2e8e44b8084de7f8a25b166727316e1 Author: Alexandre Franke Date: Wed Sep 7 11:43:36 2011 +0200 Update French translation po/fr.po | 189 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 89 insertions(+), 100 deletions(-) commit 571185f0f6054c8bdb0927809c0b08c6fd86b012 Author: Federico Mena Quintero Date: Thu Sep 8 09:11:56 2011 -0500 bgo#640212 - Replace "error stating file" with friendlier messages Non-technical users won't know that "stating" refers to stat(2), so we just use "error when getting information" now. Signed-off-by: Federico Mena Quintero gio/gdbusauthmechanismsha1.c | 2 +- gio/glocalfileinfo.c | 4 ++-- gio/glocalfileoutputstream.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 62a648953b5985456d34a563e519ce8059d97998 Author: Bruce Cowan Date: Wed Sep 7 16:58:57 2011 +0100 Updated British English translation po/en_GB.po | 171 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 86 insertions(+), 85 deletions(-) commit b95237ba53b3454996790042312e4f9a3447a2a7 Author: Luca Ferretti Date: Wed Sep 7 00:33:39 2011 +0200 Updated Italian translation po/it.po | 85 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 42 deletions(-) commit ef0f90a0171aa73b4516483ffa49742b6abf3df5 Author: Ihar Hrachyshka Date: Wed Sep 7 01:29:04 2011 +0300 Updated Belarusian translation. po/be.po | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) commit cfe04105f4b95f00c2bd52f0759736aa5197fd2a Author: Kjartan Maraas Date: Tue Sep 6 21:49:06 2011 +0200 Added Norwegian bokmål translation po/nb.po | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit 27fbaf371278e792c79a3478c2282e43f12472f5 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 file changed, 1 insertion(+), 5 deletions(-) commit 8060a7a207192297e62d29b4e5e1b551eab48622 Author: Ryan Lortie Date: Tue Sep 6 10:55:09 2011 -0400 'master' is now glib 2.31.0 configure.ac | 4 ++-- docs/reference/glib/tmpl/date.sgml | 16 +++++++++++++--- docs/reference/glib/tmpl/fileutils.sgml | 29 +++++++++++++++++++++++++++++ docs/reference/glib/tmpl/glib-unused.sgml | 8 ++++++++ docs/reference/glib/tmpl/macros.sgml | 2 ++ docs/reference/glib/tmpl/messages.sgml | 27 ++++++--------------------- docs/reference/glib/tmpl/modules.sgml | 10 ++++++---- docs/reference/glib/tmpl/testing.sgml | 8 ++++++++ 8 files changed, 74 insertions(+), 30 deletions(-) commit 9d6b55499f92a1d846f822d2f1aded2137b86999 Author: Ryan Lortie Date: Mon Sep 5 10:28:54 2011 -0400 glib 2.29.90 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) commit 6f6c924b08915c93e411370ea670b6e8af37ac5d Author: Andika Triwidada Date: Tue Sep 6 16:50:11 2011 +0700 Updated Indonesian translation po/id.po | 533 +++++++++++++++++--------------------------------------------- 1 file changed, 146 insertions(+), 387 deletions(-) commit 8a7d33024a377c99ca17b37ff5f02854bb71463b Author: Ryan Lortie Date: Tue Sep 6 00:12:12 2011 -0400 gio docs: lots more fixes docs/reference/gio/Makefile.am | 2 +- docs/reference/gio/gdbus-codegen.xml | 2 +- docs/reference/gio/gio-sections.txt | 20 -------------------- docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 +- gio/gappinfo.h | 1 + gio/gapplication.c | 2 -- gio/gasynchelper.c | 2 +- 8 files changed, 6 insertions(+), 26 deletions(-) commit e88d735787b4cbd3ddacef024a03135a32bab6ac Author: Ryan Lortie Date: Tue Sep 6 00:01:29 2011 -0400 gio docs: only include GTlsInteraction once It was included twice in the gio-docs.xml file. docs/reference/gio/gio-docs.xml | 1 - 1 file changed, 1 deletion(-) commit f333aeb29771babd1b8d12a26c3d0d21c6410301 Author: Ryan Lortie Date: Mon Sep 5 23:56:33 2011 -0400 gio docs: drop GTimeZoneMonitor from docs docs/reference/gio/gio-docs.xml | 1 - 1 file changed, 1 deletion(-) commit a44b225ae7f01f124e7d54f25a98cde300923b5f Author: Ryan Lortie Date: Mon Sep 5 23:54:42 2011 -0400 Remove enums from gio.types Only objects and interfaces should go in here. If enums are in here then gtk-doc responds by outputting two anchors for the same name (which results in many warnings being printed). docs/reference/gio/gio.types | 33 --------------------------------- 1 file changed, 33 deletions(-) commit fb700d7ea3d79be927918b4638cc705b280bbf8b Author: Ryan Lortie Date: Mon Sep 5 19:41:16 2011 -0400 GDBus object manager example: update -sections.txt .../gdbus-object-manager-example-sections.txt | 4 ---- 1 file changed, 4 deletions(-) commit c2e7ef17ac8da3ef911a5b6f86cd369b46b196bb Author: Ryan Lortie Date: Mon Sep 5 19:35:16 2011 -0400 gio docs: ignore private .h files docs/reference/gio/Makefile.am | 66 ++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 9 deletions(-) commit 1f9c189e2095ed0372fa1960da5cce2d6774af65 Author: Ryan Lortie Date: Mon Sep 5 19:10:04 2011 -0400 gio docs: don't scan subdirectories This clears up >50% of the huge warning spew from building GIO docs. docs/reference/gio/Makefile.am | 11 +++++++++++ docs/reference/gio/gio-sections.txt | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) commit c14a971f32d87a85d68137ba2dea5afe8ca5fea2 Author: Ryan Lortie Date: Mon Sep 5 19:00:11 2011 -0400 docs fixups for glib/ docs/reference/glib/glib-sections.txt | 2 +- glib/gwakeup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9829d04be86fde5741340ed20b5bc0ae876c95e9 Author: Ryan Lortie Date: Mon Sep 5 18:46:59 2011 -0400 GObject docs: resolve broken links Some links were broken due to typos, because functionality was removed in GLib 2.0 or for various other reasons. Fix up as many of them as is reasonable. docs/reference/gobject/tut_gobject.xml | 8 +++----- docs/reference/gobject/tut_gsignal.xml | 7 ++++--- docs/reference/gobject/tut_gtype.xml | 2 +- docs/reference/gobject/tut_howto.xml | 4 ++-- gobject/gobject.c | 4 ++-- gobject/gparam.h | 4 ++-- gobject/gparamspecs.c | 2 +- gobject/gsignal.h | 4 ++-- gobject/gtype.c | 6 +++--- gobject/gtype.h | 9 +++++---- gobject/gvalue.h | 2 +- gobject/gvaluecollector.h | 1 - 12 files changed, 26 insertions(+), 27 deletions(-) commit b402c3f014096dfa9e5cce47bcf60ca33aceb5ca Author: Ryan Lortie Date: Mon Sep 5 18:05:05 2011 -0400 gobject docs: add symbols from GMainLoop boxing docs/reference/gobject/gobject-sections.txt | 6 ++++++ 1 file changed, 6 insertions(+) commit b407086b3807fd691c4de7e3e80ac1cc71362ed0 Author: Ryan Lortie Date: Mon Sep 5 17:54:52 2011 -0400 Back out some changes to docs Makefiles Commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 introduced some changes to the documentation Makefiles designed to clean-up the process of deciding which headers get scanned for the docs. Unfortunately, the gtk-doc Makefile doesn't use HFILE_GLOB for actually generating the docs -- only for knowing when it needs to redo the generation. Because of this, we need to use IGNORE_HFILES or otherwise we get hundreds of symbols in the *-unused.txt files. Revert the changes that that commit made to the docs Makefiles (but leave the generation of the *-public-headers.txt files in place). docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 28 ++++++++++++++++++++++++++-- docs/reference/gobject/Makefile.am | 9 ++++++++- 3 files changed, 35 insertions(+), 4 deletions(-) commit c54bffb9e6cd9bec13b676c3e8e6ab596c58fa49 Author: Duarte Loreto Date: Mon Sep 5 22:30:09 2011 +0100 Updated Portuguese translation po/pt.po | 156 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 77 insertions(+), 79 deletions(-) commit 88c118aab3382824cbef245c2687d4b3c6326ff9 Author: Ryan Lortie Date: Mon Sep 5 11:39:04 2011 -0400 one missed docs fix glib/gbookmarkfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba6d70a99e735161fb34cf67aef81b29c45e2a5c Author: Ryan Lortie Date: Mon Sep 5 11:36:48 2011 -0400 include 'hmac' in the docs It wasn't added to glib-docs.sgml, so it wasn't being included in the html. docs/reference/glib/glib-docs.sgml | 1 + 1 file changed, 1 insertion(+) commit 3b25e975b3272f73e9e3d61ffd67ce89b6edfc8a Author: Ryan Lortie Date: Mon Sep 5 11:30:58 2011 -0400 gtk-doc fixups for glib/ docs/reference/glib/tmpl/date.sgml | 2 +- glib/gbookmarkfile.c | 4 +- glib/gdatetime.c | 100 ++++++++++++++++++------------------ glib/glib-unix.c | 2 +- glib/glib-unix.h | 10 ++-- glib/gmain.c | 2 +- glib/gtestutils.c | 2 +- glib/gunicode.h | 4 +- glib/guniprop.c | 2 +- 9 files changed, 64 insertions(+), 64 deletions(-) commit 118fa5d5022e570834d518ba03ae36bc20ed7a18 Author: Ryan Lortie Date: Mon Sep 5 10:29:09 2011 -0400 doc: Remove reference to non-existent #GChildWatch The g_spawn_ documentation was talking about #GChildWatch, which doesn't exist. Refer to g_child_watch_add() instead. glib/gspawn.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit c32c9526ad2507ca9f4bcbc117cf7dc057ad047e Author: Alexandre Franke Date: Mon Sep 5 13:22:37 2011 +0200 Fix missing semi-colon after struct definition docs/reference/gobject/tut_howto.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fce869f10d5534d339421c1646468e996707fe7 Author: Fran Dieguez Date: Mon Sep 5 11:55:50 2011 +0200 Updated galician translations po/gl.po | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 66e124005563f345a904a526896a01e545cfcf30 Author: Jorge González Date: Mon Sep 5 08:24:30 2011 +0200 Updated Spanish translation po/es.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 041a086256d90f6316c7cf23d8d6c6187a460296 Author: Ryan Lortie Date: Mon Sep 5 00:38:14 2011 -0400 pa.po: prefer pa_IN date/time formats It's clear that the other GDateTime formats in this file correspond with those in pa_IN, not pa_PK, so prefer those for the newly-added strings as well. po/pa.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76c49589064c38ce9fe4789677f65e3e09021b40 Author: Ryan Lortie Date: Mon Sep 5 00:03:39 2011 -0400 Populate missing GDateTime format strings Use the glibc locale database to add GDateTime strings only for those locales that had not specifically added them for themselves. Some locales have different translations from what is in the C library and we leave those alone with this commit. po/af.po | 2 +- po/am.po | 68 ++++++++++++++++++++++++++--------------------------- po/as.po | 68 ++++++++++++++++++++++++++--------------------------- po/ast.po | 62 ++++++++++++++++++++++++------------------------ po/az.po | 62 ++++++++++++++++++++++++------------------------ po/be.po | 2 +- po/be@latin.po | 62 ++++++++++++++++++++++++------------------------ po/bg.po | 5 ++-- po/bn.po | 68 ++++++++++++++++++++++++++--------------------------- po/bn_IN.po | 5 ++-- po/bs.po | 62 ++++++++++++++++++++++++------------------------ po/ca.po | 2 +- po/ca@valencia.po | 2 +- po/cs.po | 6 ++--- po/cy.po | 68 ++++++++++++++++++++++++++--------------------------- po/da.po | 2 +- po/de.po | 2 +- po/dz.po | 68 ++++++++++++++++++++++++++--------------------------- po/el.po | 5 ++-- po/en_CA.po | 3 +-- po/en_GB.po | 5 ++-- po/et.po | 2 +- po/eu.po | 5 ++-- po/fa.po | 62 ++++++++++++++++++++++++------------------------ po/fi.po | 2 +- po/fr.po | 2 +- po/ga.po | 2 +- po/gu.po | 5 ++-- po/he.po | 5 ++-- po/hi.po | 68 ++++++++++++++++++++++++++--------------------------- po/hr.po | 62 ++++++++++++++++++++++++------------------------ po/hu.po | 5 ++-- po/hy.po | 62 ++++++++++++++++++++++++------------------------ po/id.po | 2 +- po/is.po | 66 +++++++++++++++++++++++++-------------------------- po/it.po | 2 +- po/ja.po | 5 ++-- po/ka.po | 62 ++++++++++++++++++++++++------------------------ po/kk.po | 62 ++++++++++++++++++++++++------------------------ po/kn.po | 68 ++++++++++++++++++++++++++--------------------------- po/ko.po | 3 +-- po/ku.po | 62 ++++++++++++++++++++++++------------------------ po/lv.po | 2 +- po/mai.po | 68 ++++++++++++++++++++++++++--------------------------- po/mg.po | 62 ++++++++++++++++++++++++------------------------ po/mk.po | 62 ++++++++++++++++++++++++------------------------ po/ml.po | 68 ++++++++++++++++++++++++++--------------------------- po/mn.po | 62 ++++++++++++++++++++++++------------------------ po/mr.po | 68 ++++++++++++++++++++++++++--------------------------- po/ms.po | 64 ++++++++++++++++++++++++------------------------- po/nds.po | 62 ++++++++++++++++++++++++------------------------ po/ne.po | 68 ++++++++++++++++++++++++++--------------------------- po/nl.po | 2 +- po/nn.po | 62 ++++++++++++++++++++++++------------------------ po/oc.po | 62 ++++++++++++++++++++++++------------------------ po/or.po | 68 ++++++++++++++++++++++++++--------------------------- po/pa.po | 5 ++-- po/pl.po | 2 +- po/ps.po | 68 ++++++++++++++++++++++++++--------------------------- po/pt.po | 2 +- po/ro.po | 2 +- po/ru.po | 2 +- po/rw.po | 62 ++++++++++++++++++++++++------------------------ po/si.po | 68 ++++++++++++++++++++++++++--------------------------- po/sk.po | 64 ++++++++++++++++++++++++------------------------- po/sl.po | 2 +- po/sq.po | 68 ++++++++++++++++++++++++++--------------------------- po/sr.po | 5 ++-- po/sr@ije.po | 64 ++++++++++++++++++++++++------------------------- po/sr@latin.po | 5 ++-- po/sv.po | 2 +- po/ta.po | 68 ++++++++++++++++++++++++++--------------------------- po/te.po | 68 ++++++++++++++++++++++++++--------------------------- po/th.po | 68 ++++++++++++++++++++++++++--------------------------- po/tl.po | 68 ++++++++++++++++++++++++++--------------------------- po/tr.po | 5 ++-- po/tt.po | 62 ++++++++++++++++++++++++------------------------ po/ug.po | 2 +- po/uk.po | 62 ++++++++++++++++++++++++------------------------ po/vi.po | 5 ++-- po/wa.po | 68 ++++++++++++++++++++++++++--------------------------- po/xh.po | 62 ++++++++++++++++++++++++------------------------ po/yi.po | 68 ++++++++++++++++++++++++++--------------------------- po/zh_CN.po | 5 ++-- po/zh_HK.po | 5 ++-- po/zh_TW.po | 5 ++-- 86 files changed, 1522 insertions(+), 1543 deletions(-) commit 2752f8668e74fc080bda22994fdbddc3cc77cd6b Author: Ryan Lortie Date: Mon Sep 5 00:01:02 2011 -0400 po/: update all .po files with 'make update-po' This should get the proper Report-Msgid-Bugs-To: into each file. po/af.po | 1431 ++++++++++++++++------------- po/am.po | 2373 +++++++++++++++++++++++++++++++++--------------- po/ar.po | 1899 ++++++++++++++++++++------------------ po/as.po | 2400 +++++++++++++++++++++++++++++++++--------------- po/ast.po | 2438 ++++++++++++++++++++++++++++++++++--------------- po/az.po | 2375 +++++++++++++++++++++++++++++++++--------------- po/be.po | 204 +++-- po/be@latin.po | 2465 +++++++++++++++++++++++++++++++++++--------------- po/bg.po | 389 ++++---- po/bn.po | 2395 +++++++++++++++++++++++++++++++++--------------- po/bn_IN.po | 1523 +++++++++++++++++-------------- po/bs.po | 2383 +++++++++++++++++++++++++++++++++--------------- po/ca.po | 1467 +++++++++++++++++------------- po/ca@valencia.po | 960 +++++++++++--------- po/cs.po | 1434 ++++++++++++++++------------- po/cy.po | 2401 ++++++++++++++++++++++++++++++++++--------------- po/da.po | 1441 ++++++++++++++++------------- po/de.po | 555 +++++++----- po/dz.po | 2385 +++++++++++++++++++++++++++++++++--------------- po/el.po | 1502 +++++++++++++++++-------------- po/en@shaw.po | 2496 +++++++++++++++++++++++++++++++++++--------------- po/en_CA.po | 95 +- po/en_GB.po | 1457 +++++++++++++++++------------- po/eo.po | 1049 ++++++++++++--------- po/es.po | 250 ++--- po/et.po | 1096 ++++++++++++++++++++-- po/eu.po | 1816 +++++++++++++++++++++---------------- po/fa.po | 2403 ++++++++++++++++++++++++++++++++++--------------- po/fi.po | 808 ++++++++++++++++- po/fr.po | 553 +++++++----- po/ga.po | 1046 ++++++++++++--------- po/gl.po | 204 +++-- po/gu.po | 1507 +++++++++++++++++-------------- po/he.po | 420 +++++---- po/hi.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/hr.po | 2393 +++++++++++++++++++++++++++++++++--------------- po/hu.po | 1658 +++++++++++++++++++--------------- po/hy.po | 2299 +++++++++++++++++++++++++++++----------------- po/id.po | 957 ++++++++++++-------- po/is.po | 2375 +++++++++++++++++++++++++++++++++--------------- po/it.po | 482 +++++----- po/ja.po | 1442 ++++++++++++++++------------- po/ka.po | 2389 +++++++++++++++++++++++++++++++++--------------- po/kk.po | 2226 +++++++++++++++++++++++++++++++-------------- po/kn.po | 2411 ++++++++++++++++++++++++++++++++++--------------- po/ko.po | 266 +++--- po/ku.po | 2379 +++++++++++++++++++++++++++++++++--------------- po/lt.po | 1347 +++++++++++++-------------- po/lv.po | 588 +++++++----- po/mai.po | 2401 ++++++++++++++++++++++++++++++++++--------------- po/mg.po | 2385 +++++++++++++++++++++++++++++++++--------------- po/mk.po | 2407 ++++++++++++++++++++++++++++++++++--------------- po/ml.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/mn.po | 2406 ++++++++++++++++++++++++++++++++++--------------- po/mr.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/ms.po | 2375 +++++++++++++++++++++++++++++++++--------------- po/nb.po | 252 +++--- po/nds.po | 2379 +++++++++++++++++++++++++++++++++--------------- po/ne.po | 2381 +++++++++++++++++++++++++++++++++--------------- po/nl.po | 1459 +++++++++++++++++------------- po/nn.po | 2422 ++++++++++++++++++++++++++++++++++--------------- po/oc.po | 2379 +++++++++++++++++++++++++++++++++--------------- po/or.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/pa.po | 615 ++++++------- po/pl.po | 1452 +++++++++++++++++------------- po/ps.po | 2386 +++++++++++++++++++++++++++++++++--------------- po/pt.po | 1443 ++++++++++++++++------------- po/pt_BR.po | 285 +++--- po/ro.po | 1503 +++++++++++++++++-------------- po/ru.po | 1414 +++++++++++++++-------------- po/rw.po | 2389 +++++++++++++++++++++++++++++++++--------------- po/si.po | 2381 +++++++++++++++++++++++++++++++++--------------- po/sk.po | 2391 +++++++++++++++++++++++++++++++++--------------- po/sl.po | 2601 +++++++++++++++++++++++++++++++---------------------- po/sq.po | 2460 +++++++++++++++++++++++++++++++++++--------------- po/sr.po | 380 ++++---- po/sr@ije.po | 2375 +++++++++++++++++++++++++++++++++--------------- po/sr@latin.po | 419 +++++---- po/sv.po | 256 +++--- po/ta.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/te.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/th.po | 2402 ++++++++++++++++++++++++++++++++++--------------- po/tl.po | 2393 +++++++++++++++++++++++++++++++++--------------- po/tr.po | 555 +++++++----- po/tt.po | 2379 +++++++++++++++++++++++++++++++++--------------- po/ug.po | 398 ++++---- po/uk.po | 2413 ++++++++++++++++++++++++++++++++++--------------- po/vi.po | 1490 ++++++++++++++++-------------- po/wa.po | 2379 +++++++++++++++++++++++++++++++++--------------- po/xh.po | 2387 +++++++++++++++++++++++++++++++++--------------- po/yi.po | 2394 +++++++++++++++++++++++++++++++++--------------- po/zh_CN.po | 1448 ++++++++++++++++------------- po/zh_HK.po | 327 ++++--- po/zh_TW.po | 270 +++--- 94 files changed, 103729 insertions(+), 52698 deletions(-) commit b6fdbb8e448be794fd9d098dc5f2bd327b2f23f0 Author: Ryan Lortie Date: Sun Sep 4 18:01:55 2011 -0400 g_date_time_format: honour T_FMT_AMPM for '%r' We had the 12 hour time format hard-coded to "%02d:%02d:%02d %s" but it actually changes depending on the locale. Just with the other formats, use nl_langinfo() if we have it, otherwise fall back on gettext(). configure.ac | 2 ++ glib/gdatetime.c | 17 +++++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) commit 9ddd25c18b59c443945ff9dcb19675e00caeca63 Author: Ryan Lortie Date: Sun Sep 4 20:35:31 2011 -0400 GDateTime: translate "AM"/"PM", not "am"/"pm" "AM" and "PM" are the POSIX locale values. Modify the 14 translations that have been updated since then to save a headache to those translators. glib/gdatetime.c | 4 ++-- po/be.po | 8 ++++---- po/en_CA.po | 8 ++++---- po/es.po | 16 ++++++++-------- po/gl.po | 16 ++++++++-------- po/ko.po | 4 ++-- po/lt.po | 16 ++++++++-------- po/nb.po | 8 ++++---- po/pt_BR.po | 16 ++++++++-------- po/ru.po | 4 ++-- po/sr.po | 16 ++++++++-------- po/sr@latin.po | 16 ++++++++-------- po/sv.po | 16 ++++++++-------- po/zh_HK.po | 8 ++++---- po/zh_TW.po | 8 ++++---- 15 files changed, 82 insertions(+), 82 deletions(-) commit e39a03e14d2f22ca6acbb772df908faa78a7d73e Author: Ryan Lortie Date: Sun Sep 4 21:00:54 2011 -0400 Update en_CA.po (Canadian English translation) po/en_CA.po | 3047 +++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 2042 insertions(+), 1005 deletions(-) commit a2b350d9c3bcc979f1ce4dd6efc7ca79c07624b3 Author: Ryan Lortie Date: Sun Sep 4 21:31:13 2011 -0400 po/Makefile.in.in: intltool compatibility fixes Our infrastructure for updating the glib20.pot file was incompatible with intltool in a couple of ways: - we didn't set the Report-Msgid-Bugs-To to - we used paths relative to the $(top_srcdir), rather than po/ This resulted in spamming of pointless changes to the .po files whenever 'make update-po' was run (since all of the translators are using intltool-based tools). po/Makefile.in.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6274386e52efd7c951d5e40ed2eacd5d0a843b83 Author: Matthias Clasen Date: Sun Sep 4 20:06:53 2011 -0400 Only use gcc-specific options when the compiler is gcc The -Wstrict-aliasing option that we use to compile atomic tests does not exist with compilers other than gcc, so don't pass it to those. https://bugzilla.gnome.org/show_bug.cgi?id=652272 https://bugzilla.gnome.org/show_bug.cgi?id=656152 configure.ac | 2 ++ glib/tests/Makefile.am | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 350a1cda0a4ef7ad29f0c041239a96ea1ea1c8c5 Author: Dan Winship Date: Sun Sep 4 17:33:21 2011 -0400 update .gitignore tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 749fa587bc081e0f5b9c4af1ed8bdf90bd0856d2 Author: Dan Winship Date: Sun Sep 4 17:17:11 2011 -0400 fix a few warnings on non-Linux mostly #ifdeffing functions that are only called by #ifdeffed code gio/gsocketaddress.c | 1 + gio/xdgmime/xdgmimemagic.c | 2 ++ glib/gfileutils.c | 3 +++ glib/tests/option-argv0.c | 2 ++ 4 files changed, 8 insertions(+) commit afa82ae805f9c8bb875a3f863a7b4669953f159f Author: Patrick Welche Date: Thu Sep 1 10:10:38 2011 +0100 Avoid getmntinfo - getmntinfo can take struct statfs or statvfs depending on the OS. Use getvfsstat and if not found getfsstat instead. Idea from Dan Winship. - g_local_file_query_filesystem_info(): use statvfs.f_fstypename if available https://bugzilla.gnome.org/show_bug.cgi?id=617949 configure.ac | 5 +++-- gio/glocalfile.c | 12 ++++++++---- gio/gunixmounts.c | 54 +++++++++++++++++++++++++++++++++++------------------ 3 files changed, 47 insertions(+), 24 deletions(-) commit 5cea24fc88ec1fa9ce0d37e368d6041ea4e8bc7e Author: Fran Dieguez Date: Sun Sep 4 18:37:11 2011 +0200 Updated galician translations po/gl.po | 166 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 88 insertions(+), 78 deletions(-) commit a78ffde652d1a9c6a2004519a8385d3df2c0d668 Author: Ihar Hrachyshka Date: Sun Sep 4 18:52:29 2011 +0300 Updated Belarusian translation. po/be.po | 196 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 101 insertions(+), 95 deletions(-) commit e74ca39dae4f90a365f9d83fb216e5b2f0de6113 Author: Aurimas Černius Date: Sun Sep 4 18:31:33 2011 +0300 Updated Lithuanian translation po/lt.po | 621 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 343 insertions(+), 278 deletions(-) commit 15f1ba47219be9cf92b1a6a1b615c090afde836d Author: Dan Winship Date: Sun Sep 4 10:33:37 2011 -0400 gio/tests/tls-interaction: fix two sporadic errors The threaded tests are using the default main context in the worker thread, but were not g_main_context_acquire()ing it first, which meant that g_tls_interaction_invoke_ask_password() in the main thread would sometimes succeed in acquiring it itself and thus performing the operation in the wrong thread. Fix that. Also, we can't unref the loop from the worker thread, because the main thread isn't holding a reference on it, and so it might end up being destroyed while that thread is still inside g_main_loop_quit(). gio/tests/tls-interaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 655c9f5753e5a2a6be863632149459d0952d208b Author: Dan Winship Date: Sun Sep 4 08:42:31 2011 -0400 gsocket: fix win32 build https://bugzilla.gnome.org/show_bug.cgi?id=658157 gio/gsocket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e943366de5cd4da4bdaf625f709b66ff9101ee3b Author: Dan Winship Date: Sun Sep 4 08:42:03 2011 -0400 configure: fix win32 build Only require -lresolv on unix, like before https://bugzilla.gnome.org/show_bug.cgi?id=645336 configure.ac | 68 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) commit 2d7051e3a33a70a01d5ee06c1f10c347f6c08baf Author: Ryan Lortie Date: Sat Sep 3 20:12:53 2011 -0400 g_date_time_format: improve support for alt digits Improve a few situations where g_date_time_format() was getting the padding wrong when displaying alt digits (eg: Arabic numerals) for formatting time. We now depend on nl_langinfo (_NL_CTYPE_OUTDIGITn_WC) to do the conversion, which is very likely glibc-specific, but our previous method relied on a glibc-specific printf() feature, so no harm done there. Add a configure check for nl_langinfo (_NL_CTYPE_OUTDIGITn_WC). Uncomment a few testcases that were failing previously. https://bugzilla.gnome.org/show_bug.cgi?id=658107 configure.ac | 20 ++++++ glib/gdatetime.c | 167 +++++++++++++++++++++++++----------------------- glib/tests/gdatetime.c | 19 +++--- 3 files changed, 114 insertions(+), 92 deletions(-) commit 4a371c2ce5262cdecc48ab998e9b66ce7b46ee4b Author: Dan Winship Date: Sat Sep 3 19:49:19 2011 -0400 g_network_address_parse: deprecate symbolic port names (which shouldn't ever have been part of the API. Grr.) Solaris /etc/services doesn't even have "http", which was causing tests/network-address to fail... gio/gnetworkaddress.c | 8 ++++++-- gio/tests/network-address.c | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) commit af2a905e5480bc7eb82e7a43ef7fead7b3b90dd7 Author: Dan Winship Date: Sat Sep 3 19:14:16 2011 -0400 gsocket: fix g_socket_details_from_fd() on Solaris On Solaris, getsockname() on an unconnected socket gives an addrlen of 0 and doesn't set the sockaddr. So use the SO_DOMAIN sockopt to find the socket family in that case. (SO_DOMAIN doesn't exist everywhere, so we can't use it unconditionally. Also, we have to only use it if getsockname() fails, since SO_DOMAIN returns a bogus value for accept()ed sockets on both Linux and Solaris...) gio/gsocket.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 0d637931299f254e1b9a2cdb2d4e050b157ec8d9 Author: Dan Winship Date: Sat Sep 3 18:37:43 2011 -0400 configure: check if -lsocket is needed (for Solaris) Also, link libgio to -lresolv explicitly, rather than depending on getting it implicitly via the libasyncns build (which should eventually be going away). https://bugzilla.gnome.org/show_bug.cgi?id=645336 configure.ac | 66 +++++++++++++++++++++++--------------------- gio/Makefile.am | 1 + gio/libasyncns/Makefile.am | 2 +- 3 files changed, 37 insertions(+), 32 deletions(-) commit a636dfd7fbe5757384773460dc01e2727d7ede75 Author: Ryan Lortie Date: Sat Sep 3 19:44:13 2011 -0400 Revert "g_date_time_format: support %D" This reverts commit 46ce7907720074089040275280bb20208bafeb6a. git-bz mishap (I think?) glib/gdatetime.c | 10 ---------- 1 file changed, 10 deletions(-) commit 4d382a5a1c23f33b9c21b4ad8314787cbc5347af Author: Og B. Maciel Date: Sat Sep 3 18:39:01 2011 -0400 Merged improvements from 2-28 branch Brazilian Translations from Adorilson Bezerra . po/pt_BR.po | 234 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 119 insertions(+), 115 deletions(-) commit 793dae876d43420f9d80112735d65ab1f03ffe07 Author: Og B. Maciel Date: Sat Sep 3 17:50:36 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 192 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 108 insertions(+), 84 deletions(-) commit 46511fd2ca0bbe660040a4aa8a995d456d4cb4c4 Author: Changwoo Ryu Date: Sat Sep 3 21:15:43 2011 +0900 Update Korean translation po/ko.po | 473 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 266 insertions(+), 207 deletions(-) commit c2b385c5c23d5f553add320f223282e96fd1c88a Author: Kjartan Maraas Date: Sat Sep 3 13:47:44 2011 +0200 Added Norwegian bokmål translation po/nb.po | 94 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 50 insertions(+), 44 deletions(-) commit 8e7112a2d37323c29a8072a7ffe3fc6f44c17bb0 Author: Jorge González Date: Sat Sep 3 13:38:38 2011 +0200 Updated Spanish translation po/es.po | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit f091c6a99b1c9e23e8e60a9e5ef35290e0ab4853 Author: Matthias Clasen Date: Fri Sep 2 23:36:03 2011 -0400 gdatetime: Fix locale-changing code As pointed out by Ryan Lortie, the code didn't actually ever switch back to the old locale. https://bugzilla.gnome.org/show_bug.cgi?id=658104 glib/tests/gdatetime.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 9860c83ad63ec664a25cf1719ceaeeed70b059d9 Author: Ryan Lortie Date: Fri Sep 2 21:12:16 2011 -0400 g_date_time_format: add standards notes to the doc Explicitly mention C99's strftime() in the documentation for g_date_time_format() as the one that we aim for compatibility with. Specifically list the formats we do not support as well as the extra ones that we borrow from glibc. glib/gdatetime.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit bdb34e3217e46236cafa61991a15b9aa2e80ba61 Author: Ryan Lortie Date: Fri Sep 2 21:04:02 2011 -0400 GDateTime: test _format against strftime() Test g_date_time_format() against strftime(). This test found quite a few cases of incorrect behaviour on our part (fixes already committed for those). glib/tests/gdatetime.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit dcbfeb579a0890c3e3251f4c1ce0c16dc46f7c72 Author: Ryan Lortie Date: Fri Sep 2 21:03:33 2011 -0400 GDateTime test: plug a couple of leaks glib/tests/gdatetime.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b04f0d9730e94c80db35f3dbd21cdfbb7e2c9da Author: Ryan Lortie Date: Fri Sep 2 20:54:51 2011 -0400 g_date_time_format: rip out non-working %W format Our implementation of %W is incorrect. Nobody should want to use this format anyway and the implementation is non-trivial, so rip it out rather than fixing it. Remove the testcase for %W as well. glib/gdatetime.c | 9 --------- glib/tests/gdatetime.c | 1 - 2 files changed, 10 deletions(-) commit b8c2fd7e05e18cb45eb83c751df394e0e3174084 Author: Ryan Lortie Date: Fri Sep 2 20:53:02 2011 -0400 g_date_time_format: clarify documentation Add some clarification to the documentation for %g, %G, %V and %u formats (which all concern themselves with ISO 8601 week dates). glib/gdatetime.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 46ce7907720074089040275280bb20208bafeb6a Author: Ryan Lortie Date: Fri Sep 2 19:38:45 2011 -0400 g_date_time_format: support %D %D represents the date in mm/dd/yy format. https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 4b35f12552ebd9d064c7e6dc97e0e1e9c57b6215 Author: Ryan Lortie Date: Fri Sep 2 19:34:33 2011 -0400 g_date_time_format: small fixups Add missing 'break;' from the case: block for %c. Reorder the cases so that %F comes before %g/%G and %n comes in its correct alphabetical order. glib/gdatetime.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 65fe8b73c50b89358732e0c0d093587b62a1cea0 Author: Ryan Lortie Date: Fri Sep 2 19:33:32 2011 -0400 g_date_time_format: fix padding for some formats %e is supposed to be space-padded and %W is supposed to be 0-padded Adjust the testcase accordingly since it expects the wrong behaviour. glib/gdatetime.c | 4 ++-- glib/tests/gdatetime.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit b4591aa3dc5689de4e3520f803ed6cf13ef570a0 Author: Ryan Lortie Date: Fri Sep 2 21:02:27 2011 -0400 GDateTime test: don't test removed %N glib/tests/gdatetime.c | 1 - 1 file changed, 1 deletion(-) commit a1b665c1112912152c45b68dfe73c0da027ebdea Author: Ryan Lortie Date: Fri Sep 2 14:53:21 2011 -0400 g_date_time_format: support %g and %G These are the 2-digit and 4-digit ISO week-numbering years. https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 034952ead64842b95b75a9ebaed45741edd0c7aa Author: Ryan Lortie Date: Fri Sep 2 13:38:03 2011 -0400 g_date_time_format: drop %N format %N is not specified in any standards document, but we use it to display the number of microseconds. The fact that our our current implementation of it is nearly useless (since it does not zero-pad) coupled with the high chance that a future version of the C standard may specify it with another meaning means that we should drop it. https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 8 -------- 1 file changed, 8 deletions(-) commit f421f0b88323b2a07d3cf18bf2aa3e2acf509738 Author: Javier Jardón Date: Fri Sep 2 17:22:14 2011 +0100 g_date_time_format: support %w %w represents the day of the week as a decimal, range 0 to 6, Sunday being 0. https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit e975b5b75c6e61ae417ad6a56cf9b9a86ec7d61a Author: Javier Jardón Date: Fri Sep 2 17:09:07 2011 +0100 g_date_time_format: support %C %C represents the century number (year/100) as a 2-digit integer https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6f80dc60429e7310300a5df75a03a093c3fd4767 Author: Javier Jardón Date: Fri Sep 2 16:32:21 2011 +0100 g_date_time_format: support %c %c represents the preferred date and time representation for the current locale. https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit b42d15490b88f5e1fdd6385143a4fd58040260db Author: Javier Jardón Date: Fri Sep 2 14:52:37 2011 +0100 g_date_time_format: support %V %V represents the ISO 8601 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the new year https://bugzilla.gnome.org/show_bug.cgi?id=658061 glib/gdatetime.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 0ea581b80a703f181dc10e5c5fbf9c3a4643d20b Author: Ihar Hrachyshka Date: Fri Sep 2 20:56:39 2011 +0300 Updated Belarusian translation. po/be.po | 506 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 296 insertions(+), 210 deletions(-) commit 275f1864d836e76ff36ff3f4473370e981679698 Author: Chun-wei Fan Date: Fri Sep 2 08:39:54 2011 +0800 Update Visual C++ README.txt's a bit LibFFI 3.0.10 is now out officially... build/win32/vs10/README.txt | 4 ++-- build/win32/vs9/README.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 8beda5806ae6fb5ad994edecda89ea1df6473ba6 Author: Daniel Nylander Date: Thu Sep 1 22:24:07 2011 +0200 Updated Swedish translation po/sv.po | 1156 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 619 insertions(+), 537 deletions(-) commit b0048bb44413af26a4941f36aac0f904773c4822 Author: Daniel Nylander Date: Thu Sep 1 22:22:32 2011 +0200 Updated Swedish translation po/sv.po | 161 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 86 insertions(+), 75 deletions(-) commit a020fbf8f6cd345c0e7cbd5eb0dae194c5dc6650 Author: Will Thompson Date: Thu Sep 1 14:28:57 2011 -0400 gdbus-codegen: post-process all interfaces when parsing >1 file This also fixes a crash when you run gdbus-codegen with no arguments. https://bugzilla.gnome.org/show_bug.cgi?id=656323 Signed-off-by: David Zeuthen gio/gdbus-2.0/codegen/codegen_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dbfb56bda94c76366026f0ea738f5472fb7cd0c1 Author: Kjartan Maraas Date: Wed Aug 31 21:17:10 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit ab8938c64da8f9cf68faca2b8afb3bfa49ff4fa0 Author: Ryan Lortie Date: Tue Aug 30 21:31:40 2011 -0400 Revert "gdatetime: Add g_date_time_source_new()" This reverts three commits: - 1feb752996b404965a2f58b29a569a273d4374fa - 5763c631473539746646697e6a775f6eacaa08e2 - 21a538934091e1449e0479daf066fa20df2dc2ef https://bugzilla.gnome.org/show_bug.cgi?id=655129 configure.ac | 17 --- docs/reference/glib/glib-sections.txt | 3 - glib/gdatetime.c | 232 --------------------------------- glib/gdatetime.h | 3 - glib/glib.symbols | 1 - glib/gmain.h | 1 - glib/tests/Makefile.am | 4 - glib/tests/glib-clock.c | 38 ------ glib/tests/timeout.c | 70 ---------- 9 files changed, 369 deletions(-) commit fe4fc3e8b5a5ad8d4113c4df1fe8e0e9f295035e Author: Pavel Holejsovsky Date: Tue Aug 30 16:20:55 2011 +0200 Make GMainLoop, GMainContext and GSource boxed types Also add some annotations for better usage of these types in bindings. https://bugzilla.gnome.org/show_bug.cgi?id=657725 glib/gmain.c | 35 ++++++++++++++++++----------------- glib/gmain.h | 8 ++++---- gobject/gboxed.c | 3 +++ gobject/glib-types.h | 30 ++++++++++++++++++++++++++++++ gobject/gobject.symbols | 3 +++ 5 files changed, 58 insertions(+), 21 deletions(-) commit 3354b02ccdb5bdc714cdfbe9bbe9a10589c84153 Author: Chun-wei Fan Date: Wed Aug 31 13:01:04 2011 +0800 Update Win32 and VS Readme files Tell people about the GNOME Live! page that outlines building GLib and its dependencies with Visual C++. README.win32 | 5 +++++ build/win32/vs10/README.txt | 5 +++++ build/win32/vs9/README.txt | 5 +++++ 3 files changed, 15 insertions(+) commit dab38147aec8bd415a6816422baa59863c941ead Author: Ryan Lortie Date: Tue Aug 30 21:13:08 2011 -0400 es.po: stop translating "kB" to "KiB", etc. "kB" is used by GLib to mean 1000 bytes exactly -- not 1024. It is therefore incorrect to translate this to KiB. Same for the other units. The original commit ef3e5917ca1239b39db2cb433c4306d0152f18f5 fixing this problem was reverted, so I'm applying it again. See http://mail.gnome.org/archives/gnome-i18n/2011-July/msg00078.html for more information. po/es.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 2955981569808304399d16847712f0ef97c6355b Author: Dan Winship Date: Tue Aug 16 19:12:59 2011 -0400 g_get_monotonic_time: fix race condition Since there was nothing guaranteeing synchronization of the assignments to checked and clockid, it would be possible for one thread to set clockid = CLOCK_MONOTONIC, and for another thread to see checked = TRUE but still clockid = CLOCK_REALTIME. https://bugzilla.gnome.org/show_bug.cgi?id=655129 glib/gmain.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit c0eb77bfc8be7c30c271f2415c08f8f3186113c3 Author: Ryan Lortie Date: Tue Aug 30 09:45:52 2011 -0400 unix signal watch: make API match other sources Change the unix signal watch API to match other sources in both available functions, names of those functions and order of the parameters to the _full function. https://bugzilla.gnome.org/show_bug.cgi?id=657705 docs/reference/glib/glib-sections.txt | 3 ++- glib/glib-unix.c | 36 ++++++++++++++++++++++++++------- glib/glib-unix.h | 16 +++++++++------ glib/glib.symbols | 3 ++- glib/tests/unix.c | 12 ++--------- 5 files changed, 45 insertions(+), 25 deletions(-) commit 1292ffc7805773312f42409eeee7a7ce6b5837fc Author: Javier Jardón Date: Tue Aug 30 22:52:59 2011 +0100 glib.doap: Add glib to "platform" category glib.doap | 1 + 1 file changed, 1 insertion(+) commit ae8dcf429d0e16f944f0f8e8ceab5569408ae410 Author: Jorge González Date: Tue Aug 30 19:14:04 2011 +0200 Updated Spanish translation po/es.po | 125 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 66 insertions(+), 59 deletions(-) commit c6bd78f31c29a06d948b675da7f5682fe1c3c218 Author: Jorge González Date: Tue Aug 30 19:00:15 2011 +0200 Updated Spanish translation po/es.po | 225 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 109 insertions(+), 116 deletions(-) commit 49bb7cff4b2f238453363b032f2c401055158026 Author: Stef Walter Date: Sun Aug 28 20:24:56 2011 +0200 gio: Add GTlsInteraction interaction method invocation guarantees * Add 'invoke' style method, which can be used to call an interaction from any thread. The interaction will be run in the appropriate #GMainContext * Sync methods can be called whether main loop is running or not. * Derived classes can choose to implement only sync or async interaction method, and the invoke method will fill in the blanks. * Documentation for the above. * Tests for the above. https://bugzilla.gnome.org/show_bug.cgi?id=657567 .gitignore | 1 + gio/gio.symbols | 1 + gio/gtlsinteraction.c | 423 +++++++++++++++++++++++---- gio/gtlsinteraction.h | 12 +- gio/tests/Makefile.am | 3 + gio/tests/tls-interaction.c | 661 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 1036 insertions(+), 65 deletions(-) commit 116b2932abfa7727cd0486e6e74624aaf4012ab7 Author: Tomas Bzatek Date: Tue Aug 30 18:00:49 2011 +0200 glocalfile: Fix the grammar gio/glocalfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 780591b542dbd15f6165eb011e2e38b0c10bfe47 Author: Matthias Clasen Date: Tue Aug 30 11:44:57 2011 -0400 Post-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6850add98dd0dde66217c47e632a121fee88e80 Author: Matthias Clasen Date: Tue Aug 30 11:10:40 2011 -0400 2.29.18 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 229234111c418c2186868c47bfdd6684be8ee1cf Author: Bastien Nocera Date: Fri Aug 26 16:36:12 2011 +0100 gio: Error out when we cannot modify a GAppInfo g_desktop_app_info_set_as_default_for_type() and g_desktop_app_info_set_as_last_used_for_type () require the application's ID, but depending on how the GAppInfo was created, we might not be have one, and would thus silently fail to set the default application, or last used application. https://bugzilla.gnome.org/show_bug.cgi?id=657445 gio/gdesktopappinfo.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 619b77319619d84523866fd11e2cc484b470ed80 Author: Matthias Clasen Date: Tue Aug 30 10:25:42 2011 -0400 More updates NEWS | 6 ++++++ 1 file changed, 6 insertions(+) commit 302a5072c915fc95e187e733acab139bca692e0b Author: Dan Winship Date: Sat Aug 27 11:33:43 2011 -0400 gio/tests/gdbus-peer: make this work on non-Linux unixes The test was using a socket in a temporary directory, but not actually creating that temporary directory. This worked fine on Linux since it actually ended up using an abstract socket instead, but failed on unixes without abstract sockets. https://bugzilla.gnome.org/show_bug.cgi?id=657517 gio/tests/gdbus-peer.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit d156492c8333097d969e933abbde2cab6011b321 Author: Matthias Clasen Date: Tue Aug 30 00:00:37 2011 -0400 Add a forgotten section docs/reference/gio/gio-docs.xml | 1 + 1 file changed, 1 insertion(+) commit 258ecdfbe643c76ac6c30d008541e17df27cfb47 Author: Matthias Clasen Date: Tue Aug 30 00:00:21 2011 -0400 More doc additions docs/reference/gio/gio-sections.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 08208e3ce22ef5f42697fc9b015df7bff61e2859 Author: Matthias Clasen Date: Mon Aug 29 23:55:48 2011 -0400 Fix a doc comment gio/giomodule.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit b57f2e9327c572c2823cebd53afb1e79589c476f Author: Matthias Clasen Date: Mon Aug 29 23:42:24 2011 -0400 Clean up gobject docs docs/reference/gobject/gobject-sections.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 0196fcc9ce0492235f681584037de2f61557f3ac Author: Matthias Clasen Date: Mon Aug 29 23:36:27 2011 -0400 Correct a doc typo glib/ghmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a8b128a01cb0798481c56c4c4a1f84625415d904 Author: Matthias Clasen Date: Mon Aug 29 23:33:48 2011 -0400 Remove no-longer existing api docs/reference/glib/glib-sections.txt | 1 - 1 file changed, 1 deletion(-) commit fb74f6e303ee89ab8b37708556a24b5e219c1db1 Author: Dan Winship Date: Sat Aug 27 19:46:51 2011 -0400 GSocketAddress: create IPv4 addresses for IPv6 mapped-IPv4 addresses IPv6-mapped-IPv4 addresses are annoying. Just translate them to real IPv4 addresses. based on a patch from Jonny Lamb https://bugzilla.gnome.org/show_bug.cgi?id=646082 gio/gsocketaddress.c | 15 ++++++- gio/tests/socket.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 116 insertions(+), 6 deletions(-) commit c938250c3335cac58cca8e6747ba8359534989c5 Author: Matthias Clasen Date: Mon Aug 29 21:43:50 2011 -0400 Add a 'since 2.30' index to gobject docs docs/reference/gobject/gobject-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit a21ee644c83b4a6cfabdc9b34d6f829277fe9253 Author: Matthias Clasen Date: Mon Aug 29 19:02:33 2011 -0400 Don't distribute MAINTAINERS ...it does not exist anymore. Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 4fb921439b2b4aa874d0e88cb7cf800c4178bda4 Author: Matthias Clasen Date: Mon Aug 29 18:29:16 2011 -0400 First round of NEWS updates for 2.29.18 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 027b63ab96f2c978f6670f42c27fe7c8dcdfd4aa Author: David Zeuthen Date: Mon Aug 29 16:46:45 2011 -0400 GDBusObjectManagerServer: Add locking Signed-off-by: David Zeuthen gio/gdbusobjectmanagerserver.c | 157 ++++++++++++++++++++++++++++------------ 1 file changed, 110 insertions(+), 47 deletions(-) commit 4e7ef619ebe025bd97d2a3ef8dd8c1b7baa903b2 Author: David Zeuthen Date: Mon Aug 29 16:20:50 2011 -0400 GDBusObjectManagerClient: Add locking Signed-off-by: David Zeuthen gio/gdbusobjectmanagerclient.c | 107 +++++++++++++++++++++++++++++++++------- 1 file changed, 88 insertions(+), 19 deletions(-) commit fcefc71d5932f2828a27c4064d8a64a0382891a9 Author: David Zeuthen Date: Mon Aug 29 15:29:27 2011 -0400 GDBusObjectProxy: Add locking Signed-off-by: David Zeuthen gio/gdbusobjectproxy.c | 62 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 54 insertions(+), 8 deletions(-) commit dc38967fd35286f9489a8cdcb3d811d34113ceca Author: Matthias Clasen Date: Mon Aug 29 15:18:29 2011 -0400 Don't call close on invalid fds If an fd is -1, don't call close() on it, since that leads to EBDAF and complaints from valgrind. https://bugzilla.gnome.org/show_bug.cgi?id=657593 glib/gtestutils.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit fb94a0299bbe23e8531556002cb7e2f895d736e0 Author: David Zeuthen Date: Mon Aug 29 15:19:42 2011 -0400 GDBusObjectSkeleton: Add locking Signed-off-by: David Zeuthen gio/gdbusobjectskeleton.c | 84 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 69 insertions(+), 15 deletions(-) commit faec5d6b5cebd1075cc75c8be75b8e7f225d4595 Author: David Zeuthen Date: Mon Aug 29 14:23:02 2011 -0400 GDBusInterfaceSkeleton: Add locking Signed-off-by: David Zeuthen gio/gdbusinterfaceskeleton.c | 75 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 66 insertions(+), 9 deletions(-) commit 4e4505b8deaad39d5a6dd598ad49f5cb5dd72480 Author: Stef Walter Date: Sun Aug 28 06:58:29 2011 +0200 Print out URL to HTML coverage report after 'make lcov' * For easy clicking https://bugzilla.gnome.org/show_bug.cgi?id=657540 Makefile.decl | 1 + 1 file changed, 1 insertion(+) commit 21a538934091e1449e0479daf066fa20df2dc2ef Author: Colin Walters Date: Mon Aug 29 15:05:34 2011 -0400 gdatetime: Tweak g_date_time_source_new() documentation glib/gdatetime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1b28408b8bfe282f671716a39bba3208d3fef39a Author: Matthias Clasen Date: Mon Aug 29 14:49:32 2011 -0400 Spelling fixes Spelling fixes in comments and docs, provided by Kjartan Maraas in bug 657336. gio/gapplicationcommandline.c | 2 +- gio/gasyncinitable.c | 2 +- gio/gbufferedinputstream.c | 4 ++-- gio/gcancellable.c | 2 +- gio/gconverter.c | 4 ++-- gio/gdatainputstream.c | 2 +- gio/gdbusconnection.c | 6 +++--- gio/gdbusserver.c | 2 +- gio/gdesktopappinfo.c | 2 +- gio/gdrive.c | 2 +- gio/gfile.c | 4 ++-- gio/gfileattribute.c | 2 +- gio/gfileenumerator.c | 8 ++++---- gio/gfileinputstream.c | 4 ++-- gio/gfilemonitor.c | 4 ++-- gio/ginitable.c | 8 ++++---- gio/ginputstream.c | 16 ++++++++-------- gio/giomodule.h | 2 +- gio/giostream.c | 12 ++++++------ gio/giotypes.h | 2 +- gio/gloadableicon.c | 4 ++-- gio/glocalfile.c | 2 +- gio/gmount.c | 16 ++++++++-------- gio/goutputstream.c | 22 +++++++++++----------- gio/gproxyaddressenumerator.c | 2 +- gio/gregistrysettingsbackend.c | 4 ++-- gio/gseekable.c | 4 ++-- gio/gsettings.c | 6 +++--- gio/gsettingsbackend.c | 4 ++-- gio/gsimplepermission.c | 2 +- gio/gsocket.c | 2 +- gio/gsocketaddress.c | 2 +- gio/gsocks5proxy.c | 4 ++-- gio/gunionvolumemonitor.c | 2 +- gio/gvolume.c | 6 +++--- gio/gwin32mount.c | 2 +- gio/strinfo.c | 4 ++-- glib/gbsearcharray.h | 2 +- glib/gconvert.c | 18 +++++++++--------- glib/gdataset.c | 2 +- glib/gdatetime.c | 10 +++++----- glib/gfileutils.c | 2 +- glib/gmain.c | 2 +- glib/gregex.c | 16 ++++++++-------- glib/gregex.h | 2 +- glib/gslice.c | 6 +++--- glib/gstdio.h | 2 +- glib/gstrfuncs.c | 2 +- glib/gthread.c | 6 +++--- glib/gthreadpool.c | 4 ++-- glib/gthreadprivate.h | 2 +- glib/gtimezone.c | 2 +- glib/gutf8.c | 12 ++++++------ glib/gutils.c | 2 +- glib/gvariant-parser.c | 2 +- glib/gvariant-serialiser.c | 4 ++-- glib/gvariant.c | 2 +- glib/gvarianttypeinfo.c | 2 +- glib/gvarianttypeinfo.h | 6 +++--- glib/gwin32.c | 2 +- gmodule/gmodule.c | 2 +- gmodule/gmodule.h | 2 +- gobject/gboxed.c | 4 ++-- gobject/gclosure.c | 4 ++-- gobject/glib-genmarshal.c | 2 +- gobject/gobject.c | 2 +- gobject/gobject.h | 6 +++--- gobject/gparam.c | 4 ++-- gobject/gparam.h | 2 +- gobject/gsignal.c | 4 ++-- gobject/gtype.c | 4 ++-- gobject/gvaluearray.c | 4 ++-- tests/memchunks.c | 2 +- tests/threadpool-test.c | 4 ++-- 74 files changed, 167 insertions(+), 167 deletions(-) commit 5763c631473539746646697e6a775f6eacaa08e2 Author: Colin Walters Date: Wed Aug 17 13:09:27 2011 -0400 Add Linux timerfd_create() backend for g_date_time_source_new() This makes the source efficient on Linux. Tested on Fedora 15 x86_64 + updates, kernel-2.6.40-4.fc15.x86_64 Also tested fallback code for unsupported flag TFD_TIMER_CANCEL_ON_SET on kernel 2.6.38. https://bugzilla.gnome.org/show_bug.cgi?id=655129 configure.ac | 17 ++++++++++++ glib/gdatetime.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 94 insertions(+), 2 deletions(-) commit 1feb752996b404965a2f58b29a569a273d4374fa Author: Colin Walters Date: Sat Aug 13 08:55:20 2011 -0400 gdatetime: Add g_date_time_source_new() Several different codebases in GNOME want to implement wall clocks. While we could pretty easily share a private library, it's not a substantial amount of code, and GLib already has a lot of the necessary system-specific detection and handling infrastructure. Note this initial implementation just wakes up once a second in the cancel_on_set case; we'll add the Linux-specific handling in a subsequent commit. https://bugzilla.gnome.org/show_bug.cgi?id=655129 docs/reference/glib/glib-sections.txt | 3 + glib/gdatetime.c | 156 +++++++++++++++++++++++++++++++++ glib/gdatetime.h | 3 + glib/glib.symbols | 1 + glib/gmain.h | 1 + glib/tests/Makefile.am | 4 + glib/tests/glib-clock.c | 38 ++++++++ glib/tests/timeout.c | 70 +++++++++++++++ 8 files changed, 276 insertions(+) commit 1dfe332e4505d9de9d5819087a60a591b40dde28 Author: Chao-Hsiung Liao Date: Mon Aug 29 19:18:28 2011 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1410 +++++++++++++++++++++++++++++++--------------------------- po/zh_TW.po | 1412 ++++++++++++++++++++++++++++++++--------------------------- 2 files changed, 1551 insertions(+), 1271 deletions(-) commit 67613478ebeda4c8bcc4aff154ef38cc07387cbf Author: Yuri Myasoedov Date: Sun Aug 28 22:24:49 2011 +0400 Updated Russian translation po/ru.po | 160 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 89 insertions(+), 71 deletions(-) commit 965232049f66a53005166e6c17d509ed92ec4b72 Author: Kjartan Maraas Date: Sun Aug 28 19:07:09 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 141 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 75 insertions(+), 66 deletions(-) commit b2b2f443ef3effd993de6ba3ba0883c9f81ef06f Author: Fran Dieguez Date: Sun Aug 28 16:01:03 2011 +0200 Updated galician translations po/gl.po | 97 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 56 insertions(+), 41 deletions(-) commit 41e4db80768e0155fdc5eaa71c59a7f4011e624a Author: Kalev Lember Date: Mon Aug 15 16:09:18 2011 +0300 gio/tests/gtlsconsoleinteraction: Work around missing getpass() on win32 Loosely based on a patch by Sam Thursfield . https://bugzilla.gnome.org/show_bug.cgi?id=656341 gio/tests/gtlsconsoleinteraction.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit a0029515caa2cce46fdd865d90043003bb6cd9b0 Author: Jorge González Date: Sun Aug 28 10:14:54 2011 +0200 Updated Spanish translation po/es.po | 141 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 75 insertions(+), 66 deletions(-) commit 4d08b2094e6b657e4427e8ea5cc266010aa92987 Author: Jorge González Date: Sun Aug 28 10:08:05 2011 +0200 Updated Spanish translation po/es.po | 174 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 97 insertions(+), 77 deletions(-) commit be555ed2d035759236db20d0f4b4ef9644350779 Author: Matthias Clasen Date: Sat Aug 27 23:30:43 2011 -0400 Fix symbol lists gio/gio.symbols | 1 + 1 file changed, 1 insertion(+) commit 6e80885c8d4efe20b5fe507af81ddaa7f408e8c5 Author: Matthias Clasen Date: Sat Aug 27 13:18:45 2011 -0400 Spell out file descriptors in a message Translators don't necessarily know what 'fds' are. Pointed out in bug 657454. gio/gdbusmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a2265889b174c069a58beb16dc57fc13a009263 Author: Matthias Clasen Date: Sat Aug 27 13:15:42 2011 -0400 GDBusMessage: Use ngettext() where appropriate Pointed out in bug 657452. gio/gdbusmessage.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 06b23e2b5416e994d29560436587a04b762e21cd Author: Dan Winship Date: Sat Aug 27 12:08:32 2011 -0400 gsocketaddress: don't return ABSTRACT if the OS doesn't support it FreeBSD apparently has non-0-length (but nameless) ANONYMOUS sockets. Fix the heuristics here. gio/gsocketaddress.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit aa10574dc37982457765783781f5e0e67015d4ae Author: Dan Winship Date: Sat Aug 27 11:36:05 2011 -0400 gunixcredentialsmessage: fix this on FreeBSD pointed out by Henry Hu https://bugzilla.gnome.org/show_bug.cgi?id=628904 gio/gunixcredentialsmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cef679d004b9fe89ae08519861e235818dd57b46 Author: Dan Winship Date: Sat Aug 27 09:59:02 2011 -0400 GSocket: fix GIOCondition on timed-out socket operation The docs for g_socket_set_timeout() claimed that if an async operation timed out, the GIOCondition passed to the source callback would be G_IO_IN or G_IO_OUT (thus prompting the caller to call g_socket_receive/send and get a G_IO_ERROR_TIMED_OUT), but in fact it ended up being 0, and gio/tests/socket.c was erroneously testing for that instead of the correct value. Fix this. gio/gsocket.c | 3 ++- gio/tests/socket.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 60f23ecbbc7d65eb5188875dc2c50a5f793a82a4 Author: Og B. Maciel Date: Fri Aug 26 11:07:57 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c04496d98d05edf3fa77db8d0a2c61634471f46b Author: Og B. Maciel Date: Fri Aug 26 11:07:32 2011 -0400 Fixed typo: s/ether/enter. gio/gtlspassword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 54b34bd4e41f5cfaeee6eff1aeb925c80ced699b Author: Og B. Maciel Date: Fri Aug 26 11:06:13 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit d789e78dff26d787b5a55c4b7f5858a7219d5a96 Author: Stef Walter Date: Fri Aug 26 15:27:19 2011 +0200 giomodule: When loading GIO_EXTRA_MODULES skip duplicates * Load modules from paths listed in GIO_EXTRA_MODULES environment variable first. * Ignore duplicate modules based on module basename. * Add the concept of GIOModuleScope which allows other callers to skip duplicate loaded modules, or block specific modules based on basename. * Document behavior. https://bugzilla.gnome.org/show_bug.cgi?id=656914 docs/reference/gio/gio-sections.txt | 5 + gio/gio.symbols | 5 + gio/gioenums.h | 16 +++ gio/giomodule.c | 202 ++++++++++++++++++++++++++++++++--- gio/giomodule.h | 12 +++ 5 files changed, 224 insertions(+), 16 deletions(-) commit 78ec02647e1b85596732e99beb31ac4d2285af34 Author: Og B. Maciel Date: Fri Aug 26 09:04:41 2011 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 1805 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1093 insertions(+), 712 deletions(-) commit 41432cb375eb04729c8fe506c40ce79fc803028b Author: Stef Walter Date: Sat Aug 13 14:03:53 2011 +0200 Make GTlsInteraction virtual methods cancellable * Add cancellable argument to g_tls_interaction_ask_password and g_tls_interaction_ask_password_async. * This is API breakage, but this API has not yet been released in a stable release (and very unlikely used yet). * Since we're breaking unreleased API, expand amount of padding on GTlsInteractionClass because we're going to need it. https://bugzilla.gnome.org/show_bug.cgi?id=656443 gio/gioenums.h | 12 ++++---- gio/gtlsinteraction.c | 57 ++++++++++++++++++++++++++++++------ gio/gtlsinteraction.h | 18 ++++++++---- gio/tests/gtlsconsoleinteraction.c | 25 ++++++++++++---- 4 files changed, 87 insertions(+), 25 deletions(-) commit 7d679717f0007dac2f86f05edc763f373135aeee Author: Dieter Verfaillie Date: Tue Aug 23 07:37:05 2011 +0200 Add gdbus-codegen to glib-zip.in https://bugzilla.gnome.org/show_bug.cgi?id=650763 glib-zip.in | 3 +++ 1 file changed, 3 insertions(+) commit a2614efd145eb4e20b0d7643c6f53c50a4d09296 Author: Dieter Verfaillie Date: Tue Aug 23 06:36:47 2011 +0100 Make gdbus-codegen 'relocatable' at runtime on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=650763 gio/gdbus-2.0/codegen/gdbus-codegen.in | 3 +++ 1 file changed, 3 insertions(+) commit acb5b852c1175675d0edd2f05f76aefdaa29e1c7 Author: Dieter Verfaillie Date: Thu Aug 25 10:45:40 2011 +0100 gdbus-codegen: Revert to using /usr/bin/env for Python After a lot of discussion, we decided /usr/bin/env is the most flexible for now. https://bugzilla.gnome.org/show_bug.cgi?id=650763 gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit cd0cd950785515d826abbe55d6b5948c411e1490 Author: Dieter Verfaillie Date: Tue Aug 23 16:38:36 2011 +0100 Introduce the UNINSTALLED_GLIB_SRCDIR environment variable This makes it possible to avoid setting PYTHONPATH in Makefile.am files. https://bugzilla.gnome.org/show_bug.cgi?id=650763 gio/gdbus-2.0/codegen/gdbus-codegen.in | 13 +++++++++---- gio/tests/Makefile.am | 4 ++-- gio/tests/gdbus-object-manager-example/Makefile.am | 4 ++-- 3 files changed, 13 insertions(+), 8 deletions(-) commit 5391aae0093c8046208ed1c7e3ae32ce9186057f Author: Dieter Verfaillie Date: Tue Aug 23 17:37:35 2011 +0200 Introduce the UNINSTALLED_GLIB_BUILDDIR environment variable This makes it possible to also use relative imports for gdbus-codegen's config module. https://bugzilla.gnome.org/show_bug.cgi?id=650763 gio/gdbus-2.0/codegen/__init__.py | 29 ++++++++++++++++++ gio/gdbus-2.0/codegen/codegen.py | 2 +- gio/gdbus-2.0/codegen/codegen_docbook.py | 2 +- gio/gdbus-2.0/codegen/codegen_main.py | 2 +- gio/tests/Makefile.am | 32 +++++++++++--------- gio/tests/gdbus-object-manager-example/Makefile.am | 16 +++++----- 6 files changed, 58 insertions(+), 25 deletions(-) commit 5dc3c2efc89ef57fe159736ab52aae8ff25a745c Author: Dieter Verfaillie Date: Tue Aug 23 07:35:01 2011 +0200 Use relative imports for the gdbus/codegen package But not yet for the config module (but is taken care of in a followup patch). https://bugzilla.gnome.org/show_bug.cgi?id=650763 gio/gdbus-2.0/codegen/codegen.py | 4 ++-- gio/gdbus-2.0/codegen/codegen_docbook.py | 6 +++--- gio/gdbus-2.0/codegen/codegen_main.py | 10 +++++----- gio/gdbus-2.0/codegen/dbustypes.py | 2 +- gio/gdbus-2.0/codegen/parser.py | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) commit 0eaec4e59a9a9662f82d9ceb0c00c15a396adc3f Author: Dieter Verfaillie Date: Tue Aug 23 07:32:18 2011 +0200 Avoid using - (hyphen) in gdbus-codegen directory name It's an invalid character in Python module names and prevents us from being able to import it. https://bugzilla.gnome.org/show_bug.cgi?id=650763 configure.ac | 4 +- gio/Makefile.am | 2 +- gio/gdbus-2.0/codegen/.gitignore | 2 + gio/gdbus-2.0/codegen/Makefile.am | 30 + gio/gdbus-2.0/codegen/codegen.py | 3351 ++++++++++++++++++++++++++++++ gio/gdbus-2.0/codegen/codegen_docbook.py | 325 +++ gio/gdbus-2.0/codegen/codegen_main.py | 200 ++ gio/gdbus-2.0/codegen/config.py.in | 27 + gio/gdbus-2.0/codegen/dbustypes.py | 414 ++++ gio/gdbus-2.0/codegen/gdbus-codegen.in | 33 + gio/gdbus-2.0/codegen/parser.py | 290 +++ gio/gdbus-2.0/codegen/utils.py | 104 + gio/gdbus-codegen/.gitignore | 2 - gio/gdbus-codegen/Makefile.am | 30 - gio/gdbus-codegen/codegen.py | 3351 ------------------------------ gio/gdbus-codegen/codegen_docbook.py | 325 --- gio/gdbus-codegen/codegen_main.py | 200 -- gio/gdbus-codegen/config.py.in | 27 - gio/gdbus-codegen/dbustypes.py | 414 ---- gio/gdbus-codegen/gdbus-codegen.in | 33 - gio/gdbus-codegen/parser.py | 290 --- gio/gdbus-codegen/utils.py | 104 - 22 files changed, 4779 insertions(+), 4779 deletions(-) commit 33831bda2465c8f1e5d4a3fd2bf4e3618a812282 Author: Ionut Biru Date: Wed Aug 24 19:09:53 2011 +0000 Use detected PYTHON shebang in gdbus-codegen Change the hardcoded /usr/bin/python shebag from gdbus-codegen.in into @PYTHON@. Is used in Makefile.am to use detected python binary. $(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@ Signed-off-by: Ionut Biru https://bugzilla.gnome.org/show_bug.cgi?id=657274 gio/gdbus-codegen/gdbus-codegen.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe8ca95882a88877ff8a7eac817a4d33149767c1 Author: Yuri Myasoedov Date: Thu Aug 25 18:59:56 2011 +0400 Updated Russian translation po/ru.po | 1302 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 632 insertions(+), 670 deletions(-) commit 2e05470e3a8928e960dd093a89bb325a21e64df9 Author: Javier Jardón Date: Thu Aug 25 12:26:27 2011 +0100 glib.doap: Fix download location glib.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 471593ebf0e133f97c08b27f357bc16ece5f81ec Author: Matthias Clasen Date: Wed Aug 24 21:23:36 2011 -0400 GCancellable: Small annotation additions https://bugzilla.gnome.org/show_bug.cgi?id=657243 gio/gcancellable.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 3cb189c1ce5cc99c3c872becf38c4be95a0ed6e9 Author: Fran Dieguez Date: Wed Aug 24 20:59:50 2011 +0200 Updated Galician translations po/gl.po | 210 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 113 insertions(+), 97 deletions(-) commit 28e6ad2dbcc9a7fb1ae3850ac7d1a10b17215e78 Author: Daniel Mustieles Date: Wed Aug 24 19:57:14 2011 +0200 Updated Spanish translation po/es.po | 214 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 115 insertions(+), 99 deletions(-) commit 2cd3c200687751c9cc26774f650b7651bffcc598 Author: Dan Winship Date: Mon Aug 22 11:37:48 2011 -0400 gfileutils: fix docs/annotations for temp file methods https://bugzilla.gnome.org/show_bug.cgi?id=657084 glib/gfileutils.c | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) commit 24e03ed409570cd026c459436db1b1a3e4bf3789 Author: Emmanuele Bassi Date: Wed Aug 24 18:20:32 2011 +0100 Add DOAP file and remove MAINTAINERS MAINTAINERS | 12 ------------ glib.doap | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 12 deletions(-) commit b11eb65c67d2bc29fbcb52f3d14bb0e121f22201 Author: Kjartan Maraas Date: Wed Aug 24 15:38:46 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 166 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 85 insertions(+), 81 deletions(-) commit 4d544b51a47c6d0172229c60c3e2ac59d0c12a66 Author: Daniel Nylander Date: Wed Aug 24 09:19:20 2011 +0200 Updated Swedish translation po/sv.po | 274 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 117 insertions(+), 157 deletions(-) commit ff0cf7b681a2aac3b0f4b5608c8500db969ad4b7 Author: Philip Withnall Date: Tue Aug 23 23:47:54 2011 +0100 Bug 657206 — GInputStream leaked in g_file_icon_load_async() Add a missing unref to g_file_icon_load_async(). Closes: bgo#657206 gio/gfileicon.c | 1 + 1 file changed, 1 insertion(+) commit 30d9636df24000812179f6910cf5c4c3de23cdcd Author: Eduardo Lima Mitev Date: Thu Jul 29 13:59:42 2010 +0200 GIO: Add more missing GI annotations - g_io_extension_point_register() - g_io_extension_point_lookup() - g_io_extension_point_implement() https://bugzilla.gnome.org/show_bug.cgi?id=625383 gio/giomodule.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 47987eaf1411bd2fb197524d204b43af9a4a41ac Author: Мирослав Николић Date: Tue Aug 23 19:02:55 2011 +0200 Updated Serbian translation po/sr.po | 1408 +++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 1408 +++++++++++++++++++++++++++++++------------------------- 2 files changed, 1554 insertions(+), 1262 deletions(-) commit e604b2d0aff562c364b22cb7074a9261774c491f Author: David Zeuthen Date: Tue Aug 23 12:57:14 2011 -0400 gdbus-codegen: update comment in code to reflect reality Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 4 ---- 1 file changed, 4 deletions(-) commit 05448a6befddb83eefa1214ca699efed248c32e5 Author: David Zeuthen Date: Tue Aug 23 12:46:32 2011 -0400 gdbus-codegen: Rework C property getters Rework property getters to use a vfunc so we can take the fast path and avoid allocating memory for both the skeleton and the proxy cases. This requires some special case because of how GVariant expects you to free memory in some cases, see #657100. Add test cases for this. Document the _get_ functions as not being thread-safe and also generate _dup_ C getters (which are thread-safe). Mark all the generated _get_, _dup_ and _set_ as (skip) as non-C languages should just use GObject properties and not the (socalled) "C binding". Signed-off-by: David Zeuthen .../gdbus-object-manager-example-sections.txt | 2 + gio/gdbus-codegen/codegen.py | 267 +++++++++++++++----- gio/gdbus-codegen/dbustypes.py | 42 +++ gio/tests/gdbus-test-codegen.c | 23 ++ 4 files changed, 274 insertions(+), 60 deletions(-) commit a9e2305dce176fdeedc5f1b049a2f740005df539 Author: Dan Winship Date: Tue Aug 23 08:28:15 2011 -0400 po: add missing gtls files to POTFILES.in Pointed out by Daniel Mustieles https://bugzilla.gnome.org/show_bug.cgi?id=657138 po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit d617091d8005279cb055e3de125f41898b427e24 Author: Matthias Clasen Date: Mon Aug 22 22:01:39 2011 -0400 gdatetime: Don't include langinfo.h unconditionally It doesn't exist on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=657083 glib/gdatetime.c | 3 +++ 1 file changed, 3 insertions(+) commit d51e0615f9a6c1aa1898c46f2cf3135ca5ccd463 Author: Chun-wei Fan Date: Tue Aug 23 00:22:06 2011 +0800 Update VS property sheets Stop the "installation" of gio/gtimezonemonitor.h as it has been removed from GIO (commit 5b68b49b2072) build/win32/vs10/glib.props | 2 -- build/win32/vs9/glib.vsprops | 1 - 2 files changed, 3 deletions(-) commit 7e5874dd174e3761e1fec4d15ca7c2a66013f4b1 Author: Chun-wei Fan Date: Tue Aug 23 00:08:24 2011 +0800 Update GLib Visual C++ Projects Define USE_SYSTEM_PCRE for all configurations which uses the PCRE that was already built and "installed" beforehand (i.e. the *_ExtPCRE configurations) so that the compilation will not pick up the GLib-bundled pcre.h when one wants to use the PCRE "installation" on his/her system. build/win32/vs10/glib.vcxprojin | 8 ++++---- build/win32/vs9/glib.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 09a322c8e4822327130b91e16fa827c410996bce Author: Chun-wei Fan Date: Tue Aug 23 00:03:51 2011 +0800 Update config.h.win32.in Make the pre-configured config.h(.win32.in) for Windows more like the config.h that would be produced during ./configure on Windows systems. config.h.win32.in | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit 5b68b49b2072c371c72ee96175e3d6a727eb5e8b Author: Colin Walters Date: Fri Aug 19 03:27:16 2011 -0400 GTimeZoneMonitor: Revert addition of this class The main rationale for adding it was to avoid having gnome-shell mmap'ing /etc/localtime once a second. However, we can just as easily run inotify there, and given no one else was clamoring for a way to detect when the time zone changes, I don't see a need for public API here - at least not yet. In the bigger picture, I just don't believe that the vast majority of applications are going to go out of their way to instantiate and keep around a random GTimeZoneMonitor class. And if they do, it's has the side effect that for other bits of code in the process, local GDateTime instances may start varying again! So, if code can't rely on local GDateTime instances being in a consistent state anyways, let's just do that always. The documentation now says that this is the case. Applications have always been able to work in a consistent local time zone by instantiating a zone and then using it for GDateTime constructors. We fix the "gnome-shell stats /etc/localtime once a second" issue by using timerfd (in glib) and inotify (in gnome-shell). https://bugzilla.gnome.org/show_bug.cgi?id=655129 docs/reference/gio/gio-sections.txt | 13 --- docs/reference/gio/gio.types | 1 - docs/reference/glib/glib-sections.txt | 2 - gio/Makefile.am | 2 - gio/gio.h | 1 - gio/gio.symbols | 2 - gio/gtimezonemonitor.c | 156 --------------------------------- gio/gtimezonemonitor.h | 47 ---------- glib/glib.symbols | 1 - glib/gtimezone.c | 66 ++------------ glib/gtimezone.h | 2 - glib/tests/gdatetime.c | 17 ---- 12 files changed, 5 insertions(+), 305 deletions(-) commit 5fbf3c93b236970e1c68be05c08322099a51e6bf Author: Chun-wei Fan Date: Mon Aug 22 22:35:31 2011 +0800 Update VS property sheets -Added glib/ghmac.h to the list of files to copy during the "install" stage -Cleaned up a bit (glib-2.0->glib-$(ApiVersion), where $(ApiVersion) is 2.0) build/win32/vs10/glib.props | 8 +- build/win32/vs9/glib.vsprops | 443 +++++++++++++++++++++--------------------- 2 files changed, 229 insertions(+), 222 deletions(-) commit f0db0d22cc2e22a9033947f5139b359962a3f81e Author: Colin Walters Date: Sat Aug 13 06:03:18 2011 -0400 gmain: Clarify that timeouts are in terms of monotonic time Also note that monotonic time does not include time spent while suspended (at least on Linux). https://bugzilla.gnome.org/show_bug.cgi?id=655129 glib/gmain.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 527dc867225ae815356d2d1a72213abe981bd067 Author: Matthias Clasen Date: Sun Aug 21 23:48:07 2011 -0400 GDateTime: use nl_langinfo() when available This makes g_date_time_format() react to LC_TIME, which is what people expect. Translators: this change means that the GDateTime strings are only used when the C library does not already provide suitable translated strings for these (month names, etc). configure.ac | 17 +++++++++++++++++ glib/gdatetime.c | 38 ++++++++++++++++++++++++++++++++++---- 2 files changed, 51 insertions(+), 4 deletions(-) commit 040dcc8a7882a6e99fe80a712c3c9804b23b16f4 Author: Matthias Clasen Date: Sun Aug 21 23:36:31 2011 -0400 GDateTime: cosmetics Shuffle things around a bit, to move locale-dependent things together. glib/gdatetime.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 6fae33b10aa46f1b1bde7f8b0c871f2f13add6e0 Author: Matthias Clasen Date: Sun Aug 21 23:32:28 2011 -0400 GDateTime: cosmetics Don't hide the recursion in g_date_time_format() behind a macro, make it explicit. glib/gdatetime.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 76856241d0e845b3fc05812348af004a75bd1c50 Author: Matthias Clasen Date: Sun Aug 21 21:33:30 2011 -0400 Add a quick utility to test datetime formatting tests/Makefile.am | 4 +++- tests/datetime.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) commit 2282036b5df46741e33441033dac466b3614b4f9 Author: Matthias Clasen Date: Sun Aug 21 20:45:57 2011 -0400 GDateTime: don't use separate strings for upper/lowercase am/pm We can just as well change the case ourselves. glib/gdatetime.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 414c8ce532c19fe65deb8dfb80222d0164be5cbe Author: Matthias Clasen Date: Sun Aug 21 19:51:45 2011 -0400 g_date_time_format: support %T strftime supports it, and there is no reason not to do the same. glib/gdatetime.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit fd1a12ca4dd164be612fbcd7ab8874b91193cdac Author: Pavel Holejsovsky Date: Sun Aug 21 17:15:52 2011 +0200 [gi] Add signal annotations gobject/gsignal.c | 41 +++++++++++++++++++++-------------------- gobject/gsignal.h | 4 ++-- 2 files changed, 23 insertions(+), 22 deletions(-) commit e7a9b3196becd11482abf854b250ef06d6904fe1 Author: Pavel Holejsovsky Date: Sun Aug 21 17:12:18 2011 +0200 [gi] Add annotations to g_quark functions glib/gdataset.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit af210cd0eed755eb461da0ccce38fe99545ffd08 Author: Pavel Holejsovsky Date: Fri Aug 19 10:34:02 2011 +0200 Add missing GClosure annotations gobject/gclosure.c | 7 ++++--- gobject/gclosure.h | 19 +++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) commit de6566b07d54dcfefff4d1e18239e7e865fd4a51 Author: Pavel Holejsovsky Date: Fri Aug 19 10:34:37 2011 +0200 Add missing (allow-none) annotations to g_value_set_string functions gobject/gvaluetypes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 26548e05bbb9bc2278fabeee07f6601f39d1a4dc Merge: f07b854 54579bf Author: Stef Walter Date: Fri Aug 19 11:21:11 2011 +0200 Merge branch 'concurrent-cancellable' commit 54579bf88f2af4056fd19e539cc336bd17baea18 Author: Stef Walter Date: Fri Aug 12 11:49:31 2011 +0200 gio: GCancellable can be used concurrently * Update documentation to note that GCancellable can be used concurrently by multiple operations. * Add documentation to g_cancellable_reset that behavior is undefined if called from within cancelled handler. * Add test for multiple concurrent operations using the same cancellable. https://bugzilla.gnome.org/show_bug.cgi?id=656387 gio/gcancellable.c | 7 +- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 + gio/tests/cancellable.c | 224 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 233 insertions(+), 2 deletions(-) commit f07b854a2b28dde75b3b0eb4746e674b2a220a42 Author: A S Alam Date: Fri Aug 19 08:26:25 2011 +0530 update translation for Punjabi po/pa.po | 1369 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 772 insertions(+), 597 deletions(-) commit 931196a4d87a55aa4835cfaaf01db9888a52fca3 Author: Abduxukur Abdurixit Date: Fri Aug 19 19:42:26 2011 +0200 Added UG translation po/ug.po | 264 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 156 insertions(+), 108 deletions(-) commit 654b349c30432ac03d48e6e9a8aae7fb543a78bb Author: Christian Dywan Date: Thu Aug 18 01:38:34 2011 +0200 Use actual uint64 values to compare uint64 variants Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=656772 glib/gvariant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4c5e3b1566616bf65b2d92b625c712dab961052 Author: Pavel Holejsovsky Date: Wed Aug 17 07:37:36 2011 +0200 Add (allow-none) annotation for GValue setters. Assorted g_value_set_xxx() and g_value_take_xxx() functions actually allow NULL in source parameter. gobject/gboxed.c | 8 ++++---- gobject/gobject.c | 6 +++--- gobject/gparam.c | 6 +++--- gobject/gvalue.c | 2 +- gobject/gvaluetypes.c | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) commit e3219c8425e9417ee888dd2aa8b5c826da62edc1 Author: Behdad Esfahbod Date: Wed Aug 17 12:13:17 2011 +0200 Fixup max decomposition len guarantee Unicode Technical Committee agreed to limit decomposition length to 18 in both cases. Reflect that. glib/gunidecomp.c | 9 ++++++--- glib/guniprop.c | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) commit b5f1ea4bb1070f1fbf6fc5170136254192c9bff0 Author: Brian Cameron Date: Wed Aug 17 03:01:14 2011 -0500 void functions should not return. Fixes bug #656675. gio/gdbusconnection.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gdbusproxy.c | 4 ++-- gio/gtlsdatabase.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) commit b18ca488aef461295c0a728d0111e401cc482b57 Author: Ryan Lortie Date: Mon Aug 15 21:01:52 2011 -0400 post-release bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e17ce3594e9d6d9ed6c9d2fd48a82ddcbb1ffcbc Author: Ryan Lortie Date: Mon Aug 15 21:01:28 2011 -0400 glib 2.29.16 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a4663343f81902f16cf43cd4a5bfc3ccf510200 Author: Ryan Lortie Date: Mon Aug 15 21:01:23 2011 -0400 distcheck fixes gio/tests/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) commit 4cd5762cccae21fe8c24b0679022974043c19114 Author: Matthias Clasen Date: Mon Aug 15 18:51:42 2011 -0400 More NEWS updates NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) commit 472bd4d8a14977ed35c5948b6ed7cafde9a85b05 Author: Ryan Lortie Date: Mon Aug 15 13:33:27 2011 -0400 Updated Esperanto translation Esperanto weekdays and month days are written in lowercase (as in French). po/eo.po | 76 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) commit 67cf3ea3682a0bd5b94e7b546675ec685a686a5a Author: Simon McVittie Date: Mon Aug 15 16:00:51 2011 +0100 Add a stress-test for GDBusProxy in threads with no default main context Destroying a GDBusProxy in a thread used to race with NameOwnerChanged being delivered to the main context's thread (GNOME #651133). Also, g_dbus_proxy_call_sync in a thread would race with NameOwnerChanged being delivered to the main context's thread and rewriting the name_owner (GNOME #656039). Bug: https://bugzilla.gnome.org/show_bug.cgi?id=656039 Bug-NB: NB#259760 Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 5 + gio/tests/gdbus-proxy-threads.c | 253 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 259 insertions(+) commit 85214d1e7f1c1e065b2e05dae9d6cae29887e3d3 Author: Simon McVittie Date: Mon Aug 15 15:59:45 2011 +0100 GDBusProxy: hold properties_lock while using any mutable property This changes the meaning of "properties_lock" from "lock for D-Bus properties" to "lock for GObject properties". The most common problem, and the only one I've reproduced in a regression test, is name_owner, which can be updated by the thread that owns the GDBusProxy's main context (i.e. the thread-default main context of the thread that constructed it) at the same time that a blocking call is made. When a GDBusProxy is constructed in a thread-pool thread for short-term use, the main context will typically be the global default main context (which is actively running in the main thread!), making this extremely problematic. The interface info is perhaps a theoretical concern - one thread could conceivably set it at the same time that another thread uses it, but only in relatively pathological situations. The current API for this does have the problem that it returns a borrowed ref, but interface info is hopefully permanent anyway. The default timeout is probably only a theoretical concern - it's just an int, so writes are indivisible, and there's no worry about whether something has been freed - but to be safe, let's hold the lock for that too. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=656039 Bug-NB: NB#259760 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 132 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 109 insertions(+), 23 deletions(-) commit 5909cb10315ca0f331ccb97225f008c11ca0d9d7 Author: Simon McVittie Date: Mon Aug 8 18:29:20 2011 +0100 GDBusProxy: factor out async_init_data_set_name_owner This removes the need for async_init_get_name_owner_cb to cope with being called without a real GAsyncResult, and will simplify the addition of correct thread-locking. In async_init_data_set_name_owner, use the name_owner parameter instead of the corresponding member of GDBusProxyPrivate, partly to reduce pointer-chasing but mainly to avoid needing to hold the lock. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 90 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 43 deletions(-) commit 03ae974f7cc992450907401f45e7de645caff141 Author: Simon McVittie Date: Mon Aug 8 18:22:42 2011 +0100 g_dbus_proxy_get_property: use accessors for all mutable state These ought to have thread-locking, and having it in the accessor seems better than duplicating it here. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 20387d262ff104f9de3defc264c5c2010d272857 Author: Simon McVittie Date: Mon Aug 15 15:57:59 2011 +0100 GDBusProxy: if a well-known name is not owned, don't GetAll from the dbus-daemon If you run: ( cd gio/tests && G_DBUS_DEBUG=all ./gdbus-proxy-well-known-name ) you can see that in the case where the name com.example.TestService isn't owned yet, the GDBusProxy calls GetAll() with no destination, resulting in an error reply from the peer (the dbus-daemon itself). That's clearly not right! However, if priv->name is NULL, that indicates the special case where we really do want to talk directly to a peer, instead of via the bus daemon (most likely to be used on peer-to-peer connections); in that special case, do call GetAll(). Signed-off-by: Simon McVittie Signed-off-by: David Zeuthen gio/gdbusproxy.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 2b0171a8080c233f85c1d66fa6df6d75640b37e5 Author: Ryan Lortie Date: Mon Aug 15 10:42:35 2011 -0400 g_settings_bind: add some g_return checks https://bugzilla.gnome.org/show_bug.cgi?id=636405 gio/gsettings.c | 3 +++ 1 file changed, 3 insertions(+) commit e1b41dcb9118b6e182119cb85fd05b45f07c059c Author: Ryan Lortie Date: Wed Aug 10 12:25:57 2011 +0200 ghash: fix error in "as a set" documentation glib/ghash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20a4f2578fe74e80f58c442356bd2b91d790d7f8 Author: David Zeuthen Date: Mon Aug 15 05:43:24 2011 -0400 GDBusObjectManagerClient: Emit signals on proxy before emitting on manager This is needed because the proxy may need to update its internal state which a signal handler connected to the manager may rely on. Signed-off-by: David Zeuthen gio/gdbusobjectmanagerclient.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 230efe70f418017e809e99710e0519f716edebe3 Author: Antoine Jacoutot Date: Sun Aug 14 01:23:36 2011 +0200 open(2): POSIX compatibility. Posix allows for open(2) to fail with errno = EINTR. Normal this isn't seen when opening files. However in some case we are opening a fifo for write which will block until another process opens it for read. If a signal is received while blocked, open(2) fails with errno = EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=656492 glib/giounix.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit b76bb6713ba12a88fbccdaaf063d916ecd3af0b2 Author: Matthias Clasen Date: Sun Aug 14 14:09:58 2011 -0400 Add g_mkdtemp in the spirit of g_mkstemp At the same time, also add g_mkdtemp_full and g_dir_make_tmp variants. The patch also unifies the unique-name-generating code for all variants of mkstemp and mkdtemp and adds tests for the new functions. Based on patches by Paolo Bonzini, http://bugzilla.gnome.org/show_bug.cgi?id=118563 docs/reference/glib/glib-sections.txt | 3 + glib/gfileutils.c | 398 ++++++++++++++++++++------------- glib/gfileutils.h | 17 +- glib/glib.symbols | 3 + tests/file-test.c | 52 +++++ 5 files changed, 313 insertions(+), 160 deletions(-) commit 8377a886857396854069fb7a8309baeb77f144c2 Author: Matthias Clasen Date: Sun Aug 14 12:03:36 2011 -0400 GHmac: pedantic doc fixes Add a link to an explanation of what HMAC is, and tweak some formatting. glib/ghmac.c | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) commit 1cb8640ccc2fbd7ef301e6526ee2043ed5061359 Author: Matthias Clasen Date: Sun Aug 14 00:47:04 2011 -0400 News for 2.29.16 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit acbcb8f7e37b1c0ff872fdbb74df7de690bc2c6f Author: Stef Walter Date: Sun Aug 14 09:27:45 2011 +0200 hmac: Implementation of HMAC in glib This implements g_hmac_xxx() functionality using the standard checksum functions supported by glib. HMAC is a secure way to hash a key and a password. Many other approaches fraught with append and prepend issues. Includes test cases defined in relevant RFCs https://bugzilla.gnome.org/show_bug.cgi?id=652480 docs/reference/glib/glib-sections.txt | 16 ++ glib/Makefile.am | 2 + glib/ghmac.c | 388 +++++++++++++++++++++++++++++++++ glib/ghmac.h | 71 ++++++ glib/glib.h | 1 + glib/glib.symbols | 9 + glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 + glib/tests/hmac.c | 268 +++++++++++++++++++++++ 9 files changed, 759 insertions(+) commit d2ca14c270a8a0c01d8a897fad4ea2a9c2e31105 Author: Marc-André Lureau Date: Sun Jul 17 21:18:04 2011 +0200 Add G_VALUE_INIT The implementation of GValue is not public or documented. When allocated on the stack, initializing a GValue is usually done as documented with: GValue value = { 0, }; There is lot code around (including WebKit) that added all the missing fields, resulting in this ugly and non-obvious: GValue value = { 0, { { 0 } } }; However, this doesn't play nice with -Wmissing-field-initializers for example. Thus, G_VALUE_INIT. http://bugzilla.gnome.org/show_bug.cgi?id=654793 http://bugzilla.gnome.org/show_bug.cgi?id=577231 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gvalue.c | 6 +++--- gobject/gvalue.h | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) commit a9ca74efb11bda0a90f482a44bb2ec214744ecc6 Author: Sjoerd Simons Date: Wed Aug 10 15:56:13 2011 +0200 Don't finish gtls connection if the handshake failed https://bugzilla.gnome.org/show_bug.cgi?id=656283 gio/gsocketclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ae496a52a92c137b624eee3f5cf54e7756143086 Author: Matthias Clasen Date: Sat Aug 13 16:09:41 2011 -0400 GDBusProxy: on_properties_changed initialize some variables This avoids calling g_variant_unref and g_free on uninitialized memory if PropertiesChanged is received in the creating thread's thread-default main context's thread, at the same time as releasing the last ref in another thread. This would result in "goto out" before the variables freed after that label had been initialized to NULL. Based on a patch by Simon McVittie, bug 656282 gio/gdbusproxy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 655299a0579b8c9b418eab2301201c1fd25d89ae Author: Matthias Clasen Date: Sat Aug 13 15:48:47 2011 -0400 gdatetime: Add a test for %OM glib/tests/gdatetime.c | 1 + 1 file changed, 1 insertion(+) commit be933706059a8d92fb8858219f5936f332b68f4a Author: Matthias Clasen Date: Sat Aug 13 15:29:29 2011 -0400 Remove a gccism Pointed out in bug 656152. glib/tests/checksum.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 3c504e47656e7d26c0c24465f492b92f673a5cec Author: Matthias Clasen Date: Sat Aug 13 15:07:38 2011 -0400 Fix statfs/statvfs decision We want to force use of statvfs when statfs is deficient. This does not make any difference on Linux. https://bugzilla.gnome.org/show_bug.cgi?id=656151 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5472ed2325cac108f9faefaff5c86ec5d9e829b Author: Matthias Clasen Date: Sat Aug 13 13:53:34 2011 -0400 Trivial typo fix gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 428f49b9c8d56ae18398d4bb33c70c80eda1d21d Author: David Zeuthen Date: Fri Aug 12 11:10:22 2011 -0400 In addition to /media and $HOME, also show mounts in $XDG_USER_DIR Prepare for the future where udisks will use $XDG_USER_DIR/Volumes instead of /media when mounting filesystems on behalf of the user. Signed-off-by: David Zeuthen gio/gunixmounts.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9fafa343456ec7c6c6f5fce8b6a1116c149d7949 Author: Andika Triwidada Date: Fri Aug 12 15:48:34 2011 +0700 Updated Indonesian translation po/id.po | 1803 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 869 insertions(+), 934 deletions(-) commit ebc74835e09754c8a784e6f4f4eece3715ef03ea Author: Chun-wei Fan Date: Fri Aug 12 11:43:40 2011 +0800 Update VS property sheets ("install" phase) Copy the new GioTLS headers that were introduced into the GIO library in commit 0f99cfa8822514dc6b7ccbc59efbe68f27aeb172 during the "install" stage. build/win32/vs10/glib.props | 8 ++++++++ build/win32/vs9/glib.vsprops | 4 ++++ 2 files changed, 12 insertions(+) commit 2f8664306d20772f47a46af26637615a54fdfc39 Author: Alexander Shopov Date: Thu Aug 11 20:55:20 2011 +0300 Updated Bulgarian translation po/bg.po | 632 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 345 insertions(+), 287 deletions(-) commit ea6e2968bfdee766c8d3d5fd5b5bac34bcaaaf3e Author: Behdad Esfahbod Date: Thu Aug 11 19:02:14 2011 +0200 [gobject] Fix G_DEFINE_BOXED_TYPE compilation with C++ gobject/gtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3fd789bb759aefb6fda144b953c2d09fc0dc20d Author: Martin Pitt Date: Thu Aug 11 14:08:33 2011 +0200 [gi] Add missing (out) annotation to g_dbus_{node,interface}_info_generate_xml() gio/gdbusintrospection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 782f83938395c0ac57198ec081e9566c170ef8ef Author: Martin Pitt Date: Thu Aug 11 11:36:22 2011 +0200 [gi] Add missing Gio transfer annotations gio/gdbusproxy.c | 5 +++-- gio/gtimezonemonitor.c | 2 +- gio/gtlsbackend.c | 3 ++- gio/gtlsclientconnection.c | 2 +- gio/gtlsconnection.c | 2 +- gio/gtlsfiledatabase.c | 2 +- gio/gtlsserverconnection.c | 2 +- 7 files changed, 10 insertions(+), 8 deletions(-) commit 0e548251201db63eb0c80091877f44df14f4a0fe Author: Martin Pitt Date: Thu Aug 11 11:05:31 2011 +0200 [gi] Fix parameter name typos in Gio docstrings Found by GIR compiler when building gobject-introspection: gir/gio-2.0.c:33525: Warning: Gio: g_tls_password_set_description: unknown parameter 'flags' in documentation comment, should be one of 'password', 'description' gir/gio-2.0.c:14568: Warning: Gio: g_action_group_action_state_changed: unknown parameter 'state' in documentation comment, should be one of 'action_group', 'action_name', 'value' gio/gactiongroup.h | 2 +- gio/gtlspassword.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 77a10feafa4f77f1fcadb2ed1fd5da41dced3553 Author: Chun-wei Fan Date: Thu Aug 11 15:30:48 2011 +0800 Bug 652827: Update config.h.win32.in Add check macro for HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS, as it is now required for MSVC builds of glib/gatomic.c GLib 2.29.15+. It is true that the MinGW cross-compiler on Linux systems will have HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS and HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS defined during the completion of ./configure, but since this file is primarily meant for people compiling -on- Windows (and that the "native" Windows MinGW would neither ./configure to define HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS and HAVE_WIN32_BUILTINS_FOR_ATOMIC_OPERATIONS), this file will be updated as it is for now at least until the situation for "native" Windows MinGW change. (please see Bug 652827 regarding this paragraph) config.h.win32.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 349212211247781e7bec43b95cb57dddc1d0e5b1 Author: Behdad Esfahbod Date: Tue Aug 9 19:43:34 2011 +0200 Bug 652827 - glib-2.29.8 no longer builds with mingw.org's toolchain Check for Win32 atomic intrinsics. configure.ac | 12 +++++++++++- glib/gatomic.c | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) commit fc442bdbe6d8113caf25a4dd4b0e8e4dc8d3913a Author: Behdad Esfahbod Date: Thu Aug 11 08:33:23 2011 +0200 Cleanup gatomic checks configure.ac | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) commit 21e682388dafb1de5308ac403c7ebdfe09e1030b Author: Behdad Esfahbod Date: Thu Aug 11 08:11:06 2011 +0200 Fix typo configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b2c6b801bc12429305f022c332b693a142098177 Author: Martin Pitt Date: Wed Aug 10 22:50:26 2011 +0200 [gi] Add missing transfer annotation to g_dbus_node_info_lookup_interface() gio/gdbusintrospection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27599d671e0f0c13f102f6d7ffc58e23825eba67 Author: Kjartan Maraas Date: Wed Aug 10 15:12:54 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 391 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 249 insertions(+), 142 deletions(-) commit c783bfd4e7ebbfa258bce49e5381e2c2afe0110f Author: Martin Pitt Date: Tue Aug 9 14:51:34 2011 +0200 [gi] Add missing (allow-none) annotations to g_dbus_connection_register_object() gio/gdbusconnection.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3a631aa863ec8337bd7ea4ab55eed3a2fd3ef1b4 Author: Simon McVittie Date: Mon Aug 8 17:18:08 2011 +0100 Ignore lcov-produced files in top-level .gitignore Bug: https://bugzilla.gnome.org/show_bug.cgi?id=656162 Signed-off-by: Simon McVittie .gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 8f503548701eb8c14ac37c0b84629da5d4493495 Author: Simon McVittie Date: Mon Aug 8 15:48:27 2011 +0100 Allow current lcov (version 1.9) to be used for coverage It seems to work fine with the same invocation already used. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=656162 Signed-off-by: Simon McVittie configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9bcf89cd70946be7c724cbeac9cd1c028f74ea6e Author: Matthias Clasen Date: Mon Aug 8 23:16:07 2011 +0200 Document libffi as new dependency INSTALL.in | 1 + README.in | 8 ++++++++ gobject/gsignal.c | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) commit 5f9e5c1124c6362fe463b5295c7a2b00afcec135 Author: Fran Dieguez Date: Sat Aug 6 22:33:00 2011 +0200 Updated Galician translations po/gl.po | 467 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 258 insertions(+), 209 deletions(-) commit 2512341fa6b1842adc5b403ce9eb22b9f3478ee3 Author: Colin Walters Date: Sat Aug 6 09:36:49 2011 -0400 Require Python 2.5 explicitly Without someone to regularly test 2.4, and since the code in reality requires 2.5, switch to that for now. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3111f87e2f340f45106f24b640ba2ac68b9086b Author: Colin Walters Date: Sat Aug 6 09:22:44 2011 -0400 configure: Fix statvfs/statfs detection Add missing 'x' as pointed out by declanw@is.bbc.co.uk https://bugzilla.gnome.org/show_bug.cgi?id=656048 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 871da75ca38b4b931c4fbcd500856b71596c1332 Author: Yaron Shahrabani Date: Sat Aug 6 16:02:50 2011 +0300 Updated Hebrew translation. po/he.po | 580 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 315 insertions(+), 265 deletions(-) commit 85d12096e4fdef6451033cbecc03de2cd4066eb1 Author: Pavel Holejsovsky Date: Fri Aug 5 16:31:06 2011 +0200 Add missing GVariant annotations https://bugzilla.gnome.org/show_bug.cgi?id=656031 glib/gvariant-core.c | 2 +- glib/gvariant.c | 12 ++++++++---- glib/gvarianttype.c | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) commit cfa90b8fc1c2b74bc309f0efe6c122e72be7d11a Author: Dan Winship Date: Fri Aug 5 19:43:47 2011 -0400 gio/tests/.gitignore: fix gio/tests/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27b5dab0d6ebc7717243bd736bc10859713b0f73 Author: Claude Paroz Date: Fri Aug 5 17:04:50 2011 +0200 Updated French translation po/fr.po | 1287 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 705 insertions(+), 582 deletions(-) commit 6c8a61bc1bdea6c3434350d5c7c0fa0e7053664b Author: Mario Blättermann Date: Fri Aug 5 12:11:02 2011 +0200 [l10n] Updated German translation po/de.po | 1245 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 686 insertions(+), 559 deletions(-) commit d728c00a0488fb2bfbe69e95aba360a552a73d84 Author: Murray Cumming Date: Thu Aug 4 21:47:07 2011 +0200 gio enums: Remove trailing commas gio/gioenums.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 29aae440fb64e8811508e1a803ee524c752b3565 Author: Stef Walter Date: Thu Aug 4 09:43:45 2011 +0200 Fix up ABI symbols after GTlsDatabase merge. https://bugzilla.gnome.org/show_bug.cgi?id=636572 gio/gio.symbols | 28 ++++++++++++++++++++++++---- gio/gtlsinteraction.c | 6 +++--- 2 files changed, 27 insertions(+), 7 deletions(-) commit 0f99cfa8822514dc6b7ccbc59efbe68f27aeb172 Author: Stef Walter Date: Thu Aug 4 08:54:55 2011 +0200 GTlsDatabase and related objects The database is an abstract object implemented by the various TLS backends, which is used by GTlsConnection to lookup certificates and keys, as well as verify certificate chains. Also add GTlsInteraction, which can be used to prompt the user for a password or PIN (used with the database). https://bugzilla.gnome.org/show_bug.cgi?id=636572 docs/reference/gio/gio-docs.xml | 4 + docs/reference/gio/gio-sections.txt | 117 +++++ docs/reference/gio/gio.types | 2 + gio/Makefile.am | 8 + gio/gdummytlsbackend.c | 105 +++- gio/gio.h | 4 + gio/gio.symbols | 21 + gio/gioenums.h | 70 +++ gio/giotypes.h | 4 + gio/gtlsbackend.c | 44 ++ gio/gtlsbackend.h | 28 +- gio/gtlsconnection.c | 146 +++++- gio/gtlsconnection.h | 12 +- gio/gtlsdatabase.c | 967 +++++++++++++++++++++++++++++++++++ gio/gtlsdatabase.h | 235 +++++++++ gio/gtlsfiledatabase.c | 104 ++++ gio/gtlsfiledatabase.h | 56 ++ gio/gtlsinteraction.c | 197 +++++++ gio/gtlsinteraction.h | 88 ++++ gio/gtlspassword.c | 436 ++++++++++++++++ gio/gtlspassword.h | 101 ++++ gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 4 +- gio/tests/gtlsconsoleinteraction.c | 107 ++++ gio/tests/gtlsconsoleinteraction.h | 56 ++ gio/tests/socket-client.c | 291 +++++++---- 26 files changed, 3082 insertions(+), 126 deletions(-) commit a187199efd7eb16f500cef31c950d4eafbfe3a4b Author: kotarou Date: Wed Aug 3 08:46:04 2011 -0400 build: Pass ZLIB_CFLAGS for gio build Otherwise we will fail if zlib is in an alternative prefix. Commit message written by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=655769 gio/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit ee63179b71f6a4153f08bc5c84c24a0d0ac76263 Author: Owen W. Taylor Date: Fri Jul 29 15:38:54 2011 -0400 g_cancellable_get_fd: silently return -1 for NULL cancellable This keeps compatibility with previous behavior. https://bugzilla.gnome.org/show_bug.cgi?id=655598 Signed-off-by: David Zeuthen gio/gcancellable.c | 3 +++ 1 file changed, 3 insertions(+) commit 659ba3d0b3eca1ee3af13d277ac8c847651b0a6a Author: David Zeuthen Date: Mon Aug 1 11:54:47 2011 -0400 GDBusConnection: Only apply exit-on-closed semantics if properly initialized Otherwise there is no point in gracefully handling the error... https://bugzilla.gnome.org/show_bug.cgi?id=655664 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcc415b16cb9e618acabb921231dc2e49637f14c Author: Yuri Kozlov Date: Mon Aug 1 00:10:59 2011 +0400 Updated Russian translation po/ru.po | 134 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 69 insertions(+), 65 deletions(-) commit bf21a693fa47cd0c4300822f24909b35892311df Author: Daniel Mustieles Date: Fri Jul 29 19:59:58 2011 +0200 Updated Spanish translation po/es.po | 301 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 145 insertions(+), 156 deletions(-) commit c3af3d8d2c191fe3b5b654e3925effa32b3d0daa Author: Daniel Nylander Date: Fri Jul 29 09:50:43 2011 +0200 Updated Swedish translation po/sv.po | 2100 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1101 insertions(+), 999 deletions(-) commit d15f8682c006c8f5c3d4a93db0f211f687fb656e Author: Matthias Clasen Date: Wed Jul 27 23:27:24 2011 -0400 Revert "Optimize g_[s]list_free_full a bit" This reverts commit 98b667d052b1274f80b8898a32d0753e9e2e5c1a. The commit was not actually an optimization, since g_list_free is pretty smart. glib/glist.c | 11 +++-------- glib/gslist.c | 17 ++++++----------- 2 files changed, 9 insertions(+), 19 deletions(-) commit dbb78fe57de0792d409b1baf88661844384c2762 Author: Nicolas Dufresne Date: Mon Jul 25 15:59:58 2011 -0400 Added TLS PEM parser unit test gio/tests/Makefile.am | 4 + gio/tests/cert-key.pem | 32 +++++ gio/tests/cert-list.pem | 52 ++++++++ gio/tests/cert1.pem | 17 +++ gio/tests/cert2.pem | 17 +++ gio/tests/cert3.pem | 17 +++ gio/tests/gtesttlsbackend.c | 312 +++++++++++++++++++++++++++++++++++++++++++ gio/tests/gtesttlsbackend.h | 49 +++++++ gio/tests/key-cert.pem | 32 +++++ gio/tests/key.pem | 15 +++ gio/tests/tls-certificate.c | 279 ++++++++++++++++++++++++++++++++++++++ 11 files changed, 826 insertions(+) commit fdfb42b9f2bdbed44ad4f469bf2794b2057587c1 Author: Nicolas Dufresne Date: Mon Jun 20 18:49:39 2011 -0400 Rework PEM parsing to not be order dependent Some valid PEM file would not work because the private key was put before the certificate. gio/gtlscertificate.c | 149 +++++++++++++++++++++++++++++++------------------ 1 file changed, 95 insertions(+), 54 deletions(-) commit fb45baaf8cc62278c71030c284d4ed3d5f4f849d Author: Tomas Bzatek Date: Tue Jul 26 17:32:53 2011 +0200 Docs: Correct the namespace for g_file_query_filesystem_info() gio/gfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ac5dd614aa796223dc49a100b016abb7996fd418 Author: Chun-wei Fan Date: Tue Jul 26 23:23:31 2011 +0800 Updated glib-zip.in a bit further Missed the bin/gsettings.exe part (corrected from bin/gsettings.) glib-zip.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82a0733751b2dc3306e7dcf76358621eaea02bcb Author: Cosimo Cecchi Date: Tue Jul 26 16:44:18 2011 +0200 utf8: annotate the end pointer in g_utf8_validate as out + allow-none glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b7f3638e5c3917d6007040747eb3ef1ccc338a0b Author: David Zeuthen Date: Tue Jul 26 10:05:57 2011 -0400 More gdbus-codegen fixed to build on non-Unix https://bugzilla.gnome.org/show_bug.cgi?id=655148#c6 Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 12 ++++++++---- gio/tests/Makefile.am | 22 +++++++++++++++++----- 2 files changed, 25 insertions(+), 9 deletions(-) commit 494db61c1946f0b06cc2d68a1194e8812871540e Author: Ryan Lortie Date: Tue Jul 26 13:49:20 2011 +0200 gtester: small Windows fix This code was unconditionally present in the gtester Makefile: test-nonrecursive: ${TEST_PROGS} On Windows, our testcases are compiled with a .exe suffix. That means that if we had 'foo' in TEST_PROGS, running "make check" would depend on 'foo' (not foo.exe) being compiled. We could bring the EXEEXT in here to fix that up, but gtester doesn't work on Windows at all, so better to just disable it in that case. Makefile.decl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 44e85f73643ca24656aa89906d33a1385dcc87a5 Author: Ryan Lortie Date: Tue Jul 26 13:38:04 2011 +0200 GDateTime test: 1970 doesn't exist on Windows It is not safe to call the system library mktime() function on Windows with a date in the 70s. Use 1990 instead. glib/tests/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d62d0336b8fb2d3369f02758c20c6ea38bee9464 Author: Ryan Lortie Date: Tue Jul 26 13:29:01 2011 +0200 g_format_size: fix on Windows The long format that displays the exact number of bytes with separators (ie: "123,456,789 bytes") uses the ' format modifier, which is unsupported on Windows. Disable that for now, until we come up with a better solution. glib/gfileutils.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 01744c2d69fb11a8dfde62666540da91adafd6a8 Author: Ryan Lortie Date: Tue Jul 26 13:26:10 2011 +0200 g_format_size: avoid silly GString use We were using a GString for the purpose of doing a single printf(). Do g_strdup_printf() instead. glib/gfileutils.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 81d0b28a4de87805c6f8c6661a8c2e0de3893267 Author: Dieter Verfaillie Date: Mon Jul 18 14:20:18 2011 +0200 Update glib-zip.in glib-zip.in | 48 +++++++++++++++++++++++++++++++----------------- 1 file changed, 31 insertions(+), 17 deletions(-) commit 633fd86815fafa0ffb9cd0d8e5b958b0d3abe141 Author: Ryan Lortie Date: Tue Jul 26 11:20:12 2011 +0200 glocalfile: don't bother with fstype on win32 Fixes the broken build on Windows. gio/glocalfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 12f516b44cb3b91d99a9ea0f0c51aaeeb3562688 Merge: 32b1349 39b72a1 Author: Ryan Lortie Date: Tue Jul 26 10:50:25 2011 +0200 Merge branch 'gwakeup' commit 39b72a166e72ebbafbb7e85383db954a31b929c2 Author: Ryan Lortie Date: Mon Jul 25 18:59:27 2011 +0200 GWakeup: fix Windows build breakage ...from the attempt to make it private. glib/gwakeup.c | 3 +++ 1 file changed, 3 insertions(+) commit d87eddbb130bbc35ea17c5d4f0c3ee724b1c6d61 Author: Ryan Lortie Date: Mon Jul 25 18:52:36 2011 +0200 .gitignore the gwakeup-fallback testcase gthread/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 6615349ffb1335ca506fd476d65dd864eb2ee494 Author: Ryan Lortie Date: Mon Jul 25 18:52:18 2011 +0200 Remove g_wakeup_* from glib.symbols glib/glib.symbols | 5 ----- 1 file changed, 5 deletions(-) commit c81eb121a1a29c7068b775d0f7665d05c0dd4dad Author: Ryan Lortie Date: Mon Jul 25 18:50:45 2011 +0200 GWakeup: make it private API Colin requests that we keep this one private for now. Include it at each point of use (libglib, libgio, tests). docs/reference/glib/Makefile.am | 3 + docs/reference/glib/glib-docs.sgml | 1 - docs/reference/glib/glib-sections.txt | 10 -- gio/Makefile.am | 1 + gio/gcancellable.c | 1 + glib/Makefile.am | 2 +- glib/glib.h | 1 - glib/gwakeup.c | 17 ++ glib/gwakeup.h | 15 +- gthread/tests/Makefile.am | 3 +- gthread/tests/gwakeup.c | 303 --------------------------------- gthread/tests/gwakeuptest.c | 276 ++++++++++++++++++++++++++++++ 12 files changed, 307 insertions(+), 326 deletions(-) commit 0584f0c50495e4c1d6691f30d9f598799a5d54ce Author: Ryan Lortie Date: Mon Jul 25 17:43:28 2011 +0200 GWakeup: test fallback case We need to test the case of eventfd in the libc but no kernel support. In order to do that, we add a separate compile of the GWakeup testcase that interposes an 'eventfd' symbol that always returns -1 with errno set. That will trigger the fallback case. configure.ac | 1 + gthread/tests/Makefile.am | 7 +++++++ gthread/tests/gwakeup.c | 39 +++++++++++++++++++++++++++++++++++++-- 3 files changed, 45 insertions(+), 2 deletions(-) commit 7f15910e7907e17606ba9e149cc3b04be4887bbf Author: Ryan Lortie Date: Mon Jul 25 16:35:08 2011 +0200 GWakeup: add signal safety note Note that g_wakeup_signal() is safe to call from a UNIX signal handler (since this is a likely place to want to call it from). glib/gwakeup.c | 2 ++ 1 file changed, 2 insertions(+) commit 32b1349a23ff050b8026ede150a25cae56799901 Author: David Zeuthen Date: Mon Jul 25 10:31:17 2011 -0400 More fixes for non-Unix builds Signed-off-by: David Zeuthen gio/gdbusconnection.c | 8 ++++++++ gio/gdbusproxy.c | 8 ++++++++ 2 files changed, 16 insertions(+) commit f8b98841ad44d4603c60fdbad6f3e58a64eb9043 Author: David Zeuthen Date: Mon Jul 25 09:56:01 2011 -0400 Fix the build on non-Unix https://bugzilla.gnome.org/show_bug.cgi?id=655148 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 4 ---- 1 file changed, 4 deletions(-) commit 3c25f9f609cfa6c1a180c46f267e73bbd87dd542 Author: Ryan Lortie Date: Mon Jul 25 15:08:47 2011 +0200 GWakeup .gitignore fixes docs/reference/glib/tmpl/.gitignore | 1 + gthread/tests/.gitignore | 1 + 2 files changed, 2 insertions(+) commit 452b6277d4badf7d471c73555277a5afd3393602 Author: Ryan Lortie Date: Mon Jul 25 14:37:18 2011 +0200 gtk-doc GWakeup docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 10 ++++ glib/gwakeup.c | 93 ++++++++++++++++++++++++++++++--- glib/gwakeup.h | 2 +- 4 files changed, 99 insertions(+), 7 deletions(-) commit 0a971e46bf4158b7f58ac283db40d212b6f2d274 Author: Ryan Lortie Date: Mon Jul 25 15:02:28 2011 +0200 GCancellable: port to GWakeup gio/gcancellable.c | 235 +++++++--------------------------------------------- 1 file changed, 32 insertions(+), 203 deletions(-) commit 777e40989e66e583e6636e7b80ab8770cf15ff8c Author: Ryan Lortie Date: Mon Jul 25 15:07:33 2011 +0200 port GMainContext to GWakeup glib/gmain.c | 113 +++++++--------------------------------------------------- 1 file changed, 13 insertions(+), 100 deletions(-) commit 4026b3317425ea7880930787faeedbe526588b11 Author: Ryan Lortie Date: Mon Jul 25 15:07:16 2011 +0200 add a couple of testcases for GWakeup gthread/tests/Makefile.am | 3 + gthread/tests/gwakeup.c | 268 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 271 insertions(+) commit 78545a641cb93811640e95792eb7f87f810e7aea Author: Ryan Lortie Date: Mon Jul 25 15:05:03 2011 +0200 Add GWakeup GWakeup is a utility class to handle the cross-thread signalling needs of GMainContext and GCancellable. It may find some other users as well. The desire here is to properly hide the implementation details in a module which can be properly unit tested and used in GMainContext and GCancellable without a rats nest of #ifdef. glib/Makefile.am | 2 + glib/glib.h | 1 + glib/glib.symbols | 5 ++ glib/gwakeup.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gwakeup.h | 38 +++++++++++++ 5 files changed, 203 insertions(+) commit 15a1cf804974c3fa526bab8a6b80eb27518313f3 Author: Ryan Lortie Date: Mon Jul 25 15:25:13 2011 +0200 g_unix_open_pipe: fix some bugs Fix some bugs in the fallback case of g_unix_open_pipe: - close both halves of the pipe on error (not just one) - set the cloexec flag on both halves of the pipe (instead of settings it twice on one half) glib/glib-unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit aa4d704e632df68be9843074ea8197c30ebc52ed Author: Ryan Lortie Date: Mon Jul 25 15:09:57 2011 +0200 Windows (mingw32) .gitignore additions .gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 3769c1e1732a7f3889b5d819552c79512571e169 Author: Murray Cumming Date: Mon Jul 25 09:23:51 2011 +0200 Docs: Fix tiny typo. gio/gfileattribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6f37ca472860535606ef0f898f85f3ad6a7167c Author: Chun-wei Fan Date: Mon Jul 25 11:42:17 2011 +0800 Update Windows READMEs -Tell people about that libFFI is now needed. -Tell people not to compile GLib in paths containing spaces. README.win32 | 16 +++++++++++----- build/win32/vs10/README.txt | 4 +++- build/win32/vs9/README.txt | 4 +++- 3 files changed, 17 insertions(+), 7 deletions(-) commit eac8d47e373bd57e3cb117508c0812b53963a732 Author: Dan Winship Date: Sun Jul 24 14:55:05 2011 -0400 gio/tests/socket: add some basic IPv4 and IPv6 tests gio/tests/socket.c | 381 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 378 insertions(+), 3 deletions(-) commit aefda965f650c6713ef895a9156dd1297793f1ff Author: Dan Winship Date: Sun Jul 24 14:52:03 2011 -0400 GSocket: fix connected state after async connect socket->priv->connected was only being set if g_socket_connect() succeeded right away; in the case where it returns G_IO_ERROR_PENDING, it never got set. Fix that by having g_socket_check_connect_result() set it on success. gio/gsocket.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b8a0475e7a2ef6d49e61e7be684bff017ee22fa9 Author: Dan Winship Date: Sun Jul 24 12:41:11 2011 -0400 update .gitignore glib/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 4cb33b158b43b54108b20cb9c3f1143acbef9124 Author: Matthias Clasen Date: Sat Jul 23 21:59:49 2011 -0400 Explicitly unset the session bus address for the peer tests Otherwise, we may run into trouble as opening a peer-to-peer connection uses a socket client, which uses a proxy resolver which may end up using gsettings, whose dconf backend may end up using the session bus to talk to dconfd... gio/tests/gdbus-peer.c | 2 ++ 1 file changed, 2 insertions(+) commit d344e69dc291df5e5da15d6e1c1b0ef897fdeea3 Author: Matthias Clasen Date: Sat Jul 23 21:16:28 2011 -0400 Properly bring up a session bus for application tests As pointed out in bug 644601, session_bus_up() requires us to set up environment variables for things to work. gio/tests/gapplication.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 1f9e84896bb1621e54fc5d0cb45006400e121043 Author: Matthias Clasen Date: Sat Jul 23 21:07:39 2011 -0400 Fix a typo gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e488cbd24b611e6648cc36049e503aa8d18b9fd6 Author: Yuri Kozlov Date: Sat Jul 23 18:54:03 2011 +0400 Updated Russian translation po/ru.po | 428 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 236 insertions(+), 192 deletions(-) commit 9c46740afdb5cf545fbc69bc55be274b8758fecb Author: Luca Ferretti Date: Sat Jul 23 14:52:13 2011 +0200 [l10n] Updated Italian translation po/it.po | 1311 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 705 insertions(+), 606 deletions(-) commit ae7c48b955cd6979a799574bb92e654081769c62 Author: Vincent Untz Date: Thu Jul 21 15:23:00 2011 +0200 GDesktopAppInfo: Add g_desktop_app_info_get_show_in() Necessary for rebasing gnome-menus on top of GDesktopAppInfo. https://bugzilla.gnome.org/show_bug.cgi?id=655044 docs/reference/gio/gio-sections.txt | 1 + gio/gdesktopappinfo.c | 111 +++++++++++++++++++++++------------ gio/gdesktopappinfo.h | 2 + gio/gio.symbols | 1 + 4 files changed, 76 insertions(+), 39 deletions(-) commit 8ef050f9675e2ee097663c6a436a7b7f7abbe816 Author: Colin Walters Date: Fri Jul 22 13:39:21 2011 -0400 glib.symbols: Update for expected ABI changes glib/glib.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b79eae5c197aeec8d57f39c0f7bf5d5114068bea Author: Colin Walters Date: Fri Jul 22 12:41:41 2011 -0400 glib-2.0.pc: Add -lrt to private libraries to assist static linking https://bugzilla.gnome.org/show_bug.cgi?id=654078 glib-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b061e023ce97171d817e07ea7068f567129ae8a Author: Colin Walters Date: Fri Jul 22 10:31:27 2011 -0400 Revert addition of g_key_file_has_key_full Per IRC discussion, we can just ask bindings to use g_key_file_get_value() to test for the existence of a key. I left the "fixed" code in the source tree as static because it makes more sense to me. glib/gkeyfile.c | 90 +++++++++++++++++++++----------------------------- glib/gkeyfile.h | 5 --- glib/tests/keyfile.c | 16 --------- 3 files changed, 38 insertions(+), 73 deletions(-) commit 753948316915e834801347af08b773c24078a3bd Author: Behdad Esfahbod Date: Fri Jul 22 10:33:47 2011 -0400 Don't use deprecated G_UNICODE_COMBINING_MARK glib/gen-unicode-tables.pl | 2 +- glib/gunichartables.h | 388 ++++++++++++++++++++++---------------------- glib/guniprop.c | 2 +- 3 files changed, 196 insertions(+), 196 deletions(-) commit 804e3ba4dddbcb00279ba0ab1a148606bc10a414 Author: Ryan Lortie Date: Fri Jul 22 15:47:11 2011 +0200 gitignore tweaks docs/reference/glib/tmpl/.gitignore | 1 + gobject/tests/.gitignore | 1 + gthread/tests/.gitignore | 2 ++ 3 files changed, 4 insertions(+) commit a14f2fa1a0ea2b453be35373f9d4c5d80b842d7d Author: Ryan Lortie Date: Fri Jul 22 13:44:31 2011 +0200 Rename a few arguments To fix header/function/doc-string mismatches. glib/gdataset.c | 4 ++-- glib/gunicode.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 6492548b6f4d1805f7817911207648f0b1eeae19 Author: Ryan Lortie Date: Fri Jul 22 13:41:13 2011 +0200 Have gtk-doc ignore some #defines We prefer to have gtk-doc pick up the function rather than the macro. glib/gstdio.h | 2 ++ glib/gwin32.h | 2 ++ 2 files changed, 4 insertions(+) commit 5dbc12e9f1477eb699a92b1ef7363b62bdca68eb Author: Ryan Lortie Date: Fri Jul 22 13:25:32 2011 +0200 Replace @Varargs with @... to make gtk-doc happy. glib/gerror.c | 4 ++-- glib/gfileutils.c | 4 ++-- glib/gmarkup.c | 2 +- glib/gmessages.c | 4 ++-- glib/gprintf.c | 8 ++++---- glib/grel.c | 10 +++++----- glib/gstrfuncs.c | 6 +++--- glib/gstring.c | 8 ++++---- glib/gtestutils.c | 6 +++--- 9 files changed, 26 insertions(+), 26 deletions(-) commit ea63f16c59b661d080c54c44147cedb4ad27e102 Author: Ryan Lortie Date: Fri Jul 22 12:59:44 2011 +0200 Remove duplicate 'struct real_pcre' declaration The redundant forward declaration of 'struct real_pcre' before the typedef was tripping up gtk-doc. Remove it. glib/pcre/pcre.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 668c399077b48ef49d2fdb6eb808226c9f127e70 Author: Ryan Lortie Date: Fri Jul 22 12:59:11 2011 +0200 Add deprecation guard to G_UNICODE_COMBINING_MARK ...since it's deprecated now and documented as such. glib/gunicode.h | 2 ++ 1 file changed, 2 insertions(+) commit 4f36eb0f6d1eed7b720a53114e60c8d334782fab Author: Ryan Lortie Date: Fri Jul 22 12:57:59 2011 +0200 Reword some docs comments to avoid 'Returns ...' If gtk-doc sees 'Returns ...' written in the text of the documentation for a macro, it thinks that you are talking about the return value. Avoid doing that and use 'Returns:' explicitly if we mean to. glib/gmessages.h | 21 +++++++++++++-------- glib/gutils.h | 10 +++++++--- 2 files changed, 20 insertions(+), 11 deletions(-) commit a0ed2537184f35e9cdde9ac2771f32667db570e1 Author: Ryan Lortie Date: Fri Jul 22 12:57:06 2011 +0200 move 'Since:' tags down gtk-doc wants the Since: tag to be the absolute last thing in the docs comment. glib/gkeyfile.c | 3 +-- glib/gmain.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) commit eec69a75eeddc9e298f218e5b3e4bb5084adfe6f Author: Xavier Claessens Date: Thu Jul 14 10:51:06 2011 +0200 Add g_ptr_array_new_full Fixes bug #654450 docs/reference/glib/glib-sections.txt | 1 + glib/garray.c | 28 ++++++++++++++++++++++++++++ glib/garray.h | 2 ++ 3 files changed, 31 insertions(+) commit 7df304a2d8c325726a13e072bcd1b647943928eb Author: Ryan Lortie Date: Fri Jul 22 09:48:34 2011 +0200 Bump the version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6c936c45fd959117e24a4e7b6f01f124963bf72 Author: Ryan Lortie Date: Fri Jul 22 08:55:35 2011 +0200 Release 2.29.14 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) commit b30ca6e5a57fd40cf8f94ef2869e742498bc0577 Author: Behdad Esfahbod Date: Thu Jul 21 16:05:43 2011 -0400 Bug 655076 - Our normalization code misses some Full_Composition_Exclusion=True. glib/gen-unicode-tables.pl | 4 ++++ glib/tests/unicode.c | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) commit c404dbed11bc8bf4212d15719ef3a87ebf76efff Author: David Zeuthen Date: Thu Jul 21 16:03:27 2011 -0400 gdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotation Also add convenience _with_unix_fd_list variants to GDBusConnection, GDBusProxy and GDBusMethodInvocation types to easily support this. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gio-sections.txt | 7 + gio/gdbus-codegen/codegen.py | 148 +++++++-- gio/gdbusconnection.c | 557 +++++++++++++++++++++++----------- gio/gdbusconnection.h | 30 ++ gio/gdbusmethodinvocation.c | 76 +++-- gio/gdbusmethodinvocation.h | 3 + gio/gdbusproxy.c | 495 +++++++++++++++++++++--------- gio/gdbusproxy.h | 23 ++ gio/gio.symbols | 7 + gio/tests/test-codegen.xml | 8 + 11 files changed, 1012 insertions(+), 363 deletions(-) commit 7b22a8308f2a914b704051cd772edfa15e9a3b04 Author: Dan Williams Date: Wed Jul 20 17:28:20 2011 -0500 Document how to free return values from g_key_file_get_*_list Makes the docs consistent with the string list getters. Add GOI annotations while we're at it. glib/gkeyfile.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 3af40c204dab8fbd3bec0dceb7cbed0896178a4b Author: Behdad Esfahbod Date: Thu Jul 21 10:30:36 2011 -0400 Bug 655025 - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK glib/gunicode.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 03f673abc20693b907d5e4f1deb775737774d7ae Author: David Zeuthen Date: Thu Jul 21 09:43:59 2011 -0400 GDBus: Don't convert GVariant type 'h' to gint The code-generator already uses GVariant* so generated code didn't really work at all. We want that instead of gint to avoid confusion because a 'h' instance is an _index_ into a GUnixFDList, not a file descriptor. Signed-off-by: David Zeuthen gio/gdbusutils.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) commit 419bfe325c40604268dbb7fa050e355c9681577e Author: David Zeuthen Date: Thu Jul 21 09:32:38 2011 -0400 gdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao' This is possible now that we have better support for object path arrays, see http://git.gnome.org/browse/glib/commit/?id=19878998bc386db78614f1c92ff8524a81479c7b Note that this breaks the ABI of generated code but since gdbus-codegen(1) has never yet been in a stable GLib release, this is fine. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 3 ++- gio/gdbus-codegen/codegen.py | 2 ++ gio/gdbus-codegen/dbustypes.py | 8 ++++++++ gio/gdbusutils.c | 15 ++++++++++++++- gio/tests/gdbus-test-codegen.c | 24 +++++++++++++----------- 5 files changed, 39 insertions(+), 13 deletions(-) commit b34eac204f54cefaf8a702a96dc537144f8c2d92 Author: Simon McVittie Date: Thu Jul 21 10:22:01 2011 +0100 g_atomic_int_add: document that the return value is new Bug: https://bugzilla.gnome.org/show_bug.cgi?id=654988 Reviewed-by: Matthias Clasen glib/gatomic.c | 3 +++ 1 file changed, 3 insertions(+) commit 79b80579282b2749a9eafe8b95845f434db95969 Author: Ryan Lortie Date: Thu Jul 21 09:21:18 2011 +0200 Advise against using GPrivate GStaticPrivate is really a lot better in almost every way. glib/gthread.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 706b2751166bb8590e41800d0b3c3056ba529daa Author: Ryan Lortie Date: Thu Jul 21 08:33:50 2011 +0200 GParam: try to avoid further invalid uses In an attempt to avoid some potential future abuses of the GParamSpec API, qualify the 'name' field of the structure as 'const' and add a comment noting that it is an interned string. This is a theoretical API break, but it will only ever result in warnings -- and even then, only if you were already doing something questionable. Clean up some of the warnings that were caused internally in gparam.c from these changes. gobject/gparam.c | 39 ++++++++++++++++++++++----------------- gobject/gparam.h | 2 +- 2 files changed, 23 insertions(+), 18 deletions(-) commit 9bcb3d74572cf99a17ff5a1fd4becb1a1136291c Author: Behdad Esfahbod Date: Wed Jul 20 22:11:08 2011 -0400 Add g_unicode_script_from_iso15924() And adjust g_unicode_script_to_iso1592(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gunicode.h | 1 + glib/guniprop.c | 43 +++++++++++++++++++++++++++++++-- glib/tests/unicode.c | 9 +++++-- 5 files changed, 51 insertions(+), 4 deletions(-) commit a5e94cbd36304ac48e20599ad39fd4bfbd6a5cbe Author: Benjamin Otte Date: Thu Jul 21 02:56:05 2011 +0200 glocalfile: Fix compilation without USE_STATFS and USE_STATVFS gio/glocalfile.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 7e03b28870a514e655f31298d31158a69f11de40 Author: Behdad Esfahbod Date: Wed Jul 20 19:04:29 2011 -0400 Bug 648271 - Add g_unicode_script_to_iso15924() Add g_unicode_script_to_iso15924() and tests. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gunicode.h | 2 + glib/guniprop.c | 146 ++++++++++++++++++++++++++++++++- glib/tests/unicode.c | 8 ++ 5 files changed, 157 insertions(+), 1 deletion(-) commit d8d67d1596ed9fd394bb0427e9154bfad9b4b504 Author: Daniel Mustieles Date: Wed Jul 20 22:32:38 2011 +0200 Updated Spanish translation po/es.po | 207 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 133 insertions(+), 74 deletions(-) commit e43a2969114e91332b127a479bcb078be6649353 Author: Daniel Mustieles Date: Wed Jul 20 22:26:59 2011 +0200 Updated Spanish translation po/es.po | 637 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 316 insertions(+), 321 deletions(-) commit 8cadef1a88abf77569da2e65894a855b0f1376d4 Author: Ryan Lortie Date: Wed Jul 20 21:49:16 2011 +0200 Change order of GFormatSizeFlags David requested that I change the order of the flags. Also, assign numerical values to the flags in the usual way. This wasn't a bug yet, but only by chance. glib/gfileutils.c | 6 +++--- glib/gfileutils.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit c26462ab98e47fd629177d52984b69055f8fe37a Author: Ryan Lortie Date: Wed Jul 20 21:47:00 2011 +0200 g_format_size: just use GString Matthias wasn't too impressed by the homebrew stack-allocated string building I was doing. Switch to GString. glib/gfileutils.c | 81 ++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 47 deletions(-) commit 4aff6119812bb1dac40a6fca4833dab0520148d9 Author: Ryan Lortie Date: Wed Jul 20 21:30:03 2011 +0200 g_format_size: Return 'gchar' instead of 'char' I meant to do that in the first place. glib/gfileutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ef3e5917ca1239b39db2cb433c4306d0152f18f5 Author: Ryan Lortie Date: Wed Jul 20 19:58:43 2011 +0200 [ast, es, fr, nn] Update byte unit translations The Asturian, French, Norwegian Nynorsk and Spanish translations incorrectly translated "MB" and friends to "MiB" (french: "Mio"), etc. This was in response to the incorrect use of "MB" in the (now deprecated) g_format_size_for_display() function. These strings are now used (correctly) in g_format_size(), so I have updated the translations accordingly. Additionally, the Norwegian Nynorsk translation was incorrectly translating several larger units to "KiB", so that has been corrected as well. po/ast.po | 6 +++--- po/es.po | 12 ++++++------ po/fr.po | 12 ++++++------ po/nn.po | 12 ++++++------ 4 files changed, 21 insertions(+), 21 deletions(-) commit afd1e3697065c1bd23fe9a1cacf43d8744d0bc9b Author: Ryan Lortie Date: Wed Jul 20 19:44:39 2011 +0200 Change GLib size units policy This commit changes GLib size units policy. We now prefer SI units and allow for use of proper IEC units where desired. g_format_size_for_display() which incorrectly mixed IEC units with SI suffixes is left unmodified, but has been deprecated. g_format_size() has been introduced which uses SI units and suffixes. g_format_size_full() has also been added which takes a flags argument to allow for use of IEC units (with correct suffixes). It also allows for a "long format" output which includes the total number of bytes. For example: "238.5 MB (238,472,938 bytes)". docs/reference/glib/glib-sections.txt | 5 + glib/gfileutils.c | 193 +++++++++++++++++++++++++++++++++ glib/gfileutils.h | 13 +++ glib/glib.symbols | 2 + glib/tests/fileutils.c | 12 ++ 5 files changed, 225 insertions(+) commit 90cccf14b2b1dfea574d35c605669c4773d6eba6 Author: Ryan Lortie Date: Wed Jul 20 17:30:56 2011 +0200 g_format_size_for_display: some internal renames Rename the size constants from KILOBYTE to KIBIBYTE (etc.) since that's what they really are. This is a strictly internal change with no externally-visible effect in terms of API or functionality. glib/gfileutils.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 4e015d36a06a896c8f5ec575c1b02fedefe47397 Author: Giovanni Campagna Date: Fri Jul 1 01:59:13 2011 +0200 gdbusintrospection: fix introspection annotations g_dbus_interface_info_lookup_* were incorrectly considered (transfer full) by introspected bindings, and this caused memory corruptions. https://bugzilla.gnome.org/show_bug.cgi?id=622921 gio/gdbusintrospection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e213f385b45d8ce5d2fdb612d3706e214a7b368 Author: Vincent Untz Date: Wed Jul 20 09:22:12 2011 +0200 Stop using deprecated g_unicode_canonical_decomposition() https://bugzilla.gnome.org/show_bug.cgi?id=654948 glib/guniprop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 33c977917c1dbcfec56168083dc05837da8ea57c Author: Ryan Lortie Date: Wed Jul 20 16:34:55 2011 +0200 GVariant: document avoiding g_variant_iter_loop The choice between g_variant_iter_next() and g_variant_iter_loop() is a bit confusing for some people. Add a note to the documentation of g_variant_iter_loop() to clarify that it should be avoided except in a few specific cases. glib/gvariant.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 19878998bc386db78614f1c92ff8524a81479c7b Author: Ryan Lortie Date: Wed Jul 20 13:11:19 2011 +0200 GVariant: better support for object path arrays Add G_VARIANT_TYPE_OBJECT_PATH_ARRAY along with accessor functions g_variant_new_objv, g_variant_get_objv and g_variant_dup_objv. Also add support for '^ao' and '^a&o' format strings for g_variant_new() and g_variant_get(). https://bugzilla.gnome.org/show_bug.cgi?id=654955 docs/reference/glib/glib-sections.txt | 4 + docs/reference/glib/gvariant-varargs.xml | 39 ++++++- glib/glib.symbols | 3 + glib/gvariant.c | 168 ++++++++++++++++++++++++++++-- glib/gvariant.h | 6 ++ glib/gvarianttype.h | 7 ++ glib/tests/gvariant.c | 53 ++++++++++ 7 files changed, 270 insertions(+), 10 deletions(-) commit c841c2ce3fda6f754c88ae2c9099f36dff2f0814 Author: Ryan Lortie Date: Wed Jul 20 14:04:52 2011 +0200 GSettings: don't abort on missing schemas Give a g_critical instead. gio/gsettings.c | 77 +++++++++++++++++++++++++++++++++++++++---------- gio/gsettingsschema.c | 5 +++- gio/tests/gsettings.c | 26 +++++++++++++++++ 3 files changed, 91 insertions(+), 17 deletions(-) commit 06941419e347a8a37711e65873b6c59729873ddc Author: Ryan Lortie Date: Wed Jul 20 10:52:07 2011 +0200 Add some blacklisted mount directories Another long-carried Debian patch. No reason that we should not have these few extra items in the (already long) upstream list. gio/gunixmounts.c | 7 +++++++ 1 file changed, 7 insertions(+) commit dbd0d63b6b45036c2b485b8e1993edf97970afd2 Author: Ryan Lortie Date: Wed Jul 20 10:49:48 2011 +0200 wait longer in threadpool test case If we are going to fail an assert, wait for a bit longer before doing so (up to 5 seconds, if needed). This is a long-standing Debian patch to fix build failures on really slow machines. tests/threadpool-test.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 265f245376a3af5a006854ee96a484cf30fbc170 Author: Matthias Clasen Date: Tue Jul 19 23:04:04 2011 -0400 post-release bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c073ce3a3b8fb8282b244dd8e8dbb6fa8676e84e Author: Matthias Clasen Date: Tue Jul 19 23:02:05 2011 -0400 2.29.12 NEWS | 35 +++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) commit 4c64e75ec59317cf36d2bb9765c56477acf2acd7 Author: Matthias Clasen Date: Tue Jul 19 20:40:28 2011 -0400 Drop the warnings.sgml template docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/warnings.sgml | 236 -------------------------------- glib/gbacktrace.c | 63 +++++++++ glib/gbacktrace.h | 18 +-- glib/gmessages.c | 124 +++++++++++++---- glib/gmessages.h | 81 +++++++++-- 6 files changed, 238 insertions(+), 285 deletions(-) commit d1e5161ab0206adc6f17325152e337d44ae6ec73 Author: Holger Berndt Date: Thu Jun 3 03:22:36 2010 +0200 Document how to unset attributes Unsetting won't work on all attributes. Currently, only metadata attributes are supported. https://bugzilla.gnome.org/show_bug.cgi?id=620423 gio/gfile.c | 3 +++ 1 file changed, 3 insertions(+) commit ec98953e42a20061427b20681d1e31501907e2fa Author: Johan Dahlin Date: Tue Jul 19 14:18:10 2011 -0300 Pass in NULL instead of g_cclosure_marshal_generic NULL is now a shortcut for g_cclosure_marshal_generic, so avoid referencing it directly. https://bugzilla.gnome.org/show_bug.cgi?id=654917 gio/gactiongroup.c | 4 ++-- gio/gapplication.c | 4 ++-- gio/gdbusauthobserver.c | 2 +- gio/gdbusconnection.c | 2 +- gio/gdbusinterfaceskeleton.c | 2 +- gio/gdbusobjectmanager.c | 4 ++-- gio/gdbusobjectmanagerclient.c | 4 ++-- gio/gdbusobjectskeleton.c | 2 +- gio/gdbusproxy.c | 4 ++-- gio/gdbusserver.c | 2 +- gio/gfilemonitor.c | 2 +- gio/gmountoperation.c | 6 +++--- gio/gsettings.c | 4 ++-- gio/gsocketservice.c | 2 +- gio/gthreadedsocketservice.c | 2 +- gio/gtlsconnection.c | 2 +- 16 files changed, 24 insertions(+), 24 deletions(-) commit fa2861e3b6109e002b68aa105b5ecbcba88724c1 Author: Johan Dahlin Date: Tue Jul 12 13:39:45 2011 -0300 Use a generic marshaller if one is not specified Since g_cclosure_marshal_generic is always enabled, it makes sense to always use that instead of using generated ones. https://bugzilla.gnome.org/show_bug.cgi?id=654917 gobject/gsignal.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit fe6dad271b06e6243d17137c2e0991f56a256cca Author: Ryan Lortie Date: Tue Jul 19 16:12:30 2011 +0200 GSettings: remove key length restrictions The key length now stands effectively unlimited at 1024 characters. https://bugzilla.gnome.org/show_bug.cgi?id=654536 gio/glib-compile-schemas.c | 4 ++-- gio/gsettings.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) commit 9fd0f6c8e23e8cd8353039c99fa73583a7892b4f Author: Matthias Clasen Date: Tue Jul 19 00:02:57 2011 -0400 Fix doc formatting errors glib/gunicode.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit c9379bcfe1423c43b09ea7e979242a3621dab2b2 Author: Matthias Clasen Date: Mon Jul 18 23:58:32 2011 -0400 Move GError docs inline and ditch template docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/error_reporting.sgml | 531 ------------------------- glib/gerror.c | 324 +++++++++++++++ glib/gerror.h | 9 + 4 files changed, 334 insertions(+), 531 deletions(-) commit 09e2d2a61c3e9f93f61f5d94b3976bbc4a16839a Author: Matthias Clasen Date: Mon Jul 18 23:23:17 2011 -0400 Move Unicode docs inline, ditch template docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/unicode.sgml | 908 --------------------------------- glib/gunicode.h | 424 ++++++++++++--- glib/gunidecomp.c | 23 + 4 files changed, 372 insertions(+), 984 deletions(-) commit 2358616d6ad5c4db4fb037550eb40aeb8886e7ec Author: Matthias Clasen Date: Mon Jul 18 23:00:09 2011 -0400 Remove queue.sgml docs/reference/glib/tmpl/queue.sgml | 438 ----------------------------------- 1 file changed, 438 deletions(-) commit 615977d337c7ba776ac2eda6c688bf6f69316c4d Author: Behdad Esfahbod Date: Mon Jul 18 18:00:40 2011 -0400 Simplify Hangul Jamo decomposition The algorithm is not copy/paste from Unicode anymore, but it's easy enough to follow the logic. glib/gunidecomp.c | 62 ++++++++++++++++------------------------------------- 1 file changed, 19 insertions(+), 43 deletions(-) commit 0584fe33de86f9fd8effe006d911cf5948b4ad05 Author: Behdad Esfahbod Date: Mon Jul 18 17:52:40 2011 -0400 Bug 654651 - Better g_unicode_canonical_decomposition() Add g_unichar_fully_decompose(). Deprecate g_unicode_canonical_decomposition(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 3 +- glib/gunicode.h | 9 ++-- glib/gunidecomp.c | 78 ++++++++++++++++++++++++++++++--- glib/tests/unicode.c | 66 +++++++++++++++++++++++++++- 5 files changed, 147 insertions(+), 10 deletions(-) commit 7f289c924bdc78bff9b5a96cf9e7c0ed943d64c6 Author: Patrick Welche Date: Mon Jul 18 17:58:01 2011 +0100 Avoid failing arguments to statfs() test on systems which use statvfs. - move choice of statfs vs statvfs from gio/glocalfile.c to configure.ac - if statvfs is the choice, then don't check number of arguments to statfs() - use choice in gio/gunixmounts.c as well https://bugzilla.gnome.org/show_bug.cgi?id=617949 configure.ac | 30 +++++++++++++++++++++++++++++- gio/glocalfile.c | 22 ---------------------- gio/gunixmounts.c | 32 +++++++++++++++++++++++++++++--- 3 files changed, 58 insertions(+), 26 deletions(-) commit 75b30dc51c3926392483094a6228a3646a43e798 Author: Benjamin Otte Date: Mon Jul 18 14:10:35 2011 +0200 gtester: Count inability to run a test in a binary as a failure Previously, when a binary did not run a single test - for whatever reason, from the binary not existing to the binary not using the gtester framework - no failures were recorded. Now we record a non-successful run of a binary that did not start any tests as a failure, too. Note that this does not change the behavior of any binaries that exit successfully or that report the start of any gtester test. glib/gtester.c | 4 ++++ 1 file changed, 4 insertions(+) commit 4a25d6002341df796e13643695478a4ecb4c7a49 Author: Benjamin Otte Date: Mon Jul 18 13:39:36 2011 +0200 gtester: Return a failure exit code when a test fails Previously, gtester used the testcase_fail_count as the number of tests that failed in the latest run testcase, but then use that as the return value of main(). Now we count the failed testcases of the whole run. glib/gtester.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit dd1316ba92eba170bcba0425ec1b55faeb2bceed Author: Kjartan Maraas Date: Mon Jul 18 13:13:11 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 693 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 362 insertions(+), 331 deletions(-) commit adc325fac0b1b8b0a8c21384f50fc759d2800572 Author: Matthias Clasen Date: Sun Jul 17 23:50:31 2011 -0400 Move version docs inline docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/version.sgml | 115 --------------------------------- glib/gutils.c | 40 ++++++++++++ glib/gutils.h | 18 ++++++ 4 files changed, 60 insertions(+), 115 deletions(-) commit 20cd4936b9d16ee8121d7082d359a76af65081db Author: Matthias Clasen Date: Sun Jul 17 23:38:58 2011 -0400 Move GQueue docs inline glib/gqueue.c | 25 ++++++++++++++++ glib/gqueue.h | 91 ++++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 82 insertions(+), 34 deletions(-) commit d3b09eee75f0f433779b0b6a6d9222453bc9df16 Author: Tommi Vainikainen Date: Mon Jul 18 00:45:45 2011 +0300 Updated Finnish translation po/fi.po | 1485 +++++++++++++++++++++++++------------------------------------- 1 file changed, 603 insertions(+), 882 deletions(-) commit d6c30e1766c975dd79e6f252d73c6c0581b64b01 Author: Ryan Lortie Date: Thu Jul 14 18:08:25 2011 +0200 GParamSpec: intern property names Make it so that the ->name property on all GParamSpec objects is an interned string. https://bugzilla.gnome.org/show_bug.cgi?id=654627 gobject/gparam.c | 18 ++++++++++++------ gobject/gparam.h | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) commit 7041b701dd9fd4f617ca762860447d8fc015a2ab Author: Behdad Esfahbod Date: Thu Jul 14 16:53:12 2011 -0400 Remove comp_step_table table Reuse the pre-existing composition data. glib/gen-unicode-tables.pl | 15 +- glib/gunidecomp.c | 66 +-- glib/gunidecomp.h | 1020 -------------------------------------------- 3 files changed, 3 insertions(+), 1098 deletions(-) commit 89a5d17d58c795f835642483bfbd9af6cf09f9fe Author: Behdad Esfahbod Date: Thu Jul 14 16:26:58 2011 -0400 Document, that the second part of a decompose() wouldn't decompose() This is not directly documented in Unicode, or I couldn't find it, but the test I just added confirms that it is currently the case. glib/gunidecomp.c | 7 +++++++ glib/tests/unicode.c | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) commit f4cf6c3db03440bb42771cf4b43f6c0f3b688e5f Author: Behdad Esfahbod Date: Thu Jul 14 16:22:16 2011 -0400 [test] Move non-utf8 tests into unicode.c glib/tests/Makefile.am | 3 + glib/tests/unicode.c | 548 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/tests/utf8-misc.c | 513 -------------------------------------------- 3 files changed, 551 insertions(+), 513 deletions(-) commit cff4b5b3a3bceeccd63a895ed795c31f7a20fcf0 Author: Behdad Esfahbod Date: Thu Jul 14 16:19:46 2011 -0400 Remove stale comment Unicode guarantees that. glib/gunidecomp.c | 3 --- 1 file changed, 3 deletions(-) commit a73c66b1344c852c18279ba43e951cc71c5839a3 Author: Behdad Esfahbod Date: Thu Jul 14 16:18:30 2011 -0400 Add tests for Unicode canonical composition/decomposition Also update compose()/decompose() API corner cases and docs. glib/gunidecomp.c | 25 +++++++++-- glib/tests/utf8-misc.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 128 insertions(+), 4 deletions(-) commit 7ad2f0eb803dee72beb49dc9a22d2b9578d2e8b8 Author: Behdad Esfahbod Date: Wed Jul 13 23:18:53 2011 -0400 Move declarations around So g_unichar API comes before g_utf8. glib/gunicode.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 761a1841eebedefeb7dc3675e442a56309f347c9 Author: Matthias Clasen Date: Wed Jul 13 22:07:11 2011 -0400 Bug 654195 - Add g_unichar_compose() and g_unichar_decompose() docs/reference/glib/glib-sections.txt | 2 + glib/gen-unicode-tables.pl | 40 + glib/glib.symbols | 2 + glib/gunicode.h | 9 + glib/gunidecomp.c | 189 +- glib/gunidecomp.h | 3080 +++++++++++++++++++++++++++++++++ 6 files changed, 3321 insertions(+), 1 deletion(-) commit 8c7de592ff961410de0e8507d2334b4f18bc9a58 Author: Ihar Hrachyshka Date: Wed Jul 13 23:36:37 2011 +0300 Updated Belarusian translation. po/be.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit f45631bebc62b60dec1e1021923a0dc27d9e2be3 Author: Ihar Hrachyshka Date: Wed Jul 13 23:30:49 2011 +0300 Updated Belarusian translation. po/be.po | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) commit 09bba9fc60eb5d8c3156a0e907856a12037fe36a Author: Aurimas Černius Date: Tue Jul 12 23:21:25 2011 +0300 Updated Lithuanian translation po/lt.po | 2113 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1095 insertions(+), 1018 deletions(-) commit 8926b612c8fce41db5bf72f87cce54f16079cd09 Author: Changwoo Ryu Date: Wed Jul 13 02:51:03 2011 +0900 Updated Korean translation po/ko.po | 1172 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 626 insertions(+), 546 deletions(-) commit 8f5e0cd24016cdf852a809dfb7b1356328542201 Author: Ryan Lortie Date: Tue Jul 12 02:56:57 2011 +0200 GDBusInterfaceSkeleton: fix odd use of floating refs The get_properties() function was documented as returning a floating Switch it over to returning a normal reference and patch a couple of uses. https://bugzilla.gnome.org/show_bug.cgi?id=654394 gio/gdbusinterfaceskeleton.c | 5 ++--- gio/gdbusinterfaceskeleton.h | 2 +- gio/gdbusobjectmanagerserver.c | 18 ++++++++++-------- 3 files changed, 13 insertions(+), 12 deletions(-) commit 58c247e51bfc7d7ff4ed3b351ba4fdab0f012bac Author: Ryan Lortie Date: Mon Jul 11 14:27:53 2011 +0200 GVariant: add g_variant_take_ref() This function implements the following logic: if (g_variant_is_floating (value)) g_variant_ref_sink (value); which is used for consuming the return value of callbacks that may or may not return floating references. This patch also replaces a few instances of the above code with the new function (GSettings, GDBus) and lifts a long-standing restriction on the use of floating values as the return value for signal handlers by improving g_value_take_variant(). https://bugzilla.gnome.org/show_bug.cgi?id=627974 docs/reference/glib/glib-sections.txt | 1 + gio/gdbus-codegen/codegen.py | 3 +- gio/gdbusconnection.c | 6 ++-- gio/gsettings.c | 3 +- glib/glib.symbols | 1 + glib/gvariant-core.c | 51 ++++++++++++++++++++++++++++++++- glib/gvariant.h | 1 + gobject/gvaluetypes.c | 14 ++++----- 8 files changed, 64 insertions(+), 16 deletions(-) commit 2121e56ea7399091f6ef169a1da8a11aaa64b5c3 Author: Rudolfs Mazurs Date: Tue Jul 12 16:29:33 2011 +0300 Updated Latvian translation. po/lv.po | 3578 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 2288 insertions(+), 1290 deletions(-) commit bbe7eb09ec71b519adf50ef35bee28d5a1a8e1bd Author: Murray Cumming Date: Tue Jul 12 12:09:31 2011 +0200 Docs: Fixed a typo. gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7654a848e2b575eaf278fafe05aa5be1b3afdc26 Author: Tim-Philipp Müller Date: Tue Jul 5 14:30:31 2011 +0100 tests: fix glib_translations_work() If setlocale() to our test locale fails, translations won't work either. https://bugzilla.gnome.org/show_bug.cgi?id=654017 gio/tests/gsettings.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 5eee90fbbc76ee129d7f846633a667889149ab03 Author: Paolo Bonzini Date: Thu Apr 15 08:23:00 2010 +0200 add g_regex_escape_nul The function can be used to let regex compile non-NUL-terminated strings without redesigning the way the pattern is stored in GRegex objects and retrieved with g_regex_get_pattern. https://bugzilla.gnome.org/show_bug.cgi?id=615895 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gregex.c | 68 +++++++++++++++++++++++++++++++++ glib/gregex.h | 2 + glib/tests/regex.c | 42 ++++++++++++++++++++ 5 files changed, 114 insertions(+) commit 653c2f701a3e0a07a808f4e4fca7b846c50c93fa Author: Matthias Clasen Date: Sun Jul 10 23:55:52 2011 -0400 Fix gtk-doc cross-linking among glib/gobject/gio Patch by Daniel Macks, bug 644687. docs/reference/gio/Makefile.am | 3 +++ docs/reference/glib/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2caddda5341a9a89ccaff4fdb04d638d54a8c635 Author: Matthias Clasen Date: Sun Jul 10 23:11:30 2011 -0400 Take out the timeout from the large-message test This is an attempt to make the test not fail on build slaves, which currently getting a timeout error here. gio/tests/gdbus-connection-slow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 436dbe77444f54bb8fcf7e55085dc60e1fc627a3 Author: Matthias Clasen Date: Sun Jul 10 21:57:45 2011 -0400 Don't test negative values in ulong conversions This is failing on 32bit build slaves. gobject/tests/param.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 7c517bf3501ae68c4a87c8a126955281ad2393b2 Author: Martin Storsjo Date: Wed Jul 6 16:41:44 2011 +0300 Don't needlessly use "echo -e" The -e parameter to echo isn't recognized by echo in POSIX sh, but isn't needed when no escaped characters need to be interpreted. This fixes building glib with a mingw cross compiler on Mac OS X. https://bugzilla.gnome.org/show_bug.cgi?id=654085 gio/Makefile.am | 2 +- glib/Makefile.am | 2 +- gmodule/Makefile.am | 2 +- gobject/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 98b667d052b1274f80b8898a32d0753e9e2e5c1a Author: Matthias Clasen Date: Sun Jul 10 20:42:58 2011 -0400 Optimize g_[s]list_free_full a bit No need to iterate the list twice. Proposed by Luiz Augusto von Dentz, http://bugzilla.gnome.org/show_bug.cgi?id=653935 glib/glist.c | 11 ++++++++--- glib/gslist.c | 17 +++++++++++------ 2 files changed, 19 insertions(+), 9 deletions(-) commit 182ed958618a098895eb07959c0fb77eb5dcd13c Author: Colin Walters Date: Sun Jul 10 12:19:15 2011 -0400 GCancellable: Make eventfd() fall back to pipes on EINVAL too https://bugzilla.gnome.org/show_bug.cgi?id=654232 gio/gcancellable.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 6079443b4871040b40271d078311500e51f5ec69 Author: Javier Jardón Date: Fri Jul 8 16:15:52 2011 +0100 docs: G_GNUC_DEPRECATED_FOR was added in Glib 2.26 docs/reference/glib/tmpl/macros_misc.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3557577ef15054a062b0a42363f9b1eaf50ae68 Author: Muhammet Kara Date: Fri Jul 8 01:09:03 2011 +0300 [l10n]Updated Turkish translation po/tr.po | 1274 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 654 insertions(+), 620 deletions(-) commit 7e855ef4616c22210354b3ac1d2d48808fa02b16 Author: Abduxukur Abdurixit Date: Thu Jul 7 16:31:17 2011 +0200 Added UG translation po/ug.po | 439 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 218 insertions(+), 221 deletions(-) commit c2dc66ccf2719df9813b0ab97f22af166770f944 Author: Javier Jardón Date: Wed Jul 6 22:13:05 2011 +0100 Move documentation to inline comments: spawn docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/spawn.sgml | 198 ----------------------------------- glib/gspawn.c | 9 ++ glib/gspawn.h | 82 +++++++++++++++ glib/gstring.h | 12 +++ 5 files changed, 104 insertions(+), 198 deletions(-) commit 0e27a71899e7e08075e65cfdfa8b73fd3cb00197 Author: Javier Jardón Date: Wed Jul 6 21:49:55 2011 +0100 Move documentation to inline comments: conversions docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/conversions.sgml | 218 ----------------------------- 2 files changed, 1 insertion(+), 218 deletions(-) commit 37ab5ced317342137c60c90feab26e1ac69b6285 Author: Dan Winship Date: Tue Jun 7 17:15:17 2011 -0400 g_output_stream_splice: deal with overflow On 32-bit machines in particular, bytes_written may overflow a gssize. Notice when that happens and just return G_MAXSSIZE instead. https://bugzilla.gnome.org/show_bug.cgi?id=649246 gio/goutputstream.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 3b4a42d631b987714c1062c0c879da30fd40c4c7 Author: Chun-wei Fan Date: Wed Jul 6 09:58:37 2011 +0800 Revert distribution of build/win32/setup.py Revert commit on distribution of this file as it is meant to be used in a GIT checkout only. build/win32/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit f18ba785cad59cbcae640d30b4cc40af9f020310 Author: Chun-wei Fan Date: Wed Jul 6 08:28:57 2011 +0800 Add build/win32/setup.py to distribution build/win32/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c83c91a57486fc684ca3d884d6e288972e8b82a7 Author: Chun-wei Fan Date: Wed Jul 6 08:25:41 2011 +0800 Bug 653841: Update README.win32 and VS README.txt's This relates to my previous commit titled "add a script to generator files for building" on behalf of Shixin Zeng. Tell people about the availability of a python script to create the necessary files for a Visual C++ build from a GIT checkout. This is done with the courtesy of Shixin Zeng's python script which does the job and eliminates the troubles of getting a suitable shell environment to do the "make dist" job (which is especially not easy on Windows itself!) README.win32 | 705 ++++++++++++++++++++++--------------------- build/win32/vs10/README.txt | 11 +- build/win32/vs9/README.txt | 11 +- 3 files changed, 372 insertions(+), 355 deletions(-) commit 004e2f060fa1865c8c14fdd399c5f8b3d7048289 Author: Shixin Zeng Date: Wed Jun 29 00:04:14 2011 -0500 add a script to generator files for building Signed-off-by: Chun-wei Fan build/win32/setup.py | 366 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 366 insertions(+) commit 65c6ebddee9f913778c1484b9319229486bf5134 Author: Matthias Clasen Date: Tue Jul 5 11:22:11 2011 -0400 Post-release version bump Up to 2.29.11 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 89df070c1f0893e4a973aa563213dab2d192d83d Author: Matthias Clasen Date: Tue Jul 5 11:21:40 2011 -0400 2.29.10 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f7be6c67d2bda1f6bac2e53c696b90a5a0c8353 Author: Colin Walters Date: Tue Jul 5 10:20:48 2011 -0400 build: Use --disable-maintainer-mode for distcheck Otherwise due to weird things like gtk-doc.make copying files back into the source directory, we may run into the maintainer mode bits mistakenly attempting to rerun. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9d0c82252dab878ea3e631c48c40e97aa4f42ea Author: Colin Walters Date: Tue Jul 5 09:42:39 2011 -0400 gio: Fix srcdir != builddir build for docs docs/reference/gio/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0f9c4590d8bb226dad4d93a9a3181ee42ccc8c7a Author: Matthias Clasen Date: Tue Jul 5 09:17:02 2011 -0400 Update NEWS for 2.29.10 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 9c09a48f57c36ce1ceb458bc7708f9b589239d8a Author: Matthias Clasen Date: Mon Jul 4 16:03:33 2011 -0400 Fix the build When renaming a variable from _SCRIPTS to _DATA, it helps to also rename all references. gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 34e571c46611a0b07bf3f81cd417b9bca2b7d833 Author: Matthias Clasen Date: Mon Jul 4 13:09:54 2011 -0400 Disable a failing test glib/tests/gdatetime.c | 2 ++ 1 file changed, 2 insertions(+) commit c06e91bcaf32db7ea89abc18c0975d761093edc7 Author: Chun-wei Fan Date: Mon Jul 4 22:21:05 2011 +0800 Update GIO VS 2010 project templates Revert EOL of these files to Unix style as they are to be processed during "make dist" build/win32/vs10/gio.vcxproj.filtersin | 58 ++--- build/win32/vs10/gio.vcxprojin | 428 ++++++++++++++++---------------- 2 files changed, 243 insertions(+), 243 deletions(-) commit fabbf82ae169af0b2ae2da5f45b3e8bc798027a0 Author: Chun-wei Fan Date: Mon Jul 4 21:47:59 2011 +0800 Updated GIO Visual Studio Projects -In gio/Makefile.am, the name for one of the filters for capturing the sources for the GIO VS Project Files is corrected. -Remove the GIO source file items in the VS project files templates as a result for this change, and move the entry of the "new" gregistrysettingsbackend.c into the filter in gio/Makefile.am build/win32/vs10/gio.vcxproj.filtersin | 79 ++---- build/win32/vs10/gio.vcxprojin | 435 +++++++++++++++--------------- build/win32/vs9/gio.vcprojin | 457 ++++++++++++++++---------------- gio/Makefile.am | 7 +- 4 files changed, 472 insertions(+), 506 deletions(-) commit 7ba753b002ca9888a46137b65f347a2f5f408e9e Author: Murray Cumming Date: Mon Jul 4 08:58:00 2011 +0200 G_STATIC_REC_MUTEX_INIT: Fix missing initialization. Add the third struct field, zeroed, to avoid a compiler warning. glib/gthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8fdfa8bf3322c9ab3a1619750de47db978f8a32e Author: Ryan Lortie Date: Sun Jul 3 17:37:35 2011 +0200 Install completion scripts as DATA, not SCRIPTS They are sourced by the shell and don't include a #!/bin/sh, so they shouldn't be marked as executable. gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2080bb1dc0bd6e7fb137df0e28796cdb2024645c Author: Dan Winship Date: Wed Jun 29 08:29:16 2011 -0400 gasyncresult: document that NULL GAsyncReadyCallback is allowed https://bugzilla.gnome.org/show_bug.cgi?id=653484 gio/gasyncresult.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 2456db2c004d19cae0bca07a7de82feadc119b94 Author: Dieter Verfaillie Date: Thu Jun 30 09:32:32 2011 -0400 GCancellable: Fix build on Win32 https://bugzilla.gnome.org/show_bug.cgi?id=653522 gio/gcancellable.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 847a8eb911553a76df0fd2ce124cf77dbc7c8877 Author: Emmanuele Bassi Date: Wed Jun 29 18:07:29 2011 +0100 gio: Some more build fixes gio/gsimpleaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 87a542bc960ff230d1478d089436793fdde83db0 Author: Emmanuele Bassi Date: Wed Jun 29 18:00:53 2011 +0100 Fix build The g_return_val_if_fail() macro takes a return value. gio/gsimpleaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b73e53f5776507427e1475ae184daf2ab969e3c2 Author: Ryan Lortie Date: Wed Jun 29 17:19:38 2011 +0100 parameter guards for GSimpleAction constructors gio/gsimpleaction.c | 5 +++++ 1 file changed, 5 insertions(+) commit bde41dacf7e52262df69f70ce00fa33272ea3afa Author: Ryan Lortie Date: Wed Jun 29 17:13:58 2011 +0100 GAction: make GObject properties read-only GAction is a read-only interface (as is visible by the lack of _set() functions on its API). The properties on the interface currently force implementors to support writing of the properties at construct time, however. Lift that restriction. Take advantage of this from GSimpleAction by nuking the set_property function and setting the fields directly in the constructor. gio/gaction.c | 9 +++---- gio/gsimpleaction.c | 68 +++++++++++++++++---------------------------------- 2 files changed, 25 insertions(+), 52 deletions(-) commit e6a25caa82410038e635c30deefbe3d0812aa9d3 Author: Ryan Lortie Date: Wed Jun 29 16:10:38 2011 +0100 actions: merge testcases change_state and entries Since we have support for change_state in GActionEntry now. gio/tests/actions.c | 67 +++++++++++++++++++++------------------------------ 1 file changed, 28 insertions(+), 39 deletions(-) commit 276750aa7aba853535a9f751429ef51aa9dcc924 Author: Ryan Lortie Date: Wed Jun 29 16:04:09 2011 +0100 Add 'change_state' callback to GActionEntry gio/gsimpleactiongroup.c | 6 ++++++ gio/gsimpleactiongroup.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 535dcf4f22ba7621c6078f3fe96db6d3e64f0132 Author: Ryan Lortie Date: Wed Jun 29 14:53:24 2011 +0100 Add example for 'change-state' signal Pulled from the testcase. gio/gsimpleaction.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit d5915a4be3e790daf99c306c2d6651328b8dbb66 Author: Ryan Lortie Date: Wed Jun 29 14:44:58 2011 +0100 Add testcase for GSimpleAction::change-state gio/tests/actions.c | 73 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 30 deletions(-) commit 9a23ef6c2da48cd7f5c513f24ff478d6c5fab4d6 Author: Ryan Lortie Date: Wed Jun 29 14:35:12 2011 +0100 Add 'change-state' signal to GSimpleAction If connected, allows the user to control the result of g_action_change_state(). gio/gsimpleaction.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit 6383b3e7095790372982c6fe68c7e770a6f44a5e Author: Ryan Lortie Date: Wed Jun 29 13:55:59 2011 +0100 Add example to docs for using GActionEntry gio/gsimpleactiongroup.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 5978a6edb59d39ef430a5b7b99ae1109de8e63f7 Author: Ryan Lortie Date: Wed Jun 29 13:02:30 2011 +0100 Add a test case for GActionEntry gio/tests/actions.c | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) commit 7dd25022eeb1ef3f92b6352ba9ac9204dbb10305 Author: Ryan Lortie Date: Wed Jun 29 13:00:30 2011 +0100 Add g_simple_action_group_add_entries() A convenience API for creating lots of actions quickly. docs/reference/gio/gio-sections.txt | 4 ++ gio/gio.symbols | 1 + gio/gsimpleactiongroup.c | 111 +++++++++++++++++++++++++++++++++++ gio/gsimpleactiongroup.h | 23 ++++++++ 4 files changed, 139 insertions(+) commit 695a9a799355713dc6df089801b7f67a010e3b13 Author: Ryan Lortie Date: Wed Jun 29 12:28:15 2011 +0100 allow NULL state in g_simple_action_new_stateful as an undocumented feature gio/gsimpleaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5ff65d869543587d10d78c123698e47effc5fb8c Author: Ryan Lortie Date: Wed Jun 29 10:11:59 2011 +0100 Make 4 incompatible changes to the GAction API This commit represents an API break to GAction in the following ways: - the 'set_state' entry in the GActionInterface vtable has been renamed to 'change_state'. The number and order of vtable items has not otherwise changed. - g_action_set_state() has been renamed to g_action_change_state() to match the updated vtable entry. - the "state" property of the GAction interface has been changed to read-only to reflect the fact that g_action_set_state() no longer exists. - GSimpleActionClass has been hidden. GSimpleAction can no longer be subclassed. >> Rationale g_action_set_state() has never been a true setter in the sense that calling it will update the value of the "state" property. It has always been closer to "request 'state' to be changed to this value" with semantics defined by the implementor of the interface. This is why the equivalent method in GActionGroup had its name changed from 'set' to 'change'. This change makes the two interfaces more consistent and removes any implication about the effect that calling set_state() should have on the 'state' property. >> Impact This incompatible API break was undertaken only because I strongly suspect that it will go entirely unnoticed. If the break actually affects anybody, then we will accommodate them (possibly going as far as to revert this commit entirely). The virtual table change only impacts implementors of GAction. I strongly suspect that this is nobody (except for GSimpleAction). The hiding of GSimpleActionClass only impacts impacts subclasses of GSimpleAction. I strongly suspect that none of these exist. The changing of the property to be read-only only affects people who were trying to change the state by using GObject properties. I strongly suspect that this is nobody at all. The removal of the g_action_set_state() call is the most dangerous, but I still suspect that it will impact nobody outside of GLib. If anybody is impacted by this change then, at their request, I will reintroduce the API as a deprecated alias for g_action_change_state(). docs/reference/gio/gio-sections.txt | 3 +- gio/gaction.c | 25 +++-- gio/gaction.h | 10 +- gio/gio.symbols | 3 +- gio/gsimpleaction.c | 158 +++++++++++++++--------------- gio/gsimpleaction.h | 45 +-------- gio/gsimpleactiongroup.c | 10 +- gio/tests/actions.c | 6 +- gio/tests/gapplication-example-actions.c | 12 +-- 9 files changed, 117 insertions(+), 155 deletions(-) commit d1e26c51c8298db782d253e0a5ff794b197270bf Author: Chun-wei Fan Date: Wed Jun 29 14:07:38 2011 +0800 Update Visual Studio README.txt's -The VS2010 README.txt should have Windows CRLF EOL. -Tell people about the added dependency on LibFFI build/win32/vs10/README.txt | 123 +++++++++++++++++++++++-------------------- build/win32/vs9/README.txt | 11 ++++ 2 files changed, 78 insertions(+), 56 deletions(-) commit 1777614600bf844687a9f16cc57d68a87f212dce Author: Chun-wei Fan Date: Wed Jun 29 12:36:24 2011 +0800 Re-attempt to correct EOL on VS2010 solution This time I realized that I needed to set autocrlf=false on my Windows side ... ugh... This is one of those files that must have CRLF line endings to work orrectly :| build/win32/vs10/glib.sln | 470 ++++++++++++++++++++++----------------------- 1 file changed, 235 insertions(+), 235 deletions(-) commit 315210ecdb98bc8effe6524ee24baba39cd48056 Author: Colin Walters Date: Tue Jun 28 12:52:58 2011 -0400 GCancellable: Fix build on Win32 https://bugzilla.gnome.org/show_bug.cgi?id=653522 gio/gcancellable.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 1b0e5e7683148f769189fc82ab731ee25d06c04c Author: Colin Walters Date: Tue Jun 28 10:03:15 2011 -0400 gmain: Fall back to pipes if kernel doesn't support EFD_CLOEXEC for eventfd() Also remove the caching of checking for eventfd; just try it every time, it's cheap enough to do so. https://bugzilla.gnome.org/show_bug.cgi?id=653570 glib/gmain.c | 46 +++++++++++++++++----------------------------- 1 file changed, 17 insertions(+), 29 deletions(-) commit 8b1a0764f98fe1ce0880e684fb4310089e8327e7 Author: Ihar Hrachyshka Date: Tue Jun 28 02:02:34 2011 +0300 Updated Belarusian translation. po/be.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 62d695f52d746112f50684399d0db2d58e499b57 Author: Ihar Hrachyshka Date: Tue Jun 28 01:27:27 2011 +0300 Updated Belarusian translation. po/be.po | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) commit b07f2833c0d2ab8282fae0c19ef065a38721a985 Author: Ryan Lortie Date: Mon Jun 27 11:28:55 2011 +0100 Change to AM_MAINTAINER_MODE([enable]) Fixes https://bugzilla.gnome.org/show_bug.cgi?id=653429 configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 4d0279dfd879224ac8228c349f26840eb9e6531f Author: Ihar Hrachyshka Date: Sat Jun 25 19:14:09 2011 +0300 Updated Belarusian translation. po/be.po | 3203 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1530 insertions(+), 1673 deletions(-) commit 3cbd5565ae32515e59e129e835b79b211b51d5d4 Author: Claudio Saavedra Date: Fri Jun 24 16:04:54 2011 +0300 GSimpleAction: fix typo gio/gsimpleaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cacbdf0ea8792d6c11ab224f9ecc38c920f84e37 Author: Krzesimir Nowak Date: Fri Jun 24 13:20:06 2011 +0200 Typo fix. Fixes jhbuilding gobject-introspection. gobject/glib-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 088b08bdfc8e6b3a7cc4d884e2186fe1a156fadb Author: Chun-wei Fan Date: Fri Jun 24 11:22:47 2011 +0800 Refine Visual Studio Projects -Reinstate build/win32/vs10/glib.sln with the correct EOL (DOS/Windows) so that the file can be correctly recognized by Windows, rather than having the "Unrecognized Visual Studio Version". -Update the main GLib projects to output the DLL/LIB file into \\bin for all configurations. -Update/simplify the property sheets to copy all DLL and LIB files from \\bin for all configurations. -Update the VS 2008 property sheet to seperate the intermediate directories for all projects as well to avoid errors/warnings of being unable to write/access the PDB files as they are in use. build/win32/vs10/glib.props | 5 +- build/win32/vs10/glib.sln | 235 +++++++++++++++++++++++++++++++++++++++ build/win32/vs10/glib.vcxprojin | 4 + build/win32/vs9/glib.vcprojin | 4 + build/win32/vs9/glib.vsprops | 4 +- 5 files changed, 245 insertions(+), 7 deletions(-) commit 92365b05c4075302920eab75cc7053b130032468 Author: Chun-wei Fan Date: Fri Jun 24 11:13:33 2011 +0800 Temporarily remove build/win32/vs10/glib.sln To fix up for the line endings (this needs to be in the DOS/Windows format) build/win32/vs10/glib.sln | 235 --------------------------------------------- 1 file changed, 235 deletions(-) commit 9eb65dd3ed5e1a9638595cbe10699c7606376511 Author: Matthias Clasen Date: Thu Jun 23 21:31:40 2011 -0400 Unicode: add a g_utf8_substring convenience api This function is useful in the GTK+ accessibility implementations, and seems like a nice thing to have around in general. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 25 +++++++++++++------------ glib/gunicode.h | 8 ++++++-- glib/gutf8.c | 32 ++++++++++++++++++++++++++++++++ glib/tests/utf8-misc.c | 21 +++++++++++++++++++++ 5 files changed, 73 insertions(+), 14 deletions(-) commit c2b112bc56184e5ffdaf99df5aeaf8e06f84af21 Author: Christian Persch Date: Fri Jun 24 01:07:18 2011 +0200 Typo fix glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b1b8c95d3539d111632e5de88cadb0b547179a59 Author: Christian Persch Date: Thu Jun 23 18:35:40 2011 +0200 Plug a mem leak in the regex test glib/tests/regex.c | 1 + 1 file changed, 1 insertion(+) commit 316efa1b5d88f91df9d3384bfb1b0dd37134405d Author: Christian Persch Date: Thu Jun 23 18:31:29 2011 +0200 Add boxed GType for GMatchInfo docs/reference/gobject/gobject-sections.txt | 2 ++ gobject/gboxed.c | 2 ++ gobject/glib-types.h | 10 ++++++++++ gobject/gobject.symbols | 1 + 4 files changed, 15 insertions(+) commit 00afe3fed340cb87b638aaafa01a2829cb60efba Author: Christian Persch Date: Thu Jun 23 18:27:29 2011 +0200 Make GMatchInfo refcounted docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/gregex.c | 49 +++++++++++++++++++++++++++++---- glib/gregex.h | 2 ++ 4 files changed, 50 insertions(+), 5 deletions(-) commit 3393711f426f101d851697e1af4105ec1d22b402 Author: Patrick Welche Date: Thu Jun 23 15:08:46 2011 +0100 build: fix gtk-doc when srcdir != builddir https://bugzilla.gnome.org/show_bug.cgi?id=653250 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 1e58d11a443e3c1b6228ff6e148ccbf244da9d84 Author: Sebastian Dröge Date: Thu Jun 23 09:34:59 2011 +0200 Fix typo in GTime docs deprected -> deprecated docs/reference/glib/tmpl/date.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5db5a46c3d8f5beb7f3b6d40b0c727125a626f6f Author: Matthias Clasen Date: Tue Jun 21 00:54:00 2011 -0400 Add tests for GValueArray gobject/tests/valuearray.c | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit f4da19daa67b3a021563c8185fd094a6e4b907d5 Author: Matthias Clasen Date: Tue Jun 21 00:52:43 2011 -0400 Improve test coverage for GValue transformations gobject/tests/Makefile.am | 3 +- gobject/tests/param.c | 152 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 153 insertions(+), 2 deletions(-) commit 6dfd21caef93b31c6a42025d7af928db37bca75c Author: Matthias Clasen Date: Tue Jun 21 00:51:57 2011 -0400 Run some tests with errorcheck mutexes too All in the name of better test coverage. gthread/tests/642026.c | 4 ++++ gthread/tests/Makefile.am | 5 +++++ 2 files changed, 9 insertions(+) commit d8d25d8c96f1f2f9c0f110812e477c1a8e2e1edf Author: Yuri Kozlov Date: Wed Jun 22 20:10:43 2011 +0400 Updated Russian translation po/ru.po | 1025 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 549 insertions(+), 476 deletions(-) commit 0e4507a296bbf15b9ba4799c9081c8efaab7f34f Author: Chun-wei Fan Date: Wed Jun 22 15:22:55 2011 +0800 Update config.h.win32(.in) Make file contents more like the config.h(.in) contents config.h.win32.in | 3 +++ 1 file changed, 3 insertions(+) commit fdca8060aa8dad34cd32a52553d831ef57f3f363 Author: Colin Walters Date: Tue Jun 21 23:24:07 2011 -0400 build: Cache check for futex() and eventfd() configure.ac | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) commit fa873992800c64722a56782a9d288c05ce0df21f Author: Colin Walters Date: Tue Jun 21 21:43:19 2011 -0400 GCancellable: Use Linux eventfd() instead of pipe See commit f626dd2b4311bd82137c5b208ab2de288c3e6fae for rationale; basically it's cheaper than a pipe. https://bugzilla.gnome.org/show_bug.cgi?id=653140 gio/gcancellable.c | 88 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 68 insertions(+), 20 deletions(-) commit 3904c8761a60dbadbdfaf98fe23ff19cbdcc4a9a Author: Colin Walters Date: Tue Jun 21 19:01:10 2011 -0400 gmain: use Linux eventfd() for main context wake up The Linux eventfd() call is basically tailor made for the main loop wake up pipe - all we want is a threadsafe way to write to a file descriptor, and wake up the context on the other end; we don't care about the content at all. The eventfd manual page basically explains the benefits: Applications can use an eventfd file descriptor instead of a pipe (see pipe(2)) in all cases where a pipe is used simply to signal events. The kernel overhead of an eventfd file descriptor is much lower than that of a pipe, and only one file descriptor is required (versus the two required for a pipe). When writing my multithreaded spawn test case I actually hit the 1024 file descriptor limit quickly, because we used 2 fds per main context. This brings that down to 1. https://bugzilla.gnome.org/show_bug.cgi?id=653140 configure.ac | 20 +++++++++++++++++ glib/gmain.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 83 insertions(+), 6 deletions(-) commit 29bb7638a56cd692d82ad87956822070b0877ead Author: Dan Winship Date: Tue Jun 21 16:14:50 2011 -0400 gio/Makefile.am: Remove stray references to $(marshal_sources) gio/Makefile.am | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 9053ad07ba7210a5a2f8e7ca36f686fd9f96abe0 Author: Colin Walters Date: Tue Jun 21 10:26:58 2011 -0400 Fix a srcdir!=builddir issue, and export that we support it Future jhbuild versions will consume the BUILD API and automatically use a builddir, so mark us as supporting it. Makefile.am | 3 +++ gio/tests/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 3655178b14d3eaff59e8295906db84f414172507 Author: Fran Diéguez Date: Tue Jun 21 13:55:31 2011 +0200 Updated Galician translations po/gl.po | 353 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 181 insertions(+), 172 deletions(-) commit f6ed3571017e7ace55c78491ef4e79bfc914c07b Author: Philip Van Hoof Date: Sat Jun 18 19:40:34 2011 +0200 Add iter_replace API to GHashTableIter https://bugzilla.gnome.org/show_bug.cgi?id=652822 docs/reference/glib/glib-sections.txt | 1 + glib/ghash.c | 152 +++++++++++++++++++++++---------- glib/ghash.h | 2 + glib/glib.symbols | 1 + glib/tests/hash.c | 23 +++++ 5 files changed, 135 insertions(+), 44 deletions(-) commit 8f05da99cb88dfa6c79fb5ccdc640c775dcd631c Author: Matthias Clasen Date: Mon Jun 20 22:49:34 2011 -0400 Make gmarshal.c actually compile standalone It was lacking the necessary includes; in the past it has been included towards the bottom of gsignal.c, and gained its includes that way. gobject/gmarshal.c | 597 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 550 insertions(+), 47 deletions(-) commit b74e2a720a09fcb5ceb1cd3b38e3ce32d14c2234 Author: Colin Walters Date: Mon Jun 20 09:06:07 2011 -0400 Stop using glib-genmarshal at build time To help cross compilation, don't use glib-genmarshal in our build. This is easy now that we have g_cclosure_marshal_generic(). In gobject/, add gmarshal.[ch] to git (making the existing entry points stubs). In gio/, simply switch to using g_cclosure_marshal_generic(). https://bugzilla.gnome.org/show_bug.cgi?id=652168 gio/Makefile.am | 23 --- gio/gactiongroup.c | 5 +- gio/gapplication.c | 5 +- gio/gcancellable.c | 3 +- gio/gdbusauthobserver.c | 3 +- gio/gdbusconnection.c | 3 +- gio/gdbusinterface.c | 1 - gio/gdbusinterfaceskeleton.c | 3 +- gio/gdbusnameowning.c | 7 +- gio/gdbusnamewatching.c | 5 +- gio/gdbusobject.c | 1 - gio/gdbusobjectmanager.c | 5 +- gio/gdbusobjectmanagerclient.c | 5 +- gio/gdbusobjectskeleton.c | 3 +- gio/gdbusproxy.c | 5 +- gio/gdbusserver.c | 3 +- gio/gfilemonitor.c | 3 +- gio/gio-marshal.list | 34 ---- gio/gmountoperation.c | 7 +- gio/gpollableinputstream.c | 3 +- gio/gpollableoutputstream.c | 1 - gio/gsettings.c | 5 +- gio/gsettingsbackend.c | 1 - gio/gsocket.c | 3 +- gio/gsocketservice.c | 3 +- gio/gthreadedsocketservice.c | 4 +- gio/gtlsclientconnection.c | 1 - gio/gtlsconnection.c | 3 +- gio/gtlsserverconnection.c | 1 - gobject/.gitignore | 1 - gobject/Makefile.am | 37 +---- gobject/gmarshal.c | 338 ++++++++++++++++++++++++++++++++++++++++ gobject/gmarshal.h | 187 ++++++++++++++++++++++ gobject/gmarshal.list | 27 +--- gobject/gsignal.c | 4 - 35 files changed, 565 insertions(+), 178 deletions(-) commit 322e25b535a63a631f2f53439a876a4d7d9c1f87 Author: David Zeuthen Date: Mon Jun 20 16:32:03 2011 -0400 GDBus: Unref worker from worker-thread to avoid race ... otherwise we might end up using the worker after it has been freed. Reported by Dan Winship and Colin Walters. This fix uncovered a bug in the /gdbus/nonce-tcp test case so "fix" that as well to use a better way of having one thread wait for another (using quotes for the word "fix" since it's pretty hackish to busy-wait in one thread to wait for another). Signed-off-by: David Zeuthen gio/gdbusprivate.c | 21 ++++++++++++++++++++- gio/tests/gdbus-peer.c | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) commit 4344838781ee4fcd1c459ec0761e531d20baacfb Author: Colin Walters Date: Mon Jun 20 14:09:31 2011 -0400 gthread tests: Remove spurious return; gthread/tests/spawn-singlethread.c | 2 -- 1 file changed, 2 deletions(-) commit 5e64717a5ffb61c51ca936d51d0d38e5abc08c3a Author: Colin Walters Date: Mon Jun 20 11:15:27 2011 -0400 gclosure: Add G_TYPE_ENUM and G_TYPE_PARAM for g_cclosure_marshal_generic() These are fundamental types missed in the original commit. gobject/gclosure.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d54c65448cf7426d132f11c645a1cd9eec034c03 Author: Colin Walters Date: Mon Jun 20 13:41:52 2011 -0400 gdbus-test-codegen: Allocate full integer space for uint16 properties Because there is no G_TYPE_[U]INT16, we need to use integer types, otherwise we'll end up overwriting memory (in this case on the stack). gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 49fac943f37d16ade1b3fdd0f5b0ee479a74e440 Author: Javier Jardón Date: Mon Jun 20 11:48:25 2011 +0100 configure.ac: Generate xz tarballs by default configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c68683f780d4960d0fc0e659c86d8a1efaa4da19 Author: Chun-wei Fan Date: Mon Jun 20 11:50:57 2011 +0800 Visual C++ 2010 project files update Consolidate my previous commit into property file... should have realized this sooner... build/win32/vs10/gio.vcxprojin | 8 -------- build/win32/vs10/glib-compile-schemas.vcxproj | 8 -------- build/win32/vs10/glib-genmarshal.vcxproj | 8 -------- build/win32/vs10/glib.props | 2 +- build/win32/vs10/glib.vcxprojin | 16 ---------------- build/win32/vs10/gmodule.vcxproj | 8 -------- build/win32/vs10/gobject.vcxprojin | 8 -------- build/win32/vs10/gsettings.vcxproj | 8 -------- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 -------- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 -------- build/win32/vs10/gthread.vcxproj | 8 -------- build/win32/vs10/testglib.vcxproj | 8 -------- 12 files changed, 1 insertion(+), 97 deletions(-) commit 801e52f8099f6ae6dba61f0f54bc1c7a60f52681 Author: Chun-wei Fan Date: Mon Jun 20 11:34:15 2011 +0800 Update Visual C++ 2010 Projects -Seperate intermediate directories for each project to avoid intermittent MSBuild errors that a build log cannot be written while in use, and update the property sheet as necessary. -Minor cleanups of uneeded tags in the projects/properties build/win32/vs10/gio.vcxprojin | 9 ++++++++- build/win32/vs10/glib-compile-schemas.vcxproj | 9 ++++++++- build/win32/vs10/glib-genmarshal.vcxproj | 9 ++++++++- build/win32/vs10/glib.props | 3 +-- build/win32/vs10/glib.vcxprojin | 17 ++++++++++++++++- build/win32/vs10/gmodule.vcxproj | 9 ++++++++- build/win32/vs10/gobject.vcxprojin | 9 ++++++++- build/win32/vs10/gsettings.vcxproj | 9 ++++++++- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 9 ++++++++- build/win32/vs10/gspawn-win32-helper.vcxproj | 9 ++++++++- build/win32/vs10/gthread.vcxproj | 9 ++++++++- build/win32/vs10/testglib.vcxproj | 9 ++++++++- 12 files changed, 97 insertions(+), 13 deletions(-) commit f9cec26968fad4ddecae9b13077f63bc11b66f86 Author: Christian Persch Date: Sat Jun 18 16:22:53 2011 +0200 Clarify nul-termination of g_utf8_to_ucs4[_fast] result The docs for g_utf8_to_ucs4_fast didn't mention that the resulting string is terminated by a 0 character. Bug #652897. glib/gutf8.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 580e177dccce98e4f8490b9463321d01343cac2d Author: Matthias Clasen Date: Sun Jun 19 01:42:48 2011 -0400 Add tests for GCache glib/tests/Makefile.am | 3 + glib/tests/cache.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+) commit 9fa5b8e5c7701d9ea40577a9a317d02c79b17d18 Author: Matthias Clasen Date: Sun Jun 19 01:05:26 2011 -0400 asyncqueue: improve test coverage tests/asyncqueue-test.c | 57 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 3 deletions(-) commit 63fa44251a24d01854b86c82ce7e625c0553b88d Author: Matthias Clasen Date: Sun Jun 19 01:05:05 2011 -0400 utils: silence tests unless verbose glib/tests/utils.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 3 deletions(-) commit e1d4e06ab3dc9be6e239eb27f2f168e277ae273c Author: Matthias Clasen Date: Sun Jun 19 01:04:48 2011 -0400 logging: improve test coverage glib/tests/logging.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit ed3ac87afe51de67b631abf5f8dc50622b141a8b Author: Matthias Clasen Date: Sun Jun 19 01:04:30 2011 -0400 hash: Improve test coverage glib/tests/hash.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit c4796a4d7a9bbbfbcf9ec82d0cdc442cdccb8113 Author: Chun-wei Fan Date: Sat Jun 18 17:55:58 2011 +0800 Update gsettings/glib-compile-schemas VS Projects These tools require the use of GModule headers also, so update the include directories so that the correct gmodule.h will be included instead of the system-installed version. build/win32/vs10/glib-compile-schemas.vcxproj | 4 ++++ build/win32/vs10/gsettings.vcxproj | 4 ++++ build/win32/vs9/glib-compile-schemas.vcproj | 4 ++++ build/win32/vs9/gsettings.vcproj | 4 ++++ 4 files changed, 16 insertions(+) commit 4476e22a14af93d375d3a9d8cd2ab8deedf669ad Author: Colin Walters Date: Fri Jun 17 09:39:48 2011 -0400 gvariant: Mark g_variant_new_variant as constructor https://bugzilla.gnome.org/show_bug.cgi?id=647796 glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19610184c40b37c48ddf8006db26e14d563c7eda Author: Colin Walters Date: Fri Jun 17 08:52:05 2011 -0400 gdatainputstream: Add Since: tags and update gio-sections.txt https://bugzilla.gnome.org/show_bug.cgi?id=652758 docs/reference/gio/gio-sections.txt | 2 ++ gio/gdatainputstream.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 28254a38a7f077d5fc03939ea7c03260aabe5188 Author: Colin Walters Date: Thu Jun 16 14:00:36 2011 -0400 GDataInputStream: Add _utf8() variants of _read_line These will validate the resulting line, and throw a conversion error. In practice these will likely be used by bindings, but it's good for even C apps too that don't want to explode if that text file they're reading into Pango actually has invalid UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=652758 gio/gdatainputstream.c | 82 +++++++++++++++++++++++++++++++++++++++++ gio/gdatainputstream.h | 8 ++++ gio/gio.symbols | 2 + gio/tests/data-input-stream.c | 74 +++++++++++++++++++++++++++++++++++++ 4 files changed, 166 insertions(+) commit ff2f46a7f42d5c0d0b8af0d4328f960605420790 Author: Colin Walters Date: Thu Jun 16 13:14:44 2011 -0400 GDataInputStream: Clarify read_line() docs, mark as byte array g_data_input_stream_read_line() and g_data_input_stream_read_line_finish() don't do any encoding checks, so we shouldn't call the returned value a "string" (which I'd like to mean UTF-8). Annotate them as byte arrays and add encoding warnings to the docstrings. https://bugzilla.gnome.org/show_bug.cgi?id=652758 gio/gdatainputstream.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit de0519581ab7aedcfc8b6b5a46139a8c9728c596 Author: Patrick Welche Date: Tue Jun 14 09:43:33 2011 +0100 Fix build due to trivial typos in ab0e9dbf. https://bugzilla.gnome.org/show_bug.cgi?id=652750 docs/reference/gio/Makefile.am | 101 ------------------------------------ docs/reference/gobject/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 102 deletions(-) commit 34b7126a4e0b743b07b9d55309fce0d15802b69c Author: Murray Cumming Date: Wed Jun 15 10:47:13 2011 +0200 G_STATIC_REC_MUTEX_INIT: Add a 0 to the initialization. This avoids a compiler warning about an incomplete initialization when using this. glib/gthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23f684454f6f0151cb7181c527bf254f6b97ed35 Author: Ryan Lortie Date: Tue Jun 14 22:44:10 2011 -0400 Drop dead code in GVariant parser There is no chance that an unsigned integer value will be negative after we do the bounds check that enforces its non-negativity. Caught by Matthias running Coverity. glib/gvariant-parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a6b9db6907117639b2493e96f8dee9e54bdba788 Author: Matthias Clasen Date: Tue Jun 14 20:44:15 2011 -0400 Eliminate some dead code glib/gspawn.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 9b68d9892a125e00958ff019d5edcf4f6b409cf8 Author: Matthias Clasen Date: Tue Jun 14 20:36:37 2011 -0400 Remove a redundant NULL check gmodule/gmodule.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 28008138c3ef88ad7f44055580f2b19796b9c29f Author: Matthias Clasen Date: Tue Jun 14 20:15:04 2011 -0400 Silence a compiler warning gio/gdbusaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f966a0af9ac5524b26917b266abcbbac890c58e0 Author: Matthias Clasen Date: Tue Jun 14 19:52:19 2011 -0400 Add some argument checks to filename conversion functions glib/gconvert.c | 4 ++++ 1 file changed, 4 insertions(+) commit c9f883f133bc83942484cb8a1349b58ada46b4bc Author: Colin Walters Date: Tue Jun 14 18:46:06 2011 -0400 gmain: Close race condition in _g_main_wake_up_all_contexts() Running gthread/tests/spawn-multithreaded in a loop, I very easily hit: GLib-CRITICAL **: g_main_context_wakeup: assertion `g_atomic_int_get (&context->ref_count) > 0' failed Testing the refcount still left a window where we would fall into the assertion. Fix this by just locking the context. glib/gmain.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 211d7adf6e452c30dc0b76225e7bdcddee7c5f8f Author: Colin Walters Date: Wed Jun 8 11:31:14 2011 -0400 gmain: Only run through signal delivery once per read() This is what I intended to do before. https://bugzilla.gnome.org/show_bug.cgi?id=652072 glib/gmain.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit ed827deb7756bde270eb015eb4263324a313be14 Author: Colin Walters Date: Sat Jun 11 12:10:57 2011 -0400 gmain: Use sigset_t for keeping track of installed signals Minor code cleanup. https://bugzilla.gnome.org/show_bug.cgi?id=652072 glib/gmain.c | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) commit 1874ad97d809950901246c940a2b80ba3a6d9390 Author: Colin Walters Date: Fri Jun 10 10:48:07 2011 -0400 gspawn: Reset signal handlers for synchronous spawning We should by default reset signal handlers; particularly with the ability to install them via g_unix_signal_source_new(), we don't want to call a user callback inside a fork()ed helper process. https://bugzilla.gnome.org/show_bug.cgi?id=652072 glib/gspawn.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b9c67b43690bfc3b9a869a285f542a420f5b0067 Author: Colin Walters Date: Sat Jun 11 17:25:13 2011 -0400 glib/tests/unix.c: Also test SIGTERM We expect this to not kill the process, so it'd be a good one to test. https://bugzilla.gnome.org/show_bug.cgi?id=652072 glib/tests/unix.c | 50 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 18 deletions(-) commit c2364ce9a4e59ca0276c02b2b9a1356327f2cffb Author: Colin Walters Date: Fri Jun 10 10:35:27 2011 -0400 spawn-multithreaded: Clean up IO channel code I modeled the new bits after how gunixmount.c handles GIOChannel; it's apparently easier not to look at the condition. https://bugzilla.gnome.org/show_bug.cgi?id=652072 gthread/tests/spawn-multithreaded.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit 7e1886ba72a36f73296781c5ca5525ae5e8288aa Author: Colin Walters Date: Fri Jun 10 10:14:25 2011 -0400 gspawn: Handle EINTR in a few more cases I was debugging gthread/tests/spawn-multithreaded.c, and while I don't think I actually hit EINTR in any of these cases, it'd be good to fix them anyways. https://bugzilla.gnome.org/show_bug.cgi?id=652072 glib/gspawn.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 922f6aa496b3907634b45efe7c95fe9e5ebc5107 Author: Colin Walters Date: Fri Jun 10 07:29:28 2011 -0400 spawn-singlethread.c: New test https://bugzilla.gnome.org/show_bug.cgi?id=652072 gthread/tests/Makefile.am | 4 + gthread/tests/spawn-singlethread.c | 194 ++++++++++++++++++++++++++++++++++++ 2 files changed, 198 insertions(+) commit 01ee9449e34d22c5527d30b70169f6ca2b778626 Author: Colin Walters Date: Fri Jun 10 07:27:29 2011 -0400 spawn-multithreaded: Also look for lt-test-echo I hate libtool =( https://bugzilla.gnome.org/show_bug.cgi?id=652072 gthread/tests/spawn-multithreaded.c | 5 +++++ 1 file changed, 5 insertions(+) commit b6a829c314a837824c63afec35bcf56742c4b71d Author: Matthias Clasen Date: Tue Jun 14 16:32:55 2011 -0400 If dup fails don't call close() gio/gunixfdlist.c | 1 - 1 file changed, 1 deletion(-) commit 6e7a7052e01ef8e44891e9290c5275c3b3d6e07d Author: Matthias Clasen Date: Tue Jun 14 16:20:26 2011 -0400 Remove a redundant assertion A gsize is never going below 0. gobject/gatomicarray.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ba6e66bff1684c0ef0af603f18b0ca53ed7c45fd Author: Matthias Clasen Date: Tue Jun 14 16:18:45 2011 -0400 Don't compare unsigned numbers with 0 It does not work. gio/gdbusaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6d33d3a28071957e81d63ba389bdf759d29dc45 Author: David Zeuthen Date: Tue Jun 14 18:11:09 2011 -0400 GDBusMessage: Optimize serializer and deserializer ... by using a switch instead of if-then-else. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 763 +++++++++++++++++++++++++++------------------------- 1 file changed, 390 insertions(+), 373 deletions(-) commit 7963a4cf95293cbf368a0ff891ba661e4ea3cc63 Author: Colin Walters Date: Tue Jun 14 12:28:57 2011 -0400 gclosure: Add missing include gobject/gclosure.c | 1 + 1 file changed, 1 insertion(+) commit 01e6cf1360deffe49c7bb4d1fa3cbd3d904c6b30 Author: Matthias Clasen Date: Tue Jun 14 11:40:32 2011 -0400 Don't do < 0 on an unsigned value It won't work. read() returns a signed value, anyway. gio/tests/gdbus-sessionbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25a797fa25e17607a7b3618d3d098004b2be1cc8 Author: Matthias Clasen Date: Tue Jun 14 10:16:35 2011 -0400 Silence a compiler warning Even though we are confident the filename will always end in .gmarkup, the compiler doesn't know that... glib/tests/markup-parse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen Date: Tue Jun 14 10:12:46 2011 -0400 Don't leak resources in error cases glib/gfileutils.c | 3 +++ 1 file changed, 3 insertions(+) commit 83d34f630939aa13539e03895bef87da738c4127 Author: Matthias Clasen Date: Tue Jun 14 10:07:22 2011 -0400 Don't forget to free resources in an early return gio/xdgmime/xdgmimemagic.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3dc34de0fffca527e9a9e75f00ef913dec14da08 Author: Matthias Clasen Date: Tue Jun 14 10:04:06 2011 -0400 Avoid a deref-before-NULL-check warning gio/gdbusaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 339cac8fc71f9409f97a4bfc3f42f912c262c06d Author: Matthias Clasen Date: Tue Jun 14 09:53:26 2011 -0400 Remove unneeded NULL check We ensure 10 lines up that parameters is not NULL. gio/gdbusconnection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit cf7f50b28ee84eb4f490540d0ebe84a9d5cf8375 Author: Matthias Clasen Date: Tue Jun 14 09:50:55 2011 -0400 Remove an unneeded NULL check data->proxy cannot be NULL here, or we'd have crashed 10 lines up. gio/gdbusproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4c63303f9fa1ea2737c6890a5e51188eaa534836 Author: Matthias Clasen Date: Tue Jun 14 09:44:45 2011 -0400 Silence an uninitialize variable warning gio/xdgmime/xdgmimeparent.c | 1 + 1 file changed, 1 insertion(+) commit 114b9b2504d6f093daadef6fe0b5b734ca78ec6e Author: Matthias Clasen Date: Tue Jun 14 07:17:06 2011 -0400 Fix up symbol lists and docs docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + 2 files changed, 2 insertions(+) commit 42c2e42a39bb04aae8fae3b691e22b290d1da48a Author: Xan Lopez Date: Thu Jun 9 23:50:22 2011 +0200 gclosure: add missing fundamental types to generic marshaler for GObject type the ffi->gvalue conversion was not handled. The GFlags type was completely missing. gobject/gclosure.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b87d9405be375ac5a5a690f10f6ec13fccd8e3bd Author: Vincent Untz Date: Tue Jun 14 09:01:25 2011 +0200 GDesktopAppInfo: Fix declaration of g_desktop_app_info_get_nodisplay gio/gdesktopappinfo.c | 2 +- gio/gdesktopappinfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 86ffdf55705ef0f76159707576174227df0c2c3a Author: Vincent Untz Date: Sun Jun 12 12:22:59 2011 +0200 GDesktopAppInfo: Add g_desktop_app_info_get_nodisplay Necessary for rebasing gnome-menus on top of GDesktopAppInfo. https://bugzilla.gnome.org/show_bug.cgi?id=652385 gio/gdesktopappinfo.c | 21 +++++++++++++++++++++ gio/gdesktopappinfo.h | 1 + 2 files changed, 22 insertions(+) commit 9a9cca97641cbfdbb7f0ceac73b4317b66b63685 Author: Matthias Clasen Date: Mon Jun 13 23:54:59 2011 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f11f054eb3f38dd507dadd61706a7390ebf2d0d Author: Matthias Clasen Date: Mon Jun 13 21:58:33 2011 -0400 2.29.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0361ec04928be564e08189b6d40e67e4f0ff39e Author: Matthias Clasen Date: Mon Jun 13 23:19:45 2011 -0400 Fix doc generation It helps to use the same file name on both ends... docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dc3d3e9996a3ab260385f9452eec1edaeb614d5 Author: Matthias Clasen Date: Mon Jun 13 22:48:54 2011 -0400 Use a realistic timeout in a test Who knew that g_test_trap_fork() takes a timeout in microseconds... glib/tests/dataset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc403e63614b87e3cf485441d267997978b89351 Author: Matthias Clasen Date: Mon Jun 13 20:48:20 2011 -0400 Update NEWS NEWS | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 5ec6eafb0ea79d21a13fea42628119197476bb3f Author: Colin Walters Date: Mon Jun 13 14:17:44 2011 -0400 gdbus-codegen tests: Fix usage of top_srcddir Based on a patch from Rico Tzschichholz. gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit fd772fbe95fd70a7f34401c85b048ed1460af898 Author: Ryan Lortie Date: Mon Jun 13 09:27:41 2011 -0400 Formally deprecate G_CONST_RETURN glib/gmacros.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit ce9681b87e64a53a35a3db25cdbc406f46e91602 Author: Ryan Lortie Date: Mon Jun 13 09:27:28 2011 -0400 Drop a few more G_CONST_RETURN gobject/gvaluetypes.c | 2 +- tests/testglib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7412e073d195d9c9b0fd83fd81962f3364f5d2be Author: Dan Winship Date: Sun Jun 12 16:17:30 2011 -0400 update .gitignores gio/.gitignore | 1 + glib/.gitignore | 1 + glib/tests/.gitignore | 4 +++- gobject/.gitignore | 1 + gthread/tests/.gitignore | 6 +++++- 5 files changed, 11 insertions(+), 2 deletions(-) commit 9d53e2bc4e806f8b0e142a1ed73c5f25e0dd2347 Author: Colin Walters Date: Fri Jun 10 12:58:49 2011 -0400 gspawn: Fix annotations g-ir-scanner wants guint8. glib/gspawn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 28a9e91b136be5dc133651ae0ea2e70be3d99ba5 Author: Christophe Fergeau Date: Thu Jun 9 13:36:19 2011 +0200 Fix regression in qsort_r BSD detection We can use AC_CHECK_FUNCS to detect if qsort_r is available on the system or not since it will unconditionnally define HAVE_QSORT_R, which we don't want since on BSD, qsort_r isn't usable for us, so we don't want to have HAVE_QSORT_R defined on such platforms. By using AC_CHECK_FUNC instead, we can defer defining HAVE_QSORT_R until we have actually tested it's usable. https://bugzilla.gnome.org/show_bug.cgi?id=651920 configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 73905434a4c32fc0c1a1024a66856cddc77b18db Author: Yaron Shahrabani Date: Fri Jun 10 12:54:51 2011 +0300 Updated Hebrew translation. po/he.po | 176 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 92 insertions(+), 84 deletions(-) commit 6a088820c287d2ffa0276e366e4623f89ca028d3 Author: Mario Blättermann Date: Fri Jun 10 11:17:15 2011 +0200 [l10n] Updated German translation po/de.po | 331 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 171 insertions(+), 160 deletions(-) commit 486c48fafba363bb6e0a2286bfc8a90467f6af3e Author: Abduxukur Abdurixit Date: Fri Jun 10 10:19:12 2011 +0200 Added UG translation po/ug.po | 965 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 520 insertions(+), 445 deletions(-) commit b5cadd8bb5bcae3d2fde60adada4461a03a1e257 Author: Jorge González Date: Thu Jun 9 23:00:04 2011 +0200 Updated Spanish translation po/es.po | 192 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 92 insertions(+), 100 deletions(-) commit 4db88bd6e2957893b9f232527cc46bda799f2027 Author: Murray Cumming Date: Thu Jun 9 20:17:52 2011 +0200 gioenums.h: Remove trailing commas gio/gioenums.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7ff248e822af910e95b68a352793b34db0cd8f8b Author: David Zeuthen Date: Thu Jun 9 13:29:58 2011 -0400 gdbus: Don't pass an unintialized GError pointer Signed-off-by: David Zeuthen gio/gdbus-tool.c | 1 + 1 file changed, 1 insertion(+) commit 30dfc353920df56e31555d9e58a690d9d552058f Author: David Zeuthen Date: Thu Jun 9 13:22:18 2011 -0400 gdbus: Add --recurse and --only-properties options These options are useful when debugging D-Bus services and working with bug reports. Signed-off-by: David Zeuthen docs/reference/gio/gdbus.xml | 47 ++++++++++- gio/gdbus-tool.c | 185 ++++++++++++++++++++++++++++++------------ 2 files changed, 178 insertions(+), 54 deletions(-) commit c672b73602e1cec90cf60e464de5c9a26d0dacd5 Author: David Zeuthen Date: Thu Jun 9 12:25:04 2011 -0400 gdbus: Clarify the --xml option in the man page Signed-off-by: David Zeuthen docs/reference/gio/gdbus.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 13b93f0c48a39c3502f55e011362bcb4d40a5a7d Author: David Zeuthen Date: Thu Jun 9 12:02:30 2011 -0400 Bug 652197 – Improper handling of double values in GDBusMessage Matthew Bucknall pointed out GDBusMessage does not serialize/deserialize double values correctly on platforms with strict alignment constraints (in my particular case, ARM926EJ-S). This was reported in https://bugzilla.gnome.org/show_bug.cgi?id=652197 Signed-off-by: David Zeuthen gio/gdbusmessage.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit f819aa5f1715bb67fd4e269a6e8021144ecf91a6 Author: David Zeuthen Date: Thu Jun 9 11:51:47 2011 -0400 gdbus-codegen: Fix build See https://bugzilla.gnome.org/show_bug.cgi?id=651998 for details. Signed-off-by: David Zeuthen gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit caa8d2ae18b16b200c7d401713733785fa818f5f Author: Ryan Lortie Date: Sat Mar 12 22:04:53 2011 -0500 Document the deprecatation of G_CONST_RETURN ...but don't actually deprecate it yet. docs/reference/glib/tmpl/macros.sgml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 8073759f8cad2033169730c1b95af5b763e3c126 Author: Ryan Lortie Date: Sat Mar 12 21:50:45 2011 -0500 Remove all uses of G_CONST_RETURN Just use 'const'. https://bugzilla.gnome.org/show_bug.cgi?id=644611 glib/gchecksum.c | 2 +- glib/gchecksum.h | 2 +- glib/gconvert.c | 4 ++-- glib/gconvert.h | 2 +- glib/gdataset.c | 6 +++--- glib/gdir.c | 4 ++-- glib/gdir.h | 2 +- glib/giochannel.c | 4 ++-- glib/giochannel.h | 4 ++-- glib/glibintl.h | 6 +++--- glib/gmain.c | 2 +- glib/gmain.h | 2 +- glib/gmarkup.c | 4 ++-- glib/gmarkup.h | 4 ++-- glib/goption.c | 4 ++-- glib/goption.h | 4 ++-- glib/gquark.h | 6 +++--- glib/gstrfuncs.c | 16 +++++++------- glib/gstrfuncs.h | 18 ++++++++-------- glib/gunicode.h | 2 +- glib/gutf8.c | 2 +- glib/gutils.c | 56 ++++++++++++++++++++++++------------------------- glib/gutils.h | 40 +++++++++++++++++------------------ gmodule/gmodule.c | 6 +++--- gmodule/gmodule.h | 4 ++-- gobject/gbinding.c | 4 ++-- gobject/gbinding.h | 4 ++-- gobject/gparam.c | 6 +++--- gobject/gparam.h | 6 +++--- gobject/gsignal.c | 2 +- gobject/gsignal.h | 2 +- gobject/gtype.c | 6 +++--- gobject/gtype.h | 6 +++--- gobject/gvaluetypes.h | 2 +- 34 files changed, 122 insertions(+), 122 deletions(-) commit 8f21e8145cf084ecd66c30cd868f56f7dcd87334 Author: Ryan Lortie Date: Thu Jun 9 11:11:30 2011 -0400 gobject: remove -DG_DISABLE_CONST_RETURNS GObject had a few cases of depending on G_CONST_RETURN not being defined to 'const'. Remove those in preparation for deprecation of G_CONST_RETURN. gobject/Makefile.am | 3 +-- gobject/gbinding.c | 4 ++-- gobject/gobject.c | 2 +- gobject/gparam.c | 3 ++- gobject/gtype.c | 2 +- gobject/testgobject.c | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) commit 5794393c6fc6d63f4f1c9dd6fdd72946728f4246 Author: Alexander Shopov Date: Thu Jun 9 07:00:57 2011 +0300 Updated Bulgarian translation po/bg.po | 902 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 479 insertions(+), 423 deletions(-) commit b04f6dbca02e9f15e07fb82cb52287c5ce15e861 Author: Matthias Clasen Date: Wed Jun 8 23:48:55 2011 -0400 Move gmain docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/main.sgml | 906 ----------------------------------- glib/gmain.h | 16 + 3 files changed, 17 insertions(+), 906 deletions(-) commit 7648415a5012ee595b07490f818f940e2bea2f7c Author: Matthias Clasen Date: Wed Jun 8 23:44:39 2011 -0400 Move gutils docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/misc_utils.sgml | 458 ------------------------------ glib/gprimes.c | 20 +- glib/gtypes.h | 9 + glib/gutils.c | 59 ++++ glib/gutils.h | 27 +- 6 files changed, 102 insertions(+), 472 deletions(-) commit e89f183cf66e6a0846f267853cf9bb44ff52fb8a Author: Matthias Clasen Date: Wed Jun 8 23:29:21 2011 -0400 Remove unused template docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/gregex.sgml | 521 ---------------------------------- 2 files changed, 1 insertion(+), 521 deletions(-) commit 602f8baa0b572ef8693a6ec6711ecca0399a6b3f Author: Christophe Fergeau Date: Wed Jun 8 11:18:26 2011 +0200 bitlock: don't use asm goto on older gcc asm goto was addded in gcc 4.5 so don't try to use it on gcc versions older than this one. This is achieved by explicitly checking gcc version, an alternative would be to try to compile a program using asm volatile in configure. https://bugzilla.gnome.org/show_bug.cgi?id=651959 glib/gbitlock.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit d6b341c38c94bf684e84a5d2f0af1a5bc3c5ae1c Author: Matthias Clasen Date: Wed Jun 8 22:38:11 2011 -0400 Test the previous fix Just make one of the existing GApplication test cases use a dash in the id. gio/tests/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f44cd4129356dd569fd90e3ea83e386bce0602a7 Author: Ryan Lortie Date: Wed Jun 8 22:21:15 2011 -0400 GApplication: allow '-' in application ID By converting it to _ before trying to shove it into an object path. https://bugzilla.gnome.org/show_bug.cgi?id=652025 gio/gapplicationimpl-dbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 6418769e4cf5657104e5842c3f60d67863c70560 Author: Colomban Wendling Date: Tue Jun 7 21:59:15 2011 +0200 Fix a typo in GBinding https://bugzilla.gnome.org/show_bug.cgi?id=652081 gobject/gbinding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20d56289b97f9e8fd290f5ff41e9bfb69329423c Author: Javier Jardón Date: Wed Jun 8 16:26:08 2011 +0100 gconverter: Improve cross-references gio/gconverter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit adf70f4596c18982b984639c1b697cd4cabad13f Author: Dan Winship Date: Tue Jun 7 17:22:58 2011 -0400 Fix export_symbols variable in gio/Makefile.am https://bugzilla.gnome.org/show_bug.cgi?id=646608 gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 686f32fcc24a380400846c20c824fa5ef6484772 Author: Dan Winship Date: Tue Jun 7 17:19:24 2011 -0400 Fix "Since" tags on g_data_input_stream_read_upto{,_async} https://bugzilla.gnome.org/show_bug.cgi?id=647930 gio/gdatainputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37c9775b82021045042ea98e8617210c1cc459ee Author: Giovanni Campagna Date: Sun Apr 3 18:53:04 2011 +0200 gutils, gspawn: fix introspection annotations Fix various (out) arguments, (allow-none) and (array zero-terminated=1) for g_spawn_*() and some others. Some additional fixes by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=646635 glib/gspawn.c | 54 +++++++++++++++++++++++++++--------------------------- glib/gutils.c | 6 +++--- 2 files changed, 30 insertions(+), 30 deletions(-) commit f0620902b2991577fbf0f69d2564535e7306ce20 Author: Colin Walters Date: Tue Jun 7 17:07:46 2011 -0400 Update annotations from gobject-introspection/gir/glib-2.0.c This covers most of them. glib/gcompletion.c | 2 +- glib/gconvert.c | 6 +++--- glib/gfileutils.c | 2 +- glib/giochannel.c | 1 + glib/gkeyfile.c | 15 ++++++++------- glib/gmain.c | 6 +++++- glib/goption.c | 4 ++-- 7 files changed, 21 insertions(+), 15 deletions(-) commit dad374b1a05bc98a5b8c90e2de51ce87dc4fbd8f Author: Colin Walters Date: Tue Jun 7 16:26:43 2011 -0400 glib-types.h: Include glib.h, since we use G_BEGIN_DECLS This header is included individually by g-ir-scanner. gobject/glib-types.h | 2 ++ 1 file changed, 2 insertions(+) commit ab0e9dbfa76e056f875e969c0d7b6e133ec75431 Author: Colin Walters Date: Fri Jun 3 14:53:27 2011 -0400 Generate $module-public-headers.txt file, feed it to gtk-doc Rather than having the gtk-doc build machinery have a list of header files to exclude, change the GLib build to dump a list of public header files generated from the maintained Makefile.am files for each of glib/, gobject/, gio/. Also, for glib, always install glib-unix.h, even on non-Unix platforms, for the same reason we install gwin32.h even on Unix. https://bugzilla.gnome.org/show_bug.cgi?id=651745 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 28 +--------------------------- docs/reference/gobject/Makefile.am | 7 +------ gio/Makefile.am | 10 +++++++++- glib/Makefile.am | 12 +++++++++--- gobject/Makefile.am | 8 ++++++++ 6 files changed, 29 insertions(+), 38 deletions(-) commit 003e05244259aeb8e221065a7f41137cc523aefb Author: Colin Walters Date: Tue Jun 7 14:17:11 2011 -0400 gdbus-codegen: Clean config.pyc to make distcheck happy gio/gdbus-codegen/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit de57755dbcfdea7e7233c6fd53ecca8a41ea4aa5 Author: Colin Walters Date: Tue Jun 7 13:02:41 2011 -0400 g_get_user_data_dir(): Don't warn if XDG_RUNTIME_DIR isn't set We have a meaningful fallback, and warning causes the tests to break. glib/gutils.c | 4 ---- 1 file changed, 4 deletions(-) commit 5f35cb9db42ba8faf6f545afa4ac78f84e3a8155 Author: Kjartan Maraas Date: Tue Jun 7 10:02:40 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 390 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 227 insertions(+), 163 deletions(-) commit 63dc9730ff31af7c830f1ce51c0f98c3829564b7 Author: Marek Černocký Date: Tue Jun 7 08:08:16 2011 +0200 Updated Czech translation po/cs.po | 757 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 376 insertions(+), 381 deletions(-) commit d4be2925e43a521649c465ba35b15cc228613b95 Author: Matthias Clasen Date: Mon Jun 6 23:24:36 2011 -0400 Add a testcase for the previous fix glib/tests/dataset.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit c91720255261222d7be685f3a8f039706f04cce5 Author: Matthias Clasen Date: Mon Jun 6 23:23:29 2011 -0400 GDataList: don't hold the bitlock over callbacks g_datalist_id_clear_i was dropping the dataset lock around the destroy notifies, but kept the bitlock. This was causing deadlocks when finalizing widgets. glib/gdataset.c | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) commit 7f6a8d3484827e77b4ce2f046660e54c1fe3fa29 Author: Chun-wei Fan Date: Tue Jun 7 10:58:54 2011 +0800 Update VS 2008/2010 property sheets "Install" the new gobject/glib-types.h as well... it is needed. build/win32/vs10/glib.props | 2 ++ build/win32/vs9/glib.vsprops | 1 + 2 files changed, 3 insertions(+) commit 09c98f18fcfdaa58864ef127788cbf6332728a94 Author: Chun-wei Fan Date: Tue Jun 7 10:49:29 2011 +0800 Update gsettings utilities in GIO Avoid C99-style variable declaration gio/glib-compile-schemas.c | 9 +++++++-- gio/gsettings-tool.c | 7 ++++++- 2 files changed, 13 insertions(+), 3 deletions(-) commit 1d1f44ca64c671e5e8853279ffb70260ac22a5ba Author: Chun-wei Fan Date: Tue Jun 7 10:32:47 2011 +0800 Update config.h.win32.in -Make contents more like the current config.h(.in) -vsnprintf is included in VS 2008+ config.h.win32.in | 66 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 46 insertions(+), 20 deletions(-) commit 405b4ff4f4efda5777a7d521255b9143cdae59d7 Author: Chun-wei Fan Date: Tue Jun 7 08:55:31 2011 +0800 Update the year in the *.rc.in files Sorry this change came a bit late... gio/gio.rc.in | 2 +- glib/glib.rc.in | 2 +- gmodule/gmodule.rc.in | 2 +- gobject/gobject.rc.in | 2 +- gthread/gthread.rc.in | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit e154e3325eb7274b8164f8d7a5e0f335646c2bb7 Author: Chun-wei Fan Date: Tue Jun 7 08:25:07 2011 +0800 Clean up gobject/gvaluetransform.c a bit The check for _MSC_VER here is not necessary here because: -One cannot compile GLib out-of-the-box with VS 2003 (let alone VS6 or earlier) since GLib 2.22.4 or so. -This code compiles fine with the currently-supported VS versions (2008/2010) without the error mentioned in the comments. This will close Bug 652002. gobject/gvaluetransform.c | 8 -------- 1 file changed, 8 deletions(-) commit fba436f2cb894646d758cc32e3a1ae839591a11f Author: Chun-wei Fan Date: Tue Jun 7 08:20:15 2011 +0800 Fix gatomic.c compilation on Windows (MSVC) -windows.h must be included for the functions[1] to be found during compilation -For Win32(x86), the InterlockedAnd, InterlockedOr and InterlockedXor functions need to be preceded with an underscore. This is mandated by the "For the x86 architecture..." clause under "Remarks"[2] -This will close Bug 652000 [1]:http://msdn.microsoft.com/en-us/library/ms684122(v=vs.85).aspx [2]:http://msdn.microsoft.com/en-us/library/ms683516(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/ms683626(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/ms684021(v=vs.85).aspx glib/gatomic.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 62072b2a043ab872e45c89b6f7f9073cd7035bf5 Author: Colin Walters Date: Mon Jun 6 17:14:45 2011 -0400 gdbus codegen: Ensure PYTHONPATH is set correctly for srcdir != builddir We need to pick up the Python files from the source directory, so set PYTHONPATH. gio/tests/Makefile.am | 2 +- gio/tests/gdbus-object-manager-example/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c08fc65edf1eb4c68208b7621f8af762aeb02dc4 Author: Chun-wei Fan Date: Tue Jun 7 00:37:38 2011 +0800 Update GLib VS9/10 projects There is no longer need to distinguish between gatomic.c and gatomic-gcc.c. This will avoid gatomic.c from being included in the projects twice. build/win32/vs10/glib.vcxproj.filtersin | 3 --- build/win32/vs10/glib.vcxprojin | 1 - build/win32/vs9/glib.vcprojin | 1 - 3 files changed, 5 deletions(-) commit 1eb7efce8e0f9c28de0bbd5c922cb2ee52f88108 Author: Dan Winship Date: Mon Jun 6 10:22:40 2011 -0400 Fix some socket docs issues, remove unused typedefs pointed out by Matthias gio/gioenums.h | 2 +- gio/giotypes.h | 3 --- gio/gproxyresolver.c | 2 +- gio/gthreadedsocketservice.c | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) commit a6f09e104c2b96f08c7c58a8db15059d17a8fd84 Author: Colin Walters Date: Fri Jun 3 13:18:44 2011 -0400 GBuffer: Suffix header with private.h This makes it clearer it's not public API yet. https://bugzilla.gnome.org/show_bug.cgi?id=651745 docs/reference/glib/Makefile.am | 2 +- glib/Makefile.am | 2 +- glib/gbuffer.c | 2 +- glib/gbuffer.h | 88 --------------------------------------- glib/gbufferprivate.h | 88 +++++++++++++++++++++++++++++++++++++++ glib/gmappedfile.c | 2 +- glib/gtimezone.c | 2 +- glib/gvariant-core.c | 2 +- glib/gvariant-core.h | 2 +- 9 files changed, 95 insertions(+), 95 deletions(-) commit 782cf86f12a54065fedd6c232cb52c76dce32538 Author: Matthias Clasen Date: Mon Jun 6 01:14:23 2011 -0400 GMappedFile: improve test coverage glib/tests/mappedfile.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 698bb5d962d8eebfe5315ca550870727b5c93117 Author: Matthias Clasen Date: Mon Jun 6 01:14:00 2011 -0400 GKeyFile: improve test coverage glib/tests/keyfile.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 7cf16c3094d33c07960e2d563dd50ed56e525846 Author: Matthias Clasen Date: Mon Jun 6 01:13:46 2011 -0400 GConvert: improve test coverage glib/tests/convert.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit e02d8165d9e249e16328e1a9db9a8ad633a02d0f Author: Matthias Clasen Date: Mon Jun 6 01:13:26 2011 -0400 Improve GChecksum test coverage glib/tests/checksum.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4971c43da8b2c76e5fd26ef23e47a1301d31f078 Author: Matthias Clasen Date: Mon Jun 6 01:04:19 2011 -0400 GMappedFile: remove nonatomic accesses to ref_count glib/gmappedfile.c | 2 -- 1 file changed, 2 deletions(-) commit ae9611839555a6aae975f12cd1103df9014d0579 Author: Matthias Clasen Date: Mon Jun 6 00:31:52 2011 -0400 Improve test coverage of gtimezone.c glib/tests/gdatetime.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit f0b14653f8d049c033071e1bcaf33ae87ca2edff Author: Matthias Clasen Date: Mon Jun 6 00:31:40 2011 -0400 Improve test coverage of GVariant glib/tests/gvariant.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 70c082127f12e1758087ae9dd61cfbbd5f397830 Author: Matthias Clasen Date: Mon Jun 6 00:31:24 2011 -0400 Improve test coverage of glist.c glib/tests/list.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 3e93fa7a2556ed5b3dbb53c60837a132e0a71772 Author: Matthias Clasen Date: Mon Jun 6 00:31:06 2011 -0400 Improve test coverage of glib-unix.c glib/tests/unix.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit bb0cbc2ae121c444f13520e73a30ad47ba2ccc0a Author: Matthias Clasen Date: Mon Jun 6 00:30:50 2011 -0400 Improve test coverage of gurifuncs.c glib/tests/uri.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit abf4a0200fb9d8bf42e1bfd64c297e7cfe5367f8 Author: Matthias Clasen Date: Mon Jun 6 00:30:30 2011 -0400 Test runtime dir getter tests/testglib.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 1f022a88d4e46c1297d78a73c9331cd2ce2af53b Author: Matthias Clasen Date: Mon Jun 6 00:30:02 2011 -0400 Remove deprecated atomic functions from tests tests/atomic-test.c | 4 ++-- tests/onceinit.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) commit 059fa31ad1e4b5a262f34bb8122fc5080b33fc97 Author: Matthias Clasen Date: Mon Jun 6 00:28:38 2011 -0400 Improve test coverage Duplicate the atomic tests for the functions, and test the new atomic operations as well. glib/tests/atomic.c | 184 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 167 insertions(+), 17 deletions(-) commit a79a5a6202054de5d9b8d7aa3506818c8e33ec27 Author: Matthias Clasen Date: Sun Jun 5 22:20:18 2011 -0400 No need to have two variants of errno-to-GError glib/glib-unix.c | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) commit d811f0cdc9fadc60628c85e4473c4458e755c8b3 Author: Matthias Clasen Date: Sun Jun 5 19:07:06 2011 -0400 Fix a typo And reword some docs. gobject/gobject.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 16731b60db541c928338e8aaea0a930b6a508f5f Author: Fran Diéguez Date: Sun Jun 5 23:30:42 2011 +0200 Updated Galician translations po/gl.po | 925 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 502 insertions(+), 423 deletions(-) commit 03441e406c65cdf8fe56e75aa386b5a04235e203 Author: Kalev Lember Date: Sun Jun 5 14:34:33 2011 +0300 configure.ac: Check for qsort_r function before running the test program When cross compiling, test programs cannot be run. In order to make it easier to cross compile for targets that do not have qsort_r(), check for the function before trying to run the test program. This avoid having to populate cache with glib_cv_have_qsort_r=no with e.g. mingw cross compiler. https://bugzilla.gnome.org/show_bug.cgi?id=651920 configure.ac | 63 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 30 deletions(-) commit 886a3499e1c886d4320617f6272e03d6d77efdbc Author: Kalev Lember Date: Sun Jun 5 14:26:12 2011 +0300 configure.ac: Print qsort_r result only once AC_CACHE_CHECK that was introduced in 70a19815 prints the result, so the following AC_MSG_RESULT is no longer needed. configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit f3f5c410f03b71790a985d21ef3c92f138d2a44c Author: Jorge González Date: Sun Jun 5 16:59:31 2011 +0200 Updated Spanish translation po/es.po | 325 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 199 insertions(+), 126 deletions(-) commit 3b242bc5e9cf96188e61002e175ed33777a82e5d Author: Matthias Clasen Date: Sat Jun 4 23:43:05 2011 -0400 Use g_param_spec_ref_sink instead of separate ref, sink gobject/gobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 9eda9d919584179ec1889d5b7e6162cd1ae21052 Author: Matthias Clasen Date: Sat Jun 4 23:42:07 2011 -0400 GParamSpec: avoid unnecessary double initialization of qdata gobject/gparam.c | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) commit 38dc7955e46cf52ac4fce907ace6b354eaa8c0c6 Author: Matthias Clasen Date: Sat Jun 4 23:13:55 2011 -0400 No necessary to init qdata atomically gobject/gobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f1e5af4e120439d5c26ac4f277cbc315d0ce2504 Author: David Zeuthen Date: Sat Jun 4 21:37:37 2011 -0400 GDBusObject: Remove comment non-existant virtual functions These were nuked a while ago. Signed-off-by: David Zeuthen gio/gdbusobject.h | 4 ---- 1 file changed, 4 deletions(-) commit b3effbf6833f9514dd3e4a57c35b28e6cd4aefae Author: Matthias Clasen Date: Sat Jun 4 20:06:44 2011 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e6dc0d8fa256a93623b3614a6bfc0e605f8efcb Author: Matthias Clasen Date: Sat Jun 4 18:48:54 2011 -0400 2.29.6 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a6529442c3e82bb8151f7ed72edd72559c4fc63 Author: Matthias Clasen Date: Sat Jun 4 19:05:19 2011 -0400 Fix doc syntax gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 1 insertion(+), 1 deletion(-) commit c40199b450f1abef30d9514e3ec34b52669add9a Author: Matthias Clasen Date: Sat Jun 4 08:13:48 2011 -0400 Update NEWS NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file 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 file 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 file 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 file changed, 15 insertions(+) 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 file changed, 5 insertions(+), 1 deletion(-) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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(+) 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 file 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 file 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 file changed, 1 insertion(+), 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 file 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 file 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 file changed, 3 insertions(+) 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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(+) 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 deletion(-) 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 file 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 file 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 file 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 file 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 file 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 file changed, 12 insertions(+) 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 deletion(-) commit 6af9dd51358c9a3b77872aa2ee9c055994f13835 Author: Colin Walters Date: Tue May 31 13:25:09 2011 -0400 gutils.c: Annotation fixes glib/gutils.c | 12 ++++++------ 1 file 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 file 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 file 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 file 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 file 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 file 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 | 66 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 33 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 file changed, 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 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 file 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 file changed, 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file 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(+) 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 file 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 file 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 file 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 file changed, 1 deletion(-) commit b6fd3c3dac9cbffc0f45162b289f625e61eb1319 Author: Daniel Mustieles Date: Sat May 28 10:27:31 2011 +0200 Updated Spanish translation po/es.po | 201 +++++++++++++++++++++++++++++++------------------------------- 1 file 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 file 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 file 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(+) 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(+) 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 file 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 file 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 file 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 file changed, 133 insertions(+) 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 file changed, 2 insertions(+) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 2 insertions(+) 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 file 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 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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(+) commit 22e7fc34c44c5ef95abf4fed429f2345410cc82c Author: Matthias Clasen Date: Sun May 22 00:33:05 2011 -0400 Fix HAVE_FUTEX definition configure.ac | 7 ++++--- 1 file 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 file 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 file 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 file 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 file 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 file 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 file changed, 1 insertion(+) commit 5645c7aa41c25de39943db2099699ea66e2cad6e Author: Colin Walters Date: Wed May 18 11:57:21 2011 -0400 gtype: Remove unused variable gobject/gtype.c | 1 - 1 file changed, 1 deletion(-) 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 file 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 file 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 file 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 file 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 file 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 file changed, 2 insertions(+) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file changed, 4 insertions(+), 1 deletion(-) commit 125b896a4ed21c54047a368247f76c0b36e1554b Author: Kristjan SCHMIDT Date: Sun May 15 10:16:59 2011 +0200 Updated Esperanto translation po/eo.po | 2372 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file 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 file 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 file 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 file 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 file changed, 5 insertions(+) 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(+) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file changed, 8 insertions(+), 1 deletion(-) 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 deletion(-) 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file changed, 67 insertions(+), 1 deletion(-) 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 file changed, 41 insertions(+) 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 file 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(+) 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 file changed, 8 insertions(+) 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 file changed, 1 insertion(+) 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(+) 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(+) 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 file 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 file changed, 1 insertion(+), 1 deletion(-) commit 5b4da74bc75b91a1eac7c9b7eac39bf543ab7b6b Author: Matthias Clasen Date: Wed May 4 20:45:46 2011 -0400 More distcheck fixes gio/gdbus-codegen/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d5d4659a60ed682d67bbfba853bfa62f221e1e3b Author: Matthias Clasen Date: Wed May 4 19:44:05 2011 -0400 Try to fix distcheck gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6ea2291573a554eb15e1653c0dd8f0503edec9b7 Author: Matthias Clasen Date: Wed May 4 14:53:08 2011 -0400 Pre-release bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b45c39b4b02f4f5c4665b505fb1cf3e84d0b6e8 Author: Matthias Clasen Date: Wed May 4 14:33:03 2011 -0400 Updates NEWS | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit c0623501592eb484da46e76a1e1b0370c527f61b Author: Ray Strode Date: Wed May 4 12:45:22 2011 -0400 gdbus-codegen: don't assert non-negativity for unsigned values The code generator sprinkles a few asserts in its output of the form: g_assert (prop_id - 1 >= 0 && prop_id - 1 < %d);\n prop_id is unsigned, though, so this generates a compiler warning for me. This commit changes the code to merely check for prop_id != 0 instead of prop_id - 1 >= 0 gio/gdbus-codegen/codegen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e823ba10d3babd5ae61c69d96379ff34e9e978f8 Author: Ryan Lortie Date: Wed May 4 18:12:31 2011 +0200 GVariant: Better handling of invalid UTF-8 g_variant_new_string() hits a g_return_if_fail() when given invalid UTF-8. That's certainly the right thing to do, but g_variant_builder_add() uses this function internally and crashes when it returns NULL due to the user passing a non-utf8 string. We can protect the internal code by returning "[Invalid UTF-8]" in this case while also making the problem easier to debug (and less fatal). Closes #632631. glib/gvariant.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit d97cbc6731deab137770bc0fe9c69b06f689f5b4 Author: Alexander Larsson Date: Wed May 4 13:54:34 2011 +0200 gdbus-codegen: Make sure we pass -Werror _g_value_equal might not always be used, so mark it G_GNUC_UNUSED to make sure we're -Werror clean. gio/gdbus-codegen/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 985fd99e06469e7f64b2bbcf37b03ea14c4a30dc Author: Kjartan Maraas Date: Wed May 4 11:06:44 2011 +0200 Updated Norwegian bokmål translation po/nb.po | 833 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 422 insertions(+), 411 deletions(-) commit 1ab29b6c4a2ddf5a60b4cc353422d605197b7696 Author: David Zeuthen Date: Wed May 4 03:37:46 2011 -0400 GDBusObjectManagerServer: Allow setting :connection property .. and add a C setter to do this. Also make the C getter return a reference since the property may be set from another thread. Also change the constructor to _not_ take a GDBusConnection since this is something you almost always want to do _after_ creating it. The API/ABI break is fine as there has never been a GLib release with this type. https://bugzilla.gnome.org/show_bug.cgi?id=648959 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusobjectmanagerserver.c | 266 +++++++++++++++++------- gio/gdbusobjectmanagerserver.h | 5 +- gio/gio.symbols | 1 + gio/tests/gdbus-example-objectmanager-server.c | 5 +- gio/tests/gdbus-test-codegen.c | 14 +- 6 files changed, 217 insertions(+), 75 deletions(-) commit 542215b78ac52ffb96386ef63ee782981a1b8e49 Author: Colin Walters Date: Tue May 3 16:31:34 2011 -0400 Rename g_unix_pipe_flags to g_unix_open_pipe From IRC discussion, people liked this name more. https://bugzilla.gnome.org/show_bug.cgi?id=649322 docs/reference/glib/glib-sections.txt | 2 +- gio/gcancellable.c | 2 +- glib/glib-unix.c | 8 ++++---- glib/glib-unix.h | 6 +++--- glib/glib.symbols | 2 +- glib/gmain.c | 4 ++-- glib/tests/unix.c | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) commit ba5c9bd39f070acabee81c630ae2cbe678f1a99e Author: Matthias Clasen Date: Tue May 3 19:15:46 2011 -0400 Remove extraneous decorations Since in a doc comment takes no leading '@'. glib/gtestutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 511070fb2803c799b953ac938b81c79c5e1036f8 Author: Colin Walters Date: Tue May 3 16:22:13 2011 -0400 glib-unix.c: Don't leak FDs if pipe2() succeeds glib/glib-unix.c | 2 ++ 1 file changed, 2 insertions(+) commit e5c986cbcf34f15397ab2032453cc4220ce480e4 Author: Matthias Clasen Date: Tue May 3 12:41:11 2011 -0400 Only remove the lines that are no longer needed tests/Makefile.am | 3 --- 1 file changed, 3 deletions(-) commit 5d1aba24648adf7432391f725599d4a19727ece9 Author: Matthias Clasen Date: Tue May 3 12:37:45 2011 -0400 Revert "[build] Remove stale LDADD lines from tests/Makefile.am to allow build" This reverts commit b0874ce28e910121fb2d94f6f9183bfdc08e8eaf. tests/Makefile.am | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 11bb78105dc2effcfe9c48365fa2e295fb48ee38 Author: Colin Walters Date: Tue May 3 10:57:22 2011 -0400 Use g types in public API for consistency glib/glib-unix.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit c078223b388939f3f7cb77bdaa8b60aad0713756 Author: Colin Walters Date: Mon May 2 15:42:51 2011 -0400 GCancellable: Use g_unix_pipe_flags with FD_CLOEXEC The old code was creating a pipe and setting FD_CLOEXEC non-atomically. https://bugzilla.gnome.org/show_bug.cgi?id=649225 gio/gcancellable.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit ed37970a0405b5681bcd6449d4dc1b4f9080c4fa Author: Colin Walters Date: Tue May 3 09:52:10 2011 -0400 g_unix_set_fd_nonblocking: New API to control file descriptor blocking state And use it in relevant places in GLib. https://bugzilla.gnome.org/show_bug.cgi?id=649225 gio/gcancellable.c | 27 +++++---------------------- gio/gsocket.c | 17 ++++++++--------- glib/glib-unix.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/glib-unix.h | 4 ++++ glib/glib.symbols | 1 + glib/gmain.c | 2 +- 6 files changed, 69 insertions(+), 32 deletions(-) commit e08e70e08d65e2fce142491a6c8fc6068c8008d2 Author: Colin Walters Date: Mon May 2 17:02:16 2011 -0400 glib-unix.h: Unconditionally include unistd.h danw points out it's part of POSIX. https://bugzilla.gnome.org/show_bug.cgi?id=649201 glib/glib-unix.h | 2 -- 1 file changed, 2 deletions(-) commit e56498ee0b1bdac0ad3c18a1f7bff83d4a5b1323 Author: Dan Winship Date: Sun May 1 11:17:14 2011 -0400 Fix usage of _GNU_SOURCE _GNU_SOURCE must be defined before including any other (system) header, so defining it in glib-unix.h (and hoping no one has included anything else before that) is wrong. And the "#define _USE_GNU" workaround for this problem in gnetworkingprivate.h is even wronger (and still prone to failure anyway due to single-include guards). Fix this by defining _GNU_SOURCE in config.h when building against glibc. In theory this is bad because new releases of glibc may include symbols that conflict with glib symbols, which could then cause compile failures. However, most people only see new releases of glibc when they upgrade their distro, at which point they also generally get new releases of gcc, which have new warnings/errors to clean up anyway. https://bugzilla.gnome.org/show_bug.cgi?id=649201 configure.ac | 6 ++++-- gio/gfile.c | 1 - gio/glib-compile-schemas.c | 1 - gio/glocalfileinfo.c | 1 - gio/gnetworkingprivate.h | 22 ++++------------------ gio/gsettings.c | 1 - gio/gunixcredentialsmessage.c | 2 -- gio/gunixfdlist.c | 2 -- gio/libasyncns/g-asyncns.h | 2 -- gio/tests/gdbus-peer.c | 2 ++ glib/glib-unix.h | 8 -------- glib/gmain.c | 15 --------------- glib/gprintf.c | 4 ---- glib/gqsort.c | 1 - glib/gslice.c | 2 +- glib/gstrfuncs.c | 2 -- 16 files changed, 11 insertions(+), 61 deletions(-) commit 33c0877adc681cb7cf8cf12afd94a9de8c869bf2 Author: Dan Winship Date: Mon May 2 17:06:37 2011 -0400 Add back an erroneously-removed line to tests/Makefile.am tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit e71fdf6b5a88cc1f47f4cc12bab10c6e8953efae Author: Colin Walters Date: Fri Apr 29 10:59:42 2011 -0400 Drop translated g_warning/g_error http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html gio/gdbusmethodinvocation.c | 6 +++--- gio/gdbusproxy.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 597ede957a4783b72a7037497f6f2e775285df3a Author: Ray Strode Date: Mon May 2 12:33:36 2011 -0400 glib/Makefile.am: add gmain-internal.h to sources It's a new private header. This commit adds it to the Makefile so it's properly distributed with the sources. glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 02877e29020c2a0f34283435ecf544b1f6793077 Author: Benjamin Otte Date: Mon May 2 19:22:25 2011 +0200 gobject: Warn if someone uses the wrong property in g_object_get/set "Interface::property" was not detected before and led to a crash. gobject/gobject.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 331e15b1284cd6fd5804a7495d2882ee97148c0a Author: Abduxukur Abdurixit Date: Mon May 2 18:29:59 2011 +0200 Added UG translation po/ug.po | 7552 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 3765 insertions(+), 3787 deletions(-) commit bdc23c44e8fbb507e14056a05e38b92982df7a5f Author: Dan Winship Date: Mon May 2 11:45:52 2011 -0400 Fix compiler warnings glib/gdate.c | 2 +- glib/ghash.c | 2 +- glib/gutf8.c | 4 ---- glib/tests/gvariant.c | 1 + gobject/gclosure.c | 2 ++ gobject/gobject.c | 52 ++++++++++++++++++++---------------------- gobject/testgobject.c | 2 ++ gobject/tests/dynamictests.c | 3 +++ gobject/tests/threadtests.c | 7 +++--- tests/refcount/objects.c | 2 +- tests/refcount/objects2.c | 2 +- tests/refcount/properties.c | 4 ---- tests/refcount/properties2.c | 2 +- tests/refcount/signals.c | 2 +- 14 files changed, 42 insertions(+), 45 deletions(-) commit 6f711a76cdd7eac3914542232526111a7b6bb053 Author: Dan Winship Date: Mon May 2 11:44:46 2011 -0400 Fix autoconf 2.68 warnings autoconf 2.68 is very insistent that AC_LANG_SOURCE/AC_LANG_PROGRAM must be used in certain places, to avoid quoting/lack-of-quoting problems, or something. Fix. configure.ac | 60 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) commit c1d61f197137a0dda6b1894984114ed2ed4171ea Author: Behdad Esfahbod Date: Mon May 2 11:43:02 2011 -0400 Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk Add tests. glib/tests/utf8-misc.c | 91 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 87 insertions(+), 4 deletions(-) commit b0874ce28e910121fb2d94f6f9183bfdc08e8eaf Author: Behdad Esfahbod Date: Mon May 2 11:26:01 2011 -0400 [build] Remove stale LDADD lines from tests/Makefile.am to allow build Automake 1.11 wasn't happy. tests/Makefile.am | 35 ----------------------------------- 1 file changed, 35 deletions(-) commit 181763438a6be7791ef87c63fa119f74b44aeede Author: Dan Winship Date: Mon May 2 09:53:59 2011 -0400 Update .gitignores .gitignore | 1 + gio/.gitignore | 1 + gio/gdbus-codegen/.gitignore | 2 ++ gio/tests/.gitignore | 4 ++++ glib/.gitignore | 1 + glib/tests/.gitignore | 3 +++ gobject/.gitignore | 1 + gthread/tests/.gitignore | 1 + 8 files changed, 14 insertions(+) commit f4cff2b923dd4df811327c9f199614dbfcbfe436 Author: Matthias Clasen Date: Sun May 1 23:02:53 2011 -0400 Some documentation additions docs/reference/gio/gio-sections.txt | 4 ++++ gio/gdbusobjectproxy.c | 16 ++++++++++++++-- gio/gdesktopappinfo.c | 18 ++++++++++++------ 3 files changed, 30 insertions(+), 8 deletions(-) commit ddcb095fb22b6b3c865bbe3a86af6cadca4c8131 Author: Matthias Clasen Date: Sun May 1 20:43:04 2011 -0400 Avoid an unused variable warning Also, clean up some whitespace glib/tests/keyfile.c | 355 +++++++++++++++++++++++++------------------------- 1 file changed, 179 insertions(+), 176 deletions(-) commit ef5d4d55fe76b71edaf83999ca7408121a5439fa Author: Matthias Clasen Date: Sun May 1 17:07:46 2011 -0400 Fix make check g_thread_init() causes a hash table to be allocated (in read_aliases). Since hash tables are now a bit larger, we need to bump one of the probe sizes to avoid our probe slice being used for the aliases hash table. tests/slice-threadinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a84637377ca81fe53bff1f694c7364eda21b88c9 Author: Abduxukur Abdurixit Date: Sun May 1 20:04:51 2011 +0200 Added UG translation po/ug.po | 7381 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 3793 insertions(+), 3588 deletions(-) commit d09df426ba3788174b5bcc974831651208a13ea2 Author: Matthias Clasen Date: Sun May 1 10:55:24 2011 -0400 GHash: make sets with refcounted keys work correctly When keys == values, we have to be careful about the order in which we replace their elements. glib/ghash.c | 6 ++-- glib/tests/hash.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 3 deletions(-) commit be991170fa99185b7cf1dbf3f9bc62c9d656a08a Author: Matthias Clasen Date: Sat Apr 30 22:28:34 2011 -0400 GHash: introduce a "set" mode Make hash tables start out in a mode in which they don't store values at all, until the first insertion of a non-identical key-value pair. This reduces memory requirements by 1/3 when using hash tables to store sets. Based on a patch by Morten Welinder, https://bugzilla.gnome.org/show_bug.cgi?id=644437 glib/ghash.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++----- glib/tests/hash.c | 42 +++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+), 6 deletions(-) commit 0ae6bc3aaa57eb15826d81d2db466c166d0b75bf Author: Morten Welinder Date: Wed Apr 27 10:46:00 2011 -0400 GHash: eliminate one of the lookup_nodes functions. Kill g_hash_table_lookup_node and rename g_hash_table_lookup_node_for_insertion to g_hash_table_lookup_node. Since at this point we already check for toombstones in all callers of g_hash_table_lookup_node this doesn't make a difference. https://bugzilla.gnome.org/show_bug.cgi?id=644437 glib/ghash.c | 83 +++++++++------------------------------------------------- 1 file changed, 12 insertions(+), 71 deletions(-) commit 6e45153ef78e1dbc59592104f0675ac8e81c6648 Author: Morten Welinder Date: Wed Apr 27 10:39:56 2011 -0400 GHash: split nodes array into seperate arrays. This reduces memory requirements by 1/6 on 64-bit machines since no padding is needed. It also puts less strain on the memory allocator since we no longer need one giant slab of memory. https://bugzilla.gnome.org/show_bug.cgi?id=644437 glib/ghash.c | 207 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) commit 4d8e64e6e83dcbd8c82de45ca5a517213bfd5a1a Author: Morten Welinder Date: Wed Apr 27 09:53:39 2011 -0400 GHash: use macros to check for magic hash values. https://bugzilla.gnome.org/show_bug.cgi?id=644437 glib/ghash.c | 51 +++++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 26 deletions(-) commit 707e011061fa7dcdaddca686a351ba3bdde5ffe9 Author: Chun-wei Fan Date: Sun May 1 09:42:22 2011 +0800 Update VS2008/2010 README.txt Tell people about the usage of ZLib to avoid the problem such as the one mentioned in Bug 633977 build/win32/vs10/README.txt | 6 +++++- build/win32/vs9/README.txt | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit acda716d2d955ba2107a06a11df2e7938d0dfd4d Author: Behdad Esfahbod Date: Fri Apr 29 16:14:49 2011 -0400 Bug 648966 - Update g_unichar_iswide and g_unichar_iswide_cjk Update to Unicode 6.0. Also attach Python script that generates the tables. glib/Makefile.am | 1 + glib/gen-iswide-table.py | 58 +++++++++++++++++++++++++++++++++ glib/guniprop.c | 81 +++++++++++++++++++++++++++------------------- 3 files changed, 107 insertions(+), 33 deletions(-) commit 426e1b61595f0c822b4a4f62f0d9152a6558232d Author: Ryan Lortie Date: Fri Apr 29 17:06:26 2011 -0400 Remove duplicate GDBusInterface declaration It was in gdbusinterface.h but also in giotypes.h. Remove it from the former. gio/gdbusinterface.h | 1 - 1 file changed, 1 deletion(-) commit 92aed13eb8926cb35d1f2e8978c152f2e4398830 Author: David Zeuthen Date: Fri Apr 29 13:11:22 2011 -0400 Update docs to take comments/suggestions from Matthias into account Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 74 +++++++++++++++++++++++--------- docs/reference/gio/migrating-gdbus.xml | 5 +++ gio/gdbusobjectmanagerserver.c | 6 ++- 3 files changed, 62 insertions(+), 23 deletions(-) commit 0e352fdb182e63ff163b0feda198cb3b6b20aa3a Merge: 0377fe7 9eba49a Author: David Zeuthen Date: Fri Apr 29 12:01:35 2011 -0400 Merge branch 'master' into gdbus-codegen commit 9eba49a982e94196f90c79c5eac4a00cc437b12e Author: Alexander Larsson Date: Fri Apr 29 16:14:17 2011 +0200 GFilterInputStream: close-base-stream should not be construct-only This is a runtime changable property (by the methods for it), must be a cut and paste error. gio/gfilterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a04efe6afb63d54e12ff8f329cbaf458a2e31b26 Author: Colin Walters Date: Tue Apr 26 13:04:25 2011 -0400 Use SIGTRAP (via G_BREAKPOINT()) if G_DEBUG=fatal-warnings On Linux with gdb, it's much more convenient to debug programs using G_DEBUG=fatal-warnings if we send SIGTRAP instead of abort() by default. The default handler for both is to terminate the process. In particular this makes it more easily possible to debug a warning that's not the first in a program; you can skip past it and go to the warning you care about. The "aborting..." message is removed since it's no longer accurate, and anyways was never very useful; crashes should show up in ABRT/apport type crash catching systems. https://bugzilla.gnome.org/show_bug.cgi?id=648423 glib/gmessages.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) commit 1763c2a575a959efa96795fc8d9d2cff60dd70cc Author: Daniel Mustieles Date: Thu Apr 28 20:45:34 2011 +0200 Updated Spanish translation po/es.po | 458 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 241 insertions(+), 217 deletions(-) commit e585059514714b7bc191fa3467cb15e86dcc7e09 Author: Shaun McCance Date: Thu Apr 28 12:41:41 2011 -0400 glib/gvariant.c: Fix variable name in example code glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1fbe7ae8402c18fc5ebae1d07a90342f79621f3 Author: Colin Walters Date: Wed Apr 27 19:09:38 2011 -0400 Drop stray reference to gthread.la We now build this test multithreaded in gthread/tests. glib/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b04bbc8e05f8d22309990599820eeb2438b3cbd Author: Colin Walters Date: Wed Apr 27 18:42:29 2011 -0400 glib/Makefile.am: Remove stray tab glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 549d895fa4e9c4b5a35c5d9da4db39ca11dc71cc Author: Colin Walters Date: Thu Mar 17 10:11:41 2011 -0400 glib-unix: New API to watch some Unix signals This new API allows watching a few select Unix signals; looking through the list on my system, I didn't see anything else that I think it'd reasonable to watch. We build on the previous patch to make the child watch helper thread that existed on Unix handle these signals in the threaded case. In the non-threaded case, they're just global variables. https://bugzilla.gnome.org/show_bug.cgi?id=644941 docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 4 +- glib/glib-unix.c | 88 +++++++- glib/glib-unix.h | 22 +- glib/glib.symbols | 2 + glib/gmain-internal.h | 35 ++++ glib/gmain.c | 371 +++++++++++++++++++++++++++------ glib/tests/Makefile.am | 6 +- glib/tests/unix.c | 81 +++++++ gthread/tests/Makefile.am | 5 + 10 files changed, 544 insertions(+), 71 deletions(-) commit 920899d78fbed7f014dc1549f1b54a3bd708eb4b Author: Colin Walters Date: Wed Mar 16 19:02:15 2011 -0400 gmain: Prepare child watch handling for more generic signal handling In preparation for supporting more Unix signals such as SIGHUP, SIGTERM etc., https://bugzilla.gnome.org/show_bug.cgi?id=644941 glib/glib-unix.c | 19 ++++---- glib/gmain.c | 134 ++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 114 insertions(+), 39 deletions(-) commit 0ff211f520c18550454289e7265061d7e8ac41c0 Author: Colin Walters Date: Wed Mar 16 13:54:28 2011 -0400 glib-unix: New Unix-specific API GLib historically has been designed to be "mostly" portable; there are some functions only available on Unix like g_io_channel_unix_new(), but these are typically paired with obvious counterparts for Win32. However, as GLib is used not only by portable software, but components targeting Unix (or even just Linux), there are a few cases where it would be very convenient if GLib shipped built-in functionality. This initial patch is a basic wrapper around pipe2(), including fallbacks for older kernels. This pairs well with the existing g_spawn_*() API and its child_setup functionality. However, in the future, I want to add a signal() wrapper here, complete with proxying the signal to a mainloop. I have initial code for this, but doing it sanely (including factoring out gmain.c's private worker thread), is a complex task, and I don't want to block on that. See also gwin32.h for Win32 specific functionality. https://bugzilla.gnome.org/show_bug.cgi?id=644941 docs/reference/glib/glib-sections.txt | 8 ++ glib/Makefile.am | 7 ++ glib/glib-unix.c | 135 +++++++++++++++++++++++++++++++++ glib/glib-unix.h | 70 +++++++++++++++++ glib/glib.symbols | 9 +++ glib/gmain.c | 30 +++----- glib/tests/Makefile.am | 3 + glib/tests/unix.c | 60 +++++++++++++++ 8 files changed, 302 insertions(+), 20 deletions(-) commit 27246c615df66ee869c2174aa6609601ff9d1f64 Author: Colin Walters Date: Wed Apr 27 13:29:07 2011 -0400 Update gio.symbols for previous two commits gio/gio.symbols | 2 ++ 1 file changed, 2 insertions(+) commit 4098ddcb066f40bf9563973753bbb7867a553700 Author: Colin Walters Date: Wed Apr 27 11:34:23 2011 -0400 GDesktopAppInfo: Add g_desktop_app_info_get_generic_name Necessary for rebasing gnome-menus on top of GDesktopAppInfo. https://bugzilla.gnome.org/show_bug.cgi?id=647967 gio/gdesktopappinfo.c | 22 +++++++++++++++++++++- gio/gdesktopappinfo.h | 1 + 2 files changed, 22 insertions(+), 1 deletion(-) commit 276e6a7be8a2d31bd67cac7c571f65dfd8b2fd88 Author: Colin Walters Date: Fri Apr 15 15:52:33 2011 -0400 GDesktopAppInfo: Add g_desktop_app_info_get_categories() This is needed to rebase gnome-menus on top of GDesktopAppInfo. https://bugzilla.gnome.org/show_bug.cgi?id=647903 gio/gdesktopappinfo.c | 16 ++++++++++++++++ gio/gdesktopappinfo.h | 2 ++ 2 files changed, 18 insertions(+) commit 0dc5d456926257bd68702a4a1c989d132324d460 Author: David Schleef Date: Mon Feb 21 18:58:09 2011 -0800 Fix %z in g_date_time_format() https://bugzilla.gnome.org/show_bug.cgi?id=642935 glib/gdatetime.c | 5 ++--- glib/tests/gdatetime.c | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) commit d3b80c49ea257d02838099e05e315a2407e664b9 Author: Matthias Clasen Date: Wed Apr 27 00:03:59 2011 -0400 GHashTable: Small optimization of remove-all Don't enter the loop if we are not going to notify anyway. Pointed out in bug 646013. glib/ghash.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit fc7403b675d29574568a79401c864298e8730413 Author: Matthias Clasen Date: Wed Apr 27 00:03:28 2011 -0400 GHashTable: Add a test for remove-all functionality glib/tests/hash.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 4832289bc0c2a40a9dbc7259db9be914195ea5f4 Author: Matthias Clasen Date: Tue Apr 26 23:57:17 2011 -0400 Whitespace cleanup glib/tests/hash.c | 426 +++++++++++++++++++++++++++-------------------------- 1 file changed, 217 insertions(+), 209 deletions(-) commit 70a19815326d7e76657848aeaa58ee61db34df58 Author: Maciej Piechotka Date: Thu Mar 31 09:00:27 2011 +0200 Allow caching have_qsort_r which re-enables cross-compiling https://bugzilla.gnome.org/show_bug.cgi?id=646309 configure.ac | 6 +++--- docs/reference/glib/cross.sgml | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) commit fdf83b5108f03aed1b1fa0f5e6b23a5a83c149cd Author: Matthias Clasen Date: Tue Apr 26 23:26:58 2011 -0400 Fix mailing list link in README Patch by Thomas Andersen, bug 647594 README.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6dcf505346adcfaac639f0be074b5aec7f67f3f8 Author: Murray Cumming Date: Mon Apr 4 10:01:51 2011 +0200 GDBusServer: Documentation: Improvements. Provide a fuller description and lead people away if they arrived here just looking for a way to provide a regular D-Bus service. https://bugzilla.gnome.org/show_bug.cgi?id=646425 gio/gdbusserver.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 71c7e49058c226cd3b34e85c1b25428c1eb80b84 Author: Christian Persch Date: Fri Mar 4 18:21:51 2011 +0100 Use G_SIGNAL_MUST_COLLECT for VARIANT signals Bug #643624. gio/gactiongroup.c | 4 +++- gio/gdbusproxy.c | 10 ++++------ gio/gsimpleaction.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) commit 122a53a9bc546e4705d20b15c703b8ba354e967b Author: Matthias Clasen Date: Tue Apr 26 22:51:54 2011 -0400 Fix up some harmless FALSE <> NULL confusions Reported in bug 643134. gio/gdbusconnection.c | 2 +- gio/gdbusmessage.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) commit 440bd2a97574e63c39f0c1e2dbf8a17c2635b0e9 Author: Matthias Clasen Date: Tue Apr 26 22:08:24 2011 -0400 GSequence: Make g_sequence_iter_move behave as documented As pointed out in bug 658313, moving before the begin iter is supposed to return the begin iter, not the end iter. Also add a test for this behaviour. glib/gsequence.c | 8 +++++++- glib/tests/sequence.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) commit 2a3f7f49b46abdaf2d82e704a3ee044ed57fb61f Author: Colin Walters Date: Tue Apr 26 15:08:54 2011 -0400 GDesktopAppInfo: Add "filename" property for bindings GDesktopAppInfo violates the GObject rule that your C constructors should just be thin wrappers around g_object_new(). While GKeyFile isn't introspctable, this patch allows from JavaScript: var app = new Gio.DesktopAppInfo({ filename: '/path/to/foo.desktop' }); https://bugzilla.gnome.org/show_bug.cgi?id=648425 gio/gdesktopappinfo.c | 150 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 116 insertions(+), 34 deletions(-) commit 1056f2240c46081d8f55fe6f121ddee6a0370d96 Author: Colin Walters Date: Tue Apr 26 13:28:17 2011 -0400 Squash some uninitialized variable compiler warnings From GCC 4.6. gio/glocalfileinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit df45856bba14b93fedcb876fe04e0bbf0d159909 Author: Dan Winship Date: Wed Apr 20 11:41:47 2011 -0400 GSimpleAsyncResult: push thread context around callback When an old pre-thread-default-context API that takes an explicit GMainContext wants to call a gio API, it must call g_main_context_push_thread_default() before, and g_main_context_pop_thread_default() after the gio call, so that the gio method will return its result to the desired GMainContext. But this fails for methods like g_socket_client_connect_async() that make a chain of multiple async calls, since the pushed/popped context will only affect the initial call. Fix this by having GSimpleAsyncResult itself push/pop the context around the callback invocation, so that if the callback queues another async request, it will stay in the same context as the original one. https://bugzilla.gnome.org/show_bug.cgi?id=646957 gio/gsimpleasyncresult.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit b27f2e051ecf877d7e209b273c0281a7f7f216cb Author: Muhammet Kara Date: Tue Apr 26 03:04:20 2011 +0300 Updated Turkish translation po/tr.po | 2809 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 1916 insertions(+), 893 deletions(-) commit 0377fe7005d95afcbefd067d566fe558030485ab Author: David Zeuthen Date: Mon Apr 25 10:42:50 2011 -0400 gdbus-codegen: Fix typo in generated docs Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bbe945183be11dafc037fdf5f92cea49202b6401 Author: David Zeuthen Date: Mon Apr 25 09:29:18 2011 -0400 gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypes Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 6 +- docs/reference/gio/gio-sections.txt | 42 ++ docs/reference/gio/gio.types | 3 + docs/reference/gio/migrating-gdbus.xml | 5 +- gio/gdbus-codegen/codegen.py | 582 +++++++++++++++++++++--- gio/gdbus-codegen/dbustypes.py | 2 + gio/gdbusobject.c | 57 --- gio/gdbusobject.h | 17 - gio/gdbusobjectmanagerclient.c | 18 +- gio/gdbusobjectproxy.c | 75 +-- gio/gdbusobjectproxy.h | 6 +- gio/gdbusobjectskeleton.c | 31 -- gio/gdbusprivate.h | 2 - gio/gio.symbols | 3 +- gio/giotypes.h | 8 +- gio/tests/gdbus-example-objectmanager-client.c | 6 +- gio/tests/gdbus-example-objectmanager-server.c | 10 +- gio/tests/gdbus-test-codegen.c | 165 ++----- gio/tests/test-codegen.xml | 6 + 19 files changed, 685 insertions(+), 359 deletions(-) commit a330c2f19f5086986940e57bdf1e7db651db725c Author: Michael Terry Date: Mon Apr 25 08:29:35 2011 -0400 Don't ignore SUPPORTS_STARTUP_NOTIFICATION for commandline GAppInfos https://bugzilla.gnome.org/show_bug.cgi?id=648416 gio/gdesktopappinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d8de88e541180edef5a80b8107a383c3bd8522b5 Author: Chun-wei Fan Date: Mon Apr 25 13:47:07 2011 +0800 Add VS 2008 compilation support for some utilities -Added projects to compile the glib-compile-schemas and gsettings utilities -Update .vsprops to install these in "install" phase -Distribute these projects also build/win32/vs9/Makefile.am | 2 + build/win32/vs9/glib-compile-schemas.vcproj | 152 +++++++++++++++++++++++++++ build/win32/vs9/glib.sln | 48 +++++++++ build/win32/vs9/glib.vsprops | 5 + build/win32/vs9/gsettings.vcproj | 152 +++++++++++++++++++++++++++ 5 files changed, 359 insertions(+) commit dc7e9a54e5957178ecd5ec250d3fe44064fab58b Author: Chun-wei Fan Date: Mon Apr 25 13:32:18 2011 +0800 Add VS 2010 compilation support for some utilities -Added projects to compile the glib-compile-schemas and gsettings utilities -Update .vsprops to install these in "install" phase -Distribute these projects also build/win32/vs10/Makefile.am | 4 + build/win32/vs10/glib-compile-schemas.vcxproj | 174 ++++++++++++++++++++ .../vs10/glib-compile-schemas.vcxproj.filters | 17 ++ build/win32/vs10/glib.props | 8 + build/win32/vs10/glib.sln | 36 ++++ build/win32/vs10/gsettings.vcxproj | 174 ++++++++++++++++++++ build/win32/vs10/gsettings.vcxproj.filters | 14 ++ 7 files changed, 427 insertions(+) commit 58eb4da5c52f0847846368b5df4583080459a798 Author: David Zeuthen Date: Sat Apr 23 19:26:56 2011 -0400 Fix build broken by previous commit Signed-off-by: David Zeuthen gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit b5b34fa2f2711bea9b98a7b14882d8bda06c580b Author: David Zeuthen Date: Sat Apr 23 17:43:03 2011 -0400 gdbus-codegen: Include docs for generated code in the GIO docs Signed-off-by: David Zeuthen docs/reference/gio/Makefile.am | 1 + docs/reference/gio/gio-sections.txt | 117 +++++++++++++++++++++++++++++ docs/reference/gio/gio.types | 7 ++ docs/reference/gio/migrating-gdbus.xml | 16 ++-- gio/Makefile.am | 28 +++++++ gio/gdbus-example-objectmanager.xml | 65 ++++++++++++++++ gio/tests/Makefile.am | 21 +----- gio/tests/gdbus-example-objectmanager.xml | 65 ---------------- 8 files changed, 232 insertions(+), 88 deletions(-) commit f42d97b88b092e9cb3d0c769cb9f41fe2ce43b16 Author: Thomas Hindoe Paaboel Andersen Date: Wed Apr 20 19:08:06 2011 +0200 docs: fix typos in networking classes gio/gsocketclient.c | 22 +++++++++++----------- gio/gsocketconnection.c | 6 +++--- gio/gsocketlistener.c | 12 ++++++------ gio/gsocketservice.c | 4 ++-- gio/gtcpconnection.c | 2 +- gio/gthreadedsocketservice.c | 4 ++-- gio/gunixconnection.c | 6 +++--- 7 files changed, 28 insertions(+), 28 deletions(-) commit f0eeadf30672ba60e3aae8964c1c0d3ef9fef733 Author: David Zeuthen Date: Wed Apr 20 11:54:24 2011 -0400 GDBusObjectManagerServer: make export() return whether the object was removed This is useful in conjunction with g_warn_if_fail(). Signed-off-by: David Zeuthen gio/gdbusobjectmanagerserver.c | 18 +++++++++++++----- gio/gdbusobjectmanagerserver.h | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) commit c2f670ef492eac0ed8574fc4df1e561ff0b1c89a Author: Dan Winship Date: Wed Apr 20 11:24:46 2011 -0400 GSocketService: clarify transfer semantics of incoming connections The @connection parameter to the ::incoming signal is (transfer none), so you need to ref it if you want to keep it. https://bugzilla.gnome.org/show_bug.cgi?id=647746 gio/gsocketservice.c | 3 +++ 1 file changed, 3 insertions(+) commit 35b6c762444a2e7dd5c2658fbc0bd79444929ecf Author: David Zeuthen Date: Wed Apr 20 09:00:16 2011 -0400 gdbus-codegen: Document the generated FOO_PEEK_BAR() and FOO_GET_BAR() macros Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit bd5da131a2f38a281729729fc4849f309be31b2a Author: David Zeuthen Date: Tue Apr 19 14:39:47 2011 -0400 gdbus-codegen: Generate gtk-doc section docs This is nice to have if using gtk-doc on the generated code. We could also generate -sections.txt and .types files but we don't do that right now... Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) commit 7a1d42088939f863fbdf4620c186a8bce8b04a33 Author: David Zeuthen Date: Tue Apr 19 13:42:28 2011 -0400 gdbus-codegen: Set nick+blurb for properties to shut up gtk-doc Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 271af675eb81589adcc6a8eabcde454c4c9d12de Author: David Zeuthen Date: Tue Apr 19 13:39:12 2011 -0400 gdbus-codegen: It's GDBusProxyTypeFunc, not GDBusProxyFunc Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1ea370a1b1f27ed7c9c73224251c07175aa14487 Author: David Zeuthen Date: Tue Apr 19 13:16:10 2011 -0400 gdbus-codegen: Document the generated ObjectManagerClient structs Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 3238a6ffe77284ed881c552016f93a531c54bd75 Author: David Zeuthen Date: Tue Apr 19 13:10:25 2011 -0400 gdbus-codegen: Add "Returns:" blurb for generated get_proxy_type() This was forgotten. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 2 ++ 1 file changed, 2 insertions(+) commit 68ba1bf074f9168a1997d674bf1d78b5e707dbf6 Author: David Zeuthen Date: Mon Apr 18 14:23:19 2011 -0400 gdbus-codegen: Generate docs when generating C code This is handy for both gtk-doc and gobject-introspection. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 659 +++++++++++++++++++++++++--------- gio/gdbus-codegen/codegen_docbook.py | 2 +- gio/gdbus-codegen/codegen_main.py | 11 +- gio/gdbus-codegen/utils.py | 15 + 4 files changed, 504 insertions(+), 183 deletions(-) commit d5dc79c0b066895ad41e84db35568d5a30235186 Author: Benjamin Otte Date: Fri Apr 15 03:23:12 2011 +0200 API: testutils: Add g_test_fail() This allows tests to fail in a nonfatal way and the test runner can continue if invoked with -k. https://bugzilla.gnome.org/show_bug.cgi?id=647826 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gtestutils.c | 34 +++++++++++++++++++++++++++++++-- glib/gtestutils.h | 2 ++ 4 files changed, 36 insertions(+), 2 deletions(-) commit 9a121032599ec90c883937017f49af2ba1fc6071 Author: Benjamin Otte Date: Mon Apr 18 14:45:53 2011 +0200 testutils: Sprinkle code with newlines Readable code ftw! glib/gtestutils.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) commit d259d50afd7b1f0f063e9ad95f5784540bd0378c Author: Benjamin Otte Date: Mon Apr 18 14:41:51 2011 +0200 testutils: Return number of bad tests from g_test_run_suite_internal() In particular do not return a boolean disguised as an int. glib/gtestutils.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 62e68ceec8cfad06fffb00fd23ccaad3fc0f476e Author: Benjamin Otte Date: Mon Apr 18 14:37:24 2011 +0200 testutils: Remove unused variable glib/gtestutils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 19fdb18ef8794bde6b29e400a6d868a7974b73e2 Author: Benjamin Otte Date: Mon Apr 18 14:35:58 2011 +0200 testutils: Return a boolean from g_test_case_run() Return value is intened to be TRUE for success, FALSE for failure. Currently we return TRUE all the time. Previously the test returned 0 all the time. glib/gtestutils.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit affc6f747587f5b86d5ec34cf22e7f666d7d09a9 Author: David Zeuthen Date: Sat Apr 16 15:24:42 2011 -0400 GDBusObjectManagerClient: Add a GDestroyNotify to the user_data For bindings, obviously. Signed-off-by: David Zeuthen gio/gdbusobjectmanagerclient.c | 40 +++++++++++++++++++++++++++++++++++++++- gio/gdbusobjectmanagerclient.h | 4 ++++ gio/tests/gdbus-test-codegen.c | 18 ++++++++++-------- 3 files changed, 53 insertions(+), 9 deletions(-) commit ea742e88e30fc398b8f86cc017161e6dcbb61e08 Author: David Zeuthen Date: Sat Apr 16 14:42:21 2011 -0400 GDBus: Add some gobject-introspection annotations for new code Signed-off-by: David Zeuthen gio/gdbusinterfaceskeleton.c | 2 +- gio/gdbusobject.c | 14 +++++++------- gio/gdbusobjectmanager.c | 6 ++++-- gio/gdbusobjectmanagerclient.c | 24 ++++++++++++++---------- gio/gdbusobjectmanagerserver.c | 4 ++-- gio/gdbusobjectproxy.c | 3 ++- 6 files changed, 30 insertions(+), 23 deletions(-) commit 3cef28a2f0d45c4255263dae6a1dc3987bbc3f0c Author: David Zeuthen Date: Sat Apr 16 14:07:23 2011 -0400 gdbus-codegen: Make generated code introspectable Specific changes - Use get_type(), not get_gtype() for the GType function - so we need to use the lower-case name type_ for properties called type - Don't return a function pointer, just make the function returned available instead - Add (type) annotations in constructors so g-ir-scanner detects them as such - Add (transfer none) annotations to property getters - Add (out) annotations to D-Bus method call functions Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 227 +++++++++++++++++++++++++++++++++++----- gio/gdbus-codegen/dbustypes.py | 2 + gio/tests/gdbus-test-codegen.c | 2 +- 3 files changed, 202 insertions(+), 29 deletions(-) commit 2e358e12f95601e7d00c7a4b0c272c0cd00c2e7d Author: David Zeuthen Date: Fri Apr 15 16:36:54 2011 -0400 gdbus-codegen: Nuke debug spew Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen_main.py | 1 - 1 file changed, 1 deletion(-) commit a3fa748e54ec077a764a3045c92df59d00ba0edb Author: David Zeuthen Date: Fri Apr 15 16:11:43 2011 -0400 gdbus-codegen: Never emit empty PropertiesChanged signals It's not that it's actually a bug to do so per se, strictly speaking, it's just pointless and wasteful. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) commit 6bccc46d152079d69cf8aebef08433b1ec6055c7 Author: David Zeuthen Date: Fri Apr 15 15:53:28 2011 -0400 gdbus-codegen: Don't send out PropertiesChanged if value ends up not changing A fairly typical pattern is to have code that does foo_set_bar (object, ""); if (some_condition) { foo_set_bar (object, "yes"); } where some_condition is often true every time @object is updated. With this code, bar is essentially always "yes" but because of how gdbus-codegen works, useless PropertiesChanged events got scheduled and sent out. With this patch, we avoid that by always keeping the original value around and comparing it only when we deem it's time to send out the ::PropertiesChanged signal (typically in an idle but can be forced by the user via flush()). Also add a test case for this. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 49 ++++++++++++++++++++++----------- gio/tests/gdbus-test-codegen.c | 59 +++++++++++++++++++++++++++++++++++++++- gio/tests/test-codegen.xml | 2 ++ 3 files changed, 93 insertions(+), 17 deletions(-) commit 01602e16955fb7ca60799d4e142c7392ad91237d Author: Colin Walters Date: Fri Apr 15 15:51:25 2011 -0400 Fix some compiler warnings from gcc 4.6 gio/gdbusauthmechanismsha1.c | 1 + gio/tests/gdbus-serialization.c | 1 - gio/tests/proxy.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) commit 78203f369977b797116c9fc3b2c72a56c55db656 Author: Colin Walters Date: Thu Apr 14 16:03:18 2011 -0400 gapplication: Fix typo in property gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cade3cb1dab58ee0ab291efbab03e5b047b2a5be Author: David Zeuthen Date: Fri Apr 15 13:51:10 2011 -0400 gdbus-codegen: Fix obvious bug in _g_variant_equal0() implementation Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e19734d6c3f24076d25ac7f290b97df76cad5056 Author: David Zeuthen Date: Fri Apr 15 12:56:07 2011 -0400 gdbus-codegen: Add support for the org.freedesktop.DBus.Deprecated annotation Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 124 +++++++++++++++++++++------------- gio/gdbus-codegen/codegen.py | 28 ++++++++ gio/gdbus-codegen/codegen_docbook.py | 8 +++ gio/gdbus-codegen/dbustypes.py | 16 +++++ gio/tests/test-codegen.xml | 22 ++++++ 5 files changed, 151 insertions(+), 47 deletions(-) commit 0f9b83dd36a252552e4644257c0fa8272f6ba847 Author: Ryan Lortie Date: Fri Apr 15 09:30:24 2011 -0400 GApplication: #include "gsettings.h" Since we call g_settings_sync() from there now... gio/gapplication.c | 1 + 1 file changed, 1 insertion(+) commit 631d0c3534661e549f7df18fbb9832bdf19c5eaf Merge: 2553511 a5dd6fc Author: Ryan Lortie Date: Fri Apr 15 09:29:47 2011 -0400 Merge remote-tracking branch 'gvdb/master' commit a5dd6fcc4f46a322cc547a5fcfa1b52cbc5ec6d6 Author: Ryan Lortie Date: Fri Apr 15 09:27:38 2011 -0400 builder: do not include on win32 Spotted by Kean Johnston . https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00010.html gvdb-builder.c | 2 ++ 1 file changed, 2 insertions(+) commit 98e6d4b0a934b9fd67a38121958fccec879bf1ac Author: David Zeuthen Date: Fri Apr 15 08:48:21 2011 -0400 gdbus-codegen: Include a blurb about the license of the generated code More precisely, include this line The license of this code is the same as for the source it was derived from. Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 4 ++++ 1 file changed, 4 insertions(+) commit 5f31671da05c000224a227ce3548074dc2942086 Author: David Zeuthen Date: Fri Apr 15 08:44:05 2011 -0400 gdbus-codegen: Use the right program name in introductory comment (again) Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c76a1f99054134fafec1d47d523c4aca219ab83c Author: David Zeuthen Date: Fri Apr 15 08:40:52 2011 -0400 gdbus-codegen: Use the right program name in introductory comment Signed-off-by: David Zeuthen gio/gdbus-codegen/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e9535b45c1a09a4c86e03d1c0250d7d8703dc08 Author: David Zeuthen Date: Fri Apr 15 08:33:30 2011 -0400 gdbus-codegen: Add copyright / license headers Signed-off-by: David Zeuthen gio/gdbus-codegen/__init__.py | 1 - gio/gdbus-codegen/codegen.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/codegen_docbook.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/codegen_main.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/config.py.in | 21 +++++++++++++++++++++ gio/gdbus-codegen/dbustypes.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/gdbus-codegen.in | 22 ++++++++++++++++++++++ gio/gdbus-codegen/parser.py | 21 +++++++++++++++++++++ gio/gdbus-codegen/utils.py | 21 +++++++++++++++++++++ 9 files changed, 169 insertions(+), 1 deletion(-) commit febfc45fbeaf9f1df3de2310e32c6bce3ea9bbf3 Author: David Zeuthen Date: Fri Apr 15 08:24:40 2011 -0400 GDBus: Support Ugly_Case and use org.gtk.GDBus.C.Name since it's C-only Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 60 ++++++++++++++++-------- gio/gdbus-codegen/dbustypes.py | 86 +++++++++++++++++++++------------- gio/gdbus-codegen/utils.py | 5 ++ gio/tests/gdbus-test-codegen.c | 6 +++ gio/tests/test-codegen.xml | 24 ++++++++-- 5 files changed, 125 insertions(+), 56 deletions(-) commit 2553511f4eaf4af8e48f21f4a3a0ac7c58defc8a Author: Michael Kuhn Date: Wed Dec 22 10:11:11 2010 +0100 Bug 637561 - Crash when using G_DBUS_SERVER_FLAGS_RUN_IN_THREAD https://bugzilla.gnome.org/show_bug.cgi?id=637561 Signed-off-by: David Zeuthen gio/gdbusserver.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit c2387ddff164becd90654b459d8c6031c3656577 Author: Simon McVittie Date: Thu Mar 31 13:58:55 2011 +0100 /gdbus/message-serialize-invalid test: be compatible with D-Bus 1.4.8 Older versions of libdbus would let you construct an invalid DBusMessage, but that's a bug, which will be fixed in 1.4.8/1.5.0. Instead, construct a valid message of the same length, then replace substrings in the serialized blob with their invalid counterparts. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=646326 Signed-off-by: David Zeuthen gio/tests/gdbus-serialization.c | 43 +++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 9 deletions(-) commit 8b50e2f5475f9817baa358e2f638d0853e50ffb1 Author: Kean Johnston Date: Fri Apr 15 10:15:04 2011 +0200 GLocalFile: Use _fstati64 rather than stat on Win32 We want this to get 64bit timestamps and file lenghts. gio/glocalfile.c | 12 +++++++++--- gio/glocalfileoutputstream.c | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) commit a3722d0408fd3746a30180e0c37f1713673a1fcc Author: Matthias Clasen Date: Thu Apr 14 20:41:54 2011 -0400 Slight docs rewording Proposed by Thomas Andersen, https://bugzilla.gnome.org/show_bug.cgi?id=647700 gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4da18247592f1159ee03e414990d2a744aa0a8c7 Author: David Zeuthen Date: Thu Apr 14 11:27:57 2011 -0400 GResolver: Don't return duplicate addresses ... this was causing a GDBus test-case to fail so now that it is fixed, also reenable the test case. https://bugzilla.gnome.org/show_bug.cgi?id=631379 Signed-off-by: David Zeuthen gio/gresolver.c | 49 ++++++++++++++++++++++++++++++++++++++++++++---- gio/tests/gdbus-peer.c | 6 ------ 2 files changed, 45 insertions(+), 10 deletions(-) commit 33515d4eb4175fac70ab42151020336c34bc2083 Author: David Zeuthen Date: Thu Apr 14 11:27:57 2011 -0400 GInetAddress: add equal() method This is needed in the fix for https://bugzilla.gnome.org/show_bug.cgi?id=631379 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/ginetaddress.c | 29 +++++++++++++++++++++++++++++ gio/ginetaddress.h | 3 +++ gio/gio.symbols | 1 + 4 files changed, 34 insertions(+) commit 8b03077a44092ce2b510ef3246da063cacc8d951 Author: Ryan Lortie Date: Thu Apr 14 09:54:17 2011 -0400 GTimeZone: fix non-threadsafe refcounting In the previous code, if the timezone was pulled out of the cache again just as the last reference was being dropped, the cache code will increase its refcount and return it while the unref code was freeing it. Protect against that. Closes #646435. glib/gtimezone.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit e38ef14e8b8d2fed909d92514b665bb8c3c99e6c Author: David Zeuthen Date: Wed Apr 13 18:40:47 2011 -0400 GDBus: If an authentication method fail, don't give up, just try the next one This problem was reported in bug 647602. https://bugzilla.gnome.org/show_bug.cgi?id=647602 Signed-off-by: David Zeuthen gio/gdbusauth.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 3b997d92c13217db78fcc774bff6d6c0fcd919e6 Author: David Zeuthen Date: Wed Apr 13 18:21:16 2011 -0400 GDBus: Add test case for the ANONYMOUS authentication method Signed-off-by: David Zeuthen gio/tests/gdbus-peer.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit befb60d8268ad2296fe94cebbeadf749314c7a70 Author: David Zeuthen Date: Wed Apr 13 18:19:57 2011 -0400 GDBus: Nuke debug spew from the ANONYMOUS authentication method Signed-off-by: David Zeuthen gio/gdbusauthmechanismanon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 25c57d31c5f8bb36f17328bbeacce4796490b241 Author: David Zeuthen Date: Wed Apr 13 17:49:19 2011 -0400 GDBus: Allow tcp: and nonce-tcp: addresses without any arguments This was broken in this commit http://git.gnome.org/browse/glib/commit/?id=0729260141bb585943ad1c6efa8ab7ee9058b0aa The test case for catching this is unfortunately commented out (so it didn't catch it) due to this bug https://bugzilla.gnome.org/show_bug.cgi?id=631379 still being unresolved. Signed-off-by: David Zeuthen gio/gdbusaddress.c | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) commit 8826ad046d3dfa1a0fbaca1cab1086d12f31d0a5 Author: David Zeuthen Date: Wed Apr 13 16:39:50 2011 -0400 GDBusInterfaceStub: Clarify ::g-authorize-method docs As suggested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577#c11 Signed-off-by: David Zeuthen gio/gdbusinterfaceskeleton.c | 2 +- gio/gdbusobjectskeleton.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6ccca55752c41001f3af3430d3d93f587fd42383 Author: David Zeuthen Date: Wed Apr 13 16:33:51 2011 -0400 GDBus: Use Skeleton instead of Stub After some brainstorming with Simon, see https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8 Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 18 +- docs/reference/gio/gio-docs.xml | 4 +- docs/reference/gio/gio-sections.txt | 90 +-- docs/reference/gio/gio.types | 4 +- gio/Makefile.am | 8 +- gio/gdbus-codegen/codegen.py | 224 ++++---- gio/gdbusinterface.c | 4 +- gio/gdbusinterfaceskeleton.c | 717 ++++++++++++++++++++++++ gio/gdbusinterfaceskeleton.h | 109 ++++ gio/gdbusinterfacestub.c | 717 ------------------------ gio/gdbusinterfacestub.h | 109 ---- gio/gdbusobject.c | 4 +- gio/gdbusobjectmanagerserver.c | 66 +-- gio/gdbusobjectmanagerserver.h | 4 +- gio/gdbusobjectskeleton.c | 491 ++++++++++++++++ gio/gdbusobjectskeleton.h | 91 +++ gio/gdbusobjectstub.c | 491 ---------------- gio/gdbusobjectstub.h | 91 --- gio/gdbusprivate.h | 2 +- gio/gio.h | 4 +- gio/gio.symbols | 46 +- gio/gioenums.h | 14 +- gio/giotypes.h | 4 +- gio/tests/gdbus-example-objectmanager-server.c | 12 +- gio/tests/gdbus-test-codegen.c | 154 ++--- 25 files changed, 1739 insertions(+), 1739 deletions(-) commit 68b16deb1f4ec739f80291156f2e0e2eed87d225 Author: Colin Walters Date: Wed Apr 13 14:03:58 2011 -0400 gdbusconnection: Avoid tripping assertion if we fail to authenticate twice If g_bus_get_sync() fails in authentication (because e.g. the process uid, doesn't match the expected in EXTERNAL), a secondary call to g_bus_get_sync() would notice we aren't initialized, and try to initialize. The assertion here is just wrong; we now explicitly and clearly handle both cases where we already have an error, or we already succeeded. https://bugzilla.gnome.org/show_bug.cgi?id=635694 gio/gdbusconnection.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 4d15ba90c04e474f996777c9931d50eae712816e Author: Ryan Lortie Date: Wed Apr 13 11:46:33 2011 -0400 G_VARIANT_TYPE_VARDICT: Add 'Since:' tag glib/gvarianttype.h | 2 ++ 1 file changed, 2 insertions(+) commit 683943b40e20d7cd4eda688d4410012b62b45a20 Author: David Zeuthen Date: Wed Apr 13 11:35:06 2011 -0400 GDBusInterfaceStub: Use G_VARIANT_TYPE_VARDICT when referring to type a{sv} Signed-off-by: David Zeuthen gio/gdbusinterfacestub.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 76492d7741c7c6f48d2d7301c872020e42b025ff Author: Matthias Clasen Date: Wed Apr 13 08:48:10 2011 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e55346420e74a562b42d14a136c07a4bbd9d955 Author: Matthias Clasen Date: Wed Apr 13 08:19:35 2011 -0400 Skip the writable test if the file is not writable Since make distcheck operates on a readonly source tree. glib/tests/mappedfile.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 67b8c7ea8adeef5e2db5e2ed65a15db1e6c91f74 Author: Matthias Clasen Date: Wed Apr 13 01:31:19 2011 -0400 Fix non-srcdir builds glib/tests/mappedfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5f90baafb5210a551289900a160928dfd698037e Author: Matthias Clasen Date: Wed Apr 13 00:42:51 2011 -0400 More updates NEWS | 2 ++ 1 file changed, 2 insertions(+) commit c1a7599568ba953db6d5f6c840a9c4fb121a9bac Author: Matthias Clasen Date: Wed Apr 13 00:39:01 2011 -0400 Fix a typo in the GSettings docs Pointed out by Thomas Andersen https://bugzilla.gnome.org/show_bug.cgi?id=647600 gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e356c7ca0bcb461491a90f6cfb2907bb4ffa10e8 Author: David Zeuthen Date: Tue Apr 12 20:40:25 2011 -0400 gdbus-codegen: Shorten man page title Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29bf848d92b3f4a64d32b104638e87bffcfdb5b3 Author: David Zeuthen Date: Tue Apr 12 20:28:06 2011 -0400 gdbus-codegen: Use CDATA to make gtk-doc avoid expanding certain strings Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6a4ab7c5d3d98318c38816a64b3c444a2c99ea9b Author: David Zeuthen Date: Tue Apr 12 20:15:48 2011 -0400 GDBus: Minor renames and doc fixes As requested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 2 +- gio/gdbusinterfacestub.c | 8 ++++++-- gio/gdbusobjectmanagerserver.c | 6 +++--- gio/gdbusobjectmanagerserver.h | 2 +- gio/gio.symbols | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) commit 6bf978f35e9688e48942bbb9b4f28187fae29f73 Author: David Zeuthen Date: Tue Apr 12 17:12:26 2011 -0400 gdbus-codegen: Mention that @since can be used Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 34a28f2f062281d9fb75fcd02c4df238def6396e Author: David Zeuthen Date: Tue Apr 12 16:17:28 2011 -0400 Add support for org.gtk.GDBus.Since annotation And use this for a) documentation purposes; and b) to preserve C ABI when an interface is extended. See https://bugzilla.gnome.org/show_bug.cgi?id=647577#c5 for more details. Also add test cases for this. Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 22 +++++++++++ gio/gdbus-codegen/codegen.py | 60 ++++++++++++++++++++++------- gio/gdbus-codegen/codegen_docbook.py | 8 ++++ gio/gdbus-codegen/dbustypes.py | 15 ++++++++ gio/gdbus-codegen/parser.py | 8 ++++ gio/gdbus-codegen/utils.py | 7 ++++ gio/tests/gdbus-example-objectmanager.xml | 4 ++ gio/tests/gdbus-test-codegen.c | 22 +++++++++++ gio/tests/test-codegen.xml | 60 +++++++++++++++++++++++++++++ 9 files changed, 193 insertions(+), 13 deletions(-) commit bf087aabbf3811ccb0abce532122c190673356e5 Author: Colin Walters Date: Tue Apr 12 12:56:33 2011 -0400 gsettings-tool fixes: Add missing _apply(), add unset-recursively to man page docs/reference/gio/gsettings.xml | 12 ++++++++++++ gio/gsettings-tool.c | 1 + 2 files changed, 13 insertions(+) commit 3fd9f2e8f98d59c614a04be8b4a052027e025a64 Author: Colin Walters Date: Tue Apr 12 11:00:54 2011 -0400 gsettings: Implement reset-recursively Motivation was the ability to: $ gsettings reset-recursively org.gnome.gnome-panel https://bugzilla.gnome.org/show_bug.cgi?id=647579 gio/gsettings-tool.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 76d365372197e9ce9729402ae2fa4fac490f8dd0 Author: David Zeuthen Date: Tue Apr 12 11:50:34 2011 -0400 gdbus-codegen: Add --c-generate-object-manager option + doc improvements Signed-off-by: David Zeuthen docs/reference/gio/Makefile.am | 4 +- docs/reference/gio/gdbus-codegen.xml | 159 ++++++++++++++++++----------- docs/reference/gio/gio-docs.xml | 2 +- docs/reference/gio/migrating-gdbus.xml | 7 +- gio/gdbus-codegen/codegen.py | 153 +++++++++++++-------------- gio/gdbus-codegen/codegen_main.py | 9 +- gio/tests/Makefile.am | 6 +- gio/tests/gdbus-example-objectmanager.xml | 2 +- 8 files changed, 200 insertions(+), 142 deletions(-) commit 3f7912f142088cd27f53ba74fb69037c45223678 Author: Matthias Clasen Date: Tue Apr 12 10:02:31 2011 -0400 GLocalDirectoryMonitor: Improve struct packing gio/glocaldirectorymonitor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a2094d5e564433ed3a4398afeacce80519bbda44 Author: Matthias Clasen Date: Tue Apr 12 10:02:12 2011 -0400 GIOSchedulerJob: Improve struct packing gio/gioscheduler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit bfe7548fe14ec3b49c96264c1e6d1650357fa41a Author: Matthias Clasen Date: Tue Apr 12 10:01:37 2011 -0400 GFilenameCompleter: Improve struct packing gio/gfilenamecompleter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e4f3673d8a54b3e1924d00a4a3a6048426f0b10 Author: Matthias Clasen Date: Tue Apr 12 10:01:05 2011 -0400 GFileAttributeMatcher: Improve struct packing gio/gfileinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 8903ec808bb02847d80a26c6224b319b2b2be059 Author: Matthias Clasen Date: Tue Apr 12 10:00:37 2011 -0400 GDBusProxy: Improve struct packing gio/gdbusproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53e3e111fd5a891e7b3668e1ca7eab4b987c855e Author: Matthias Clasen Date: Tue Apr 12 10:00:03 2011 -0400 GDBusWorker: Improve struct packing gio/gdbusprivate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9890c03579754ecf145575f6f77af6e34aa9b05c Author: Matthias Clasen Date: Tue Apr 12 09:58:13 2011 -0400 GMarkupParseContext: Improve struct packing glib/gmarkup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f8b154f53a30930b6e3213c8b85bbb3dea4f68d7 Author: Matthias Clasen Date: Tue Apr 12 09:55:59 2011 -0400 GMatchInfo: improve struct packing glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8276d0e557259154beaf3f2997276ba32ee9c1ee Author: David Zeuthen Date: Tue Apr 12 09:28:09 2011 -0400 Spiff up the "Migrating to GDBus" docs a bit Signed-off-by: David Zeuthen docs/reference/gio/migrating-gdbus.xml | 17 ++++--- gio/tests/Makefile.am | 2 +- gio/tests/gdbus-example-objectmanager-client.c | 65 +++++++++++++++++++----- gio/tests/gdbus-example-objectmanager-server.c | 34 ++++++++++--- gio/tests/gdbus-example-objectmanager.xml | 18 ++++++- 5 files changed, 106 insertions(+), 30 deletions(-) commit fc59b9d8436f295713d68e3f2a5af86b93013180 Author: David Zeuthen Date: Mon Apr 11 18:32:11 2011 -0400 Update "Migrating to GDBus" chapter to take gdbus-codegen(1) into account Signed-off-by: David Zeuthen docs/reference/gio/gdbus-codegen.xml | 2 +- docs/reference/gio/migrating-gdbus.xml | 223 +++++++++++------------------ gio/tests/gdbus-example-objectmanager.xml | 26 +++- 3 files changed, 105 insertions(+), 146 deletions(-) commit ff6ecc61c992e27cc018b0716a3910efb4c0656a Author: Matthias Clasen Date: Mon Apr 11 13:26:40 2011 -0400 Add forgotten apis g_desktop_app_info_launch_uris_as_manager was not listed in the docs. NEWS | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit e5525f1010825bc5dfbed39f593999d6a115a972 Author: David Zeuthen Date: Mon Apr 11 16:35:14 2011 -0400 GDBus: Add ObjectManager example Signed-off-by: David Zeuthen gio/tests/Makefile.am | 29 +++++ gio/tests/gdbus-example-objectmanager-client.c | 135 +++++++++++++++++++++++ gio/tests/gdbus-example-objectmanager-server.c | 141 ++++++++++++++++++++++++ gio/tests/gdbus-example-objectmanager.xml | 33 ++++++ 4 files changed, 338 insertions(+) commit 24533f261900b3234abc4182ffea6bbd1cb1a29e Author: David Zeuthen Date: Mon Apr 11 15:34:38 2011 -0400 Also use interface_ instead of interface in C files This is because gtk-doc scans the function in the H file but reads the docs from the C file. Annoying. Signed-off-by: David Zeuthen gio/gdbusinterface.c | 34 +++++----- gio/gdbusinterfacestub.c | 170 +++++++++++++++++++++++----------------------- gio/gdbusobjectstub.c | 44 ++++++------ 3 files changed, 124 insertions(+), 124 deletions(-) commit 6cc4dc5b9bb88aff4ec04f115facecef56b7374c Author: David Zeuthen Date: Mon Apr 11 15:22:37 2011 -0400 GDBusInterfaceStub: Rename stub parameter to interface Signed-off-by: David Zeuthen gio/gdbusinterfacestub.c | 256 +++++++++++++++++++++++----------------------- gio/gdbusinterfacestub.h | 30 +++--- 2 files changed, 143 insertions(+), 143 deletions(-) commit 48090287367bf4c57f375faaca8d65bd9cce0d11 Author: David Zeuthen Date: Mon Apr 11 15:13:25 2011 -0400 GDBus: Avoid using the word interface in public C headers Same deal as with e.g. index since some libraries may do crazy stuff such as "#define interface xyz". Signed-off-by: David Zeuthen gio/gdbusinterface.h | 12 ++++++------ gio/gdbusobject.h | 4 ++-- gio/gdbusobjectmanager.h | 4 ++-- gio/gdbusobjectstub.h | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) commit 5ec05ebfd48ab6bac396f8cd30b47d61b93c7884 Author: Daniel Mustieles Date: Mon Apr 11 21:06:01 2011 +0200 Updated Spanish translation po/es.po | 530 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 272 insertions(+), 258 deletions(-) commit 4dffec890631acc926b6e66da4d318e3587f7d38 Author: David Zeuthen Date: Mon Apr 11 14:59:19 2011 -0400 Dist test-codegen.xml Signed-off-by: David Zeuthen gio/tests/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit eaef2a8f3f54354af50e0089a578f83656756d8d Author: Matthias Clasen Date: Mon Apr 11 13:26:40 2011 -0400 Add forgotten apis g_desktop_app_info_launch_uris_as_manager was not listed in the docs. docs/reference/gio/gio-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit c36aa59bf05b972ae1c1e0b9e273064914ca3447 Author: Matthias Clasen Date: Mon Apr 11 13:21:12 2011 -0400 Fix duplicate private subsection gtk-doc doesn't understand duplicate Private subsections in the obvious way, it seems. docs/reference/glib/glib-sections.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 1a6dd8c7fabdb79bcce7dc04f0e6044a343169f4 Author: Matthias Clasen Date: Mon Apr 11 13:20:55 2011 -0400 Fix a few parameter mismatches in the docs glib/gtimezone.c | 20 ++++++++++---------- glib/gtimezone.h | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) commit 3c94299b0ff1c8e1b0b06bedd73b1b725e631d8a Author: Matthias Clasen Date: Mon Apr 11 12:57:19 2011 -0400 Don't include unistd.h unconditionally It doesn't exist on all platforms. Partial fix for bug 647341. gio/glib-compile-schemas.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 9d048615da794e265256ad29c27daf147675f239 Author: Matthias Clasen Date: Mon Apr 11 12:53:25 2011 -0400 Add 2.30 index to GLib docs docs/reference/glib/glib-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 8f2a6d3e5a6208953c4e1691826597b2cd6ea2b2 Author: Matthias Clasen Date: Mon Apr 11 12:26:15 2011 -0400 Updates NEWS | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 5 deletions(-) commit 9c1941c07fba7626ba1a40a7009615c88a645539 Author: David Zeuthen Date: Mon Apr 11 10:54:52 2011 -0400 GDBus: Add test-suite for new ObjectManager and gdbus-codegen(1) code Signed-off-by: David Zeuthen gio/tests/Makefile.am | 24 + gio/tests/gdbus-test-codegen.c | 2178 ++++++++++++++++++++++++++++++++++++++++ gio/tests/test-codegen.xml | 341 +++++++ 3 files changed, 2543 insertions(+) commit 982195b61c4996e1dd8045dcdb818ff7ee45d5b4 Author: David Zeuthen Date: Mon Apr 11 10:51:37 2011 -0400 GDBus: Use thread-default GMainContext in _g_assert_property_notify + friends Signed-off-by: David Zeuthen gio/tests/gdbus-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ff57ed5d6a67f91ef35ae947f3fea7ecce12ee7b Author: Ryan Lortie Date: Mon Apr 11 03:30:24 2011 -0400 GApplication: g_settings_sync() on exit Call g_settings_sync() just before g_applcation_run() returns. This is really the correct thing to do in every case that you're using GSettings and it prevents every single application from having to do it for themselves. Closes bug #647419. gio/gapplication.c | 2 ++ 1 file changed, 2 insertions(+) commit 68aef334041c7da2c67e43b743b8e93114d84e54 Author: Ryan Lortie Date: Mon Apr 11 03:37:47 2011 -0400 GSettings: make _sync() a no-op if uninitialised If GSettings is uninitialised then g_settings_sync() should very obviously just return right away (rather than attempting to initialise GSettings first). gio/gsettingsbackend.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 6a45180c95baaddedafacf1780de2670c5a6a44a Author: David Zeuthen Date: Sun Apr 10 11:19:45 2011 -0400 Clarify docs for g_dbus_gvalue_to_gvariant() and g_dbus_gvariant_to_gvalue() Signed-off-by: David Zeuthen gio/gdbusutils.c | 77 ++++++++++++++++++++++++++++-------------------------- gio/gdbusutils.h | 2 +- 2 files changed, 41 insertions(+), 38 deletions(-) commit 45377252db37ed46b4fd4c17ae88d8804c8c0923 Author: Ryan Lortie Date: Sun Apr 10 07:55:03 2011 -0400 Add test case for G_APPLICATION_NON_UNIQUE gio/tests/gapplication.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 9d204338f3e2a0eb7fb53eb7287040eb8d0f8589 Author: Ryan Lortie Date: Sun Apr 10 07:51:55 2011 -0400 GApplication: add G_APPLICATION_NON_UNIQUE Add a flag to essentially short-circuit g_application_register(). The application makes no attempt to acquire the bus name or check for existing instances with that name. The application is never considered as being 'remote' and all requests are handled locally. Closes #646985. gio/gapplication.c | 19 +++++++++++-------- gio/gioenums.h | 9 ++++++++- 2 files changed, 19 insertions(+), 9 deletions(-) commit 53389d963d1271d0c36862e2b4866ff5231b9b9e Author: Ryan Lortie Date: Sun Apr 10 07:50:26 2011 -0400 GApplication: fix leaked object path In the case that we fail to become the primary instance we should unregister *both* object paths that we registered during our attempt. gio/gapplicationimpl-dbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 01a5f19e049618fc4665c809ef85958cca1ee2ae Author: David Zeuthen Date: Sat Apr 9 17:51:59 2011 -0400 Improve g_dbus_gvalue_to_gvariant() docs Signed-off-by: David Zeuthen gio/gdbusutils.c | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) commit 61704dbca5a0004ab9b1172cd96b8d81b1697d61 Author: Dan Winship Date: Sat Apr 9 12:47:32 2011 -0400 GSocket: clarify g_socket_receive documentation g_socket_receive* return 0 if the connection is closed. https://bugzilla.gnome.org/show_bug.cgi?id=643074 gio/gsocket.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit ea57feff96f13bbd4d03a76040a4ddfad2677310 Author: Dan Winship Date: Thu Mar 10 22:09:31 2011 -0500 gsettings-tool: warn if setting a value fails eg, if the dconf backend cannot connect to dbus https://bugzilla.gnome.org/show_bug.cgi?id=641768 gio/gsettings-tool.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 1d781ba3bec741475eaa745aec2c060e9b1114f4 Author: David Zeuthen Date: Sat Apr 9 11:46:19 2011 -0400 GDBus: Document GVariant/GValue conversion routines and move to them to utils Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 4 +- gio/gdbusinterface.c | 315 ---------------------------- gio/gdbusinterface.h | 7 - gio/gdbusutils.c | 385 +++++++++++++++++++++++++++++++++++ gio/gdbusutils.h | 5 + gio/gio.symbols | 4 +- 6 files changed, 394 insertions(+), 326 deletions(-) commit 9c8341f1aaf01148ee2ca7f634478cdfaf4a0303 Author: David Zeuthen Date: Sat Apr 9 11:39:32 2011 -0400 Forgot to add autofoo for libffi Signed-off-by: David Zeuthen configure.ac | 4 ++++ 1 file changed, 4 insertions(+) commit 88ab35f3cb6127036361e421987a127bddb989c8 Author: David Zeuthen Date: Fri Apr 8 17:34:44 2011 -0400 Add a generic libffi based marshaller to libgobject This code is from https://bugzilla.gnome.org/show_bug.cgi?id=567087 and was adapted by myself to also support the GVariant fundamental type. Signed-off-by: David Zeuthen docs/reference/gobject/gobject-sections.txt | 1 + gio/gdbus-codegen/codegen.py | 189 +------------------------- gobject-2.0.pc.in | 1 + gobject/Makefile.am | 4 +- gobject/gclosure.c | 194 +++++++++++++++++++++++++++ gobject/gclosure.h | 7 + gobject/gobject.symbols | 1 + 7 files changed, 209 insertions(+), 188 deletions(-) commit 0b9229beca5379b638e9d9a879bca30560042023 Author: David Zeuthen Date: Fri Apr 8 16:57:31 2011 -0400 Add gdbus-codegen(1) command It doesn't work yet without the user manually adding ffi bits. That's the topic of the next commit. Signed-off-by: David Zeuthen configure.ac | 2 + docs/reference/gio/Makefile.am | 6 +- docs/reference/gio/gdbus-codegen.xml | 674 +++++++++++ docs/reference/gio/gio-docs.xml | 1 + gio/Makefile.am | 2 +- gio/gdbus-codegen/Makefile.am | 27 + gio/gdbus-codegen/__init__.py | 1 + gio/gdbus-codegen/codegen.py | 2104 ++++++++++++++++++++++++++++++++++ gio/gdbus-codegen/codegen_docbook.py | 283 +++++ gio/gdbus-codegen/codegen_main.py | 171 +++ gio/gdbus-codegen/config.py.in | 6 + gio/gdbus-codegen/dbustypes.py | 288 +++++ gio/gdbus-codegen/gdbus-codegen.in | 11 + gio/gdbus-codegen/parser.py | 255 ++++ gio/gdbus-codegen/utils.py | 56 + 15 files changed, 3884 insertions(+), 3 deletions(-) commit 1a0424b7ff4550ae90ff730bb98d40bface512f3 Author: Matthias Clasen Date: Fri Apr 8 17:02:01 2011 -0400 Fix another faulty GApplicationCommandline example Several flaws were pointed out by Shaun McCance. We were leaking handled arguments, and we were mishandling the last argument, and we were actually skipping arguments too. https://bugzilla.gnome.org/show_bug.cgi?id=647031 gio/tests/gapplication-example-cmdline2.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit ac93a6af88901840b3324c086221c9153608df0a Author: David Zeuthen Date: Fri Apr 8 16:29:48 2011 -0400 Add "Since: 2.30" for new D-Bus routines Signed-off-by: David Zeuthen gio/gdbusinterface.c | 10 ++++++++++ gio/gdbusinterface.h | 4 ++++ gio/gdbusinterfacestub.c | 24 ++++++++++++++++++++++++ gio/gdbusinterfacestub.h | 4 ++++ gio/gdbusobject.c | 14 ++++++++++++++ gio/gdbusobject.h | 2 ++ gio/gdbusobjectmanager.c | 22 ++++++++++++++++------ gio/gdbusobjectmanager.h | 2 ++ gio/gdbusobjectmanagerclient.c | 40 ++++++++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerclient.h | 4 ++++ gio/gdbusobjectmanagerserver.c | 14 ++++++++++++++ gio/gdbusobjectmanagerserver.h | 6 +++++- gio/gdbusobjectproxy.c | 8 ++++++++ gio/gdbusobjectproxy.h | 4 ++++ gio/gdbusobjectstub.c | 16 ++++++++++++++++ gio/gdbusobjectstub.h | 6 +++++- 16 files changed, 172 insertions(+), 8 deletions(-) commit bf6e10fe5231e892e9f64b0887b6a432047be07a Author: David Zeuthen Date: Fri Apr 8 16:29:30 2011 -0400 Add docs for new high-level D-Bus types Signed-off-by: David Zeuthen docs/reference/gio/gio-docs.xml | 8 ++ docs/reference/gio/gio-sections.txt | 179 +++++++++++++++++++++++++++++++++++ docs/reference/gio/gio.types | 8 ++ 3 files changed, 195 insertions(+) commit 1e2e58705c0dbda29a6bbe9fb890b7700fee428e Author: David Zeuthen Date: Fri Apr 8 16:12:33 2011 -0400 GDBusProxy: Store GDBusObject in private struct instead of qdata Signed-off-by: David Zeuthen gio/gdbusproxy.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit b41cf76350c144379c012f6a959dd30152e17780 Author: David Zeuthen Date: Fri Apr 8 16:12:09 2011 -0400 GDBusProxy: Update description to match GDBusInterface Signed-off-by: David Zeuthen gio/gdbusproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94b907134426e26393a86630dae5ce53baee6ae6 Author: David Zeuthen Date: Fri Apr 8 15:14:47 2011 -0400 Start merging gdbus-codegen code Signed-off-by: David Zeuthen gio/Makefile.am | 16 + gio/gdbusauthobserver.c | 17 +- gio/gdbusinterface.c | 410 +++++++++++ gio/gdbusinterface.h | 79 ++ gio/gdbusinterfacestub.c | 693 ++++++++++++++++++ gio/gdbusinterfacestub.h | 105 +++ gio/gdbusobject.c | 191 +++++ gio/gdbusobject.h | 95 +++ gio/gdbusobjectmanager.c | 216 ++++++ gio/gdbusobjectmanager.h | 89 +++ gio/gdbusobjectmanagerclient.c | 1575 ++++++++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerclient.h | 129 ++++ gio/gdbusobjectmanagerserver.c | 898 +++++++++++++++++++++++ gio/gdbusobjectmanagerserver.h | 80 ++ gio/gdbusobjectproxy.c | 315 ++++++++ gio/gdbusobjectproxy.h | 72 ++ gio/gdbusobjectstub.c | 475 ++++++++++++ gio/gdbusobjectstub.h | 87 +++ gio/gdbusprivate.c | 18 + gio/gdbusprivate.h | 20 +- gio/gdbusproxy.c | 36 + gio/gio-marshal.list | 3 + gio/gio.h | 8 + gio/gio.symbols | 96 +++ gio/gioenums.h | 36 + gio/giotypes.h | 33 + 26 files changed, 5774 insertions(+), 18 deletions(-) commit 0729260141bb585943ad1c6efa8ab7ee9058b0aa Author: David Zeuthen Date: Fri Apr 8 15:44:25 2011 -0400 Silence a bunch of -Wunused-but-set-variable warnings Signed-off-by: David Zeuthen gio/gdbusaddress.c | 29 +++++++++++++++++++++++++++++ gio/gdbusauth.c | 1 + gio/gdbusauthmechanismsha1.c | 4 ++++ gio/gdbusconnection.c | 17 ----------------- gio/gdbusmessage.c | 5 ++--- gio/gdbusprivate.c | 1 + gio/gdbusproxy.c | 5 +---- gio/gdbusserver.c | 5 +---- gio/gdbusutils.c | 4 ---- gio/gicon.c | 4 +--- gio/ginetaddress.c | 1 + gio/glib-compile-schemas.c | 3 --- gio/gresolver.c | 2 ++ gio/gsocket.c | 6 +----- gio/gsocketconnection.c | 1 + gio/gsocketcontrolmessage.c | 1 + gio/gunixconnection.c | 1 + gio/gvdb/gvdb-reader.c | 2 -- gio/tests/converter-stream.c | 6 ------ gio/tests/file.c | 9 +++------ gio/tests/httpd.c | 1 + gio/tests/live-g-file.c | 3 +-- gio/tests/sleepy-stream.c | 3 --- 23 files changed, 52 insertions(+), 62 deletions(-) commit 23818d1e61bdf33e5f19ba1c0993bacfcdc113db Author: Ryan Lortie Date: Fri Apr 8 09:14:50 2011 -0400 GSettings: remove more asserts Same logic as the last commit on this topic, applied to the other functions too. gio/gsettings.c | 8 -------- 1 file changed, 8 deletions(-) commit edaf99be8662bf19a67ef5e62b8402764197d0c6 Author: Matthias Clasen Date: Fri Apr 8 07:13:54 2011 -0400 Avoid an interaction between GApplication and GOption When using GOption to handle commandlines, we need to disable the builtin help handling, since it calls exit(). Also mention this particular pitfall in the docs. gio/gapplicationcommandline.c | 5 ++++- gio/tests/gapplication-example-cmdline3.c | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) commit 3498d58289ed833aeae59bfc76db0f5fa5840481 Author: Ryan Lortie Date: Fri Apr 8 01:47:52 2011 -0400 glib-compile-schemas: check for undefined refs For child schemas, verify that the named schema actually exists and issue a warning if not. This error in schema files will cause runtime errors when iterating over the list of child schemas and attempting to instantiate each one. This will move from being merely a warning to a hard error in the future. Bug #646039. gio/glib-compile-schemas.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit 4ece333afeb046b60eaa5fd512694e5c8f1587a6 Author: Ryan Lortie Date: Thu Apr 7 21:25:01 2011 -0400 Don't assert on backend == settings->priv->backend They could be different if a notification is queued for delivery and someone calls g_settings_delay(). Bug #646843. gio/gsettings.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit a2e3a4d150b59213694b5166d0fda60d2b17970a Author: Matthias Clasen Date: Thu Apr 7 17:14:36 2011 -0400 Add a warning to the g_dbus_connection_set_exit_on_close docs Tell people to not leak their apps out of the session. gio/gdbusconnection.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 784619bc3aeb0e4f4d0dcf1c6feb934eaa586841 Author: Dan Winship Date: Mon Apr 4 11:10:50 2011 -0400 Fix two leaks seen when using TLS connections g_tls_certificate_list_new_from_file() was leaking the file contents, and GSource was leaking the GSourcePrivate structure that got created when using child sources. gio/gtlscertificate.c | 1 + glib/gmain.c | 7 +++++++ 2 files changed, 8 insertions(+) commit 9fdc8d976a06d892e3718b417759aacf83167616 Author: Jordi Serratosa Date: Mon Apr 4 21:16:35 2011 +0200 [l10n]Fixes on Catalan translation po/ca.po | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 418358f452a858205c1236c9826b40de92aca430 Author: OKANO Takayoshi Date: Mon Apr 4 21:27:35 2011 +0900 Updated Japanese translation po/ja.po | 1192 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 696 insertions(+), 496 deletions(-) commit 3ac7e0a7fe0156605237916d7388cb8894b93b72 Author: Murray Cumming Date: Thu Mar 24 09:37:21 2011 +0100 Docs: Change DBus to D-Bus gio/gioenums.h | 2 +- glib/gvariant-serialiser.c | 12 ++++++------ glib/gvariant.c | 38 +++++++++++++++++++------------------- glib/gvarianttype.c | 20 ++++++++++---------- glib/gvarianttype.h | 18 +++++++++--------- 5 files changed, 45 insertions(+), 45 deletions(-) commit 27a067a3c860271b62f009382444d5d728932e47 Author: Petr Kovar Date: Mon Apr 4 04:10:42 2011 +0200 Update Czech translation po/cs.po | 1139 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 639 insertions(+), 500 deletions(-) commit 88a6723bf4453d20d467dad7f1400a14e1248545 Author: Gabor Kelemen Date: Sun Apr 3 10:13:57 2011 +0200 Updated Hungarian translation po/hu.po | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 32e26cf17936e0ad26252acb24530a7e2811e3eb Author: Murray Cumming Date: Sat Apr 2 15:42:11 2011 +0200 GDBusMethodInvocation: Improve get_parameters() documentation. Note that the returned GVariant is always a tuple. See bug #646420. gio/gdbusmethodinvocation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 98365dff73d8ecc8a02b7dfedce87e6fc28f4e39 Author: Colin Walters Date: Thu Mar 31 17:07:07 2011 -0400 gqsort: Quiet a compiler warning for qsort_r glib/gqsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14bb138d581b40bbd850c85ae63c8391a1671696 Author: Colin Walters Date: Fri Mar 25 11:59:33 2011 -0400 goption: [linux] Look in /proc/self/cmdline for argv0 if not specified We really shouldn't use when we can perfectly easily get argv0 out of /proc. This avoids people having to pass argv down into gtk_init/g_option_context_parse etc., which is important because GTK+ uses it to initialize the WM_CLASS, which in turn GNOME Shell consumes for application tracking. https://bugzilla.gnome.org/show_bug.cgi?id=644309 glib/goption.c | 50 +++++++++++++++++++++++++++++----- glib/tests/Makefile.am | 4 +++ glib/tests/option-argv0.c | 63 +++++++++++++++++++++++++++++++++++++++++++ glib/tests/option-context.c | 25 +++-------------- 4 files changed, 113 insertions(+), 29 deletions(-) commit 131b9f98ea6ec1cc7b8dce539199d181ab1dac19 Author: Ryan Lortie Date: Thu Mar 31 15:55:21 2011 +0530 gio.symbols updates gio/gio.symbols | 7 +++++++ 1 file changed, 7 insertions(+) commit 7a752e0817986d535717ceee2d502f00e3c0f747 Author: Ryan Lortie Date: Thu Mar 31 15:51:01 2011 +0530 Improve .gitignore gio/tests/.gitignore | 1 + glib/tests/.gitignore | 4 ++++ gobject/tests/.gitignore | 5 +++++ m4macros/.gitignore | 1 + 4 files changed, 11 insertions(+) commit 0cadce7e93b0246ad57ab26b9bc851facbb54416 Author: Ryan Lortie Date: Thu Mar 31 15:47:54 2011 +0530 glib.symbols: add some missing symbols glib/glib.symbols | 2 ++ 1 file changed, 2 insertions(+) commit d95b750a1d936d962b4c00be2d65ea1606f143cb Author: Ryan Lortie Date: Thu Mar 31 15:12:34 2011 +0530 compile schemas test: open ranges for all types We need to make sure that every value in the table actually parses with GVariant. gio/tests/gschema-compile.c | 3 +- gio/tests/schema-tests/range-type-test.gschema.xml | 76 ++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) commit d2af82e8203323e1b7fad4460c6b48411ef81711 Author: Ryan Lortie Date: Thu Mar 31 15:11:30 2011 +0530 gschema-test: invert expectation for min/max omit It is now completely valid. Fix up what is now a legitimate range error in the schema used in one of the tests. gio/tests/gschema-compile.c | 4 ++-- gio/tests/schema-tests/range-missing-max.gschema.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit cde83c8ccd5d56a72d2e3f0d36e9a902f9375482 Author: Ryan Lortie Date: Thu Mar 31 15:10:25 2011 +0530 glib-compile-schemas: min and max are now optional Will be taken to be the minimum and maximum value for the type of the key if they are left out. Bug #646310. gio/glib-compile-schemas.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) commit cd35e2e64341c7d8186f448e990e6589f0b21d64 Author: Ryan Lortie Date: Thu Mar 31 15:09:55 2011 +0530 GVariant test: test parsing of "inf" and "nan" glib/tests/gvariant.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 85633f11824bc806bef3d18b8c8a0bdb96af6a16 Author: Ryan Lortie Date: Thu Mar 31 14:48:10 2011 +0530 GVariant parser: parse "inf", "-inf" and "nan" glib/gvariant-parser.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 24ed841d6a65e3beff64b2252d132be9e57ede9a Author: Ryan Lortie Date: Thu Mar 31 14:45:50 2011 +0530 GVariant parser: match strings without consuming Add a new function that allows the parser to check that the current token is equal to a given string without consuming the token. Reimplement the 'consume' function in terms of the new function. glib/gvariant-parser.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) commit f6dff49136bd2202fd7a4b928b9dcd8fb625f8a4 Author: Ryan Lortie Date: Thu Mar 31 14:07:59 2011 +0530 GVariant parser: fix memory error In some cases it was possible for the GVariant parser to access past the 'limit' parameter. This should fix that. glib/gvariant-parser.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit 49fa69e05eb6d2a29fc1de8af93e65c4dd45ad72 Author: Ryan Lortie Date: Thu Mar 31 12:44:40 2011 +0530 Add 'uint' convenience functions for GSettings Without getting into a debate about the reasons why you may or may not want to use unsigned integers, it's sufficient to note that people have been using them and requesting this functionality. Bug #641755. docs/reference/gio/gio-sections.txt | 2 ++ gio/gio.symbols | 2 ++ gio/gsettings.c | 56 +++++++++++++++++++++++++++++++++++ gio/gsettings.h | 5 ++++ 4 files changed, 65 insertions(+) commit e9ce8f23748c28e19393cb225aeb6f7deac2fa62 Author: Ryan Lortie Date: Fri Mar 18 22:00:14 2011 -0400 Add GTimeZoneMonitor Monitors /etc/localtime for changes and instructs GTimeZone to drop its cache. Also has a signal for interested 3rd parties. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 13 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gtimezonemonitor.c | 156 +++++++++++++++++++++++++++++++++++ gio/gtimezonemonitor.h | 47 +++++++++++ glib/gtimezone.c | 3 + 8 files changed, 224 insertions(+) commit de3a3b181a97d43acd29bcdcdbd7406233b7ee9f Author: Ryan Lortie Date: Fri Mar 18 23:09:52 2011 -0400 g_time_zone_new_local: cache the result Add a function to drop the cache. docs/reference/glib/glib-sections.txt | 2 ++ glib/gtimezone.c | 57 ++++++++++++++++++++++++++++++++- glib/gtimezone.h | 2 ++ 3 files changed, 60 insertions(+), 1 deletion(-) commit 29a074b87e60be0d3f5508fa71ceb61937777c6d Author: Ryan Lortie Date: Fri Mar 18 23:09:17 2011 -0400 GTimeZone: don't add /etc/localtime to the cache It may change. glib/gtimezone.c | 40 ++++++++++++++-------------------------- 1 file changed, 14 insertions(+), 26 deletions(-) commit 3d46c848c538b53e9d8b986803742bb4ee125e40 Author: Miroslav Nikolić Date: Thu Mar 31 00:47:41 2011 +0200 Updated Serbian translation po/sr.po | 1774 ++++++++++++++++++++++++++++++++------------------------ po/sr@latin.po | 1774 ++++++++++++++++++++++++++++++++------------------------ 2 files changed, 2030 insertions(+), 1518 deletions(-) commit d306d0019be47c6fc6600210c5c9acbf222729b5 Author: Gil Forcada Date: Wed Mar 30 23:17:29 2011 +0200 [l10n]Updated Catalan translation po/ca.po | 344 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 180 insertions(+), 164 deletions(-) commit 04969571bb9dd0f9415ca9cd2c3fd360e3f7f159 Author: Martin Pitt Date: Wed Mar 30 19:52:31 2011 +0200 [gi] Add missing allow-none annotations to Gio gio/gdbusproxy.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit abe57505407fa3a8f95e41972e3c8deb79ec8f7d Author: Friedel Wolff Date: Wed Mar 30 18:53:38 2011 +0200 Update translation for Afrikaans (af) po/af.po | 2200 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 1510 insertions(+), 690 deletions(-) commit 92977a221760eba19a5a7186f5ccc90f21262279 Author: Bruce Cowan Date: Wed Mar 30 15:22:38 2011 +0100 Updated British English translation po/en_GB.po | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 5f71bb583be44a4e7cacd36d5a21c27c9048e8ed Author: Chao-Hsiung Liao Date: Wed Mar 30 21:17:26 2011 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 336 +++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 336 +++++++++++++++++++++++++++++++---------------------------- 2 files changed, 350 insertions(+), 322 deletions(-) commit c9bc758e8d638f2dd37b38249ae0a9a1034d0854 Author: Gintautas Miliauskas Date: Tue Mar 29 14:12:25 2011 +0200 Updated Lithuanian translation. po/lt.po | 1342 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 773 insertions(+), 569 deletions(-) commit 95e7aa0e07d7d31d3459910fed014f7aa611f957 Author: Jonathan Matthew Date: Sun Mar 27 10:44:31 2011 +1000 introspection: add annotations for g_file_load_contents and friends https://bugzilla.gnome.org/show_bug.cgi?id=645789 gio/gfile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit abe058a599a8b9a064ab6cbf8fe2416f6ecd08bc Author: Gil Forcada Date: Tue Mar 29 00:58:25 2011 +0200 [l10n]Updated Catalan translation po/ca.po | 2798 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 1920 insertions(+), 878 deletions(-) commit f516ebc57b8e075744fd1c653fba47191dfd3fba Author: David Zeuthen Date: Mon Mar 28 13:04:34 2011 -0400 GDBusProxy: Also check signature when checking if signal is expected Signed-off-by: David Zeuthen gio/gdbusproxy.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit caf993df6f9dbf2cd01ae16f5d757187c44683e3 Author: David Zeuthen Date: Mon Mar 28 12:10:25 2011 -0400 GDBusProxy: Drop unexpected signals If we have an expected interface and receive a signal not mentioned in the interface, simply drop it. This way, the application won't have to check for the signal itself. This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=642724#c5 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit aa59fb9dd1a20004a5ba5f4d97c271eb5abe01e9 Author: Olivier Crête Date: Fri Feb 18 20:34:06 2011 -0500 GDBusProxy: Validate properties received from service if possible If the proxy has an GInterfaceInfo set, validate properties against it so the application doesn't have to do it. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) commit 2809964c289ce278cc7477b7af908de7845c5c61 Author: David Zeuthen Date: Mon Mar 28 11:35:14 2011 -0400 docs: Add a "Index of new symbols in 2.30" section Signed-off-by: David Zeuthen docs/reference/gio/gio-docs.xml | 4 ++++ 1 file changed, 4 insertions(+) commit b845c62c7feb06f3d16921b5c08065fb13a1030b Author: David Zeuthen Date: Mon Mar 28 11:34:48 2011 -0400 GDBusProxy: Make interface lookups O(1) Signed-off-by: David Zeuthen gio/gdbusproxy.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 91f97ebbaad602115b3b26e36592a3b3a22cf9e6 Author: David Zeuthen Date: Mon Mar 28 11:33:36 2011 -0400 GDBusConnection: Make interface lookups O(1) Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 ++ 1 file changed, 2 insertions(+) commit 5bcf54b29cfe65f07d362b48a7fce7ac7c9a6dc3 Author: David Zeuthen Date: Mon Mar 28 11:31:05 2011 -0400 GDBus: Add mechanism to make lookup on interfaces constant-time This is used both on the service- and client-side and is currently O(n). Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 2 + gio/gdbusintrospection.c | 171 ++++++++++++++++++++++++++++++++++- gio/gdbusintrospection.h | 3 + gio/gio.symbols | 2 + 4 files changed, 175 insertions(+), 3 deletions(-) commit 5aa8f135c782e080b1be62e1f1fc5f1c9f12e959 Author: Aron Xu Date: Mon Mar 28 10:21:57 2011 +0000 Update Simplified Chinese translation. po/zh_CN.po | 180 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 90 insertions(+), 90 deletions(-) commit 13e2328117452af86097c18d873abd0c7d996c19 Author: Aron Xu Date: Mon Mar 28 10:18:03 2011 +0000 Update Simplified Chinese translation. po/zh_CN.po | 570 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 298 insertions(+), 272 deletions(-) commit 6477c58ce477fc6ac7ac98ab3895175db44eef2e Author: Wouter Bolsterlee Date: Sun Mar 27 23:49:55 2011 +0200 Updated Dutch translation by Wouter Bolsterlee po/nl.po | 1198 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 675 insertions(+), 523 deletions(-) commit cd7f028cc0962dad80901603baaa4ba9e9283825 Author: Abduxukur Abdurixit Date: Sun Mar 27 19:38:45 2011 +0200 Added UG translation po/ug.po | 1649 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 851 insertions(+), 798 deletions(-) commit 77f30fc3d3f8bee9970df58051d8934223982fd3 Author: Nguyễn Thái Ngọc Duy Date: Sun Mar 27 00:38:07 2011 +0700 Updated Vietnamese translation po/vi.po | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit 0e9d328bbee4c4a75c155b6943ee70da27c73025 Author: Nguyễn Thái Ngọc Duy Date: Sun Mar 27 00:34:44 2011 +0700 po/vi.po: import from Damned Lies po/vi.po | 769 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 409 insertions(+), 360 deletions(-) commit ead00ab55d8492a3fce81916da7ffd154b4272a9 Author: Ask H. Larsen Date: Sat Mar 26 14:17:39 2011 +0100 Updated Danish translation po/da.po | 1302 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 771 insertions(+), 531 deletions(-) commit 1618ca572fec292f0771202bd8b218dacc959060 Author: David Zeuthen Date: Fri Mar 25 17:56:59 2011 -0400 Fix test suite breakage caused by Murray's commit See https://bugzilla.gnome.org/show_bug.cgi?id=645682 Signed-off-by: David Zeuthen gio/tests/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 222b0276f552c2bf3ca40dc75101f737d82f7991 Author: Alexander Shopov Date: Fri Mar 25 22:13:47 2011 +0200 Updated Bulgarian translation po/bg.po | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit c926c099594be2fdc211032fd31b59cdffeebc58 Author: Daniel Nylander Date: Fri Mar 25 18:22:51 2011 +0100 Updated Swedish translation po/sv.po | 1257 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 670 insertions(+), 587 deletions(-) commit 0760e239d3156421f222ab638f96222fe7083a6e Author: Daniel Nylander Date: Fri Mar 25 18:22:13 2011 +0100 Updated Swedish translation po/sv.po | 1318 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 663 insertions(+), 655 deletions(-) commit a8bc1436f1106f92b9dad803787278323c2041fc Author: Tristan Van Berkom Date: Thu Mar 24 10:07:18 2011 -0400 GDBusServer: move business logic from _new() function to initable_init() https://bugzilla.gnome.org/show_bug.cgi?id=639478 Signed-off-by: David Zeuthen gio/gdbusserver.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 30fdc1a79938540af7bad0af68d0a3b8af14f117 Author: Murray Cumming Date: Thu Mar 24 09:33:55 2011 +0100 Docs: Changed can not to cannot. gio/gapplication.c | 4 ++-- gio/gsettings.h | 2 +- gio/gvdb/gvdb-reader.c | 2 +- gio/tests/gschema-compile.c | 2 +- glib/gconvert.c | 4 ++-- glib/giochannel.c | 6 +++--- glib/gmessages.c | 2 +- glib/gthread.c | 4 ++-- glib/gthreadpool.c | 2 +- glib/gvariant.c | 4 ++-- glib/gvarianttype.c | 2 +- gobject/gtype.h | 2 +- gobject/gtypemodule.c | 2 +- gobject/gvalue.h | 2 +- 14 files changed, 20 insertions(+), 20 deletions(-) commit 16358f76f6cef6865660e00952fa4d1a35437bce Author: Daniel Nylander Date: Tue Mar 22 15:12:41 2011 +0100 Updated Swedish translation po/sv.po | 977 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 495 insertions(+), 482 deletions(-) commit 78e075f369c589ca8cbbd9c34f8aa7c8be9cf1bd Author: Daniel Nylander Date: Tue Mar 22 15:12:10 2011 +0100 Updated Swedish translation po/sv.po | 829 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 427 insertions(+), 402 deletions(-) commit 57b1142beed7f84dc3e6e13cdd1ee0253bc37f88 Author: Luca Ferretti Date: Tue Mar 22 14:42:32 2011 +0100 Updated Italian translation po/it.po | 285 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 170 insertions(+), 115 deletions(-) commit 175f5292e4806a2ca1bc2db675c8adffb5c8693d Author: Sweta Kothari Date: Mon Mar 21 16:41:46 2011 +0530 Updated Gujarati Translations po/gu.po | 111 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 55 deletions(-) commit 432180d02fd595e95f36d732feac26dcd2b811d2 Author: Piotr Drąg Date: Sat Mar 19 16:31:42 2011 +0100 Updated Polish translation po/pl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5999d317a15cbf173d89f8f73861b43bcd9ffa9 Author: Piotr Drąg Date: Sat Mar 19 16:30:22 2011 +0100 Updated Polish translation po/pl.po | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit dc4a95ed978e51d03a792e07ca291388fed8c789 Author: Gabor Kelemen Date: Fri Mar 18 17:11:24 2011 +0100 Updated Hungarian translation po/hu.po | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 029b8fa06952d9e6ce65fd3ca9ee6823c20236e9 Author: Bruno Brouard Date: Thu Mar 17 21:40:03 2011 +0100 Updated French translation po/fr.po | 350 +++++++++++++++++++++++++------------------------------------- 1 file changed, 141 insertions(+), 209 deletions(-) commit 545faa8d2cf03bb16ef09428d80253db91689870 Author: Daniel Mustieles Date: Thu Mar 17 20:35:31 2011 +0100 Updated Spanish translation po/es.po | 137 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 73 insertions(+), 64 deletions(-) commit e2ed78417a102291763881d40560064cb101ada9 Author: Mario Blättermann Date: Thu Mar 17 12:53:06 2011 +0100 [l10n] Updated German translation po/de.po | 1168 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 677 insertions(+), 491 deletions(-) commit 89194fb415f26f10f18800cd84095a0a505e52a8 Author: Sweta Kothari Date: Thu Mar 17 16:09:40 2011 +0530 Updated Gujarati Translations po/gu.po | 2276 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 1538 insertions(+), 738 deletions(-) commit 098aa5639cc13e5a8cda38e81b05058ca8ff5463 Author: Matthias Clasen Date: Tue Mar 15 11:28:03 2011 -0400 Document which files glib-compile-schemas looks at Otherwise, your vendor override files are silently ignored... docs/reference/gio/glib-compile-schemas.xml | 2 ++ gio/gsettings.c | 6 ++++++ 2 files changed, 8 insertions(+) commit 0fbdd5c1d26cc85385d0b0889a8f1f4d04df38a9 Author: Lucian Adrian Grijincu Date: Tue Mar 15 14:08:09 2011 +0100 Updated Romanian translation po/ro.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 1518592045cef352b90386fefb4509a5b2a727b8 Author: Lucian Adrian Grijincu Date: Tue Mar 15 14:06:59 2011 +0100 Updated Romanian translation po/ro.po | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) commit 8f0e371cbf004c26561b2194b753c71f25c5ea93 Author: Lucian Adrian Grijincu Date: Tue Mar 15 14:03:51 2011 +0100 Updated Romanian translation po/ro.po | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 1732e891661712d661d59254936a120da6a526bd Author: Lupescu Mircea Date: Tue Mar 15 14:00:11 2011 +0100 Updated Romanian translation po/ro.po | 208 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 118 insertions(+), 90 deletions(-) commit e16547e79f56e65d247f4db8025772af355079a8 Author: Lucian Adrian Grijincu Date: Tue Mar 15 13:34:46 2011 +0100 Updated Romanian translation po/ro.po | 1268 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 754 insertions(+), 514 deletions(-) commit 08f0a312895e0dd457f5f4d5bcdf282a6d5a793f Author: Emmanuele Bassi Date: Tue Mar 15 09:03:28 2011 +0000 Revert "Remove all uses of G_CONST_RETURN" This reverts commit 36741245cca56e979fe85e3de676fb3912058f2c. The removal has not been discussed, except on Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=644611 glib/gchecksum.c | 2 +- glib/gchecksum.h | 2 +- glib/gconvert.c | 4 ++-- glib/gconvert.h | 2 +- glib/gdataset.c | 6 +++--- glib/gdir.c | 4 ++-- glib/gdir.h | 2 +- glib/giochannel.c | 4 ++-- glib/giochannel.h | 4 ++-- glib/glibintl.h | 6 +++--- glib/gmain.c | 2 +- glib/gmain.h | 2 +- glib/gmarkup.c | 4 ++-- glib/gmarkup.h | 4 ++-- glib/goption.c | 4 ++-- glib/goption.h | 4 ++-- glib/gquark.h | 6 +++--- glib/gstrfuncs.c | 16 +++++++------- glib/gstrfuncs.h | 18 ++++++++-------- glib/gunicode.h | 2 +- glib/gutf8.c | 2 +- glib/gutils.c | 56 ++++++++++++++++++++++++------------------------- glib/gutils.h | 38 ++++++++++++++++----------------- gmodule/gmodule.c | 6 +++--- gmodule/gmodule.h | 4 ++-- gobject/gbinding.c | 4 ++-- gobject/gbinding.h | 4 ++-- gobject/gparam.c | 6 +++--- gobject/gparam.h | 6 +++--- gobject/gsignal.c | 2 +- gobject/gsignal.h | 2 +- gobject/gtype.c | 6 +++--- gobject/gtype.h | 6 +++--- gobject/gvaluetypes.c | 2 +- gobject/gvaluetypes.h | 2 +- 35 files changed, 122 insertions(+), 122 deletions(-) commit 0c1acc7e741a01bf37d4c5f7a97ba1661f25d36a Author: Emmanuele Bassi Date: Tue Mar 15 09:02:08 2011 +0000 Revert "Deprecate G_CONST_RETURN" This reverts commit a7fc7909dad9b88e8b2d1c6cde801e8888bdfc36. The deprecations was not discussed except on Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=644611 docs/reference/glib/tmpl/macros.sgml | 5 ++--- glib/gmacros.h | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) commit d679a7659ff8c4948e7bdff5fb80f52dee8f6a09 Author: Ryan Lortie Date: Tue Mar 15 01:29:52 2011 -0400 GVariant parser: fix tuple type checking Robert Ancell discovered that the GVariant parser messes up pretty badly when the type of a tuple is specified and the tuple in the text being parsed has a different number of elements (but otherwise matching child types). Check that we have the expected number of elements. Closes #644786. glib/gvariant-parser.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit a7fc7909dad9b88e8b2d1c6cde801e8888bdfc36 Author: Ryan Lortie Date: Sat Mar 12 22:04:53 2011 -0500 Deprecate G_CONST_RETURN docs/reference/glib/tmpl/macros.sgml | 5 +++-- glib/gmacros.h | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) commit 36741245cca56e979fe85e3de676fb3912058f2c Author: Ryan Lortie Date: Sat Mar 12 21:50:45 2011 -0500 Remove all uses of G_CONST_RETURN Just use 'const'. glib/gchecksum.c | 2 +- glib/gchecksum.h | 2 +- glib/gconvert.c | 4 ++-- glib/gconvert.h | 2 +- glib/gdataset.c | 6 +++--- glib/gdir.c | 4 ++-- glib/gdir.h | 2 +- glib/giochannel.c | 4 ++-- glib/giochannel.h | 4 ++-- glib/glibintl.h | 6 +++--- glib/gmain.c | 2 +- glib/gmain.h | 2 +- glib/gmarkup.c | 4 ++-- glib/gmarkup.h | 4 ++-- glib/goption.c | 4 ++-- glib/goption.h | 4 ++-- glib/gquark.h | 6 +++--- glib/gstrfuncs.c | 16 +++++++------- glib/gstrfuncs.h | 18 ++++++++-------- glib/gunicode.h | 2 +- glib/gutf8.c | 2 +- glib/gutils.c | 56 ++++++++++++++++++++++++------------------------- glib/gutils.h | 38 ++++++++++++++++----------------- gmodule/gmodule.c | 6 +++--- gmodule/gmodule.h | 4 ++-- gobject/gbinding.c | 4 ++-- gobject/gbinding.h | 4 ++-- gobject/gparam.c | 6 +++--- gobject/gparam.h | 6 +++--- gobject/gsignal.c | 2 +- gobject/gsignal.h | 2 +- gobject/gtype.c | 6 +++--- gobject/gtype.h | 6 +++--- gobject/gvaluetypes.c | 2 +- gobject/gvaluetypes.h | 2 +- 35 files changed, 122 insertions(+), 122 deletions(-) commit 61b0e1c8d49b6b42d3b6f27f0663ead75967f81a Author: Christian Persch Date: Wed Mar 2 15:48:40 2011 +0100 Add G_SIGNAL_MUST_COLLECT In some cases, signal arguments have to be collected, even if there are i no signal handlers connected (e.g. for GVariant parameters, where collection consumes a floating variant). Based on a patch by Christian Persch. Bug #643624. gobject/gsignal.c | 10 +++-- gobject/gsignal.h | 7 +++- gobject/tests/Makefile.am | 1 + gobject/tests/signals.c | 91 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 104 insertions(+), 5 deletions(-) commit c95ff4de046d583fe2e8189522214069b708d32f Author: Olivier Crête Date: Mon Mar 14 14:54:46 2011 -0400 GDBusProxy: Check if connection is NULL before unreffing If no connection can be established with the bus, it is possible that the GDBusPRoxy will be finalized without having a connection object. gio/gdbusproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 789b341eff1553232b61b2e3ce3c4c918bf661e3 Author: Owen W. Taylor Date: Sat Mar 12 20:48:31 2011 -0500 Correct internal definition of C_() * Since the GLib translations are lazily initialized, we need an internal wrapper for g_dpgettext() that does the initialization in the same way as glib_gettext() * We need to use the glib domain defined by GETTEXT_PACKAGE rather than than the application's domain. https://bugzilla.gnome.org/show_bug.cgi?id=644607 glib/glibintl.h | 6 ++++-- glib/gutils.c | 56 ++++++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 47 insertions(+), 15 deletions(-) commit 88d23f02850faf4346a314e54abf4d71842dabed Author: Gabor Kelemen Date: Sun Mar 13 02:21:55 2011 +0100 Updated Hungarian translation po/hu.po | 1158 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 647 insertions(+), 511 deletions(-) commit 89ca0f729665f812b142b9a107515c945237082a Author: Emilio Pozuelo Monfort Date: Sat Mar 12 10:08:52 2011 +0000 Document g_timeout_add_seconds first call latency And fix /timeout/rounding to not fail if the first call happens after 2 seconds. https://bugzilla.gnome.org/show_bug.cgi?id=644552 glib/gmain.c | 6 +++++- glib/tests/timeout.c | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) commit 1a2f1d3458e1e5ffe48e2a44fdf04c645b8b55c0 Author: Duarte Loreto Date: Sat Mar 12 01:09:49 2011 +0000 Updated Portuguese translation po/pt.po | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit c1a75ca783f602d3edf465c28918dac7ea57a1e7 Author: Murray Cumming Date: Fri Mar 11 09:59:09 2011 +0100 g_file_info_get/set_attribute_string*(): Document the UTF-8ness. * gio/gfileattribute.c: (_g_file_attribute_value_get_string, _g_file_attribute_value_set_string): These use G_FILE_ATTRIBUTE_TYPE_STRING, which is documented as UTF-8, so document these private functions as using UTF-8. * gio/gfileinfo.c: (g_file_info_get_attribute_string, g_file_info_set_attribute_string, and stringv versions): Document that the strings are UTF-8 because the implementation uses those private functions, that use UTF-8. This helps language bindings (such as glibmm) whose API distinguishes between known and unknown encodings. gio/gfileattribute.c | 112 +++++----- gio/gfileinfo.c | 574 +++++++++++++++++++++++++------------------------- 2 files changed, 343 insertions(+), 343 deletions(-) commit 9505ad05eedefff2030bb20c587f168bb4dedeb7 Author: Tor Lillqvist Date: Fri Mar 11 10:19:42 2011 +0200 Use g_usleep() for portability, bug #644465 glib/tests/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6615ba859e8723888e108e2af390e5645dfa761 Author: Matthias Clasen Date: Thu Mar 10 23:27:49 2011 -0500 Fix cleanup in g_markup_collect Patch by Matt Barnes, https://bugzilla.gnome.org/show_bug.cgi?id=644428 glib/gmarkup.c | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) commit 949b7c34283f1efa08aa7d7d2266f6e2ef7d6fdb Author: Matthias Clasen Date: Thu Mar 10 23:25:22 2011 -0500 Add a testcase for g_markup_collect cleanup Taken from https://bugzilla.gnome.org/show_bug.cgi?id=644428. The test is currently failing. glib/tests/markup-collect.c | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit fccaadcdabad22141a171f92a79efc97c9ba8ebc Author: Andre Klapper Date: Thu Mar 10 12:33:58 2011 +0100 Add missing files to POTFILES.in po/POTFILES.in | 3 +++ 1 file changed, 3 insertions(+) commit b2ebf0526ddc6ae46e4bcd5e0a5ab55376061013 Author: Chun-wei Fan Date: Thu Mar 10 12:40:57 2011 +0800 Update config.h.win32.in for VS 2010 VS2010 ships with stdint.h by default, so update config.h.win32.in to reflect that config.h.win32.in | 9 +++++++++ 1 file changed, 9 insertions(+) commit b1813f7c9f63c2b3e50d1e0546511b7cd2b86c14 Author: Michael Kotsarinis Date: Thu Mar 10 01:36:54 2011 +0200 l10n: Updated Greek translation for glib po/el.po | 661 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 342 insertions(+), 319 deletions(-) commit 37858f7f5ef842c606f99e4808a591c4773550c0 Author: Martin Nordholts Date: Tue Mar 8 07:36:15 2011 +0100 Check availability of linux/magic.h Check availability of linux/magic.h. It isn't available in Linux versions before 2.6.19. configure.ac | 1 + glib/gfileutils.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fc75b2597dcbb44214ebf40d8c15b741299ddaab Author: Matthias Clasen Date: Sun Mar 6 23:08:46 2011 -0500 Improve preconditions in action-related GApplication api https://bugzilla.gnome.org/show_bug.cgi?id=643780 gio/gapplication.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 121ce56fe1741151faffb2c96c4ee7aa5352c314 Author: Matthias Clasen Date: Sun Mar 6 22:37:01 2011 -0500 Go back to the old logic in set_expiration It was more complicated, but also more correct... Also add a test to ensure that our rounding works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=643795 glib/gmain.c | 10 +++++++--- glib/tests/timeout.c | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) commit d377367b2cd1bb102bce9b47c47b4a488af24238 Author: Matthias Clasen Date: Sun Feb 27 21:26:42 2011 -0500 Forgotten file gio/tests/gapplication.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 90ad3c9962e335bb135cae71f746e2922c312943 Author: Murray Cumming Date: Sat Mar 5 14:51:55 2011 +0100 g_application_run(): Add (allow-none) introspection annotation. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3aac417fefeec178fad390c028b8b1ebfc0f9192 Author: Matthias Clasen Date: Fri Mar 4 12:10:06 2011 -0500 Some more details about GApplicationFlags gio/gioenums.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 34ac69e688455adbde677ea96b2ec6456bbc5617 Author: Matthias Clasen Date: Fri Mar 4 12:03:15 2011 -0500 Add more GApplication docs Add more details about ::command-line to the g_application_run docs. gio/gapplication.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 91614bb5fe18a980283755522279767a22da7c5c Author: Murray Cumming Date: Mon Feb 28 11:15:13 2011 +0100 GApplication: Check more before warning about a missing signal handler. * gio/application.c (g_application_real_command_line): Check that the default signal handler is not the current one before complaining, because it is not unusual for overloads to call the base class implementation as a matter of habit. g_application_real_open() and g_application_real_activate() already do this extra check. gio/gapplication.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 1485871ed5e8e9ce70b088cfedae4012032e5dca Author: Matthias Clasen Date: Fri Mar 4 01:53:56 2011 -0500 GApplication: More documentation tweaks gio/gapplication.c | 22 +++++++++++++++++----- gio/gapplicationcommandline.c | 36 +++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 20 deletions(-) commit 54e474931e4013cf0088df479018d9b7b156e637 Author: Matthias Clasen Date: Fri Mar 4 01:36:51 2011 -0500 Fix a typo gio/gapplicationcommandline.c | 9 +++++ gio/gioenums.h | 2 +- gio/tests/gapplication-example-cmdline3.c | 54 ++++++++++++++++++++++------- 3 files changed, 52 insertions(+), 13 deletions(-) commit d2a2fe96a3e9ddf5516bb138f365afec3e68a400 Author: Ryan Lortie Date: Fri Mar 4 00:57:51 2011 -0500 GVariant docs cleanups Fix some gtk-doc warnings docs/reference/glib/gvariant-varargs.xml | 42 +++++++++++++++--------------- glib/gvariant.c | 6 ++--- glib/gvarianttype.c | 11 ++++---- glib/gvarianttype.h | 2 +- 4 files changed, 31 insertions(+), 30 deletions(-) commit be04e514c05082e338b2f53f6c28687f6aa6c982 Author: Ryan Lortie Date: Wed Mar 2 06:15:21 2011 -0500 GVariant: add G_VARIANT_TYPE_VARDICT for a{sv} docs/reference/glib/glib-sections.txt | 1 + glib/gvarianttype.h | 8 ++++++++ 2 files changed, 9 insertions(+) commit 6dd692d8580655639ee7bd3ecd453f9d03009bab Author: Matthias Clasen Date: Fri Mar 4 00:27:23 2011 -0500 Small doc correction We don't actually pass @argc to local_command_line(). gio/gapplication.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 3c7203cf1ac0841e4613f40020f721f9c71ec0a4 Author: Matthias Clasen Date: Fri Mar 4 00:12:34 2011 -0500 GApplication: Clarify docs for @argv Clearly state that @argv may be NULL. https://bugzilla.gnome.org/show_bug.cgi?id=643649 gio/gapplication.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 1a6455b7858ea16f314949ceed9a128ad46267b2 Author: Matthias Clasen Date: Fri Mar 4 00:03:13 2011 -0500 GApplication: Beef up the local_command_line() docs This adds some details, such as the meaning of @argc, @argv and @status, even though gtk-doc does not make it easy to document vfunc arguments. Requested in https://bugzilla.gnome.org/show_bug.cgi?id=643478 gio/gapplication.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit f05bce027e49ba3ba4dee042ed52837d0145a7bf Author: Matthias Clasen Date: Thu Mar 3 23:34:49 2011 -0500 GApplication: Improve documentation This commit adds some details regarding platform data. gio/gapplication.c | 28 +++++++++++++++++++++++----- gio/gapplication.h | 20 +++++++++++++------- gio/gioenums.h | 12 ++++++++---- 3 files changed, 44 insertions(+), 16 deletions(-) commit 321682871b6547c73d6b8df61643bcc73a0555f7 Author: Matthias Clasen Date: Thu Mar 3 22:40:48 2011 -0500 Try harder to explain GApplicationCommandline Trying to answer some of the questions in https://bugzilla.gnome.org/show_bug.cgi?id=643468 gio/gapplication.c | 9 ++-- gio/gapplicationcommandline.c | 38 ++++++++++++++++- gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-cmdline3.c | 65 +++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 4 deletions(-) commit 72016418d38e51f1fb4f60f4b37fa1a8e5c282fb Author: Will Thompson Date: Thu Mar 3 14:51:41 2011 +0000 g_value_array_remove(): clarify docstring formatting gobject/gvaluearray.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0f59af82d5fa39551f221c461b89dca56a022576 Author: Duarte Loreto Date: Wed Mar 2 01:11:04 2011 +0000 Updated Portuguese translation po/pt.po | 1314 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 777 insertions(+), 537 deletions(-) commit 084c3c43045e242724e2fbd9d485b4762dc8af48 Author: Yaron Shahrabani Date: Sun Feb 27 22:56:31 2011 +0200 Updated Hebrew translation. po/he.po | 119 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 63 insertions(+), 56 deletions(-) commit 2b964d890aae6efd04bd75477a5481aa8abeb873 Author: Luca Ferretti Date: Sun Feb 27 21:47:44 2011 +0100 Updated Italian translation po/it.po | 204 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 112 insertions(+), 92 deletions(-) commit c193b49eeebfd83e3bb39b89499df5c5c8016914 Author: Changwoo Ryu Date: Sun Feb 27 14:43:34 2011 +0900 Updated Korean translation po/ko.po | 127 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 67 insertions(+), 60 deletions(-) commit 60e0dab3e6682c0e09fa81b8907636202394a073 Author: Bruno Brouard Date: Fri Feb 25 23:53:52 2011 +0100 Updated French translation po/fr.po | 1373 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 789 insertions(+), 584 deletions(-) commit e3cff93408163009dbc2dd3b6d90cd620385fc28 Author: Matthias Clasen Date: Fri Feb 25 11:13:55 2011 -0500 GApplications: Tighten up application-id validity checks Also add tests for these conditions. https://bugzilla.gnome.org/show_bug.cgi?id=643197 gio/gapplication.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit c430ad0b1be1b32be442299e47a3b09f54d3d8de Author: Matthias Clasen Date: Fri Feb 25 10:41:29 2011 -0500 Add some tests for g_hash_table_lookup_extended glib/tests/hash.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit d2d756439f1c6e434a3a8b348c17d63b6a452e9e Author: Matthias Clasen Date: Fri Feb 25 10:40:39 2011 -0500 GHashTable: Clarify g_hash_table_lookup_extended docs Passing NULL as a key is only ok if your hash and equal functions can deal with it. https://bugzilla.gnome.org/show_bug.cgi?id=642944 glib/ghash.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 52ef73ac8c40ea2a8ca80cf96d52a836bcaf76c2 Author: Matthias Clasen Date: Fri Feb 25 10:10:37 2011 -0500 GOptionContext: Warn about invalid arg/flag combinations This was proposed by Kjell Ahlstedt in bug 642825. Also adding a few tests for this new behaviour. glib/goption.c | 25 ++++++-- glib/tests/option-context.c | 132 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 147 insertions(+), 10 deletions(-) commit ee9e38ef6850ef1ce8da683425621898a35d5b5f Author: Matthias Clasen Date: Fri Feb 25 08:45:28 2011 -0500 Treat optional arguments the same for long and short options This was noticed in bug 642825 and the change was proposed by Kjell Ahlstedt. glib/goption.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c68c05a420e6c42af681e165393130a2a39ea7b9 Author: Daniel Mustieles Date: Thu Feb 24 20:36:04 2011 +0100 Updated Spanish translation po/es.po | 118 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 63 insertions(+), 55 deletions(-) commit 701ac3cb3d7a603697570f085457af7e68d089fd Author: Chun-wei Fan Date: Thu Feb 24 12:38:51 2011 +0800 Fix the VS2010 project generation for GLib The scripts accently pick up gcc-only source files... this fixes that. glib/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) commit 74d4fca53accff301058e8d4798d0412d9eeeca3 Author: Piotr Drąg Date: Wed Feb 23 22:03:34 2011 +0100 Updated Polish translation po/pl.po | 115 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 61 insertions(+), 54 deletions(-) commit abfef39da9a11f59051dfa23a50bc374c0b8ad6e Author: Chun-wei Fan Date: Wed Feb 23 14:22:36 2011 +0800 Remove uneeded item form VS10 folder There is no install.vcxproj.filters...oops build/win32/vs10/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1c764f41ccb8e0cf887de827af3bc034aa6cfc28 Author: Alexander Shopov Date: Wed Feb 23 08:02:23 2011 +0200 Updated Bulgarian translation po/bg.po | 85 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 39 deletions(-) commit 766d70729b8671a3ac7b2139b635ac5555d858fa Author: Matthias Clasen Date: Wed Feb 23 00:13:39 2011 -0500 Allow to list keys in all schemas Make the schema argument to gsettings list-recursively optional. This allows to search for not exactly known keys by going gsettings list-recursively | grep 'font' docs/reference/gio/gsettings.xml | 10 ++++--- gio/gsettings-tool.c | 54 ++++++++++++++++++++++++-------------- 2 files changed, 41 insertions(+), 23 deletions(-) commit 51dd7c5e4a1cf10177725a8c471731f0c4947159 Author: Cosimo Cecchi Date: Tue Feb 22 22:02:05 2011 -0500 application: fix a typo in the docs annotation gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fdfb09a79397589b3b86c059e97b4f0ce8d4df26 Author: Andreas Rottmann Date: Tue Feb 22 15:12:30 2011 +0100 Bug 638185 - GIOCondition should be annotated as "flags" Add a gtk-doc annotation to GIOCondition marking it as a flags type. glib/giochannel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd23ae7134bd25500272bd3ec24c3b39502cfc3d Author: Chun-wei Fan Date: Tue Feb 22 20:08:36 2011 +0800 Visual C++ 2010 Project Files These are the actual GLib VS2010 project files (*.vcxproj, *.vcxproj.filters) and property sheet file (*.props) that are used to compile the GLib, GModule, GObject, GThread, GIO DLLs, along with the gspawn-win32-helper* programs, glib-genmarshal utility and testglib test program. A readme.txt file is also enclosed for references for building GLib under VS2010. Note that the project files for GLib, GIO and GObject are templates that makes use of the autotools items of my last commit so that maintenance of those files are simplified as new source files are added to these rather frequently. Suggestions are welcome for these-please let me know via BugZilla. Thank you! build/win32/vs10/Makefile.am | 30 ++ build/win32/vs10/README.txt | 52 ++ build/win32/vs10/gio.vcxproj.filtersin | 51 ++ build/win32/vs10/gio.vcxprojin | 223 ++++++++ build/win32/vs10/glib-genmarshal.vcxproj | 170 +++++++ build/win32/vs10/glib-genmarshal.vcxproj.filters | 22 + build/win32/vs10/glib.props | 538 ++++++++++++++++++++ build/win32/vs10/glib.sln | 199 ++++++++ build/win32/vs10/glib.vcxproj.filtersin | 114 +++++ build/win32/vs10/glib.vcxprojin | 476 +++++++++++++++++ build/win32/vs10/gmodule.vcxproj | 201 ++++++++ build/win32/vs10/gmodule.vcxproj.filters | 32 ++ build/win32/vs10/gobject.vcxproj.filtersin | 30 ++ build/win32/vs10/gobject.vcxprojin | 207 ++++++++ .../win32/vs10/gspawn-win32-helper-console.vcxproj | 172 +++++++ .../gspawn-win32-helper-console.vcxproj.filters | 22 + build/win32/vs10/gspawn-win32-helper.vcxproj | 172 +++++++ .../win32/vs10/gspawn-win32-helper.vcxproj.filters | 22 + build/win32/vs10/gthread.vcxproj | 188 +++++++ build/win32/vs10/gthread.vcxproj.filters | 32 ++ build/win32/vs10/install.vcxproj | 137 +++++ build/win32/vs10/testglib.vcxproj | 170 +++++++ build/win32/vs10/testglib.vcxproj.filters | 22 + 23 files changed, 3282 insertions(+) commit 7b118b0c4121a6ae5b5b0adb1e2c45d7f5b941f5 Author: Chun-wei Fan Date: Tue Feb 22 19:58:18 2011 +0800 Visual C++ 2010 Project Files: autotools files These are the updates to the autotools files to ensure the expansion of the GIO, GLib and GObject project files (*.vcxproj, *.vcxproj.filters) and to enable the distribution of the VS2010 project files The actual VS2010 project files will follow shortly build/win32/Makefile.am | 3 ++- configure.ac | 1 + gio/Makefile.am | 24 +++++++++++++++++++++++- glib/Makefile.am | 23 ++++++++++++++++++++++- gobject/Makefile.am | 23 ++++++++++++++++++++++- 5 files changed, 70 insertions(+), 4 deletions(-) commit aa2ed1dbfbe66c2f4e3165559b1f707ba8b0aada Author: Bruce Cowan Date: Sun Feb 20 16:47:56 2011 +0000 Updated British English translation po/en_GB.po | 1167 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 675 insertions(+), 492 deletions(-) commit f909469e31caacd9ec26569cc377dcc367e1f571 Author: Vincent Untz Date: Sun Feb 20 10:41:17 2011 +0100 appinfo: Do not override system default handler with less specific one We were considering explicitly configured defaults for parent types after we already got results for the specific type we're interested in. This resulted in the explicit default for text/plain to override all system defaults for subtypes of text/plain, for example. The explicit default should not apply to subtypes that have a system default. https://bugzilla.gnome.org/show_bug.cgi?id=642797 gio/gdesktopappinfo.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 1158f9c171682e2ce30c1e790fe809dbb9926277 Author: Tor Lillqvist Date: Sun Feb 20 01:23:48 2011 +0200 Export _glib_get_locale_dir() as it is now used in gio, too gio/gdbus-tool.c | 1 + gio/glib-compile-schemas.c | 3 ++- glib/glib.symbols | 3 +++ glib/gutils.c | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) commit 73af5ab4cf14d33495ba098af3b53f7d7f257256 Author: Matthias Clasen Date: Sat Feb 19 16:27:51 2011 -0500 Be more forgiving when parsing introspection xml Accept (and silently ignore) version attributes on and elements - these occur in the wild, and ignoring them does not cost us anything. gio/gdbusintrospection.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2c0a8ff4dcd581096dad2a6ced2409b0cdf708a6 Author: Matthias Clasen Date: Fri Feb 18 23:46:09 2011 -0500 Add a testcase for bug 637738 gobject/tests/dynamictests.c | 127 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) commit 9dd1f75a414637e8fed50eae0577e33d6b4aab8f Author: Matthias Clasen Date: Fri Feb 18 22:42:24 2011 -0500 Document G_VALUE_NOCOPY_CONTENTS https://bugzilla.gnome.org/show_bug.cgi?id=624943 gobject/gtype.h | 2 +- gobject/gvalue.h | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) commit 2a1eed20b40c2ad4211ed0adb0d17983e5dcaec6 Author: Matthias Clasen Date: Fri Feb 18 22:35:49 2011 -0500 Expand the documentation of g_type_get_qdata() https://bugzilla.gnome.org/show_bug.cgi?id=613269 gobject/gtype.c | 4 ++++ 1 file changed, 4 insertions(+) commit bb4d6fd1b14c7152cb0bf163f761b7d148b30b80 Author: Matthias Clasen Date: Thu Feb 17 23:30:45 2011 -0500 Updates NEWS | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 82388ef3cdd4d1df664a82ab9f5c8c8a9ec6dfa0 Author: Matthias Clasen Date: Thu Feb 17 23:30:29 2011 -0500 Bump micro to .2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 237df47c5f6f82021faef495afcbd2a8ad932a3c Author: Lin Ma Date: Thu Feb 17 14:57:37 2011 +0800 Fixed bugster 7007407. Do not clear stat info until a node is really deleted. gio/fen/fen-helper.c | 3 +-- gio/fen/fen-kernel.c | 3 +-- gio/fen/fen-node.c | 7 +++---- 3 files changed, 5 insertions(+), 8 deletions(-) commit 48dbfb425d684e00620ccd1fc8fe683e69d3f40a Author: Alexander Shopov Date: Wed Feb 16 22:28:00 2011 +0200 Updated Bulgarian translation po/bg.po | 228 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 114 insertions(+), 114 deletions(-) commit a7faf0b16ee7cb32e8e0206a5fa5b10069a79e89 Author: Colin Walters Date: Wed Feb 16 13:49:20 2011 -0500 gdesktopappinfo: Handle g_get_prgname() being NULL Reported-By: Sebastien Bacher https://bugzilla.gnome.org/show_bug.cgi?id=642490 gio/gdesktopappinfo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4cda703d8e925fc34f9fc3303f96ed20765a816d Author: Matthias Clasen Date: Wed Feb 16 01:28:27 2011 -0500 Use glibc qsort_r() for g_qsort_with_data() No point in using an outdated copy that claims to 'work best on a Sun 4/260' when we can just wrap qsort_r... configure.ac | 40 ++++++++++++++++++++++++++++++++ glib/gqsort.c | 40 ++++++++++++++++++++++---------- glib/tests/Makefile.am | 3 +++ glib/tests/sort.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+), 12 deletions(-) commit 6cd08472b20004d6ef06c6063fed817fdb9bc1f5 Author: Stef Walter Date: Tue Feb 15 19:54:53 2011 +0100 Better documentation for g_value_dup_object(). State that NULL is returned when value is NULL. gobject/gobject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 59cbb3a8a3171f59035b4cabebdc63f8832fffed Author: Damien Lespiau Date: Thu Sep 30 17:27:19 2010 +0100 gtimezone: Rename shadowing variable 'time' to 'time_' glib/gtimezone.c | 78 +++++++++++++++++++++++++++--------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit 5df049706ff10cded918b31243ee33f7b7a4e64e Author: Matthias Clasen Date: Tue Feb 15 19:50:55 2011 -0500 Don't report standard interfaces more than once If they have a custom implementation, don't add the canned introspection XML, just rely on the generated XML. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642042 gio/gdbusconnection.c | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) commit 6f87ecc14e5286773b8b34eee443f5b61c3b03fd Author: Matthias Clasen Date: Tue Feb 15 19:49:24 2011 -0500 Add a (currently failing) testcase This testcase check that we don't report the standard interfaces more than one in the introspection XML, see https://bugzilla.gnome.org/show_bug.cgi?id=642042 gio/tests/gdbus-export.c | 140 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) commit 470a8dfa1ceee28929bf34662732287f2831e71c Author: Daniel Mustieles Date: Tue Feb 15 21:32:56 2011 +0100 Updated Spanish translation po/es.po | 338 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 160 insertions(+), 178 deletions(-) commit 25b2e3cbffacf8ec733e199489d5a640d390feff Author: Luca Ferretti Date: Tue Feb 15 13:02:30 2011 +0100 Updated Italian translation po/it.po | 788 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 326 insertions(+), 462 deletions(-) commit f9ad7baf3122445784c1766b0475ee6519a4ad24 Author: Matthias Clasen Date: Tue Feb 15 02:27:54 2011 -0500 Fix memory leaks in the gdbus introspection parser We were getting our length zero, yet NULL-terminated arrays in a twist in some places. Stop passing around ignored length arguments at the same time. https://bugzilla.gnome.org/show_bug.cgi?id=635099 gio/gdbusintrospection.c | 178 +++++++++++++++------------------------ gio/tests/gdbus-introspection.c | 3 +- 2 files changed, 68 insertions(+), 113 deletions(-) commit b21b3a01c776275197f0d31538c2c36ace8860ea Author: Matthias Clasen Date: Tue Feb 15 00:02:42 2011 -0500 Fix bug base in array-test glib/tests/array-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a46885242b3566a7f6afa4ca5cf5d3ffcf3d977d Author: Matthias Clasen Date: Tue Feb 15 00:02:13 2011 -0500 Add a testcase for bug 640489 glib/tests/regex.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit c2fbef4125977d0c1aa1a9859491e694c9c71b05 Author: Ryan Lortie Date: Mon Feb 14 23:21:14 2011 -0500 Bug 642052 - g_timeout_add(_seconds) overflow Fix integer overflow error. glib/gmain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 10154d21f012ae4fc3d94cbdbb12ed32df4837ce Author: Ryan Lortie Date: Mon Feb 14 23:20:38 2011 -0500 Bug 642052: add currently-broken test case The test case fails for now. It will be fixed by the next commit. glib/tests/Makefile.am | 4 ++++ glib/tests/timeout.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) commit f1a88e7e4283cfa706382a06a0cec46e33f48ed1 Author: Matthias Clasen Date: Mon Feb 14 19:15:41 2011 -0500 More GValue conversion tests gobject/tests/param.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) commit cfe8ec429ac48302d631bea18ffc37a1ed69095b Author: Matthias Clasen Date: Mon Feb 14 19:14:44 2011 -0500 Vary the order of unreffing dest and src For slightly better test coverage. gobject/tests/binding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2919e558bfb49b519eac59b657f2c7efb33241c Author: Matthias Clasen Date: Mon Feb 14 19:13:09 2011 -0500 Add schema name in error message Why not be helpful if it doesn't cost anything... gio/gsettingsschema.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a6f0249d589292ef9eabd31a7f174b327ce4d3ce Author: Yaron Shahrabani Date: Mon Feb 14 07:53:06 2011 +0200 Updated Hebrew translation po/he.po | 208 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 104 insertions(+), 104 deletions(-) commit 309f5f978bc1378449fea2a81f4d47e749ae7ceb Author: Matthias Clasen Date: Sun Feb 13 23:47:42 2011 -0500 Improve test coverage Various test additions, mainly in GObject gio/tests/gapplication.c | 32 ++++ gio/tests/gsettings.c | 4 +- glib/tests/Makefile.am | 9 +- glib/tests/dataset.c | 187 ++++++++++++++++++++++ glib/tests/gdatetime.c | 26 +++ glib/tests/mappedfile.c | 73 +++++++++ glib/tests/utils.c | 53 +++++++ gobject/tests/Makefile.am | 12 +- gobject/tests/binding.c | 52 +++++- gobject/tests/boxed.c | 386 +++++++++++++++++++++++++++++++++++++++++++++ gobject/tests/enums.c | 113 +++++++++++++ gobject/tests/param.c | 223 ++++++++++++++++++++++++++ gobject/tests/reference.c | 213 +++++++++++++++++++++++++ 13 files changed, 1376 insertions(+), 7 deletions(-) commit 1e48bff207a85564297c2e7d15f72aba00048213 Author: Matthias Clasen Date: Sun Feb 13 17:37:06 2011 -0500 Cosmetic rearrangement gobject/gboxed.h | 174 +++++++++++++++++++++++++++++------------------------- 1 file changed, 93 insertions(+), 81 deletions(-) commit 498508852745d0e3b743b065d78ba560d753d24e Author: Matthias Clasen Date: Sat Feb 12 22:23:04 2011 -0500 Fix the tm.tm_gmtoff check configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 147139d968ff052a516e8b2b0fb9bb8474a5986a Author: Matthias Clasen Date: Sat Feb 12 21:08:57 2011 -0500 Use g_assert_no_error The option-context test had its own version. glib/tests/option-context.c | 72 +++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 41 deletions(-) commit cf3ad6e293490a910f90637ce6cc93a02cfc8f61 Author: Fran Diéguez Date: Sun Feb 13 13:58:18 2011 +0100 Updated Galician translations po/gl.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8a1eac483f7a6c0a600b4784aff233c74b82b51 Author: Fran Diéguez Date: Sun Feb 13 13:55:47 2011 +0100 Updated Galician translations po/gl.po | 120 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) commit 18c6e46fd1bc91d32d0d994235382d6e3610168d Author: Piotr Drąg Date: Sun Feb 13 01:18:41 2011 +0100 Updated Polish translation po/pl.po | 91 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 46 deletions(-) commit 61fec7e821c2deed09b6b77c2b92e185814a9380 Author: Changwoo Ryu Date: Sun Feb 13 07:02:24 2011 +0900 Update Korean translation po/ko.po | 100 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 51 insertions(+), 49 deletions(-) commit ef6db8f94b6c7a4a1c922631e3c5cfec32cf1353 Author: Matthias Clasen Date: Sat Feb 12 12:43:15 2011 -0500 Fix a few string mismatches in the Italian translations Noticed these while testing gsettings translations. po/it.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c3334490c7b97ac561f7c7f1be407d17fbbb22ba Author: Matthias Clasen Date: Sat Feb 12 12:42:18 2011 -0500 Fix some problems with message handling g_printerr() doesn't append a newline, so we have to consistently do it everywhere. Also, we cannot call gettext on "", ever. gio/gsettings-tool.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit a536a1f2d751c89296f63f9863f3df90d8d2dfea Author: Matthias Clasen Date: Sat Feb 12 12:30:35 2011 -0500 Complete the translation setup for glib-compile-schemas gio/glib-compile-schemas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 7efc12e0d55e582cdb689e40dbe3500c06f35196 Author: Matthias Clasen Date: Sat Feb 12 12:26:26 2011 -0500 Set up message translation for gdbus This was only halfway done before and not working. gio/gdbus-tool.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) commit deab10645794e8ca8fce544729710dac4a74bc03 Author: Matthias Clasen Date: Sat Feb 12 12:09:39 2011 -0500 Docs: Mention gettext setup requirements in i18n section docs/reference/glib/tmpl/i18n.sgml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 562f29afdce05d63d98c8952d1d91d2f379634dc Author: Benjamin Otte Date: Sat Feb 12 18:05:54 2011 +0100 doc: Fix typo in previous commit Yuck. I blame it on the weekend. glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17eea8fa60915c5711a99eebe5025eadb04c3f3f Author: Benjamin Otte Date: Sat Feb 12 17:56:34 2011 +0100 docs: Fix return value for g_datetime_compare() Previous code confused dt1 and dt2. The new formulation is stolen from man strcmp() and g_strcmp0(). glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dfeb02ee86c02a2bb665b8b8457003d56baa474d Author: Will Thompson Date: Fri Feb 11 19:09:48 2011 +0000 GVariant: titlecase ‘Unicode’ in text format docs docs/reference/glib/gvariant-text.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c3fe071813447f837eb7a8e73906753db00bc98b Author: Will Thompson Date: Fri Feb 11 19:07:45 2011 +0000 GVariant: Correct uint32/64 thinko in text format docs docs/reference/glib/gvariant-text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea4e3ea1cb7d3264cb4c84d0b257e886a2be88e8 Author: Ryan Lortie Date: Fri Feb 11 10:27:44 2011 -0500 GVariant: doc the format of g_variant_parse/print docs/reference/glib/Makefile.am | 3 +- docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/gvariant-text.xml | 615 +++++++++++++++++++++++++++++++++ glib/gvariant-parser.c | 2 + glib/gvariant.c | 2 + 5 files changed, 622 insertions(+), 1 deletion(-) commit 2409c69d5b484c50b8f01ae742c339f4e511df5f Author: Ryan Lortie Date: Fri Feb 11 10:27:44 2011 -0500 Branch away from stable, bump to 2.29.0 This is now the unstable branch. Stable release is on the glib-2-28 branch. configure.ac | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit c2d98c56092db1f7bcf79cbbbb494abfd1255b52 Author: Will Thompson Date: Fri Feb 11 15:18:02 2011 +0000 GObject: correct documentation typos gobject/gobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b1d02f9323d4eb157dc99e0b7a79d06a2e510500 Author: Ryan Lortie Date: Fri Feb 11 10:14:29 2011 -0500 GVariant: support NULL for empty arrays in varargs g_variant_new("as", NULL); now gives an empty array of strings, for example. This was documented as working already, but was never actually implemented (due to the fact that it muddies the water when considering maybe types). It's being implemented now because its convenience to programmers exceeds any damage done to the conceptual purity of the API. docs/reference/glib/gvariant-varargs.xml | 5 +++ glib/gvariant.c | 52 +++++++++++++++++++----------- glib/tests/gvariant.c | 16 +++++++++ 3 files changed, 55 insertions(+), 18 deletions(-) commit d25dca2d74cddd66644890760f4d56e619528e14 Author: Runa Bhattacharjee Date: Fri Feb 11 19:01:05 2011 +0530 Updated Bengali India Translation po/bn_IN.po | 2276 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 1536 insertions(+), 740 deletions(-) commit 4196dfbc4a764a2342c1107bcd9339210c0ee332 Author: Colin Walters Date: Thu Feb 10 23:42:34 2011 -0500 gsettings: Minor typo in previous commit gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0f8d1933ad59d83bebe7e4f9d115fec71f915688 Author: Ryan Lortie Date: Wed Feb 9 11:55:35 2011 -0500 GSettings: add paragraph with performance notes summary: reads are very fast. writes are fast for you, but expensive for the system, so don't do them except in response to explicit user action. gio/gsettings.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 214d1bdd20c940be1e1cd38e071a3898c19aa3f7 Author: Matthias Clasen Date: Tue Feb 8 13:21:37 2011 -0500 Bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 939d5131dd7c0fad6204aa976139a3bb730e1a07 Author: Piotr Drąg Date: Tue Feb 8 18:22:44 2011 +0100 Updated Polish translation po/pl.po | 2170 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1203 insertions(+), 967 deletions(-) commit a6caaebea7261601fb4f9f57bb8aeadf38e5e499 Author: Matthias Clasen Date: Tue Feb 8 10:05:00 2011 -0500 Document new API gio/gmemorysettingsbackend.c | 13 +++++++++++++ gio/gnullsettingsbackend.c | 13 +++++++++++++ 2 files changed, 26 insertions(+) commit 78dcafc5cb2b8c05fed719ed1add0849f9938595 Author: Matthias Clasen Date: Tue Feb 8 10:04:36 2011 -0500 Fix some parameter mismatches in GVariant docs glib/gvariant.c | 2 +- glib/gvariant.h | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 4368a07e02b7008b3ab7c56b7637f7bbec505ea5 Author: Matthias Clasen Date: Tue Feb 8 07:41:49 2011 -0500 Avoid more compiler warnings glib/giochannel.c | 12 ++++++------ glib/gmessages.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit 8d572f5d22c07580936067e91e669220cfc801cc Author: Matthias Clasen Date: Tue Feb 8 07:35:54 2011 -0500 g_date_time_format: drop an unused variable glib/gdatetime.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ab2112a77b16cb36785088bb5975ef62f075102a Author: Matthias Clasen Date: Tue Feb 8 07:33:02 2011 -0500 Add release note about GApplication README.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f93d2f1b0898d6f7fde696ab42a86c63a71ec4d5 Author: Matthias Clasen Date: Tue Feb 8 00:00:08 2011 -0500 Update NEWS NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 7839c46897d730d9db5eff2c7a7a9f18876370df Author: Matthias Clasen Date: Mon Feb 7 23:53:29 2011 -0500 Bump version to 2.28.0 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 126beeee3338c94de9d01b9e99b99e8413282045 Author: Matthias Clasen Date: Mon Feb 7 23:46:02 2011 -0500 Fix a typo gobject/glib-mkenums.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d43b2d52b4129bf3eb36af6083063cba8f40cbed Author: Michal Hruby Date: Mon Feb 7 21:25:33 2011 +0100 Add more data about origin application to the "Launched" signal. This will help applications such as zeitgeist's datahub to collect more complete information about application launches, as the "actor" of a launch is important for zeitgeist's magic to work properly. gio/gdesktopappinfo.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit d6954c785d635be875b896ac9f4812e400b39455 Author: Colin Walters Date: Fri Feb 4 15:37:51 2011 -0500 gdesktopappinfo: Asynchronously flush after sending notification If we were the initial connection owner, unref will destroy the connection immediately, and we may lose messages. Asynchronously flush to avoid that. https://bugzilla.gnome.org/show_bug.cgi?id=641411 gio/gdesktopappinfo.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 626f197ee328c9b8ce11439e99b66fef14c5f9da Author: Matthias Clasen Date: Mon Feb 7 23:35:21 2011 -0500 Clarify GInitable docs Mention explicitly that the object is unrefed on error. Pointed out by Philip Van Hoof, https://bugzilla.gnome.org/show_bug.cgi?id=641363 gio/ginitable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 761fc9a8e722baf6175eb33a6ffb7deacc504c20 Author: Matthias Clasen Date: Mon Feb 7 23:30:56 2011 -0500 Append .exe to glib-compile-schemas in .pc file This makes the binary name correct on Windows. Pointed out by David Schleef, https://bugzilla.gnome.org/show_bug.cgi?id=641572 gio-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb2d30b9ffc3d698cc38a5c16d1a136f1439dbb0 Author: Matthias Clasen Date: Mon Feb 7 23:28:26 2011 -0500 Change the id of the gsettings section This tricks gtk-doc into generating a html file with a different name, avoiding the case-only GSettings.html vs gsettings.html. https://bugzilla.gnome.org/show_bug.cgi?id=641688 docs/reference/gio/gsettings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25ab13fd3c834a022175a5c8a6cc85fbb090968a Author: Matthias Clasen Date: Mon Feb 7 23:27:19 2011 -0500 Don't use -w in shebang line This can cause warnings when PERL_PATH gets expanded to /usr/bin/env. Patch by Adam Sampson, https://bugzilla.gnome.org/show_bug.cgi?id=641477 gobject/glib-mkenums.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a0554a9f76f70589506e2aa98cb387fcd10ef184 Author: Javier Jardón Date: Tue Feb 8 01:04:20 2011 +0000 docs: Document Since properly, 2.26 -> 2.28 gio/gaction.h | 2 +- gio/gactiongroup.h | 2 +- gio/gioenums.h | 2 +- gio/gsimpleaction.h | 4 ++-- gio/gsimpleactiongroup.h | 2 +- glib/gsequence.c | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) commit db12eb5ca47247a5e580d2db2dc1942a7f4971f0 Author: Rui Matos Date: Mon Feb 7 22:53:29 2011 +0000 GApplication: document Since properly in header files, 2.26 -> 2.28 https://bugzilla.gnome.org/show_bug.cgi?id=641783 gio/gapplication.h | 4 ++-- gio/gapplicationcommandline.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 3812559659e645be223e34f12040c2d58fdc875c Author: Ryan Lortie Date: Thu Feb 3 17:26:51 2011 -0500 Remove unused variable in gvdb-reader As originally committed against dconf by Owen. Newer GCC flags this. gvdb-reader.c | 2 -- 1 file changed, 2 deletions(-) commit 9823ff1d203166f33302dce2a26e1dee86c4d569 Author: Johan Dahlin Date: Tue Feb 1 17:27:04 2011 -0200 Use ; instead of: to not confuse g-ir-scanner gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59973526ea8b9883bf78567c88deaef9b3da9b2c Author: Changwoo Ryu Date: Wed Feb 2 21:59:38 2011 +0900 Updated Korean translation po/ko.po | 2708 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1742 insertions(+), 966 deletions(-) commit fdaaa22b58b20c285bc0c328cd6a97bb6c0f0258 Author: Johan Dahlin Date: Tue Feb 1 16:17:23 2011 -0200 Correct gtk-doc SECTION: syntax g-ir-scanner does not allow a space between the : and the section name. gio/gapplication.c | 2 +- gio/gsocketcontrolmessage.c | 2 +- gio/gsocketlistener.c | 2 +- gio/gsocketservice.c | 2 +- gio/gtcpconnection.c | 2 +- gio/gtcpwrapperconnection.c | 2 +- gio/gthreadedsocketservice.c | 2 +- gio/gtlscertificate.c | 2 +- gio/gunixconnection.c | 2 +- gio/gunixcredentialsmessage.c | 2 +- gio/gunixfdlist.c | 2 +- gio/gunixfdmessage.c | 2 +- glib/garray.c | 6 +++--- glib/gasyncqueue.c | 2 +- glib/gcache.c | 2 +- glib/gchecksum.c | 2 +- glib/gcompletion.c | 2 +- glib/gdataset.c | 6 +++--- glib/ghash.c | 2 +- glib/giochannel.c | 2 +- glib/glist.c | 2 +- glib/gmem.c | 4 ++-- glib/gnode.c | 2 +- glib/gpattern.c | 2 +- glib/grand.c | 2 +- glib/grel.c | 2 +- glib/gsequence.c | 2 +- glib/gshell.c | 2 +- glib/gslist.c | 2 +- glib/gstring.c | 2 +- glib/gthread.c | 2 +- glib/gthreadpool.c | 2 +- glib/gtimer.c | 2 +- glib/gtree.c | 2 +- glib/gvariant.c | 2 +- glib/gvarianttype.c | 2 +- 36 files changed, 41 insertions(+), 41 deletions(-) commit ad1f882a1c8b4a20daba877d3504280e512b104e Author: Javier Jardón Date: Tue Feb 1 13:15:55 2011 +0000 docs: Remove some unneeded template files async_queues, atomic_operations and bookmarkfile are already ported to inline comments docs/reference/glib/tmpl/.gitignore | 3 + docs/reference/glib/tmpl/async_queues.sgml | 195 --------- docs/reference/glib/tmpl/atomic_operations.sgml | 116 ------ docs/reference/glib/tmpl/bookmarkfile.sgml | 480 ----------------------- 4 files changed, 3 insertions(+), 791 deletions(-) commit 9f8798170dba82b8d46de02ab46105cf61b41f87 Author: Ryan Lortie Date: Mon Jan 31 13:19:59 2011 -0500 GApplication: add notes about GDBus architecture Some people are trying to write code that calls g_application_register() then checks to see if we became the primary name owner before exporting objects. This sort of approach worked with libdbus-1 because method calls to the freshly-acquired name would not be dispatched until the application returned to the mainloop. With GDBus, however, dispatches can occur at any time (including in the brief space between acquiring the name and actually registering the object). Add documentation to make it clear that you should not expect this to work. gio/gapplication.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 401a4233e492e3a2f83e86300b0004d524280e87 Author: Ignacio Casal Quinteiro Date: Mon Jan 31 13:34:26 2011 +0100 Check that error exists before trying to set it. Fixes bug #640975. glib/gconvert.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 72a8282231c9a56c93b08c04561e77f730047998 Author: Fran Diéguez Date: Sun Jan 30 03:31:06 2011 +0100 Updated Galician translations po/gl.po | 314 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 159 insertions(+), 155 deletions(-) commit 49428369a71f560fe2f4a4c33ba3ebf0a3765761 Author: Luca Ferretti Date: Sat Jan 29 14:00:25 2011 +0100 Updated Italian translation po/it.po | 883 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 539 insertions(+), 344 deletions(-) commit 5d9f5cdc5a9d45b80e728b2609966af1d5f70c52 Author: A S Alam Date: Sat Jan 29 07:54:24 2011 +0530 update Punjabi Translation by A S Alam po/pa.po | 997 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 550 insertions(+), 447 deletions(-) commit 75098c297c46945af7c9cf9224951495a82f04a6 Author: Matthias Clasen Date: Fri Jan 28 23:47:36 2011 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83661af46a23a046a87f8d3e4464f5a70676a839 Author: Matthias Clasen Date: Fri Jan 28 21:09:52 2011 -0500 Enable silent rules by default configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2b6064760796e01d40fc41a605ba65826196f67a Author: Matthias Clasen Date: Fri Jan 28 21:06:03 2011 -0500 Update NEWS NEWS | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit a33aaad00c5e0ce135e34a3280f2560546fe7738 Author: Matthias Clasen Date: Fri Jan 28 20:50:43 2011 -0500 Fix GIO build on Solaris Major and minor are defined in sys/mkdev.h on Solaris Patch by Fabian Groffen https://bugzilla.gnome.org/show_bug.cgi?id=637013 configure.ac | 2 +- gio/gdbusmessage.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 6fe2f5f11b5dee144658e25c2b152fa2f0edd7eb Author: Matthias Clasen Date: Fri Jan 28 12:26:23 2011 -0500 Prevent unused variable warnings from G_DEFINE_DYNAMIC_TYPE gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c59c38404894b09f1f67add89f7fbbbcb4f4ace Author: Dan Winship Date: Fri Jan 28 10:17:54 2011 -0500 Fix g_source_add_child_source docs https://bugzilla.gnome.org/show_bug.cgi?id=640823 glib/gmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4209c1c415766c8735eb08500cd7de450c7c09a Author: Ryan Lortie Date: Fri Jan 28 08:23:11 2011 -0500 GVariant: clear memory before releasing it Bug #640807 makes a reasonable case for why it's better to have your program crash outright in the case of memory errors. With this modification, GVariant is far more likely to do that in the case that a GVariant pointer is used shortly after being freed. glib/gvariant-core.c | 1 + 1 file changed, 1 insertion(+) commit 8602a3a68212b54773f31e57bbe48189dacfcfd3 Author: Tobias Mueller Date: Thu Jan 27 15:14:31 2011 +0100 Fixed format string issue in a test, fixes bug 640725 glib/tests/markup-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 069daa69f62c89c7957f22d3b5ccbe0420e51e8b Author: Matthias Clasen Date: Thu Jan 27 23:07:53 2011 -0500 Add testcase for bug 640695 glib/tests/Makefile.am | 1 + glib/tests/keyfile.c | 38 +++++++++++++++++++- glib/tests/pages.ini | 92 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+), 1 deletion(-) commit 440e6f4a61e27ee95994cd6a57c9d977a4376755 Author: Benjamin Gilbert Date: Thu Jan 27 02:04:00 2011 -0500 Ensure g_key_file_load_from_file() strips a \r on a 4 KB boundary When g_key_file_parse_data() encountered \n, it was checking the previous character in the current input buffer for a \r to erase, rather than the previous character in the parse buffer. If g_key_file_load_from_file() was given a file with a \r\n sequence straddling a 4 KB boundary, the \n would be the first character in the input buffer, so the \r would not be properly stripped. Bug #640695. Found-by: Jan Harkes glib/gkeyfile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e644b29190aaec2cb2239d2541144e313e293020 Author: Matthias Clasen Date: Thu Jan 27 22:54:32 2011 -0500 Use g_set_error_literal where appropriate gio/gpollableinputstream.c | 4 ++-- gio/gpollableoutputstream.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit cc5578fbd73ac3845daaa098601640a41cc8586a Author: Matthias Clasen Date: Thu Jan 27 21:57:57 2011 -0500 Make load_user_special_dirs() resistant to nonexistent dirs glib/gutils.c | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) commit 4f8a4f171ec3ad2d922ab890ac875dae4a1c49b8 Author: Matthias Clasen Date: Thu Jan 27 20:31:14 2011 -0500 Remove redundant definitions https://bugzilla.gnome.org/show_bug.cgi?id=640262 gio/gactiongroup.h | 7 ------- 1 file changed, 7 deletions(-) commit 4a8d9b68e38c8b2d09e426eb009ca6fadff5af86 Author: Matthias Clasen Date: Thu Jan 27 20:29:22 2011 -0500 Fail in a clean way if schema name is missing https://bugzilla.gnome.org/show_bug.cgi?id=640192 gio/gsettingsschema.c | 2 ++ 1 file changed, 2 insertions(+) commit d8ca6404229e5b64d2bf2e1a3660ad9fe7feefdd Merge: 73410f1 03b6b9f Author: Ryan Lortie Date: Thu Jan 27 11:45:04 2011 -0500 Merge remote branch 'gvdb/master' commit 73410f1176c276e244c172fd36037ada8db12a3d Author: Chao-Hsiung Liao Date: Thu Jan 27 18:51:55 2011 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 604 ++++++++++++++++++++++++++++++----------------------------- po/zh_TW.po | 604 ++++++++++++++++++++++++++++++----------------------------- 2 files changed, 620 insertions(+), 588 deletions(-) commit bdbfbd5ea314cf90168db3737ef64d5399ecd591 Author: Kjartan Maraas Date: Thu Jan 27 11:13:12 2011 +0100 Updated Norwegian bokmål translation. po/nb.po | 597 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 314 insertions(+), 283 deletions(-) commit cddf27de94be3fa3f0ec7b52640c52b2e5479064 Author: Fran Diéguez Date: Thu Jan 27 00:37:03 2011 +0100 QA of Galician translations po/gl.po | 198 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 103 insertions(+), 95 deletions(-) commit 03b6b9fb9775387c3ec5eedb9e5d2152d6468147 Author: Ryan Lortie Date: Tue Jan 25 18:26:21 2011 -0500 Mark a symbol as G_GNUC_INTERNAL gvdb-reader.h | 1 + 1 file changed, 1 insertion(+) commit 1e5916ffae7bfaf041df454677562aec4557e21c Author: Yaron Shahrabani Date: Sun Jan 23 02:44:15 2011 +0200 Updated Hebrew translation. po/he.po | 448 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 232 insertions(+), 216 deletions(-) commit 816e6541d6680028a19865e68db0aa0cafc20f8c Author: Alexander Shopov Date: Sat Jan 22 22:43:52 2011 +0200 Updated Bulgarian translation po/bg.po | 1020 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 577 insertions(+), 443 deletions(-) commit 59fd6f184a5ccd2002a0043bbe13c06cb59515fd Author: Jorge González Date: Sat Jan 22 16:50:48 2011 +0100 Updated Spanish translation po/es.po | 582 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 308 insertions(+), 274 deletions(-) commit 9f0c592b9c5f9ac57d3454f02ffa92e98001ceaf Author: Emilio Pozuelo Monfort Date: Sat Jan 22 15:36:13 2011 +0000 Bump PCRE minimum version https://bugzilla.gnome.org/show_bug.cgi?id=640261 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit acc295e292406e15e35bdab08b97c9f4409c16fc Author: Matthias Clasen Date: Sat Jan 22 09:52:33 2011 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd8b245f574497755265ec0cee15ebe17bd00a7d Author: Matthias Clasen Date: Sat Jan 22 00:02:08 2011 -0500 Update Unicode tests to 6.0 tests/casefold.txt | 17 ++++++++++++++++- tests/casemap.txt | 40 +++++++++++++++++++++++++++++++++------- 2 files changed, 49 insertions(+), 8 deletions(-) commit fb2809ec996e9e12d06f4bc7239a98718f5f06d7 Author: Matthias Clasen Date: Sat Jan 22 00:01:54 2011 -0500 Forgotten files glib/pcre/pcre.h | 81 +-- glib/pcre/pcre_chartables.c | 2 +- glib/pcre/pcre_compile.c | 899 +++++++++++++++++++++++---------- glib/pcre/pcre_dfa_exec.c | 257 +++++++--- glib/pcre/pcre_exec.c | 1155 ++++++++++++++++++++++++++++++------------- glib/pcre/pcre_internal.h | 286 ++++++----- glib/pcre/pcre_study.c | 277 ++++++++--- glib/pcre/pcre_tables.c | 271 +++++----- glib/pcre/pcre_xclass.c | 37 +- glib/pcre/ucp.h | 5 +- 10 files changed, 2271 insertions(+), 999 deletions(-) commit 3f059a6a123dd62257f224b9af7701078783060e Author: Matthias Clasen Date: Fri Jan 21 23:41:12 2011 -0500 Remove a test that seems to fail depending on time of day glib/tests/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37e221b5aee3a0d1b1a3988c69e5694b7722c0fb Author: Matthias Clasen Date: Fri Jan 21 23:12:16 2011 -0500 Update NEWS NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit c03dc6bf7dfc6e326e7249e9e377676db885d99e Author: Matthias Clasen Date: Fri Jan 21 23:10:01 2011 -0500 Update the included copy of PCRE Update PCRE to version 8.12. At the same time, also add Unicode 6.0 script support. glib/gregex.c | 16 ++++++++++++++++ glib/tests/regex.c | 5 ++--- 2 files changed, 18 insertions(+), 3 deletions(-) commit 51c87f680991760940da65b0c182016350e211a6 Author: Matthias Clasen Date: Fri Jan 21 18:02:05 2011 -0500 Update help and docs for gsettings cmdline tool The man page had gotten quite out of sync. docs/reference/gio/gsettings.xml | 135 ++++++++++++++++++++++++++++---------- gio/gsettings-tool.c | 28 +++++--- 2 files changed, 120 insertions(+), 43 deletions(-) commit 0a5708654080232dd404d089b5b790de79f11032 Author: Behdad Esfahbod Date: Fri Jan 21 16:30:19 2011 -0500 Update to Unicode 6.0 One new GUnicodeBreak enum member. Three new GUnicodeScript members, and one member renamed to fix a typo. Tests, docs, and scripts are updated. PCRE update still needed. docs/reference/glib/tmpl/unicode.sgml | 6 +- glib/gen-unicode-tables.pl | 79 +- glib/gscripttable.h | 516 +- glib/gunibreak.h | 5372 ++++++++++----- glib/gunichartables.h | 4727 ++++++++----- glib/gunicode.h | 38 +- glib/gunicomp.h | 288 +- glib/gunidecomp.h |11955 +++++++++++++++++---------------- glib/pcre/ucp.h | 2 +- glib/tests/utf8-misc.c | 20 +- 10 files changed, 13730 insertions(+), 9273 deletions(-) commit b50f4a1a52eeaec2ff14a0ac44b0b42ebb6cca30 Author: Matthias Clasen Date: Fri Jan 21 11:24:14 2011 -0500 Updates for 2.27.92 NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 654ab34e3a7ea03dd7e86d16deae90df8e153d4c Author: Matthias Clasen Date: Fri Jan 21 10:52:48 2011 -0500 Don't warn in GApplication if class handlers have been overridden https://bugzilla.gnome.org/show_bug.cgi?id=640042 gio/gapplication.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b31d80eff3352de556e630cdc117a735bc4925e5 Author: Khaled Hosny Date: Thu Jan 20 21:57:05 2011 +0200 Updated Arabic translation po/ar.po | 1827 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 992 insertions(+), 835 deletions(-) commit da36756f3f907ce7d9d4484e29ef7c08c838b351 Author: Michael Kotsarinis Date: Wed Jan 19 19:08:15 2011 +0200 Updated Greek translation po/el.po | 1010 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 590 insertions(+), 420 deletions(-) commit c7f38cd277f0bfa9c303fcd30dd17e1320e5c162 Author: Matthias Clasen Date: Tue Jan 18 00:06:55 2011 -0500 Mark another function as static glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67e112cce6bc7a9e841354d2c760a017a2c01527 Author: Matthias Clasen Date: Tue Jan 18 00:06:05 2011 -0500 Mark a function as static glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2347f34fded2651e47a60814f600c173b8ca5e7 Author: Matthias Clasen Date: Mon Jan 17 23:46:20 2011 -0500 Move GMarkup docs inline docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/markup.sgml | 327 --------- glib/gmarkup.c | 1331 ++++++++++++++++++---------------- glib/gmarkup.h | 85 ++- 4 files changed, 768 insertions(+), 976 deletions(-) commit dc8b03027d905bf22527aeaa7e31ad072231197a Author: Ray Strode Date: Mon Jan 17 17:13:44 2011 -0500 gsettings: Update documentation on schema naming convention The existing docs are a bit inconsistent in that they say to follow the dbus convention, but then give an example that doesn't. This commit changes things to be how Ryan says they should be. docs/reference/gio/migrating-gconf.xml | 10 ++++++---- gio/gsettings.c | 10 +++++++--- 2 files changed, 13 insertions(+), 7 deletions(-) commit a2918d6c3e676e2656a87b5a5ee974dc5777eb59 Author: Ryan Lortie Date: Mon Jan 17 15:17:34 2011 -0500 Fix some harmless sign compare warnings gvdb-reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba5619ba7f69025f40bf5e77d667a2a84b61d1a7 Author: Ryan Lortie Date: Mon Jan 17 15:15:46 2011 -0500 C++ify the reader header gvdb-reader.h | 3 +++ 1 file changed, 3 insertions(+) commit e8120dc4ce75b0cff6d45632e5d9037853ad51ae Author: Ray Strode Date: Mon Jan 17 14:15:18 2011 -0500 datetime: Show 12 instead of 0 for 12h hour format The 12h mode hour format is computed by taking the 24h mode hour format modulo 12. The conversion results in 12 noon getting erroneously converted to 0. This commit makes noon get the same special handling as midnight. glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a437c5e768b9a62b550e174b25413ce9149fcdbe Author: Ray Strode Date: Mon Jan 17 14:30:43 2011 -0500 tests: add format test case for noon hour in 12h mode It currently displays it as "0" instead of "12", so this test case demonstrates the bug. glib/tests/gdatetime.c | 2 ++ 1 file changed, 2 insertions(+) commit 8728949e0db56159485e5d214e581e5f46911d0b Author: Christian Persch Date: Thu Jan 6 23:30:09 2011 +0100 Don't leak variants in the null settings backend Even though the write fails, the variant still needs to be consumed. Bug #638872. gio/gnullsettingsbackend.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit a583405f66758e320eaf2025b757ddc081186686 Author: Javier Jardón Date: Fri Jan 14 17:54:04 2011 +0000 docs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form() glib/gvariant-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c0491841e40aba4b479285e473f267f623b4a57 Author: Javier Jardón Date: Fri Jan 14 17:24:45 2011 +0000 gvariant-core: Fix typo g_variant_create_from_data -> g_variant_new_from_data glib/gvariant-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7041e221fcf165ae16603ba4a2d5579cc02826a Author: Javier Jardón Date: Fri Jan 14 00:49:35 2011 +0000 docs: gvariant-varargs: Fix typo docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 060e516ede200990d09a259f5f48e939fc001f89 Author: Ivar Smolin Date: Thu Jan 13 12:41:06 2011 +0200 [l10n] Updated Estonian translation po/et.po | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit a86eb8785b9b93ee0fb2a52e714ef6431268ccf2 Author: Inaki Larranaga Murgoitio Date: Wed Jan 12 22:29:53 2011 +0100 Updated Basque language po/eu.po | 910 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 563 insertions(+), 347 deletions(-) commit c0208940c569b2d2a7e0e86f93d97cfbaf2b3fc7 Author: Daiki Ueno Date: Tue Jan 11 11:33:21 2011 +0900 Make g_unix_connection_send_fd() work as expected. https://bugzilla.gnome.org/show_bug.cgi?id=637696 gio/gunixfdmessage.c | 2 +- gio/tests/socket.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+), 1 deletion(-) commit 634e9e43cfb8b0d88d0a6b4899d0e33c62c07458 Author: Michael Natterer Date: Wed Jan 12 19:45:40 2011 +0100 gobject: add an empty default impl of GObject::constructed() to allow unconditional upchaining. gobject/gobject.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 19c73918ec7faf6e32d100493772a1dccf43b110 Author: Chun-wei Fan Date: Wed Jan 12 11:08:54 2011 +0800 Added symbols for GIO/Win32 There are now fallback functions in the Win32 portion of g_app_info that were previously only available under UNIX, so add them here so that they can be exported as well. The symbols are as follows: g_app_info_get_fallback_for_type g_app_info_get_recommended_for_type gio/gio.symbols | 2 ++ 1 file changed, 2 insertions(+) commit 1df31f00140bfba941db65e2374ff2700f55a295 Author: Matthias Clasen Date: Tue Jan 11 16:13:42 2011 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dd6baef46fcb7abd561383f2af7bb1b8e3579f5c Author: Matthias Clasen Date: Tue Jan 11 11:27:45 2011 -0500 Update NEWS NEWS | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit fabf506b8d5baf8f59fca563e6f1a62be5148112 Author: Ivar Smolin Date: Tue Jan 11 11:04:56 2011 +0200 [l10n] Updated Estonian translation po/et.po | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit eec2cb1af873f38091671486b5adc5d444e306b7 Author: Matthias Clasen Date: Mon Jan 10 20:28:17 2011 -0500 Avoid a segfault in g_application_register() Patch by Mikkel Kamstrup Erlandsen https://bugzilla.gnome.org/show_bug.cgi?id=639177 gio/gapplicationimpl-dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 48f27317607fe117fe9aed0c2fe24ff6ef10a5d5 Author: Javier Jardón Date: Mon Jan 10 23:36:00 2011 +0000 mkinstalldirs: Update to latest version mkinstalldirs | 93 ++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 72 insertions(+), 21 deletions(-) commit 42d71c0ef952a2a3b9bd685ad3bb4294f0706947 Author: Ivar Smolin Date: Mon Jan 10 19:44:11 2011 +0200 [l10n] Updated Estonian translation po/et.po | 101 +++++++++++++++++--------------------------------------------- 1 file changed, 27 insertions(+), 74 deletions(-) commit a57c4c90662077163316d1d53ee18a5a0fbec393 Author: Matthias Clasen Date: Sun Jan 9 16:43:28 2011 -0500 GSettings: Fix a copy-paste error https://bugzilla.gnome.org/show_bug.cgi?id=639084 gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b0b37bcb06723ede07cc9c5c4573f12c3acb1643 Author: Christian Persch Date: Sun Jan 9 15:03:31 2011 +0100 Update gschema.dtd Bug #639064. gio/gschema.dtd | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit eafa3443d39f36a3ade11154243495a77d5b089d Author: Fran Diéguez Date: Sun Jan 9 16:35:32 2011 +0100 Updated Galician translations po/gl.po | 386 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 193 insertions(+), 193 deletions(-) commit 33c7a9d8ecaa75b41dbdd2a3a31ac8c62394a8b5 Author: Javier Jardón Date: Fri Jan 7 18:55:20 2011 +0100 configure: Use AC_CONFIG_MACRO_DIR To keep the correct macros in-tree. configure.ac | 1 + 1 file changed, 1 insertion(+) commit b67d9cb7eef036b76955a75e6e9cd6b8ae1fb8e4 Author: Matthias Clasen Date: Fri Jan 7 12:07:19 2011 -0500 Add regex test cases These come from https://bugzilla.gnome.org/show_bug.cgi?id=638894 glib/tests/regex.c | 2 ++ 1 file changed, 2 insertions(+) commit f6b52322a2049dfb3873922a8f1417d8c44363b0 Author: Pavel Holejsovsky Date: Fri Jan 7 14:52:29 2011 +0100 Fix and update GI annotations for 'Volumes and Drives' Volumes and Drives GIO category contains: GVolumeMonitor, GVolume, GMount, GDrive, Unix Mounts. gio/gdrive.c | 34 +++++++++++++++++++--------------- gio/gmount.c | 33 ++++++++++++++++++--------------- gio/gunixmounts.c | 20 +++++++++++--------- gio/gvolume.c | 13 +++++++------ 4 files changed, 55 insertions(+), 45 deletions(-) commit f85909fb65635b8321d1abf60c073ae854acae5e Author: Pavel Holejsovsky Date: Fri Jan 7 09:38:35 2011 +0100 Add and update GI annotations in 'Settings' 'Settings' GIO group contains GSettings and GSettingsBackend. gio/gsettings.c | 18 +++++++++--------- gio/gsettings.h | 5 +++-- gio/gsettingsbackend.c | 12 +++++++----- 3 files changed, 19 insertions(+), 16 deletions(-) commit 99c740fdb58e2a7bf18fa1213c03b0be186f3581 Author: Andika Triwidada Date: Fri Jan 7 11:37:39 2011 +0700 Updated Indonesian translation po/id.po | 1531 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 858 insertions(+), 673 deletions(-) commit e738a8dd8ca3d3dd327bc5a3bbfd151858738609 Author: Colin Walters Date: Thu Jan 6 11:47:58 2011 -0500 gdesktopappinfo: Don't crash if we don't have a desktop filename If code creates a GDesktopAppInfo via g_desktop_app_info_new_from_keyfile(), we'd try to send a NULL pointer down into GVariant. Since in this case we don't have a filename, just send the empty string. In the future we should either: 1) Change panel to use g_desktop_app_info_new_from_filename(), and take the hit of parsing the file twice. 2) Add a g_key_file_get_origin_filename() 3) Add g_desktop_app_info_new_from_keyfile_and_name() https://bugzilla.gnome.org/show_bug.cgi?id=638838 gio/gdesktopappinfo.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 26b65a3abda5ad0930b1cd0d0652417feb50c274 Author: Serkan Kaba Date: Thu Jan 6 14:08:02 2011 +0100 gio: Recognize reiser4 in g_file_query_filesystem_info() Signed-off-by: Serkan Kaba Signed-off-by: Tomas Bzatek gio/glocalfile.c | 2 ++ 1 file changed, 2 insertions(+) commit 48f8c07c530973a0b32ed6cd3251cc82851e20b0 Author: Matthias Clasen Date: Wed Jan 5 20:43:46 2011 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b3412b419a322426ae04ca5177546ba68def3d8 Author: Matthias Clasen Date: Wed Jan 5 19:51:44 2011 -0500 Add anothre bug ref NEWS | 1 + 1 file changed, 1 insertion(+) commit 51ac0c6c85c5bf993ff2de0282c569884b79027a Author: Matthias Clasen Date: Wed Jan 5 19:42:13 2011 -0500 Avoid possible parameter name clashes in GVariant https://bugzilla.gnome.org/show_bug.cgi?id=638349 glib/gvariant.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 31db1f9688274b245ba7f47b7a837f609715331c Author: Matthias Clasen Date: Wed Jan 5 19:07:01 2011 -0500 Add new symbol gio/gio.symbols | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f4773faa9f669ff3a705946f5b4ddcc83d3c6931 Author: Matthias Clasen Date: Wed Jan 5 17:46:28 2011 -0500 Drop annotation that break the documentation build gio/gtlsclientconnection.c | 4 ---- 1 file changed, 4 deletions(-) commit 87068c0fcd08dd968679e68bd71a2a7355361522 Author: Matthias Clasen Date: Wed Jan 5 17:16:36 2011 -0500 Update NEWS NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 98a0dfe1da9f3b8919f0bb73b1cb99333a31975f Author: Matthias Clasen Date: Wed Jan 5 17:01:42 2011 -0500 Bump version to 2.27.90 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d824065b847f2702aa312c51734328fc414af5a Author: Christian Persch Date: Sun Nov 28 18:49:04 2010 +0100 Add g_get_locale_variants() Make _g_compute_locale_variants() public as g_get_locale_variants(). Bug #635998. docs/reference/glib/glib-sections.txt | 1 + glib/gkeyfile.c | 5 ++--- glib/glib.symbols | 1 + glib/gutils.c | 23 ++++++++++++++++++++++- glib/gutils.h | 2 ++ glib/tests/utils.c | 15 +++++++++++++++ 6 files changed, 43 insertions(+), 4 deletions(-) commit be8899bfe66d460b3eda33ff7512778788c07974 Author: Christian Persch Date: Mon Mar 1 16:32:09 2010 +0100 Make _g_compute_locale_variants return a char** directly Bug #635998. glib/gkeyfile.c | 13 ++-------- glib/gutils.c | 72 ++++++++++++++++++++++++++++++------------------------- 2 files changed, 42 insertions(+), 43 deletions(-) commit b497220e486e66433b44251a53ec3be25fa9acdb Author: Pavel Holejsovsky Date: Wed Jan 5 20:30:10 2011 +0100 Fix GI annotation for g_desktop_app_info_launch_uris_as_manager gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8d74c96b76b459a63492bfce466a304383e94d09 Author: Christian Persch Date: Sun Dec 5 15:34:26 2010 +0100 Make the memory and null settings backends public Bug #636806. docs/reference/gio/gio-sections.txt | 3 +++ gio/Makefile.am | 2 -- gio/gio.symbols | 11 +++++++++-- gio/giomodule.c | 3 ++- gio/gmemorysettingsbackend.c | 9 +++++++-- gio/gmemorysettingsbackend.h | 30 ------------------------------ gio/gnullsettingsbackend.c | 12 +++++++----- gio/gnullsettingsbackend.h | 30 ------------------------------ gio/gsettingsbackend.c | 5 +++-- gio/gsettingsbackend.h | 6 ++++++ gio/gsettingsbackendinternal.h | 8 ++++++-- 11 files changed, 43 insertions(+), 76 deletions(-) commit 0b59cf65669fae077a7e607d0c61567be5f5a30a Author: Colin Walters Date: Wed Jan 5 13:49:20 2011 -0500 g_desktop_app_info_launch_uris_as_manager: Fix parameter naming This makes introspection happier. gio/gdesktopappinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9be6da9448a1a59eae11d588729bf4316fbadada Author: Colin Walters Date: Wed Jan 5 13:00:50 2011 -0500 Add missing indirection from previous commit This follows the rest of GLib style, and fixes g-i scanning the headers. gio/gdesktopappinfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a36cb498d974b11c00829adfdaa9638fbd9b66eb Author: Nicolas Dufresne Date: Wed Dec 22 16:52:40 2010 -0500 [GDummyTLS] Add missing properties and namespace Add missing properties in the GDummyTlsConnection class. Also add namespaces to property enumerations to avoid conflicts between classes. Reviewed-by: Dan Winship gio/gdummytlsbackend.c | 62 ++++++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 28 deletions(-) commit 4e33967a002fd14d7106ef2ff88122344f2e4983 Author: Stef Walter Date: Fri Dec 24 10:50:14 2010 -0600 Change GTlsClientConnection::accepted-cas to contain DER DNs This property is now a GList of GByteArray values. Each GByteArray contains the raw DER DN of the certificate authority. This is far more useful for looking up a certificate (with the relevant issuer) than a string encoded DN. https://bugzilla.gnome.org/show_bug.cgi?id=637262 gio/gtlsclientconnection.c | 28 ++++++++++++++++++---------- gio/gtlsclientconnection.h | 2 +- 2 files changed, 19 insertions(+), 11 deletions(-) commit e6546debd61d32b41b37c20b62d4e47cd3e53e25 Author: Colin Walters Date: Mon Dec 20 14:48:53 2010 -0500 gdesktopappinfo: Add g_desktop_app_info_launch_uris_as_manager() A new GDesktopAppInfo specific function which provides more control over launched processes. Intended basically only for use in GNOME Shell, where we want: *) To directly know the GPid for each launched program, without having to listen to a DBus signal emitted in our own process *) Possibly control over the process environment; for example, we may want to call setsid() or redirect file descriptors. And in the future: *) To avoid recursively calling ourself via DBus, when a later patch causes g_app_info_launch() to indirect via the shell. https://bugzilla.gnome.org/show_bug.cgi?id=606960 gio/gdesktopappinfo.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++--- gio/gdesktopappinfo.h | 24 +++++++++++++ 2 files changed, 108 insertions(+), 5 deletions(-) commit bb6c44b9d3fd94835044ffda38ca2f211deb5b7b Author: Colin Walters Date: Mon Dec 20 13:12:28 2010 -0500 gdesktopappinfo: Send out a session bus signal when launching .desktop file This signal contains the full path of the .desktop file, along with the process id, which allows multiple interested components (like GNOME Shell) to better know the state of the system (which processes correspond to which .desktop files). https://bugzilla.gnome.org/show_bug.cgi?id=606960 gio/gdesktopappinfo.c | 87 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 78 insertions(+), 9 deletions(-) commit 9de42602c47262d49e4419f8bf7987dc2b488a98 Author: Chun-wei Fan Date: Wed Jan 5 22:57:48 2011 +0800 Bug 637852 - Updates to glib.vsprops Due to changes in the GIO APIs/headers, the glib.vsprops is updated to reflect that in the "install" phase, namely: -removal of the gperiodic.h header -addition of GPollable I/O Stream, GTCP Connection and GTLS headers build/win32/vs9/glib.vsprops | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 9686d82daf9c2082fa5d3055ac5b777490a95dc0 Author: Matthias Clasen Date: Tue Jan 4 09:38:14 2011 -0500 Fix build on old kernels Cope with BTRFS_SUPER_MAGIC not being defined. glib/gfileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e5f11875b65712195e4d0c8d160cdc9f9bbd99f Author: Thomas Kristensen Date: Mon Jan 3 15:20:12 2011 +0200 revents may have been cleared by GMain before dispatch(). See bug #587898. gio/gsocket.c | 4 ++++ 1 file changed, 4 insertions(+) commit b583f802e39e2415c626ad19d54adc1bc08151d0 Author: Kjartan Maraas Date: Sun Jan 2 18:54:17 2011 +0100 Updated Norwegian bokmål translation from Torstein Adolf Winterseth po/nb.po | 216 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 104 insertions(+), 112 deletions(-) commit 4144c04c475c58df1da8ff062de1d50865c10169 Author: Daniel Nylander Date: Fri Dec 31 15:23:27 2010 +0100 Updated Swedish translation po/sv.po | 1405 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 785 insertions(+), 620 deletions(-) commit 929e8db9f436f0644a300c7253c9452145cbb7db Author: Pavel Holejsovsky Date: Wed Dec 29 16:21:22 2010 +0100 Add GI annotation: skip g_cancellable_source_new(). It is not bindable, because GSource is not boxed and thus cannot be returned as caller-owned. gio/gcancellable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 53364788e9f52dd3cf9781d08004ed5f0db0941f Author: Pavel Holejsovsky Date: Wed Dec 29 15:26:21 2010 +0100 Add GI annotations to Gio DNS resolution classes gio/gproxyresolver.c | 18 ++++++++++-------- gio/gresolver.c | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 20 deletions(-) commit add8cf9c09255e497545c67ca81e8f8bf28f3f85 Author: Pavel Holejsovsky Date: Wed Dec 29 16:01:12 2010 +0100 Add GI annotations to Gio highlevel network functionality gio/gsocketclient.c | 32 ++++++++++++++++---------------- gio/gsocketlistener.c | 28 ++++++++++++++-------------- gio/gunixconnection.c | 4 ++-- 3 files changed, 32 insertions(+), 32 deletions(-) commit 975b0d4487809270100efce56270314d816e3073 Author: Pavel Holejsovsky Date: Wed Dec 29 13:51:44 2010 +0100 Add GI annotations to Gio lowlevel network support classes gio/ginetaddress.c | 2 +- gio/ginetsocketaddress.c | 2 +- gio/gproxy.c | 11 +++++----- gio/gproxyaddress.c | 6 ++++-- gio/gsocket.c | 44 ++++++++++++++++++++-------------------- gio/gsocketaddressenumerator.c | 9 ++++---- gio/gsocketcontrolmessage.c | 2 +- gio/gunixfdlist.c | 14 ++++++++----- gio/gunixfdmessage.c | 6 ++++-- gio/gunixsocketaddress.c | 4 ++-- 10 files changed, 55 insertions(+), 45 deletions(-) commit 571104bcc384c30054b507cab8e9d9a5f1166c45 Author: Pavel Holejsovsky Date: Tue Dec 28 16:53:48 2010 +0100 Add GI annotations to GPollable{Input|Output}Stream gio/gpollableinputstream.c | 13 +++++++------ gio/gpollableoutputstream.c | 12 +++++++----- 2 files changed, 14 insertions(+), 11 deletions(-) commit 79fd5ff80dcf086749e942ea3be9e4fa88317b09 Author: Pavel Holejsovsky Date: Tue Dec 28 15:46:01 2010 +0100 Add missing GI annotation to g_content_type_guess_for_tree gio/gcontenttype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 422a76b3cd02f6075736da8b4203d83ff52ba096 Author: Pavel Holejsovsky Date: Tue Dec 28 14:28:52 2010 +0100 Fix typo in GI annotation gobject/gtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 500061f67567477c70b7950a60b0d5620a74131a Author: Emmanuele Bassi Date: Tue Oct 12 16:05:26 2010 +0100 test: Add a node to the report XML Use `git describe` to fill out the node, if we're using a git checkout; otherwise, for tests ran from a released tarball, use the version. https://bugzilla.gnome.org/show_bug.cgi?id=631980 Makefile.decl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 52c831099e5fed55482c3d8cf43b457e37843bd6 Author: Emmanuele Bassi Date: Tue Oct 12 16:03:56 2010 +0100 gtester-report: Add an optional 'revision' node In order to distinguish reports generated from a specific revision of a projects it would be good if gtester-report handled a node in the XML. The payload is free-form, just like for the other nodes under . https://bugzilla.gnome.org/show_bug.cgi?id=631980 glib/gtester-report | 5 +++++ 1 file changed, 5 insertions(+) commit 408a9fcbcc175435bdf62354102e919dc4e4b4e7 Author: Cosimo Cecchi Date: Tue Dec 28 12:24:39 2010 +0100 gaction: update property flags to match needs of GSimpleAction Commit 068d53358bd366c26cff604a3de53b3cf734b08f uncovered this mismatch between properties on the interface and those on the implementation. Update them so they match. gio/gaction.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f248ab1b60a64df88a1578db81a3e263199d584c Author: Cosimo Cecchi Date: Tue Dec 28 12:17:10 2010 +0100 tests: unbreak desktop-app-info test for jhbuild If we have a jhbuilt version of gedit installed, this will fail, as it will succeed in deleting its desktop file. gio/tests/desktop-app-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 562a83432849280651ada9ac59e53358878cb2df Author: Pavel Holejsovsky Date: Tue Dec 28 11:59:58 2010 +0100 Fix typo in function annotation. gobject/gtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b27ecf79e89db9ba26aa3dedc1a3ae1e6255cf40 Author: Matthias Clasen Date: Tue Dec 28 00:19:45 2010 -0500 Document that g_variant_builder_add_value consumes a floating ref Patch by Mikkel Kamstrup Erlandsen, bug https://bugzilla.gnome.org/show_bug.cgi?id=634569 glib/gvariant.c | 3 +++ 1 file changed, 3 insertions(+) commit 316be2748fce21c922291990e1d9a2479f13a464 Author: Matthias Clasen Date: Tue Dec 28 00:12:19 2010 -0500 Adapt testglib.c to GRelation deprecation Patch by Chun-wei Fan, bug https://bugzilla.gnome.org/show_bug.cgi?id=637858 tests/testglib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 702a96c28146f683c58281133056bf70d7b0313e Author: Matthias Clasen Date: Tue Dec 28 00:08:56 2010 -0500 Fix a possible crash in g_io_channel_read_chars Patch by Rui Matos, https://bugzilla.gnome.org/show_bug.cgi?id=637759 glib/giochannel.c | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) commit bf1027f8269dd365097dd84c0c6d5abd7a61599e Author: Matthias Clasen Date: Mon Dec 27 23:49:12 2010 -0500 Move ifaceproperties test to gobject/tests/ gobject/tests/Makefile.am | 14 +- gobject/tests/ifaceproperties.c | 648 +++++++++++++++++++++++++++++++++++++++ gobject/tests/testcommon.h | 100 ++++++ tests/gobject/Makefile.am | 1 - tests/gobject/ifaceproperties.c | 648 --------------------------------------- 5 files changed, 751 insertions(+), 660 deletions(-) commit 068d53358bd366c26cff604a3de53b3cf734b08f Author: Matthias Clasen Date: Mon Dec 27 23:41:10 2010 -0500 Make object_interface_check_properties work As pointed out in bug 637738, it does not currently work, since g_type_class_peek always returns NULL. gobject/gobject.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2a5e0cf9e0d67ea35b2f5fdf8bb2297354bcb7e6 Author: Matthias Clasen Date: Mon Dec 27 23:37:21 2010 -0500 Convert ifaceproperties.c to test framework Also add a test that checks warnings for failure to implement interface properties. See https://bugzilla.gnome.org/show_bug.cgi?id=637738 tests/gobject/ifaceproperties.c | 379 +++++++++++++++++++++++++++------------ 1 file changed, 260 insertions(+), 119 deletions(-) commit 58e36daf29aa1cf042a1141b9bbb91b4e794bfc7 Author: Pavel Holejsovsky Date: Mon Dec 27 22:07:08 2010 +0100 Add GI annotations to GObject gobject/gobject.c | 100 ++++++++++++++++++++++++++++------------------------- 1 file changed, 52 insertions(+), 48 deletions(-) commit 282366c32626325ebb9257e500d3d2783e5d3d12 Author: Pavel Holejsovsky Date: Wed Dec 22 22:09:21 2010 +0100 Add GI annotations to GParamSpec gobject/gparam.c | 39 +++++++++++++++++++++------------------ gobject/gparamspecs.c | 46 +++++++++++++++++++++++----------------------- 2 files changed, 44 insertions(+), 41 deletions(-) commit 3955bbfde0080bd15fff07906d011b93a2be2665 Author: Pavel Holejsovsky Date: Mon Dec 27 20:56:06 2010 +0100 Add GI annotations to GType gobject/gtype.c | 110 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 63 insertions(+), 47 deletions(-) commit ed5790913e8de1a787f5cd6286542478f21c1afa Author: Pavel Holejsovsky Date: Mon Dec 27 16:47:26 2010 +0100 Add GI annotations to GMemory{Input|Output}Stream gio/gmemoryinputstream.c | 8 ++++---- gio/gmemoryoutputstream.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) commit 53fee54b4f70d209a93f77effa2e9d2b1c8465e8 Author: Pavel Holejsovsky Date: Mon Dec 27 16:29:20 2010 +0100 Add GI annotations to GConverter gio/gconverter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c8fd3e31caae45988a16442bd39ac4038cc4c510 Author: Pavel Holejsovsky Date: Mon Dec 27 16:24:21 2010 +0100 Add GI annotations to GSeekable gio/gseekable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a8d012d296ab6eba4e26c59cfe06d3f8d582e70 Author: Pavel Holejsovsky Date: Mon Dec 27 16:08:46 2010 +0100 Add GI annotations to GIcon and related classes and interfaces gio/gemblem.c | 6 +++--- gio/gemblemedicon.c | 4 ++-- gio/gicon.c | 4 ++-- gio/gloadableicon.c | 12 +++++++----- gio/gthemedicon.c | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) commit 7a1fbcd959ab22d356dbbaa807169089636cac99 Author: Pavel Holejsovsky Date: Mon Dec 27 15:48:31 2010 +0100 Add GI annotations to GFileEnumerator gio/gfileenumerator.c | 16 ++++++++-------- gio/gfileenumerator.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) commit 1f84c5b72f7e5bd096b0f9458ccc9eed7f64ace5 Author: Pavel Holejsovsky Date: Mon Dec 27 15:40:07 2010 +0100 Add GI annotations to GAppInfo and GDesktopAppInfo gio/gappinfo.c | 4 ++-- gio/gappinfo.h | 2 +- gio/gdesktopappinfo.c | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) commit e2b185f97aeba30c8c0f051da2f988b7e45c6a93 Author: Aron Xu Date: Sat Dec 25 16:50:40 2010 +0000 Update Simplified Chinese translation. po/zh_CN.po | 251 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 126 insertions(+), 125 deletions(-) commit ec6a9e71dbcd5a7a413247738eb8e40f020622ae Author: Jorge Gonzalez Date: Thu Dec 23 19:57:19 2010 +0100 Updated Spanish translation po/es.po | 355 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 175 insertions(+), 180 deletions(-) commit bb1d3fe1d3fbc022f541cbadb2caa969ff5efeba Author: Gheyret T.Kenji Date: Thu Dec 23 18:51:06 2010 +0100 Added UG translation po/ug.po | 547 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 280 insertions(+), 267 deletions(-) commit efd2bf9de4dbb31974fedb5ac4a5f033c7bd092a Author: Yaron Shahrabani Date: Thu Dec 23 17:20:21 2010 +0200 Updated Hebrew translation. po/he.po | 240 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 120 insertions(+), 120 deletions(-) commit 37ef8cbba5f8fae5c3f56a16925f68346944548d Author: Brian Cameron Date: Wed Dec 22 01:37:21 2010 -0600 Fix for bug #637720. void functions should not return a value. gio/gsimpleactiongroup.c | 4 ++-- gio/gtlsconnection.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 86b250019afaa572b7badee0f477401251d89ee1 Author: Pavel Holejsovsky Date: Tue Dec 21 18:19:16 2010 +0100 Add GI annotations to GBufferedInputStream gio/gbufferedinputstream.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 5ea4fa75bd16a255786a37502cd09489055cc22d Author: Pavel Holejsovsky Date: Tue Dec 21 18:00:48 2010 +0100 Add GI annotations to GData{Input|Output}Stream gio/gdatainputstream.c | 96 +++++++++++++++++++++++++---------------------- gio/gdataoutputstream.c | 16 ++++---- 2 files changed, 59 insertions(+), 53 deletions(-) commit e78c27256a73dcb0651340b9b3481a3fb8df303c Author: Pavel Holejsovsky Date: Tue Dec 21 17:35:11 2010 +0100 Add GI annotations to GSimpleAsyncResult gio/gasyncresult.h | 4 ++-- gio/gsimpleasyncresult.c | 40 ++++++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 22 deletions(-) commit 0165efd6034d1b065be755a01e829028f1329b2c Author: Nguyễn Thái Ngọc Duy Date: Tue Dec 21 19:51:54 2010 +0700 Updated Vietnamese translation po/vi.po | 445 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 228 insertions(+), 217 deletions(-) commit 56de8a1ce059adaa5a050d9dc75646c12340f838 Author: Nguyễn Thái Ngọc Duy Date: Mon Dec 20 17:39:39 2010 +0700 po/vi.po: import from Damned Lies po/vi.po | 2400 +++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 1658 insertions(+), 742 deletions(-) commit 12cf4af5bbdfaf5abde1e3eaaba6df85edc7419b Author: Nguyễn Thái Ngọc Duy Date: Tue Dec 21 19:50:33 2010 +0700 gio: typo fix gio/gsocks5proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99fe4b1da7560e1df2d9352ddbd845a5d9a62429 Author: Ryan Lortie Date: Sat Dec 18 18:52:32 2010 -0500 Bug 637544 - Skip fsync() on btrfs For g_file_set_contents() we fsync() before renaming the file over the original in order to ensure that we don't end up with an invalid file. btrfs provides this guarantee for us without the fsync() so skip it there. glib/gfileutils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit dce0c1c56388033b37a25f4d065383655ae8d9c9 Author: Matthias Clasen Date: Mon Dec 20 16:47:10 2010 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8f5904ccbcd45d30a7ed6da4f0b8b8f0c221bb99 Author: Matthias Clasen Date: Mon Dec 20 14:03:45 2010 -0500 Update NEWS NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 30587a3a602fb0de2540ea220c1484763a18ff47 Author: Xavier Claessens Date: Mon Dec 20 18:52:44 2010 +0100 Add io-stream in gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 8d272eb662180fe60cfa566b669797a0b57cbf0d Author: Xavier Claessens Date: Mon Dec 20 18:44:49 2010 +0100 Add g_sequence_lookup{_iter} into symbols glib/glib.symbols | 2 ++ 1 file changed, 2 insertions(+) commit 6a10591573a56c5dfe1ac5b8315447f63d29dd39 Author: Cosimo Cecchi Date: Mon Dec 20 17:44:51 2010 +0100 appinfo: avoid overriding the system defaults when adding support We want to be compatible with the following situation: - there's no explicit default set in mimeapps.list - we add support for a content type to a specific application, and that list is empty - the default should be picked from the system list, not overridden by the user-added application. So we make the default explicit in this case, by adding it to the relevant section in mimeapps.list. https://bugzilla.gnome.org/show_bug.cgi?id=637675 gio/gdesktopappinfo.c | 47 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) commit e666a2ed696a9545a23371b53c4a07471b635d5c Author: Xavier Claessens Date: Fri Dec 10 10:17:44 2010 +0100 Add note in g_sequence_search() doc about g_sequence_lookup() glib/gsequence.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 50f96ae79b329154e55ac63b1ab8b0ff650bf871 Author: Xavier Claessens Date: Fri Dec 10 10:14:06 2010 +0100 Add unit test for g_sequence_lookup() and g_sequence_lookup_iter(). glib/tests/sequence.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) commit 4e309043311487d66157383991373107eac1f7b9 Author: Xavier Claessens Date: Fri Apr 30 13:55:53 2010 +0200 New API: g_sequence_lookup() and g_sequence_lookup_iter() Fixes bug #617254 docs/reference/glib/glib-sections.txt | 2 + glib/gsequence.c | 132 ++++++++++++++++++++++++++++++++- glib/gsequence.h | 8 ++ 3 files changed, 141 insertions(+), 1 deletion(-) commit 1f9e34cab7b474a2b98c52d111a61f596ae33b58 Author: Christian Dywan Date: Mon Dec 20 17:15:15 2010 +0100 Allow null object in g_simple_async_report_gerror_in_idle Follow-up on bug 636673. gio/gsimpleasyncresult.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 678bcad92c2a6350cd5dbf4ea3a567d99cf4c29d Author: Cosimo Cecchi Date: Wed Dec 15 17:56:22 2010 +0100 appinfo: add g_app_info_set_as_last_used_for_type() This commit also changes (maintaining compatibility) the way user-specified default applications are stored (as in, those for which g_app_info_set_as_default_for_type() has been called. We now store the default application for a content type in a new group in the mimeapps.list keyfile, and "Added Associations" tracks only the applications that have been added by the user, following a most-recently-used first order. This is useful in GtkAppChooser-like widgets to pre-select the last used application when constructing a widget. https://bugzilla.gnome.org/show_bug.cgi?id=636311 docs/reference/gio/gio-sections.txt | 1 + gio/gappinfo.c | 27 ++++ gio/gappinfo.h | 7 + gio/gdesktopappinfo.c | 291 +++++++++++++++++++++++++++-------- gio/gio.symbols | 1 + gio/tests/desktop-app-info.c | 51 ++++++ 6 files changed, 314 insertions(+), 64 deletions(-) commit 01ba7bd8e8984609d411b70a8ac9db4e8b64fb06 Author: Cosimo Cecchi Date: Thu Dec 9 18:31:19 2010 +0100 emblemedicon: make GEmblemedIcon subclassable Hiding the object/class structs in the source file makes this class not subclassable. Move them to the public header, and add a property for the icon, so that subclasses can just use g_object_new (DERIVED_TYPE, "gicon", icon, NULL); to create an emblemed icon. https://bugzilla.gnome.org/show_bug.cgi?id=636892 gio/gemblemedicon.c | 119 +++++++++++++++++++++++++++++++++++++-------------- gio/gemblemedicon.h | 14 ++++++ 2 files changed, 101 insertions(+), 32 deletions(-) commit bc4e1fc622d0bc61f8978a6c3df98d6c0ab12226 Author: Matthias Clasen Date: Mon Dec 20 09:16:05 2010 -0500 Add a delay-apply property to GSettings Bug 637147, patch by Matt Barnes. gio/gsettings.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 21c764cd9fca4d0568258d84cbb82b858d06292a Author: Mattias Põldaru Date: Mon Dec 20 13:55:19 2010 +0200 [l10n] Updated Estonian translation po/et.po | 565 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 373 insertions(+), 192 deletions(-) commit fef417575c1cac47f9d9a2b386ad386ec4272d45 Author: Nguyễn Thái Ngọc Duy Date: Mon Dec 20 17:26:00 2010 +0700 Updated Vietnamese translation po/vi.po | 621 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 319 insertions(+), 302 deletions(-) commit 3264d8d1598916a59775ed07969ff0d20b8790e0 Author: Pavel Holejsovsky Date: Sun Dec 19 22:15:42 2010 +0100 Add GI annotations to GClosure and friends. gobject/gclosure.c | 29 +++++++++++++++-------------- gobject/gobject.c | 2 +- 2 files changed, 16 insertions(+), 15 deletions(-) commit ea577d60d451bc7102695046fb1c3f80fb3e1769 Author: Pavel Holejsovsky Date: Sun Dec 19 10:39:36 2010 +0100 Add GI annotations to GValue and GValueArray. gobject/gboxed.c | 4 ++-- gobject/gobject.c | 6 +++--- gobject/gparam.c | 4 ++-- gobject/gvalue.c | 13 ++++++------- gobject/gvaluearray.c | 29 +++++++++++++++-------------- gobject/gvaluetypes.c | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) commit ddc126cf2cbbdbc3a98e7bd397f19fb0ac8c27c4 Author: Christian Dywan Date: Fri Dec 10 15:07:04 2010 +0100 g_simple_async_report_error_in_idle with no object Document and allow passing of NULL for the object consistently to _take_error and _report_error functions. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636673 gio/gsimpleasyncresult.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit f0354ff0590f0350ebdb1ee8eb84e7b6cdd1e850 Author: Javier Jardón Date: Fri Dec 17 16:12:16 2010 +0000 grand: Fix URLs for info on the Mersenne Twister Reported by Allin Cottrell here: http://mail.gnome.org/archives/gtk-devel-list/2010-December/msg00134.html glib/grand.c | 4 ++-- glib/grand.h | 2 +- glib/tests/rand.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) commit 89b558077f97c630c5b26b3527a6c7d0515f1f2c Author: Pavel Holejsovsky Date: Fri Dec 17 16:24:33 2010 +0100 [gi] Add annotations for GFile, G[File]{Input|Output|IO}Stream. Also make parameter names in virtual function declarations consistent to silent g-ir-scanner. gio/gfile.c | 183 ++++++++++++++++++++++++----------------------- gio/gfileinputstream.c | 8 +-- gio/gfileinputstream.h | 2 +- gio/gfileiostream.c | 8 +-- gio/gfileiostream.h | 2 +- gio/gfileoutputstream.h | 2 +- gio/ginputstream.c | 28 ++++---- gio/giostream.c | 14 ++-- gio/goutputstream.c | 36 +++++----- gio/goutputstream.h | 2 +- 10 files changed, 143 insertions(+), 142 deletions(-) commit 101dcecb1f1c53041c228cd4f5c4580743a7362a Author: Matthias Clasen Date: Fri Dec 17 08:35:54 2010 -0500 Update symbols list for recent changes gio/gio.symbols | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) commit ac4722df1c9802b0c78bba31aa9004348eb1813d Author: Will Thompson Date: Fri Dec 17 12:34:28 2010 +0000 g_object_get_property: document that value must be initialized I couldn't tell from reading the documentation whether I had to pass in an uninitialized value, or a value initialized to the exact type, or something else. It turns out (from reading the source) that you have to pass in an initialized value, but you can use any type to which the property's actual type can be transformed. So, let's document this. gobject/gobject.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d3ce12571cf8dc9f925ffa344887c26b16bcbf1e Author: Kjartan Maraas Date: Fri Dec 17 13:03:18 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 275 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 144 insertions(+), 131 deletions(-) commit f33ccd4b41aa4d3bfde71adefef74bb22c6bffcb Author: Pavel Holejsovsky Date: Thu Dec 16 21:06:51 2010 +0100 [gi] Fix GObject.Object annotations. gio/gsettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6f215e477dd91446f64d3ae4a05e47d0138a5d0d Author: John (J5) Palmieri Date: Thu Dec 16 13:44:56 2010 -0500 [gi] add annotations for methods which take a gpointer which are really GObjects * bindings need to know how to marshal the pointer otherwise they send in the raw wrapped pointer causing crashes gio/gsettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2b6c801d10b5ee1ab11cf0612e34db74c6985fbd Author: Murray Cumming Date: Thu Dec 16 10:57:18 2010 +0100 gioenums.h: Remove a trailing comma. gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 274ef35fd44ca272d80966a9f1fd17ecce1bc46f Author: Cosimo Cecchi Date: Tue Dec 14 18:33:17 2010 +0100 tests: remove a bogus assumption gio/tests/desktop-app-info.c | 3 --- 1 file changed, 3 deletions(-) commit 683a5632c89b311111503a03290ff75ad705ac46 Author: Matthias Clasen Date: Wed Dec 15 11:56:44 2010 -0500 Remove GPeriodic for now The necessary review and integration work has not happened, and we don't want to enshrine it in this unproven state. It will be back when the world is ready for it. 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.h | 1 - gio/gperiodic.c | 765 ----------------------------------- gio/gperiodic.h | 88 ---- 7 files changed, 887 deletions(-) commit 1bbf4cb87c2a0b028de4b65377d0b21cbb49d8f2 Author: Matthias Clasen Date: Wed Dec 15 11:41:05 2010 -0500 Remove the dead --disable-visiblity configure option At the same time, document --disable-Bsymbolic. configure.ac | 8 -------- docs/reference/glib/building.sgml | 25 ++++++++++++------------- gthread/tests/1bit-mutex.c | 3 --- 3 files changed, 12 insertions(+), 24 deletions(-) commit 92c22e7ca78670e35df9150169f6837c1dc1d99b Author: Ryan Lortie Date: Wed Dec 15 11:36:14 2010 -0500 Fix some leaks in the GVDB builder gvdb-builder.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 9411d0c108d6c5b122f82666467ad9cb42eeccd1 Author: Cosimo Cecchi Date: Wed Dec 15 12:50:59 2010 +0100 docs: fix a typo gio/gemblemedicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfee021cfb24a97b99612f6314e9309f3a70f6db Author: Cosimo Cecchi Date: Wed Dec 15 12:49:22 2010 +0100 emblemedicon: add docs for _clear_emblems() docs/reference/gio/gio-sections.txt | 1 + gio/gemblemedicon.c | 8 ++++++++ gio/gio.symbols | 1 + 3 files changed, 10 insertions(+) commit f53d518a3de99eb8418a35b8f1e163026130687b Author: Cosimo Cecchi Date: Thu Dec 9 18:16:17 2010 +0100 emblemedicon: add g_emblemed_icon_clear_emblems() https://bugzilla.gnome.org/show_bug.cgi?id=637171 gio/gemblemedicon.c | 12 ++++++++++++ gio/gemblemedicon.h | 1 + 2 files changed, 13 insertions(+) commit 056a5d753d14b505c3250ccb4a5de92dbdc67a58 Author: Cosimo Cecchi Date: Tue Dec 14 17:16:31 2010 +0100 gapplication: plug a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=637237 gio/gapplicationimpl-dbus.c | 2 ++ 1 file changed, 2 insertions(+) commit 8c742aea720d491fc62eac24dbdab8986a849c2d Author: Pavel Holejsovsky Date: Wed Dec 15 11:17:00 2010 +0100 Add missing annotations to GApplication and GApplicationCommandLine. gio/gapplication.c | 8 ++++---- gio/gapplicationcommandline.c | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) commit 7ee902a3d05cc74a4edaf0197e076611401c029c Author: Dan Winship Date: Fri Dec 10 11:42:56 2010 +0100 ghostutils: Convert non-ASCII dots to '.' when converting hostnames Also add some test cases to test/hostutils for that and a few other things, and make the test program just act as an ASCII/unicode hostname converter rather than a test program if it's run with an argument. https://bugzilla.gnome.org/show_bug.cgi?id=633350 glib/ghostutils.c | 53 ++++++++++++++++++++++++++++++++--------- glib/tests/hostutils.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+), 11 deletions(-) commit 09ce9dc542b26e133bc798f9a0382b642aea4470 Author: Ted Gould Date: Mon Dec 13 13:33:15 2010 -0500 Bug 635626 – GDBus message idle can execute while flushes are pending https://bugzilla.gnome.org/show_bug.cgi?id=635626 Signed-off-by: David Zeuthen gio/gdbusprivate.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 735fcf918e70035874b50785524d25eda557d51f Author: Peng Huang Date: Mon Dec 13 13:09:38 2010 -0500 Bug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag https://bugzilla.gnome.org/show_bug.cgi?id=632544 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 3 ++- gio/tests/gdbus-connection.c | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) commit a855f7270066a9268d52e97ad301315d27a6edb7 Author: Xavier Claessens Date: Mon Dec 13 17:59:47 2010 +0100 Add GIOStreamSpliceFlags to doc docs/reference/gio/gio-sections.txt | 1 + 1 file changed, 1 insertion(+) commit e4f25c0fed49acc46de2519837b78db6c12b2df4 Author: Xavier Claessens Date: Mon Dec 13 17:42:11 2010 +0100 Add Since 2.28 in g_io_stream_splice doc gio/gioenums.h | 2 ++ gio/giostream.c | 4 ++++ 2 files changed, 6 insertions(+) commit 0a2d47b626d130b0b795f76147c68132ede73b08 Author: Xavier Claessens Date: Fri Aug 13 10:10:48 2010 +0200 Add g_io_stream_splice_async/finish() That function splice the output stream of both GIOStreams to the input stream of the other GIOStream. docs/reference/gio/gio-sections.txt | 2 + gio/gioenums.h | 19 +++ gio/giostream.c | 248 +++++++++++++++++++++++++++++++++++ gio/giostream.h | 11 ++ gio/tests/Makefile.am | 4 + gio/tests/io-stream.c | 185 ++++++++++++++++++++++++++ 6 files changed, 469 insertions(+) commit 69c6e41b54085a7febc769f3b0582abf7c650a5f Author: Matthias Clasen Date: Mon Dec 13 09:04:28 2010 -0500 Document the GIO_USE_TLS environment variable docs/reference/gio/overview.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 78c34bb34f6035e01ee41a57ab4b3f2c2f91cc4d Author: Christian Persch Date: Tue Nov 16 19:22:10 2010 +0100 Fix gsettings enum rule to work with non-srcdir builds Bug #635007. m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce50df7e0e744a5a6f3d9e41d2b2f872f6174792 Author: Christian Persch Date: Tue Nov 9 22:56:28 2010 +0100 Better error reporting for g_variant_parse() Add error codes, and use them when setting the GError. Bug #634583. gio/gsettings-tool.c | 4 ++- glib/gvariant-parser.c | 83 +++++++++++++++++++++++++++++++++++++++--------- glib/gvariant.h | 19 ++++++++++- 3 files changed, 89 insertions(+), 17 deletions(-) commit ad56426bc784ab0979264058444781246e42661f Author: Dan Winship Date: Fri Dec 10 10:01:01 2010 +0100 Add missing property to GDummyTlsCertificate gio/gdummytlsbackend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ca38bddd6e5dc18db8fd8695d88c4de5183c7fe9 Author: Benjamin Otte Date: Tue Dec 7 17:55:03 2010 +0100 gio: Add a count to the resolver test for number of enumerators This adds the nice stress-test feature of having 5 enumerators running at the same time. Yay! gio/tests/resolver.c | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) commit bd227f52195f28460bc96d719d1ff70c28966d26 Author: Benjamin Otte Date: Tue Dec 7 17:25:01 2010 +0100 gio: Make enumerating a GNetworkAddress work more than once Previously, the code only initialized the enumerator if the address hadn't had cached addresses. But creating an enumerator cached the addresses, so the second one failed to work. gio/gnetworkaddress.c | 94 ++++++++++++++++++++++++++----------------------- 1 file changed, 50 insertions(+), 44 deletions(-) commit 07fd29c3236e479a217a5ad9875075537dfb3173 Author: Benjamin Otte Date: Tue Dec 7 16:06:38 2010 +0100 tls: Make g_tls_{client|server}_connection_new() return a GIOStream The main use case for these objects is as an IO stream, so it makes sense to return them that way from the start. gio/gsocketclient.c | 12 +++++++----- gio/gtlsclientconnection.c | 4 ++-- gio/gtlsclientconnection.h | 2 +- gio/gtlsserverconnection.c | 4 ++-- gio/gtlsserverconnection.h | 2 +- gio/tests/socket-client.c | 2 +- gio/tests/socket-server.c | 4 ++-- 7 files changed, 16 insertions(+), 14 deletions(-) commit c59ba60fbe0ad4d45b2d84608bece5bb032c3aa9 Author: Benjamin Otte Date: Tue Dec 7 15:42:10 2010 +0100 tls: Clarify docs for g_tls_client_connection_set_validation_flags() And fix a typo in there. gio/gtlsclientconnection.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 85adbc99bfa079df777ca148884e52fead3bfe7b Author: Emilio Pozuelo Monfort Date: Tue Dec 7 17:45:06 2010 +0100 Fix error in GSimpleAsyncResult example gio/gsimpleasyncresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5c3e0d3d5aeed065fd09293dae6574b4a31568c Author: Dan Winship Date: Tue Dec 7 14:58:42 2010 +0100 Change the handling of the peer certificate in GTlsConnection Make the certificate and peer-certificate properties virtual, and add peer-certificate-errors as well. Change the documentation on peer-certificate to say that it's not set until after the handshake succeeds (which means notify::peer-certificate can be used to tell when a handshake has completed). docs/reference/gio/gio-sections.txt | 2 +- gio/gio.symbols | 2 +- gio/gtlsconnection.c | 162 ++++++++++++++++------------------- gio/gtlsconnection.h | 60 +++++++------ 4 files changed, 105 insertions(+), 121 deletions(-) commit b5a707ec90f75aac499c9804592ebb14257cf751 Author: Dan Winship Date: Mon Dec 6 17:21:16 2010 +0100 Clarify that g_socket_client_connect_to_uri() doesn't know about TLS gio/gsocketclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4f6efb681d7a85d9d04ffdba9a5f692e3d53e41e Author: Dan Winship Date: Mon Dec 6 13:10:09 2010 +0100 Change the semantics of GTlsConnection:require-close-notify We were combining "allow un-notified closes" and "close without notifying" into a single property, which meant that it was impossible to "be liberal in what you accept and conservative in what you send". Change require-close-notify to only be about the peer behavior, and make our connections always close-notify properly when closing (while noting that you can just close the base-io-stream directly if you want to do an unclean close). gio/gtlsconnection.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 68a3d6b27fec3bdbba27b414c0ed10396c79d3c6 Author: Dan Winship Date: Mon Dec 6 12:43:59 2010 +0100 add G_TLS_ERROR_UNAVAILABLE gio/gdummytlsbackend.c | 4 ++-- gio/gioenums.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) commit 95cba183494a78ff16924e820c344e8c3fa0e7a6 Author: Dan Winship Date: Mon Dec 6 11:04:13 2010 +0100 Remove GTlsConnection::need-certificate Trying to do this as a signal won't work well with either GTlsCertificateDB (in which case looking up a certificate in the db is a blocking/asynchronous act) or session resumption support (in which case the certificate or lack thereof is part of the session definition and so needs to be known immediately). Make the caller use g_tls_connection_set_certificate() ahead of time (or when retrying) instead. docs/reference/gio/gio-sections.txt | 1 - gio/gio.symbols | 1 - gio/gioenums.h | 2 +- gio/gtlsclientconnection.c | 3 +- gio/gtlsconnection.c | 131 +++++++++-------------------------- gio/gtlsconnection.h | 3 - 6 files changed, 35 insertions(+), 106 deletions(-) commit d6e94070ddb015e73573a620234a8929f8aaac16 Author: Dan Winship Date: Wed Dec 1 13:49:39 2010 -0500 Add GTlsConnection:use-system-certdb This can be set FALSE if you don't want to validate certificates against the system database. docs/reference/gio/gio-sections.txt | 2 + gio/gdummytlsbackend.c | 3 +- gio/gio.symbols | 2 + gio/gtlsconnection.c | 70 +++++++++++++++++++++++++++++++++++ gio/gtlsconnection.h | 4 ++ 5 files changed, 80 insertions(+), 1 deletion(-) commit 73d6bd8a45429f03706ac96e5d6e045ecee18500 Author: Dan Winship Date: Tue Nov 30 19:57:16 2010 -0500 Add g_tls_certificate_verify() Add a method to verify a certificate against a CA; this can be used for apps that need to test against non-default CAs. Also make the GTlsCertificate::issuer property virtual docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gtlscertificate.c | 92 ++++++++++++++++++----------------- gio/gtlscertificate.h | 32 +++++++----- 4 files changed, 69 insertions(+), 57 deletions(-) commit 814c0fcaafd42c622634c7b6a34c126210b17fc2 Author: Ryan Lortie Date: Tue Dec 7 01:06:33 2010 -0500 Pass name_length to walk close function For efficiency and safety. This way we don't need to scan backwards for the path separator (trusting that we will find it properly). gvdb-reader.c | 29 ++++++++++++++++++++++++++++- gvdb-reader.h | 3 ++- 2 files changed, 30 insertions(+), 2 deletions(-) commit 6b631fa106e833c265a4bdc6c021777e2a219f12 Author: Aron Xu Date: Mon Dec 6 12:44:18 2010 +0000 Complete Simplified Chinese translation. po/zh_CN.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 67ab5579ba3c9c6a66e82313a61de8fdc9731b15 Author: Aron Xu Date: Mon Dec 6 12:40:03 2010 +0000 Update Simplified Chinese translation. po/zh_CN.po | 672 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 348 insertions(+), 324 deletions(-) commit 8530a3b029b7f691284d74e6e0c7883ba4a14725 Author: Chris Kühl Date: Mon Dec 6 00:34:43 2010 +0100 Added note in g_slist_free about using *free_full to mirror GList docs glib/gslist.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 1a638926ff183ddb9afec8c364a58c191457e237 Author: Yaron Shahrabani Date: Sun Dec 5 13:19:55 2010 +0200 Updated Hebrew translation po/he.po | 258 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 136 insertions(+), 122 deletions(-) commit b52294d14ce7097c34538d4646f298461fb8d36e Author: Matthias Clasen Date: Sat Dec 4 14:12:07 2010 -0500 Try to fix the version test on builders glib/tests/utils.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 5b43de29327e1f829036ba9629835d2245f15cd3 Author: Chao-Hsiung Liao Date: Sat Dec 4 20:01:37 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1472 +++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1491 ++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 1720 insertions(+), 1243 deletions(-) commit 4b28e6a0084118c78c177da3f66c8005498b9873 Author: Matthias Clasen Date: Fri Dec 3 14:48:35 2010 -0500 Add missing Since: tag g_simple_async_result_is_valid was added in 2.20. Bug 636351 gio/gsimpleasyncresult.c | 2 ++ 1 file changed, 2 insertions(+) commit 658572978b18cd11ba9d93c02d41969e1d7438eb Author: Matthias Clasen Date: Fri Dec 3 14:45:09 2010 -0500 Reword awkward sentence in the docs Pointed out in bug 636305, the docs for g_queue_remove_all() had several grammatical errors and sounded awkward. glib/gqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99332dd27c8a62b6d72c70fe284c0477c99d2c61 Author: Matthias Clasen Date: Fri Dec 3 14:39:59 2010 -0500 Avoid shadowing dir builtin This is the same change that was already applied to the other gdb script we ship. I had forgotten there was a second one. glib/libglib-gdb.py.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d11f413345f8ae3da92f4aebcf828ed133cbafbb Author: Colin Walters Date: Fri Dec 3 14:25:51 2010 -0500 introspection: Remove spurious trailing : This isn't valid syntax. gio/gsimpleasyncresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 807101272893f27469bb5c507c7967334a5a0b8e Author: Matthias Clasen Date: Fri Dec 3 14:08:36 2010 -0500 Avoid shadowing the dir builtin Proposed by David Malcolm, https://bugzilla.gnome.org/show_bug.cgi?id=636387 gobject/libgobject-gdb.py.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 05428e3c1ac4888b841fca3aeb9c7c9b299d2280 Author: Colin Walters Date: Fri Dec 3 10:36:16 2010 -0500 glib: Document g_string_free semantics better in the FALSE case glib/gstring.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 426f90e3cf9f21c6b020cecb05116b331546fe58 Author: Christian Dywan Date: Fri Dec 3 16:33:24 2010 +0100 Resolve warnings about istream and ostream in socket test gio/tests/socket-client.c | 6 +++++- gio/tests/socket-server.c | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 8f19d06ed932b8fa8b1d58c7a5676aa5590be1e4 Author: Thomas Hindoe Paaboel Andersen Date: Tue Nov 30 02:12:16 2010 +0100 Fix typo in docs for extension point Introduced in fcd3e3422749ddbbf29809fcc90ffe8df9d5f696 docs/reference/gio/overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 889889a296bfe58fc42a778d792d7f83f816145b Author: Benjamin Otte Date: Thu Dec 2 20:10:23 2010 +0100 glib: Fix enumeration warnings from gcc 4.5 Just introduce more values for our private enum for the cases that were missing. glib/giounix.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 67740263e9a3de840e527dd45ba3d6feff512839 Author: Benjamin Otte Date: Thu Dec 2 20:09:59 2010 +0100 gobject: Cast token type to guint to avoid gcc warning The usual fix for all things GScanner... gobject/glib-genmarshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9a98a81dad104058a11a4b788a64b21b235c62d Author: Benjamin Otte Date: Thu Dec 2 20:09:08 2010 +0100 gio: Comment out a whole test ... instead of just commenting out the registration and leaving "unused function" warnings for gcc. gio/tests/gdbus-peer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit b92e2cd8f8d88a62f14c49e8255802512c156152 Author: Benjamin Otte Date: Thu Dec 2 20:08:34 2010 +0100 gio: Remove unused variables from test gio/tests/gapplication-example-actions.c | 3 --- 1 file changed, 3 deletions(-) commit 3e61cb2fcc7648254192d0f174b437336b21c89b Author: Bastien Nocera Date: Thu Dec 2 16:59:22 2010 +0000 Fix typo in API docs for GDateTime s/monty/month/ glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9fe7fd9120940a2d50ff660f1a3cf7efd08ac01b Author: Matthew Barnes Date: Tue Nov 30 18:19:12 2010 -0600 Bug 636100 - Can't read GSettings:backend property The PROP_BACKEND case was missing from the switch statement in g_settings_get_property(). gio/gsettings.c | 4 ++++ 1 file changed, 4 insertions(+) commit beec9743eba6013229befafdfe120cd7701d5214 Author: Damien Lespiau Date: Tue Nov 30 23:04:17 2010 +0000 gmain: Add Since: 2.28 tag to g_source_{add,remove}_child_source New API should have gtk-doc tags to document the version it was introduced. Signed-off-by: Javier Jardón glib/gmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit c541d234855dc7466c57ebfc3dc44b1829d9a900 Author: Jorge González Date: Tue Nov 30 23:42:08 2010 +0100 Updated Spanish translation po/es.po | 329 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 163 insertions(+), 166 deletions(-) commit fdc6c5fbc171187c6c2d7fdf94d0eea7992d11f4 Author: Fran Diéguez Date: Mon Nov 29 17:35:51 2010 +0100 Updated Galician translations po/gl.po | 159 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 86 insertions(+), 73 deletions(-) commit c897dea8c164bc081623c13ac4474bcbd66b908d Author: Matthias Clasen Date: Mon Nov 29 10:36:43 2010 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff8817b631ab11f00c98ed372746b464a440e7c0 Author: Matthias Clasen Date: Mon Nov 29 09:30:07 2010 -0500 Update POTFILES.in po/POTFILES.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 50a8b039a4323faf0fac68bece1be151f7fd2986 Author: Dan Winship Date: Mon Nov 29 09:36:07 2010 -0500 tiny fix to g_io_modules_scan_all_in_directory() docs gio/giomodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 78103b2f1feb5ccbdc97e47d857133826f22820d Author: Xan Lopez Date: Mon Nov 29 15:29:12 2010 +0100 gsettingsschema: plug leak gio/gsettingsschema.c | 2 ++ 1 file changed, 2 insertions(+) commit d7a83d2f590a3568c12a50f31ed5fdc9fc691a47 Author: Matthias Clasen Date: Mon Nov 29 08:10:11 2010 -0500 Add another bug NEWS | 1 + 1 file changed, 1 insertion(+) commit 98bfc8afdaabffe4b63215727a580a139b7f07db Author: Aleksander Morgado Date: Thu Nov 18 18:00:57 2010 +0100 Fixes GB#635187: Always unbox GVariant parameter received via dbus for an action gio/gapplicationimpl-dbus.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fcd3e3422749ddbbf29809fcc90ffe8df9d5f696 Author: Matthias Clasen Date: Mon Nov 29 01:39:06 2010 -0500 Add new extension point to the list docs/reference/gio/overview.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit db83a96648944bd71ff9c1bd36c7ae898fc06664 Author: Matthias Clasen Date: Mon Nov 29 01:20:58 2010 -0500 Documentation tweak docs/reference/gobject/gobject-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 02978fff17bcff0bf0135859114d6a06463f4e8d Author: Matthias Clasen Date: Mon Nov 29 01:16:02 2010 -0500 Update NEWS NEWS | 39 +++++++++++++++++++++++++++++++++++++++ glib/gutils.c | 8 +++++--- 2 files changed, 44 insertions(+), 3 deletions(-) commit eed36d38d155898a13961ef9fbb98d09049f331f Author: Matthias Clasen Date: Sun Nov 28 23:55:43 2010 -0500 Various doc tweaks docs/reference/gio/gio-docs.xml | 8 +-- docs/reference/gio/gio-sections.txt | 3 +- gio/gaction.c | 2 +- gio/gactiongroup.c | 2 +- gio/gapplicationcommandline.c | 3 +- gio/gdesktopappinfo.c | 1 + gio/gperiodic.c | 91 +++++++++++++++++++++-------------- gio/gpermission.c | 2 +- gio/gpollableinputstream.c | 9 ++-- gio/gpollableinputstream.h | 2 +- gio/gpollableoutputstream.c | 9 ++-- gio/gsettings.c | 2 +- gio/gsettingsbackend.c | 2 +- gio/gsimpleaction.c | 2 +- gio/gsimpleactiongroup.c | 2 +- gio/gsimplepermission.c | 2 +- gio/gtcpconnection.c | 2 +- gio/gtcpwrapperconnection.c | 3 +- gio/gtlsbackend.c | 2 +- gio/gtlscertificate.c | 2 +- gio/gtlsconnection.c | 7 +++ 21 files changed, 91 insertions(+), 67 deletions(-) commit 1f044a503a9b1b021da970ab1bdfe203547798c1 Author: Matthias Clasen Date: Sun Nov 28 22:11:57 2010 -0500 Remove nonexisting type docs/reference/gio/gio.types | 1 - 1 file changed, 1 deletion(-) commit 4817dae0bb2dfe9d0b575356ddf43b2f3ecd41f5 Author: Matt Rajca Date: Sat Nov 13 10:01:34 2010 -0600 Removed mention of inexistent GNOME 2.0 porting guide docs/reference/glib/changes.sgml | 8 -------- 1 file changed, 8 deletions(-) commit 577ddbf30baf53d8e74cd81f0a2babf590e91c26 Author: Matt Rajca Date: Sat Nov 13 13:01:11 2010 -0600 Fixed typo in public string in gsocks (630559) gio/gsocks5proxy.c | 2 +- po/ar.po | 2 +- po/be.po | 2 +- po/bg.po | 2 +- po/ca@valencia.po | 2 +- po/cs.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/el.po | 2 +- po/en_GB.po | 2 +- po/es.po | 2 +- po/et.po | 2 +- po/eu.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- po/gl.po | 2 +- po/he.po | 4 ++-- po/hu.po | 2 +- po/hy.po | 2 +- po/id.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/lt.po | 2 +- po/nb.po | 2 +- po/nl.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/pt.po | 2 +- po/pt_BR.po | 2 +- po/ro.po | 2 +- po/sl.po | 2 +- po/sr.po | 2 +- po/sr@latin.po | 2 +- po/sv.po | 2 +- po/zh_CN.po | 2 +- po/zh_HK.po | 2 +- po/zh_TW.po | 2 +- 37 files changed, 38 insertions(+), 38 deletions(-) commit dec8323b4b301bb5aff006706b5739bb9c930fd8 Author: Jonas Holmberg Date: Wed Sep 22 23:02:05 2010 +0200 gobject: added property test Added test for setting properties with g_object_new. gobject/tests/properties.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 349f54756168b76913828136bc646c518c4f475f Author: Jonas Holmberg Date: Fri Sep 24 01:20:50 2010 +0200 gobject: initialize memory in g_object_new_valist memset parameters array in g_object_new_valist to zeroes when expanding the array to avoid acces to uninitialized memory. gobject/gobject.c | 1 + 1 file changed, 1 insertion(+) commit 51894b7dd06a3b50654f9ce1fadff418d917aca1 Author: Aleksander Morgado Date: Thu Nov 25 18:38:33 2010 +0100 Fixes GB#530786: GFileMonitor 'changed' signal underdocumented gio/gfilemonitor.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit b4632e1c98e361cf4700f3e5dcc229a09a6237e4 Author: Christian Persch Date: Fri Nov 26 22:46:51 2010 +0100 Fix the wrong-category schema test It's supposed to test a with a non-existent category, so make it actually check this! Bug #635882. gio/tests/gschema-compile.c | 2 +- gio/tests/schema-tests/wrong-category.gschema.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit bfbd7169a258ac9561f2d01755651046e13f462b Author: Matthias Clasen Date: Sun Nov 28 17:14:49 2010 -0500 GFileMonitor: Don't accept negative values for rate-limit Patch by Alksander Morgado, https://bugzilla.gnome.org/show_bug.cgi?id=635768 gio/gfilemonitor.c | 16 ++++++++-------- gio/gfilemonitor.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) commit 57143e311d600d3d7bd1f3c901d257918fcdb381 Author: Christian Persch Date: Fri Nov 26 21:05:20 2010 +0100 Inherit gettext-domain from When the doesn't have a 'gettext-domain' attribute, but the does, use that one. Bug #635640. gio/glib-compile-schemas.c | 4 +++- gio/tests/Makefile.am | 1 + gio/tests/gschema-compile.c | 4 +++- gio/tests/schema-tests/inherit-gettext-domain.gschema.xml | 8 ++++++++ 4 files changed, 15 insertions(+), 2 deletions(-) commit 69129e806532796e44522775656c7800c389e5f8 Author: Dan Winship Date: Sat Nov 27 16:56:44 2010 -0500 Make gio/tests/g-icon pass again It got broken in two different ways by the g_str_hash() change (354d655b) gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 17979707207ca004cd78991e1c04df60cb3b1cb6 Author: Christian Persch Date: Mon Nov 15 19:55:57 2010 +0100 Typo fix gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d19e1a2c3c3da29e6f6c653dda9e4538e55c1838 Author: Christian Persch Date: Sat Nov 27 12:45:45 2010 +0100 Use same variable names in .h and .c glib/gvariant.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 59d62726de8efdd478ca1c940134df1112a006f2 Author: Dan Winship Date: Mon Dec 21 20:50:32 2009 +0100 Add initial TLS (SSL) support to gio This adds an extension point for TLS connections to gio, with a gnutls-based implementation in glib-networking. Full TLS support is still a work in progress; the current API is missing some features, and parts of it may still be changed before 2.28. https://bugzilla.gnome.org/show_bug.cgi?id=588189 docs/reference/gio/gio-docs.xml | 9 + docs/reference/gio/gio-sections.txt | 129 ++++++- docs/reference/gio/gio.types | 5 + gio/Makefile.am | 13 +- gio/gdummytlsbackend.c | 274 +++++++++++++ gio/gdummytlsbackend.h | 46 +++ gio/gio-marshal.list | 2 + gio/gio.h | 5 + gio/gio.symbols | 77 +++- gio/gioenums.h | 100 +++++ gio/giomodule.c | 6 + gio/giotypes.h | 8 + gio/gsocketclient.c | 310 ++++++++++++--- gio/gsocketclient.h | 7 + gio/gtlsbackend.c | 201 ++++++++++ gio/gtlsbackend.h | 92 +++++ gio/gtlscertificate.c | 486 +++++++++++++++++++++++ gio/gtlscertificate.h | 75 ++++ gio/gtlsclientconnection.c | 333 ++++++++++++++++ gio/gtlsclientconnection.h | 72 ++++ gio/gtlsconnection.c | 720 +++++++++++++++++++++++++++++++++++ gio/gtlsconnection.h | 137 +++++++ gio/gtlsserverconnection.c | 96 +++++ gio/gtlsserverconnection.h | 61 +++ gio/tests/socket-client.c | 195 ++++++---- gio/tests/socket-common.c | 61 +++ gio/tests/socket-server.c | 164 ++++---- 27 files changed, 3473 insertions(+), 211 deletions(-) commit a1690339c731cf037d3ed97eda864159f2ba9308 Author: Dan Winship Date: Mon Nov 1 20:22:24 2010 -0400 make GProxyConnection public, as GTcpWrapperConnection GProxyConnection is a class that was added for proxy support; g_socket_client_connect() returns a GSocketConnection, but in some cases (eg, encrypted SOCKS), GProxy might return a GIOStream that is not a GSocketConnection. In that case, GSocketClient would wrap the stream up in a GProxyConnection, which is a subclass of GSocketConnection but uses the input/output streams of the wrapped connection. GTlsConnection is not a GSocketConnection, so it has the same problem, so it will need the same treatment. Rename the class to GTcpWrapperStream, and make it public, so people can extract the base stream from it when necessary. (This is not ideal and GSocketClient will need to be revisited as an API at some point...) https://bugzilla.gnome.org/show_bug.cgi?id=588189 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 19 ++++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 4 +- gio/gio.h | 1 + gio/gio.symbols | 8 ++ gio/giotypes.h | 1 + gio/gproxyconnection.c | 155 --------------------------- gio/gproxyconnection.h | 69 ------------ gio/gsocketclient.c | 56 +++++----- gio/gtcpwrapperconnection.c | 200 +++++++++++++++++++++++++++++++++++ gio/gtcpwrapperconnection.h | 68 ++++++++++++ 12 files changed, 332 insertions(+), 251 deletions(-) commit c20c2c0abd3bdb1b30b85a586ee6095ed75a7bc2 Author: Dan Winship Date: Sat Sep 18 13:05:25 2010 -0400 Add pollable input/output streams When interfacing with APIs that expect unix-style async I/O, it is useful to be able to tell in advance whether a read/write is going to block. This adds new interfaces GPollableInputStream and GPollableOutputStream that can be implemented by a GInputStream or GOutputStream to add _is_readable/_is_writable, _create_source, and _read_nonblocking/_write_nonblocking methods. Also, implement for GUnixInput/OutputStream and GSocketInput/OutputStream https://bugzilla.gnome.org/show_bug.cgi?id=634241 docs/reference/gio/gio-docs.xml | 2 + docs/reference/gio/gio-sections.txt | 41 +++++ docs/reference/gio/gio.types | 3 + gio/Makefile.am | 4 + gio/gio.h | 2 + gio/gio.symbols | 21 +++ gio/giotypes.h | 18 +++ gio/gpollableinputstream.c | 304 +++++++++++++++++++++++++++++++++++ gio/gpollableinputstream.h | 101 ++++++++++++ gio/gpollableoutputstream.c | 201 +++++++++++++++++++++++ gio/gpollableoutputstream.h | 98 +++++++++++ gio/gsocketconnection.c | 3 +- gio/gsocketinputstream.c | 59 ++++++- gio/gsocketoutputstream.c | 60 ++++++- gio/gunixinputstream.c | 51 +++++- gio/gunixoutputstream.c | 50 +++++- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 4 + gio/tests/pollable.c | 240 +++++++++++++++++++++++++++ 19 files changed, 1251 insertions(+), 12 deletions(-) commit 6181c7de36771d4d3bb55785912a934e078b16df Author: Dan Winship Date: Sat Nov 6 15:49:55 2010 -0400 GCancellable: add g_cancellable_create_source() g_cancellable_create_source() returns a GSource that triggers when its corresponding GCancellable is cancelled. This can be used with g_source_add_child_source() to add cancellability to a source. Port gasynchelper's FDSource to use this rather than doing its own cancellable handling, and also fix up its callback argument order to be more normal. https://bugzilla.gnome.org/show_bug.cgi?id=634239 docs/reference/gio/gio-sections.txt | 2 + gio/gasynchelper.c | 47 +++----------- gio/gcancellable.c | 116 +++++++++++++++++++++++++++++++++++ gio/gcancellable.h | 2 + gio/gio.symbols | 1 + gio/giotypes.h | 15 +++++ 6 files changed, 146 insertions(+), 37 deletions(-) commit d15cdbefecc235cfa431ee7de9c35af174bd1552 Author: Dan Winship Date: Sat Nov 6 10:11:15 2010 -0400 gmain: add g_source_add_child_source and g_source_remove_child_source This adds "child source" support to GSource. A child source behaves basically like a GPollFD; when you add a source to a context, all of its child sources are added with the same priority; when you destroy a source, all of its child sources are destroyed; and when a child source triggers, its parent source's dispatch function is run. Use cases include: - adding a GTimeoutSource to another source to cause the source to automatically trigger after a certain timeout. - wrapping an existing source type with a new type that has a different callback signature - creating a source that triggers based on different conditions at different times. https://bugzilla.gnome.org/show_bug.cgi?id=634239 docs/reference/glib/glib-sections.txt | 2 + glib/glib.symbols | 2 + glib/gmain.c | 266 +++++++++++++++++++++++++++------ glib/gmain.h | 17 ++- 4 files changed, 239 insertions(+), 48 deletions(-) commit e910205557b2461eaf1b2ce94176c6525cc716d1 Author: Dan Winship Date: Sun Nov 7 11:49:40 2010 -0500 Add g_source_set_dummy_callback() Use g_source_set_closure() and g_close_set_meta_marshal() to allow setting a do-nothing callback on any source. https://bugzilla.gnome.org/show_bug.cgi?id=634239 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.symbols | 1 + gobject/gsourceclosure.c | 39 ++++++++++++++++++++++++++- gobject/gsourceclosure.h | 6 +++-- 4 files changed, 44 insertions(+), 3 deletions(-) commit 73d823ac1ee0716568130407a4c164f6c145a75f Author: Dan Winship Date: Sun Nov 7 11:05:26 2010 -0500 Implement closure-related methods for gio GSource types Also, fix up the argument ordering on GFDSourceFunc https://bugzilla.gnome.org/show_bug.cgi?id=634239 gio/gasynchelper.c | 59 +++++++++++++++++++++++++++++++++++++++++++++-- gio/gasynchelper.h | 4 ++-- gio/gio-marshal.list | 2 ++ gio/gsocket.c | 33 +++++++++++++++++++++++++- gio/gunixinputstream.c | 4 ++-- gio/gunixoutputstream.c | 4 ++-- 6 files changed, 97 insertions(+), 9 deletions(-) commit ece936e84dd64af12cb609a8d25f3711a288cc57 Author: Dan Winship Date: Sat Nov 6 09:45:20 2010 -0400 gmain: fix some silly code in a programmer-error case Previously if a source got finalized while still attached to a context, it would warn and re-ref the source. But then it just freed it anyway... So keep the warning but drop the re-ref. https://bugzilla.gnome.org/show_bug.cgi?id=634239 glib/gmain.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit b358202856682e5cdefb0b4b8aaed3a45d9a85fa Author: Dan Winship Date: Sat Nov 6 09:35:25 2010 -0400 gmain: move finalization of GSource outside of context lock This avoids ugly deadlock situations such as in https://bugzilla.gnome.org/show_bug.cgi?id=586432 https://bugzilla.gnome.org/show_bug.cgi?id=626702 https://bugzilla.gnome.org/show_bug.cgi?id=634239 glib/gmain.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 3570c4a00ef25908172d4d51e30810dddcea1ee8 Author: Matthias Clasen Date: Wed Nov 24 16:00:32 2010 -0500 Add indices for new symbols in 2.28 docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 3 files changed, 12 insertions(+) commit e5dd266c33509fe214dfa3a0b66f66e9f166ebc6 Author: Matthias Clasen Date: Wed Nov 24 15:57:40 2010 -0500 Add Since: tags for new api Also, remove from things like #GAppInfos. gtk-doc learned to deal with this a while ago. gio/gdesktopappinfo.c | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit ee94915d0b78da7a016b4df29f0dce6236c1acfc Author: Javier Jardón Date: Wed Nov 24 18:06:17 2010 +0100 docs: gappinfo: Fix typo -> gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5f958e4623df830f89241b158b14ef7d994cf2c2 Author: Cosimo Cecchi Date: Fri Nov 19 11:37:44 2010 +0100 tests: add a test for recommended and fallback GAppInfos gio/tests/desktop-app-info.c | 72 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) commit b3bf7a648453e59daa83f745faf9102a90cdfbac Author: Cosimo Cecchi Date: Fri Nov 19 10:39:33 2010 +0100 appinfo: add win32 fallback implementation gio/gwin32appinfo.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 30c378032fe43975dc3ea1014b5b873ef6e3d017 Author: Cosimo Cecchi Date: Fri Nov 19 10:39:16 2010 +0100 appinfo: update docs for API addition docs/reference/gio/gio-sections.txt | 2 ++ gio/gdesktopappinfo.c | 22 ++++++++++++++++++++++ gio/gio.symbols | 2 ++ 3 files changed, 26 insertions(+) commit 182fcff2ea2b8f183570d8c026a9ef4d2ec2afdf Author: Cosimo Cecchi Date: Thu Nov 18 18:49:32 2010 +0100 appinfo: only rewrite recommended applications when adding non-default Otherwise you break the fallback + recommended distinction for a content type, as you end up adding support for a given content type to *all* of the applications claiming to support the supertype. gio/gdesktopappinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 94c67d8420889e950c2f093abdd893ffe3780a97 Author: Cosimo Cecchi Date: Thu Nov 18 18:45:56 2010 +0100 appinfo: add API to get fallback and recommended GAppInfos for a ctype This ways UIs can differentiate between them, and show them in different section. - a recommended app is an application that claims to support a content type directly, not by a supertype derivation. - a fallback app is an application that claims to support a supertype of a given content type. gio/gappinfo.h | 3 ++ gio/gdesktopappinfo.c | 127 +++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 105 insertions(+), 25 deletions(-) commit a70ba9c8b15451a8722aebfb64232bd18abf0a79 Author: Owen W. Taylor Date: Sun Nov 21 21:59:57 2010 -0500 Fix off-by-1000 for GTimer Divide monotonic time by 1e6 not 1e9 to get seconds. glib/gtimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ab3a79e2c9be13aea5b2ce0980f3a641c5ed081d Author: Ignacio Casal Quinteiro Date: Sun Nov 21 21:20:44 2010 +0100 Check for (GIConv)-1 instead of NULL. gio/gcharsetconverter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcbf9153d5933476d267ba5da18dd72e99fac20a Author: Gheyret T.Kenji Date: Sat Nov 20 11:26:41 2010 +0100 Added UG translation po/ug.po | 72 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) commit 96e9677fd7433cfbf27d18f66d55635195fcc44d Author: Kjartan Maraas Date: Thu Nov 18 14:08:34 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 1412 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 780 insertions(+), 632 deletions(-) commit 260d005616b7150c3e560a9fc29734a19ab8e24e Author: Colin Walters Date: Wed Nov 17 20:06:07 2010 -0500 introspection: Add annotations for g_file_copy, g_file_move gio/gfile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 354d655ba8a54b754cb5a3efb42767327775696c Author: Ryan Lortie Date: Wed Nov 17 12:19:54 2010 -0500 g_str_hash: switch to using DJB hash This is the same as what we were already doing with 2 changes: - use an initial value of 5381 instead of 0 - multiply by 33 in each round instead of 31 glib/gstring.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit f50a99e7827f4b906cfe9ced27096b047f65ac80 Author: Ryan Lortie Date: Wed Nov 17 11:57:48 2010 -0500 g_str_hash: clean up code Un-unroll the first iteration. No functional changes here. glib/gstring.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 2bfcffde9ae5b14e78a4279bf48c71897c5f19d8 Author: Tomas Bzatek Date: Tue Nov 16 14:20:07 2010 +0100 GIO: Hide mounts having a path element starting with dot When a mount is mounted to a directory whose path contains an element starting with dot, let's treat it as hidden, just like the usual Unix approach. gio/gunixmounts.c | 4 ++++ 1 file changed, 4 insertions(+) commit 010913c8ab3f161ac8e9c676bc89d3a30db092ce Author: Javier Jardón Date: Sun Nov 14 02:08:51 2010 +0100 docs: Update the URL of some documentation links http://developer.gnome.org -> http://library.gnome.org INSTALL.in | 2 +- docs/reference/gobject/tut_tools.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit f4142b321b2cdc2bb5a74716b29f35a141c9a8d2 Author: Gheyret T.Kenji Date: Sun Nov 14 00:05:02 2010 +0100 Added UG translation po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit a0e0f25de687f5d748ae23421572b1fc60b248c2 Author: Gheyret T.Kenji Date: Sat Nov 13 22:10:03 2010 +0100 Added UG translation po/ug.po | 3522 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3522 insertions(+) commit b53b61a000fdd72c76b96f58e3835f50ad8335f1 Author: Luca Ferretti Date: Sat Nov 13 14:01:29 2010 +0100 [l10n] Updated Italian translation po/it.po | 2353 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1556 insertions(+), 797 deletions(-) commit 9faed56eda38ed35dd9841d2de1ac659d8db5a36 Author: Fran Diéguez Date: Sat Nov 13 00:59:45 2010 +0100 Updated Galician translations po/gl.po | 144 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 72 insertions(+), 72 deletions(-) commit 48ca3add143896fa5664860a94947907cfe5daa2 Author: Ryan Lortie Date: Thu Nov 11 21:47:13 2010 -0500 G_STATIC_ASSERT: clarify when use is valid Clarify when the use of G_STATIC_ASSERT is valid and fix up an invalid use of it in GDBus. docs/reference/glib/tmpl/macros_misc.sgml | 6 ++++++ gio/gdbusmessage.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 6bc20651ecf8e8b5d9ffea89ae76083ededa3c0b Author: Ryan Lortie Date: Thu Nov 11 21:30:03 2010 -0500 Partial revert of last commit Revert incorrect changes to gdbusmessage.c gio/gdbusmessage.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit d28bce02dc62ac863ddafce8d525e6bc929db873 Author: Cosimo Cecchi Date: Wed Nov 10 12:03:11 2010 +0100 emblemed-icon: allow passing a NULL emblem to g_emblemed_icon_new() So that if we already have a list of emblems we know we want to add to the icon, we can use e.g. a for loop to add them all, without picking the first and looping from the second. https://bugzilla.gnome.org/show_bug.cgi?id=634504 gio/gemblemedicon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fb94859e84c0b7859a0a5425d461b18e67ea9ac7 Author: Benjamin Otte Date: Tue Nov 9 07:19:19 2010 -0500 API: Reinstate "gio-desktop-app-info-lookup" extension point Removing an extension point is an API and ABI break. In particular, it causes (older) gvfs versions to fail loading with a linkage error from ld which in turn makes the desktop unusable. So this reinstate the extension point and API provided by it, but deprecates and does not use it. So no functionality is changed. This reverts parts of commit 9b262f1c5fe5a6fd879f17cd7b80d8c54e33d80c. Complaints-Also-To: Ryan Lortie gio/gdesktopappinfo.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gio/gdesktopappinfo.h | 40 ++++++++++++++++++++++++++++++++++++++++ gio/gio.symbols | 2 ++ gio/giomodule.c | 16 +++++++++++++--- 4 files changed, 97 insertions(+), 3 deletions(-) commit 9f02ee790b03b4c9e73490734ddb4740219b1d36 Author: Chun-wei Fan Date: Tue Nov 9 20:36:53 2010 +0800 gio: Fix C99 style variable declarations (bug #633075) -gdbusmessage.c and gregistrysettingsbackend.c is updated to fix C99-style declarations -also fixed typo for displaying registry entry in gregistrysettingsbackend.c (\% -> \\%) gio/gdbusmessage.c | 5 ++++- gio/gregistrysettingsbackend.c | 21 ++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) commit 029f3070e7334daf8241dfe0db8288f80110f839 Author: Chun-wei Fan Date: Tue Nov 9 20:32:39 2010 +0800 gtimer.c: Revert accidental overwrite Revert accidental overwrite as timing API was changed from 2.27.2 to 2.27.3 glib/gtimer.c | 73 +++++++-------------------------------------------------- 1 file changed, 9 insertions(+), 64 deletions(-) commit db7ea5e5584f768e978bb101000bf8a602384f6d Author: Matthias Clasen Date: Mon Nov 8 23:06:53 2010 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f023d8b9bc6d86482fc020acf46ce965ff94c37b Author: Matthias Clasen Date: Mon Nov 8 21:40:17 2010 -0500 Update NEWS NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 9806040455d6d482db3908f2d56ddfe455bae660 Author: Chun-wei Fan Date: Tue Nov 9 09:53:12 2010 +0800 Added and Moved checks for includes Moved checks for G_OS_WIN32 after GLib header includes and added other checks required for Windows/MSVC builds glib/gdatetime.c | 10 +++---- glib/gmessages.c | 18 ++++++------- glib/gscanner.c | 8 +++--- glib/gtimer.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++------- 4 files changed, 85 insertions(+), 28 deletions(-) commit 4a012a9754d51a36914c626b41ad757a89e57f86 Author: Chun-wei Fan Date: Tue Nov 9 09:50:11 2010 +0800 Updated README.txt for VS9 build/win32/vs9/README.txt | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 0af6343fedaf95d3710af8a1535da4d32cfccff9 Author: Chun-wei Fan Date: Tue Nov 9 09:27:27 2010 +0800 Updated .def generation for x64 Some symbols need to be excluded from the .def file as they are set to be so on Win64 build/win32/vs9/gmodule.vcproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9d4423c15d8684be27496f1905e063ec7e18cc21 Author: Chun-wei Fan Date: Tue Nov 9 09:26:05 2010 +0800 Various updates... -Made up for missed header files in glib and gio during "install" -Added macro necessary for GLib/GModule .def generation under Win64 -updated location of getting glibconfig.h.win32 for building build/win32/vs9/glib.vsprops | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) commit e655a849e3cd7357dcef873163712df13889353f Author: Chun-wei Fan Date: Tue Nov 9 09:23:47 2010 +0800 Some enhancements for Win64 and using existing PCRE installtions Added option for people to use an existing PCRE build and updated .def generation for x64 systems (some symbols are set to be excluded from Win64 builds) Also fixed the filter "PCRE" for the bundled PCRE as file layout changed build/win32/vs9/glib.vcprojin | 314 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 292 insertions(+), 22 deletions(-) commit 50ca3571041881d7728f9a6fb0e924681113fb5e Author: Chun-wei Fan Date: Tue Nov 9 09:11:48 2010 +0800 Added option to use existing installation of PCRE Allow the person compiling GLib to use his/her own copy of PCRE, bug#633075 build/win32/vs9/glib.sln | 85 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) commit 8c4a96c6ff389aa319993857d79e0afcdf24d7c9 Author: Chun-wei Fan Date: Tue Nov 9 09:08:45 2010 +0800 Made up for missed source files Made up for missing required source files in gio.vcproj(in) for Windows builds build/win32/vs9/gio.vcprojin | 7 +++++++ 1 file changed, 7 insertions(+) commit 587c9d09e25b0a0e3779e6a19493c9264696a46f Author: Ryan Lortie Date: Mon Nov 8 18:15:32 2010 -0500 GPeriodic: enable subclassing Move GPeriodic struct and class struct to the header. Do ->priv. gio/gperiodic.c | 138 +++++++++++++++++++++++++++---------------------------- gio/gperiodic.h | 21 +++++++++ 2 files changed, 89 insertions(+), 70 deletions(-) commit 9fbfac6abb45aad97349f68aef29410e3bef4cfd Author: Ryan Lortie Date: Mon Nov 8 16:59:29 2010 -0500 GPeriodic: remove repair functions Replace it with a single repair signal that either fires or does not. docs/reference/gio/gio-sections.txt | 1 - gio/gio-marshal.list | 2 +- gio/gperiodic.c | 134 ++++++++++++++++------------------- gio/gperiodic.h | 9 +-- 4 files changed, 63 insertions(+), 83 deletions(-) commit 1a1fc130ece13a442dcacaba1db9108089cead38 Author: Ryan Lortie Date: Mon Nov 8 16:42:32 2010 -0500 New function: g_clear_object() By analogy to g_clear_error, takes a pass-by-reference GObject reference and, if non-%NULL, unrefs it and sets it equal to %NULL. Bug #620263. docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.c | 38 +++++++++++++++++++++++++++ gobject/gobject.h | 15 +++++++++++ gobject/gobject.symbols | 1 + gobject/tests/.gitignore | 1 + gobject/tests/Makefile.am | 3 ++- gobject/tests/reference.c | 35 ++++++++++++++++++++++++ 7 files changed, 93 insertions(+), 1 deletion(-) commit 78bc8bec4f44a48e5e538f1f9ac9b9e43a9fc833 Author: Dan Winship Date: Sun Nov 7 12:56:44 2010 -0500 fix .gitignore gio/tests/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) commit 791d91a957f8fc243b6629a015132c22675399ab Author: Dan Winship Date: Sun Nov 7 12:56:08 2010 -0500 fix make check gio/gsettings.c | 2 +- gio/tests/gsettings.c | 10 +++++----- glib/glib.symbols | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) commit ba9fccf71e667c1d05d05fab794ab41b2c387a81 Author: Ryan Lortie Date: Sat Nov 6 17:34:40 2010 -0400 g_get_user_runtime_dir(): New function Get the value of the XDG_RUNTIME_DIR environment variable. docs/reference/glib/glib-sections.txt | 1 + glib/gutils.c | 49 +++++++++++++++++++++++++++++++++ glib/gutils.h | 2 ++ 3 files changed, 52 insertions(+) commit 71088701af6ff0658313069219565923d5a03280 Author: Ryan Lortie Date: Fri Nov 5 22:07:07 2010 -0400 Add G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE If specified, the signal subscription is setup client-side but the match rule is not sent to the server. This allows the caller to manually register more detailed match rules. gio/gdbusconnection.c | 22 ++++++++++++++++++++-- gio/gioenums.h | 6 +++++- 2 files changed, 25 insertions(+), 3 deletions(-) commit fa774618fcbd1afaa30507c9d75a46f9fa7bc288 Author: Christian Persch Date: Sat Nov 6 12:27:01 2010 +0100 Fix docs comment typo glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8464db88adf36964c0898b74e1d122136fa0696b Author: A S Alam Date: Sat Nov 6 10:48:55 2010 +0530 update Punjabi Translation by A S Alam po/pa.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79a29a10362019b3ec5e361c7dbbadf084355f9c Author: A S Alam Date: Sat Nov 6 10:47:54 2010 +0530 update Punjabi Translation by A S Alam po/pa.po | 901 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 557 insertions(+), 344 deletions(-) commit 7fc6f8a1596b18a23e1570fc6716b34a137b76c6 Author: Ryan Lortie Date: Fri Nov 5 21:33:06 2010 -0400 Add g_variant_lookup() and tests Convenience API for doing lookups in dictionaries where the key is a string or object path. docs/reference/glib/glib-sections.txt | 2 + glib/glib.symbols | 2 + glib/gvariant.c | 144 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 7 ++ glib/tests/gvariant.c | 74 +++++++++++++++++ 5 files changed, 229 insertions(+) commit 57b4b7099f6e6918210d5d99a24f42b33021bab0 Author: Matthias Clasen Date: Fri Nov 5 14:50:01 2010 -0400 Fix markup gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 38bc42d18edcfdc47cad018dbd6e562f21541f9b Author: Matthias Clasen Date: Fri Nov 5 14:29:15 2010 -0400 Fix up gapplication example gio/tests/gapplication-example-cmdline2.c | 1 + 1 file changed, 1 insertion(+) commit 67c03fee2a90079b75bbbb71c004ef00af750f21 Author: Matthias Clasen Date: Fri Nov 5 14:28:44 2010 -0400 Describe enum and flags types a bit gio/gsettings.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit d1b00fe23df265f6cf8a288a34db8fdeb31d9900 Author: Matthias Clasen Date: Fri Nov 5 13:56:42 2010 -0400 Update the gschema dtd to include flags gio/gschema.dtd | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit bc793255bc75300bfa96bfd842343c26af8b0744 Author: Matthias Clasen Date: Fri Nov 5 09:31:36 2010 -0400 Report more useful errors from g_settings_set_value gio/gsettings.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 393834ac6f32633a31e52441b051dc7d3969a530 Author: Dan Winship Date: Thu Nov 4 15:23:22 2010 -0400 gsettings.m4: Fix rules to work when there are no schemas If there are no schemas, don't try to install "" at install time. (In particular, automake conditionals don't work properly with @-expanded rules, so if you conditionally build a schema, you'll still unconditionally get the install rule.) https://bugzilla.gnome.org/show_bug.cgi?id=633381 m4macros/gsettings.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 094082841877b8b70a0d793ff091bb74793210b6 Author: Tor Lillqvist Date: Tue Oct 26 12:20:22 2010 +0300 Clarify docs for g_path_is_absolute() semantics on Windows glib/gutils.c | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) commit 954e7d149359152a9b6dccf2322399f87ed5bd1f Author: Ihar Hrachyshka Date: Sun Oct 31 20:12:26 2010 +0200 Updated Belarusian translation po/be.po | 3412 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2137 insertions(+), 1275 deletions(-) commit ba45e36932206f30bb439f27c49529d934207fd1 Author: Christian Persch Date: Thu Sep 23 13:47:13 2010 +0200 Add g_simple_async_report_take_gerror_in_idle ... and use it where appropriate. Saves an extra GError copy. Bug #633686. docs/reference/gio/gio-sections.txt | 1 + gio/gbufferedinputstream.c | 3 +-- gio/gfileinputstream.c | 3 +-- gio/gfileiostream.c | 3 +-- gio/gfileoutputstream.c | 3 +-- gio/ginputstream.c | 9 +++------ gio/gio.symbols | 1 + gio/giostream.c | 3 +-- gio/goutputstream.c | 12 ++++-------- gio/gsimpleasyncresult.c | 34 +++++++++++++++++++++++++++++++++- gio/gsimpleasyncresult.h | 6 +++++- gio/gsocketclient.c | 6 ++---- gio/gsocketconnection.c | 3 +-- gio/gsocketlistener.c | 3 +-- 14 files changed, 56 insertions(+), 34 deletions(-) commit 9e0c07870af1dac84c033031cf301671779c8328 Author: Christian Persch Date: Thu Sep 23 13:02:50 2010 +0200 Use g_simple_async_result_{new_,}take_error Bug #633685. gio/gasyncinitable.c | 5 +-- gio/gbufferedinputstream.c | 32 +++++++--------- gio/gbufferedoutputstream.c | 5 +-- gio/gdatainputstream.c | 3 +- gio/gdbusaddress.c | 5 +-- gio/gdbusconnection.c | 23 +++--------- gio/gdbusprivate.c | 9 ++--- gio/gdbusproxy.c | 13 ++----- gio/gdummyproxyresolver.c | 3 +- gio/gfile.c | 80 +++++++++------------------------------- gio/gfileenumerator.c | 5 +-- gio/gfileicon.c | 3 +- gio/gfileinputstream.c | 5 +-- gio/gfileoutputstream.c | 5 +-- gio/ginputstream.c | 26 ++++--------- gio/giostream.c | 5 +-- gio/gloadableicon.c | 3 +- gio/gnetworkaddress.c | 3 +- gio/gnetworkservice.c | 6 +-- gio/goutputstream.c | 23 +++--------- gio/gproxyaddressenumerator.c | 17 ++------- gio/gsocketaddressenumerator.c | 6 +-- gio/gsocketclient.c | 3 +- gio/gsocketinputstream.c | 5 +-- gio/gsocketlistener.c | 3 +- gio/gsocketoutputstream.c | 5 +-- gio/gsocks4aproxy.c | 8 +--- gio/gsocks5proxy.c | 4 +- gio/gtcpconnection.c | 11 ++---- gio/gunixinputstream.c | 10 +---- gio/gunixmount.c | 3 +- gio/gunixoutputstream.c | 10 +---- gio/gunixresolver.c | 18 ++------- gio/gunixvolume.c | 3 +- 34 files changed, 98 insertions(+), 270 deletions(-) commit 63b87b2c26bf983823f83943b8d752bd053ce539 Author: Ryan Lortie Date: Wed Nov 3 00:16:16 2010 -0400 Add simple dynamic scheduling to GPeriodic GPeriodic will now try not to use more than 50% of the CPU for its own purposes unless there are no other tasks attempting to run. docs/reference/gio/gio-sections.txt | 3 +- gio/gio.symbols | 3 +- gio/gperiodic.c | 155 ++++++++++++++++++++++++++++++++--- gio/gperiodic.h | 6 +- 4 files changed, 151 insertions(+), 16 deletions(-) commit 8c7e284116085058fa8b2600e02502aa6acb3f9e Author: Matthias Clasen Date: Tue Nov 2 22:39:58 2010 -0400 Tweak GApplication docs gio/gapplication.c | 9 +++++++++ gio/tests/gapplication-example-actions.c | 7 ------- gio/tests/gapplication-example-cmdline.c | 4 ---- gio/tests/gapplication-example-cmdline2.c | 4 ---- gio/tests/gapplication-example-open.c | 16 +++++++++++----- 5 files changed, 20 insertions(+), 20 deletions(-) commit 1cf14de82f3ad4beceeeb9ba555763ef8d70ed24 Author: Ryan Lortie Date: Tue Nov 2 22:12:55 2010 -0400 docs: Recommend against using GTimeVal docs/reference/glib/tmpl/date.sgml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit e4ad3442c042431918de178c5dc29ce6abb31ff2 Author: Ryan Lortie Date: Tue Nov 2 22:03:08 2010 -0400 GMainContext: store real time as int64 glib/gmain.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit d22681feb44daa0209cf55c8e45cc8f0c13d4ded Author: Ryan Lortie Date: Mon Nov 1 17:04:31 2010 -0400 glocalfileinfo: remove non-use of GTimeVal gio/glocalfileinfo.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 5dab4727ee604d3a7a2be3aa7dde739b71d7f5df Author: Ryan Lortie Date: Mon Nov 1 16:40:36 2010 -0400 Add g_get_real_time() for wall-clock int64 micros Similar in spirit to g_get_monotonic_time(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmain.c | 31 ++++++++++++++++++++++++++++++- glib/gmain.h | 1 + 4 files changed, 33 insertions(+), 1 deletion(-) commit 38e7aa9855a3e18d5350733ee4177ab00cee15df Author: Ryan Lortie Date: Mon Nov 1 16:35:10 2010 -0400 Clean up g_usleep() Remove some code that was written in 2000 to support OSes that do not have nanosleep(). nanosleep() has been specified (in POSIX-1.2001) for almost a decade now, so assume we have it (except on Windows). Remove the checks for nanosleep and nsleep from configure.ac. We're removing this code because we honestly believe that nobody will be affected. If this change negatively impacts you, please file a bug. configure.ac | 1 - glib/gtimer.c | 48 ++---------------------------------------------- 2 files changed, 2 insertions(+), 47 deletions(-) commit a48faa0aed1c422ba04301a4786419de44ea65e8 Author: Ryan Lortie Date: Mon Nov 1 16:06:39 2010 -0400 GTimer: switch to monotonic time and remove docs notes about threads having to be initialised. glib/gtimer.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) commit 92df8a1d7766dbb51d84c0373daa77eb1cce3a18 Author: Ryan Lortie Date: Mon Nov 1 15:47:29 2010 -0400 Drop GTimeSpec type docs/reference/glib/glib-sections.txt | 1 - glib/gmain.c | 10 ---------- glib/gtypes.h | 8 -------- 3 files changed, 19 deletions(-) commit c3a0d32ef1413f942890796aa20f7b1a54254eff Author: Ryan Lortie Date: Mon Nov 1 15:46:35 2010 -0400 Switch GTimeSpec users to int64 microseconds glib is trying to move toward using microseconds-in-gint64 as its universal time format. No real API breaks here since GTimeSpec is new this unstable release series. gio/gperiodic.c | 33 ++-------- gio/gperiodic.h | 2 +- gio/gsocket.c | 35 +++++------ glib/gmain.c | 183 +++++++++++++++++++++++-------------------------------- glib/gmain.h | 7 +-- 5 files changed, 101 insertions(+), 159 deletions(-) commit d9f5ab56c3b79fb12b4ee4f19a8b6307445cc403 Author: Ryan Lortie Date: Mon Nov 1 13:31:37 2010 -0400 GTimeout: simplify math for 'seconds' case The code was designed to deal with any granularity of timer and due to the use of GTimeVal/GTimeSpec, the math for this gets extremely confusing. From a practical standpoint, we only ever have a granularity of seconds. Take advantage of that fact in the code and vastly simplify the math. glib/gmain.c | 74 +++++++++++++++++++++------------------------------------- 1 file changed, 27 insertions(+), 47 deletions(-) commit b6854efdb94b74f791cbcc622942825dc042eefc Author: Jorge González Date: Tue Nov 2 10:46:10 2010 +0100 Updated Spanish translation po/es.po | 90 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 35 deletions(-) commit 00e09af412f8d30c5980f549341cf28a2d6a8847 Author: Jorge González Date: Mon Nov 1 18:50:46 2010 +0100 Updated Spanish translation po/es.po | 494 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 337 insertions(+), 157 deletions(-) commit b2d0260b85c6eb47f9ac0263f26657cbc9fe9909 Author: Fran Diéguez Date: Mon Nov 1 17:15:38 2010 +0100 Updated Galician translations po/gl.po | 620 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 386 insertions(+), 234 deletions(-) commit 361afb3a62c7940c0f303eac99d84ac21e4dcb37 Author: Paolo Borelli Date: Mon Nov 1 14:36:57 2010 +0100 Fix gtk-doc typo gio/gmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7434c1725dc7a5f44a9f2d9787eaa7c1c9027906 Author: Christian Persch Date: Mon Nov 1 11:06:26 2010 +0100 Fix Since: for new functions g_simple_async_result_new_from_error/take_error are Since: 2.28. gio/gsimpleasyncresult.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5327db4c2f83acf9cda3e7cc3ddca8f3eaeb570f Author: Yaron Shahrabani Date: Mon Nov 1 08:17:02 2010 +0200 Updated Hebrew translation. po/he.po | 406 ++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 292 insertions(+), 114 deletions(-) commit 81f93eb29c76c941e6bfe6c20510f8cb04edfa0a Author: Matthias Clasen Date: Mon Nov 1 00:32:47 2010 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a50c0ca69961ef4d1a372cc31483de65266f1a52 Author: Matthias Clasen Date: Sun Oct 31 23:32:48 2010 -0400 NEWS for 2.27.2 NEWS | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit b4248cb5da7751a2b1d16c48ea0acc5f3e7c4348 Author: Matthias Clasen Date: Sun Oct 31 23:19:04 2010 -0400 Remove nonexisting type from giotypes.h GDBusActionGroup does not exist yet. gio/giotypes.h | 1 - 1 file changed, 1 deletion(-) commit d2612ad955c67a6b6791e9db4496087754c20228 Author: Matthias Clasen Date: Sun Oct 31 23:13:36 2010 -0400 Fix a doc typo glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71dcc5ce80e33ac2f5cfd2de7acc392de2cb5d45 Author: Matthias Clasen Date: Sun Oct 31 23:10:41 2010 -0400 Remove leftover definition from gactiongroup.h GContextActionGroupInterface is not currently used anywhere. gio/gactiongroup.h | 15 --------------- 1 file changed, 15 deletions(-) commit b49ae1646197e90d273d3ffd5d884d93109c2df7 Author: Matthias Clasen Date: Sun Oct 31 22:41:00 2010 -0400 Various documentation fixes docs/reference/gio/gio-sections.txt | 10 +++++----- gio/gactiongroup.c | 12 ++++++------ gio/gappinfo.c | 10 +++++----- gio/gapplicationcommandline.c | 1 + 4 files changed, 17 insertions(+), 16 deletions(-) commit 85ba8596e235f5f7f351447d20a3bc1baa8402b8 Author: Matthias Clasen Date: Sun Oct 31 22:38:38 2010 -0400 GSimpleAsyncResult: add error-taking variants Add g_simple_async_result_new_take_error and g_simple_async_result_take_error, which take over ownership of the given error. Based on a patch by Christian Persch. https://bugzilla.gnome.org/show_bug.cgi?id=629247 gio/gio.symbols | 2 ++ gio/gsimpleasyncresult.c | 62 +++++++++++++++++++++++++++++++++++++++++++--- gio/gsimpleasyncresult.h | 6 +++++ 3 files changed, 67 insertions(+), 3 deletions(-) commit 7887103193de4230a1ccb8dc7100816e523e5b9c Author: Matthias Clasen Date: Sun Oct 31 22:05:20 2010 -0400 Add an example of invoking actions gio/tests/gapplication-example-actions.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit d967b5ed17ae23f8694c5828c5574393bf9df076 Author: Matthias Clasen Date: Sun Oct 31 21:08:25 2010 -0400 Fix g_action_group_activate_action() docs gio/gactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9574dbd2282e1fcf7bb5836c85cfff536bf4a7cf Author: Matthias Clasen Date: Sun Oct 31 20:58:15 2010 -0400 Be more careful about overwriting errors When trying to parse again, we don't want to overwrite the exiting error. gio/gsettings-tool.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 78407a00983d2fb70a94e00639408c80a58772b7 Author: Matthias Clasen Date: Sun Oct 31 20:49:53 2010 -0400 GApplication: Add an action example gio/gapplication.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit cb8d29a55897b65c5d60077db19f39d1c01b2f86 Author: Matthias Clasen Date: Sun Oct 31 20:33:02 2010 -0400 Don't leak references in the actions example These are not initially unowned... gio/tests/gapplication-example-actions.c | 3 +++ 1 file changed, 3 insertions(+) commit 09426632796b31a4f978e1c6c5666cc660e14a71 Author: Takayuki KUSANO Date: Mon Nov 1 01:28:13 2010 +0900 Fix error in Japanese translation po/ja.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c34bcefa78faacbda4528de9aeea2e13519c27e0 Author: Matthias Clasen Date: Sat Oct 30 22:19:02 2010 -0400 Add an example of using GApplication with actions gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-actions.c | 82 ++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) commit ab02965c50b8b80a2a676888f5aa4c36cbc7c3df Author: Christian Persch Date: Sat Oct 30 21:40:28 2010 -0400 Use G_GINT64_CONSTANT here Bug #631482. glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e24dfacd5b81ee0b6b596df3739df4448e5bbf04 Author: Matthias Clasen Date: Sat Oct 30 01:13:42 2010 -0400 gsettings-tool: Support completion for enum values https://bugzilla.gnome.org/show_bug.cgi?id=631264 gio/gsettings-bash-completion.sh | 18 ++++++++++++++++++ gio/gsettings-tool.c | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) commit 6298e88538fb5799432774574713af259701c735 Author: Matthias Clasen Date: Sat Oct 30 00:00:06 2010 -0400 Add a command to list keys and values recursively This is similar to gconftool-2 -R, which is very handy for collecting information for bug reports, etc. It is now possible to say gsettings list-recursively org.foo.bar, and this will produce a list of schemas, keys and values for org.foo.bar and all its child and grandchild schemata, recursively. https://bugzilla.gnome.org/show_bug.cgi?id=632571 gio/gsettings-bash-completion.sh | 6 ++-- gio/gsettings-tool.c | 66 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 3 deletions(-) commit d6192166862c6cad3914ddf397b798205263b564 Author: Matthias Clasen Date: Fri Oct 29 23:12:07 2010 -0400 Make gsettings-tool translatable again This regression was caused by the recent rewrite. gio/gsettings-tool.c | 92 +++++++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 43 deletions(-) commit cb647730029d5da388637e2a532f7f54a0d86f47 Author: Ryan Lortie Date: Fri Oct 29 16:33:47 2010 -0400 Use 'aay' instead of 'as' for environ It might contain non-utf8 characters. gio/gapplication.c | 10 +++++++--- gio/gapplicationcommandline.c | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) commit 641f622bfe72866baa52dbd1044b7be2b6271999 Author: Ryan Lortie Date: Thu Oct 28 23:06:53 2010 -0400 GApplication: emit a signal when starting up Send a signal to the bus when registration is successful and we are the primary instance. gio/gapplicationimpl-dbus.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 7aa2e5026260a51e089d10dd18017b8f129b7adf Author: Ryan Lortie Date: Thu Oct 28 22:49:12 2010 -0400 GApplication: support environment passing Add support for passing the full contents of the environment to the primary instance (by storing it in the platform_data) when G_APPLICATION_SEND_ENVIRONMENT is in the flags. docs/reference/gio/gio-sections.txt | 2 + gio/gapplication.c | 8 ++++ gio/gapplicationcommandline.c | 71 +++++++++++++++++++++++++++++++++++ gio/gapplicationcommandline.h | 5 +++ gio/gio.symbols | 2 + gio/gioenums.h | 5 ++- 6 files changed, 92 insertions(+), 1 deletion(-) commit 99d2c2eef580c6ee4cbcf18b656e574331d6ad08 Author: Ryan Lortie Date: Thu Oct 28 22:20:25 2010 -0400 Add testcase for environment functions glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 +++ glib/tests/environment.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) commit 29ce7385bb631ac04dc8b965dd0c6fab488c770d Author: Ryan Lortie Date: Thu Oct 28 21:26:09 2010 -0400 Add g_get_environ(): portable access to 'environ' Return a copy of 'environ' on platforms where that is possible, or do something else on other platforms. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gutils.c | 39 +++++++++++++++++++++++++++++++++ glib/gutils.h | 1 + 4 files changed, 42 insertions(+) commit b4d3b6e0de4fe2f239f414c6a62be35018d05a4c Author: Carles Ferrando Date: Fri Oct 29 00:48:48 2010 +0100 Updated Catalan (Valencian) translation po/ca@valencia.po | 2095 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 1396 insertions(+), 699 deletions(-) commit bf7ba2fbdc6fdbb38fe35f71dfdf74dd8fcbf414 Author: Ryan Lortie Date: Thu Oct 28 16:46:18 2010 -0400 GApplication: use infinite timeout for CommandLine Use an infinite DBus timeout for sending a CommandLine request to the primary instance. This resolves a bit of bug #633339. gio/gapplicationimpl-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fac2a8278e6bc83b281cd85f783e9ae4b05371be Author: Ryan Lortie Date: Thu Oct 28 16:14:24 2010 -0400 Bug 633356 - (GDBus) Make G_MAXINT mean no timeout Don't register a timeout function in the case that G_MAXINT is given for the timeout length. gio/gdbusconnection.c | 31 +++++++++++++++++++------------ gio/gdbusproxy.c | 6 ++++-- 2 files changed, 23 insertions(+), 14 deletions(-) commit cd4f818b301bfc6855b27feba5a0dfdca60027c1 Author: Dan Winship Date: Thu Oct 28 15:17:17 2010 -0400 GNetworkService: fix a small bug Fix a small bug in the synchronous lookup code introduced in the fix for bug 629274 gio/gnetworkservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dd9f8b8cc6d873517dedd83935ed0d994bbbd6c9 Author: Emilio Pozuelo Monfort Date: Tue Sep 28 11:53:03 2010 +0200 Don't enable dtrace support when dtrace isn't available Fixes FTBFS when dtrace isn't available but is. configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 7c184df292f7552423fa7931c843b2f1949c1455 Author: Ryan Lortie Date: Fri Oct 16 12:19:06 2009 +0200 Bug 158725 - free linked list with data Add some helpers for freeing a linked list along with its elements by providing a GDestroyNotify to call on each of them. Add a test. Based on a patch from Cosimo Cecchi. docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/glist.c | 21 ++++++++++- glib/glist.h | 2 ++ glib/gslist.c | 18 ++++++++++ glib/gslist.h | 2 ++ glib/tests/list.c | 63 +++++++++++++++++++++++++++++++++ 7 files changed, 109 insertions(+), 1 deletion(-) commit 4baad1acbff936284c5367afdb4494cf081ee394 Author: Ryan Lortie Date: Wed Oct 27 09:26:01 2010 -0400 GApplication: exit_status unset in one branch Closes #633206 gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f7a918dcb9fac00c7904b63452a59496594369aa Author: Ryan Lortie Date: Fri Oct 22 19:43:11 2010 +0200 GPeriodic: allow unblock time to be passed in gio/gperiodic.c | 22 ++++++++++++++++++++-- gio/gperiodic.h | 3 ++- 2 files changed, 22 insertions(+), 3 deletions(-) commit 2af4b6e5440c22f4b56923ac9a749af06b3188d9 Author: Ryan Lortie Date: Fri Oct 22 19:20:14 2010 +0200 Deprecate g_source_get_current_time() glib/glib.symbols | 2 ++ glib/gmain.c | 2 ++ glib/gmain.h | 2 ++ 3 files changed, 6 insertions(+) commit 83472b34ef0bd3b53ff0a38b7f8691c3bd6fa0a9 Author: Ryan Lortie Date: Fri Oct 22 19:16:57 2010 +0200 switch GSocket to monotonic time for timeouts gio/gsocket.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d3fe2efb83b690507eb5513d96c27d06e9206da1 Author: Ryan Lortie Date: Fri Oct 22 19:13:01 2010 +0200 switch GPeriodic to use monotonic time gio/gperiodic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 91113a8aeea40cc2d7dda65b09537980bb602a06 Author: Ryan Lortie Date: Fri Oct 22 19:10:39 2010 +0200 switch GTimeoutSource to use monotonic time glib/gmain.c | 72 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) commit b7d8363fbec421d1e3e8b1a198fd7efb2ec9d2bc Author: Ryan Lortie Date: Fri Oct 22 18:40:08 2010 +0200 Add g_source_get_time() Cached version of g_get_monotonic_time() that does similar to what g_source_get_current_time() does for g_get_current_time(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmain.c | 47 ++++++++++++++++++++++++++++++++- glib/gmain.h | 2 ++ 4 files changed, 50 insertions(+), 1 deletion(-) commit bf941f200c9784eb363d3b07b9d828dfc31a3ce2 Author: Ryan Lortie Date: Fri Oct 22 18:47:06 2010 +0200 Rename time_is_current to current_time_is_fresh Internal structure field; no semantic changes. glib/gmain.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ab548d240a9c2862ea7f7685c68b6013a68bf0c8 Author: Ryan Lortie Date: Fri Oct 22 18:42:32 2010 +0200 Add g_get_monotonic_time() Gets the system monotonic time on systems that have it. Otherwise, call g_get_current_time(). docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmain.c | 70 ++++++++++++++++++++++++++++++++- glib/gmain.h | 1 + 4 files changed, 72 insertions(+), 1 deletion(-) commit ac82e74895f5a094e07506e48b908188e03006d3 Author: Ryan Lortie Date: Fri Oct 22 17:28:46 2010 +0200 Add 'GTimeSpec' as 'struct timespec' equivalent docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/glib/tmpl/date.sgml | 8 ++++++++ glib/gmain.c | 9 +++++++++ glib/gtypes.h | 9 +++++++++ 4 files changed, 29 insertions(+) commit 817b322ca781009617c40c4a05250ce412ecd0e8 Author: Ryan Lortie Date: Fri Oct 22 17:16:47 2010 +0200 Link libglib against -lrt if we have clock_gettime configure.ac | 2 ++ glib/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit dfb0577ef4947afb32d91a72769bd22d6c1edfaa Author: Ryan Lortie Date: Wed Oct 27 09:08:32 2010 -0400 Bug 632169 - manual use of gsettings-data-convert Add some words and example code to the documentation about why you might want to manually invoke gsettings-data-convert and how you should go about doing that. docs/reference/gio/migrating-gconf.xml | 64 ++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) commit 9126f1afae922339949d0b76e282411618bcb565 Author: Ryan Lortie Date: Tue Oct 26 12:02:12 2010 -0400 gsettings m4: Use --strict for checking A while ago we allowed glib-compile-schemas to return a 'success' status in the case that just one schema file contained errors. Of course, this is the exact opposite of what we want in the case that we are checking schema validity at compile time. Use the --strict flag for that case. This closes #633115. m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 181982c47cde49b3aff2293729f5aee5987db8af Author: Ryan Lortie Date: Tue Oct 26 11:49:32 2010 -0400 GVariant: avoid locking in a common case Avoid acquiring the lock on the instance on the case of deserialising a child. We know that it is safe to do this unlocked because a serialised child will never become unserialised. Closes #626320 glib/gvariant-core.c | 69 ++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 30 deletions(-) commit e0caf4fd5ee82cc25806e7e86af14a8bf881c513 Author: Ryan Lortie Date: Mon Oct 25 14:45:19 2010 -0400 GApplicationCommandLine: add printf annotations to g_application_command_line_print{,err} gio/gapplicationcommandline.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8d2513710c5663dc7387d79e443edeb5c75598f Author: Ryan Lortie Date: Mon Oct 25 14:32:07 2010 -0400 Implement (untested) GApplication actions support gio/gactiongroup.h | 29 ++- gio/gapplication.c | 118 +++++++--- gio/gapplicationimpl-dbus.c | 517 ++++++++++++++++++++++++++++++++++++++----- gio/gapplicationimpl.h | 23 +- gio/giotypes.h | 1 + 5 files changed, 607 insertions(+), 81 deletions(-) commit 196cd41f742730950a567c64381e2e8afadfa88c Author: Andika Triwidada Date: Mon Oct 25 22:10:32 2010 +0700 Updated Indonesian translation po/id.po | 695 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 360 insertions(+), 335 deletions(-) commit 66ec8b949ead5593ccb2ce54426fdf7d50ec4077 Author: Matthias Clasen Date: Mon Oct 25 09:55:38 2010 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 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 file changed, 2 insertions(+) commit 7bb731d6136a9975b501757836762b91ad6ac416 Author: Matthias Clasen Date: Mon Oct 25 08:19:34 2010 -0400 Update NEWS for 2.27.1 NEWS | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) commit f67d16c52a244c1db2cf40340700c6dc90ab866a Author: Yinghua Wang Date: Sun Oct 24 03:51:46 2010 +0000 Update Simplified Chinese translation. po/zh_CN.po | 778 ++++++++++++++++++++++++++++++----------------------------- 1 file 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 | 18 +++++++++++--- gio/gioenums.h | 9 ++++--- 3 files changed, 51 insertions(+), 30 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 file 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 deletion(-) 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 file 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 file 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 file changed, 6 insertions(+) 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 file 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 file 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 file changed, 3 insertions(+), 1 deletion(-) 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 file 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(+) 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 file changed, 2 insertions(+), 1 deletion(-) 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 file changed, 1 insertion(+) 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 insertion(+), 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 file 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 file changed, 1 deletion(-) 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 file 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 file changed, 82 insertions(+), 1 deletion(-) 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 file 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 deletion(-) 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 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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(+) 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 file changed, 1 insertion(+), 1 deletion(-) commit cdd58347d1ddc282e55f91d0a991b268547d78d9 Author: Jorge González Date: Sat Oct 9 14:38:08 2010 +0200 Updated Spanish translation po/es.po | 700 ++++++++++++++++++++++++++++++++------------------------------ 1 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file changed, 1 deletion(-) 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 file changed, 2 insertions(+), 1 deletion(-) commit 200e3d7307df75803c03a2aebcbba0dc5eaa9161 Author: Yaron Shahrabani Date: Wed Oct 6 02:18:30 2010 +0200 Updated Hebrew translation. po/he.po | 449 +++++++++++++++++++++++++++++++++----------------------------- 1 file 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 file 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 file 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 file 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 file changed, 7 insertions(+) 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 deletion(-) 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 deletion(-) 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 file changed, 6 insertions(+), 1 deletion(-) 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 file 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 file changed, 6 insertions(+) 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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(+) 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 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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(+) 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 file 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 file changed, 4 insertions(+) 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 file changed, 4 insertions(+) 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 file 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 file changed, 1 insertion(+) 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 file 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 file 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 file changed, 2 insertions(+), 1 deletion(-) 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) commit 01735d6cc09b7d24c2af07f91e1e96fe3cf785d1 Author: Gabor Kelemen Date: Wed Sep 29 14:07:05 2010 +0200 Updated Hungarian translation po/hu.po | 632 ++++++++++++++++++++++++++++++-------------------------------- 1 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 1 insertion(+) 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file changed, 1 insertion(+) 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 file 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 file changed, 1 insertion(+) 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 file 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 file 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 file 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 file 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 file changed, 2 insertions(+) commit 0a68f09494dea14d90ab802862eaa04d1ac54169 Author: Mattias Põldaru Date: Tue Sep 21 19:18:38 2010 +0300 [l10n] Updated Estonian translation po/et.po | 20 ++++++++++---------- 1 file 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 file 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 file 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 file changed, 1 insertion(+), 1 deletion(-) 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 file 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 file 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 file 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 file 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 file 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 file changed, 1 insertion(+), 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 file 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 file 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 file 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 file 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 file 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 file changed, 9 insertions(+) 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 file changed, 4 insertions(+) commit 1bc08279b907529627677c9191664862c063de49 Author: Duarte Loreto Date: Sat Sep 18 12:30:00 2010 +0100 Updated Portuguese translation po/pt.po | 770 ++++++++++++++++++++++++++++++++------------------------------ 1 file 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 file changed, 1 insertion(+), 1 deletion(-) commit dda9707377f43c827860dbce8bf09c7b98e2ad14 Author: Ryan Lortie Date: Fri Sep 17 17:57:19 2010 -0400 release 2.27.0 NEWS | 104 +++++++++++++++++++++++++++++ docs/reference/glib/tmpl/glib-unused.sgml | 40 ----------- docs/reference/glib/tmpl/messages.sgml | 27 ++++++-- docs/reference/glib/tmpl/version.sgml | 41 ++++++++++++ 4 files changed, 166 insertions(+), 46 deletions(-) commit 6393ffa3a6ac50b4b2cc1ed92760544caf9bb90a Author: Ryan Lortie Date: Sat Sep 18 01:18:13 2010 +0300 GDateTime: fix a test that fails from time to time The test fails if it's a different date in the time zone of the machine running the test than it currently is in UTC. glib/tests/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7be2ba4d945682c30a91ff35dac255e0f4a0b038 Author: Ryan Lortie Date: Fri Sep 17 13:27:38 2010 -0400 Bump to version 2.27.0 after branching glib-2-26 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b4ee303ed6bc35b5dbb73bfa4b3a27eaba23a83c Author: Ryan Lortie Date: Fri Sep 17 13:26:50 2010 -0400 .gitignore some test cases gio/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 5109778e939265087d1b1257daf6ba5f454ff346 Author: Ryan Lortie Date: Fri Sep 17 13:20:17 2010 -0400 .gitignore some sgml docs/reference/glib/tmpl/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit cf73ba47f14a5793b9575ce542edf558fe5abee8 Author: Ryan Lortie Date: Fri Sep 17 13:14:59 2010 -0400 Deal with gtk-doc's insane sensitivty to spaces ...by inserting a few of them. glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b0e31ce4891883b3923c40c68347dcf5fe54165 Author: Ryan Lortie Date: Thu Sep 16 04:44:59 2010 -0400 Clean-up/tweaking of GDateTime and GTimeZone docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 99 +- glib/Makefile.am | 2 + glib/gdatetime.c | 2681 +++++++++++++++------------------ glib/gdatetime.h | 247 ++- glib/glib.h | 1 + glib/glib.symbols | 49 +- glib/gtimezone.c | 790 ++++++++++ glib/gtimezone.h | 81 + glib/tests/gdatetime.c | 314 ++-- 10 files changed, 2373 insertions(+), 1892 deletions(-) commit 909289c76330f66b87a51fbfc645fb4d474f1301 Author: Emmanuele Bassi Date: Wed Sep 15 14:47:15 2010 +0100 datetime: Fix hashing Convert to the epoch, just like we do when checking for equality, so that timezones are correctly handled. https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 83 +++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 38 deletions(-) commit 3e9fb52214da793ef1320775f1ab8226bdca6ae2 Author: Emmanuele Bassi Date: Wed Sep 15 14:39:26 2010 +0100 datetime: Rename g_date_time_printf() to g_date_time_format() The function does not use any printf() modifiers, so using printf() is a misnomer. Prior art: strftime, g_ascii_formatd https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 8 ++++---- glib/gdatetime.h | 2 +- glib/tests/gdatetime.c | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit 4bac6613cfca4b0676a51e1df0848fa2e4d35120 Author: Emmanuele Bassi Date: Wed Sep 15 13:55:36 2010 +0100 datetime: Update modifiers for DST changes If a DateTime gets modified to cross the DST state from its previous state then we want to update the DateTime to compensate for the new offset. In other words, if we have a DateTime defined as: DateTime({ y: 2009, m: 8, d: 15, hh: 3, mm: 0, tz: 'Europe/London' }); and we add six months to it, the hour must be changed to 60 minutes behind, as the DST comes into effect. https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 270 +++++++++++++++++++++++++++++------------------- glib/tests/gdatetime.c | 67 +++++++++--- 2 files changed, 220 insertions(+), 117 deletions(-) commit 0746f7403638a6f17c61ec04beb4f692914ce9a0 Author: Emmanuele Bassi Date: Wed Sep 15 10:05:41 2010 +0100 datetime: Allow setting fractionary seconds in new_full() Otherwise we'll have to do: dt = g_date_time_new_full (Y, M, D, h, m, s, tz); tmp = g_date_time_add_usec (dt, usec); g_date_time_unref (dt); dt = tmp; With its additional allocations. https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 6 +++--- glib/gdatetime.h | 2 +- glib/tests/gdatetime.c | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) commit 67f1e52ce2a1372e4f8ffc5fdf292b33120264ab Author: Emmanuele Bassi Date: Tue Sep 14 08:00:40 2010 +0100 datetime: Rework time zone support in constructors Timezone handling is complicated. Really complicated. In order to simplify it a little bit, we need to expose the GTimeZone structure. First of all, we allow creating time zone information directly from the offset and the DST state, and then pass it to the g_date_time_new_full() constructor. We also need to clean up the mess that is UTC-vs.-localtime for the other constructors. We also allow creating a GTimeZone from the Olson zoneinfo database names; a time zone created like this will be "floating": it will just reference the zoneinfo file - which are mmap()'ed, kept in a cache and refcounted. Once the GTimeZone has been associated with a GDateTime, it will be "anchored" to it: the offset will be resolved, as well as the DST state. https://bugzilla.gnome.org/show_bug.cgi?id=50076 docs/reference/glib/glib-sections.txt | 1 - glib/gdatetime.c | 812 +++++++++++++++++++++++---------- glib/gdatetime.h | 39 +- glib/glib.symbols | 11 +- glib/tests/gdatetime.c | 51 ++- 5 files changed, 630 insertions(+), 284 deletions(-) commit bff4ac15d09a3f80551fda41f8ff2e2c1ae30d91 Author: Dan Winship Date: Fri Sep 17 10:21:57 2010 -0400 g_output_stream_write: fix misleadingly ungrammatical documentation pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=626866 gio/goutputstream.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8a7365d892c23573ef659d7a93ce1518ddf58763 Author: Žygimantas Beručka Date: Fri Sep 17 03:48:23 2010 +0300 Updated Lithuanian translation po/lt.po | 128 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 65 deletions(-) commit d6af283f4e76163abd6b4e740cb95861080f1014 Author: Gintautas Miliauskas Date: Thu Sep 16 22:13:54 2010 +0300 Updated Lithuanian translation by Aurimas Cernius. po/lt.po | 2338 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1530 insertions(+), 808 deletions(-) commit 1c658c9c692643463c3f215ef73f8b72b046f2b7 Author: Petr Kovar Date: Thu Sep 16 01:56:26 2010 +0200 Update Czech translation po/cs.po | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 0469782af5bda7fe9e9be9dfc2eda68a98c7ca49 Author: Petr Kovar Date: Wed Sep 15 21:43:18 2010 +0200 Update Czech translation po/cs.po | 2006 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1327 insertions(+), 679 deletions(-) commit 11f06115a4cc6972aedb810848e4a0f06165eb83 Author: Ryan Lortie Date: Wed Sep 15 11:20:51 2010 -0400 Bug 629709 - Empty variants Fix some GVariant bugs uncovered by calling g_variant_new_from_data with invalid data (which it should be immune to). glib/gvariant-core.c | 26 ++++++++++++++++++++++++-- glib/gvariant-serialiser.c | 3 +++ 2 files changed, 27 insertions(+), 2 deletions(-) commit 1c5b96e92b9a5923be4686802025b455fb353429 Author: Jorge González Date: Wed Sep 15 09:10:32 2010 +0200 Updated Spanish translation po/es.po | 1002 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 510 insertions(+), 492 deletions(-) commit 780b76bd3ae9c13ae065fc4bdf84dc10ca69f23d Author: Andika Triwidada Date: Wed Sep 15 07:44:48 2010 +0700 Updated Indonesian translation po/id.po | 968 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 496 insertions(+), 472 deletions(-) commit 1220501ec86b87e6cfe8ab3eac4a1fc6ea7a8acc Author: Christian Persch Date: Tue Sep 14 19:38:14 2010 +0200 GDBusConnection leaks its GCredentials ==7269== 144 bytes in 6 blocks are definitely lost in loss record 1,282 of 1,325 ==7269== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==7269== by 0x4056B74: g_malloc (gmem.c:164) ==7269== by 0x406EDB6: g_slice_alloc (gslice.c:842) ==7269== by 0x406EDFB: g_slice_alloc0 (gslice.c:854) ==7269== by 0x413C627: g_type_create_instance (gtype.c:1867) ==7269== by 0x412276A: g_object_constructor (gobject.c:1480) ==7269== by 0x4121E5D: g_object_newv (gobject.c:1264) ==7269== by 0x4121BD3: g_object_new (gobject.c:1176) ==7269== by 0x417CFB9: g_credentials_new (gcredentials.c:156) ==7269== by 0x41D9DBC: g_unix_credentials_message_deserialize (gunixcredentialsmessage.c:149) ==7269== by 0x41C422C: g_socket_control_message_deserialize (gsocketcontrolmessage.c:198) ==7269== by 0x41BFCE3: g_socket_receive_message (gsocket.c:3289) ==7269== by 0x41D99CE: g_unix_connection_receive_credentials (gunixconnection.c:476) ==7269== by 0x41FA829: _g_dbus_auth_run_server (gdbusauth.c:987) ==7269== by 0x4205DDB: initable_init (gdbusconnection.c:2196) Bug #629689. gio/gdbusconnection.c | 3 +++ 1 file changed, 3 insertions(+) commit 235820d0ef817d549844fa898349e31f28fb833d Author: Ryan Lortie Date: Tue Sep 14 14:55:38 2010 -0400 GVariant: Check for size == 0 in get_bytestring And add a test from David that shows the problem. Closes #629698 glib/gvariant.c | 2 +- glib/tests/gvariant.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) commit 2211ab1240d9bbab2a17197f6d97fafc9373ff46 Author: Piotr Drąg Date: Tue Sep 14 19:10:35 2010 +0200 Updated Polish translation po/pl.po | 2082 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1101 insertions(+), 981 deletions(-) commit f497f3b7aee06cc2d1f04b9f9adf3555353f2579 Author: Ryan Lortie Date: Tue Sep 14 11:25:57 2010 -0400 GSettings: reverse accidental addition to .h file A couple of extra function prototypes snuck into commit 77e3badcf3f15c7ac235904160d775febfcebcb5. Take those out. gio/gsettings.h | 3 --- 1 file changed, 3 deletions(-) commit 7d143d420b0e3d02e1103a0c9decccd18b6024c9 Author: Gabor Kelemen Date: Tue Sep 14 14:10:17 2010 +0200 Updated Hungarian translation po/hu.po | 836 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 430 insertions(+), 406 deletions(-) commit 152f0dd3dbc9237f24830eeea76a84332d4f14a4 Author: Christian.Kirbach Date: Tue Sep 14 11:18:20 2010 +0200 [l10n] Updated German translation po/de.po | 627 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 325 insertions(+), 302 deletions(-) commit 3d1c463b48a6d54b671d7c8f39a7b4efba636d2b Author: Aron Xu Date: Tue Sep 14 16:35:31 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 1307 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 827 insertions(+), 480 deletions(-) commit 5ec302deceeb0c5f5f34be41b775fd295784c012 Author: Timo Jyrinki Date: Tue Sep 14 09:37:45 2010 +0300 (slightly) updated Finnish translation. po/fi.po | 1999 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1323 insertions(+), 676 deletions(-) commit 8fbfcd90adce11c95d9a89c2f79f61a2d72f01ab Author: Philip Withnall Date: Mon Sep 13 23:22:02 2010 +0100 Update British English translation po/en_GB.po | 966 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 495 insertions(+), 471 deletions(-) commit f5edeea0e5791de8d0f0936fa821ecd22fcd30b5 Author: Fran Diéguez Date: Mon Sep 13 23:46:03 2010 +0200 Updated Galician translations po/gl.po | 984 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 504 insertions(+), 480 deletions(-) commit f3770593f8691ce4cc1d597482d9b0f457066848 Author: Matej Urbančič Date: Mon Sep 13 21:54:45 2010 +0200 Updated Slovenian translation po/sl.po | 2534 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1579 insertions(+), 955 deletions(-) commit ba17efc3961b094cc853b66d66e09a3d8b0444a1 Author: Will Thompson Date: Thu Sep 9 17:24:00 2010 +0100 g_strdup_value_contents(): dump GStrv more usefully Previously, dumping a GValue holding a GStrv just yielded "((GStrv *) 0xDEADBEEF)". I think it'd be more useful to dump a Python list-style representation of the GStrv's contents, if it's not NULL. Fixes: gobject/gvaluetypes.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit cb2ddac7a29f534350f07afdbe5631b2f9df176f Author: A S Alam Date: Mon Sep 13 23:09:33 2010 +0530 update for Punjabi po/pa.po | 977 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 497 insertions(+), 480 deletions(-) commit 2e78d07f86d70de274f126a3ff00bd4af90a5c90 Author: Ryan Lortie Date: Tue Mar 23 01:12:01 2010 -0500 Add g_data_input_stream_read_upto{,async,finish} These functions are meant to replace the read_until() flavour, with the following improvements: - consistency between the synchronous and asynchronous versions as to if the separator character is read (it never is). - support for using a nul byte as a separator character by way of addition of a length parameter which allows stop_chars to be treated as a byte array rather than a nul-terminated string. The read_until() functions are not yet formally deprecated, but a note has been added to the documentation warning not to use them as they will be in the future. This is bug #584284. docs/reference/gio/gio-sections.txt | 3 + gio/gdatainputstream.c | 257 ++++++++++++++++++++++++++++------- gio/gdatainputstream.h | 66 +++++---- gio/gio.symbols | 3 + gio/tests/data-input-stream.c | 61 ++++++++- 5 files changed, 312 insertions(+), 78 deletions(-) commit 0ecfc6e1f9fa3439f733fc75cc462218a0a1974e Author: Matthias Clasen Date: Mon Sep 13 12:02:13 2010 -0400 Better msgctxt for month and weekday names The current msgctxt string 'GDateTime" lead to the unability to differentiate between the full and abbreviated name for May. Therefore, the msgctxt strings have been changed to 'full month name' 'abbreviated month name' 'full weekday name' 'abbreviated weekday name' This is a string change, but all translations have been updated using an sed script. Bug 629429 glib/gdatetime.c | 86 +++++++++++++++++++++++++++++------------------------- po/ar.po | 74 +++++++++++++++++++++++----------------------- po/de.po | 74 +++++++++++++++++++++++----------------------- po/en_GB.po | 74 +++++++++++++++++++++++----------------------- po/es.po | 74 +++++++++++++++++++++++----------------------- po/eu.po | 74 +++++++++++++++++++++++----------------------- po/gl.po | 74 +++++++++++++++++++++++----------------------- po/he.po | 74 +++++++++++++++++++++++----------------------- po/hu.po | 74 +++++++++++++++++++++++----------------------- po/id.po | 74 +++++++++++++++++++++++----------------------- po/ja.po | 74 +++++++++++++++++++++++----------------------- po/nb.po | 74 +++++++++++++++++++++++----------------------- po/pa.po | 74 +++++++++++++++++++++++----------------------- po/pl.po | 74 +++++++++++++++++++++++----------------------- po/pt.po | 74 +++++++++++++++++++++++----------------------- po/sr.po | 74 +++++++++++++++++++++++----------------------- po/sr@latin.po | 74 +++++++++++++++++++++++----------------------- po/sv.po | 74 +++++++++++++++++++++++----------------------- po/zh_HK.po | 74 +++++++++++++++++++++++----------------------- po/zh_TW.po | 74 +++++++++++++++++++++++----------------------- 20 files changed, 749 insertions(+), 743 deletions(-) commit bd569dc3c97fb23447951388cc57ff23844f96e3 Author: Matthias Clasen Date: Mon Sep 13 11:58:56 2010 -0400 Adapt POTFILES.in to source file renaming po/POTFILES.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 445f708b8ff93b96ff1e440fe9c26bf8b19ff706 Author: Ryan Lortie Date: Mon Sep 13 12:07:51 2010 -0400 Const 'parser' arg to g_markup_parse_context_push This is a vtable structure and very likely the user has allocated it in static storage and wants it to be const. Since we never modify it, no harm is done to us to have it const. Closes bug #629328. glib/gmarkup.c | 2 +- glib/gmarkup.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 124023b06d39c5b94605368abd8f9576ece45ca4 Author: Tomeu Vizoso Date: Mon Sep 13 17:53:54 2010 +0200 Make g_variant_builder_end's return to be (allow none) because callers need to add a ref to it in addition to sinking it. glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8466ba8dc120c7e95df8a147ade9d5b449727c0e Author: Kristian Rietveld Date: Mon Sep 13 16:52:51 2010 +0200 Include giochannel.c for G_IO_IN, etc. Fixes build on OS X. glib/gpoll.c | 1 + 1 file changed, 1 insertion(+) commit 9cd43d7a4c5d3a50187c2eaba7ab903cf6456d7d Author: Emmanuele Bassi Date: Wed Aug 18 15:32:27 2010 +0100 gobject: Add install_properties() Since we added g_object_notify_by_pspec(), an efficient way to install and notify properties relies on storing the GParamSpec pointers inside a static arrays, like we do for signal identifiers. Instead of multiple calls to g_object_class_install_property(), we should have a single function to take the static array of GParamSpecs and iterate it. https://bugzilla.gnome.org/show_bug.cgi?id=626919 Signed-off-by: Emmanuele Bassi docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.c | 121 ++++++++++++++- gobject/gobject.h | 3 + gobject/gobject.symbols | 1 + gobject/tests/.gitignore | 1 + gobject/tests/Makefile.am | 4 +- gobject/tests/properties.c | 222 +++++++++++++++++++++++++++ 7 files changed, 350 insertions(+), 3 deletions(-) commit 58a40904af47fbc838bea29cc6ab068b26eb74c5 Author: Daniel Nylander Date: Sun Sep 12 20:25:57 2010 +0200 Updated Swedish translation po/sv.po | 700 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 361 insertions(+), 339 deletions(-) commit 681a72ea9923a3b37d8258b2b25e8f734d92bf21 Author: Ryan Lortie Date: Sun Sep 12 13:35:30 2010 -0400 GSettings: no writability->value change assumption GSettings internally assumed that a change in key writability implied a change in value. That may be true for some backends. Let those backends deal with the situation for themselves. gio/gsettings.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit 8a8cdd1d328df0f2429e2c49050dae1aec4abf36 Author: Tor Lillqvist Date: Sun Sep 12 13:58:13 2010 +0300 Add some more individual own header includes where required gio/gdbusprivate.c | 1 + glib/gunicollate.c | 3 +++ glib/guniprop.c | 3 +++ 3 files changed, 7 insertions(+) commit fc3abfffcf63a12f766f86bca29bd71544aa0416 Author: Mario Blättermann Date: Sun Sep 12 11:02:47 2010 +0200 [i18n] Updated German translation po/de.po | 2092 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1382 insertions(+), 710 deletions(-) commit 825576322ab491d79fc272c5d536b241b8dad352 Author: Takayuki KUSANO Date: Sun Sep 12 03:02:24 2010 +0900 Updatede Japanese translation. po/ja.po | 2420 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1568 insertions(+), 852 deletions(-) commit 38a3b1730de7ec40627c2f6f75320e9e432ce12c Author: Tomeu Vizoso Date: Sat Sep 11 17:01:10 2010 +0200 Add annotation for g_variant_get_string glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7f04bf29af35e606920abb2e04a277ccb6de2bd Author: Andika Triwidada Date: Sat Sep 11 16:29:06 2010 +0700 Updated Indonesian translation po/id.po | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) commit dc8dc56ddd5da7d9e4a10891ba917e424cb6b7d8 Author: Tor Lillqvist Date: Sat Sep 11 12:08:32 2010 +0300 dos2unix glib/win_iconv.c glib/win_iconv.c | 3930 +++++++++++++++++++++++++++--------------------------- 1 file changed, 1965 insertions(+), 1965 deletions(-) commit 1254104cea92c02f3d0e9cf10b99382dd7e71439 Author: Benjamin Otte Date: Sat Sep 11 00:12:13 2010 +0200 docs: Clarify string encoding for GFile constructors The encoding was deduced from looking at the source code, feel free to fix if it's wrong (the docs _and_ the source code). gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 0b74058fa3144f85b5fefd4c81129b971010452a Author: David Zeuthen Date: Fri Sep 10 16:21:37 2010 -0400 Add work-around for Bug 627724 The root problem is with GObject - for now, just work around it in GDBus. Also include a test-case. See https://bugzilla.gnome.org/show_bug.cgi?id=627724 for more information. Signed-off-by: David Zeuthen gio/gdbusprivate.c | 44 ++++++++++++++++++++- gio/tests/Makefile.am | 4 ++ gio/tests/gdbus-bz627724.c | 94 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+), 2 deletions(-) commit 12029eeb6a54f2445bde0af314116844122b535b Author: David Zeuthen Date: Fri Sep 10 13:27:48 2010 -0400 Remove g_dbus_message_filter_result_get_type() from gio.symbols Pointed out by danw on IRC. Signed-off-by: David Zeuthen gio/gio.symbols | 1 - 1 file changed, 1 deletion(-) commit bc29aa9b0956dec53c0b957ce879b41329307058 Author: Dan Winship Date: Fri Sep 10 09:12:17 2010 -0400 g_socket_client_connect_async: fix when g_socket_connect succeeds immediately https://bugzilla.gnome.org/show_bug.cgi?id=629251 gio/gsocketclient.c | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) commit 59383c8bea00b8f4bf50cf82ae9f3e7ce1df1a03 Author: Dan Winship Date: Fri Sep 10 08:51:21 2010 -0400 Fix IPv6 parsing in _g_uri_parse_authority, add _g_uri_from_authority Fixes connections to IPv6 address literals. https://bugzilla.gnome.org/show_bug.cgi?id=629259 gio/gnetworkaddress.c | 49 +++++++++++++++++++++++++++++++++++++++++++--- gio/gnetworkingprivate.h | 4 ++++ gio/gnetworkservice.c | 9 +++++---- gio/gsocketaddress.c | 2 +- 4 files changed, 56 insertions(+), 8 deletions(-) commit f8cb2a60b9fb79f4d3719f842d71245d844ee9c0 Author: Ryan Lortie Date: Thu Sep 9 16:28:18 2010 -0400 Add 3 new restrictions to the schema compiler - can not extend schemas that already have paths - can not form list of schemas that already have paths - the path of a list schema, if given, must end with ':/' gio/glib-compile-schemas.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 7777dd2c3951e14fadb56a01b5c31b6404253cd3 Author: Ryan Lortie Date: Thu Sep 9 16:12:45 2010 -0400 Rename gschema-compile.c -> glib-compile-schemas.c gio/Makefile.am | 2 +- gio/glib-compile-schemas.c | 1880 ++++++++++++++++++++++++++++++++++++++++++++ gio/gschema-compile.c | 1880 -------------------------------------------- 3 files changed, 1881 insertions(+), 1881 deletions(-) commit 77e3badcf3f15c7ac235904160d775febfcebcb5 Author: Ryan Lortie Date: Mon Sep 6 12:47:37 2010 -0400 split GSettings.list_items => list_{children,keys} This is an incompatible public API/ABI change. gio/gio.symbols | 3 +- gio/gsettings-tool.c | 18 +++++----- gio/gsettings.c | 88 +++++++++++++++++++++++++++++++++++++++---------- gio/gsettings.h | 6 +++- gio/tests/gsettings.c | 18 ++++++---- 5 files changed, 97 insertions(+), 36 deletions(-) commit 7b4cbbb7b21c9d53922a79aa499892b3de5642dc Author: Ryan Lortie Date: Thu Sep 9 15:45:53 2010 -0400 Create GSettingsListenerVTable ...instead of passing a whole whack of function pointers around This is an internal API. gio/gdelayedsettingsbackend.c | 35 +++++++------ gio/gsettings.c | 48 +++++++++--------- gio/gsettingsbackend.c | 54 ++++++++------------ gio/gsettingsbackendinternal.h | 108 +++++++++++++++++++--------------------- 4 files changed, 115 insertions(+), 130 deletions(-) commit 7c6606854400ba2a4d0c5b5a0eb96ba90845f82e Author: David Zeuthen Date: Thu Sep 9 15:15:13 2010 -0400 GDBusMessage: Don't reset serial number when copying Ryan pointed out that it's safe to do this because we have the G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL flag and that it simplifies how filter functions work. Signed-off-by: David Zeuthen gio/gdbusconnection.h | 12 ++++++------ gio/gdbusmessage.c | 3 ++- gio/gdbusprivate.c | 6 ------ gio/tests/gdbus-message.c | 2 +- 4 files changed, 9 insertions(+), 14 deletions(-) commit a51df8cefb17cdaea61a468076e0b67868439b4d Author: David Zeuthen Date: Thu Sep 9 14:14:45 2010 -0400 GUnixConnection: Remove comment about Linux Since the previous commit, the g_unix_connection_send_credentials() / g_unix_connection_receive_credentials() functions now also works on FreeBSD since GUnixCredentialsMessage now works there. The main idea is that the g_unix_connection_send_credentials() / g_unix_connection_receive_credentials() functions are the "main" API for getting credentials (one way or the other). So it's better to avoid advertising where it is currently implemented. Signed-off-by: David Zeuthen gio/gunixconnection.c | 2 -- 1 file changed, 2 deletions(-) commit 964eb62343b53cf9172d409adacbb58d78896092 Author: Joe Marcus Clarke Date: Thu Sep 9 14:10:01 2010 -0400 Bug 628904 – Add credential support for FreeBSD and fix a socket issue Signed-off-by: David Zeuthen gio/gcredentials.c | 53 +++++++++++++++++++++++++++++++++++++++++ gio/gioenums.h | 4 +++- gio/gsocket.c | 9 +++++-- gio/gunixcredentialsmessage.c | 46 +++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 3 deletions(-) commit ee945d8f621609086a8777ca4226cb93308c12e4 Author: David Zeuthen Date: Thu Sep 9 14:00:46 2010 -0400 GDBusServer: Make ::new-connection return whether the connection was claimed Otherwise things probably won't work in a garbage-collected world (consider the trivial GC that never collects garbage). This commit breaks GDBusServer ABI. No known released software is using this code. Signed-off-by: David Zeuthen gio/gdbusserver.c | 34 ++++++++++++++++++++++------------ gio/gio-marshal.list | 1 + gio/tests/gdbus-example-peer.c | 4 +++- gio/tests/gdbus-peer.c | 12 +++++++++--- 4 files changed, 35 insertions(+), 16 deletions(-) commit c3371efcaa47b03941c6c8148687b0a21d18dfbe Author: David Zeuthen Date: Thu Sep 9 13:21:35 2010 -0400 Bug 624546 – Modification of GDBusMessage in filter function Rework filter functions as per https://bugzilla.gnome.org/show_bug.cgi?id=624546#c8 This commit breaks ABI. However, this ABI break affects only applications using filter functions. The only known user of is dconf. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 - gio/gdbusconnection.c | 95 ++++++++++++++--------------------- gio/gdbusconnection.h | 81 +++++++++++++++++++++++------ gio/gdbusprivate.c | 37 ++++++++------ gio/gdbusprivate.h | 6 +-- gio/gioenums.h | 25 --------- gio/tests/gdbus-connection.c | 69 ++++++++++++++++--------- gio/tests/gdbus-peer.c | 4 +- 8 files changed, 175 insertions(+), 143 deletions(-) commit 3d8095588a149826872d97151db6370e9772c42e Author: David Zeuthen Date: Thu Sep 9 12:00:00 2010 -0400 Fix tmpl files Signed-off-by: David Zeuthen docs/reference/glib/tmpl/conversions.sgml | 12 +-- docs/reference/glib/tmpl/glib-unused.sgml | 40 ++++++++ docs/reference/glib/tmpl/gregex.sgml | 142 ++++++++++++++--------------- docs/reference/glib/tmpl/messages.sgml | 27 ++---- docs/reference/glib/tmpl/version.sgml | 41 --------- 5 files changed, 122 insertions(+), 140 deletions(-) commit 67a00658eadfd99ffd1be8cb5a7387e3d77e63a7 Author: David Zeuthen Date: Thu Sep 9 11:37:14 2010 -0400 GDBusMessage: Make it possible to lock and copy messages Don't actually use this yet as that will require a couple of modifications to the filter function signature. This is part of the bug-fix for https://bugzilla.gnome.org/show_bug.cgi?id=624546#c8 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 + gio/gdbusmessage.c | 210 ++++++++++++++++++++++++++++++++++- gio/gdbusmessage.h | 5 +- gio/gio.symbols | 3 + gio/tests/Makefile.am | 4 + gio/tests/gdbus-message.c | 153 +++++++++++++++++++++++++ 6 files changed, 375 insertions(+), 3 deletions(-) commit 016cecb179de46defe84d674c277add5c2a1bd3f Author: Emmanuele Bassi Date: Wed Sep 8 11:58:42 2010 +0300 Revert hack that broke things badly on Windows This should fix bug #628952. Don't include glib/gdatasetprivate.h directly. Especially don't define GLIB_COMPILATION when doing that, as that causes breakage on Windows because of the variable dllimport/dllexport stuff in gtypes.h that checks GLIB_COMPILATION. That macro really should be defined only when compiling code that goes into the libglib DLL. Otherwise the compiler thinks that variables that should be imported from libglib are actually defined in the code being compiled. Just call g_atomic_pointer_get() as such, don't bother with G_DATALIST_GET_FLAGS. Signed-off-by: Tor Lillqvist gobject/gobject.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 349322622a46cafbda7d4d16c0fa9b245467d720 Author: Inaki Larranaga Murgoitio Date: Tue Sep 7 18:03:19 2010 +0200 Updated Basque language po/eu.po | 2300 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1526 insertions(+), 774 deletions(-) commit e96bbfe63a3d6f1a16a417ce0d1f839b77cf4f93 Author: Piotr Drąg Date: Tue Sep 7 17:43:37 2010 +0200 Updated Polish translation po/pl.po | 1791 +++++++++++++++++++++++++------------------------------------- 1 file changed, 713 insertions(+), 1078 deletions(-) commit c3a7e51edfadbd9fb53db5c9443aa64d82dd763d Author: Piotr Drąg Date: Tue Sep 7 17:42:19 2010 +0200 Updated Polish translation po/pl.po | 2578 +++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 1800 insertions(+), 778 deletions(-) commit c406b272a6b9d89f3061632507d7fc2538011b34 Author: Duarte Loreto Date: Tue Sep 7 00:33:02 2010 +0100 Updated Portuguese translation po/pt.po | 276 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 153 insertions(+), 123 deletions(-) commit 5a0ba0f7fc056ec800454f4977d3307c879335d4 Author: Duarte Loreto Date: Tue Sep 7 00:29:36 2010 +0100 Updated Portuguese translation po/pt.po | 2291 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1494 insertions(+), 797 deletions(-) commit d0a4fae95f46e9b6a67057f241d7b904b5a7dbd3 Author: Daniel Nylander Date: Mon Sep 6 23:10:09 2010 +0200 Updated Swedish translation po/sv.po | 849 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 582 insertions(+), 267 deletions(-) commit 3b9055265fd30a215cbd230dc61f77ef02337193 Author: Gabor Kelemen Date: Mon Sep 6 15:07:02 2010 +0200 Updated Hungarian translation po/hu.po | 2287 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1503 insertions(+), 784 deletions(-) commit 548ddd5fe92fd9e14e217e68930bd036bffadc5f Author: Tor Lillqvist Date: Mon Sep 6 15:56:16 2010 +0300 Fix build on Windows and possibly other non-Linux platforms Include glibconfig.h in files that test G_OS_WIN32. Include headers for GLib APIs used conditionally where needed. glib/gbacktrace.c | 1 + glib/gconvert.c | 6 ++++++ glib/gdate.c | 5 +++++ glib/gfileutils.c | 1 + glib/gmain.c | 18 ++++++++++++++++++ glib/gpoll.c | 4 ++++ glib/gslice.c | 1 + glib/gstdio.c | 1 + glib/gtimer.c | 2 +- glib/gutils.c | 6 ++++++ 10 files changed, 44 insertions(+), 1 deletion(-) commit 2aa135ee3d7b0a3e3140ce994ef0f554cadf9ab4 Author: Emmanuele Bassi Date: Mon Sep 6 12:26:40 2010 +0100 Whitespace fixes glib/gdatetime.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 43098d0038ce1273844e2fba34cfa2408cd6e3bd Author: Damien Lespiau Date: Sun Sep 5 21:47:44 2010 +0100 datetime: Rename shadowing variables timezone and tzname shadow variables declared in time.h. Let's rename them to time_zone and tz_name then. https://bugzilla.gnome.org/show_bug.cgi?id=628839 glib/gdatetime.c | 46 +++++++++++++++++++++++----------------------- glib/gdatetime.h | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) commit 875ad12345e22b3189e524d9bede58f6e7b5cf88 Author: Thiago Santos Date: Fri Sep 3 14:43:11 2010 +0100 gdatetime: Use proleptic gregorian Use Proleptic Gregorian calendar instead of the Julian calendar as the internal representation. https://bugzilla.gnome.org/show_bug.cgi?id=50076 Signed-off-by: Emmanuele Bassi glib/gdatetime.c | 225 +++++++++++++++++++++++++++--------------------- glib/tests/gdatetime.c | 32 +++++++ 2 files changed, 161 insertions(+), 96 deletions(-) commit 6bb89501cf7bfb5e4365d8dd3ef045a0c096af0c Author: Christian Hergert Date: Tue Aug 31 09:27:58 2010 -0700 datetime: use g_utf8_next_char() to walk utf8 string Previously, the format string was iterated many times by walking to the given offset in the string repeatedly. This patch instead walks the string using g_utf8_next_char(). Additionally, the character for lookups was a char and could loose content. This uses gunichar instead. https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) commit 52e44ddec27cca394e7aa047d994530783b7026a Author: Christian Hergert Date: Tue Aug 31 09:10:16 2010 -0700 datetime: avoid using __year These were left over from when the inline functions where implemented as macros. They are no longer needed and where clashing with the global __year anyway. https://bugzilla.gnome.org/show_bug.cgi?id=50076 glib/gdatetime.c | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) commit 64300c0cc44b206db3f4dd206cced56ddda33038 Author: Emmanuele Bassi Date: Thu Aug 26 15:23:13 2010 +0100 datetime: Add get_week_of_year() https://bugzilla.gnome.org/show_bug.cgi?id=628029 Based on a patch by: Joseph Pingenot Signed-off-by: Emmanuele Bassi docs/reference/glib/glib-sections.txt | 25 +++++++++++++------------ glib/gdatetime.c | 21 +++++++++++++++++++++ glib/gdatetime.h | 1 + glib/glib.symbols | 1 + 4 files changed, 36 insertions(+), 12 deletions(-) commit 70ef2e3bf64b4bfe85d2cf60daf95c50aa292039 Author: Emmanuele Bassi Date: Thu Aug 26 13:11:46 2010 +0100 datetime: Rename internal method Use add_ymd(), to reflect the order of the arguments. glib/gdatetime.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 959886d95e0f4caafbfd300320dc8055e8bbbac7 Author: Emmanuele Bassi Date: Mon Sep 6 11:43:04 2010 +0100 build: Fix warnings caused by missing includes glib/giounix.c | 1 + glib/gslice.c | 2 ++ glib/gspawn.c | 2 ++ 3 files changed, 5 insertions(+) commit 438d195d19f627dc9da9d72ca153f5caba5db151 Author: Khaled Hosny Date: Sun Sep 5 16:23:00 2010 +0200 Updated Arabic translation po/ar.po | 1982 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1297 insertions(+), 685 deletions(-) commit f4c84a59f89f3f22958cf5b263963e801d76065d Author: Chao-Hsiung Liao Date: Sun Sep 5 19:24:01 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 546 +++++++++++++++++++++++++++++++++++++++++------------------ po/zh_TW.po | 546 +++++++++++++++++++++++++++++++++++++++++------------------ 2 files changed, 758 insertions(+), 334 deletions(-) commit f13d5612116de1e968764721fbc60b8e1d378430 Author: Matthias Clasen Date: Sun Sep 5 00:23:03 2010 -0400 More header inclusion cleanup glib/gatomic-gcc.c | 2 +- glib/gatomic.c | 2 +- glib/gerror.c | 4 +++- glib/giounix.c | 10 +++++++--- glib/gprintf.c | 1 - glib/gslice.c | 15 +++++++++------ glib/gspawn.c | 7 ++++++- glib/gunidecomp.c | 3 ++- glib/gutils.c | 10 +++++++++- 9 files changed, 38 insertions(+), 16 deletions(-) commit 19972a1b57ef092067f001bb8d870fa552cc20a2 Author: Emmanuele Bassi Date: Sat Sep 4 18:24:50 2010 +0100 build: Quench the compiler's thirst for warnings gio/gdbusauthmechanismsha1.c | 1 + gio/gdbusmessage.c | 1 + gio/gdbusproxy.c | 1 + gio/gdbusserver.c | 1 + gio/tests/gdbus-introspection.c | 5 ++++- gio/tests/gdbus-peer.c | 1 + 6 files changed, 9 insertions(+), 1 deletion(-) commit 581e68b7d3f57654d881cea6de7bdfabae62e368 Author: Emmanuele Bassi Date: Sat Sep 4 18:15:15 2010 +0100 gmain: Define _GNU_SOURCE before including glibconfig.h As it pulls in unistd.h from something else. glib/gmain.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit ca7dee5949185cd43a1f71c4e2b15987a0cc3160 Author: Emmanuele Bassi Date: Sat Sep 4 18:04:34 2010 +0100 Build fixes for the fall-out of the inclusion changes glib/gbacktrace.c | 3 +++ glib/gchecksum.c | 1 + glib/gdataset.c | 1 + glib/gdatetime.c | 3 +++ glib/gdatetime.h | 2 +- glib/gdir.c | 1 + glib/ghash.c | 1 + glib/ghostutils.c | 1 + glib/giochannel.c | 1 + glib/gpoll.c | 1 + glib/grand.c | 1 + glib/gscanner.c | 1 + glib/gshell.c | 1 + 13 files changed, 17 insertions(+), 1 deletion(-) commit b1dbcc40237f77f3648b8f5fd654ce30d260f7ba Author: Emmanuele Bassi Date: Sat Sep 4 18:03:33 2010 +0100 gtimer: Fix a compilation warning glib/gtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 01a46e5c652ec8030226a9cf54025e175f56caac Author: Emmanuele Bassi Date: Sat Sep 4 17:22:39 2010 +0100 Hack to include glib/gdatasetprivate.h directly The gdatasetprivate.h header includes gatomic.h directly. It all works well in GLib, but inside GObject it will trigger the single inclusion guard. Since this is a private header, and it's kind of a special case, one way to fix it is to declare GLIB_COMPILATION around it and fool the single inclusion guard in gatomic.h into thinking we're compiling GLib and not GObject. gobject/gobject.c | 5 +++++ 1 file changed, 5 insertions(+) commit 82db1446b39a4579b342b89fd0eba50c4f93441b Author: Emmanuele Bassi Date: Sat Sep 4 17:22:18 2010 +0100 Add missing gstrfuncs.h include For g_strdup() and friends. glib/gutf8.c | 1 + 1 file changed, 1 insertion(+) commit 04077ff5c5f57dd8c55c47bfb80d551e594a525c Author: Matthias Clasen Date: Fri Sep 3 23:03:14 2010 -0400 More include cleanups glib/gconvert.c | 16 +- glib/gdataset.c | 11 +- glib/gdate.c | 10 +- glib/gdir.c | 4 +- glib/gfileutils.c | 4 +- glib/ghash.c | 5 +- glib/ghook.c | 8 +- glib/ghostutils.c | 11 +- glib/giochannel.c | 3 +- glib/gmain.c | 17 +- glib/gpoll.c | 2 +- glib/gqsort.c | 4 +- glib/gscanner.c | 27 +- glib/gshell.c | 9 +- glib/gstdio.c | 2 - glib/gstrfuncs.c | 1128 ++++++++++++++++++++++++++-------------------------- glib/gthreadpool.c | 7 +- glib/gtimer.c | 10 +- glib/gunicollate.c | 7 +- glib/guniprop.c | 6 +- 20 files changed, 672 insertions(+), 619 deletions(-) commit dc2e46b2aa5b57883379807421eb1d0493ae343e Author: Matthias Clasen Date: Fri Sep 3 21:24:40 2010 -0400 Don't include glib.h in other headers glib/gdatasetprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2effb8d0eaf8041615dda14e4cc82ed764255859 Author: Matthias Clasen Date: Fri Sep 3 21:20:07 2010 -0400 Remove excessive header includes glib/goption.c | 1898 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 951 insertions(+), 947 deletions(-) commit 7c68050451b0480673bb389c70f238fcd871790b Author: Matthias Clasen Date: Fri Sep 3 21:15:45 2010 -0400 Remove excessive header includes glib/gdatetime.c | 8 ++++---- glib/gdatetime.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit aad19216518126306a385dd5b6fb2448bc1d3b22 Author: Matthias Clasen Date: Fri Sep 3 21:12:03 2010 -0400 Don't include glib.h in other headers glib/gunicodeprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 349aec676c01d72c42ce186b258fdde52acd6611 Author: Matthias Clasen Date: Fri Sep 3 20:57:05 2010 -0400 Remove excessive header inclusions glib/glist.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 633f438300ab08b97f8f4ea8ff1b06bd8413cf24 Author: Matthias Clasen Date: Fri Sep 3 20:55:17 2010 -0400 Remove excessive header inclusions glib/gqueue.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 7ddd2100c36215b8806569933d046b96d7eea09a Author: Matthias Clasen Date: Fri Sep 3 20:53:37 2010 -0400 Remove excessive header inclusions glib/gmarkup.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 56818094485fdfb26ee57b86afe1526704158a73 Author: Matthias Clasen Date: Fri Sep 3 20:51:08 2010 -0400 Remove excessive header inclusions glib/gmessages.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit a376d9f4c85bdac832f404175b4e65e0a81825a1 Author: Matthias Clasen Date: Fri Sep 3 20:46:40 2010 -0400 Remove some unneeded headers glib/gnode.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 92c577eeff6c42247a4eb3a74eb3f4894a143f9d Author: Matthias Clasen Date: Fri Sep 3 20:44:59 2010 -0400 Remove eexcessive header inclusions glib/grand.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 0a9eb80798274cb4faffcf8bd6fee829d767b336 Author: Matthias Clasen Date: Fri Sep 3 20:41:52 2010 -0400 Remove redundant header inclusions glib/gprimes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6e3b14e155d08e7fee722c282f2b0c42c4bb7bbe Author: Matthias Clasen Date: Fri Sep 3 20:38:30 2010 -0400 Remove redundant header inclusions glib/gunibreak.c | 1 - glib/gunibreak.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) commit c5049d86f94cc7f943ee63c93bb01100e759769b Author: Matthias Clasen Date: Fri Sep 3 20:34:15 2010 -0400 Remove redundant header inclusions glib/gstring.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 96d87da379879f20e2c162b468525aaa1a0a82dd Author: Matthias Clasen Date: Fri Sep 3 20:30:54 2010 -0400 Remove redundant header inclusions glib/gregex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3e2f1e38255d8157a2ecf244d6a5f6515b8c2d6b Author: Matthias Clasen Date: Fri Sep 3 20:27:45 2010 -0400 Remove redundant header inclusions and some whitespace cleanup. glib/gsequence.c | 638 +++++++++++++++++++++++++++--------------------------- 1 file changed, 320 insertions(+), 318 deletions(-) commit 8f81ee86ee307448d9a687c01d4958914e5ebc90 Author: Matthias Clasen Date: Fri Sep 3 20:15:16 2010 -0400 Remove redundant header inclusions glib/gslist.c | 345 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 173 insertions(+), 172 deletions(-) commit d95c6b88348a7c6480c3368d7762137a40a490ba Author: Matthias Clasen Date: Fri Sep 3 20:12:09 2010 -0400 Remove redundant header inclusions glib/gvariant-parser.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 1409bbab674d935dd3e8072a17719be1e0ba9d66 Author: Matthias Clasen Date: Fri Sep 3 20:05:27 2010 -0400 Remove redundant header inclusions glib/gtree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9471902d4d386328f248e2db2e3be895c4ecd5f1 Author: Matthias Clasen Date: Fri Sep 3 20:01:55 2010 -0400 Remove redundant header inclusions glib/gutf8.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit ebcdbd9555b7a1a06ad666d1fef187779f085ea1 Author: Matthias Clasen Date: Fri Sep 3 19:49:34 2010 -0400 Remove redundant header inclusions and clean up some whitespace glib/gchecksum.c | 50 ++++++++++++++++++++++++++------------------------ glib/gchecksum.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 46 insertions(+), 44 deletions(-) commit 9b3fb41a5e4fd9d87c606dcea0fd1cd505b54311 Author: Matthias Clasen Date: Fri Sep 3 19:41:49 2010 -0400 Remove redundant header inclusions and clean up some whitespace glib/gbacktrace.c | 58 +++++++++++++++++++++++++++-------------------------- glib/gbacktrace.h | 14 ++++++------- 2 files changed, 37 insertions(+), 35 deletions(-) commit 156a3f71952e37aef199ab381f552a5fe014decb Author: Matthias Clasen Date: Fri Sep 3 19:38:56 2010 -0400 Whitespace cleanup glib/gcache.c | 28 ++++++++++++++-------------- glib/gcache.h | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) commit 8300820f7bacd8eb85446be5a5edd7829bd640a6 Author: Matthias Clasen Date: Fri Sep 3 19:37:54 2010 -0400 Remove redundant header inclusions glib/gcache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5d4ef36f91074a4477bca67e2519e2ca13f3ae2c Author: Matthias Clasen Date: Fri Sep 3 19:33:11 2010 -0400 Whitespace cleanup glib/gbase64.c | 196 ++++++++++++++++++++++++++++---------------------------- glib/gbase64.h | 44 ++++++------- 2 files changed, 120 insertions(+), 120 deletions(-) commit 489b780bb95d9941617ab21160823e0ad268f1b7 Author: Matthias Clasen Date: Fri Sep 3 19:32:02 2010 -0400 Remove redundant header inclusions glib/gbase64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4e5532ec51e7091656f2853895cee3dc69f8ad5e Author: Matthias Clasen Date: Fri Sep 3 19:03:34 2010 -0400 Sort extensions properly Just taking the difference of the priorities has overflow issues, as pointed out in bug 623069. gio/giomodule.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 42080449d078c27f2098419b27d0f63269ee2d70 Author: Matthias Clasen Date: Fri Sep 3 18:11:08 2010 -0400 Add a note about size limits of private structures Also add some assertions to check these limits, instead of failing silently. Bug 604479. gobject/gtype.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit db4fb1b115b2cd4142454db64da2b0abfedcd31b Author: Christian Persch Date: Fri Sep 3 16:05:28 2010 -0400 Plug a mem leak in the gdbus-proxy test ==23341== 65 bytes in 3 blocks are definitely lost in loss record 927 of 1,020 ==23341== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==23341== by 0x4057094: g_malloc (gmem.c:134) ==23341== by 0x40573DB: g_malloc_n (gmem.c:281) ==23341== by 0x40717FC: g_strdup (gstrfuncs.c:101) ==23341== by 0x4147F56: value_lcopy_string (gvaluetypes.c:313) ==23341== by 0x4123F0B: g_object_get_valist (gobject.c:1643) ==23341== by 0x41240FF: g_object_get (gobject.c:1731) ==23341== by 0x804C39E: test_basic (gdbus-proxy.c:522) Bug #628331. gio/tests/gdbus-proxy.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 5de1bf4a91f405ed5bca4768961e830c8b95e48c Author: Christian Persch Date: Fri Sep 3 16:04:29 2010 -0400 Plug a mem leak in the gdbus-proxy test ==23341== 85 (24 direct, 61 indirect) bytes in 1 blocks are definitely lost in loss record 900 of 971 ==23341== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==23341== by 0x4057094: g_malloc (gmem.c:134) ==23341== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==23341== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==23341== by 0x403A751: g_error_new_valist (gerror.c:54) ==23341== by 0x403AAD4: g_set_error (gerror.c:240) ==23341== by 0x420B807: decode_method_reply (gdbusconnection.c:4774) ==23341== by 0x420C2BA: g_dbus_connection_call_sync (gdbusconnection.c:5188) ==23341== by 0x421B7C9: g_dbus_proxy_call_sync (gdbusproxy.c:2477) ==23341== by 0x804BD89: test_bogus_method_return (gdbus-proxy.c:430) Bug #628331. gio/tests/gdbus-proxy.c | 1 + 1 file changed, 1 insertion(+) commit be33ef85d0a89c2ded655785a4b930926e403e64 Author: Christian Persch Date: Fri Sep 3 16:03:48 2010 -0400 Plug some mem leaks in gdbus-peer test ==29535== 56 (24 direct, 32 indirect) bytes in 1 blocks are definitely lost in loss record 1,112 of 1,264 ==29535== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==29535== by 0x4057094: g_malloc (gmem.c:134) ==29535== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==29535== by 0x406F364: g_slice_copy (gslice.c:858) ==29535== by 0x403A9B2: g_error_copy (gerror.c:160) ==29535== by 0x42066D3: initable_init (gdbusconnection.c:2314) ==29535== by 0x41A73E5: g_initable_init (ginitable.c:105) ==29535== by 0x41A7587: g_initable_new_valist (ginitable.c:218) ==29535== by 0x41A742A: g_initable_new (ginitable.c:138) ==29535== by 0x4206DCC: g_dbus_connection_new_for_address_sync (gdbusconnection.c:2585) ==29535== by 0x804D63A: test_nonce_tcp (gdbus-peer.c:1229) ==29535== 107 (24 direct, 83 indirect) bytes in 1 blocks are definitely lost in loss record 1,188 of 1,264 ==29535== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==29535== by 0x4057094: g_malloc (gmem.c:134) ==29535== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==29535== by 0x406F364: g_slice_copy (gslice.c:858) ==29535== by 0x403A9B2: g_error_copy (gerror.c:160) ==29535== by 0x42066D3: initable_init (gdbusconnection.c:2314) ==29535== by 0x41A73E5: g_initable_init (ginitable.c:105) ==29535== by 0x41A7587: g_initable_new_valist (ginitable.c:218) ==29535== by 0x41A742A: g_initable_new (ginitable.c:138) ==29535== by 0x4206DCC: g_dbus_connection_new_for_address_sync (gdbusconnection.c:2585) ==29535== by 0x804D8E8: test_nonce_tcp (gdbus-peer.c:1259) ==29535== 112 (24 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 1,193 of 1,264 ==29535== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==29535== by 0x4057094: g_malloc (gmem.c:134) ==29535== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==29535== by 0x406F364: g_slice_copy (gslice.c:858) ==29535== by 0x403A9B2: g_error_copy (gerror.c:160) ==29535== by 0x42066D3: initable_init (gdbusconnection.c:2314) ==29535== by 0x41A73E5: g_initable_init (ginitable.c:105) ==29535== by 0x41A7587: g_initable_new_valist (ginitable.c:218) ==29535== by 0x41A742A: g_initable_new (ginitable.c:138) ==29535== by 0x4206DCC: g_dbus_connection_new_for_address_sync (gdbusconnection.c:2585) ==29535== by 0x804D79A: test_nonce_tcp (gdbus-peer.c:1248) ==29535== 73 (24 direct, 49 indirect) bytes in 1 blocks are definitely lost in loss record 1,152 of 1,264 ==29535== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==29535== by 0x4057094: g_malloc (gmem.c:134) ==29535== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==29535== by 0x406F364: g_slice_copy (gslice.c:858) ==29535== by 0x403A9B2: g_error_copy (gerror.c:160) ==29535== by 0x42066D3: initable_init (gdbusconnection.c:2314) ==29535== by 0x41A73E5: g_initable_init (ginitable.c:105) ==29535== by 0x41A7587: g_initable_new_valist (ginitable.c:218) ==29535== by 0x41A742A: g_initable_new (ginitable.c:138) ==29535== by 0x4206DCC: g_dbus_connection_new_for_address_sync (gdbusconnection.c:2585) ==29535== by 0x804C6CE: test_peer (gdbus-peer.c:803) Bug #628331. gio/tests/gdbus-peer.c | 4 ++++ 1 file changed, 4 insertions(+) commit 3df586613916b44cb23edb296f5f468ac6bd80f2 Author: Christian Persch Date: Fri Sep 3 16:02:11 2010 -0400 Plug a mem leak in the gdbus-peer test ==6793== 32 (24 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 779 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==6793== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==6793== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==6793== by 0x412372A: g_object_constructor (gobject.c:1482) ==6793== by 0x4122E1D: g_object_newv (gobject.c:1266) ==6793== by 0x4122B93: g_object_new (gobject.c:1178) ==6793== by 0x41DB4F9: g_unix_fd_list_new (gunixfdlist.c:159) ==6793== by 0x804AADD: test_interface_method_call (gdbus-peer.c:172) Bug #628331. gio/tests/gdbus-peer.c | 1 + 1 file changed, 1 insertion(+) commit bd2faedefdbbfa0cbe5c0ee2b3e50eed91617990 Author: Christian Persch Date: Fri Sep 3 16:01:10 2010 -0400 Plug a mem leak in network-address test ==4616== 46 (32 direct, 14 indirect) bytes in 1 blocks are definitely lost in loss record 193 of 305 ==4616== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==4616== by 0x4057094: g_malloc (gmem.c:134) ==4616== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==4616== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==4616== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==4616== by 0x412372A: g_object_constructor (gobject.c:1482) ==4616== by 0x4123147: g_object_newv (gobject.c:1347) ==4616== by 0x41236BB: g_object_new_valist (gobject.c:1463) ==4616== by 0x4122BB4: g_object_new (gobject.c:1181) ==4616== by 0x41B2D0F: g_network_address_new (gnetworkaddress.c:262) ==4616== by 0x8048A70: test_basic (network-address.c:10) Bug #628331. gio/tests/network-address.c | 2 ++ 1 file changed, 2 insertions(+) commit fa6937603c098e8c6e83c8e3bd35ed7bab56ca38 Author: Christian Persch Date: Fri Sep 3 16:00:15 2010 -0400 Plug a mem leak in contexts test ==14059== 96 bytes in 2 blocks are definitely lost in loss record 520 of 543 ==14059== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==14059== by 0x4057094: g_malloc (gmem.c:134) ==14059== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==14059== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==14059== by 0x41385BB: g_type_create_instance (gtype.c:1867) ==14059== by 0x411E72A: g_object_constructor (gobject.c:1482) ==14059== by 0x411DE1D: g_object_newv (gobject.c:1266) ==14059== by 0x411DB93: g_object_new (gobject.c:1178) ==14059== by 0x42296AF: _g_local_file_input_stream_new (glocalfileinputstream.c:152) ==14059== by 0x422281F: g_local_file_read (glocalfile.c:1322) ==14059== by 0x418A8A9: open_read_async_thread (gfile.c:5050) ==14059== by 0x41B71BB: run_in_thread (gsimpleasyncresult.c:853) ==14059== by 0x41A5FBC: io_job_thread (gioscheduler.c:181) ==14059== by 0x407DCDE: g_thread_pool_thread_proxy (gthreadpool.c:314) ==14059== by 0x407C6B0: g_thread_create_proxy (gthread.c:1897) ==14059== by 0x57D918: start_thread (pthread_create.c:301) ==14059== by 0x4C6CBD: clone (clone.S:133) Bug #628331. gio/tests/contexts.c | 2 ++ 1 file changed, 2 insertions(+) commit 60349ecc4d41c57d9461355a137316aef224b3c2 Author: Christian Persch Date: Fri Sep 3 15:58:51 2010 -0400 Plug mem leaks in contexts test ==2464== 80 (16 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 515 of 547 ==2464== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2464== by 0x4057094: g_malloc (gmem.c:134) ==2464== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2464== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2464== by 0x41385BB: g_type_create_instance (gtype.c:1867) ==2464== by 0x411E72A: g_object_constructor (gobject.c:1482) ==2464== by 0x411DE1D: g_object_newv (gobject.c:1266) ==2464== by 0x411DB93: g_object_new (gobject.c:1178) ==2464== by 0x4220D74: _g_local_file_new (glocalfile.c:310) ==2464== by 0x422C897: g_local_vfs_get_file_for_path (glocalvfs.c:84) ==2464== by 0x41CA91C: g_vfs_get_file_for_path (gvfs.c:94) ==2464== by 0x418C1B6: g_file_new_for_path (gfile.c:5898) ==2464== by 0x8049509: test1_thread (contexts.c:110) ==2464== 80 (16 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 516 of 547 ==2464== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2464== by 0x4057094: g_malloc (gmem.c:134) ==2464== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2464== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2464== by 0x41385BB: g_type_create_instance (gtype.c:1867) ==2464== by 0x411E72A: g_object_constructor (gobject.c:1482) ==2464== by 0x411DE1D: g_object_newv (gobject.c:1266) ==2464== by 0x411DB93: g_object_new (gobject.c:1178) ==2464== by 0x4220D74: _g_local_file_new (glocalfile.c:310) ==2464== by 0x422C897: g_local_vfs_get_file_for_path (glocalvfs.c:84) ==2464== by 0x41CA91C: g_vfs_get_file_for_path (gvfs.c:94) ==2464== by 0x418C1B6: g_file_new_for_path (gfile.c:5898) ==2464== by 0x804964D: test_context_independence (contexts.c:144) Bug #628331. gio/tests/contexts.c | 2 ++ 1 file changed, 2 insertions(+) commit e4a6b1dcdc9bbe0b5d06228a662d8f3d0ce50e9c Author: Christian Persch Date: Fri Sep 3 15:57:26 2010 -0400 Plug a mem leak in buffered-input-stream test ==2429== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 276 of 355 ==2429== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2429== by 0x4057094: g_malloc (gmem.c:134) ==2429== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2429== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2429== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2429== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2429== by 0x4175525: g_buffered_input_stream_read_byte (gbufferedinputstream.c:880) ==2429== by 0x804A21A: test_read_byte (buffered-input-stream.c:153) Bug #628331. gio/tests/buffered-input-stream.c | 1 + 1 file changed, 1 insertion(+) commit 01a19dee6855d3caede22ef8dc28606ee89cf60e Author: Christian Persch Date: Fri Sep 3 15:56:23 2010 -0400 Plug a mem leak in g-icon test ==2428== 256 bytes in 1 blocks are definitely lost in loss record 591 of 604 ==2428== at 0x4005CD2: realloc (vg_replace_malloc.c:476) ==2428== by 0x40571A5: g_realloc (gmem.c:181) ==2428== by 0x4075287: g_string_maybe_expand (gstring.c:395) ==2428== by 0x40760D8: g_string_insert_c (gstring.c:1049) ==2428== by 0x4074D41: g_string_append_c_inline (gstring.h:153) ==2428== by 0x4075B3C: g_string_append_uri_escaped (gstring.c:822) ==2428== by 0x41A46AC: g_icon_to_string_tokenized (gicon.c:164) ==2428== by 0x41A498F: g_icon_to_string (gicon.c:252) ==2428== by 0x8049E1A: test_g_icon_serialize (g-icon.c:222) Bug #628331. gio/tests/g-icon.c | 1 + 1 file changed, 1 insertion(+) commit e8bdd2cb7af29ca20a02f4ebef1c6301e22d1856 Author: Christian Persch Date: Fri Sep 3 15:55:10 2010 -0400 Plug a huge mem leak in data-output-stream test ==12763== 16,777,215 bytes in 1 blocks are possibly lost in loss record 357 of 357 ==12763== at 0x4004F1B: calloc (vg_replace_malloc.c:418) ==12763== by 0x405711D: g_malloc0 (gmem.c:157) ==12763== by 0x8048ED6: test_basic (data-output-stream.c:40) Bug #628331. gio/tests/data-output-stream.c | 1 + 1 file changed, 1 insertion(+) commit 05d6fcf88cee64e168e978800fb66523c36a94fc Author: Christian Persch Date: Fri Sep 3 15:53:56 2010 -0400 Plug a mem leak in data-output-stream test ==2426== 45,034 bytes in 4,094 blocks are definitely lost in loss record 358 of 361 ==2426== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2426== by 0x4057094: g_malloc (gmem.c:134) ==2426== by 0x40573DB: g_malloc_n (gmem.c:281) ==2426== by 0x4071ABD: g_strconcat (gstrfuncs.c:315) ==2426== by 0x804916A: test_read_lines (data-output-stream.c:83) Bug #628331. gio/tests/data-output-stream.c | 1 + 1 file changed, 1 insertion(+) commit 45331a46408777fc6a888302bad216cedbb16635 Author: Christian Persch Date: Fri Sep 3 15:53:05 2010 -0400 Plug a mem leak in data-input-stream test ==12351== 45,045 bytes in 4,095 blocks are definitely lost in loss record 377 of 380 ==12351== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==12351== by 0x4057094: g_malloc (gmem.c:134) ==12351== by 0x40573DB: g_malloc_n (gmem.c:281) ==12351== by 0x4071ABD: g_strconcat (gstrfuncs.c:315) ==12351== by 0x8049811: test_read_lines (data-input-stream.c:99) Bug #628331. gio/tests/data-input-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36c7d95c9c18e36468755dc8a7cfced32170c6ca Author: Christian Persch Date: Fri Sep 3 15:47:38 2010 -0400 Plug a mem leak in data-input-stream test ==2415== 45,045 bytes in 4,095 blocks are definitely lost in loss record 393 of 399 ==2415== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2415== by 0x4057094: g_malloc (gmem.c:134) ==2415== by 0x417FC29: g_data_input_stream_read_line (gdatainputstream.c:797) ==2415== by 0x8049874: test_read_lines (data-input-stream.c:111) ==12088== 360 bytes in 40 blocks are definitely lost in loss record 368 of 381 ==12088== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==12088== by 0x4057094: g_malloc (gmem.c:134) ==12088== by 0x417FF4C: g_data_input_stream_read_until (gdatainputstream.c:914) ==12088== by 0x8049B6F: test_read_until (data-input-stream.c:182) Bug #628331. gio/tests/data-input-stream.c | 4 ++++ 1 file changed, 4 insertions(+) commit 91e380359604dfabf5c98fab8e317c655d32f98b Author: Christian Persch Date: Fri Sep 3 15:45:48 2010 -0400 Plug a mem leak in data-input-stream test ==2415== 165 (72 direct, 93 indirect) bytes in 3 blocks are definitely lost in loss record 373 of 399 ==2415== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2415== by 0x4057094: g_malloc (gmem.c:134) ==2415== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2415== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2415== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2415== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2415== by 0x417ED29: read_data (gdatainputstream.c:309) ==2415== by 0x417EE9D: g_data_input_stream_read_byte (gdatainputstream.c:344) ==2415== by 0x8049DEC: test_data_array (data-input-stream.c:263) Bug #628331. gio/tests/data-input-stream.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 31b15451cf657499c15c1d08ccee0062a3486a9f Author: Christian Persch Date: Fri Sep 3 15:44:28 2010 -0400 Plug a mem leak in readwrite test ==10395== 80 (24 direct, 56 indirect) bytes in 1 blocks are definitely lost in loss record 529 of 561 ==10395== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==10395== by 0x4057094: g_malloc (gmem.c:134) ==10395== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==10395== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==10395== by 0x403A751: g_error_new_valist (gerror.c:54) ==10395== by 0x403AAD4: g_set_error (gerror.c:240) ==10395== by 0x4230328: _g_local_file_output_stream_create (glocalfileoutputstream.c:628) ==10395== by 0x4227A04: g_local_file_create_readwrite (glocalfile.c:1388) ==10395== by 0x418974C: g_file_create_readwrite (gfile.c:1784) ==10395== by 0x8049FCD: test_g_file_create_readwrite (readwrite.c:187) Bug #628331. gio/tests/readwrite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 94102a40f733dc86e61aaaee0822b8ecc2e9927b Author: Christian Persch Date: Fri Sep 3 15:43:03 2010 -0400 Plug some huge mem leaks in converter-stream test ==8564== 24,000,000 bytes in 6 blocks are possibly lost in loss record 592 of 594 ==8564== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==8564== by 0x4057094: g_malloc (gmem.c:134) ==8564== by 0x804AA37: test_corruption (converter-stream.c:589) ==8564== by 0x804B05B: test_roundtrip (converter-stream.c:652) ==9459== 25,165,824 bytes in 6 blocks are possibly lost in loss record 593 of 594 ==9459== at 0x4005CD2: realloc (vg_replace_malloc.c:476) ==9459== by 0x40571A5: g_realloc (gmem.c:181) ==9459== by 0x41B08A3: array_resize (gmemoryoutputstream.c:501) ==9459== by 0x41B0A5D: g_memory_output_stream_write (gmemoryoutputstream.c:578) ==9459== by 0x41B57EF: g_output_stream_write (goutputstream.c:216) ==9459== by 0x41B591B: g_output_stream_write_all (goutputstream.c:268) ==9459== by 0x417D617: flush_buffer (gconverteroutputstream.c:359) ==9459== by 0x417D958: g_converter_output_stream_write (gconverteroutputstream.c:502) ==9459== by 0x41B5D7F: g_output_stream_real_splice (goutputstream.c:428) ==9459== by 0x41B5C6C: g_output_stream_splice (goutputstream.c:380) ==9459== by 0x804AB10: test_corruption (converter-stream.c:600) ==9785== 25,165,824 bytes in 6 blocks are possibly lost in loss record 592 of 592 ==9785== at 0x4005CD2: realloc (vg_replace_malloc.c:476) ==9785== by 0x40571A5: g_realloc (gmem.c:181) ==9785== by 0x41B08A3: array_resize (gmemoryoutputstream.c:501) ==9785== by 0x41B0A5D: g_memory_output_stream_write (gmemoryoutputstream.c:578) ==9785== by 0x41B5D7F: g_output_stream_real_splice (goutputstream.c:428) ==9785== by 0x41B5C6C: g_output_stream_splice (goutputstream.c:380) ==9785== by 0x804ADF1: test_corruption (converter-stream.c:622) ==9785== by 0x804B06C: test_roundtrip (converter-stream.c:652) Bug #628331. gio/tests/converter-stream.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 24bee1a130152dece7f7ae470b81bd6ed69a9a4f Author: Christian Persch Date: Fri Sep 3 15:40:55 2010 -0400 Plug a mem leak in convert-stream test ==7540== 487 (64 direct, 423 indirect) bytes in 2 blocks are definitely lost in loss record 597 of 615 ==7540== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==7540== by 0x4057094: g_malloc (gmem.c:134) ==7540== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==7540== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==7540== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==7540== by 0x412372A: g_object_constructor (gobject.c:1482) ==7540== by 0x4123147: g_object_newv (gobject.c:1347) ==7540== by 0x41236BB: g_object_new_valist (gobject.c:1463) ==7540== by 0x41A756E: g_initable_new_valist (ginitable.c:214) ==7540== by 0x41A743E: g_initable_new (ginitable.c:138) ==7540== by 0x417B67A: g_charset_converter_new (gcharsetconverter.c:215) ==7540== by 0x804B043: test_charset (converter-stream.c:675) Bug #628331. gio/tests/converter-stream.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ac8600a14b7e79c6eb19dd779be3b2c8a492d934 Author: Christian Persch Date: Fri Sep 3 15:39:58 2010 -0400 Plug a mem leak in converter-stream test ==2396== 168 (92 direct, 76 indirect) bytes in 1 blocks are definitely lost in loss record 598 of 625 ==2396== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2396== by 0x4057094: g_malloc (gmem.c:134) ==2396== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2396== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2396== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==2396== by 0x412372A: g_object_constructor (gobject.c:1482) ==2396== by 0x4123147: g_object_newv (gobject.c:1347) ==2396== by 0x41236BB: g_object_new_valist (gobject.c:1463) ==2396== by 0x4122BB4: g_object_new (gobject.c:1181) ==2396== by 0x417C54D: g_converter_input_stream_new (gconverterinputstream.c:204) ==2396== by 0x804A53E: test_compressor (converter-stream.c:484) Bug #628331. gio/tests/converter-stream.c | 2 ++ 1 file changed, 2 insertions(+) commit 85179745ac72280746da101a5232f7843f2426d3 Author: Christian Persch Date: Fri Sep 3 15:39:07 2010 -0400 Plug a mem leak in converter-stream test ==2396== 66 (24 direct, 42 indirect) bytes in 1 blocks are definitely lost in loss record 565 of 625 ==2396== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2396== by 0x4057094: g_malloc (gmem.c:134) ==2396== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2396== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2396== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2396== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2396== by 0x417BA38: g_charset_converter_convert (gcharsetconverter.c:344) ==2396== by 0x417BF67: g_converter_convert (gconverter.c:174) ==2396== by 0x417C9EB: g_converter_input_stream_read (gconverterinputstream.c:403) ==2396== by 0x41A7A17: g_input_stream_read (ginputstream.c:204) ==2396== by 0x41A7B43: g_input_stream_read_all (ginputstream.c:256) ==2396== by 0x804B0E4: test_charset (converter-stream.c:682) Bug #628331. gio/tests/converter-stream.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7ec414229b8d42a5ce4f5519d18af59a3098f544 Author: Christian Persch Date: Fri Sep 3 15:37:56 2010 -0400 Plug a mem leak in converter-stream test ==2396== 39 (24 direct, 15 indirect) bytes in 1 blocks are definitely lost in loss record 398 of 625 ==2396== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2396== by 0x4057094: g_malloc (gmem.c:134) ==2396== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2396== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2396== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2396== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2396== by 0x80498F7: g_compressor_converter_convert (converter-stream.c:244) ==2396== by 0x417BF67: g_converter_convert (gconverter.c:174) ==2396== by 0x417CBDE: g_converter_input_stream_read (gconverterinputstream.c:460) ==2396== by 0x41A7A17: g_input_stream_read (ginputstream.c:204) ==2396== by 0x804A832: test_compressor (converter-stream.c:545) Bug #628331. gio/tests/converter-stream.c | 1 + 1 file changed, 1 insertion(+) commit d5d277dccf3637518b3a34af1609ffd60ce1e308 Author: Christian Persch Date: Fri Sep 3 15:37:08 2010 -0400 Plug a mem leak in g-file-info test ==2395== 64 bytes in 1 blocks are definitely lost in loss record 381 of 407 ==2395== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2395== by 0x4005C66: realloc (vg_replace_malloc.c:476) ==2395== by 0x40571A5: g_realloc (gmem.c:181) ==2395== by 0x401D670: g_ptr_array_maybe_expand (garray.c:968) ==2395== by 0x401DD0B: g_ptr_array_add (garray.c:1225) ==2395== by 0x4199AA9: g_file_info_list_attributes (gfileinfo.c:646) ==2395== by 0x80491CE: test_g_file_info (g-file-info.c:76) ==2395== 132 (64 direct, 68 indirect) bytes in 1 blocks are definitely lost in loss record 396 of 407 ==2395== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2395== by 0x4005C66: realloc (vg_replace_malloc.c:476) ==2395== by 0x40571A5: g_realloc (gmem.c:181) ==2395== by 0x401D670: g_ptr_array_maybe_expand (garray.c:968) ==2395== by 0x401DD0B: g_ptr_array_add (garray.c:1225) ==2395== by 0x4199A82: g_file_info_list_attributes (gfileinfo.c:642) ==2395== by 0x80492B7: test_g_file_info (g-file-info.c:86) Bug #628331. gio/tests/g-file-info.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 35e101fa0a96fb03db4f503a4b24f4818ada114f Author: Christian Persch Date: Fri Sep 3 15:35:44 2010 -0400 Plug a mem leak in the readwrite test And use g_assert_[no_]error(). ==2392== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 451 of 573 ==2392== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2392== by 0x4057094: g_malloc (gmem.c:134) ==2392== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2392== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2392== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2392== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2392== by 0x41B7619: g_output_stream_set_pending (goutputstream.c:1198) ==2392== by 0x41B5799: g_output_stream_write (goutputstream.c:210) ==2392== by 0x41B590B: g_output_stream_write_all (goutputstream.c:268) ==2392== by 0x8049B54: verify_iostream (readwrite.c:110) Bug #628331. gio/tests/readwrite.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 93d85ade571b87d1c71ac6ef3fb5e40eaceb68d7 Author: Christian Persch Date: Fri Sep 3 15:34:12 2010 -0400 Plug a mem leak in the readwrite test ==2392== 38 (16 direct, 22 indirect) bytes in 1 blocks are definitely lost in loss record 369 of 573 ==2392== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2392== by 0x4057094: g_malloc (gmem.c:134) ==2392== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2392== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2392== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==2392== by 0x412372A: g_object_constructor (gobject.c:1482) ==2392== by 0x4122E1D: g_object_newv (gobject.c:1266) ==2392== by 0x4122B93: g_object_new (gobject.c:1178) ==2392== by 0x4225D74: _g_local_file_new (glocalfile.c:310) ==2392== by 0x4231897: g_local_vfs_get_file_for_path (glocalvfs.c:84) ==2392== by 0x41CF91C: g_vfs_get_file_for_path (gvfs.c:94) ==2392== by 0x41911B6: g_file_new_for_path (gfile.c:5898) ==2392== by 0x804A2B9: test_g_file_replace_readwrite (readwrite.c:235) Bug #628331. gio/tests/readwrite.c | 1 + 1 file changed, 1 insertion(+) commit 9fba7a43be2481d59ae887f23d831947f27537d3 Author: Christian Persch Date: Fri Sep 3 15:33:28 2010 -0400 Plug a mem leak in the readwrite test ==2392== 38 (16 direct, 22 indirect) bytes in 1 blocks are definitely lost in loss record 368 of 573 ==2392== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2392== by 0x4057094: g_malloc (gmem.c:134) ==2392== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2392== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2392== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==2392== by 0x412372A: g_object_constructor (gobject.c:1482) ==2392== by 0x4122E1D: g_object_newv (gobject.c:1266) ==2392== by 0x4122B93: g_object_new (gobject.c:1178) ==2392== by 0x4225D74: _g_local_file_new (glocalfile.c:310) ==2392== by 0x4231897: g_local_vfs_get_file_for_path (glocalvfs.c:84) ==2392== by 0x41CF91C: g_vfs_get_file_for_path (gvfs.c:94) ==2392== by 0x41911B6: g_file_new_for_path (gfile.c:5898) ==2392== by 0x8049F23: test_g_file_create_readwrite (readwrite.c:183) Bug #628331. gio/tests/readwrite.c | 1 + 1 file changed, 1 insertion(+) commit e481bf8bf68f46e82fa5624cd941f7880321e945 Author: Christian Persch Date: Fri Sep 3 15:32:32 2010 -0400 Plug a mem leak in the readwrite test ==2392== 38 (16 direct, 22 indirect) bytes in 1 blocks are definitely lost in loss record 367 of 573 ==2392== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2392== by 0x4057094: g_malloc (gmem.c:134) ==2392== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2392== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2392== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==2392== by 0x412372A: g_object_constructor (gobject.c:1482) ==2392== by 0x4122E1D: g_object_newv (gobject.c:1266) ==2392== by 0x4122B93: g_object_new (gobject.c:1178) ==2392== by 0x4225D74: _g_local_file_new (glocalfile.c:310) ==2392== by 0x4231897: g_local_vfs_get_file_for_path (glocalvfs.c:84) ==2392== by 0x41CF91C: g_vfs_get_file_for_path (gvfs.c:94) ==2392== by 0x41911B6: g_file_new_for_path (gfile.c:5898) ==2392== by 0x8049E30: test_g_file_open_readwrite (readwrite.c:153) Bug #628331. gio/tests/readwrite.c | 1 + 1 file changed, 1 insertion(+) commit 689b054b6e176c2f1b4bb90ca2a0e514de5e2a0e Author: Christian Persch Date: Fri Sep 3 15:31:37 2010 -0400 Plug a mem leak in the memory-input-stream test ==2389== 84 (44 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 299 of 315 ==2389== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2389== by 0x4057094: g_malloc (gmem.c:134) ==2389== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2389== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2389== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==2389== by 0x412372A: g_object_constructor (gobject.c:1482) ==2389== by 0x4122E1D: g_object_newv (gobject.c:1266) ==2389== by 0x4122B93: g_object_new (gobject.c:1178) ==2389== by 0x41AF54C: g_memory_input_stream_new (gmemoryinputstream.c:199) ==2389== by 0x8048BD1: test_read_chunks (memory-input-stream.c:40) Bug #628331. gio/tests/memory-input-stream.c | 2 ++ 1 file changed, 2 insertions(+) commit 53ae72b926e34b22f36fbc162cd12fc4d0bd7028 Author: Christian Persch Date: Fri Sep 3 15:30:47 2010 -0400 Plug a mem leak in the memory-input-stream test ==2389== 59 (24 direct, 35 indirect) bytes in 1 blocks are definitely lost in loss record 290 of 315 ==2389== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2389== by 0x4057094: g_malloc (gmem.c:134) ==2389== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==2389== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==2389== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==2389== by 0x403AC31: g_set_error_literal (gerror.c:314) ==2389== by 0x41AFD15: g_memory_input_stream_truncate (gmemoryinputstream.c:517) ==2389== by 0x41BAC0F: g_seekable_truncate (gseekable.c:174) ==2389== by 0x8049595: test_truncate (memory-input-stream.c:123) Bug #628331. gio/tests/memory-input-stream.c | 1 + 1 file changed, 1 insertion(+) commit 6320b04fe97bcdb16e6ca4235db6c85eb91d2bab Author: Christian Persch Date: Fri Sep 3 15:29:51 2010 -0400 Plug a mem leak in gsettings test ==2530== 13 bytes in 1 blocks are definitely lost in loss record 373 of 681 ==2530== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==2530== by 0x4057094: g_malloc (gmem.c:134) ==2530== by 0x40573DB: g_malloc_n (gmem.c:281) ==2530== by 0x40717FC: g_strdup (gstrfuncs.c:101) ==2530== by 0x4147F56: value_lcopy_string (gvaluetypes.c:313) ==2530== by 0x4123F0B: g_object_get_valist (gobject.c:1643) ==2530== by 0x41240FF: g_object_get (gobject.c:1731) ==2530== by 0x804A4BA: test_basic (gsettings.c:28) Bug #628331. gio/tests/gsettings.c | 1 + 1 file changed, 1 insertion(+) commit e8fc3ba3d0dbb4e8d0592fddcbdc189c9d20056a Author: Christian Persch Date: Tue Aug 31 19:42:32 2010 +0200 Plug a mem leak Don't leak the ptr arrays in the map_sender_unique_name_to_signal_data_array hash table. ==23440== 84 (20 direct, 64 indirect) bytes in 1 blocks are definitely lost in loss record 920 of 993 ==23440== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==23440== by 0x4057094: g_malloc (gmem.c:134) ==23440== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==23440== by 0x401D2D0: g_ptr_array_sized_new (garray.c:799) ==23440== by 0x401D2AC: g_ptr_array_new (garray.c:783) ==23440== by 0x420834A: g_dbus_connection_signal_subscribe (gdbusconnection.c:3084) Bug #628436. gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8795f52aae10add70929cd0fad1ccf6d0c8db4af Author: Christian Persch Date: Mon Aug 30 19:31:09 2010 +0200 Plug a mem leak ==31063== 98 (24 direct, 74 indirect) bytes in 1 blocks are definitely lost in loss record 946 of 1,136 ==31063== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==31063== by 0x4057094: g_malloc (gmem.c:134) ==31063== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==31063== by 0x4092383: g_variant_get_child_value (gvariant-core.c:847) ==31063== by 0x408BE9E: g_variant_get_variant (gvariant.c:709) ==31063== by 0x40903F5: g_variant_valist_get_nnp (gvariant.c:3767) ==31063== by 0x40907A9: g_variant_valist_get_leaf (gvariant.c:3884) ==31063== by 0x4090D10: g_variant_valist_get (gvariant.c:4065) ==31063== by 0x4090E59: g_variant_valist_get (gvariant.c:4100) ==31063== by 0x40911B6: g_variant_get_va (gvariant.c:4296) ==31063== by 0x40910BC: g_variant_get (gvariant.c:4248) ==31063== by 0x4208DAF: invoke_set_property_in_idle_cb (gdbusconnection.c:3676) Bug #628346. gio/gdbusconnection.c | 1 + 1 file changed, 1 insertion(+) commit 1f49f3fa349a49bf17f6cb58d060173b7a448bf5 Author: Christian Persch Date: Mon Aug 30 19:00:05 2010 +0200 Plug a mem leak ... and use g_error_matches(). ==29535== 1,360 (408 direct, 952 indirect) bytes in 17 blocks are definitely lost in loss record 1,252 of 1,264 ==29535== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==29535== by 0x4057094: g_malloc (gmem.c:134) ==29535== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==29535== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==29535== by 0x403A751: g_error_new_valist (gerror.c:54) ==29535== by 0x403AAD4: g_set_error (gerror.c:240) ==29535== by 0x41C06C8: g_socket_send_message (gsocket.c:2967) ==29535== by 0x421CB64: write_message_continue_writing (gdbusprivate.c:958) ==29535== by 0x421CE2A: write_message_async (gdbusprivate.c:1049) ==29535== by 0x421D4DD: maybe_write_next_message (gdbusprivate.c:1291) ==29535== by 0x421D26B: message_written (gdbusprivate.c:1187) ==29535== by 0x421D322: write_message_cb (gdbusprivate.c:1216) Bug #628345. gio/gdbusprivate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c75429d0a0564c3620c6f72afea9838f661c4e88 Author: Matthias Clasen Date: Fri Sep 3 14:52:16 2010 -0400 Make ordering for overridden interface properties consistent g_object_class_list_properties tries to sort the returned list of paramspecs by 'type depth' and param_id. But all the overridden interface properties have a param_id of 0, so they come out in a random order. Bug 628253. gobject/gparam.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 6ddef375c8eb41da3160ac6984f707a19f1da63b Author: Tor Lillqvist Date: Thu Sep 2 21:56:02 2010 +0300 Recuce DLL hijack risk on Windows Don't call LoadLibrary() on shell32.dll or kernel32.dll. kernel32.dll is always loaded. Shell32.dll is also already loaded as glib links to functions in it. So just call GetModuleHandle() on them. For mlang.dll in win_iconv.c and winhttp.dll in gwinhttpvfs.c, always try loading them from a complete path, from the Windows system directory. Use the "tool help" API to enumerate modules in gmodule-win32.c. It is present in all Windows versions since Windows 2000, which is all we support anyway. Thus no need to look that API up dynamically. Just link to it normally. We can bin the fallback code that attempts to use the psapi API. gio/win32/gwinhttpvfs.c | 15 +++++++-- glib/gutils.c | 6 ++-- glib/win_iconv.c | 14 ++++++-- gmodule/gmodule-win32.c | 82 +++-------------------------------------------- 4 files changed, 33 insertions(+), 84 deletions(-) commit 54c51c73c60008868f6718a23b4b00a5db61c167 Author: Kjartan Maraas Date: Thu Sep 2 11:56:09 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 708 +++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 515 insertions(+), 193 deletions(-) commit b4d3acf9be3aeaf60326e44b0ad706c45e68f590 Author: noch Date: Thu Sep 2 12:35:02 2010 +0500 Modified Armenian translation - po file po/hy.po | 1139 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 576 insertions(+), 563 deletions(-) commit db0eaa299c66d82552645fa42f20d13a791bc53c Author: Christian Persch Date: Wed Sep 1 15:05:59 2010 +0200 Fix building with zlib < 1.2.4 on win32 The gzip header processing functions were only exported since 1.2.4 on win32, so #ifdef this code accordingly. Bug #628505. gio/gzlibcompressor.c | 3 +++ gio/gzlibdecompressor.c | 5 +++++ 2 files changed, 8 insertions(+) commit ed72dcdd4507865780ebc14567bf582721a6bce4 Author: Ryan Lortie Date: Wed Sep 1 15:04:41 2010 +0200 Fix small bug in registry backend 'n' and 'q' types had their signed/unsigned meaning inverted. gio/gregistrysettingsbackend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3209024c3ba730df9551074819672756477bd5aa Author: Sam Thursfield Date: Thu Aug 12 16:10:23 2010 +0100 Add GSettings Windows Registry backend gio/Makefile.am | 7 +- gio/giomodule.c | 4 + gio/gregistrysettingsbackend.c | 1966 ++++++++++++++++++++++++++++++++++++++++ gio/gregistrysettingsbackend.h | 31 + 4 files changed, 2007 insertions(+), 1 deletion(-) commit fb15dde6c171acb445da5e51ce17e241bf9c52fb Author: Jon Nordby Date: Thu Aug 26 16:51:33 2010 +0200 docs: Inline docs from tmpl/memory.smgl docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/memory.sgml | 428 ---------------------------------- glib/galloca.h | 47 ++++ glib/gmem.c | 201 +++++++++++++++- glib/gmem.h | 106 +++++++++ glib/gstrfuncs.c | 11 + 6 files changed, 365 insertions(+), 429 deletions(-) commit 4497e84215e37f1d7dc55432ab50825652f9fe80 Author: Andika Triwidada Date: Wed Sep 1 09:54:52 2010 +0700 Updated Indonesian translation po/id.po | 2301 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1479 insertions(+), 822 deletions(-) commit 94e34d8a12e94c6aa2d2fcc8440439de5671f6f2 Author: noch Date: Tue Aug 31 16:49:31 2010 +0500 Modified hy.po po/hy.po | 1776 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1061 insertions(+), 715 deletions(-) commit b10d3a73bc39763ed528baaf93b1143157115690 Author: noch Date: Tue Aug 31 12:34:36 2010 +0500 Modified hy.po po/hy.po | 971 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 470 insertions(+), 501 deletions(-) commit e57884041bf17d851915994370f480f554b49c6a Author: Matthias Clasen Date: Mon Aug 30 20:47:40 2010 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31a72dd719940ca5b97da9eb36ce5467458ed7f5 Author: Matthias Clasen Date: Mon Aug 30 19:29:09 2010 -0400 Update symbol list gio/gio.symbols | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit ee2c6f4554661ed449dda0076bc4d7627ed05e80 Author: Branko Kokanović Date: Tue Aug 31 02:33:26 2010 +0200 Updated Serbian translation po/sr.po | 125 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 125 ++++++++++++++++++++++++++------------------------------ 2 files changed, 116 insertions(+), 134 deletions(-) commit 1d2229129cd5a6ac09cd94b5f9751a8f32d81e05 Author: Philip Withnall Date: Mon Aug 30 22:13:18 2010 +0100 Update British English translation po/en_GB.po | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 6f327315dcd617f93a59ba235f48f9125a0ee593 Author: Matthias Clasen Date: Mon Aug 30 16:08:25 2010 -0400 Add one more bug ref NEWS | 1 + 1 file changed, 1 insertion(+) commit f4f45e980ba222f749e533b445d88996ed66ebe0 Author: David Zeuthen Date: Mon Aug 30 13:58:41 2010 -0400 GDBusProxy: remove superfluous -gdbus-proxy-method-name qdata Looks like we're not using this anymore. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 4 ---- 1 file changed, 4 deletions(-) commit 52348e15874869cb02052253847358361f10ec7f Author: David Zeuthen Date: Mon Aug 30 13:45:46 2010 -0400 Bug 628324 – Invalid reads in gdbus-export test Looks like we forgot to ref the returned GVariant in g_dbus_proxy_call_finish(). It's a good question why code using g_dbus_proxy_call() and g_dbus_proxy_call_finish() worked in the first place - probably the answer is that no-one really used these APIs. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 72ea8b1df744ef8a11e67d1b7df121849c0298fb Author: Matthias Clasen Date: Mon Aug 30 13:28:06 2010 -0400 Tweak the wording NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 846b0b34660279871bbafb476adf5b5c597eb08d Author: Ryan Lortie Date: Mon Aug 30 18:58:49 2010 +0200 GAction is now an interface the new class GSimpleAction is the implementation half docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 40 ++- docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gaction.c | 416 +++++------------------------ gio/gaction.h | 69 ++--- gio/gactiongroup.c | 2 +- gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gsimpleaction.c | 498 +++++++++++++++++++++++++++++++++++ gio/gsimpleaction.h | 95 +++++++ gio/tests/actions.c | 83 +++--- 12 files changed, 754 insertions(+), 455 deletions(-) commit 6cd62920bbb8ed42c7381bb56deca820515500f9 Author: Ryan Lortie Date: Mon Aug 30 17:31:06 2010 +0200 GActionGroup is now an interface - make GAction.get_state() return a reference - fix some leaks/warnings in the tests - fix signal propagation in GSimpleActionGroup gio/gaction.c | 9 +++-- gio/gactiongroup.c | 46 +++++++++++++----------- gio/gactiongroup.h | 43 +++++----------------- gio/gsimpleactiongroup.c | 89 ++++++++++++++++++---------------------------- gio/gsimpleactiongroup.h | 8 ++--- gio/tests/actions.c | 21 +++++++---- 6 files changed, 90 insertions(+), 126 deletions(-) commit 75891001bc5ed5a99c9a9af17407b0a797f79df4 Author: Matthias Clasen Date: Mon Aug 30 13:11:52 2010 -0400 Update NEWS for 2.25.15 NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 949392585402916d86920c652d182e92ad109a6d Author: Christian Persch Date: Mon Aug 30 16:12:42 2010 +0200 Make g_emblemed_icon_add_emblem() keep the list sorted Fixes bug #628317. gio/gemblemedicon.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) commit 7a6f8bd3c34e5f5e20f6770d54406b7abc5a396d Author: Christian Persch Date: Mon Aug 30 15:53:49 2010 +0200 Don't leak the FD list ==6793== 32 (24 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 780 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==6793== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==6793== by 0x413D5BB: g_type_create_instance (gtype.c:1867) ==6793== by 0x412372A: g_object_constructor (gobject.c:1482) ==6793== by 0x4122E1D: g_object_newv (gobject.c:1266) ==6793== by 0x4122B93: g_object_new (gobject.c:1178) ==6793== by 0x41DB582: g_unix_fd_list_new_from_array (gunixfdlist.c:191) ==6793== by 0x421BFD6: _g_dbus_worker_do_read_cb (gdbusprivate.c:590) Bug #628329. gio/gdbusprivate.c | 1 + 1 file changed, 1 insertion(+) commit fa671dc5e28369c50aaef525c6980803a9946471 Author: Christian Persch Date: Mon Aug 30 10:21:43 2010 -0400 Fix invalid reads Don't use a guint16* when getting a guint property via g_object_get()! Bug #628323. gio/gproxyaddressenumerator.c | 5 ++++- gio/tests/network-address.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit 08924ad1472a17cd6c144ae25a350af0b2d9afe7 Author: Christian Persch Date: Mon Aug 30 10:18:30 2010 -0400 Plug a mem leak in GConverterOutputStream ==8221== 1,047 (672 direct, 375 indirect) bytes in 28 blocks are definitely lost in loss record 589 of 603 ==8221== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==8221== by 0x4057094: g_malloc (gmem.c:134) ==8221== by 0x406F2D6: g_slice_alloc (gslice.c:836) ==8221== by 0x406F31B: g_slice_alloc0 (gslice.c:848) ==8221== by 0x403A8A6: g_error_new_literal (gerror.c:117) ==8221== by 0x403AC31: g_set_error_literal (gerror.c:314) ==8221== by 0x80499DC: g_compressor_converter_convert (converter-stream.c:267) ==8221== by 0x417BF67: g_converter_convert (gconverter.c:174) ==8221== by 0x417D7F0: g_converter_output_stream_write (gconverteroutputstream.c:428) ==8221== by 0x41B57DF: g_output_stream_write (goutputstream.c:216) ==8221== by 0x804A367: test_compressor (converter-stream.c:456) Bug #628309. gio/gconverteroutputstream.c | 1 + 1 file changed, 1 insertion(+) commit 802c25832cb34976308a8a2b356ad3273108761f Author: Christian Persch Date: Mon Aug 30 10:16:31 2010 -0400 Plug a mem leak ==6793== 19 (8 direct, 11 indirect) bytes in 1 blocks are definitely lost in loss record 640 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x40573DB: g_malloc_n (gmem.c:281) ==6793== by 0x4073D1B: g_strsplit (gstrfuncs.c:2436) ==6793== by 0x4224A89: initable_init (gdbusserver.c:1040) ==6793== by 0x41A73F9: g_initable_init (ginitable.c:105) ==6793== by 0x41A759B: g_initable_new_valist (ginitable.c:218) ==6793== by 0x41A743E: g_initable_new (ginitable.c:138) ==6793== by 0x42238F5: g_dbus_server_new_sync (gdbusserver.c:484) Bug #628328. gio/gdbusserver.c | 3 +++ 1 file changed, 3 insertions(+) commit 6879256f360ed46c2238b273a239f99d08a62915 Author: Christian Persch Date: Mon Aug 30 10:14:39 2010 -0400 Plug a mem leak ==6793== 16 bytes in 1 blocks are definitely lost in loss record 632 of 1,423 ==6793== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==6793== by 0x4057094: g_malloc (gmem.c:134) ==6793== by 0x417FC29: g_data_input_stream_read_line (gdatainputstream.c:797) ==6793== by 0x41F99C1: _my_g_data_input_stream_read_line (gdbusauth.c:279) ==6793== by 0x41FA728: _g_dbus_auth_run_client (gdbusauth.c:759) Bug #628327. gio/gdbusauth.c | 1 + 1 file changed, 1 insertion(+) commit bb221b68df5de89fce4cb70b789df6173d9c2c92 Author: Matthias Clasen Date: Mon Aug 30 10:02:32 2010 -0400 Add an annotation gio/gdbusmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3cc274fc681f5266b621f730d3d8eef811e41cf Author: Dan Winship Date: Mon Aug 30 09:23:09 2010 -0400 GSocketClient: fix a crash on cancellation some code rearrangement when adding proxy support resulted in trying to use a GSocket that wasn't there. https://bugzilla.gnome.org/show_bug.cgi?id=628296 gio/gsocketclient.c | 3 +++ 1 file changed, 3 insertions(+) commit b8ff287167f668d0c10c2b98c13661042633163e Author: Matthias Clasen Date: Mon Aug 30 08:58:31 2010 -0400 Disable the 'extra data' test for now gio/tests/gdbus-introspection.c | 3 +++ 1 file changed, 3 insertions(+) commit b4a61235da4e604eca92d3f38a391a1e76a63d1c Author: Matthias Clasen Date: Mon Aug 30 08:50:09 2010 -0400 Introspection: make 'direction' default to 'in' for methods gio/gdbusintrospection.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c3135d1d39cbbbb1947843d3937984887764137e Author: Matthias Clasen Date: Mon Aug 30 08:49:41 2010 -0400 Add some more gdbus introspection tests (currently failing) gio/tests/gdbus-introspection.c | 90 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 85 insertions(+), 5 deletions(-) commit 1ce14a88d6b2ff7007163bef929c88daed0183e5 Author: Branko Kokanović Date: Sun Aug 29 19:07:46 2010 +0200 Updated Serbian translation po/sr.po | 801 +++++++++++++++++++++++++++++++++++++++----------------- po/sr@latin.po | 801 +++++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 1118 insertions(+), 484 deletions(-) commit 0e93b0f5c0dfb0bd3a828c5c8a7295c4085598f5 Author: Yaron Shahrabani Date: Sun Aug 29 15:57:41 2010 +0300 Updated Hebrew translation. po/he.po | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit b09a01c6264c08abc2e5eda54fe30d56f06802dd Author: Jorge González Date: Sun Aug 29 11:33:56 2010 +0200 Updated Spanish translation po/es.po | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit 2286d1d669ac3bcef1faa709290831df9197ba02 Author: A S Alam Date: Sun Aug 29 09:32:03 2010 +0530 update translation for Punjabi po/pa.po | 360 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 291 insertions(+), 69 deletions(-) commit 849dbc12056b72f4284bcb6e4b466ec3fcea13f4 Author: Fran Diéguez Date: Sun Aug 29 04:19:12 2010 +0200 Added Galician help translations po/gl.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 1399913f31b60ffebb84e08d8901e82aab2bb075 Author: Philip Withnall Date: Sat Aug 28 12:18:37 2010 +0100 Change "type-string" to "type string" in translatable strings Helps: bgo#628193 gio/gdbusmessage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea9f5f025188731f4347f5be1248e84dc3710c7b Author: Philip Withnall Date: Sat Aug 28 12:17:45 2010 +0100 Change "lock-file" to "lock file" in translatable strings Helps: bgo#628193 gio/gdbusauthmechanismsha1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 61e53e0d196d12d7ea612794ce2ff3550927f9d0 Author: Philip Withnall Date: Sat Aug 28 11:54:01 2010 +0100 Update British English translation po/en_GB.po | 2289 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1493 insertions(+), 796 deletions(-) commit 62788fdf66f321edb15671cb895aa9072df38149 Author: Jorge González Date: Sat Aug 28 10:08:04 2010 +0200 Updated Spanish translation po/es.po | 287 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 249 insertions(+), 38 deletions(-) commit 5a76228e458ccd9846f7dbe2ad35f9e874a07be4 Author: Yaron Shahrabani Date: Sat Aug 28 10:46:19 2010 +0300 Updated Hebrew translation. po/he.po | 230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 223 insertions(+), 7 deletions(-) commit e0aa877e64b5d2de27c9d6c00119a33b735f5b58 Author: Fran Diéguez Date: Fri Aug 27 23:15:49 2010 +0200 Update Galician translations po/gl.po | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 248 insertions(+), 31 deletions(-) commit 52a41b81bd6770434a62aa4a4b7bef100e27da44 Author: Claude Paroz Date: Fri Aug 27 20:04:38 2010 +0200 Added missing files in POTFILES.in po/POTFILES.in | 6 ++++++ 1 file changed, 6 insertions(+) commit 1e7243ad7b48d833ef6eec8fa305f25487f640b0 Author: David Zeuthen Date: Fri Aug 27 10:50:03 2010 -0400 Bug 628084 – gdbus-peer fails with assertion Make it work on systems where /etc/hosts is bigger than 1024 bytes. https://bugzilla.gnome.org/show_bug.cgi?id=628084 Signed-off-by: David Zeuthen gio/tests/gdbus-peer.c | 67 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 60 insertions(+), 7 deletions(-) commit 95107e0ab69fdcc9e7f27832dd492582c4e3fb3e Author: Yaron Shahrabani Date: Fri Aug 27 14:53:57 2010 +0300 Updated Hebrew translation. po/he.po | 72 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 35 insertions(+), 37 deletions(-) commit db7ddcc19529a101b820347e8cca419fb37f6a02 Author: Jens Georg Date: Wed Aug 25 00:18:23 2010 +0300 Improve parsing of date-only iso8601 strings glib/gtimer.c | 15 +++++++++++++-- tests/testglib.c | 4 ++++ 2 files changed, 17 insertions(+), 2 deletions(-) commit 9a61fb2c640708070a32c18bd06ae94ee71c925f Author: Emmanuele Bassi Date: Thu Aug 26 12:58:19 2010 +0100 datetime: Re-use add_dmy() Avoid code duplication. glib/gdatetime.c | 55 ++++++------------------------------------------ glib/tests/gdatetime.c | 5 ++++- 2 files changed, 10 insertions(+), 50 deletions(-) commit 3c86a77ae5efa57a6f62c2eeec9c67aa66246496 Author: Tor Lillqvist Date: Thu Aug 26 12:41:46 2010 +0300 Fix Win32 build configure.ac | 1 + glib/gdatetime.c | 2 +- glib/tests/gdatetime.c | 26 +++++++++++++++++++++++--- 3 files changed, 25 insertions(+), 4 deletions(-) commit ca26f9a5029cfd97f92c81f3993628068d60c4a9 Author: Matthias Clasen Date: Thu Aug 26 00:16:30 2010 -0400 Make this thing work glib/gtester-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b52cdaf2f01411df86b418f45a7dc04f1499fabe Author: Matthias Clasen Date: Thu Aug 26 00:00:56 2010 -0400 Improve g_file_set_contents docs Mention that the temporary filename is longer than the passed-in filename, so people can avoid passing a name that is already NAME_MAX long. glib/gfileutils.c | 3 +++ 1 file changed, 3 insertions(+) commit 925b4231dc7af90fa9ec2c442e640ebe20aedb5c Author: Matthias Clasen Date: Wed Aug 25 22:07:59 2010 -0400 Point out that g_type_init() is required docs/reference/gio/overview.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 1681f7410a90f8408fd9dbd5b7e58a6e38c06fe7 Author: A S Alam Date: Wed Aug 25 22:00:53 2010 +0530 update translation for Punjabi po/pa.po | 658 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 402 insertions(+), 256 deletions(-) commit 8803182f4a1d0d3aa51407bad633dfa1c3f71890 Author: Matthias Clasen Date: Wed Aug 25 20:04:45 2010 -0400 Guarantee that g_get_tmp_dir () doesn't return an empty string If it does, g_file_open_tmp() would be in trouble. Pointed out by Morten Welinder in bug 627969. glib/gutils.c | 12 ++++++------ glib/tests/utils.c | 14 ++++++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) commit 8e16bf2fb61bf38c9b634c18d9d7ca48e3623169 Author: Matthias Clasen Date: Wed Aug 25 18:44:59 2010 -0400 NEWS for 2.25.15 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit 08877ee0dc61b73978d6e7f46216c9405498dbf8 Author: Emmanuele Bassi Date: Wed Aug 25 23:08:18 2010 +0100 datetime: Fix a thinko We need to check if a year is a leap one *after* we increased it with the given value, not before. glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 026375b395fcdc2336666546afd2f21e7ee8bc67 Author: Emmanuele Bassi Date: Wed Aug 25 23:00:31 2010 +0100 datetime: Avoid excessive copies in add_full() The current implementation of g_date_time_add_full() creates multiple GDateTime temporary objects and unrefs them immediately; even with the slice allocator this could result in a performance bottleneck, especially if the atomic integer operations fall back to slow paths. We can isolate the components of the add_full() operation and create internal modifiers that operate on an existing GDateTime; this brings down the number of GDateTime copies created from six to one. While at it, the test suite for add_full() should have more checks for roll-over of months and days. Signed-off-by: Emmanuele Bassi glib/gdatetime.c | 133 +++++++++++++++++++++++++++++++++--------------- glib/tests/gdatetime.c | 24 +++++---- 2 files changed, 108 insertions(+), 49 deletions(-) commit 0d0a9bb4485069a56caf139346e6a6aad81c4efd Author: David Zeuthen Date: Wed Aug 25 14:45:28 2010 -0400 GDBusConnection: Document memory management semantics for get_property() Turns out we are leaking non-floating GVariant instances returned by get_property() functions. Also avoid imprecise language such as "newly-allocated GVariant" as this doesn't specify whether the variant can be floating or not. Also see https://bugzilla.gnome.org/show_bug.cgi?id=627974 as it is very related to this change. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 6 +++++- gio/gdbusconnection.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) commit d31c1c863a357e94b87529dfdfb6abad3fcef84b Author: Emmanuele Bassi Date: Wed Aug 25 16:24:46 2010 +0100 docs: Fix up GDateTime for the GObject reference docs/reference/gobject/gobject-sections.txt | 1 + gobject/gboxed.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 99621efbd559afe9c3833befab90daf6d00fc8a9 Author: Emmanuele Bassi Date: Wed Aug 25 16:23:34 2010 +0100 docs: Reword the datetime short description glib/gdatetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 250b1d576b71f2bafd6cf7abbe679dc2a21fbd65 Author: Emmanuele Bassi Date: Wed Aug 25 16:13:24 2010 +0100 docs: Fix the section name for GDateTime docs/reference/glib/glib-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e65ed4e4458d0a359259298c33b222e16441e5e Author: Emmanuele Bassi Date: Wed Aug 25 12:30:09 2010 +0100 datetime: Fix leap year check Remove a FIXME and an approximation when computing the seconds from the Unix epoch. glib/gdatetime.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 2952e908e4a67929a72c5ad9a26db95f1dde2d29 Author: Emmanuele Bassi Date: Wed Aug 25 12:24:54 2010 +0100 datetime: Fix coding style glib/gdatetime.c | 310 ++++++++++++++++++++++++++---------------------------- 1 file changed, 148 insertions(+), 162 deletions(-) commit 0a59ab6e8594f0f2f9203390052364bef9212697 Author: Emmanuele Bassi Date: Wed Aug 25 12:14:04 2010 +0100 datetime: Use %Z for the timezone name We should try and follow strftime(3) for the format control characters as much as possible. glib/gdatetime.c | 4 ++-- glib/tests/gdatetime.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit b4c0b958af875bcba830ee734cd50df30a88236a Author: Emmanuele Bassi Date: Wed Aug 25 12:09:16 2010 +0100 datetime: Fix the format documentation The %x format is for the preferred date, and the %X format is for the preferred time. glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9a39b1d7051bd5a8f725aacf621649619067857b Author: Emmanuele Bassi Date: Wed Aug 25 12:06:47 2010 +0100 datetime: Clean up macros and unused variables The most complex macros should be converted to inlined functions, instead, to guarantee some type safety. glib/gdatetime.c | 147 +++++++++++++++++++++++++++--------------------------- 1 file changed, 73 insertions(+), 74 deletions(-) commit 0f87f09397ef9a796258ec3200e0e987a761e505 Author: Emmanuele Bassi Date: Wed Aug 25 00:27:49 2010 +0100 datetime: Remove the translation marker for a warning message glib/gdatetime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 96dc06e6e06ec0347ecb4e44b15acf8ce7e31af0 Author: Emmanuele Bassi Date: Tue Aug 24 23:30:30 2010 +0100 docs: Add GDateTime to the GLib API reference docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 62 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) commit d62eb80c5489bbd4590c10f218b9eb71393bdfaf Author: Emmanuele Bassi Date: Tue Aug 24 21:37:43 2010 +0100 docs: Mention TZDIR The timezone code in GDateTime honours the TZDIR environment variable, so it should be mentioned in the list of variables GLib checks at runtime. docs/reference/glib/running.sgml | 11 +++++++++++ 1 file changed, 11 insertions(+) commit e35ed21f43f94443e5b137d85120b87542261c5b Author: Thiago Santos Date: Fri May 28 08:19:29 2010 -0300 datetime: Add GDateTime to the GType system As with other GLib data types, use a GBoxed. gobject/gboxed.c | 2 ++ gobject/gboxed.h | 10 +++++++++- gobject/gobject.symbols | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) commit e1f13ee9ed38d4f14bf927b6fa3f28530afc3640 Author: Thiago Santos Date: Fri May 28 08:19:29 2010 -0300 Add GDateTime to GLib GDateTime is an opaque data type containing a date and time representation. It's immutable once created and reference counted. https://bugzilla.gnome.org/show_bug.cgi?id=50076 Based on the code by: Christian Hergert Signed-off-by: Emmanuele Bassi glib/Makefile.am | 16 +- glib/gdatetime.c | 2227 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/gdatetime.h | 190 +++++ glib/glib.h | 1 + glib/glib.symbols | 51 ++ glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 5 +- glib/tests/gdatetime.c | 962 +++++++++++++++++++++ 8 files changed, 3445 insertions(+), 8 deletions(-) commit 3cee971db55da9b3bdd1c05e5be68152cd6fd165 Author: Emmanuele Bassi Date: Tue Aug 24 22:47:02 2010 +0100 Add C_() to glibintl.h glib/glibintl.h | 2 ++ 1 file changed, 2 insertions(+) commit 0a9bfa1c7d1d30a926c20cb45f935d05e2d2752a Author: Cody Russell Date: Mon Aug 23 12:34:53 2010 -0500 Add const to _pcre_ucp_othercase() definition in pcre_internal.h glib/pcre/pcre_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ff83633744db6f07fa990deab20b17c583b40e9 Author: Jorge González Date: Mon Aug 23 17:40:02 2010 +0200 Updated Spanish translation po/es.po | 67 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 29 deletions(-) commit 6c24062880b19a239b57435694a9daed1c90edca Author: Tor Lillqvist Date: Mon Aug 23 14:31:20 2010 +0300 Include gproxyaddress.h explicitly gio/gsocketaddress.c | 1 + 1 file changed, 1 insertion(+) commit 780d6bfa88900fa5a01375467b0cbb686f7b1d1f Author: Matthias Clasen Date: Mon Aug 23 00:37:52 2010 -0400 Improve testutils test coverage glib/tests/testing.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit fa6926e5d4ff7fc7efde46222ff70f2a75298ac4 Author: Matthias Clasen Date: Mon Aug 23 00:37:37 2010 -0400 Improve printf test coverage glib/tests/printf.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 7d970fadbc4bad8635f2e5e109517bc015e0e14a Author: Matthias Clasen Date: Mon Aug 23 00:37:21 2010 -0400 Improve GDate test coverate glib/tests/date.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 8f40c0e45a158440edb7f4e4fcc95471c028a2e3 Author: Matthias Clasen Date: Mon Aug 23 00:36:36 2010 -0400 Improve GDBus introspection test coverage gio/tests/gdbus-introspection.c | 81 +++++++++++++++++++++++++++++++++++++++ gio/tests/gdbus-peer.c | 4 ++ 2 files changed, 85 insertions(+) commit 847e4dfe7d2ff84c23fba332381e5121ab54aa39 Author: David Zeuthen Date: Sun Aug 22 22:56:49 2010 -0400 GDBusMethodInvocation: nuke constructor ... that is, make it private. This makes sense because users are never expected to create such objects themselves - only the GDBus core will need this. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 - gio/gdbusconnection.c | 18 +++++++++--------- gio/gdbusmethodinvocation.c | 22 +++++++++++----------- gio/gdbusmethodinvocation.h | 9 --------- gio/gdbusprivate.h | 12 ++++++++++++ gio/gio.symbols | 1 - 6 files changed, 32 insertions(+), 31 deletions(-) commit 5668d52babfd40ac502463006f964665f3561008 Author: Fran Diéguez Date: Mon Aug 23 02:24:25 2010 +0200 Updated galician translations po/gl.po | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) commit ff59b66ebaaf580cb355f187e83ce36b198ee880 Author: Jorge González Date: Sun Aug 22 21:17:53 2010 +0200 Updated Spanish translation po/es.po | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 130 insertions(+), 30 deletions(-) commit 3ff9894826215790fdd6c8b53584f94a7172c39f Author: David Zeuthen Date: Thu Aug 5 20:37:27 2010 -0400 Bug 624546 – Modification of GDBusMessage in filter function Allow modifying a GDBusMessage in a filter function and also add tests for this. This breaks API but leaves ABI (almost) intact - at least dconf's GSettings backend (the only big user I know of) will keep working. https://bugzilla.gnome.org/show_bug.cgi?id=624546 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 85 +++++++++++++++----- gio/gdbusconnection.h | 18 +++-- gio/gdbusprivate.c | 59 ++++++++++---- gio/gdbusprivate.h | 6 +- gio/gio.symbols | 1 + gio/gioenums.h | 25 ++++++ gio/tests/gdbus-connection.c | 147 ++++++++++++++++++++++++++++++++++- gio/tests/gdbus-peer.c | 4 +- 9 files changed, 298 insertions(+), 48 deletions(-) commit 6d359d60290f5651b868d326e1e9514f68dfaa32 Author: Ask H. Larsen Date: Sun Aug 22 13:17:24 2010 +0200 Updated Danish translation po/da.po | 2102 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1310 insertions(+), 792 deletions(-) commit ef16ea4616b6d47b533474dd163ae23add7037bc Author: Matthias Clasen Date: Sat Aug 21 22:22:25 2010 -0400 Add proxy extension point to overview docs The 'Extending GIO' section is supposed to list all extension points, so add the proxy extension point here. docs/reference/gio/overview.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 040bffed38529f18d71713fce994b8ea705dbfb6 Author: Matthias Clasen Date: Sat Aug 21 22:14:28 2010 -0400 Fix build on !unix There was one code block still referring to fd_list outside of the ifdef G_OS_UNIX. Pointed out by Sam Thursfield in bug 627392. gio/gdbusprivate.c | 2 ++ 1 file changed, 2 insertions(+) commit 41ce91d0579aa05b89e357c9fd59d9530ad7bf76 Author: Matthias Clasen Date: Sat Aug 21 22:09:32 2010 -0400 Better fix for the build problem Use gnetworkingprivate.h instead, patch by Emilio Pozuelo Monfort, bug 627407. gio/tests/gdbus-peer.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 3d01283f6908000e0a989ba22769c869461be398 Author: Matthias Clasen Date: Sat Aug 21 22:06:56 2010 -0400 Make gdbus-peer build on !linux Based on a patch by Koop Mast, bug 627088. gio/tests/gdbus-peer.c | 3 +++ 1 file changed, 3 insertions(+) commit 61de05e774829f1687244b014732490005cf4b48 Author: Matthias Clasen Date: Sat Aug 21 21:58:51 2010 -0400 Fix a duplicate word Pointed out in bug 627604. gio/gdbusmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a54e2c4fb302ebbeae3e28c70f2342a57edb7521 Author: Matthias Clasen Date: Sat Aug 21 19:27:11 2010 -0400 Add some more annotations gio/gactiongroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 892f9b64584b7a05c517f19f8a9a22d8533a6413 Author: Matthias Clasen Date: Sat Aug 21 19:18:40 2010 -0400 Improve test coverage for actions and action groups gio/tests/actions.c | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) commit 33b775308bd97c02ecdd6de4f91a619c8fcdc282 Author: Matthias Clasen Date: Sat Aug 21 19:18:17 2010 -0400 Document behaviour wrt. to floating variants gio/gaction.c | 4 ++++ 1 file changed, 4 insertions(+) commit 9581b33ca5c2cc56d0e6f1fef5d437f856928494 Author: Matthias Clasen Date: Sat Aug 21 19:11:03 2010 -0400 Document behaviour wrt to floating variants gio/gactiongroup.c | 2 ++ 1 file changed, 2 insertions(+) commit e8ffb1ae83cf63837254ee5979798b2ada18c38a Author: Matthias Clasen Date: Sat Aug 21 16:30:50 2010 -0400 Add some annotations gio/gaction.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit 5b38bc5ad5181bb4900c1da898b2e4fcdcec1757 Author: Ryan Lortie Date: Sat Aug 21 17:35:32 2010 -0400 Simplify/fix state logic in GAction, test it. gio/gaction.c | 55 ++++++++++++++++++++++++++++++++------------------- gio/tests/actions.c | 35 ++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 20 deletions(-) commit 3c5388d9f41b39c939cb67c5fa28cf38ec832cd0 Author: Matthias Clasen Date: Sat Aug 21 15:40:46 2010 -0400 Add some forgotten symbols docs/reference/gio/gio-sections.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bff2af486827499c2da507f17e61fc88c96b43ba Author: Matthias Clasen Date: Sat Aug 21 15:40:32 2010 -0400 Ignore some more private headers docs/reference/gio/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit b876e47e3b623b50dcced6c1c8f6f953c1113753 Author: Matthias Clasen Date: Sat Aug 21 15:34:40 2010 -0400 Fix documentation issues Gtk-doc is unhappy if the parameter names don't match between header and source. gio/gnetworkservice.c | 4 +++- gio/gproxy.c | 18 +++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) commit 4831a102e51825b79d39686983326bcf82490ede Author: Matthias Clasen Date: Sat Aug 21 15:34:18 2010 -0400 Fix GActionGroup docs gio/gactiongroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fceea19be5a7744904f793e38e090b627b8c0ed8 Author: Милош Поповић Date: Sat Aug 21 20:05:14 2010 +0200 Updated Serbian translation po/sr.po | 1756 ++++++++++++++++++++++++++++++++++--------------------- po/sr@latin.po | 1767 +++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 2185 insertions(+), 1338 deletions(-) commit de07279709d35aeb28dfb60ea836cd043eb4cfc2 Author: Chao-Hsiung Liao Date: Sat Aug 21 19:43:37 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 951 +++++++++++++++++++++++++++++++++++++++------------------- po/zh_TW.po | 964 ++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 1305 insertions(+), 610 deletions(-) commit 276a9ba385a2cde538c7d5176ea5ee761c21e9ed Author: Yaron Shahrabani Date: Sat Aug 21 02:35:07 2010 +0300 Updated Hebrew translation. po/he.po | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 127 insertions(+), 30 deletions(-) commit 8524f0dc0d0c2742a90a3fee6dbb7fe290dfb8dd Author: Fran Diéguez Date: Fri Aug 20 13:23:11 2010 +0200 Updated galician translations po/gl.po | 396 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 254 insertions(+), 142 deletions(-) commit 8f5ec0dad328cbb498fe2f60bd465f0e4c5d4cad Author: Dan Winship Date: Thu Aug 19 18:24:53 2010 -0400 Fix misc compiler warnings in (mostly) test programs gio/gdbusmessage.c | 2 +- gio/gio.symbols | 1 - gio/tests/file.c | 17 +++++++++++++++-- gio/tests/g-icon.c | 2 +- glib/tests/date.c | 2 +- glib/tests/node.c | 2 +- glib/tests/shell.c | 4 ++-- tests/gobject/ifaceproperties.c | 2 +- 8 files changed, 22 insertions(+), 10 deletions(-) commit 22b3f0d4b26d0b729c1850f45670a9050dc10772 Author: Dan Winship Date: Thu Aug 19 17:51:24 2010 -0400 gio.symbols: add missing g_simple_action_group stuff gio/gio.symbols | 10 ++++++++++ 1 file changed, 10 insertions(+) commit ab778737aa6d145a0d19d0775270959a72716260 Author: Dan Winship Date: Thu Aug 19 17:51:01 2010 -0400 gproxyaddressenumerator.h: add missing G_END_DECLS gio/gproxyaddressenumerator.h | 2 ++ 1 file changed, 2 insertions(+) commit de1598a34d920882991d6b5166bce815ca4aa428 Author: Nicolas Dufresne Date: Thu Aug 19 17:31:42 2010 -0400 gio/proxy: Fixed compilation warnings * Wrong return type (NULL instead of FALSE) * Unused static function declaration gio/gproxy.c | 2 +- gio/gsocks4proxy.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 0958e663175fe51361aa1e6a87a3f3c5de08bebf Author: Nicolas Dufresne Date: Thu Aug 19 16:23:50 2010 -0400 Add support for g_socket_client_add_application_proxy() This allow application to take control over certain proxy protocol handling. When a proxy protocol must be used and is found in the application proxies, GSocketClient will simply TCP connect to the proxy server and return the connection. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocketclient.c | 41 +++++++++++++++++++++++++++++++++-- gio/gsocketclient.h | 2 ++ 4 files changed, 43 insertions(+), 2 deletions(-) commit ced1d0e2e7d164873d8b7e335a00cfac13785760 Author: Nicolas Dufresne Date: Tue May 25 16:02:42 2010 -0400 Implemented SOCKSv4 and SOCKSv4a gio/Makefile.am | 4 + gio/giomodule.c | 4 + gio/gsocks4aproxy.c | 495 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gsocks4aproxy.h | 55 ++++++ gio/gsocks4proxy.c | 73 ++++++++ gio/gsocks4proxy.h | 44 +++++ po/POTFILES.in | 1 + 7 files changed, 676 insertions(+) commit e2a90bcb5fc50f099cbf8df01a09697f7e48522d Author: Nicolas Dufresne Date: Fri May 7 16:35:04 2010 -0400 Implemented proxy sample code that connect to proxy gio/tests/proxy.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) commit 0ebb79a7488121ae4a18cc84ac92e25ddb2b9544 Author: Nicolas Dufresne Date: Thu Apr 29 18:51:42 2010 -0400 Implemented g_socket_client_connect_to_uri() method Using this rather than g_socket_client_connect() or g_socket_client_connect_to_host() allows #GSocketClient to determine when to use application-specific proxy protocols. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gsocketclient.c | 122 ++++++++++++++++++++++++++++++++++- gio/gsocketclient.h | 14 ++++ 4 files changed, 141 insertions(+), 1 deletion(-) commit a6c3820f46b9caabc45ab19aaf2669b4cb04c5d5 Author: Nicolas Dufresne Date: Tue Aug 10 16:48:45 2010 -0400 Hooked proxy enumeration into GSocketClient This functionnallity can be disabled using property enable-proxy. It enumerates addresses using GSocketConnectable::proxy_enumerate() instead of enumerate(). When the returned address is of type GProxyAddress (a type based on GInetSocketAddress), it gets the proxy protocol handler using g_proxy_get_default_for_protocol() and call connect() on it. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocketclient.c | 307 +++++++++++++++++++++++++++++++---- gio/gsocketclient.h | 3 + 4 files changed, 282 insertions(+), 32 deletions(-) commit ee3dbf747e48a41c916674f111906f57996fd626 Author: Nicolas Dufresne Date: Thu Jul 22 20:51:23 2010 -0400 Implement GProxyConnection a GIOStream+GTcpConn wrapper This class inherit from GTcpConnection by refing the socket of an existing GTcpConnection and wraps a custom GIOStream into itself. This is to allow implementing proxies that alters data stream, like when using GSSAPI privacy inside SOCKS5. gio/Makefile.am | 2 + gio/gproxyconnection.c | 155 ++++++++++++++++++++++++++++++++++++++++++++++++ gio/gproxyconnection.h | 69 +++++++++++++++++++++ 3 files changed, 226 insertions(+) commit 6fa113660057e0e6592b180d1a2aead617e71dec Author: Nicolas Dufresne Date: Thu Apr 29 15:22:55 2010 -0400 Implemented SOCKSv5 proxy support gio/Makefile.am | 2 + gio/giomodule.c | 2 + gio/gsocks5proxy.c | 1053 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gsocks5proxy.h | 48 +++ po/POTFILES.in | 1 + 5 files changed, 1106 insertions(+) commit c32ef1d85e0b7cca02677bbe50fef2ef79a98002 Author: Dan Winship Date: Fri Jun 25 14:28:02 2010 -0400 GSocket: store the remote_address when connecting This way, if g_socket_connect() is called with a GProxyAddress, g_socket_get_remote_address() will later return that same address. Reviewed-by: Nicolas Dufresne gio/gsocket.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) commit b304a23af73374857e6bb18fc636d83fe9ed58ea Author: Nicolas Dufresne Date: Wed Apr 28 15:39:56 2010 -0400 Extend IO_ERROR enum for Proxy support gio/gioenums.h | 17 ++++++++++++++++- gio/gioerror.c | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) commit 1094c84238e05304e4175990c5e0e018cdf97e28 Author: Nicolas Dufresne Date: Fri May 7 16:32:05 2010 -0400 Implemented proxy sample for all Connectables gio/tests/proxy.c | 309 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 290 insertions(+), 19 deletions(-) commit fc03ecce831cd94639df1a355f5dd8c9b8eebfae Author: Nicolas Dufresne Date: Tue Aug 10 15:45:32 2010 -0400 Implemented proxy_enumerate() for all Connectables This patch implements method proxy_enumerate from GSocketConnectable for all connectables (GNetworkAddress, GNetworkService, GInetSocketAddress and GUnixSocketAddress). Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gnetworkaddress.c | 28 ++- gio/gnetworkservice.c | 441 ++++++++++++++++++++--------------- gio/gnetworkservice.h | 2 + gio/gsocketaddress.c | 42 +++- 6 files changed, 329 insertions(+), 188 deletions(-) commit f82f484b8ffa18aab10e79baa96bcfa438f8dc5b Author: Nicolas Dufresne Date: Tue Aug 10 16:53:25 2010 -0400 Added proxy_enumerate method to GSocketConnectable Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 3 ++- gio/gnetworkaddress.c | 2 +- gio/gnetworkingprivate.h | 5 +++++ gio/gsocketconnectable.c | 31 +++++++++++++++++++++++++++++++ gio/gsocketconnectable.h | 8 +++++++- 6 files changed, 47 insertions(+), 3 deletions(-) commit 6749ffce594b146ef49c8fe014bfa8b0272b6b9f Author: Nicolas Dufresne Date: Fri May 7 16:27:34 2010 -0400 Added GProxyAddressEnumerator to proxy sample code gio/tests/proxy.c | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) commit a7e0e8fc0852255d430daa90e7345db67a2a9594 Author: Nicolas Dufresne Date: Tue Aug 10 15:25:11 2010 -0400 Adding GProxyAddressEnumerator class An implementation of GSocketAddressEnumerator that handles proxy enumeration. This class is mainly usefull for Connectables implementation such as NetworkService, NetworkAddress and SocketAddress to handle proxies. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 13 +- docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 6 + gio/giotypes.h | 1 + gio/gproxyaddressenumerator.c | 728 +++++++++++++++++++++++++++++++++++ gio/gproxyaddressenumerator.h | 73 ++++ 8 files changed, 824 insertions(+), 1 deletion(-) commit d76de5e3591431c03a5812acd7682f2ff68fba69 Author: Nicolas Dufresne Date: Tue Aug 10 15:24:37 2010 -0400 Added GProxy interface for proxy extension point Implement an extension point for proxy protocol implementation. This is mainly useful for socket-based proxy where it is possible to use the proxied socket the same way it would for other stream based socket. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 19 ++++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 11 ++ gio/giomodule.c | 4 + gio/giotypes.h | 1 + gio/gproxy.c | 208 +++++++++++++++++++++++++++++++++++ gio/gproxy.h | 123 +++++++++++++++++++++ 10 files changed, 371 insertions(+) commit 63105d1074ce54fdda9c81bb0353abc9b0a24d62 Author: Nicolas Dufresne Date: Tue Aug 10 15:23:37 2010 -0400 Added method g_network_address_parse_uri() This method allow creating a network address from a URI. If no port is found in the URI, the default_port parameter will be used. Note that new property scheme is there for future TLS implementation. Reviewed-by: Dan Winship docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gnetworkaddress.c | 296 +++++++++++++++++++++++++++++++++++ gio/gnetworkaddress.h | 4 + 4 files changed, 304 insertions(+) commit 466111c9605ace99389d56ace213621db01e18d9 Author: Nicolas Dufresne Date: Mon Apr 26 17:27:33 2010 -0400 Implement GProxyAddress A GSocketInetAddress representing the proxy server address with additional properties proxy type, destination address and port, username and password. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 23 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 12 ++ gio/giotypes.h | 1 + gio/gproxyaddress.c | 345 +++++++++++++++++++++++++++++++++++ gio/gproxyaddress.h | 76 ++++++++ 9 files changed, 462 insertions(+) commit 6b1d851cc5ba8ce4276f2e3236da7554b763cf0c Author: Nicolas Dufresne Date: Fri May 7 16:23:45 2010 -0400 Implemented proxy sample code Reviewed-by: Dan Winship gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 5 ++ gio/tests/proxy.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 181 insertions(+) commit f3debedfd2a3197230ac6f09f56741c3eda61e29 Author: Nicolas Dufresne Date: Fri May 7 15:55:54 2010 -0400 Implemented proxy-resolver extension point This extension point allow extending GLib with library like LibProxy that interprets system proxy settings and finds the appropriate configuration based on the type of connection being made. Reviewed-by: Dan Winship docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 20 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 4 + gio/gdummyproxyresolver.c | 156 +++++++++++++++++++++++ gio/gdummyproxyresolver.h | 54 ++++++++ gio/gio.h | 1 + gio/gio.symbols | 11 ++ gio/giomodule.c | 7 + gio/giotypes.h | 9 ++ gio/gproxyresolver.c | 241 +++++++++++++++++++++++++++++++++++ gio/gproxyresolver.h | 96 ++++++++++++++ 12 files changed, 601 insertions(+) commit f82740f7beeac91398fc152a3efef0918540cd7b Author: Jorge González Date: Thu Aug 19 21:17:09 2010 +0200 Updated Spanish translation po/es.po | 295 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 150 insertions(+), 145 deletions(-) commit b4b5ca4fd89a469c423df9d917af0c523196aab5 Author: Yaron Shahrabani Date: Thu Aug 19 09:31:02 2010 +0300 Updated Hebrew translation. po/he.po | 285 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 146 insertions(+), 139 deletions(-) commit 7d6a6ca57b5a5dc1ad55a785dfd79fa98d7e4093 Author: David Zeuthen Date: Wed Aug 18 13:07:25 2010 -0400 Bug 627188 – gdbus-non-socket test occasionally fails Fix logical bug in test case to avoid race condition between the client and the server. Signed-off-by: David Zeuthen gio/tests/gdbus-non-socket.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 6c340c0b0312fc12f01ba1887e559fd36fcf28cb Author: Matthias Clasen Date: Wed Aug 18 12:07:01 2010 -0400 Make gunixcredentialsmessage.h standalone includable gio/gunixcredentialsmessage.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 81b91a8852c0840d907c8192c67b2e65b29d41c6 Author: Emmanuele Bassi Date: Wed Aug 18 16:54:36 2010 +0100 action: Minor fixes • Argument validation. • Since: annotations. • Remove (allow-none) annotations from return values. • Coding style fixes. gio/gaction.c | 89 ++++++++++++++++++++---------- gio/gactiongroup.c | 154 +++++++++++++++++++++++++++++++++++----------------- 2 files changed, 166 insertions(+), 77 deletions(-) commit 504117e284682bff973ad73646fa67103978d016 Author: Emmanuele Bassi Date: Wed Aug 18 16:54:11 2010 +0100 action-group: Check aginst the correct GType macro G_TYPE_ACTION_GROUP is not a G_TYPE_ACTION. gio/gactiongroup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5bb94348f4760352f6ae974002db48cb130343a4 Author: David Zeuthen Date: Wed Aug 18 11:35:25 2010 -0400 GDBusProxy: Call into well-known name if no name owner currently exists This is really what (API) users expect from GDBusProxy - in particular, mclasen and I ran into this problem while debugging a upower issue, see https://bugzilla.redhat.com/show_bug.cgi?id=624125 In a nutshell, the problem is that polkitd crashes while upower holds a PolkitAuthority object (which in turns contains a GDBusProxy for the well-known name org.freedesktop.PolicyKit1). This means that subsequent calls on the PolkitAuthority (which is translated into calls into the GDBusProxy) fails since :g-name-owner is NULL. With this fix, we'll be requesting the bus daemon to launch polkitd since we will start calling into org.freedesktop.PolicyKit1 as soon as we notice that there is no owner for this name. Unfortunately our test suite doesn't cover service activation so there is no way to reliably test this. I will file a bug about this. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 108 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 80 insertions(+), 28 deletions(-) commit c2945808acc09562fad0ecd1247fcc3e53eeb913 Author: David Zeuthen Date: Wed Aug 18 10:52:28 2010 -0400 GDBusProxy: Use %, not #, for referencing enum constants in gtk-doc comments Signed-off-by: David Zeuthen gio/gdbusproxy.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit a35efb0939c05d572b3a601fb3de62c599d2cf9c Author: Christian Persch Date: Wed Aug 18 01:02:22 2010 +0200 G_OPTION_FLAG_NO_ARG is only for callback options Bug #627252. glib/tests/option-context.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 5db9e5ad58040b5ccdba73c59a76522f9c35aa34 Author: Ryan Lortie Date: Wed Aug 18 02:15:09 2010 -0400 add GSimpleActionGroup and a simple test docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 28 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gsimpleactiongroup.c | 401 +++++++++++++++++++++++++++++++++++ gio/gsimpleactiongroup.h | 91 ++++++++ gio/tests/actions.c | 28 +++ 9 files changed, 554 insertions(+) commit 972c563f2328e5d1e176d99dd8abaf490b5db324 Author: Ryan Lortie Date: Wed Aug 18 02:14:37 2010 -0400 add some missed bits in the docs docs/reference/gio/gio-sections.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit e1ded9f900349a64d25f659b0515e61956325557 Author: Ryan Lortie Date: Wed Aug 18 01:56:34 2010 -0400 add gaction.h to gio.h gio/gio.h | 1 + 1 file changed, 1 insertion(+) commit 8014e9c6e67958103ef490e1bc753e4426751751 Author: Ryan Lortie Date: Wed Aug 18 01:55:48 2010 -0400 add testcase for GAction fix some small bugs it found gio/gaction.c | 9 ++++-- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 3 ++ gio/tests/actions.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 91 insertions(+), 3 deletions(-) commit 8475d6d7d05f00e6fd43ffe882b47025330caa6f Author: Ryan Lortie Date: Wed Aug 18 01:45:15 2010 -0400 add GAction base class docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 31 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gaction.c | 597 +++++++++++++++++++++++++++++++++++ gio/gaction.h | 120 +++++++ gio/gio.symbols | 17 + gio/giotypes.h | 1 + 8 files changed, 770 insertions(+) commit a3f4ff52ca7e8cea8db6374d55d44729936da243 Author: Ryan Lortie Date: Wed Aug 18 01:07:07 2010 -0400 gio.symbols: Fix missed symbol name tweak gio/gio.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e04125e3543fd59a067abefc72011433a7db915 Author: Ryan Lortie Date: Wed Aug 18 00:37:50 2010 -0400 pad the GActionGroup vtable gio/gactiongroup.h | 4 ++++ 1 file changed, 4 insertions(+) commit 6fe74a4c6ab9895f77e889253ad9a369a0f9d1cc Author: Ryan Lortie Date: Wed Aug 18 00:33:17 2010 -0400 Add gactiongroup.h to gio.h gio/gio.h | 1 + 1 file changed, 1 insertion(+) commit e71dbb97326f767881142cb24cf0850ee8c40008 Author: Ryan Lortie Date: Wed Aug 18 00:30:44 2010 -0400 add GActionGroup base class docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 38 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 14 +- gio/gactiongroup.c | 453 +++++++++++++++++++++++++++++++++++ gio/gactiongroup.h | 173 +++++++++++++ gio/gio-marshal.list | 1 + gio/gio.symbols | 20 ++ gio/giotypes.h | 1 + 9 files changed, 699 insertions(+), 3 deletions(-) commit ddad707b85bf2075c0ca37b4a2267c6eac60a358 Author: Dan Winship Date: Tue Aug 17 18:38:34 2010 -0400 update gio/tests/.gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit c56379264dd8714bdf08675927a5e59debaa7fc3 Author: Christian Persch Date: Tue Aug 17 18:38:46 2010 +0200 Plug a mem leak in GDBusWorker Free the read buffer. ==26538== 4,096 bytes in 1 blocks are definitely lost in loss record 781 of 781 ==26538== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==26538== by 0x4005C66: realloc (vg_replace_malloc.c:476) ==26538== by 0x405244D: g_realloc (gmem.c:181) ==26538== by 0x420E066: _g_dbus_worker_do_read_unlocked (gdbusprivate.c:780) ==26538== by 0x420E1D1: _g_dbus_worker_do_read (gdbusprivate.c:812) ==26538== by 0x420F14A: _g_dbus_worker_thread_begin_func (gdbusprivate.c:1318) ==26538== by 0x420D2ED: invoke_caller (gdbusprivate.c:266) ==26538== by 0x404DA7C: g_idle_dispatch (gmain.c:4224) ==26538== by 0x4049FCD: g_main_dispatch (gmain.c:2119) ==26538== by 0x404B2C1: g_main_context_dispatch (gmain.c:2672) ==26538== by 0x404B716: g_main_context_iterate (gmain.c:2750) ==26538== by 0x404BE7F: g_main_loop_run (gmain.c:2958) ==26538== by 0x420D2B5: shared_thread_func (gdbusprivate.c:248) ==26538== by 0x4077958: g_thread_create_proxy (gthread.c:1897) ==26538== by 0x57D918: start_thread (pthread_create.c:301) ==26538== by 0x4C6CBD: clone (clone.S:133) Bug #627187. gio/gdbusprivate.c | 2 ++ 1 file changed, 2 insertions(+) commit a91a4a420e8ba6428e7db13bd9c308256cfbb323 Author: Christian Persch Date: Tue Aug 17 18:29:14 2010 +0200 Plug a mem leak in gdbus-connection test ==26538== 145 (24 direct, 121 indirect) bytes in 1 blocks are definitely lost in loss record 765 of 790 ==26538== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==26538== by 0x405233C: g_malloc (gmem.c:134) ==26538== by 0x406A57E: g_slice_alloc (gslice.c:836) ==26538== by 0x406A60C: g_slice_copy (gslice.c:858) ==26538== by 0x4035C5A: g_error_copy (gerror.c:160) ==26538== by 0x41B6387: g_simple_async_result_set_from_error (gsimpleasyncresult.c:638) ==26538== by 0x41FCDEB: g_dbus_connection_call_done (gdbusconnection.c:4808) ==26538== by 0x41B682E: g_simple_async_result_complete (gsimpleasyncresult.c:762) ==26538== by 0x41B686A: complete_in_idle_cb (gsimpleasyncresult.c:772) ==26538== by 0x404DA7C: g_idle_dispatch (gmain.c:4224) ==26538== by 0x4049FCD: g_main_dispatch (gmain.c:2119) ==26538== by 0x404B2C1: g_main_context_dispatch (gmain.c:2672) ==26538== by 0x404B716: g_main_context_iterate (gmain.c:2750) ==26538== by 0x404BE7F: g_main_loop_run (gmain.c:2958) ==26538== by 0x804B5CC: test_connection_send (gdbus-connection.c:407) ==26538== by 0x4073D04: test_case_run (gtestutils.c:1174) Bug #627187. gio/tests/gdbus-connection.c | 1 + 1 file changed, 1 insertion(+) commit 75563e81c2b6bab345e08daafd3206cec699f2ea Author: Christian Persch Date: Tue Aug 17 18:20:23 2010 +0200 Plug a mem leak in gdbus-connection test ==25403== 49 (24 direct, 25 indirect) bytes in 1 blocks are definitely lost in loss record 603 of 787 ==25403== at 0x4005BDC: malloc (vg_replace_malloc.c:195) ==25403== by 0x405233C: g_malloc (gmem.c:134) ==25403== by 0x406A57E: g_slice_alloc (gslice.c:836) ==25403== by 0x406A5C3: g_slice_alloc0 (gslice.c:848) ==25403== by 0x4035B4E: g_error_new_literal (gerror.c:117) ==25403== by 0x4035ED9: g_set_error_literal (gerror.c:314) ==25403== by 0x41F6434: g_dbus_connection_close_sync (gdbusconnection.c:1284) ==25403== by 0x804A861: test_connection_life_cycle (gdbus-connection.c:158) ==25403== by 0x4073D04: test_case_run (gtestutils.c:1174) ==25403== by 0x4073FC2: g_test_run_suite_internal (gtestutils.c:1223) ==25403== by 0x4074077: g_test_run_suite_internal (gtestutils.c:1233) ==25403== by 0x4074077: g_test_run_suite_internal (gtestutils.c:1233) ==25403== by 0x40741FB: g_test_run_suite (gtestutils.c:1274) ==25403== by 0x40733E5: g_test_run (gtestutils.c:877) ==25403== by 0x804DC92: main (gdbus-connection.c:1024) Bug #627187. gio/tests/gdbus-connection.c | 1 + 1 file changed, 1 insertion(+) commit a62a2fd8edc0ca771ca1c1df1889766f3c73b0e4 Author: Christian Persch Date: Tue Aug 17 18:08:07 2010 +0200 Plug a mem leak in the gdbus-connection test Bug #627182. gio/tests/gdbus-connection.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 7191fc3f17d39a3fa27e990a3723403066d34826 Author: Christian Persch Date: Sun Jun 20 14:33:27 2010 +0200 Use g_memory_output_stream_steal_data here ... instead of one extra g_memdup(). Bug #627181. gio/gdbusmessage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 71e73ffdfbd7a33f4e233cfe1353adf143a2c14c Author: Christian Persch Date: Sat May 24 16:08:28 2008 +0200 Use G_DEFINE_[BOXED|POINTER]_TYPE instead of handwritten code Now that we have convenience macros to implement boxed and pointer types, use them. gio/gdbusintrospection.c | 17 +--- gio/gfileattribute.c | 20 +---- gio/gfileinfo.c | 20 +---- gio/gsrvtarget.c | 17 +--- gobject/gboxed.c | 215 ++++++++-------------------------------------- gobject/gsourceclosure.c | 14 +-- gobject/gvaluetypes.c | 10 +-- 7 files changed, 50 insertions(+), 263 deletions(-) commit dc1999316da0409c5bc15e37a0a568a8309bb5a3 Author: Christian Persch Date: Sat May 24 16:08:04 2008 +0200 Add G_DEFINE_{BOXED,POINTER}_TYPE[_WITH_CODE] Add convenience type definition macros for boxed and pointer types similar to G_DEFINE_TYPE for object types. Bug #449565. docs/reference/gobject/gobject-sections.txt | 4 + gobject/gtype.h | 110 +++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) commit cae86073eaf932b85836e98df8d87c65d90f5842 Author: Christian Persch Date: Thu May 13 19:57:41 2010 +0200 Add GZIP header processing to GZlibCompressor/GZlibDecompressor Add GZlibCompressor:file-info property. If it contains a non-NULL GFileInfo, and the compressor is in GZIP mode, the filename and modification time from the file info are written to the GZIP header in the output data. Add GZlibDeompressor:file-info property. If the decompressor is in GZIP mode, and the GZIP data contains a GZIP header, the filename and modification time are read from it, stored in a GFileInfo, and the file-info property is notified. Bug #617691. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gzlibcompressor.c | 117 +++++++++++++++++++++++++++++- gio/gzlibcompressor.h | 5 ++ gio/gzlibdecompressor.c | 134 ++++++++++++++++++++++++++++++++--- gio/gzlibdecompressor.h | 3 + gio/tests/filter-cat.c | 38 +++++++++- 7 files changed, 293 insertions(+), 10 deletions(-) commit b196cd74473cbc812359ee3b484a3986604e9aba Author: Christian Persch Date: Sun Jun 20 14:32:52 2010 +0200 Add g_memory_output_stream_steal_data Bug #622184. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 29 +++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 1 + 4 files changed, 32 insertions(+) commit 322ac7ff68205daf52a2d0bcecc098edd6b413b9 Author: Matthias Clasen Date: Mon Aug 16 16:36:38 2010 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 503b0744744517ecf1c29eaa83e8e69537ae3547 Author: Matthias Clasen Date: Mon Aug 16 15:44:40 2010 -0400 Fix a typo NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e21e44fc2e96d86c9cdeb6b904b29fed70acec18 Author: David Zeuthen Date: Mon Aug 16 15:42:23 2010 -0400 Add NEWS item for bug 627071 Signed-off-by: David Zeuthen NEWS | 1 + 1 file changed, 1 insertion(+) commit b8e7ef6e90512999be0340a6ef3f20e1783647c4 Author: David Zeuthen Date: Mon Aug 16 15:37:01 2010 -0400 Bug 627071 – g_output_stream_write() clarification This patch guarantees that g_output_stream_write() can never fail with G_IO_ERROR_WOULD_BLOCK. Without such a guarantee, we would need some kind of GIOPollable interface or some way to get an event when the stream is writable again. Which is mostly useless considering that this method is asynchronous anyway. Note: this patch just codifies existing behavior - GUnixOutputStream, GSocketOutputStream and other implementations already work this way. See also bug 626748 comment 5 for how the GDBus code relies on this guarantee. https://bugzilla.gnome.org/show_bug.cgi?id=627071 Signed-off-by: David Zeuthen gio/goutputstream.c | 4 ++++ 1 file changed, 4 insertions(+) commit 285170637de0df2011b9b667cab5c68640832580 Author: Matthias Clasen Date: Mon Aug 16 15:32:13 2010 -0400 More NEWS NEWS | 1 + 1 file changed, 1 insertion(+) commit 789c0cc877a41a65417b0ee1d6eed5803c48c238 Author: Matthias Clasen Date: Mon Aug 16 15:28:36 2010 -0400 Fix a doc format issue glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d848a5eade18ba4567899601d5e34e381a636817 Author: Matthias Clasen Date: Mon Aug 16 15:16:16 2010 -0400 Update NEWS for 2.25.14 NEWS | 7 +++++++ 1 file changed, 7 insertions(+) commit 8a3a4596e2e3a718d77bf214c6e2d16c21856da2 Author: David Zeuthen Date: Mon Aug 16 13:43:35 2010 -0400 Bug 626748 – Use async methods for writing and handle EAGAIN If sending a lot of data and/or the other peer is not reading it, then socket buffers can overflow. This is communicated from the kernel by returning EAGAIN. In GIO, it is modelled by g_output_stream_write() and g_socket_send_message() returning G_IO_ERROR_WOULD_BLOCK. It is also problematic that that we're using synchronous IO in the shared GDBus IO thread. It means that one GDBusConnection can lock up others. It turns out that by porting from g_output_stream_write() to g_output_stream_write_async() we fix the EAGAIN issue. For GSocket, we still need to handle things manually (by creating a GSource) as g_socket_send_message() is used. We check the new behavior in Michael's producer/consumer test case (at /gdbus/overflow in gdbus-peer.c) added in the last commit. Also add a test case that sends and receives a 20 MiB message. Also add a new `transport' G_DBUS_DEBUG option so it is easy to inspect partial writes: $ G_DBUS_DEBUG=transport ./gdbus-connection -p /gdbus/connection/large_message [...] ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 0 on a GSocketOutputStream ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 128000 on a GSocketOutputStream ======================================================================== GDBus-debug:Transport: >>>> WROTE 128000 bytes of message with serial 4 and size 20971669 from offset 256000 on a GSocketOutputStream [...] ======================================================================== GDBus-debug:Transport: >>>> WROTE 43669 bytes of message with serial 4 and size 20971669 from offset 20928000 on a GSocketOutputStream [...] ======================================================================== GDBus-debug:Transport: <<<< READ 16 bytes of message with serial 3 and size 20971620 to offset 0 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 15984 bytes of message with serial 3 and size 20971620 to offset 16 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 16000 bytes of message with serial 3 and size 20971620 to offset 16000 from a GSocketInputStream [...] ======================================================================== GDBus-debug:Transport: <<<< READ 144000 bytes of message with serial 3 and size 20971620 to offset 20720000 from a GSocketInputStream ======================================================================== GDBus-debug:Transport: <<<< READ 107620 bytes of message with serial 3 and size 20971620 to offset 20864000 from a GSocketInputStream OK https://bugzilla.gnome.org/show_bug.cgi?id=626748 Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 4 + gio/gdbusprivate.c | 589 ++++++++++++++++++++++++++++++--------- gio/gdbusprivate.h | 1 + gio/tests/gdbus-connection.c | 80 ++++++ gio/tests/gdbus-peer.c | 76 +++-- 5 files changed, 596 insertions(+), 154 deletions(-) commit a6264a3a19c29fc7c4fe0719a8c2ff1554924b12 Author: David Zeuthen Date: Mon Aug 16 12:30:25 2010 -0400 GSocket: Properly initialize msg.msg_control This patch fixes this problem Syscall param socketcall.sendmsg(msg.msg_control) points to uninitialised byte(s) at 0x3D5B00EA60: __sendmsg_nocancel (syscall-template.S:82) by 0x53F9790: g_socket_send_message (gsocket.c:2918) by 0x540FDD0: g_unix_connection_send_credentials (gunixconnection.c:351) by 0x542B93F: _g_dbus_auth_run_client (gdbusauth.c:618) by 0x5438001: initable_init (gdbusconnection.c:2191) by 0x53E09CC: g_initable_init (ginitable.c:105) by 0x543F6E9: g_bus_get_sync (gdbusconnection.c:6091) by 0x402C7E: test_connection_life_cycle (gdbus-connection.c:126) by 0x4C7CABB: test_case_run (gtestutils.c:1174) by 0x4C7CD84: g_test_run_suite_internal (gtestutils.c:1223) by 0x4C7CE49: g_test_run_suite_internal (gtestutils.c:1233) by 0x4C7CE49: g_test_run_suite_internal (gtestutils.c:1233) Address 0x7fefff9fc is on thread 1's stack Signed-off-by: David Zeuthen gio/gsocket.c | 1 + 1 file changed, 1 insertion(+) commit 4bc4590c7bb5d8e7c248347e4b702ab8b506d937 Author: Matthias Clasen Date: Mon Aug 16 10:21:38 2010 -0400 Declare stream base classes as abstract gio/gfilterinputstream.c | 2 +- gio/gfilteroutputstream.c | 2 +- gio/ginputstream.c | 2 +- gio/giostream.c | 2 +- gio/goutputstream.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 547311bfd8661e25e588e1f434f15c5f2f32c3a7 Author: Dan Winship Date: Thu Jun 24 13:09:14 2010 -0400 Always do async vs sync correctly in GSocketConnection streams Previously if a GSocketConnection had a blocking GSocket, it would sometimes block during asynchonous I/O, and if it had a non-blocking socket, it would sometimes return G_IO_ERROR_WOULD_BLOCK from synchronous I/O. This fixes the connection to not depend on the socket state. https://bugzilla.gnome.org/show_bug.cgi?id=616458 docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 70 +++++++++++++++++++++++++++++++++-- gio/gsocket.h | 13 +++++++ gio/gsocketinputstream.c | 16 ++++---- gio/gsocketoutputstream.c | 16 ++++---- 6 files changed, 101 insertions(+), 18 deletions(-) commit 17fea2f749a407a15a82977b3488530cd5305266 Author: Dan Winship Date: Sun Aug 15 07:57:37 2010 -0400 Belatedly add g_socket_client_get/set_timeout to docs and symbols docs/reference/gio/gio-sections.txt | 2 ++ gio/gio.symbols | 2 ++ 2 files changed, 4 insertions(+) commit b76b24f1b3f82c2400cce8948b44ae32aa0e23ee Author: Dan Winship Date: Sat Aug 14 16:15:39 2010 -0400 GSocketClient: plug two leaks g_socket_client_connect_async() was always leaking its GCancellable, and would also leak any GSocket that eventually failed to connect after returning G_IO_ERROR_PENDING. gio/gsocketclient.c | 4 ++++ 1 file changed, 4 insertions(+) commit 16bafb479995e69417b86b5b26682ec7c2ceb5a0 Author: Dan Winship Date: Sat Aug 14 15:04:24 2010 -0400 GSocketClient: add a timeout property GSocket has a timeout flag now, but when using GSocketClient there was no way to set the timeout until after connecting (or failing). Fix that by adding a timeout property to GSocketClient. gio/gsocketclient.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++- gio/gsocketclient.h | 3 +++ gio/tests/send-data.c | 5 ++++ 3 files changed, 76 insertions(+), 1 deletion(-) commit 28a4fff7ec63000238c7e20ff965238027922c47 Author: Will Thompson Date: Fri Aug 13 23:34:44 2010 -0400 Add examples for GAsyncInitiable and GSimpleAsyncResult Bug 602417 gio/gasyncinitable.c | 94 +++++++++++++++++++++++++++++++++++++++++ gio/gsimpleasyncresult.c | 104 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 197 insertions(+), 1 deletion(-) commit 7a32e34f7c46a4e1e2fe6f35490b1f8469ed08b7 Author: Will Thompson Date: Fri Aug 13 23:20:06 2010 -0400 Document that _complete() et al. ref the GSimpleAsyncResult gio/gsimpleasyncresult.c | 3 +++ 1 file changed, 3 insertions(+) commit ec31612ea00e2babd5d6b02d65966164594a03f8 Author: Will Thompson Date: Fri Aug 13 23:15:27 2010 -0400 _simple_async_result_is_valid: allow tag to be NULL Because g_simple_async_report_[g]error_in_idle() don't take a source tag parameter, code that uses them can't currently use g_simple_async_result_is_valid() (at least, not for the error case). Bug 602417 gio/gsimpleasyncresult.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit c29d800d84d446d3762329815824a8be269c969b Author: Simon McVittie Date: Fri Aug 13 22:42:24 2010 -0400 GVariant: be more explicit about adopting and returning floating refs Bug: https://bugzilla.gnome.org/show_bug.cgi?id=622770 docs/reference/glib/gvariant-varargs.xml | 4 ++- glib/gvariant.c | 53 +++++++++++++++++++----------- 2 files changed, 37 insertions(+), 20 deletions(-) commit e02571e93bb4c1986ec1190fb6c7d02eba0c746a Author: Matthias Clasen Date: Fri Aug 13 21:22:45 2010 -0400 Add bug references to some tests gio/tests/async-close-output-stream.c | 8 ++++++++ gio/tests/converter-stream.c | 4 ++++ glib/tests/mem-overflow.c | 29 +++++++++++++++++++++++++++++ gobject/tests/binding.c | 4 ++++ 4 files changed, 45 insertions(+) commit ea8a963936655ee3c13c5552cce96c309f8a384f Author: Matthias Clasen Date: Fri Aug 13 21:21:43 2010 -0400 Document vendor override files Features without documentation, tsk tsk. docs/reference/gio/glib-compile-schemas.xml | 6 ++++ gio/gsettings.c | 48 +++++++++++++++++++-------- 2 files changed, 40 insertions(+), 14 deletions(-) commit 63d19f065690b77059c335c0378a93f1a18b09c9 Author: Matthias Clasen Date: Fri Aug 13 21:05:05 2010 -0400 Fix doc format errors glib/gconvert.c | 4 ++-- glib/gregex.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4160c5c74a06404037462dde572ec49663d685ea Author: Matthias Clasen Date: Fri Aug 13 19:40:48 2010 -0400 Add tests for async file replace and load gio/tests/file.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 143 insertions(+), 8 deletions(-) commit c003468296642dccdca230e5fbec22ceab0a9959 Author: Matthias Clasen Date: Fri Aug 13 17:22:28 2010 -0400 Correct a comment gio/inotify/inotify-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93bd5298c7f78fd7cb12734b6f3df5aa93f2c82b Author: Matthias Clasen Date: Fri Aug 13 17:21:22 2010 -0400 Add an async file create/write/read/delete test gio/tests/file.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 144 insertions(+), 19 deletions(-) commit 7ed4762190afca85424903a0977300585169b510 Author: Matthias Clasen Date: Fri Aug 13 17:19:01 2010 -0400 Fix a typo, and some doc reformatting gio/ginputstream.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit effdb785fd941daf5fdec7df434242de25e5127e Author: Matthias Clasen Date: Fri Aug 13 16:04:04 2010 -0400 Add some long descriptions for filter streams gio/gfilterinputstream.c | 4 ++++ gio/gfilteroutputstream.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 13e55b84ebb1aa148260a7d21da6a592d1e1dadb Author: Matthias Clasen Date: Fri Aug 13 15:15:21 2010 -0400 Run volumemonitor test with local vfs This is an attempt to stop the test from hanging on some build bots in build.gnome.org. gio/tests/volumemonitor.c | 2 ++ 1 file changed, 2 insertions(+) commit d344ff9d67a7e723a1c2163e7d9254dd6ef049d2 Author: David Zeuthen Date: Fri Aug 13 13:58:27 2010 -0400 Bug 626841 – Add test-case for non-socket GIOStream Also fix a couple of bugs so it actually works. https://bugzilla.gnome.org/show_bug.cgi?id=626841 Signed-off-by: David Zeuthen gio/gdbusprivate.c | 140 +++++++++-------- gio/tests/Makefile.am | 6 +- gio/tests/gdbus-non-socket.c | 346 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 424 insertions(+), 68 deletions(-) commit 9be94e88999b5f10347b5c1b8542b88a35d3f93a Author: Michael Meeks Date: Fri Aug 13 17:56:19 2010 +0100 Add test for EAGAIN overflow in gdbusconnection based on David's test. gio/tests/gdbus-peer.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 1 deletion(-) commit 5d9d3f03182d732ad732370dffc7d268c9d65e9d Author: Matthias Clasen Date: Fri Aug 13 12:04:21 2010 -0400 Add some async file tests gio/tests/file.c | 237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 237 insertions(+) commit ee38c03582df8b757c2fe64b3b5a6be9b6083135 Author: Matthias Clasen Date: Fri Aug 13 00:47:02 2010 -0400 Collect NEWS for 2.25.14 NEWS | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit ef4b0afc0b3217ce65e12c0606855af52659490b Author: Matthias Clasen Date: Fri Aug 13 00:30:58 2010 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 106bde0a8fa34a72f66f037b0428a3105cb953bc Author: Havoc Pennington Date: Thu Aug 12 23:57:26 2010 -0400 GAsyncQueue: use g_queue_init() not g_queue_new() By using g_queue_init() instead of g_queue_new(), we can avoid a separate memory allocation. Bug 626704 glib/gasyncqueue.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit f424aa9581ff4fedb9205f360112b6b17518edeb Author: Daniel Nylander Date: Thu Aug 12 13:19:50 2010 +0200 Updated Swedish translation po/sv.po | 2135 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1226 insertions(+), 909 deletions(-) commit 398f9841eddc10e0e6b1ccee4823e2ea3650bd9a Author: Tor Lillqvist Date: Tue Aug 10 16:01:39 2010 +0300 Fix gio/win32 build after -I flag changes gio/win32/gwin32directorymonitor.c | 1 - gio/win32/gwin32directorymonitor.h | 4 ++-- gio/win32/gwinhttpfile.c | 8 ++++---- gio/win32/gwinhttpfileinputstream.c | 4 ++-- gio/win32/gwinhttpfileoutputstream.c | 4 ++-- gio/win32/gwinhttpvfs.c | 6 +++--- gio/win32/gwinhttpvfs.h | 3 +-- 7 files changed, 14 insertions(+), 16 deletions(-) commit 304c0c4746fb8df993a3e6429414d6cf1ba287b8 Author: Aron Xu Date: Mon Aug 9 14:26:38 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 594 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 405 insertions(+), 189 deletions(-) commit 43c0aa9ebe16cf17009678732decc9e852701f15 Author: Matthias Clasen Date: Sun Aug 8 23:53:52 2010 -0400 Replace the explicit list of character categories by a reference to the GUnicodeType docs. docs/reference/glib/regex-syntax.sgml | 124 +-------------------------------- 1 file changed, 3 insertions(+), 121 deletions(-) commit 4e42893369c8b8092de7feedb447ca538f8dccf2 Author: Matthias Clasen Date: Sun Aug 8 23:43:29 2010 -0400 Refer to GUnicodeScript docs instead of listing scripts explicitly docs/reference/glib/regex-syntax.sgml | 80 +++++---------------------------- 1 file changed, 10 insertions(+), 70 deletions(-) commit 733d209b14f1b88288e08241a64ef77284108505 Author: Matthias Clasen Date: Sun Aug 8 23:21:54 2010 -0400 Move GRegex docs inline docs/reference/glib/tmpl/gregex.sgml | 302 ++++++++++------------------------ glib/gregex.c | 60 +++++++ glib/gregex.h | 225 +++++++++++++++++++++++++ 3 files changed, 371 insertions(+), 216 deletions(-) commit c3e5b3cca883546a40a5d7aa219c74cb6574bcd6 Author: Matthias Clasen Date: Sun Aug 8 22:19:10 2010 -0400 Whitespace cleanup glib/gregex.c | 1067 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 533 insertions(+), 534 deletions(-) commit de3c6efa222389ef253fbe1b7b868b95a37aedb1 Author: Matthias Clasen Date: Sun Aug 8 22:15:16 2010 -0400 Remove two redundant comments glib/garray.c | 4 ---- 1 file changed, 4 deletions(-) commit b5bda64a730876205ce5aae069f11161d6b94cc4 Author: Matthias Clasen Date: Sun Aug 8 22:14:56 2010 -0400 Fix up a doc typo glib/gbase64.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f5a58639759af5333990a24ef6c8275c8f5afcde Author: Matthias Clasen Date: Sun Aug 8 22:12:40 2010 -0400 Minor cleanup The definition is now present in pcre.h glib/gregex.c | 5 ----- 1 file changed, 5 deletions(-) commit def0dc01f74e9b8b0904c6b8866835f9efb640a8 Author: Matthias Clasen Date: Sun Aug 8 22:11:38 2010 -0400 Move GConvert docs inline docs/reference/glib/tmpl/conversions.sgml | 174 ++--------------------------- glib/gconvert.c | 121 ++++++++++++++++++++ glib/gconvert.h | 28 ++++- 3 files changed, 157 insertions(+), 166 deletions(-) commit f837e15972d7cd93ac8bddbaeed60289c7263c1a Author: A S Alam Date: Tue Aug 10 06:24:02 2010 +0530 update translation for master po/pa.po | 1808 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1048 insertions(+), 760 deletions(-) commit f9a4b4ecc7a0f838897797dc5b478520c9f05168 Author: Matthias Clasen Date: Sun Aug 8 21:29:26 2010 -0400 Add introspection annotations in gregex.c Also, make the new getters follow the style of other GRegex getters, and take a const GRegex *. glib/gregex.c | 192 +++++++++++++++++++++++++++++---------------------------- glib/gregex.h | 4 +- 2 files changed, 100 insertions(+), 96 deletions(-) commit 14e0ad7c5379e14f31a0e54bc2bf73f3c2d07d0d Author: Matthias Clasen Date: Sun Aug 8 20:49:59 2010 -0400 Don't compile some unused functions in gio/xdgmime/ gio/xdgmime/xdgmime.c | 22 +++++++++++++++++++++- gio/xdgmime/xdgmime.h | 14 ++++++++++++-- gio/xdgmime/xdgmimealias.c | 4 +++- gio/xdgmime/xdgmimealias.h | 3 ++- gio/xdgmime/xdgmimecache.c | 8 +++++++- gio/xdgmime/xdgmimecache.h | 6 ++++++ gio/xdgmime/xdgmimeglob.c | 7 +++++++ gio/xdgmime/xdgmimeglob.h | 2 ++ gio/xdgmime/xdgmimeicon.c | 2 ++ gio/xdgmime/xdgmimeicon.h | 2 ++ gio/xdgmime/xdgmimeparent.c | 2 ++ gio/xdgmime/xdgmimeparent.h | 2 ++ glib/pcre/pcre_compile.c | 4 +++- glib/pcre/pcre_get.c | 2 +- glib/pcre/pcre_ucp_searchfuncs.c | 4 +++- 15 files changed, 75 insertions(+), 9 deletions(-) commit 7acdaf6f1db90c17985b81033050e1814723d6ae Author: Matthias Clasen Date: Sun Aug 8 18:35:12 2010 -0400 Don't compile an unused function glib/pcre/pcre_compile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3fd1fc4f9a8511587637efc9b0942e4919fab031 Author: Matthias Clasen Date: Sun Aug 8 18:34:59 2010 -0400 Trivial typo fix glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9916d64b1cf996a4cdb9f8887972038b492426d Author: Matthias Clasen Date: Sun Aug 8 18:34:38 2010 -0400 Improve regex test coverage glib/tests/regex.c | 559 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 558 insertions(+), 1 deletion(-) commit 584787f580cf6e36c020b7d7ee0a01baea8896aa Author: Matthias Clasen Date: Sun Aug 8 11:32:50 2010 -0400 Improve the async result test coverage gio/tests/simple-async-result.c | 1 + 1 file changed, 1 insertion(+) commit 7c129c901121b2ca8374d64c716828101ce79cb9 Author: Matthias Clasen Date: Sun Aug 8 11:31:53 2010 -0400 Improve dbus address test coverage gio/tests/gdbus-addresses.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit ae8b375f0ffe4c26c366728a33b04167d3f1fd1b Author: Fran Diéguez Date: Mon Aug 9 01:11:59 2010 +0200 Updated galician translations po/gl.po | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit bbd1d2a72429929d15c0764853addcf3a6a8bead Author: Matthias Clasen Date: Sun Aug 8 01:09:18 2010 -0400 Improve regex test coverage glib/tests/regex.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) commit 6ada7532b5e8d3c613e26144afbf4c38367afd90 Author: Matthias Clasen Date: Sun Aug 8 01:08:34 2010 -0400 Drop some unused code Some functions in pcre_get.c are not used. glib/pcre/pcre_get.c | 3 +++ 1 file changed, 3 insertions(+) commit 8804d6a98ffabc83bea2a35d4aaf26617fa062f0 Author: Matthias Clasen Date: Sun Aug 8 01:07:53 2010 -0400 Simplify gcov generation lcov seems to handle .libs just fine on its own. Makefile.decl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 01cae84e47ff749e475d7931106c8b00829021e5 Author: Ryan Lortie Date: Sat Aug 7 19:58:12 2010 -0400 Bug 578295 - gtester has a race condition Deal with the race in GMainLoop by installing a do-nothing timeout. glib/gtester.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 51ad83f7119bcf43d5e9b6b89fd3f33bd9ab1e3d Author: Matthias Clasen Date: Sat Aug 7 18:56:12 2010 -0400 Make g_dbus_error_unregister_error work gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8e236f7ec1e0f620a516255a6b8ed7ae169bc87e Author: Matthias Clasen Date: Sat Aug 7 18:55:21 2010 -0400 Add some more test about gdbus_error apis gio/tests/gdbus-error.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit 7de6658f74a43065fa9a27db6cb4d26b6a946a32 Author: Matthias Clasen Date: Sat Aug 7 17:08:54 2010 -0400 Make g_simple_async_result_is_valid work without source The problem was pointed out by Xavier Claessens in bug 626208. gio/gsimpleasyncresult.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 402ad1958ccdb4586da9614ec4276396fd4c0faf Author: Matthias Clasen Date: Sat Aug 7 16:27:38 2010 -0400 Make the closure variants of name owning and watching actually work The GClosure API is a bit funky (and badly documented), and requires you to set a marshaller on the closure, and the marshaller has an implicit 'this' argument, and the caller is reponsible for unsetting the values after invoking the closure. I've added some calls of the _with_closures variants to the gdbus-names test now. gio/gdbusnameowning.c | 92 ++++++++++++++++++++++++++--------------------- gio/gdbusnamewatching.c | 76 ++++++++++++++++++++------------------- gio/gio-marshal.list | 2 ++ gio/tests/gdbus-names.c | 57 +++++++++++++++++------------ 4 files changed, 128 insertions(+), 99 deletions(-) commit c15d20e53a9fdccd4fbe17c6a51c57e6b34410fd Author: Kjartan Maraas Date: Sat Aug 7 18:43:01 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 179 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 115 insertions(+), 64 deletions(-) commit 4ac7f8f08433c37cf0a69cdea601514a0c06c1b6 Author: Benjamin Otte Date: Fri Aug 6 23:15:28 2010 +0200 notifyqueue: Dedup pspecs when adding The previous code dedup'd when thawing and threw nasty warnings your way if you notified too often. This can now easily be avoided. Performance should be roughly identical, as both are O(n²). gobject/gobjectnotifyqueue.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) commit e88eb048659be2e09081a27ddaef0e261667b6b8 Author: Ryan Lortie Date: Fri Aug 6 16:48:03 2010 -0400 Prepare to release glib 2.25.13 NEWS | 67 +++++++++++++++++++++++++++++ docs/reference/glib/tmpl/glib-unused.sgml | 40 ----------------- docs/reference/glib/tmpl/messages.sgml | 27 +++++++++--- docs/reference/glib/tmpl/version.sgml | 41 ++++++++++++++++++ 4 files changed, 129 insertions(+), 46 deletions(-) commit 80046f36e0ed2fe3d12c3128145033043f46734d Author: Ryan Lortie Date: Fri Aug 6 16:42:36 2010 -0400 gitignore update glib/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit d96b7c5c8aacc2b8516c03a2801db731d4171570 Author: Ryan Lortie Date: Fri Aug 6 15:28:58 2010 -0400 gtester: Run tests only once on 'make check' The gtester makefile runs 'make test' on 'make check' and also recurses on 'make test'. automake recurses on 'make check'. This means that every level of recursive make that we go through results in the tests running twice as many times. If you type 'make check' at the toplevel, for example, tests in gio/tests/ run 4 times. Fix that by introducing a 'test-nonrecursive' target and using that one from 'make check'. 'make test', 'make test-report', etc. are still recursive. Makefile.decl | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit b91f9274d9de1e9f0a1b407913ab893cfe1d5b25 Author: Ryan Lortie Date: Fri Aug 6 13:12:20 2010 -0400 Fix volumemonitor test case Don't blindly g_object_unref() that which may be NULL. gio/tests/volumemonitor.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 889a7f81dd808d35a17baa53a87255ef588d27da Author: Ryan Lortie Date: Fri Aug 6 13:11:38 2010 -0400 gio.symbols: add g_dbus_message_[gs]et_byte_order gio/gio.symbols | 2 ++ 1 file changed, 2 insertions(+) commit 5e044a943c96967841c3c341ac5975c36064d640 Author: Ryan Lortie Date: Fri Aug 6 13:11:20 2010 -0400 typo fix: Dist the data for the test cases change 'dist_hook:' to 'dist-hook:' glib/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3b7ea8e227035ae27d6ac62595478d27b8152e8 Author: Ryan Lortie Date: Fri Aug 6 13:09:26 2010 -0400 Replace -I with $(glib_INCLUDES) and friends Stop using ad hoc -I in all of our Makefile.am. Use the new variables instead. docs/reference/gio/Makefile.am | 10 +--------- docs/reference/gobject/Makefile.am | 5 +---- gio/Makefile.am | 6 +----- gio/fam/Makefile.am | 5 +---- gio/fen/Makefile.am | 6 +----- gio/inotify/Makefile.am | 6 +----- gio/libasyncns/Makefile.am | 2 +- gio/tests/Makefile.am | 7 +------ gio/win32/Makefile.am | 6 +----- glib/Makefile.am | 2 +- glib/gnulib/Makefile.am | 3 +-- glib/libcharset/Makefile.am | 2 +- glib/pcre/Makefile.am | 5 +---- glib/tests/Makefile.am | 4 +--- glib/update-pcre/Makefile.am-1 | 4 +--- gmodule/Makefile.am | 5 +---- gobject/Makefile.am | 5 +---- gobject/tests/Makefile.am | 2 +- gthread/Makefile.am | 5 +---- gthread/tests/Makefile.am | 2 +- tests/Makefile.am | 5 +---- tests/gobject/Makefile.am | 5 +---- tests/refcount/Makefile.am | 5 +---- 23 files changed, 23 insertions(+), 84 deletions(-) commit 8ad9d9dbe35973951faaf595b1fe847b6b180159 Author: Ryan Lortie Date: Fri Aug 6 13:07:31 2010 -0400 configure.ac: define glib_INCLUDES and friends These macros should be used instead of -I for things in the tree that depend on various bits of glib. also gobject_INCLUDES, gthread_INCLUDES, gmodule_INCLUDES, gio_INCLUDES configure.ac | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit ba0208b3a8076f8c3c545ba5716347ad446525f7 Author: Ryan Lortie Date: Fri Aug 6 13:05:18 2010 -0400 Clean up improper #includes We have a lot of broken #including going on around the tree. This has gone unnoticed due to our sloppy use of -I. gio/fam/fam-helper.c | 2 +- gio/fam/fam-module.c | 2 +- gio/fam/gfamdirectorymonitor.c | 2 +- gio/fam/gfamdirectorymonitor.h | 4 ++-- gio/fam/gfamfilemonitor.c | 2 +- gio/fam/gfamfilemonitor.h | 4 ++-- gio/fen/fen-helper.c | 2 +- gio/fen/fen-node.c | 2 +- gio/fen/gfendirectorymonitor.c | 2 +- gio/fen/gfendirectorymonitor.h | 4 ++-- gio/inotify/ginotifydirectorymonitor.c | 2 +- gio/inotify/ginotifydirectorymonitor.h | 4 ++-- gio/tests/application.c | 2 +- gio/tests/gschema-compile.c | 2 +- gio/tests/testapp.c | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) commit 78f7f14b34b4c04742fc848eec536ffdb8c8ab01 Author: Ryan Lortie Date: Fri Aug 6 10:53:07 2010 -0400 Don't dist 'glibconfig.h' This is causing very serious problems when doing out-of-tree builds from tarballs on architectures that are different from the architecture that the tarball was created on. This commit breaks the build in those cases, but I'll fix that in the next commits. https://bugzilla.gnome.org/show_bug.cgi?id=626107 glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25c6bdc22add2f306c24e5200de2899f39f86c48 Author: Ryan Lortie Date: Fri Aug 6 10:29:32 2010 -0400 error test case: don't double-free the source g_propagate_prefixed_error() frees the source already, don't g_error_free() it. glib/tests/error.c | 1 - 1 file changed, 1 deletion(-) commit a1b015f7b70b3851d5a6e45fd4114c7723b4f1ea Author: Hannes Müller Date: Thu Aug 5 23:11:03 2010 +0200 avoid warning in gutils.h when using gcc with -Wconversion https://bugzilla.gnome.org/show_bug.cgi?id=619026 glib/gutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 970d0634e9ade050158bdb529a6f8a7deb8fb319 Author: Fran Diéguez Date: Thu Aug 5 15:36:39 2010 +0200 Updated Galician translations po/gl.po | 234 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 149 insertions(+), 85 deletions(-) commit c789f72f9dfb6dcb86c536dfa6f65e5a7e5c72f4 Author: Claude Paroz Date: Thu Aug 5 15:17:40 2010 +0200 Updated French translation Contributed by Gérard Baylard and Claude Paroz po/fr.po | 2016 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1220 insertions(+), 796 deletions(-) commit 9f6faaffb6491a8de5508b7678ab48fee4f59efa Author: paul Date: Thu Aug 5 09:08:34 2010 -0400 Add $(top_builddir)/glib to includes This is required to find glibconfig.h during srcdir != builddir builds gio/Makefile.am | 1 + gio/tests/Makefile.am | 1 + glib/gnulib/Makefile.am | 3 ++- glib/tests/Makefile.am | 1 + gmodule/Makefile.am | 1 + gobject/Makefile.am | 1 + gobject/tests/Makefile.am | 2 +- gthread/Makefile.am | 1 + tests/Makefile.am | 1 + tests/gobject/Makefile.am | 1 + tests/refcount/Makefile.am | 1 + 11 files changed, 12 insertions(+), 2 deletions(-) commit 38c3f9964c2c0b7243cf5033ffc1d197c292b337 Author: Jorge González Date: Thu Aug 5 12:11:05 2010 +0200 Updated Spanish translation po/es.po | 238 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 156 insertions(+), 82 deletions(-) commit abe820e0d935f41744292146c71ccc4cf479751e Author: Philip Withnall Date: Mon Aug 2 14:14:11 2010 +0100 Expand documentation about error quark naming Closes: bgo#625827 docs/reference/glib/tmpl/error_reporting.sgml | 5 +++++ 1 file changed, 5 insertions(+) commit 008615f9999641158a89e3e6163b1580cac53dd0 Author: Matthias Clasen Date: Thu Aug 5 02:23:42 2010 -0400 Test an option handling corner-case glib/tests/option-context.c | 59 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) commit e2657d8dce32e10869ec2b18edc7dbf489dd2941 Author: Matthias Clasen Date: Thu Aug 5 02:01:58 2010 -0400 Add a not about arguments beginning with dashes glib/goption.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit e4994cb0a10c35f373b17ef970e2f8e4034d387c Author: Yaron Shahrabani Date: Thu Aug 5 09:14:40 2010 +0300 Updated Hebrew translation. po/he.po | 205 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 133 insertions(+), 72 deletions(-) commit 84d3aa652f4e5853d5612bd4b189c2146168f038 Author: Matthias Clasen Date: Thu Aug 5 01:53:15 2010 -0400 Beautify configure output Checking for cpp before using it avoids somewhat ugly nested output. Pointed out in bug 593544. configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 530f67384ea656ef9a5d8c05df5c35a9bf2a5ec0 Author: Matthias Clasen Date: Thu Aug 5 01:45:26 2010 -0400 Modernize pkg-config check As pointed out in bug 599590, our hand-rolled check fails to find cross-complication variants of pkg-config like i686-pc-mingw32-pkg-config. configure.ac | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) commit 3e8a9c7b52211ad1991711e02d682dc6e03439c6 Author: Matthias Clasen Date: Thu Aug 5 01:39:02 2010 -0400 Add missing files Reported in bug 624739 po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit d52e1c33f71a28908dac3658a8d5394e333324fc Author: David Zeuthen Date: Wed Aug 4 16:59:26 2010 -0400 GDBus: Add `return' debug option This prints all GDBusMethodInvocation API usage and is normally used with the `incoming' option. Example: # G_DBUS_DEBUG=incoming,return ./polkitd --replace Entering main event loop Connected to the system bus Registering null backend at priority -10 [...] Acquired the name org.freedesktop.PolicyKit1 [...] ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.26 serial 299 ======================================================================== GDBus-debug:Return: >>>> METHOD ERROR org.freedesktop.PolicyKit1.Error.Failed message `Cannot determine session the caller is in' in response to org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority to name :1.26 reply-serial 299 [...] ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.2402 serial 25 ======================================================================== GDBus-debug:Return: >>>> METHOD RETURN in response to org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on object /org/freedesktop/PolicyKit1/Authority to name :1.2402 reply-serial 25 Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 10 ++++++++-- gio/gdbusconnection.c | 6 ++++-- gio/gdbusmethodinvocation.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gdbusprivate.c | 13 +++++++++++-- gio/gdbusprivate.h | 1 + 5 files changed, 61 insertions(+), 6 deletions(-) commit 89a1b571adde644664093dd4763fb9aa077dfafc Author: David Zeuthen Date: Wed Aug 4 14:38:51 2010 -0400 GDBusMessage: Validate header fields when serializing/deserializing The D-Bus spec mentions exactly what header fields are required for various message types. Add tests for this as well. Also disallow empty interfaces for signals since the D-Bus spec says this is Verboten already. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 5 -- gio/gdbusmessage.c | 119 ++++++++++++++++++++++++++++-- gio/tests/gdbus-serialization.c | 155 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 268 insertions(+), 11 deletions(-) commit 6f070be65bb4bb665cb8a4c1f48cac59c1f4fba3 Author: David Zeuthen Date: Wed Aug 4 13:32:19 2010 -0400 GDBusMessage: Add a way to get/set byte order of a message Also use this in the test cases to check that serialization to and from both big and little endian works. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 + gio/gdbusmessage.c | 85 ++++++++++++++++----- gio/gdbusmessage.h | 4 + gio/gio.symbols | 1 + gio/gioenums.h | 15 ++++ gio/tests/gdbus-serialization.c | 139 +++++++++++++++++++++-------------- 6 files changed, 175 insertions(+), 72 deletions(-) commit 6e723e8b3e5f138f8e0b4fe45c5872a92510d5d3 Author: David Zeuthen Date: Wed Aug 4 12:24:22 2010 -0400 GDBusMessage: Assert various things when serializing to a blob We use g_assert() instead of setting the GError because it is a programming error if the GVariant contains invalid data - see commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 for where the last hole in GVariant was closed. So if we can trust GVariant to only contain valid data (ignoring the case where unsafe API such as g_variant_new_from_data() is used), why g_assert() at all with costly g_utf8_validate() checks? Because a) it is relatively inexpensive; and b) it helps find bugs such as the one fixed in commit 5e6f762d61db1a5c64bd1d33e5ba112755106581. If performance is a concern we can play games like introducing environment variables or other machinery to avoid such "costly" checks. I doubt it will ever be an issue. Also replace two "Hmm" TODO item with a static assert - the code that serializes a gdouble into the D-Bus wire format by treating it as a guint64 is indeed correct - endianess needs to be taken into account (see the D-Bus reference implementation for similar code). But we want to make sure that we're indeed using an architecture/compiler where a gdouble takes up 8 bytes - hence the assertion. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 5bd34a820eb79f0765e312215e0a3e0a339ace78 Author: David Zeuthen Date: Wed Aug 4 11:26:48 2010 -0400 GDBusMessage: Validate UTF-8 strings when serializing from blob Signed-off-by: David Zeuthen gio/gdbusmessage.c | 24 +++++++++-- gio/tests/gdbus-serialization.c | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+), 3 deletions(-) commit e62bc8e8f66c096829b282a53a769fbb55ab6b4d Author: Dan Winship Date: Wed Aug 4 07:36:04 2010 -0400 remove a junk line gio/tests/.gitignore | 1 - 1 file changed, 1 deletion(-) commit 27bc1d60ebcbd1b6e887fde138840a9ddda7fc3b Author: Kjartan Maraas Date: Wed Aug 4 13:23:02 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 554 ++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 376 insertions(+), 178 deletions(-) commit 4bc9654c63feee596de5aa214d7cbd8fc293cd9d Author: Emmanuele Bassi Date: Wed Aug 4 00:57:52 2010 +0100 binding: Add a default marshaller for the closure API The g_object_bind_property_with_closures() function should set a marshaller if the two GClosures don't have one already. This simplifies the caller code and avoids duplication. We need to add a new marshaller to the gmarshal.list matching the signature of the GBindingTransformFunc function. gobject/gbinding.c | 7 +++++++ gobject/gclosure.c | 15 +++++++++++++++ gobject/gmarshal.list | 1 + gobject/gobject.symbols | 1 + gobject/tests/binding.c | 39 --------------------------------------- 5 files changed, 24 insertions(+), 39 deletions(-) commit f5cd8ddeaac7e6df484629b7ae54a86ffa155a05 Author: David Zeuthen Date: Tue Aug 3 15:36:16 2010 -0400 GDBusConnection: Debug messages when receiving signals and method invocations Spell out "RECEIVED SIGNAL" instead of "SIGNAL" to emphasize this is about receiving a signal, not emitting one (which is "SIGNAL EMISSION"). Also make the "arrows" point in the "right" direction ("<<<<" vs ">>>>") - like this: ======================================================================== GDBus-debug:Signal: <<<< RECEIVED SIGNAL org.freedesktop.DBus.NameOwnerChanged on object /org/freedesktop/DBus sent by name org.freedesktop.DBus and ======================================================================== GDBus-debug:Incoming: <<<< METHOD INVOCATION org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on object /org/freedesktop/PolicyKit1/Authority invoked by name :1.2176 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 69341e2ba9a864ed2848527570988afc3e1c9df4 Author: David Zeuthen Date: Tue Aug 3 14:32:29 2010 -0400 glib-compile-schemas: Pass a C string, not a GString wrapper Commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 (introducing UTF-8 validity checks for GVariant instances containing strsings) actually uncovered a bug in glib-compile-schemas - a GString was passed when a C string was expected. Signed-off-by: David Zeuthen gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e6f762d61db1a5c64bd1d33e5ba112755106581 Author: David Zeuthen Date: Tue Aug 3 13:33:03 2010 -0400 GVariant: validate that passed string is UTF-8 As discussed with Ryan on IRC. This check is crucial because it guarantees that g_variant_get_string() will _always_ return valid UTF-8. Except in cases where the programmer used unsafe API such as g_variant_new_from_data() and setting @trusted to TRUE. In fact, this check revealed a flaw in my polkit gdbus port (lt-polkitd:11632): GLib-CRITICAL **: g_variant_new_string: assertion `g_utf8_validate (string, len, NULL)' failed and with this I could easily find the problem by using gdb(1) and G_DBUS=fatal-warnings. Without this check we'd pass the non-UTF8 string all the way to the message bus and the bus would then disconnect us. So instead I was seeing g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. and then SIGTERM as raised by g_dbus_connection_real_closed() and my polkitd process would exit. This behavior is much harder to debug than failing early (as this patch implements). Signed-off-by: David Zeuthen glib/gvariant.c | 1 + 1 file changed, 1 insertion(+) commit 86d947f01fba4b79aa9f0bdcea9d510f5411ea4b Author: David Zeuthen Date: Tue Aug 3 12:47:07 2010 -0400 Fix gdbus-exit-on-close test case Forgot to update the test case after last commit. Signed-off-by: David Zeuthen gio/tests/gdbus-exit-on-close.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a492a45191335ac97f54785db543f21dfce379c Author: David Zeuthen Date: Tue Aug 3 12:24:48 2010 -0400 GDBus: If exiting b/c remote peer disconnected and error is set, print it This should make things easier to debug: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 3940cc9a11fde063bb9f83cc362e575e5f378609 Author: David Zeuthen Date: Tue Aug 3 11:14:21 2010 -0400 GDBusProxy: Don't leak a GSimpleAsyncResult when doing async calls Signed-off-by: David Zeuthen gio/gdbusproxy.c | 1 + 1 file changed, 1 insertion(+) commit b2715bbc5eaa1454df879964f58e36dbed65dc77 Author: Matthias Clasen Date: Tue Aug 3 10:41:21 2010 -0400 Fix a possible deadlock the FdSource was calling g_cancellable_disconnect while holding the main context lock, which is bad news if the ::cancelled handler is trying to get that lock to wake up the mainloop... Bug 586432 gio/gasynchelper.c | 8 ++++++-- gio/tests/unix-streams.c | 22 +--------------------- 2 files changed, 7 insertions(+), 23 deletions(-) commit 5179d92e9ce8f5b88db73613ef0485c82656801e Author: Matthias Clasen Date: Sun Aug 1 02:36:27 2010 -0400 fix the completion test tests/completion-test.c | 1 - 1 file changed, 1 deletion(-) commit 21d98dbc4b57783bc98f612ca459562bcd25bd5b Author: Matthias Clasen Date: Sun Aug 1 02:11:15 2010 -0400 improve completion test coverage tests/completion-test.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 9b96e31968383619ff0a76212c5200022d62b23c Author: Matthias Clasen Date: Sun Aug 1 02:07:50 2010 -0400 Don't assert too much glib/gbookmarkfile.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit e4b5104003e9281e5737a9611517c4878522df5c Author: Matthias Clasen Date: Sun Aug 1 02:07:21 2010 -0400 Move bookmarkfile tests to the test framework glib/tests/Makefile.am | 7 + glib/tests/bookmarkfile.c | 298 ++++++++++++++++++++++++++++++++++++ glib/tests/bookmarks/fail-02.xbel | 2 + glib/tests/bookmarks/fail-03.xbel | 18 +++ glib/tests/bookmarks/fail-04.xbel | 21 +++ glib/tests/bookmarks/fail-05.xbel | 21 +++ glib/tests/bookmarks/fail-06.xbel | 19 +++ glib/tests/bookmarks/fail-07.xbel | 21 +++ glib/tests/bookmarks/fail-08.xbel | 18 +++ glib/tests/bookmarks/fail-09.xbel | 20 +++ glib/tests/bookmarks/fail-10.xbel | 21 +++ glib/tests/bookmarks/fail-11.xbel | 22 +++ glib/tests/bookmarks/fail-12.xbel | 22 +++ glib/tests/bookmarks/fail-13.xbel | 22 +++ glib/tests/bookmarks/fail-14.xbel | 24 +++ glib/tests/bookmarks/fail-15.xbel | 23 +++ glib/tests/bookmarks/fail-16.xbel | 24 +++ glib/tests/bookmarks/fail-17.xbel | 22 +++ glib/tests/bookmarks/valid-01.xbel | 21 +++ glib/tests/bookmarks/valid-02.xbel | 15 ++ glib/tests/bookmarks/valid-03.xbel | 21 +++ tests/Makefile.am | 8 +- tests/bookmarkfile-test.c | 188 ----------------------- tests/bookmarks/fail-02.xbel | 2 - tests/bookmarks/fail-03.xbel | 18 --- tests/bookmarks/fail-04.xbel | 21 --- tests/bookmarks/fail-05.xbel | 21 --- tests/bookmarks/fail-06.xbel | 19 --- tests/bookmarks/fail-07.xbel | 21 --- tests/bookmarks/fail-08.xbel | 18 --- tests/bookmarks/fail-09.xbel | 20 --- tests/bookmarks/fail-10.xbel | 21 --- tests/bookmarks/fail-11.xbel | 22 --- tests/bookmarks/fail-12.xbel | 22 --- tests/bookmarks/fail-13.xbel | 22 --- tests/bookmarks/fail-14.xbel | 24 --- tests/bookmarks/fail-15.xbel | 23 --- tests/bookmarks/fail-16.xbel | 24 --- tests/bookmarks/fail-17.xbel | 22 --- tests/bookmarks/valid-01.xbel | 21 --- tests/bookmarks/valid-02.xbel | 15 -- tests/bookmarks/valid-03.xbel | 21 --- tests/run-bookmark-test.sh | 34 ---- 43 files changed, 684 insertions(+), 605 deletions(-) commit b3de028a43873913106c31fa2c4b6e31d14b9fc1 Author: Emmanuele Bassi Date: Tue Aug 3 14:21:02 2010 +0100 Update the Git ignore files gio/tests/.gitignore | 2 ++ glib/tests/.gitignore | 8 ++++++++ m4macros/.gitignore | 5 +++++ 3 files changed, 15 insertions(+) commit f8ec75620d5e7c2d139cc523729a1223875f1fa0 Author: Mark Wielaard Date: Mon Aug 2 23:28:50 2010 +0200 Don't add (extra) DESTDIR to tapsetdir for tapset_DATA. https://bugzilla.gnome.org/show_bug.cgi?id=625876 glib/Makefile.am | 2 +- gobject/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5e1c4b18a806cd8a0f259b314f64f3d99e824773 Author: Emmanuele Bassi Date: Tue Aug 3 10:34:59 2010 +0100 docs: Clarify user_data behavior for bind_property_full() gobject/gbinding.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 90f7f171e621c296526b3978a75433c30c088b46 Author: Emmanuele Bassi Date: Tue Aug 3 10:29:50 2010 +0100 binding: Add G_BINDING_INVERT_BOOLEAN Since GSettings got the same functionality and flag in commit ca3b7b75b GBinding should also have the ability to automatically invert a boolean value without requiring a custom transformation function. gobject/gbinding.c | 61 ++++++++++++++++++++++++++++++++++++++++++-- gobject/gbinding.h | 18 ++++++++----- gobject/tests/binding.c | 64 +++++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 130 insertions(+), 13 deletions(-) commit 3be3ad61d142ca5bbd5659809af749ea5bf441ac Author: Emmanuele Bassi Date: Tue Jul 13 06:03:03 2010 +0100 binding: Add a closure-based variant of bind_property_full() Since using the function pointer version muddles the memory management requirements of language bindings, we should implement a GClosure-based variant on top of g_object_bind_property_full(). https://bugzilla.gnome.org/show_bug.cgi?id=622278 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gbinding.c | 183 +++++++++++++++++++++++++-- gobject/gbinding.h | 35 +++-- gobject/gobject.symbols | 1 + gobject/tests/binding.c | 76 ++++++++++- 5 files changed, 271 insertions(+), 25 deletions(-) commit ca3b7b75bff00ea05c967eea06e2c3397da17e41 Author: Ryan Lortie Date: Tue Aug 3 02:08:03 2010 -0400 GSettings: add G_SETTINGS_BIND_INVERT_BOOLEAN flag When binding a boolean setting to a boolean property, invert the values. This avoids the requirement for writing a pair of mapping functions for this extremely common case. Add a test. https://bugzilla.gnome.org/show_bug.cgi?id=625833 gio/gsettings.c | 71 +++++++++++++++++++++++++++++++++--- gio/gsettings.h | 6 ++- gio/tests/gsettings.c | 21 ++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 4 files changed, 93 insertions(+), 8 deletions(-) commit dd2bbc95330355d5ff044dc76649e41ee5063894 Author: Fridrich Štrba Date: Mon Aug 2 10:16:29 2010 +0200 On windows, export also symbols defined in gio/gwin32appinfo.c gio/gio.symbols | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 9c399b10b8da98e87d12c1fbd8f8e6a44256f68b Author: Fran Diéguez Date: Sun Aug 1 23:18:31 2010 +0200 Updated Galician translations po/gl.po | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 212 insertions(+), 47 deletions(-) commit 892012b951a5222a3e47afc18179b064420ff98b Author: Carlos Garcia Campos Date: Sun Aug 1 12:56:06 2010 +0200 GDBusConnection: fix message flags in g_dbus_connection_call_sync() GDBusCallFlags were used instead of GDBusSendMessageFlags for g_dbus_connection_send_message_with_reply_sync(). Fixes bug #625753. gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7c7e46cf20cbca1684cecd1ba45e5555797844e Author: Stef Walter Date: Sun Aug 1 07:14:43 2010 +0200 Add comment to g_date_set_time_val about local timezone. Local time zone is used in conversion during g_date_set_time_val(). We now mention this in the documentation. Fixes bug #625500 glib/gdate.c | 2 ++ 1 file changed, 2 insertions(+) commit d01a4374901af59a9b80fed1372a1366c9c9705d Author: Milan Crha Date: Sat Jul 31 23:51:45 2010 -0400 Silence valgrind Initialize all fields of struct msghdr. Bug 625472. gio/gsocket.c | 2 ++ 1 file changed, 2 insertions(+) commit b6c42d05c07479c49f5dd36ad74caae518568381 Author: Jorge González Date: Sat Jul 31 15:11:48 2010 +0200 Updated Spanish translation po/es.po | 206 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 182 insertions(+), 24 deletions(-) commit 7e33c4977c1772a741d9beb1f5ceca2009a0cea5 Author: Yaron Shahrabani Date: Sat Jul 31 10:05:05 2010 +0300 Updated Hebrew translation. po/he.po | 253 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 213 insertions(+), 40 deletions(-) commit 917456973643cfe303017f1bb3266d41bba7cfd2 Author: Matthias Clasen Date: Sat Jul 31 02:40:16 2010 -0400 Also use trylock in the bitlock tests gthread/tests/1bit-mutex.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ce7463a87b8f039490be075ba0505fa2986509b6 Author: Matthias Clasen Date: Sat Jul 31 02:39:53 2010 -0400 improve scanner api test coverage glib/tests/scannerapi.c | 3 +++ 1 file changed, 3 insertions(+) commit 6d41af0f724fad717b2cba4dc0001cd53564a9eb Author: Matthias Clasen Date: Sat Jul 31 02:15:03 2010 -0400 Improve tree test coverage glib/tests/tree.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit a94657782680312592f860d5d867a446b8beda85 Author: Matthias Clasen Date: Sat Jul 31 02:14:51 2010 -0400 Improve keyfile test coverage glib/tests/keyfile.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit ef4690c6c96824a2099a5feca11a1785329ec5ca Author: Matthias Clasen Date: Sat Jul 31 02:14:28 2010 -0400 Test some GError functionality explicitly glib/tests/Makefile.am | 3 ++ glib/tests/error.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit a4d0038c288587bd2d8b50a7b5b442e6ba0f59a7 Author: Matthias Clasen Date: Sat Jul 31 02:14:01 2010 -0400 Add a test for g_variant_builder_add_parsed glib/tests/gvariant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3c0f77a499f01f42c70313568870681f00e4cc82 Author: Matthias Clasen Date: Sat Jul 31 02:07:38 2010 -0400 Fix a typo glib/gvariant-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12e47411c3ad3d04619036a1001801382ea9e9da Author: Matthias Clasen Date: Sat Jul 31 00:56:11 2010 -0400 Improve string test coverage glib/tests/string.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit dd25bdeff14ebad9c0ffc5231032ede0c761c47e Author: Matthias Clasen Date: Sat Jul 31 00:55:57 2010 -0400 Improve byte array test coverage glib/tests/array-test.c | 3 +++ 1 file changed, 3 insertions(+) commit 8246bf4bdebb1a12e40111b483e7d6a474ec6b58 Author: Matthias Clasen Date: Sat Jul 31 00:13:02 2010 -0400 Improve gdbus test coverage gio/tests/gdbus-connection.c | 61 ++++++++++++++++++++-- gio/tests/gdbus-proxy.c | 118 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 171 insertions(+), 8 deletions(-) commit 116b945c944a8dcfeb21e9b9ea7781a492a81101 Author: Matthias Clasen Date: Fri Jul 30 23:44:30 2010 -0400 Fix a typo Its credentials, not crendentials gio/gdbusconnection.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit eb3e926b09538f22ac115ce0f18ac7530dc2dc87 Author: Matthias Clasen Date: Fri Jul 30 16:44:25 2010 -0400 Fix an off-by-one error gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5033be80d15cfb6c0a89f4ab0bc5e76cc2cd0a71 Author: Matthias Clasen Date: Fri Jul 30 16:21:49 2010 -0400 Add a test for g_dbus_proxy_get_cached_property_names gio/tests/gdbus-proxy.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit 5f89498f071a100d3e159dd0d967477047249d73 Author: Matthias Clasen Date: Fri Jul 30 15:36:15 2010 -0400 improve printf tests coverage glib/tests/printf.c | 241 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 227 insertions(+), 14 deletions(-) commit 9100828185316503e2da366a8e0de8e361944301 Author: Matthias Clasen Date: Fri Jul 30 15:35:47 2010 -0400 Improve option context test coverage glib/tests/option-context.c | 65 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit 027905c27aca3cdedca59a3d084e9a9279e03b19 Author: Matthias Clasen Date: Thu Jul 29 23:08:07 2010 -0400 Improve array test coverage glib/tests/array-test.c | 461 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 455 insertions(+), 6 deletions(-) commit 03be0d7237c7f250e01b785af4e4e4e8724a3e8f Author: Matthias Clasen Date: Thu Jul 29 20:52:31 2010 -0400 Move markup parse tests to the test framework glib/tests/Makefile.am | 20 ++- glib/tests/markup-parse.c | 290 ++++++++++++++++++++++++++++++++++ glib/tests/markups/fail-1.expected | 1 + glib/tests/markups/fail-10.expected | 4 + glib/tests/markups/fail-10.gmarkup | 2 + glib/tests/markups/fail-11.expected | 7 + glib/tests/markups/fail-11.gmarkup | 4 + glib/tests/markups/fail-12.expected | 1 + glib/tests/markups/fail-12.gmarkup | 1 + glib/tests/markups/fail-13.expected | 1 + glib/tests/markups/fail-13.gmarkup | 1 + glib/tests/markups/fail-14.expected | 4 + glib/tests/markups/fail-14.gmarkup | 2 + glib/tests/markups/fail-15.expected | 8 + glib/tests/markups/fail-15.gmarkup | 3 + glib/tests/markups/fail-16.expected | 2 + glib/tests/markups/fail-16.gmarkup | 1 + glib/tests/markups/fail-17.expected | 1 + glib/tests/markups/fail-17.gmarkup | 1 + glib/tests/markups/fail-18.expected | 1 + glib/tests/markups/fail-18.gmarkup | 1 + glib/tests/markups/fail-19.expected | 1 + glib/tests/markups/fail-19.gmarkup | 1 + glib/tests/markups/fail-2.expected | 1 + glib/tests/markups/fail-2.gmarkup | 1 + glib/tests/markups/fail-20.expected | 1 + glib/tests/markups/fail-20.gmarkup | 1 + glib/tests/markups/fail-21.expected | 1 + glib/tests/markups/fail-21.gmarkup | 1 + glib/tests/markups/fail-22.expected | 2 + glib/tests/markups/fail-22.gmarkup | 1 + glib/tests/markups/fail-23.expected | 4 + glib/tests/markups/fail-23.gmarkup | 2 + glib/tests/markups/fail-24.expected | 1 + glib/tests/markups/fail-24.gmarkup | 1 + glib/tests/markups/fail-25.expected | 1 + glib/tests/markups/fail-25.gmarkup | 1 + glib/tests/markups/fail-26.expected | 2 + glib/tests/markups/fail-26.gmarkup | 1 + glib/tests/markups/fail-27.expected | 2 + glib/tests/markups/fail-27.gmarkup | 1 + glib/tests/markups/fail-28.expected | 2 + glib/tests/markups/fail-28.gmarkup | 1 + glib/tests/markups/fail-29.expected | 2 + glib/tests/markups/fail-29.gmarkup | 1 + glib/tests/markups/fail-3.gmarkup | 49 ++++++ glib/tests/markups/fail-30.expected | 2 + glib/tests/markups/fail-30.gmarkup | 1 + glib/tests/markups/fail-31.expected | 2 + glib/tests/markups/fail-31.gmarkup | 1 + glib/tests/markups/fail-32.expected | 2 + glib/tests/markups/fail-32.gmarkup | 1 + glib/tests/markups/fail-33.expected | 2 + glib/tests/markups/fail-33.gmarkup | 1 + glib/tests/markups/fail-34.expected | 2 + glib/tests/markups/fail-34.gmarkup | 1 + glib/tests/markups/fail-35.expected | 2 + glib/tests/markups/fail-35.gmarkup | 1 + glib/tests/markups/fail-36.gmarkup | 1 + glib/tests/markups/fail-37.expected | 1 + glib/tests/markups/fail-37.gmarkup | 1 + glib/tests/markups/fail-38.expected | 3 + glib/tests/markups/fail-38.gmarkup | 1 + glib/tests/markups/fail-39.expected | 3 + glib/tests/markups/fail-39.gmarkup | 1 + glib/tests/markups/fail-4.expected | 1 + glib/tests/markups/fail-4.gmarkup | 1 + glib/tests/markups/fail-40.expected | 2 + glib/tests/markups/fail-40.gmarkup | 1 + glib/tests/markups/fail-5.expected | 1 + glib/tests/markups/fail-5.gmarkup | 2 + glib/tests/markups/fail-6.expected | 1 + glib/tests/markups/fail-6.gmarkup | 2 + glib/tests/markups/fail-7.expected | 1 + glib/tests/markups/fail-7.gmarkup | 2 + glib/tests/markups/fail-8.expected | 3 + glib/tests/markups/fail-8.gmarkup | 2 + glib/tests/markups/fail-9.expected | 1 + glib/tests/markups/fail-9.gmarkup | 2 + glib/tests/markups/valid-1.expected | 37 +++++ glib/tests/markups/valid-1.gmarkup | 9 ++ glib/tests/markups/valid-10.expected | 6 + glib/tests/markups/valid-10.gmarkup | 6 + glib/tests/markups/valid-11.expected | 3 + glib/tests/markups/valid-11.gmarkup | 2 + glib/tests/markups/valid-2.expected | 51 ++++++ glib/tests/markups/valid-2.gmarkup | 49 ++++++ glib/tests/markups/valid-3.expected | 61 +++++++ glib/tests/markups/valid-3.gmarkup | 10 ++ glib/tests/markups/valid-4.expected | 29 ++++ glib/tests/markups/valid-4.gmarkup | 8 + glib/tests/markups/valid-5.expected | 4 + glib/tests/markups/valid-5.gmarkup | 2 + glib/tests/markups/valid-6.expected | 6 + glib/tests/markups/valid-6.gmarkup | 4 + glib/tests/markups/valid-7.expected | 4 + glib/tests/markups/valid-7.gmarkup | 2 + glib/tests/markups/valid-8.expected | 5 + glib/tests/markups/valid-8.gmarkup | 1 + glib/tests/markups/valid-9.expected | 3 + glib/tests/markups/valid-9.gmarkup | 2 + tests/Makefile.am | 8 +- tests/markup-test.c | 214 ------------------------- tests/markups/expected-1 | 37 ----- tests/markups/expected-10 | 6 - tests/markups/expected-11 | 3 - tests/markups/expected-2 | 51 ------ tests/markups/expected-3 | 61 ------- tests/markups/expected-4 | 29 ---- tests/markups/expected-5 | 4 - tests/markups/expected-6 | 6 - tests/markups/expected-7 | 4 - tests/markups/expected-8 | 5 - tests/markups/expected-9 | 3 - tests/markups/fail-10.gmarkup | 2 - tests/markups/fail-11.gmarkup | 4 - tests/markups/fail-12.gmarkup | 1 - tests/markups/fail-13.gmarkup | 1 - tests/markups/fail-14.gmarkup | 2 - tests/markups/fail-15.gmarkup | 3 - tests/markups/fail-16.gmarkup | 1 - tests/markups/fail-17.gmarkup | 1 - tests/markups/fail-18.gmarkup | 1 - tests/markups/fail-19.gmarkup | 1 - tests/markups/fail-2.gmarkup | 1 - tests/markups/fail-20.gmarkup | 1 - tests/markups/fail-21.gmarkup | 1 - tests/markups/fail-22.gmarkup | 1 - tests/markups/fail-23.gmarkup | 2 - tests/markups/fail-24.gmarkup | 1 - tests/markups/fail-25.gmarkup | 1 - tests/markups/fail-26.gmarkup | 1 - tests/markups/fail-27.gmarkup | 1 - tests/markups/fail-28.gmarkup | 1 - tests/markups/fail-29.gmarkup | 1 - tests/markups/fail-3.gmarkup | 49 ------ tests/markups/fail-30.gmarkup | 1 - tests/markups/fail-31.gmarkup | 1 - tests/markups/fail-32.gmarkup | 1 - tests/markups/fail-33.gmarkup | 1 - tests/markups/fail-34.gmarkup | 1 - tests/markups/fail-35.gmarkup | 1 - tests/markups/fail-36.gmarkup | 1 - tests/markups/fail-37.gmarkup | 1 - tests/markups/fail-38.gmarkup | 1 - tests/markups/fail-39.gmarkup | 1 - tests/markups/fail-4.gmarkup | 1 - tests/markups/fail-40.gmarkup | 1 - tests/markups/fail-5.gmarkup | 2 - tests/markups/fail-6.gmarkup | 2 - tests/markups/fail-7.gmarkup | 2 - tests/markups/fail-8.gmarkup | 2 - tests/markups/fail-9.gmarkup | 2 - tests/markups/valid-1.gmarkup | 9 -- tests/markups/valid-10.gmarkup | 6 - tests/markups/valid-11.gmarkup | 2 - tests/markups/valid-2.gmarkup | 49 ------ tests/markups/valid-3.gmarkup | 10 -- tests/markups/valid-4.gmarkup | 8 - tests/markups/valid-5.gmarkup | 2 - tests/markups/valid-6.gmarkup | 4 - tests/markups/valid-7.gmarkup | 2 - tests/markups/valid-8.gmarkup | 1 - tests/markups/valid-9.gmarkup | 2 - tests/run-markup-tests.sh | 41 ----- 165 files changed, 789 insertions(+), 671 deletions(-) commit aa196c60df8bbe6f8e998780579b12863098107f Author: Matthias Clasen Date: Thu Jul 29 02:20:43 2010 -0400 Improve coverage of buffered output stream tests gio/tests/buffered-output-stream.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit ffa938fc652543c70c8bada3f65f1626e127731b Author: Matthias Clasen Date: Thu Jul 29 02:20:29 2010 -0400 Improve coverage of credentials tests gio/tests/gdbus-peer.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 670528c187b0ae59a8fca1b6921722461992a9fb Author: Matthias Clasen Date: Thu Jul 29 02:20:15 2010 -0400 Improve coverage of converter stream tests gio/tests/converter-stream.c | 4 ++++ 1 file changed, 4 insertions(+) commit 9794a648a9af25a9d409ce6aef97ac95f94c5cfb Author: Matthias Clasen Date: Thu Jul 29 02:19:46 2010 -0400 Improve coverage of memory stream tests gio/tests/memory-input-stream.c | 63 ++++++++++++++++++++++++++++++++++++++ gio/tests/memory-output-stream.c | 29 +++++++++++++++++- 2 files changed, 91 insertions(+), 1 deletion(-) commit 620582e59c9caf355c12b072258ea74ad1aadc1e Author: Matthias Clasen Date: Thu Jul 29 02:19:27 2010 -0400 Remove redundant include gio/tests/unix-streams.c | 1 - 1 file changed, 1 deletion(-) commit 17d4898d75fc41038a1d13740bfe1279ca902235 Author: Matthias Clasen Date: Thu Jul 29 02:19:01 2010 -0400 Improve coverage of icon tests gio/tests/g-icon.c | 4 ++++ 1 file changed, 4 insertions(+) commit 7710c50fb22d44bc8554ad811418141490e09f78 Author: Matthias Clasen Date: Thu Jul 29 02:18:45 2010 -0400 Improve coverage of application tests gio/tests/application.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 758c3216cddf35721b3c1fc244f93f6169d9a84b Author: Matthias Clasen Date: Thu Jul 29 00:54:23 2010 -0400 Improve coverage of stream tests gio/tests/buffered-input-stream.c | 2 ++ gio/tests/converter-stream.c | 4 ++++ gio/tests/data-input-stream.c | 31 +++++++++++++++++++++++++++++++ gio/tests/data-output-stream.c | 32 ++++++++++++++++++++++++++++---- 4 files changed, 65 insertions(+), 4 deletions(-) commit c6b050716717529a4b31f4eb2bae3fef06277bb3 Author: Matthias Clasen Date: Thu Jul 29 00:53:30 2010 -0400 Reenable unix-streams test gio/tests/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 04c7abba11abb54fe8f43b027ed42ed4ff46aa82 Author: Matthias Clasen Date: Thu Jul 29 00:52:34 2010 -0400 Work around deadlock in unix-streams test gio/tests/unix-streams.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit b463b2ea25d214c9ba3fc2c5a77b3d321eb842d1 Author: Matthias Clasen Date: Wed Jul 28 16:59:11 2010 -0400 Add tests about file associations gio/tests/appinfo.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) commit 60932b2f3deeb612a7e6c097973f2fb17f557202 Author: Matthias Clasen Date: Wed Jul 28 16:05:19 2010 -0400 Improve regex test coverage glib/tests/regex.c | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit 154880b2ad9064ac78c8e1d55a2ae96bf48d159a Author: Matthias Clasen Date: Tue Jul 27 18:21:15 2010 -0400 Remove duplicate utf8 strreverse test Also add some tests for find next/prev char. glib/tests/utf8-misc.c | 18 ++++++++++++++++++ glib/tests/utf8-pointer.c | 41 ++++++++++++++++++++++++++++++++--------- 2 files changed, 50 insertions(+), 9 deletions(-) commit 0e48b7ea7c436dde8e1e3d432a4c0dd6da7055fa Author: Matthias Clasen Date: Tue Jul 27 16:52:36 2010 -0400 Improve strfuncs test coverage a bit glib/tests/strfuncs.c | 5 +++++ 1 file changed, 5 insertions(+) commit c617e94cf111b435cc2765b9ffcb219fec7b4016 Author: Matthias Clasen Date: Tue Jul 27 16:25:13 2010 -0400 Improve option context test coverage a bit glib/tests/option-context.c | 116 +++++++++++++++++++++++++++---------------- 1 file changed, 74 insertions(+), 42 deletions(-) commit c4dd9fa41b9ec8387e765d9463e181d0be33c5ae Author: Matthias Clasen Date: Tue Jul 27 16:24:56 2010 -0400 Move markup collect tests to the test framework glib/tests/Makefile.am | 3 ++ glib/tests/markup-collect.c | 113 +++++++++++++++---------------------------- 2 files changed, 43 insertions(+), 73 deletions(-) commit 13ac9f94fdc1fcbf2be15e65af57c362a1c71f5d Author: Matthias Clasen Date: Tue Jul 27 16:24:08 2010 -0400 Add some more GFile tests gio/tests/file.c | 38 ++++++++ glib/tests/markup-collect.c | 221 +++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 1 - tests/markup-collect.c | 221 ------------------------------------------- 4 files changed, 259 insertions(+), 222 deletions(-) commit 8263d691cb0cf5d2c80d1c949a3c693d333510c0 Author: Matthias Clasen Date: Tue Jul 27 14:01:48 2010 -0400 Improve compressor test coverage a bit gio/tests/converter-stream.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit b77a19f238e34cd2ba7ecf204beacc7252477605 Author: Matthias Clasen Date: Tue Jul 27 01:00:55 2010 -0400 Test g_settings_list_schemas gio/tests/gsettings.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit b4ed2af52fbe195aab3771066dac71172f8716ed Author: Matthias Clasen Date: Tue Jul 27 00:17:20 2010 -0400 Improve GNode test coverage a bit glib/tests/node.c | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) commit 568eeeafe1636bba440dc18cd34c4fce551ddd15 Author: Matthias Clasen Date: Mon Jul 26 23:24:31 2010 -0400 Add some logging tests glib/tests/Makefile.am | 3 + glib/tests/logging.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+) commit 2b113e4a9ad375691d72347d31999fd5654f5361 Author: Matthias Clasen Date: Mon Jul 26 23:06:33 2010 -0400 Silence log handler tests glib/tests/testing.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit b91cde61408bfe58c849b44ca3100ba4c5f8a3fc Author: Matthias Clasen Date: Mon Jul 26 22:13:25 2010 -0400 Improve tree test coverage glib/tests/tree.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit c972d4df64299b335012b7af2b902589d191f8e0 Author: Matthias Clasen Date: Mon Jul 26 22:12:59 2010 -0400 Move markup escape tests to test framework glib/tests/Makefile.am | 4 ++ glib/tests/markup-escape.c | 159 ++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 3 - tests/markup-escape-test.c | 132 ------------------------------------ 4 files changed, 163 insertions(+), 135 deletions(-) commit a804e22ed047514d7f267a8e991eca82bc5eaf57 Author: Matthias Clasen Date: Mon Jul 26 21:19:04 2010 -0400 More pattern tests glib/tests/pattern.c | 400 +++++++++++++++++++++----------------------------- 1 file changed, 168 insertions(+), 232 deletions(-) commit d3f00313617c3e646d5a236f1f06a84a07279c2a Author: Matthias Clasen Date: Mon Jul 26 21:18:22 2010 -0400 Add tests for g_utf8_strreverse glib/tests/utf8-misc.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit caa9453b72ca3a7b7bafb8cafac84934f7036682 Author: Matthias Clasen Date: Mon Jul 26 21:17:56 2010 -0400 Fix a warning gio/tests/network-address.c | 3 ++- glib/pcre/Makefile.am | 5 ----- glib/pcre/pcre_internal.h | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) commit d0750c9d6e2b0479a47f93c545607ac43da0b1dd Author: Matthias Clasen Date: Mon Jul 26 21:16:03 2010 -0400 Don't leak in converter test gio/tests/converter-stream.c | 4 + glib/tests/Makefile.am | 2 + glib/tests/pattern.c | 308 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/patterntest.c | 308 ------------------------------------------ 5 files changed, 314 insertions(+), 310 deletions(-) commit 63bdeb0dab81a4aed4a2e215cae4669de7f583c3 Author: Matthias Clasen Date: Mon Jul 26 20:22:33 2010 -0400 Fix an icon test gio/tests/g-icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a8f83ea8340459e22a2f2d18f4aa410ccf1cde34 Author: Matthias Clasen Date: Mon Jul 26 19:07:16 2010 -0400 Add tests for GNetworkAddress gio/tests/Makefile.am | 8 ++-- gio/tests/network-address.c | 91 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 4 deletions(-) commit e103b93694be98b5b7bfcfbb22ef0be014079f1a Author: Matthias Clasen Date: Mon Jul 26 18:40:17 2010 -0400 Drop an unneeded if gio/gnetworkaddress.c | 3 +- gio/tests/g-icon.c | 112 ++++++++++++++++++++++++++++++++++++++++++++- gio/tests/icons.c | 122 ------------------------------------------------- 3 files changed, 112 insertions(+), 125 deletions(-) commit 9d93dc5554b7b7da4a724d6b9d464cb8be1e0475 Author: Matthias Clasen Date: Mon Jul 26 18:15:24 2010 -0400 Remove some unused pcre code glib/pcre/pcre_info.c | 93 ---------------------------- glib/pcre/pcre_maketables.c | 143 ------------------------------------------- glib/pcre/pcre_refcount.c | 82 ------------------------- glib/pcre/pcre_valid_utf8.c | 14 ----- glib/pcre/pcre_version.c | 90 --------------------------- 5 files changed, 422 deletions(-) commit 9fc3c980ccbaa6772f9b97b60c786546b67ae8b4 Author: Matthias Clasen Date: Mon Jul 26 17:59:18 2010 -0400 Add some volume monitor tests Although not much of this is easily testable. gio/tests/Makefile.am | 4 + gio/tests/volumemonitor.c | 178 +++++++++++++++++++++++++++ glib/tests/Makefile.am | 3 + glib/tests/shell.c | 229 ++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/shell-test.c | 297 --------------------------------------------- 6 files changed, 414 insertions(+), 299 deletions(-) commit e5a72ae3c415ae6e8437a0714f48311b534684c9 Author: Matthias Clasen Date: Sun Jul 25 19:12:51 2010 -0400 Move queue tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/queue.c | 1043 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/queue-test.c | 962 -------------------------------------------- 4 files changed, 1046 insertions(+), 964 deletions(-) commit dbf230991bab03e64b5bc1a2bb5ab618de2f9212 Author: David Zeuthen Date: Fri Jul 30 16:33:29 2010 -0400 Bug 625628 – GDBusProxy: wrong property name sorting https://bugzilla.gnome.org/show_bug.cgi?id=625628 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit aefc6df6bbf318c01eff32e631cc796aabcbf31f Author: David Zeuthen Date: Fri Jul 30 16:30:34 2010 -0400 Fix gschema-compile test This was broken by commit 1b5b87bfa0f5435dd6e973a4e36076db083dc5c7 Signed-off-by: David Zeuthen gio/tests/gschema-compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d2d97a214d1d9e96f09955212e669c3c9447ff73 Author: David Zeuthen Date: Fri Jul 30 16:01:03 2010 -0400 Bug 625584 – Crashes application on unref with signal subscription Don't do too much work in the finalizer - in particular, there's no need to send RemoveMatch() messages to the bus daemon since we're going to sever the connection and the bus will garbage collect anyway. In this case it crashed the process. Also add a test case that checks that the appropriate GDestroyNotify callbacks are called when unreffing a connection with either 1) exported objects; 2) signal subscriptions or 3) filter functions .. yes, ideally apps would unregister such callbacks before giving up their ref but that's not how things work :-) Signed-off-by: David Zeuthen gio/gdbusconnection.c | 19 +++--- gio/tests/gdbus-connection.c | 132 ++++++++++++++++++++++++++++++++++++++---- 2 files changed, 134 insertions(+), 17 deletions(-) commit 1b5b87bfa0f5435dd6e973a4e36076db083dc5c7 Author: Ryan Lortie Date: Fri Jul 30 21:10:53 2010 +0200 GSettings: Mark some strings for cat translation *miaou* gio/gschema-compile.c | 105 ++++++++++++++++++++++++------------------------- 1 file changed, 52 insertions(+), 53 deletions(-) commit 14f17c13889215adbc9c56e4ea4f46662fa68ee5 Author: David Zeuthen Date: Fri Jul 30 11:40:00 2010 -0400 GDBusConnection: Fix up debug output when completing calls Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 173977a7015c45e5dc3c43534cd3deb81159ad1f Author: David Zeuthen Date: Fri Jul 30 11:26:43 2010 -0400 GCredentials: use effective uid/gid Otherwise e.g. setuid root processes can't connect to the system bus. This was discovered when porting PolicyKit's pkexec(1) command to a PolicyKit library using GDBus. Signed-off-by: David Zeuthen docs/reference/glib/tmpl/glib-unused.sgml | 40 ++++++++++++++++++++++++++++ docs/reference/glib/tmpl/messages.sgml | 27 +++++-------------- docs/reference/glib/tmpl/version.sgml | 41 ----------------------------- gio/gcredentials.c | 4 +-- 4 files changed, 48 insertions(+), 64 deletions(-) commit f9845bcbece022e9ec55c18b0a855b718155a1d1 Author: Ryan Lortie Date: Thu Jul 29 22:04:43 2010 +0200 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1fd1543bdcc6ee897b1ebd566cbcbfd9d76e386c Author: Ryan Lortie Date: Thu Jul 29 16:52:34 2010 +0200 add one more NEWS item NEWS | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit 8673f0b06c255e36189950b671911c38e91affd5 Author: Eduardo Lima Mitev Date: Mon Jul 26 17:21:14 2010 +0200 GIO: Add G-I annotations for several methods Specifically: - g_io_stream_get_input/output_stream() - g_socket_client_get_local_address() - g_socket_connection_get_socket() - g_socket_listener_add_address() - g_socket_listener_accept_socket() - g_socket_listener_accept() - g_io_extension_point_get_extensions() gio/giomodule.c | 7 ++++--- gio/giostream.c | 6 ++++-- gio/gsocketclient.c | 2 +- gio/gsocketconnection.c | 2 +- gio/gsocketlistener.c | 6 +++--- 5 files changed, 13 insertions(+), 10 deletions(-) commit e4f90c82624a623098c53c7158a46bf702ff5fc9 Author: Ryan Lortie Date: Thu Jul 29 12:01:46 2010 +0200 get a start on the NEWS NEWS | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit 015df7e369cf37929acfebec0a705d5531ac355a Author: Owen Taylor Date: Wed Jul 28 15:15:57 2010 -0400 [gschema-compile] fix segfault If files are passed on the command line and we don't set override_files at all, don't try to read from the array. gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19ef26c9c5e088817e2a392f79f343021f2259c8 Author: David Zeuthen Date: Wed Jul 28 12:58:04 2010 -0400 Use correct type for GDBusServer:active property It's a boolean, not a string. Signed-off-by: David Zeuthen gio/gdbusserver.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 133e87ca87cc86e6410bb9e19eacd8ddb11eadfc Author: David Zeuthen Date: Wed Jul 28 12:48:17 2010 -0400 GDBusConnection: Pass the GObject to g_simple_async_result_new() Signed-off-by: David Zeuthen gio/gdbusconnection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a6f1bb4e177750ef9c50a3813eb3be867a927fbe Author: Ryan Lortie Date: Tue Jul 27 22:56:30 2010 +0200 Add support for vendor override files You can drop a key-file in the schema directory that looks like: [org.gtk.Example] key='value' to override the default value of 'key' in schema 'org.gtk.Example'. gio/gschema-compile.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) commit 723692dfb91a2de8c5337e9e1b50c2cf3abfb374 Author: Fran Diéguez Date: Tue Jul 27 17:47:22 2010 +0200 Updated Galician translations po/gl.po | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) commit 12d0cbdac555db479e4c6631bfd15d3c8a5dc2ed Author: Jorge González Date: Mon Jul 26 20:58:59 2010 +0200 Updated Spanish translation po/es.po | 176 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 99 insertions(+), 77 deletions(-) commit e8923ff232bb34f27dfda8ba19df1af379da892c Author: Yaron Shahrabani Date: Sat Jul 24 13:31:31 2010 +0300 Updated Hebrew translation. po/he.po | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) commit 633d9efc62eca490b489e05d571681f8b15d8aca Author: Murray Cumming Date: Fri Jul 23 13:24:43 2010 +0200 [gio]: gioenums.h: Remove trailing comma again. gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86040bb2eb11ad9501cc0c94754e8d8f29ba8f17 Author: Benjamin Otte Date: Fri Jul 23 10:51:14 2010 +0200 Revert "notify: Remove unused g_object_notify_queue_clear()" This reverts commit 0201a81f04ae5fd46c6db25859e90dde1fc35d4b and adds locks in the right place. As this file is a public header (see last commit), we cannot just remove functions from it. gobject/gobjectnotifyqueue.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 2819dd60b7b2feaa0609c1017e20105852ca92e4 Author: Benjamin Otte Date: Fri Jul 23 10:49:26 2010 +0200 notify: Readd g_object_notify_queue_from_object() gobjectnotifyqueue.c is a public header, so we cannot remove files from it. (Yes you read that right, this .c file is a public header. See your installation directory.) gobject/gobjectnotifyqueue.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 4a83ee208fe08533a43a51c8fd2bd83794a1cd27 Author: Tao Wang Date: Fri Jul 23 13:18:43 2010 +0800 Complete Simplified Chinese translation. po/zh_CN.po | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) commit fd0a2b27891ec38e0190916af761c3daf4daa78f Author: Tao Wang Date: Fri Jul 23 13:05:37 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 359 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 198 insertions(+), 161 deletions(-) commit d5bd531d96a48ba2dac84e0ac7bffa4cf5481738 Author: Ryan Lortie Date: Thu Jul 22 18:39:50 2010 -0400 Cleanup the GSettingsBackend API This is a substantial ABI break. Rebuild dconf. gio/gdelayedsettingsbackend.c | 15 ++---- gio/gkeyfilesettingsbackend.c | 18 +------ gio/gmemorysettingsbackend.c | 4 +- gio/gnullsettingsbackend.c | 12 +---- gio/gsettings-tool.c | 102 +++++++++++++++++++++++++++++++++++++++- gio/gsettingsbackend.c | 22 +-------- gio/gsettingsbackend.h | 19 +++----- gio/gsettingsbackendinternal.h | 2 +- gio/tests/gsettings.c | 5 ++ 9 files changed, 125 insertions(+), 74 deletions(-) commit aed440815ec5c87f2439d723b60b8255578afdff Author: Ryan Lortie Date: Thu Jul 22 17:49:40 2010 -0400 GSettings: add g_settings_reset() Resets a key to its default value. docs/reference/gio/gio-sections.txt | 1 + gio/gdelayedsettingsbackend.c | 37 ++++++++++++++++++++++++++++------- gio/gio.symbols | 1 + gio/gmemorysettingsbackend.c | 20 ++++++++++++++++++- gio/gsettings.c | 24 ++++++++++++++++++++++- gio/gsettings.h | 2 ++ 6 files changed, 76 insertions(+), 9 deletions(-) commit f6d3e224dfa9e8b69403a8c79a27a58b5c9f66b7 Author: Olivier Crête Date: Thu Jul 22 21:52:54 2010 +0200 notify: Add tests for threadsafe object notifies https://bugzilla.gnome.org/show_bug.cgi?id=166020 tests/.gitignore | 2 + tests/refcount/Makefile.am | 2 + tests/refcount/properties3.c | 204 ++++++++++++++++++++++++++++++++++++++++++ tests/refcount/properties4.c | 169 ++++++++++++++++++++++++++++++++++ 4 files changed, 377 insertions(+) commit 0483ef000ae323415bb0c7b762dd587f1384b1f3 Author: Benjamin Otte Date: Thu Jul 22 21:51:28 2010 +0200 notify: Make dedup code clearer A for loops seems easier to understand to me than gotos. gobject/gobjectnotifyqueue.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 9026b11e380a9b6479c0fcb852a5aba297ed9dd4 Author: Olivier Crête Date: Thu Jul 22 21:26:32 2010 +0200 notify: Make GObject property change notifications thread safe Adds locking around object property change notification handling. The notifications are only emitted after all threads have called g_object_thaw_notify(). https://bugzilla.gnome.org/show_bug.cgi?id=166020 gobject/gobjectnotifyqueue.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 65797f7e54061a21866261d00a1c5533cd6a4f81 Author: Olivier Crête Date: Thu Jul 22 21:20:35 2010 +0200 notify: Remove g_object_notify_queue_from_object() The function will not be safe with object locking in place, so we remove it. The workaround is somewhat ugly, but it works. https://bugzilla.gnome.org/show_bug.cgi?id=166020 gobject/gobject.c | 14 ++++++++------ gobject/gobjectnotifyqueue.c | 7 ------- 2 files changed, 8 insertions(+), 13 deletions(-) commit 83026092eba98c2e6e0a96112555f980382a99e7 Author: Olivier Crête Date: Thu Jul 22 20:25:00 2010 +0200 notify: Refactor g_object_notify_queue_thaw() This adds better error reporting and simplifies the code for adding thread safety. https://bugzilla.gnome.org/show_bug.cgi?id=166020 gobject/gobjectnotifyqueue.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 0201a81f04ae5fd46c6db25859e90dde1fc35d4b Author: Olivier Crête Date: Thu Jul 22 09:02:18 2010 +0200 notify: Remove unused g_object_notify_queue_clear() https://bugzilla.gnome.org/show_bug.cgi?id=166020 gobject/gobjectnotifyqueue.c | 11 ----------- 1 file changed, 11 deletions(-) commit a2c5bba31d19dcd7f3726c99280ff794cbf744a9 Author: Benjamin Otte Date: Thu Jul 22 08:52:25 2010 +0200 notify: Emit a g_critical() instead g_return_if_fail()ing This does not change the code semantically in any way but avoids a return in the middle of the code. https://bugzilla.gnome.org/show_bug.cgi?id=166020 gobject/gobjectnotifyqueue.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 24161d9c4621ef0a674c31146e9fd0d2e9ad8d0f Author: Benjamin Otte Date: Thu Jul 22 20:24:29 2010 +0200 binding: Cast to avoid compiler warning gobject/tests/binding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dd1d1b3510536d4156eb79bb7161023c464e721f Author: Benjamin Otte Date: Thu Jul 22 20:23:28 2010 +0200 tests: Use GPOINTER_TO_SIZE() instead of just casting to guint a) gcc doesn't like this ("Cast to pointer of different size) b) It compares only half of the pointer gio/tests/memory-output-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 284ea16b9d94b28b632063333140b99e419d6b0a Author: Benjamin Otte Date: Thu Jul 22 20:23:04 2010 +0200 inotify: Constify function argument gcc complained... gio/inotify/inotify-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc7348b305c72c757f8ed1d8ba2cae2a19a3c684 Author: Ryan Lortie Date: Thu Jul 22 11:49:30 2010 -0400 Fix very small leak in the GSettings test gio/tests/gsettings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 23a904fc1520b06aefa1e51e690d2e7b2fcc3ead Author: Ryan Lortie Date: Wed Jul 21 20:10:31 2010 -0700 Bug 624991 - GSettings mapping for G_TYPE_STRV Added default mapping for G_TYPE_STRV based on a patch from Garrett Regier. Add a test case. gio/gsettings-mapping.c | 18 +++++++++++++++++- gio/tests/gsettings.c | 31 +++++++++++++++++++++++++++++++ gio/tests/org.gtk.test.gschema.xml | 3 +++ 3 files changed, 51 insertions(+), 1 deletion(-) commit 76aef137c8ba8410bd2b5bc31873db5d60dad961 Author: Fran Diéguez Date: Thu Jul 22 16:23:18 2010 +0200 Updated Galician translations po/gl.po | 132 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 70 insertions(+), 62 deletions(-) commit 8f80ff02af2fabd22d5aac1d1b853d1ac7865e85 Author: Behdad Esfahbod Date: Wed Jul 21 16:08:19 2010 -0400 Bug 624968 - div by zero in g_malloc_n family glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5063d78baac684a1c53a6a1620ff94789026ae26 Author: Yaron Shahrabani Date: Wed Jul 21 19:11:53 2010 +0300 Updated Hebrew translation. po/he.po | 124 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 64 insertions(+), 60 deletions(-) commit 9b0a08449fd966aff7a6c164c9913b01106a37cc Author: David Zeuthen Date: Tue Jul 20 15:02:36 2010 -0400 GDBusAuthObserver: Fix docs Signed-off-by: David Zeuthen gio/gdbusauthobserver.c | 53 ++++++++++------------------------------------- 1 file changed, 11 insertions(+), 42 deletions(-) commit 7eba41346e014649d8f9cf8ab675d1f091f7cf38 Author: David Zeuthen Date: Tue Jul 20 14:02:14 2010 -0400 Bug 617483 – Credentials passing - Make GCredentials instance and class structures private so it can't be subclassed and we don't have to worry about ABI compat issues. This also allows us to get rid of the GCredentialsPrivate struct. - Add a GCredentialsType enumeration that is used whenever exchanging pointers with the user. This allows us to support OSes with multiple native credential types. In particular, it allows supporting OSes where the native credential evolves or even changes over time. - Add g_socket_get_credentials() method. - Add tests for g_socket_get_credentials(). Right now this is in the GDBus peer-to-peer test case but we can change that later. - Move GTcpConnection into a separate gtk-doc page as was already half-done with GUnixConnection. Also finish the GUnixConnection move and ensure send_credentials() and receive_credentials() methods are in the docs. Also nuke comment about GTcpConnection being empty compared to its superclass. Signed-off-by: David Zeuthen docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 43 +++++------ gio/gcredentials.c | 135 ++++++++++++++++++++++++----------- gio/gcredentials.h | 44 ++---------- gio/gio.symbols | 2 + gio/gioenums.h | 15 ++++ gio/gnetworkingprivate.h | 8 +++ gio/gsocket.c | 72 ++++++++++++++++++- gio/gsocket.h | 2 + gio/gtcpconnection.c | 7 +- gio/gunixconnection.c | 6 ++ gio/gunixcredentialsmessage.c | 18 +++-- gio/tests/gdbus-peer.c | 36 ++++++++++ 13 files changed, 273 insertions(+), 116 deletions(-) commit b3cf5cbd0bfcfe53f82a72d276683aebd15d3828 Author: David Zeuthen Date: Tue Jul 20 12:14:30 2010 -0400 GDBusServer: Avoid handling incoming connections after stop() has been called Without this fix, we'd sometimes run code after stop() and finalize() to handle incoming requests. This was observed in the gdbus-peer test case occasionally crashing: $ ./gdbus-peer /gdbus/peer-to-peer: OK /gdbus/delayed-message-processing: OK /gdbus/nonce-tcp: GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `GDBusServer' aborting... Signed-off-by: David Zeuthen gio/gdbusserver.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 2be167f57c2b59d427aa54e2204bfaa906391b3e Author: David Zeuthen Date: Tue Jul 20 11:38:23 2010 -0400 GDBus: Add support for D-Bus type 'h' (ie. G_VARIANT_TYPE_HANDLE) This allows sending and receiving D-Bus messages with instances of the 'h' D-Bus type. Unlike libdbus-1's dbus_message_iter_get_basic() method, g_variant_get_handle() does not return a duplicated unix file descriptor (that must be closed with close(2)) - instead, it returns an index that can be used to get/dup the file descriptor from a GUnixFDList object that can be obtained from the GDBusMessage object. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 22 ++++++++++++++++++++++ gio/tests/gdbus-serialization.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) commit 66388120d23a2fcec345874cc1a6259c08a6ef38 Author: Ryan Lortie Date: Tue Jul 20 10:45:52 2010 -0400 Move #include down Until after we include the glib stuff, so that we have G_OS_UNIX defined. For some reason pulls in on Fedora so this wasn't a problem, but many others have reported the issue. gio/gdbusaddress.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 2f5056755763e4628ed0e64954229e0a7dd9dbfb Author: Jorge González Date: Tue Jul 20 08:57:35 2010 +0200 Updated Spanish translation po/es.po | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit c3737739aeeeac27e68d50d8c48dfa0ae7d23ee9 Author: noch Date: Tue Jul 20 10:33:32 2010 +0500 Corrected and updated the new version of the Armenian translation - po file. po/hy.po | 3004 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1617 insertions(+), 1387 deletions(-) commit 493d8cb2926c0d54a45fd1fdb7f383c730321aa8 Author: David Zeuthen Date: Mon Jul 19 17:03:07 2010 -0400 GDBus: Introduce G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL This is preferable to the current magical solution whereby the serial is only rewritten if non-zero. In particular, it makes it easier to send the same message on multiple connections without having to reset the serial number. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 45 ++++++++++++++++++++++----------------------- gio/gioenums.h | 6 +++++- 2 files changed, 27 insertions(+), 24 deletions(-) commit 9d7b00638fa6d0701ca8f883edf9e218c3a54412 Author: David Zeuthen Date: Mon Jul 19 16:10:50 2010 -0400 GDBus: Forgot to add g_dbus_send_message_flags_get_type() to gio.symbols Signed-off-by: David Zeuthen gio/gio.symbols | 1 + 1 file changed, 1 insertion(+) commit 0b2b4deac549623beb90228a0ad36f8c2c315710 Author: David Zeuthen Date: Mon Jul 19 16:07:57 2010 -0400 GDBus: Add GDBusSendMessageFlags This is currently unused but might be useful in the future. For example, it might be nice with a way to bypass the current queue of outgoing messages - having a flag enumeration allows us to add a G_DBUS_SEND_MESSAGE_FLAGS_BYPASS_QUEUE etc. etc. This commit breaks ABI and API. Users of the (rarely used) API to send messages will have to port to this new API. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 64 ++++++++++++++++++------------ gio/gdbusconnection.h | 3 ++ gio/gdbusmethodinvocation.c | 4 +- gio/gioenums.h | 13 ++++++ gio/tests/gdbus-connection.c | 6 ++- gio/tests/gdbus-example-server.c | 1 + gio/tests/gdbus-example-unix-fd-client.c | 1 + gio/tests/gdbus-peer.c | 4 +- 9 files changed, 67 insertions(+), 30 deletions(-) commit 7190af4394541c1adbe87769f7bd6db030e33605 Author: David Zeuthen Date: Mon Jul 19 15:45:27 2010 -0400 GDBus: Remove constness from introspection data structures Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 15 ++++---- gio/gdbus-tool.c | 4 +-- gio/gdbusapplication.c | 2 +- gio/gdbusconnection.c | 16 ++++----- gio/gdbusconnection.h | 2 +- gio/gdbusintrospection.c | 60 ++++++++++++++++---------------- gio/gdbusintrospection.h | 65 +++++++++++++++++------------------ gio/tests/gdbus-export.c | 26 +++++++------- gio/tests/gdbus-introspection.c | 6 ++-- gio/tests/gdbus-peer.c | 2 +- 10 files changed, 98 insertions(+), 100 deletions(-) commit 4a1c5a1b98aed12308361d7adb6089a9fb171583 Author: David Zeuthen Date: Mon Jul 19 15:03:00 2010 -0400 GDBus: Add GDBusSignalFlags and use it in g_dbus_connection_signal_subscribe() This is currently unused but will probably be useful in the future. For example, we could have a _ARG0_IS_PATH to specify that arg0 should be used for arg0path. This commit breaks API and ABI. Users of g_dbus_connection_signal_subscribe() will need to port to this new version. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbus-tool.c | 1 + gio/gdbusconnection.c | 2 ++ gio/gdbusconnection.h | 1 + gio/gdbusnameowning.c | 2 ++ gio/gdbusnamewatching.c | 1 + gio/gdbusproxy.c | 3 +++ gio/gio.symbols | 1 + gio/gioenums.h | 13 +++++++++++++ gio/tests/gdbus-connection.c | 21 +++++++++++++-------- gio/tests/gdbus-threading.c | 1 + gio/tests/testapps.c | 1 + 12 files changed, 40 insertions(+), 8 deletions(-) commit 1a06bd8d3f8ccf040901b4aa4b1197d189b8ab4e Author: Ryan Lortie Date: Mon Jul 19 15:03:54 2010 -0400 Update the GDBus subtree example for the new API docs/reference/glib/tmpl/messages.sgml | 27 +++++++++++++++++++++------ gio/tests/gdbus-example-subtree.c | 21 ++++++++++++--------- 2 files changed, 33 insertions(+), 15 deletions(-) commit c7c573afb6eef461bfe70bb848c90b1d58b3d4d9 Author: David Hoyt Date: Mon Jul 19 13:52:17 2010 -0400 Bug 624754 – gdbusaddress.c missing sys/wait.h https://bugzilla.gnome.org/show_bug.cgi?id=624754 Signed-off-by: David Zeuthen gio/gdbusaddress.c | 2 ++ 1 file changed, 2 insertions(+) commit d63f199d921b2444e25bc9f39cc12a84ad9695b5 Author: Ryan Lortie Date: Sun Jul 18 21:43:18 2010 -0400 Fix is_valid() API Actually dereference the pointer instead of just checking for NULL gvdb-reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df40747190a0fff4582c84b101f74e5da91f8f72 Author: Ryan Lortie Date: Sun Jul 18 20:45:37 2010 -0400 Add gvdb_table_is_valid() API Checks that the on-disk file is still valid. gvdb-reader.c | 17 +++++++++++++++++ gvdb-reader.h | 3 +++ 2 files changed, 20 insertions(+) commit f81601f735c3b5be0cb21031979071b2dff1ceb2 Author: Jorge González Date: Sun Jul 18 20:29:41 2010 +0200 Updated Spanish translation po/es.po | 282 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 154 insertions(+), 128 deletions(-) commit 8ab26d42e97c5e751f78d2b08d71cddcc5a37031 Author: Fran Diéguez Date: Sun Jul 18 19:58:33 2010 +0200 Fixed headers in galician translation file po/gl.po | 1181 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 600 insertions(+), 581 deletions(-) commit 5fb9c9f7de9700fe1639deb381bab7e3b2785689 Author: Yaron Shahrabani Date: Sat Jul 17 13:11:08 2010 +0300 Updated Hebrew translation. po/he.po | 85 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 34 deletions(-) commit f30aef9a105a2cb44bac1bbe3b8bb93387a41d9a Author: David Zeuthen Date: Fri Jul 16 13:19:48 2010 -0400 GDBus: Add nonce-tcp: test case Also fix a couple of TODO items in gdbusaddress.c Signed-off-by: David Zeuthen gio/gdbusaddress.c | 85 +++++++++++++------- gio/tests/gdbus-peer.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 259 insertions(+), 29 deletions(-) commit 27cee11b6c1558f44cc89cd46576e11413370abf Author: Yaron Shahrabani Date: Fri Jul 16 17:20:42 2010 +0300 Updated Hebrew translation. po/he.po | 1221 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 633 insertions(+), 588 deletions(-) commit fe6338f446f52deeb64aa10fab1c72fa64953472 Author: Ryan Lortie Date: Thu Jul 15 19:37:26 2010 -0400 g_warning on inconsistent subtree behaviour If the subtree introspection function indicates that an interface exists but then the dispatch function returns a NULL vtable for that interface, issue a g_warning pointing programmers in the right direction. gio/gdbusconnection.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 732ff1b27cc6f7bbbb1133bf8e7cb3de8475f72a Author: Julien Cristau Date: Thu Jul 15 15:26:02 2010 +0100 gio: don't assume that SOCK_CLOEXEC is supported whenever it's defined Just because SOCK_CLOEXEC was defined at build time doesn't mean the kernel we're running on supports it. So if socket() fails with EINVAL, try again without the flag. https://bugzilla.gnome.org/show_bug.cgi?id=624463 gio/gsocket.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 8a2d157d49c3dceda029bd0e14f8c7367daa2a36 Author: Ryan Lortie Date: Thu Jul 15 16:53:43 2010 -0400 Bug 624484: GDBusSubtreeDispatchFunc clarification Pass NULL rather than "/" for the toplevel of a subtree. Add clarification to the docs about how trees are flat. gio/gdbusconnection.c | 4 ++-- gio/gdbusconnection.h | 10 ++++++++-- gio/tests/gdbus-export.c | 10 +++++----- 3 files changed, 15 insertions(+), 9 deletions(-) commit ca14ab7ac0d93b2ccd0977d905b19094e7317490 Author: Ryan Lortie Date: Thu Jul 15 16:47:32 2010 -0400 Bug 624483: GDBusSubtreeEnumerateFunc clarification Clarify a couple of things in the docs: 1) you must return flat names (no slashes) 2) g_strfreev() will be called on the result 3) a benefit of using the DISPATCH_TO_UNENUMERATED flag gio/gdbusconnection.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e6b5546cf573e6594b33b2ce19ad839c1c694909 Author: Ryan Lortie Date: Thu Jul 15 16:26:42 2010 -0400 Bug 624473: GDBusSubtreeIntrospectFunc return type Return a NULL terminated C array instead of a GPtrArray Also, document that %NULL is a permitted return value and clarify its meaning. Finally, avoid calling the enumeration function during dispatch when the G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES flag was given. gio/gdbusconnection.c | 76 ++++++++++++++++++++++++++-------------------- gio/gdbusconnection.h | 27 +++++++++++----- gio/tests/gdbus-export.c | 25 +++++++-------- 3 files changed, 74 insertions(+), 54 deletions(-) commit 48b1fe948c4424cbc7e68ecca32b0ddac0f7410b Author: David Zeuthen Date: Thu Jul 15 12:19:24 2010 -0400 Bug 623810 – Message serialization bug https://bugzilla.gnome.org/show_bug.cgi?id=623810 Signed-off-by: David Zeuthen gio/gdbusmessage.c | 2 +- gio/tests/gdbus-serialization.c | 40 +++++++++++++++++++++++++++------------ 2 files changed, 29 insertions(+), 13 deletions(-) commit 44cf10adceb673deefebe348350268d9436f3fab Author: Tomeu Vizoso Date: Thu Jul 15 17:05:00 2010 +0200 Add annotations for g_variant_new_strv and g_variant_get_strv glib/gvariant.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 58f1977151a78bd48e0277cefe6a767595ecb095 Author: Tomeu Vizoso Date: Thu Jul 15 15:32:45 2010 +0200 Add annotations to g_dbus_proxy_new_sync gio/gdbusproxy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 63938335703ea3608f7b0901d1cdcec4855e8880 Author: Aron Xu Date: Thu Jul 15 17:56:14 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 1418 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 738 insertions(+), 680 deletions(-) commit 2bd201c8b21a5daa666169701b1c12dd3b151a26 Author: Lucian Adrian Grijincu Date: Thu Jul 15 02:10:43 2010 +0300 po: Updated Romanian translation po/ro.po | 1796 +++++++++++++++++--------------------------------------------- 1 file changed, 490 insertions(+), 1306 deletions(-) commit d581a7faf1080e67fd6c731cd04beefbc77cf41a Author: Mario Blättermann Date: Wed Jul 14 23:06:18 2010 +0200 [i18n] Updated German translation po/de.po | 1567 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 822 insertions(+), 745 deletions(-) commit baf383d1b14ebcd217a587fe8c78202fc5e9193b Author: David Zeuthen Date: Wed Jul 14 14:46:12 2010 -0400 GDBusConnection: copy object and subtree virtual tables Signed-off-by: David Zeuthen gio/gdbusconnection.c | 58 +++++++++++++++++++++++++++++++++++++++++-------- gio/gdbusconnection.h | 19 ++++++++-------- 2 files changed, 58 insertions(+), 19 deletions(-) commit 914b046226c762bae578e17f7ed9a0fdf058045a Author: David Zeuthen Date: Wed Jul 14 12:37:32 2010 -0400 GDBusConnection: Fix up g_dbus_connection_close() ... so it is async, cancelable and returns an error. Also provide a synchronous version. This is an API/ABI break but it is expected that only very few applications use this API. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 2 + gio/gdbusconnection.c | 151 +++++++++++++++++++++++++++++++---- gio/gdbusconnection.h | 14 +++- gio/gio.symbols | 2 + gio/tests/gdbus-connection.c | 8 +- 5 files changed, 158 insertions(+), 19 deletions(-) commit 14e37ef7967a2da594faaab24fe2c9c117cf099f Author: David Zeuthen Date: Wed Jul 14 11:39:22 2010 -0400 GDBusMessage: Make endianness for D-Bus messages match host byte order Signed-off-by: David Zeuthen gio/gdbusmessage.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 497edd8b40edfbf85e029a9300e0d99ac6f08630 Author: David Zeuthen Date: Wed Jul 14 11:14:58 2010 -0400 Bug 623815 – Don't check sender for GDBusProxy objects where name is not set Based on a patch from Peng Huang , thanks! https://bugzilla.gnome.org/show_bug.cgi?id=623815 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 4 +-- gio/tests/gdbus-peer.c | 72 ++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 69 insertions(+), 7 deletions(-) commit 8a2e7d371fdf55c23c61be908761431509cd3a7c Author: Colin Walters Date: Fri Jun 18 14:19:57 2010 -0400 Make default-quit not apply if register=FALSE Callers who are using g_application_unregistered_try_new are likely wanting to continue doing something else if _register() fails. Change the semantics so that passing register=FALSE unsets default-quit as well. This means that a later _register() call will send Activate but continue the process. https://bugzilla.gnome.org/show_bug.cgi?id=622005 gio/gapplication.c | 23 ++++++++++++++++++----- gio/gdbusapplication.c | 9 +++++++-- 2 files changed, 25 insertions(+), 7 deletions(-) commit 7e0121dfe0a9377cd35c9d4b90c477b96d56c43f Author: Chao-Hsiung Liao Date: Wed Jul 14 19:28:34 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1717 +++++++++++++++++++++++++++++++---------------------------- po/zh_TW.po | 1700 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 1803 insertions(+), 1614 deletions(-) commit 463edcb045b287cd0df8f44322e133ae32fe5e87 Author: Stefan Kost Date: Wed Jul 14 11:56:41 2010 +0300 docs: xi:include the annotation glossary to kill warnings and make them work docs/reference/gio/gio-docs.xml | 3 +++ docs/reference/glib/glib-docs.sgml | 2 ++ docs/reference/gobject/gobject-docs.sgml | 2 ++ 3 files changed, 7 insertions(+) commit de56aca0b5cf2eaf99ba501dd3d55b750c752433 Author: Javier Jardón Date: Tue Jul 13 05:05:48 2010 +0200 Clean autotools config a bit New requirements: autoconf >= 2.62 automake >= 1.10 libtool >= 2.2 Makefile.am | 4 +--- autogen.sh | 10 +++------- configure.ac | 14 +++++--------- 3 files changed, 9 insertions(+), 19 deletions(-) commit 3a8ab85d967c3b0fa1b7d702d640df61020d92a0 Author: Ryan Lortie Date: Tue Jul 13 11:59:16 2010 -0400 rename configure.in to configure.ac README.win32 | 2 +- config.h.win32.in | 2 +- configure.ac | 3756 ++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 3756 ---------------------------------------------- glib/gmem.c | 2 +- glib/gthread.c | 4 +- m4macros/glib-gettext.m4 | 4 +- 7 files changed, 3763 insertions(+), 3763 deletions(-) commit 0bb7cc3fceb9223845d2032c9d381f2e15c5285d Author: Ryan Lortie Date: Tue Jul 13 09:24:16 2010 -0400 Remove GUnixVolumeMonitor, GUnixMount from docs David says that they're supposed to be private. docs/reference/gio/Makefile.am | 3 +++ docs/reference/gio/gio-sections.txt | 15 ----------- docs/reference/glib/tmpl/glib-unused.sgml | 40 ---------------------------- docs/reference/glib/tmpl/version.sgml | 41 +++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+), 55 deletions(-) commit 5344c22810c01a0cd708562be563f81f15f517f3 Author: Ryan Lortie Date: Mon Jul 12 18:30:14 2010 -0400 gio/ docs fixup docs/reference/gio/Makefile.am | 5 +++ docs/reference/gio/gio-sections.txt | 32 ++-------------- docs/reference/glib/tmpl/glib-unused.sgml | 59 +++++++++++++++-------------- gio/fen/fen-kernel.c | 6 +-- gio/fen/fen-node.c | 8 ++-- gio/fen/libfen_la-fen-dump.loT | 7 ---- gio/gappinfo.h | 1 - gio/gbufferedoutputstream.h | 1 - gio/gconverterinputstream.h | 1 - gio/gconverteroutputstream.h | 1 - gio/gdatainputstream.h | 1 - gio/gdataoutputstream.h | 1 - gio/gfileenumerator.h | 1 - gio/gkeyfilesettingsbackend.c | 2 +- gio/gsettings.c | 8 ++-- gio/gsettings.h | 2 +- gio/gsettingsschema.c | 2 +- gio/gunixconnection.c | 2 +- gio/gvolumemonitor.h | 1 - 19 files changed, 53 insertions(+), 88 deletions(-) commit adde752ec5a600a71f8c9acf1be032ab5f5de46c Author: Ryan Lortie Date: Mon Jul 12 17:46:17 2010 -0400 More docs fixes Remove the g*alias.h from the ignore lists Remove other old files from ignore lists Clean up gobject docs docs/reference/gio/Makefile.am | 2 -- docs/reference/glib/Makefile.am | 6 ------ docs/reference/gobject/Makefile.am | 2 +- gobject/gparamspecs.h | 2 ++ gobject/gvaluecollector.h | 7 ++++++- 5 files changed, 9 insertions(+), 10 deletions(-) commit de5afbc7cc262b677e00704e1bf3562f45dbede0 Author: Ryan Lortie Date: Mon Jul 12 17:32:44 2010 -0400 More gtk-doc cleanups for glib/ docs/reference/glib/Makefile.am | 2 ++ docs/reference/glib/glib-sections.txt | 6 ++++++ docs/reference/glib/tmpl/glib-unused.sgml | 9 --------- docs/reference/glib/tmpl/i18n.sgml | 10 ++++++++++ 4 files changed, 18 insertions(+), 9 deletions(-) commit 92df91590fd4b1ca4921cc3f89421928b857e75c Author: Ryan Lortie Date: Mon Jul 12 17:31:03 2010 -0400 trivial whitespace fix glib/gmem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7791fce38a1a7d292e94d3bb5a0ffb8d6da9333d Author: Ryan Lortie Date: Mon Jul 12 16:37:56 2010 -0400 Fix some glib docs warnings Remove some symbols from glib-sections.txt that gtk-doc has no idea about. Add proper callback typedefs for GTester (gtk-doc dislikes inline function types). Fix some other minor issues. docs/reference/glib/glib-sections.txt | 9 ++++- docs/reference/glib/tmpl/fileutils.sgml | 6 +++ docs/reference/glib/tmpl/testing.sgml | 35 ++++++++++++++--- glib/gstdio.c | 8 ++++ glib/gstrfuncs.c | 10 ++--- glib/gtestutils.c | 62 ++++++++++++++++++++++--------- glib/gtestutils.h | 30 +++++++++------ glib/gutf8.c | 2 +- glib/gvariant.c | 2 +- 9 files changed, 121 insertions(+), 43 deletions(-) commit dc8cf867c805095b7acd7842b731c6eff32ee18f Author: Matthias Clasen Date: Mon Jul 12 07:50:36 2010 -0400 Don't return FALSE when a pointer is expected Pointed out in bug 623956 glib/gvariant-parser.c | 8 ++++---- glib/tests/markup-subparser.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 90285b0643d23059bdf28aff4afd337f91a556a6 Author: Ryan Lortie Date: Mon Jul 12 15:30:26 2010 -0400 Bump gtk-doc dependency to 1.15 Use the multiple source-directory support contained therein. configure.in | 2 +- docs/reference/glib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 83d67bf2e79e1cb984e398b218cedd0b1e50bd1f Author: Ryan Lortie Date: Sun Jul 11 21:08:42 2010 -0400 move glibconfig.h to glib/ .gitignore | 2 - Makefile.am | 18 +-- configure.in | 14 +-- gio/abicheck.sh | 2 +- glib/.gitignore | 4 + glib/Makefile.am | 29 ++++- glib/abicheck.sh | 2 +- glib/glibconfig.h.win32.in | 284 ++++++++++++++++++++++++++++++++++++++++++++ glibconfig.h.win32.in | 284 -------------------------------------------- gobject/abicheck.sh | 2 +- 10 files changed, 325 insertions(+), 316 deletions(-) commit 29a6fb68b7d73648992ea55d17cc54fc1261fe29 Author: Colin Walters Date: Fri Jun 25 09:37:06 2010 -0400 Don't attempt to build dtrace support on OS X Apparently the OS X "dtrace" command is different from the Sun one, which is what Linux supports. Since I don't have access to an OS X machine to test build patches on, simply disable dtrace on OS X for now. https://bugzilla.gnome.org/show_bug.cgi?id=622697 configure.in | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit e5834637eb4a336393989dc68d7615abf153335f Author: Baurzhan Muftakhidinov Date: Mon Jul 12 16:19:45 2010 +0300 Added Kazakh translation for Kazakh po/LINGUAS | 1 + po/kk.po | 2813 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 2814 insertions(+) commit 82318fbda3441615e11fe5fa25144d27096286fe Author: Ryan Lortie Date: Sun Jul 11 12:51:54 2010 -0400 bump the version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be247c24c6b532b2acfe52424ffdcc79bdc48bf4 Author: Ryan Lortie Date: Sun Jul 11 12:51:33 2010 -0400 This is glib 2.25.11 NEWS | 1 + docs/reference/glib/tmpl/atomic_operations.sgml | 42 +++++++++++++---------- docs/reference/glib/tmpl/bookmarkfile.sgml | 16 ++++----- docs/reference/glib/tmpl/conversions.sgml | 22 ------------ docs/reference/glib/tmpl/numerical.sgml | 10 ++++++ 5 files changed, 43 insertions(+), 48 deletions(-) commit 8c36b1ad2bf03141cd1aacbb0fa9d19ba7c72c17 Author: Kjartan Maraas Date: Sun Jul 11 15:51:04 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 1387 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 732 insertions(+), 655 deletions(-) commit 358b9d6ac750c3d35b259df2b59353d004a32ace Author: Matthias Clasen Date: Sat Jul 10 23:53:36 2010 -0400 Move main loop docs inline docs/reference/glib/tmpl/main.sgml | 288 +++++---------------------- glib/gmain.c | 76 ++++++++ glib/gmain.h | 374 ++++++++++++++++++++++++++++-------- glib/gpoll.h | 30 ++- 4 files changed, 448 insertions(+), 320 deletions(-) commit ab8cb652c83d77471b2e0f56b270d4ef8704dae9 Author: Matthias Clasen Date: Sat Jul 10 22:30:04 2010 -0400 Fix a typo docs/reference/glib/tmpl/bookmarkfile.sgml | 102 ++++------------------------ glib/gatomic.c | 2 +- glib/gbookmarkfile.c | 44 ++++++++++++ glib/gbookmarkfile.h | 30 +++++++- glib/tests/Makefile.am | 3 +- glib/tests/bookmarks.xbel | 23 +++++++ 6 files changed, 110 insertions(+), 94 deletions(-) commit e57291efdc53a2f7732e39730ef91dab266ade83 Author: Matthias Clasen Date: Sat Jul 10 21:51:34 2010 -0400 Move docs for atomic operations inline docs/reference/glib/tmpl/atomic_operations.sgml | 136 +++++------------------ glib/gatomic.c | 133 +++++++++++++++++++++- glib/gatomic.h | 22 +++- 3 files changed, 183 insertions(+), 108 deletions(-) commit e8503fddee2c5426a98d066c5a24afd9ae7ade50 Author: Matthias Clasen Date: Sat Jul 10 21:26:28 2010 -0400 Move GAsyncQueue docs inline docs/reference/glib/tmpl/async_queues.sgml | 55 +--------------------------- glib/gasyncqueue.c | 53 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 53 deletions(-) commit db0c58062dd208982521dfc99b0da59a5bd4327b Author: Ryan Lortie Date: Sat Jul 10 23:28:30 2010 -0400 NEWS for the pending release NEWS | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) commit d2fe46b476a183168d57581c41b763b9e8f03c7c Author: Colin Walters Date: Sat Jul 10 20:09:34 2010 -0400 Annotate all custom GIO GSource using g_source_set_name Naming the sources allows easier debugging with e.g. SystemTap probes. https://bugzilla.gnome.org/show_bug.cgi?id=620536 gio/gsocket.c | 1 + gio/gunixinputstream.c | 1 + gio/gunixoutputstream.c | 1 + gio/inotify/inotify-kernel.c | 1 + glib/giounix.c | 1 + glib/giowin32.c | 1 + 6 files changed, 6 insertions(+) commit 7568bb66f996bdf94da6963399333236f73adb1b Author: Matthias Clasen Date: Sat Jul 10 20:00:49 2010 -0400 use proper feature test macros for isnan Problem pointed out in bug 581354 glib/tests/strfuncs.c | 1 + 1 file changed, 1 insertion(+) commit d9dc570c593a29be62b3d85cef43f92f52dcce8e Author: Matthias Clasen Date: Sat Jul 10 19:46:40 2010 -0400 Add ACLOCAL_AMFLAGS to Makefile.am Patch by Vincent Untz, bug 570036 Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 3dca4ce434f30a5c72f773c5c0437d4ac92413ab Author: Matthias Clasen Date: Sat Jul 10 19:16:27 2010 -0400 One more dubious return gio/gsocketlistener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d44ae96cb1566447ce44034b8b9290badacb6fe4 Author: Ryan Lortie Date: Sat Jul 10 17:54:08 2010 -0400 GVariant: fix some more leaks in error cases glib/gvariant-parser.c | 4 ++++ 1 file changed, 4 insertions(+) commit 90c49a0654f4aa556f3d2ccb7c91b6e480eef1ae Author: Ryan Lortie Date: Sat Jul 10 17:45:51 2010 -0400 move the g_free() from the last commit down It is needed for the error message... glib/gvariant-parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 29babb9fc8baf2327b2e0781fbf07bed76a4cbde Author: Matthias Clasen Date: Sat Jul 10 18:04:22 2010 -0400 Minor cleanup gio/glocalfileenumerator.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit f8e22856c643bfccaf03db6f84738126cff374d0 Author: Matthias Clasen Date: Sat Jul 10 17:57:45 2010 -0400 Add a GAppInfoCreate flag for startup-notification Using this flag, it will be possible to launch apps without a desktop file, in the same way that gdk_spawn_... lets you do. Requested in bug 599223. gio/gdesktopappinfo.c | 2 +- gio/gioenums.h | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) commit 5f1490e94aa0fcfe72b92377dc7efae4b3300a6c Author: Matthias Clasen Date: Sat Jul 10 17:21:32 2010 -0400 Fix sparse warnings These were listed in bug 623955 gio/gconverteroutputstream.c | 2 +- gio/gdbusauthmechanismsha1.c | 4 ++-- gio/gdbusconnection.c | 2 +- gio/gfileinfo.c | 4 ++-- gio/ginetsocketaddress.c | 2 +- gio/gmount.c | 6 +++--- gio/gschema-compile.c | 6 +++--- gio/gunixfdmessage.c | 2 +- gio/gunixresolver.c | 9 ++++++--- 9 files changed, 20 insertions(+), 17 deletions(-) commit 41f4aba2d22ceec7f8dd0916aae99fb3eea5699f Author: Matthias Clasen Date: Sat Jul 10 17:12:31 2010 -0400 Chain up in g_settings_finalize Requested in bug 623954 gio/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) commit 61027a8b5ce75c68f2a6e84134ea88af1f8a5556 Author: Matthias Clasen Date: Sat Jul 10 17:06:41 2010 -0400 Turn on glibc malloc checking features for make check Makefile.decl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48a04f9303294304db5693acb1e4421cfdd4464a Author: Ryan Lortie Date: Sat Jul 10 16:56:51 2010 -0400 GVariant: don't leak during type inferencing glib/gvariant-parser.c | 1 + 1 file changed, 1 insertion(+) commit b1c4dec264eeff92fc9afd112c6b6fc4fd74c087 Author: Jorge González Date: Sat Jul 10 11:03:52 2010 +0200 Updated Spanish translation po/es.po | 1179 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 588 insertions(+), 591 deletions(-) commit 551461b23a52f4c49633352e538184cd8cb250ad Author: Matthias Clasen Date: Fri Jul 9 08:33:27 2010 -0400 Fix some leaks in the inotify code Also avoid creating some unused objects. Patch by Carlos Garnacho, bug 613057 gio/inotify/inotify-helper.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit c24a29e13bcf2c36140c5d8467a9258402c347aa Author: Matthias Clasen Date: Fri Jul 9 07:24:08 2010 -0400 Adapt to recent MLS changes g_file_query_info returns non-NULL more often now. gio/gfile.c | 7 ++++--- gio/tests/live-g-file.c | 5 +---- 2 files changed, 5 insertions(+), 7 deletions(-) commit e302e919e5c8329ae293f0ba5921c6dfce289beb Author: Matthias Clasen Date: Thu Jul 8 19:52:36 2010 -0400 Remove dead links from the IEEE float documentation docs/reference/glib/tmpl/numerical.sgml | 46 +++++++++++-------------------- 1 file changed, 16 insertions(+), 30 deletions(-) commit 0c357a2d149080c4e4fefb29436c03e7879ce437 Author: Matthias Clasen Date: Thu Jul 8 19:37:31 2010 -0400 Improve the long description of GString It is more similar to a Java StringBuffer than to a C string. See bug 612439. docs/reference/glib/tmpl/strings.sgml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2504ec988e0288b8616907b43e489c74d49a08f0 Author: Will Thompson Date: Thu Jul 8 19:30:53 2010 -0400 Document NULL shortcut to g_value_array_insert etc. You can pass a NULL GValue * to any of g_value_array_insert, _prepend or _append to add a new, uninitialized value. This is a very useful shortcut, and it should be documented rather than left languishing in a comment in the implementation. Fixes Gnome bug #552363. gobject/gvaluearray.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit cc44ef148c578ec87f71c155549a5d352a30bb3a Author: Matthias Clasen Date: Thu Jul 8 19:26:25 2010 -0400 Improve some GNode docs See bug 561248 glib/gnode.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ac342a8d0c4e50b5983631808ca6b7dc7508e17d Author: Matthias Clasen Date: Thu Jul 8 19:23:42 2010 -0400 Expand the g_sprintf docs As requested in bug 576833. glib/gprintf.c | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) commit 7cfa23b17785218463274854753494b5e49584c8 Author: Matthias Clasen Date: Thu Jul 8 19:03:18 2010 -0400 Add a note about l10n to the g_strconcat docs As requested in bug 576854 glib/gstrfuncs.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit e0017f24c58ba756c186026e42d59ed3015e80ce Author: Matthias Clasen Date: Thu Jul 8 17:38:47 2010 -0400 Move uri conversion functions to a better place in the docs g_filename_from/to_uri are better off in the section called "URI functions". Requested in bug 582227. docs/reference/glib/glib-sections.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3c6304a332c8da9275569c9820660e859b4ac160 Author: Jorge González Date: Thu Jul 8 23:25:01 2010 +0200 Updated Spanish translation po/es.po | 176 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 109 insertions(+), 67 deletions(-) commit e0f2d0f28e3074ba839f997a15997a2d878d2f76 Author: Matthias Clasen Date: Thu Jul 8 16:32:08 2010 -0400 Comment out an unused function it is causing warnings, so it needs to die...bug 622600 glib/pcre/pcre_ucp_searchfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 448ac22e80bcd947d255616a9147dbce5c85e120 Author: Matthias Clasen Date: Thu Jul 8 16:24:44 2010 -0400 Fix an oversight in the previous commit gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33f7f6a7485189ef15c953c74dac276e762b3bb9 Author: Matthias Clasen Date: Thu Jul 8 16:22:16 2010 -0400 Use glib infrastructure to parse debug flags Proposed in bug 623319 gio/gdbusprivate.c | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit 29850d03e8456ff7b05d7bd6fc9eba9895b50ff6 Author: Matthias Clasen Date: Thu Jul 8 15:18:05 2010 -0400 Be a bit more picky when deciding if mounts are internal Complained about in bug 623780. gio/gunixmounts.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 349aab2bd4cb221b99d98802339bde8d0adc178d Author: Matthias Clasen Date: Thu Jul 8 15:11:24 2010 -0400 A little more correctness in formatting pids Requested in bug 623772 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcddf9c2a1e0c76843af91d6d530194bcb7d8791 Author: Matthias Clasen Date: Thu Jul 8 14:58:33 2010 -0400 Escape arguments when putting together a cmdline See bug 623770 gio/gdesktopappinfo.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 607fec50e65eef943bc5dd6254bf0b331b682cca Author: Matthias Clasen Date: Thu Jul 8 14:38:55 2010 -0400 xinclude the dtd Keeping two copies in sync manually gets tiresome. gio/gsettings.c | 65 +------------------------------------------------------ 1 file changed, 1 insertion(+), 64 deletions(-) commit c7816005f99c5293b608c70d4b341d410cb5aea4 Author: Matthias Clasen Date: Thu Jul 8 14:29:17 2010 -0400 Update the dtd to match the implementation See bug 623720 gio/gschema.dtd | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit 71e7b5800a310ae7424f3eec4ebcdcc1becaa6e7 Author: Matthias Clasen Date: Thu Jul 8 14:19:08 2010 -0400 Handle MLS selinux policy better Following the behaviour of ls here, we should return at least the file name, if we can't get any other information about a file. To do this, handle EACCESS on stat() calls. Patch by Tomas Bzatek, see bug 623692 gio/glocalfileinfo.c | 76 +++++++++++++++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 28 deletions(-) commit 1e8656fe24e846f3bb0533e96afb1e0b46a37b49 Author: Matthias Clasen Date: Thu Jul 8 14:12:28 2010 -0400 Check for zlib using pkg-config Based on a patch by Felipe Contreras, see bug 623473. configure.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 5adf506d5bb8b0d13ded7fd8480d17d27e7ae31e Author: Matthias Clasen Date: Thu Jul 8 11:33:21 2010 -0400 Use proper variables And also make sure we don't read garbage. gio/tests/gsettings.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) commit a00fa340cb776976b14fd1b9476d1488a75d8377 Author: Ryan Lortie Date: Wed Jul 7 22:00:43 2010 -0400 base64: remove unnecessary assertions Allow base64 encoding/decoding of empty strings. glib/gbase64.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit ddb919245c33f23c45d69b9e2aea85458d8d67f2 Author: Matthias Clasen Date: Wed Jul 7 20:36:28 2010 -0400 forgotten file glib/tests/keyfiletest.ini | 4 ++++ 1 file changed, 4 insertions(+) commit 5b946e0504952a472cea1ef95df0967e8a4a7b47 Author: Ryan Lortie Date: Wed Jul 7 19:53:22 2010 -0400 gio/: fully remove gioalias hacks gio/.gitignore | 2 - gio/Makefile.am | 16 +--- gio/fen/fen-dump.c | 1 - gio/fen/fen-helper.c | 1 - gio/fen/fen-kernel.c | 1 - gio/fen/fen-node.c | 1 - gio/fen/gfendirectorymonitor.c | 3 - gio/fen/gfenfilemonitor.c | 3 - gio/gappinfo.c | 5 -- gio/gapplication.c | 4 - gio/gasynchelper.c | 1 - gio/gasyncinitable.c | 4 - gio/gasyncresult.c | 4 - gio/gbufferedinputstream.c | 5 -- gio/gbufferedoutputstream.c | 5 -- gio/gcancellable.c | 4 - gio/gcharsetconverter.c | 4 - gio/gcontenttype.c | 4 - gio/gconverter.c | 4 - gio/gconverterinputstream.c | 4 - gio/gconverteroutputstream.c | 4 - gio/gcredentials.c | 4 - gio/gdatainputstream.c | 5 -- gio/gdataoutputstream.c | 6 +- gio/gdbusaddress.c | 4 - gio/gdbusapplication.c | 1 - gio/gdbusauth.c | 4 - gio/gdbusauthmechanism.c | 4 - gio/gdbusauthmechanismanon.c | 4 - gio/gdbusauthmechanismexternal.c | 4 - gio/gdbusauthmechanismsha1.c | 4 - gio/gdbusauthobserver.c | 6 -- gio/gdbusconnection.c | 4 - gio/gdbuserror.c | 4 - gio/gdbusintrospection.c | 4 - gio/gdbusmessage.c | 5 -- gio/gdbusmethodinvocation.c | 4 - gio/gdbusnameowning.c | 4 - gio/gdbusnamewatching.c | 4 - gio/gdbusprivate.c | 4 - gio/gdbusproxy.c | 4 - gio/gdbusserver.c | 4 - gio/gdbusutils.c | 4 - gio/gdelayedsettingsbackend.c | 1 - gio/gdesktopappinfo.c | 4 - gio/gdrive.c | 4 - gio/gdummyfile.c | 1 - gio/gemblem.c | 4 - gio/gemblemedicon.c | 4 - gio/gfile.c | 4 - gio/gfileattribute.c | 4 - gio/gfiledescriptorbased.c | 5 -- gio/gfileenumerator.c | 4 - gio/gfileicon.c | 4 - gio/gfileinfo.c | 4 - gio/gfileinputstream.c | 5 -- gio/gfileiostream.c | 4 - gio/gfilemonitor.c | 4 - gio/gfilenamecompleter.c | 4 - gio/gfileoutputstream.c | 4 - gio/gfilterinputstream.c | 4 - gio/gfilteroutputstream.c | 4 - gio/gicon.c | 5 -- gio/ginetaddress.c | 4 - gio/ginetsocketaddress.c | 4 - gio/ginitable.c | 4 - gio/ginputstream.c | 4 - gio/gio.symbols | 4 +- gio/gioenumtypes.c.template | 6 -- gio/gioerror.c | 4 - gio/giomodule.c | 4 - gio/gioscheduler.c | 5 -- gio/giostream.c | 4 - gio/gkeyfilesettingsbackend.c | 4 - gio/gloadableicon.c | 4 - gio/glocaldirectorymonitor.c | 4 - gio/glocalfile.c | 1 - gio/glocalfileenumerator.c | 3 - gio/glocalfileinfo.c | 1 - gio/glocalfileinputstream.c | 1 - gio/glocalfileiostream.c | 1 - gio/glocalfilemonitor.c | 4 - gio/glocalfileoutputstream.c | 1 - gio/glocalvfs.c | 1 - gio/gmemoryinputstream.c | 4 - gio/gmemoryoutputstream.c | 4 - gio/gmemorysettingsbackend.c | 1 - gio/gmount.c | 4 - gio/gmountoperation.c | 4 - gio/gnativevolumemonitor.c | 4 - gio/gnetworkaddress.c | 4 - gio/gnetworkservice.c | 4 - gio/gnullapplication.c | 1 - gio/gnullsettingsbackend.c | 1 - gio/goutputstream.c | 4 - gio/gpermission.c | 4 - gio/gpollfilemonitor.c | 1 - gio/gresolver.c | 4 - gio/gseekable.c | 4 - gio/gsettings.c | 3 - gio/gsettingsbackend.c | 4 - gio/gsimpleasyncresult.c | 4 - gio/gsimplepermission.c | 4 - gio/gsocket.c | 4 - gio/gsocketaddress.c | 4 - gio/gsocketaddressenumerator.c | 4 - gio/gsocketclient.c | 4 - gio/gsocketconnectable.c | 4 - gio/gsocketconnection.c | 4 - gio/gsocketcontrolmessage.c | 4 - gio/gsocketinputstream.c | 4 - gio/gsocketlistener.c | 4 - gio/gsocketoutputstream.c | 4 - gio/gsocketservice.c | 4 - gio/gsrvtarget.c | 4 - gio/gtcpconnection.c | 5 -- gio/gthemedicon.c | 4 - gio/gthreadedresolver.c | 4 - gio/gthreadedsocketservice.c | 4 - gio/gunionvolumemonitor.c | 5 -- gio/gunixconnection.c | 4 - gio/gunixcredentialsmessage.c | 5 -- gio/gunixfdlist.c | 4 - gio/gunixfdmessage.c | 4 - gio/gunixinputstream.c | 4 - gio/gunixmount.c | 1 - gio/gunixmounts.c | 4 - gio/gunixoutputstream.c | 4 - gio/gunixresolver.c | 4 - gio/gunixsocketaddress.c | 4 - gio/gunixvolume.c | 1 - gio/gunixvolumemonitor.c | 1 - gio/gvfs.c | 4 - gio/gvolume.c | 6 -- gio/gvolumemonitor.c | 5 -- gio/gwin32appinfo.c | 1 - gio/gwin32inputstream.c | 4 - gio/gwin32mount.c | 1 - gio/gwin32outputstream.c | 4 - gio/gwin32resolver.c | 4 - gio/gwin32volumemonitor.c | 1 - gio/gzlibcompressor.c | 4 - gio/gzlibdecompressor.c | 4 - gio/inotify/ginotifydirectorymonitor.c | 3 - gio/inotify/ginotifyfilemonitor.c | 3 - gio/inotify/inotify-helper.c | 3 - gio/makefile.msc | 8 -- gio/makegioalias.pl | 139 -------------------------------- gio/pltcheck.sh | 21 ----- gio/win32/gwinhttpfile.c | 2 - gio/win32/gwinhttpfileinputstream.c | 2 - gio/win32/gwinhttpfileoutputstream.c | 2 - gio/win32/gwinhttpvfs.c | 2 - 153 files changed, 3 insertions(+), 709 deletions(-) commit 0fc50fa5f7424d21ff43a79838fe76ff73ad869b Author: Ryan Lortie Date: Wed Jul 7 19:40:48 2010 -0400 gobject/: fully remove gobjectalias hacks gobject/.gitignore | 2 - gobject/Makefile.am | 18 ++---- gobject/gbinding.c | 4 -- gobject/gboxed.c | 4 -- gobject/gclosure.c | 4 -- gobject/genums.c | 4 -- gobject/gobject.c | 6 -- gobject/gobject.symbols | 4 +- gobject/gparam.c | 4 -- gobject/gparamspecs.c | 4 -- gobject/gsignal.c | 4 -- gobject/gsourceclosure.c | 4 -- gobject/gtype.c | 4 -- gobject/gtypemodule.c | 5 -- gobject/gtypeplugin.c | 4 -- gobject/gvalue.c | 4 -- gobject/gvaluearray.c | 4 -- gobject/gvaluetransform.c | 1 - gobject/gvaluetypes.c | 4 -- gobject/makefile.msc.in | 8 --- gobject/makegobjectalias.pl | 139 ------------------------------------------- gobject/pltcheck.sh | 19 ------ 22 files changed, 5 insertions(+), 249 deletions(-) commit 2e53e50244b85d7e0b5358d617fabc15e8ec8bd7 Author: Ryan Lortie Date: Wed Jul 7 19:34:03 2010 -0400 glib/: fully remove galias hacks glib/.gitignore | 2 - glib/Makefile.am | 18 +----- glib/garray.c | 4 -- glib/gasyncqueue.c | 4 -- glib/gatomic-gcc.c | 4 -- glib/gatomic.c | 4 -- glib/gbacktrace.c | 4 -- glib/gbase64.c | 5 -- glib/gbitlock.c | 4 -- glib/gbookmarkfile.c | 4 -- glib/gbuffer.c | 1 - glib/gcache.c | 4 -- glib/gchecksum.c | 4 -- glib/gcompletion.c | 4 -- glib/gconvert.c | 4 -- glib/gdataset.c | 4 -- glib/gdate.c | 5 -- glib/gdir.c | 4 -- glib/gerror.c | 4 -- glib/gfileutils.c | 4 -- glib/ghash.c | 4 -- glib/ghook.c | 4 -- glib/ghostutils.c | 4 -- glib/giochannel.c | 4 -- glib/giounix.c | 4 -- glib/giowin32.c | 4 -- glib/gkeyfile.c | 4 -- glib/glib.py | 5 +- glib/glib.symbols | 4 +- glib/glist.c | 4 -- glib/gmain.c | 4 -- glib/gmappedfile.c | 4 -- glib/gmarkup.c | 4 -- glib/gmem.c | 4 -- glib/gmessages.c | 16 ----- glib/gnode.c | 4 -- glib/gnulib/g-gnulib.h | 1 - glib/goption.c | 5 -- glib/gpattern.c | 4 -- glib/gpoll.c | 4 -- glib/gprimes.c | 4 -- glib/gprintf.c | 4 -- glib/gqsort.c | 4 -- glib/gqueue.c | 4 -- glib/grand.c | 5 -- glib/gregex.c | 4 -- glib/grel.c | 4 -- glib/gscanner.c | 4 -- glib/gsequence.c | 5 -- glib/gshell.c | 4 -- glib/gslice.c | 4 -- glib/gslist.c | 4 -- glib/gspawn-win32.c | 4 -- glib/gspawn.c | 4 -- glib/gstdio.c | 4 -- glib/gstrfuncs.c | 5 -- glib/gstring.c | 4 -- glib/gtestutils.c | 4 -- glib/gthread.c | 5 -- glib/gthreadpool.c | 4 -- glib/gtimer.c | 4 -- glib/gtree.c | 6 -- glib/gunibreak.c | 4 -- glib/gunicollate.c | 5 -- glib/gunidecomp.c | 4 -- glib/guniprop.c | 5 -- glib/gurifuncs.c | 4 -- glib/gutf8.c | 5 -- glib/gutils.c | 4 -- glib/gvariant-core.c | 4 -- glib/gvariant-parser.c | 5 -- glib/gvariant-serialiser.c | 4 -- glib/gvariant.c | 4 -- glib/gvarianttype.c | 4 -- glib/gvarianttypeinfo.c | 4 -- glib/gwin32.c | 4 -- glib/makefile.msc.in | 8 --- glib/makegalias.pl | 138 ----------------------------------------- glib/pcre/pcre.h | 1 - glib/pltcheck.sh | 27 -------- glib/update-pcre/memory.patch | 3 +- glib/win_iconv.c | 1 - 82 files changed, 6 insertions(+), 508 deletions(-) commit c243905c95e012eb295ee5487087043ce4a4027b Author: Ryan Lortie Date: Wed Jul 7 16:52:23 2010 -0400 .gitignore updates gio/tests/.gitignore | 17 +++++++++++------ glib/tests/.gitignore | 6 ++++++ 2 files changed, 17 insertions(+), 6 deletions(-) commit abc65b233ccb14366fbd07bbed3ee3cacd5e79ea Author: David Zeuthen Date: Wed Jul 7 16:35:17 2010 -0400 GDBus: Hide instance structures for classes we don't want to be subclassed This also allows us to nuke the priv-> pointers and save a couple of indirections. Signed-off-by: David Zeuthen gio/gdbusauthobserver.c | 21 ++- gio/gdbusauthobserver.h | 20 -- gio/gdbusconnection.c | 435 ++++++++++++++++++++++--------------------- gio/gdbusconnection.h | 21 --- gio/gdbusmessage.c | 166 +++++++++-------- gio/gdbusmessage.h | 21 --- gio/gdbusmethodinvocation.c | 81 ++++---- gio/gdbusmethodinvocation.h | 21 --- gio/gdbusserver.c | 186 +++++++++--------- gio/gdbusserver.h | 21 --- 10 files changed, 461 insertions(+), 532 deletions(-) commit 32ce3e051af4260a65478acf738e82dec6a864bd Author: Ryan Lortie Date: Wed Jul 7 16:32:46 2010 -0400 fix trivial copy/paste error in bytestring docs glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9e90c3894739bdfa642e35bdea866c6d0ab7ef2 Author: Ryan Lortie Date: Wed Jul 7 10:37:16 2010 -0400 GVariant: improve bytestring support - add G_VARIANT_TYPE_BYTESTRING, _BYTESTRING_ARRAY, _STRING_ARRAY - remove g_variant_{new,get}_byte_array functions - add g_variant_{new,get,dup}_bytestring{,_array} functions - remove undocumented support for deserialising arrays of objectpaths or signature strngs using g_variant_get_strv() - add and document new format strings '^ay', '^&ay', '^aay' and '^a&ay' - update GApplication to use the new API - update GSettings binding code to use the new API - add tests docs/reference/glib/glib-sections.txt | 9 +- docs/reference/glib/gvariant-varargs.xml | 184 +++++++++-- docs/reference/glib/tmpl/glib-unused.sgml | 40 +-- gio/gapplication.c | 32 +- gio/gsettings-mapping.c | 8 +- gio/tests/gsettings.c | 2 +- gio/tests/testapp.c | 4 +- glib/glib.symbols | 8 +- glib/gvariant-parser.c | 179 ++++++++++- glib/gvariant.c | 477 +++++++++++++++++++++-------- glib/gvariant.h | 14 +- glib/gvarianttype.h | 25 ++ glib/tests/gvariant.c | 129 ++++++-- 13 files changed, 836 insertions(+), 275 deletions(-) commit 2d2a321a4b5943d408cabe54e3da48360ae7e4ac Author: David Zeuthen Date: Wed Jul 7 15:57:37 2010 -0400 GDBus: Hide class structures for classes we don't want to be subclassed E.g. move these C structures out of public header files and into their respective C files. Also nuke padding since this is no longer needed. This leaves only GDBusProxy as an extendable type. Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 9 ++------- gio/gdbusauth.h | 4 ---- gio/gdbusauthmechanism.h | 4 ---- gio/gdbusauthmechanismanon.h | 4 ---- gio/gdbusauthmechanismexternal.h | 4 ---- gio/gdbusauthmechanismsha1.h | 4 ---- gio/gdbusauthobserver.c | 21 +++++++++++++++++++++ gio/gdbusauthobserver.h | 27 --------------------------- gio/gdbusconnection.c | 20 ++++++++++++++++++++ gio/gdbusconnection.h | 24 ------------------------ gio/gdbusmessage.c | 14 ++++++++++++++ gio/gdbusmessage.h | 17 ----------------- gio/gdbusmethodinvocation.c | 13 +++++++++++++ gio/gdbusmethodinvocation.h | 17 ----------------- gio/gdbusserver.c | 19 +++++++++++++++++++ gio/gdbusserver.h | 23 ----------------------- 16 files changed, 89 insertions(+), 135 deletions(-) commit 62a1ccf526e7b23ac39cdf7251eac5706eef3f57 Author: David Zeuthen Date: Wed Jul 7 15:00:23 2010 -0400 Bug 618882 – No way to ensure that a message is sent Add g_dbus_connection_flush{_finish,sync}(). https://bugzilla.gnome.org/show_bug.cgi?id=618882 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 3 + gio/gdbusconnection.c | 157 ++++++++++++++++++++++++++++- gio/gdbusconnection.h | 14 +++ gio/gdbusprivate.c | 81 +++++++++++++++ gio/gdbusprivate.h | 5 + gio/gio.symbols | 3 + gio/tests/Makefile.am | 4 + gio/tests/gdbus-connection-flush-helper.c | 60 +++++++++++ gio/tests/gdbus-connection.c | 82 +++++++++++++++ 9 files changed, 406 insertions(+), 3 deletions(-) commit d4f35ae9ed230ccc04b8f50067a0d0dda95b7d5f Author: Fran Diéguez Date: Wed Jul 7 18:25:19 2010 +0200 Updated Galician translations po/gl.po | 386 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 218 insertions(+), 168 deletions(-) commit acc9bb24033cdb93be6b9c00012f86ac56904cc9 Author: David Zeuthen Date: Wed Jul 7 11:02:08 2010 -0400 GDBus: Only rewrite serial number if g_dbus_message_get_serial() returns 0 While this a dangerous thing to allow (collissions, reply_serial not matching up etc.), the added flexibility makes this a good trade-off - for example, with this feature, it's now a lot easier to build message routers. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 27 ++++++++++++++++++++------- gio/tests/gdbus-connection.c | 3 +++ 2 files changed, 23 insertions(+), 7 deletions(-) commit 746721293b8963fbefd98bdba7ef0645b6940052 Author: Ryan Lortie Date: Wed Jul 7 10:56:57 2010 -0400 GSettings: warn if use the 'memory' backend but only if it was not explicitly selected. gio/gsettingsbackend.c | 4 ++++ 1 file changed, 4 insertions(+) commit 6ae4d31e75b123bcf4caf867f36cc59570a37a57 Author: Ryan Lortie Date: Wed Jul 7 10:46:13 2010 -0400 trivial GSettings docs fix docs/reference/glib/tmpl/glib-unused.sgml | 52 +++++++++++++++++++++++++++++ gio/gsettings.c | 8 ++--- 2 files changed, 56 insertions(+), 4 deletions(-) commit a38fed1b43cb688001c6343cc30022013c0ea25b Author: David Zeuthen Date: Wed Jul 7 09:50:44 2010 -0400 Bug 623538 – GDBusProxy::g-properties-changed emission for corner cases Also emit GDBusProxy::g-properties-changed when dropping (when the name owner vanishes) or populating (when loading properties) the property cache. https://bugzilla.gnome.org/show_bug.cgi?id=623538 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) commit ea0607438bfb1fb2ae7cd22757ecdb53946a00b0 Author: David Zeuthen Date: Wed Jul 7 09:05:42 2010 -0400 Bug 623537 – GDBusProxy has weird checking on NameOwnerChanged Remove misleading (and always true) check on the name that the NameOwnerChanged signal is for. https://bugzilla.gnome.org/show_bug.cgi?id=623537 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 99670eaccc05a4d5e9725614550e1da75cda45c0 Author: Matthias Clasen Date: Wed Jul 7 07:37:42 2010 -0400 Fix some errors in translated strings gettext can't handle macros, so we have to use literal format specifiers, unfortunately. gio/gdbusaddress.c | 3 ++- gio/gdbusmessage.c | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) commit bad9a3718e84549de23b56eed980f97a0b9c8b7e Author: Matthias Clasen Date: Wed Jul 7 01:00:58 2010 -0400 Clear the buffer initially gio/tests/converter-stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 46a80b38c394619300c6ff95fffb1b56115e610b Author: Matthias Clasen Date: Wed Jul 7 00:38:27 2010 -0400 Don't forget to dist keyfiletest.ini glib/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit be247379f003bbb619a71f351e53fba14eec7a15 Author: Danielle Madeley Date: Wed Jul 7 12:47:54 2010 +1000 Include sys/wait.h for WEXITSTATUS() gio/gdbusaddress.c | 1 + 1 file changed, 1 insertion(+) commit aab6d9ed1c54f215838da7939a97e33d46d94036 Author: David Zeuthen Date: Tue Jul 6 16:57:28 2010 -0400 GDBus: Handle autolaunching on UNIX/Freedesktop OSes Also add a 'address' G_DBUS_DEBUG option that will print out useful debug information such as GDBus-debug:Address: In g_dbus_address_get_for_bus_sync() for bus type `session' GDBus-debug:Address: env var DBUS_SESSION_BUS_ADDRESS is not set GDBus-debug:Address: env var DBUS_SYSTEM_BUS_ADDRESS is not set GDBus-debug:Address: env var DBUS_STARTER_BUS_TYPE is not set GDBus-debug:Address: Running `dbus-launch --autolaunch=05e508961149264c9b750a4c494aa6f7 --binary-syntax --close-stderr' to get bus address (possibly autolaunching) GDBus-debug:Address: dbus-launch output: 0000: 75 6e 69 78 3a 61 62 73 74 72 61 63 74 3d 2f 74 unix:abstract=/t 0010: 6d 70 2f 64 62 75 73 2d 77 42 41 6f 4b 59 49 52 mp/dbus-wBAoKYIR 0020: 7a 75 2c 67 75 69 64 3d 30 34 30 64 31 33 66 33 zu,guid=040d13f3 0030: 30 61 30 62 35 32 63 32 30 66 36 32 63 34 31 63 0a0b52c20f62c41c 0040: 30 30 30 30 35 30 38 64 00 d2 38 00 00 01 00 40 0000508d..8....@ 0050: 05 00 00 00 00 ..... GDBus-debug:Address: dbus-launch stderr output: 14542: Autolaunch enabled (using X11). 14542: --exit-with-session automatically enabled 14542: Connected to X11 display ':0.0' 14542: === Parent dbus-launch continues 14542: Waiting for babysitter's intermediate parent 14542: Reading address from bus 14542: Reading PID from daemon 14542: Saving x11 address 14542: Created window 88080385 14542: session file: /root/.dbus/session-bus/05e508961149264c9b750a4c494aa6f7-0 14542: dbus-launch exiting GDBus-debug:Address: Returning address `unix:abstract=/tmp/dbus-wBAoKYIRzu,guid=040d13f30a0b52c20f62c41c0000508d' for bus type `session' and GDBus-debug:Address: In g_dbus_address_get_for_bus_sync() for bus type `session' GDBus-debug:Address: env var DBUS_SESSION_BUS_ADDRESS is not set GDBus-debug:Address: env var DBUS_SYSTEM_BUS_ADDRESS is not set GDBus-debug:Address: env var DBUS_STARTER_BUS_TYPE is not set GDBus-debug:Address: Running `dbus-launch --autolaunch=05e508961149264c9b750a4c494aa6f7 --binary-syntax --close-stderr' to get bus address (possibly autolaunching) GDBus-debug:Address: dbus-launch output: 0000: 75 6e 69 78 3a 61 62 73 74 72 61 63 74 3d 2f 74 unix:abstract=/t 0010: 6d 70 2f 64 62 75 73 2d 77 42 41 6f 4b 59 49 52 mp/dbus-wBAoKYIR 0020: 7a 75 2c 67 75 69 64 3d 30 34 30 64 31 33 66 33 zu,guid=040d13f3 0030: 30 61 30 62 35 32 63 32 30 66 36 32 63 34 31 63 0a0b52c20f62c41c 0040: 30 30 30 30 35 30 38 64 00 d2 38 00 00 01 00 40 0000508d..8....@ 0050: 05 00 00 00 00 ..... GDBus-debug:Address: dbus-launch stderr output: 14549: Autolaunch enabled (using X11). 14549: --exit-with-session automatically enabled 14549: Connected to X11 display ':0.0' 14549: dbus-daemon is already running. Returning existing parameters. 14549: dbus-launch exiting GDBus-debug:Address: Returning address `unix:abstract=/tmp/dbus-wBAoKYIRzu,guid=040d13f30a0b52c20f62c41c0000508d' for bus type `session' Note that things work exactly like libdbus, e.g. from the dbus-launch(1) man page: Whenever an autolaunch occurs, the application that had to start a new bus will be in its own little world; it can effectively end up starting a whole new session if it tries to use a lot of bus services. This can be suboptimal or even totally broken, depending on the app and what it tries to do. [...] You can always avoid autolaunch by manually setting DBUS_SESSION_BUS_ADDRESS. Autolaunch happens because the default address if none is set is "autolaunch:", so if any other address is set there will be no autolaunch. You can however include autolaunch in an explicit session bus address as a fallback, for example DBUS_SESSION_BUS_ADDRESS="something:,autolaunch:" - in that case if the first address doesn't work, processes will autolaunch. (The bus address variable contains a comma-separated list of addresses to try.) Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 4 + gio/gdbusaddress.c | 255 ++++++++++++++++++++++++++++++++++++--- gio/gdbusconnection.c | 20 +-- gio/gdbusmessage.c | 21 +--- gio/gdbusprivate.c | 52 ++++++++ gio/gdbusprivate.h | 6 + 6 files changed, 310 insertions(+), 48 deletions(-) commit ef296440630ca01a8bc0a9dc58722bf1d6dc1ab7 Author: David Zeuthen Date: Tue Jul 6 13:56:35 2010 -0400 GDBus: Properly handle empty address strings Changes this error DBUS_SESSION_BUS_ADDRESS= \ gdbus introspect --session \ --dest org.freedesktop.DBus \ --object-path /org/freedesktop/DBus ** GLib-GIO:ERROR:gdbusaddress.c:913:g_dbus_address_get_stream_sync: assertion failed: (last_error != NULL) Aborted (core dumped) to DBUS_SESSION_BUS_ADDRESS= \ gdbus introspect --session \ --dest org.freedesktop.DBus \ --object-path /org/freedesktop/DBus Error connecting: The given address is empty which is much more preferable. Signed-off-by: David Zeuthen gio/gdbusaddress.c | 13 ++++++++++++- gio/tests/gdbus-addresses.c | 14 ++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) commit f0b6cbb13951549b9e17ee0366fc5be3e4b69f2f Author: Matthias Clasen Date: Tue Jul 6 07:43:19 2010 -0400 Fix problems with the keyfile test We must set XDG_DATA_HOME early on, and we must clear error before using it. glib/tests/keyfile.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit eea9d343ccd059b8d53009d64197ff343338c05f Author: Matthias Clasen Date: Tue Jul 6 00:01:40 2010 -0400 Improve keyfile test coverage glib/tests/keyfile.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit ee89ed241c5b386bf8d846f4496e46059d0a686b Author: Matthias Clasen Date: Tue Jul 6 00:01:15 2010 -0400 Define SRCDIR glib/tests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a3bda1acfc5f3e8f4f672cc81f388ffabf1e7b58 Author: Matthias Clasen Date: Mon Jul 5 23:43:47 2010 -0400 Add some GDir tests glib/tests/Makefile.am | 3 +++ glib/tests/dir.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) commit c5fcd21e33282676f9bfbaa71ca5fb7d54e30057 Author: Matthias Clasen Date: Mon Jul 5 23:30:10 2010 -0400 Improve uri test coverage glib/tests/uri.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit b720732059eec5d87d86d784f25c57a2132475a2 Author: Matthias Clasen Date: Mon Jul 5 23:06:50 2010 -0400 Move uri tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/uri.c | 333 +++++++++++++++++++++++++++++++++ tests/Makefile.am | 4 +- tests/uri-test.c | 477 ------------------------------------------------ 4 files changed, 337 insertions(+), 480 deletions(-) commit 123ba622d3511509f7cce9459ab48db8a0d28c3d Author: Matthias Clasen Date: Mon Jul 5 22:40:46 2010 -0400 Add more list tests glib/tests/list.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/tests/slist.c | 122 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 264 insertions(+) commit 953962d783e46c8aa17301ec733fa54483e3fab7 Author: Matthias Clasen Date: Mon Jul 5 22:40:26 2010 -0400 Move tree tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/tree.c | 286 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/tree-test.c | 246 ----------------------------------------- 4 files changed, 289 insertions(+), 248 deletions(-) commit 5123bc69e75418c9192a94d802fca76b18444233 Author: Matthias Clasen Date: Mon Jul 5 21:06:28 2010 -0400 Move slist tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/slist.c | 179 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 3 - tests/slist-test.c | 204 ------------------------------------------------ 4 files changed, 182 insertions(+), 207 deletions(-) commit b61fd45ac3305ec20b156bbeeed5494b9a445c8a Author: Matthias Clasen Date: Mon Jul 5 20:51:29 2010 -0400 Move list tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/list.c | 179 ++++++++++++++++++++++++++++++++++++++++ tests/list-test.c | 212 ------------------------------------------------ 3 files changed, 182 insertions(+), 212 deletions(-) commit c2997efb6688255c885f4bf1f4248bee2c8f6e11 Author: Matthias Clasen Date: Mon Jul 5 19:49:03 2010 -0400 Add some more checks to the binding tests gobject/tests/binding.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 4e97c96654d2c0f637ea20b22f0d70aa12c7cfab Author: Matthias Clasen Date: Mon Jul 5 19:48:04 2010 -0400 Remove a redundant branch Since the name has been interned already at pspec creation time, we can just call g_intern_string(). gobject/gbinding.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit af299df44e067b949a039c56b5081558288f41aa Author: Matthias Clasen Date: Mon Jul 5 19:45:55 2010 -0400 Remove cases of ;; gio/gdbusauthobserver.c | 2 +- gio/gdbusmessage.c | 2 +- glib/gshell.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit fb0242240495772bbb1a8ef2b88cacb60b090242 Author: Matthias Clasen Date: Mon Jul 5 19:33:05 2010 -0400 Test charset conversion with fallbacks gio/tests/converter-stream.c | 51 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 7 deletions(-) commit 05a865344ba1f9a14524d87e2ab2a1cb4fdbc9cb Author: Matthias Clasen Date: Mon Jul 5 15:54:11 2010 -0400 Fix the get_property implementation for GSettings::schema gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20dca5935c186654e8e13904d2c5c67a9622ec8e Author: Matthias Clasen Date: Mon Jul 5 15:53:58 2010 -0400 Add several more settings tests gio/tests/gsettings.c | 234 +++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 23 ++++ 2 files changed, 255 insertions(+), 2 deletions(-) commit 958f15013c29e0f8313a9eb7e2e75efa324c484c Author: Matthias Clasen Date: Mon Jul 5 15:53:21 2010 -0400 Small documentation addition gio/gsettingsbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6e8d0ada84185f807b8101cada91030bd91e48a Author: Matthias Clasen Date: Mon Jul 5 12:08:29 2010 -0400 Fix icons test to compile gio/tests/icons.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 81a0a268133ba5cb58a4e7893d4eaf039bc21b4c Author: Matthias Clasen Date: Mon Jul 5 12:08:17 2010 -0400 Test enum mapping gio/tests/gsettings.c | 47 +++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 +++ 2 files changed, 49 insertions(+), 1 deletion(-) commit 2764b75d5373d03b46d04fdfa3cc64becf274294 Author: Matthias Clasen Date: Mon Jul 5 11:38:31 2010 -0400 More stream tests gio/tests/buffered-input-stream.c | 35 +++++++++++++++++++++++++++++++++++ gio/tests/buffered-output-stream.c | 35 +++++++++++++++++++++++++++++++++++ gio/tests/converter-stream.c | 2 ++ 3 files changed, 72 insertions(+) commit 10b2606af5c350c30bbd52977b688d8a2dd106b4 Author: Matthias Clasen Date: Mon Jul 5 11:13:36 2010 -0400 Add more checks gio/tests/buffered-input-stream.c | 105 +++++++++++++++++++++++++++++-------- 1 file changed, 82 insertions(+), 23 deletions(-) commit aec652677bed2d82201b0234e04e95f164e20770 Author: Matthias Clasen Date: Mon Jul 5 11:12:49 2010 -0400 Add some buffered output tests gio/tests/Makefile.am | 4 ++ gio/tests/buffered-output-stream.c | 86 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) commit 4ab9b708c0d8c901a2e4137c9ac03fc2414336af Author: Matthias Clasen Date: Mon Jul 5 08:28:54 2010 -0400 Add some more tests for the buffered read code gio/tests/buffered-input-stream.c | 46 ++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) commit 1ba87d1a0e8a6377d3f49731e8412fedfc7a8725 Author: Matthias Clasen Date: Mon Jul 5 07:40:38 2010 -0400 Trivial cleanups gio/gbufferedinputstream.c | 585 ++++++++++++++++++++++---------------------- 1 file changed, 299 insertions(+), 286 deletions(-) commit 48881bad99807381afcb55137eced4d7c50ac5a7 Author: Ryan Lortie Date: Mon Jul 5 13:10:28 2010 -0400 Add --disable-Bsymbolic flag configure.in | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit dea042b85514f997df0f77006cdcca063486097b Author: Matthias Clasen Date: Mon Jul 5 03:09:36 2010 -0400 Misc test additions gio/tests/Makefile.am | 7 ++++ gio/tests/appinfo.c | 27 +++++++++++++-- gio/tests/contenttype.c | 4 +++ gio/tests/file.c | 64 ++++++++++++++++++++++++++++++++++++ gio/tests/gsettings.c | 56 +++++++++++++++++++++++++++++++ gio/tests/live-g-file.c | 9 +++++ gio/tests/org.gtk.test.gschema.xml | 3 ++ 7 files changed, 168 insertions(+), 2 deletions(-) commit 211210c1ce15e19e424d12b14ab79f8dfb0379d4 Author: Matthias Clasen Date: Mon Jul 5 02:36:48 2010 -0400 Fix a typo gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c53c701e53afcd15cadc7d727ceea303b915dd44 Author: Matthias Clasen Date: Mon Jul 5 00:56:12 2010 -0400 Cleanups gio/gcontenttype.c | 674 ++++++++++++++++++++------------------- gio/gcontenttype.h | 36 +-- gio/tests/appinfo-test2.desktop | 11 + 3 files changed, 372 insertions(+), 349 deletions(-) commit f90eb144d404c76180ba7facf32b4c9751aed4b5 Author: Matthias Clasen Date: Sun Jul 4 23:42:07 2010 -0400 Add some more tests gio/tests/contenttype.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 74fbd3296d259b04e4fe17e4ebd358827ae07e1f Author: Matthias Clasen Date: Sun Jul 4 23:41:40 2010 -0400 Add some GAppLaunchContext tests gio/tests/appinfo.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit c915c68b6be1cdd21ec79b4a1f715d38976cdd86 Author: Matthias Clasen Date: Sun Jul 4 23:40:42 2010 -0400 Add the new tests to the correct variable gio/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 14db75381ee7f21f6b62401177cfaa9d6891ddf4 Author: Matthias Clasen Date: Sun Jul 4 22:27:01 2010 -0400 Add some contenttype tests gio/tests/Makefile.am | 4 ++ gio/tests/contenttype.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) commit fb120b5d8717f9798be28cdc7bab768f7ca0309a Author: Matthias Clasen Date: Sun Jul 4 20:50:50 2010 -0400 Add a test for skipping gio/tests/buffered-input-stream.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 9788c4c7e6a9eaa8f7d7a999d201767470a75d85 Author: Matthias Clasen Date: Sun Jul 4 20:49:29 2010 -0400 Add some CharsetConverter tests gio/tests/converter-stream.c | 56 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 4 deletions(-) commit 26e29cb360e81e4530c218a6ddea339759f078bd Author: Matthias Clasen Date: Sat Jul 3 13:43:25 2010 -0400 Move charset conversion tests to the test framework glib/tests/Makefile.am | 23 +- glib/tests/convert.c | 664 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 2 - tests/convert-test.c | 662 ----------------------------------------------- 4 files changed, 677 insertions(+), 674 deletions(-) commit 401fa10445e092e4f1d7e29dd2af128012d32981 Author: Matthias Clasen Date: Sat Jul 3 12:49:46 2010 -0400 Add some more appinfo tests gio/tests/appinfo-test-gnome.desktop | 6 ++ gio/tests/appinfo-test-notgnome.desktop | 6 ++ gio/tests/appinfo-test.desktop | 8 +- gio/tests/appinfo.c | 129 +++++++++++++++++++++++++++++++ 4 files changed, 148 insertions(+), 1 deletion(-) commit 7a5df4265d444f0a4b0687bed63d6adf3b143953 Author: Jorge González Date: Sun Jul 4 13:49:55 2010 +0200 Updated Spanish translation po/es.po | 60 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 29 deletions(-) commit 7cc15910bec9b652ef9610a8c9cc9d96c2185936 Author: Jorge González Date: Sat Jul 3 13:48:56 2010 +0200 Updated Spanish translation po/es.po | 133 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 74 insertions(+), 59 deletions(-) commit 9fd133946059c315eeb4a445c1f46dd636b33106 Author: Matthias Clasen Date: Sat Jul 3 03:31:24 2010 -0400 Move GZlibConverter tests gio/tests/converter-stream.c | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) commit aaba9276f7cceca9f6493b5a4a7f81e4f9fa75a5 Author: Matthias Clasen Date: Sat Jul 3 03:31:07 2010 -0400 Add tests for GIcon gio/tests/Makefile.am | 4 ++ gio/tests/icons.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) commit 37c4fcb36abedfd7896ef70eaec75bba33a0331f Author: David Zeuthen Date: Fri Jul 2 17:09:55 2010 -0400 GDBus: Rename "Introspection XML" section to "D-Bus Introspection Data" Signed-off-by: David Zeuthen gio/gdbusintrospection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a16128655fed37a3975fdb8ea0d31ef0fa29e882 Author: Ryan Lortie Date: Fri Jul 2 11:35:43 2010 -0400 Bug 623407 - g_keyfile_settings_backend_new crash The keyfile backend forms paths like this: prefix + group_name + '/' + keyname If the prefix is '/apps/yelp/' and the group name is '/' then this means that we end up with a key name of (for example): '/apps/yelp/' + '/' + '/' + 'font-adjustment' = '/apps/yelp///font-adjustment' which is obviously not a valid key name. This patch rejects group names starting or ending with '/' or containing '//' and also rejects keys containing '/'. This should make it impossible for invalid keys to be formed. gio/gkeyfilesettingsbackend.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit a941660873ad4db42f1799e444d46d95721af840 Author: Ryan Lortie Date: Fri Jul 2 11:14:28 2010 -0400 Bug 623402 - schema compiler reports wrong line Don't reuse the GMarkupParseContext in order to avoid inaccurate line number reports. Fix a memory leak, too. gio/gschema-compile.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 7a44a2d223f3ad8c6e142b94725ab55cf3f84173 Author: Ryan Lortie Date: Fri Jul 2 11:11:45 2010 -0400 Bug 623401 - schema compiler: process enums first Process *.enum.xml before any *.gschema.xml files to ensure that all enums have been defined. gio/gschema-compile.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 1ca6a4687a9b66e0060f16583ac21ef94f24a38e Author: David Zeuthen Date: Fri Jul 2 09:40:59 2010 -0400 GDBus: Hold lock when printing debug messages Signed-off-by: David Zeuthen gio/gdbusauth.c | 4 ++++ 1 file changed, 4 insertions(+) commit c29ad239284608c2a03043f9dc16f3ca1a28542e Author: David Zeuthen Date: Fri Jul 2 09:34:03 2010 -0400 GDBus: make G_DBUS_DEBUG=authentication work again This was inadvertently removed in this commit http://git.gnome.org/browse/glib/commit/?id=1d22b64843c83631bcd0e5255930f3a4e990961e Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 2 +- gio/gdbusauth.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) commit cd8361f4ddd0e88fb7e3941a0d0fd12fe538c093 Author: Tor Lillqvist Date: Fri Jul 2 15:31:24 2010 +0300 Update headers being installed in the Visual Studio project It sucks to have the lists of public headers duplicated in the Makefile.am files and the glib.vsprops file. But it isn't exactly easy to work around all the weirdness in autotools, Visual Studio, and bat files either to do it another way. build/win32/vs9/glib.vsprops | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 5383c7110f793bfa749370cec9d708a6a5018751 Author: Ryan Lortie Date: Thu Jul 1 18:58:56 2010 -0400 Bug 622124 - implement flags for GSettings Add a tag to the schema file format and a flags='' attribute to go along with. Add some extra test cases for those. Add new g_settings_{get,set}_flags() calls and support binding to GParamSpecFlags properties. Add test cases. docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gschema-compile.c | 161 ++++++++++++---- gio/gsettings-mapping.c | 65 ++++++- gio/gsettings.c | 194 +++++++++++++++++++- gio/gsettings.h | 5 + gio/strinfo.c | 8 + gio/tests/Makefile.am | 7 + gio/tests/gschema-compile.c | 11 +- gio/tests/gsettings.c | 80 +++++++- gio/tests/org.gtk.test.gschema.xml | 9 + .../enum-with-repeated-nick.gschema.xml | 10 + .../enum-with-repeated-value.gschema.xml | 10 + .../schema-tests/flags-aliased-default.gschema.xml | 19 ++ .../schema-tests/flags-bad-default.gschema.xml | 16 ++ .../flags-more-than-one-bit.gschema.xml | 10 + .../schema-tests/flags-with-enum-attr.gschema.xml | 14 ++ .../schema-tests/flags-with-enum-tag.gschema.xml | 14 ++ gio/tests/testenum.h | 9 + 19 files changed, 594 insertions(+), 52 deletions(-) commit 69fe50c116541afbfeaf9ad78b030f53e9906604 Author: Jorge González Date: Thu Jul 1 21:39:37 2010 +0200 Updated Spanish translation po/es.po | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit bd8d837f573a784a234740bd49f9103cdf70c268 Author: David Zeuthen Date: Thu Jul 1 14:37:16 2010 -0400 Bug 620913 – More control with G_DBUS_DEBUG This commit adds the following G_DBUS_DEBUG flags - emission - incoming - call - signal - payload https://bugzilla.gnome.org/show_bug.cgi?id=620913 Signed-off-by: David Zeuthen docs/reference/gio/overview.xml | 20 ++++++ gio/gdbusconnection.c | 141 +++++++++++++++++++++++++++++++++++++-- gio/gdbusprivate.c | 86 ++++++++++++++++++++++-- gio/gdbusprivate.h | 7 ++ 4 files changed, 242 insertions(+), 12 deletions(-) commit 51ed44e7add7ca1d3b764f13df2cf80ebe32c3f9 Author: David Zeuthen Date: Thu Jul 1 13:06:56 2010 -0400 GDBus: Fix bug in child enumeration Signed-off-by: David Zeuthen gio/gdbusconnection.c | 3 +-- gio/tests/gdbus-export.c | 28 +++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) commit 93bf09a9e7a7d35d50802faf4b271ca4267e49cb Author: Ryan Lortie Date: Thu Jul 1 12:55:04 2010 -0400 Use "unix:" instead of tcp in test for now... Temporarily avoids the issue reported in bug #623306. gio/tests/gdbus-peer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21d7ce97c38bafa1fdbedc19fe9634bc3333e7c6 Author: David Zeuthen Date: Wed Jun 30 16:36:47 2010 -0400 GDBus: plug some memory leaks These fixes makes udisks-daemon from udisks' gdbus-port branch, see http://cgit.freedesktop.org/udisks/log/?h=gdbus-port handle 200 add/remove uevents generated by e.g. #!/bin/bash DEV=mmcblk0p1 for n in `seq 200` ; do udevadm trigger --sysname-match=$DEV --action=remove udevadm trigger --sysname-match=$DEV --action=add echo foo $n done without any substantial leaks. Signed-off-by: David Zeuthen gio/gdbusauth.c | 14 +++++++++----- gio/gdbusmessage.c | 52 +++++++++++++++++++++++++++++++++++++--------------- gio/gdbusprivate.c | 1 + 3 files changed, 47 insertions(+), 20 deletions(-) commit 40d5da99d6d07bdbb6267f6b5625ac2ca93e85ea Author: Ryan Lortie Date: Wed Jun 30 13:27:38 2010 -0400 GSettings: accept as an alias for until we have proper support for flags... gio/gschema-compile.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit e73b631f6eb8d2f1ff9c65fe2c258dc2b6083c73 Author: Ryan Lortie Date: Wed Jun 30 13:12:19 2010 -0400 gsettings.m4: add support for enums m4macros/gsettings.m4 | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 87fa3a6e75132f68edfbd457632332c52c2048ba Author: David Zeuthen Date: Wed Jun 30 12:19:28 2010 -0400 GDBus: Take a reference to the GDBusInterfaceInfo object Things will still work fine if the GDBusInterfaceInfo is allocated statically because if so the ref_count will be -1. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 4 +++- gio/tests/gdbus-peer.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit 5ac272297584d2c1f73815e842108b6704f862a9 Author: David Zeuthen Date: Wed Jun 30 12:10:00 2010 -0400 GDBus: Rename `introspection_data' parameter to `interface_info' Signed-off-by: David Zeuthen gio/gdbusconnection.c | 64 ++++++++++++++++++++++++------------------------- gio/gdbusconnection.h | 2 +- 2 files changed, 33 insertions(+), 33 deletions(-) commit 038d03cd08bdb42e6f83f6041ec01732476e900b Author: David Zeuthen Date: Wed Jun 30 11:43:42 2010 -0400 Bug 623142 – Ensure ::new-connection runs before processing D-Bus messages Without this guarantee, peer-to-peer connections are not very useful. However, with this guarantee it's possible to export objects in a handler for the GDBusServer::new-connection signal. There are two caveats with this patch - it won't work on message bus connections - we don't queue up messages to be written that can be addresses later if needed. https://bugzilla.gnome.org/show_bug.cgi?id=623142 Signed-off-by: David Zeuthen docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 30 +++++- gio/gdbusconnection.h | 1 + gio/gdbusprivate.c | 84 +++++++++++++++- gio/gdbusprivate.h | 4 + gio/gdbusserver.c | 11 ++- gio/gio.symbols | 1 + gio/gioenums.h | 5 +- gio/tests/gdbus-peer.c | 187 +++++++++++++++++++++++++++++++++++ 9 files changed, 316 insertions(+), 8 deletions(-) commit 137ae2413c9d25edd3f886fd25b6353c8170f7ba Author: Ryan Lortie Date: Wed Jun 30 10:02:45 2010 -0400 g_settings_list_keys() -> _list_items() This function returns children as well. docs/reference/gio/gio-sections.txt | 2 +- gio/gio.symbols | 2 +- gio/gsettings-tool.c | 4 ++-- gio/gsettings.c | 12 ++++++++---- gio/gsettings.h | 2 +- 5 files changed, 13 insertions(+), 9 deletions(-) commit 3628b0b4992e9d1c915c38f8844eab9ba7a7112f Author: Ryan Lortie Date: Tue Jun 29 20:24:39 2010 -0400 GSettings: add , tests, modify output Add tag, more tests, and actually output the results of these new tags to the gschemas.compiled file. gio/gschema-compile.c | 149 ++++++++++++++++++-- gio/tests/Makefile.am | 8 ++ gio/tests/gschema-compile.c | 10 +- .../extend-and-shadow-indirect.gschema.xml | 17 +++ .../schema-tests/extend-and-shadow.gschema.xml | 17 +++ .../schema-tests/override-missing.gschema.xml | 11 ++ .../schema-tests/override-range-error.gschema.xml | 12 ++ .../schema-tests/override-then-key.gschema.xml | 15 ++ gio/tests/schema-tests/override-twice.gschema.xml | 12 ++ .../schema-tests/override-type-error.gschema.xml | 11 ++ gio/tests/schema-tests/override.gschema.xml | 34 +++++ 11 files changed, 284 insertions(+), 12 deletions(-) commit 900a756e8fb70bcd6e725f0696d8094a7208f905 Author: Ryan Lortie Date: Tue Jun 29 14:41:04 2010 -0400 GSettings: new tags 'extends', 'list-of' Add support for extends='' and list-of='' tags to the element. The attributes are parsed and some sanity-checking is done but currently nothing happens as a result. Add some tests. gio/gschema-compile.c | 124 ++++++++++++++++++-- gio/tests/Makefile.am | 10 +- gio/tests/gschema-compile.c | 11 +- gio/tests/schema-tests/extend-missing.gschema.xml | 3 + gio/tests/schema-tests/extend-nonlist.gschema.xml | 4 + gio/tests/schema-tests/extend-self.gschema.xml | 3 + .../extend-wrong-list-indirect.gschema.xml | 6 + .../schema-tests/extend-wrong-list.gschema.xml | 5 + gio/tests/schema-tests/extending.gschema.xml | 21 ++++ .../schema-tests/key-in-list-indirect.gschema.xml | 8 ++ gio/tests/schema-tests/key-in-list.gschema.xml | 6 + gio/tests/schema-tests/list-of-missing.gschema.xml | 3 + 12 files changed, 192 insertions(+), 12 deletions(-) commit 101bfec676feb2c3d414fff11a31541318d87896 Author: Ryan Lortie Date: Tue Jun 29 14:40:44 2010 -0400 glib-compile-schemas: fix small leak gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d4ade4cf0d6ed64ce59f3db4f270be08a4478fd Author: David Zeuthen Date: Tue Jun 29 15:19:56 2010 -0400 Bug 623143 – Never require non-closed connections There's a couple of places in GDBus where it's a programming error (e.g. we'll assert or spew via e.g. g_warning()) to use the API on a closed connection. This approach can never work since a GDBusConnection can be closed at any point in time outside of programmer control. Just change the code to return a run-time error (e.g. return G_IO_ERROR_CLOSED when sending messages, invoking methods) or silently accept the request (e.g. exporting objects, registering for signals) without doing anything. Note that a GDBusConnection object is always useless after being closed - e.g. there's no way to "reopen" a connection - the user will have to create a new object and use that instead. https://bugzilla.gnome.org/show_bug.cgi?id=623143 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 5 ----- gio/gdbusnameowning.c | 5 ++--- gio/gdbusnamewatching.c | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) commit ab6b6c68c5b060057fd2953435c090b4d53fe93c Author: Milan Bouchet-Valat Date: Mon Jun 21 17:09:07 2010 +0200 Bug 622294 - More annotations for GVariant This adds annotations to all functions in gvariant.c. A few docs were also fixed (wrong parameter names, missing mention that NULL is allowed). glib/gvariant.c | 69 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 30 deletions(-) commit 0a2c9d67da311d8e276dd3835db56c59d8be2cab Author: Colin Walters Date: Mon Jun 28 17:16:44 2010 -0400 [autogen.sh] Support NOCONFIGURE (from gnome-common) gnome-common's autogen.sh uses NOCONFIGURE to skip running configure. Support that in addition to the current AUTOGEN_SUBDIR_MODE. autogen.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit c649615f17dc9d9644d742c48bf34c9000aa41b7 Author: Jorge González Date: Mon Jun 28 20:57:31 2010 +0200 Updated Spanish translation po/es.po | 220 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 120 insertions(+), 100 deletions(-) commit 8a7d9906983c23c9bafa8b10c1fd089fcd7989f8 Author: Ryan Lortie Date: Mon Jun 28 14:06:32 2010 -0400 Bug 622565 - compile-schemas fails when no schemas Neutralise and deprecate the --uninstall option in the schema compiler and remove it from gsettings.m4. Make the new default behaviour a compromise between the old default behaviour and the previous --uninstall option: - never return a failure code if no schema files are found - issue a warning instead - remove the gschemas.compiled file if it exists gio/gschema-compile.c | 19 +++++++++---------- m4macros/gsettings.m4 | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) commit ab1111b8bbb7a6057248658013eb23d80f4721cf Author: Ryan Lortie Date: Mon Jun 28 13:58:25 2010 -0400 GSettings: peek instead of ref/unref enum class We only ever do the enum mapping for the property binding in the case that a GParamSpecEnum exists and in that case the class is already referenced by the GParamSpec. Use peek instead of ref/unref and add a clarifying note. gio/gsettings-mapping.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 168cfc592283c992d6a6803a91528f87cec2d902 Author: Ryan Lortie Date: Mon Jun 28 10:18:45 2010 -0400 Bug 622127 - GSettings extended key validation First shot at attempting to implement this in a reasonable way. See the bug for more information about why this is needed. docs/reference/gio/gio-sections.txt | 4 ++ gio/gio.symbols | 1 + gio/gsettings.c | 83 ++++++++++++++++++++++++++++++++++- gio/gsettings.h | 27 ++++++++++++ 4 files changed, 114 insertions(+), 1 deletion(-) commit aad7176c622b78dbdef5c8d1e0fa51b9612198ad Author: Yaron Shahrabani Date: Mon Jun 28 12:28:47 2010 +0300 Updated Hebrew translation. po/he.po | 1280 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 657 insertions(+), 623 deletions(-) commit eb454a1cb4d8ea16f6b5575c69e58c2877ea350e Author: Matthias Clasen Date: Sun Jun 27 19:27:04 2010 -0400 Fix a alloc/free mismatch Pointed out in http://bugzilla.redhat.com/show_bug.cgi?id=608453 by David Tardon. glib/gbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d20969e07b8cc0233536cf929db0107b2c21c53e Author: Matthias Clasen Date: Sun Jun 27 16:31:53 2010 -0400 Filter out child schema entries when listing keys gio/gsettings-tool.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 025435329a7159a906a66f6b15facc2d611be4fb Author: Matthias Clasen Date: Sun Jun 27 16:00:20 2010 -0400 Implement bash completion for gsettings gio/Makefile.am | 4 +- gio/gsettings-bash-completion.sh | 33 +++ gio/gsettings-tool.c | 498 ++++++++++++++++++++++++++++++++------ 3 files changed, 455 insertions(+), 80 deletions(-) commit 795d2bf8cf13d03214af3eb857d235c2917f9945 Author: Ryan Lortie Date: Sun Jun 27 10:11:45 2010 -0400 GSettings: Don't free value before using its type Fix a bug where the type from g_variant_get_type() was used after freeing the variant. This works for base types (since they are cached and live forever) but not for arrays (where the bug was first seen). gio/gsettings-tool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 87fd38bc4dd095d598ec375dbecb40d1393c3f8b Author: Kristian Rietveld Date: Sat Jun 26 22:55:47 2010 +0200 Add PCRE_EXP_DECL to pcre_callout declaration Fixes build on Mac OS X. glib/pcre/pcre.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 840c5dd0da885fc42e498f165d59a5d0b4b97af2 Author: Jorge González Date: Sat Jun 26 10:14:52 2010 +0200 Updated Spanish translation po/es.po | 1297 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 670 insertions(+), 627 deletions(-) commit 7cdc592ae478b71a66aa1541b81588b5b200e5f2 Author: Ryan Lortie Date: Fri Jun 25 10:52:32 2010 -0400 Bug 622128 - retry with default for failed mapping Hold the GSettingsKeyInfo as part of the binding structure to save work on each get/set. Use our copy of this structure to call the internal get/set APIs. Give more descriptive error messages in the case of invalid data on sets and retry using the translated default then schema default value in case of failure to map on reads. gio/gsettings.c | 137 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 85 insertions(+), 52 deletions(-) commit 499ece9b52ec18e7a0ab5c9cda6b0b82946a8c7e Author: Colin Walters Date: Wed Jun 16 22:44:58 2010 -0400 [gbinding] Move argument reference out of first column It makes gobject-introspection complain. gobject/gbinding.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1ad08a6a9fc5bf700de31c928d4fc7031bd8fd19 Author: Dan Winship Date: Thu Jun 24 14:23:37 2010 -0400 Hack up glib/tests/array-test to not actually malloc 2G Fixes the test on machines where that allocation takes very long. https://bugzilla.gnome.org/show_bug.cgi?id=610784 glib/tests/array-test.c | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) commit 48f3f262639b473c9be168d0491bedd357bcbca7 Author: Ryan Lortie Date: Thu Jun 24 13:32:26 2010 -0400 version.bump() configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc295f09768d10576deba929ab8b7bc766cd207f Author: Ryan Lortie Date: Thu Jun 24 13:18:44 2010 -0400 Release glib 2.25.10 NEWS | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) commit de0464cf891c386b0166066ac797255cd973b6e2 Author: Ryan Lortie Date: Thu Jun 24 12:25:48 2010 -0400 Tweak GSettings key/schema listing APIs docs/reference/gio/gio-sections.txt | 4 +- gio/gio.symbols | 2 +- gio/gsettings.c | 12 ++--- gio/gsettings.h | 4 +- gio/gsettingsschema.c | 89 +++++++++++++++++++++++++---------- 5 files changed, 75 insertions(+), 36 deletions(-) commit e3d0d07b043334890deaf30d5b1e5072c9c7e742 Author: Ryan Lortie Date: Thu Jun 24 02:28:01 2010 -0400 Clarify GSettings documentation wrt errors Make it clear about exactly what "@key is valid" means. gio/gsettings.c | 73 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) commit 887d9d83aa232058b8446eafb7f0681db4219a77 Author: Ryan Lortie Date: Thu Jun 24 02:21:58 2010 -0400 g_keyfile_settings_backend_new doc improvement gio/gkeyfilesettingsbackend.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 123699465d2d07c18823f41dfc6a48dd7cefc603 Author: Ryan Lortie Date: Thu Jun 24 02:15:15 2010 -0400 GSettings: add g_settings_list_keys() Second half of bug #622554. docs/reference/gio/gio-sections.txt | 2 ++ gio/gio.symbols | 1 + gio/gsettings.c | 33 ++++++++++++++++++++++++++++++++- gio/gsettings.h | 1 + 4 files changed, 36 insertions(+), 1 deletion(-) commit 6218d8047a9f073dc9e6eab009d70dc7933c5fd7 Author: Ryan Lortie Date: Thu Jun 24 01:49:27 2010 -0400 Add g_settings_schema_exists Solves half of #622554. gio/gio.symbols | 4 ++++ gio/gsettings.h | 1 + gio/gsettingsschema.c | 25 +++++++++++++++++++++++++ 3 files changed, 30 insertions(+) commit 726e4dd6e7e12800db90a5159f5cb6fc3509e9e7 Author: Ryan Lortie Date: Thu Jun 24 01:49:00 2010 -0400 KeyfileSettingsBackend: fix symbol visibility leak gio/gkeyfilesettingsbackend.c | 1 + 1 file changed, 1 insertion(+) commit 65fc931fb9df391a8a7ff8e279820fd2fed04bc0 Author: Ryan Lortie Date: Tue Jun 22 08:12:04 2010 -0400 Rework the GSettings keyfile backend docs/reference/gio/gio-sections.txt | 1 + gio/Makefile.am | 1 - gio/gkeyfilesettingsbackend.c | 811 ++++++++++++++++++++--------------- gio/gkeyfilesettingsbackend.h | 71 --- gio/gsettingsbackend.h | 4 +- gio/tests/gsettings.c | 6 +- 6 files changed, 475 insertions(+), 419 deletions(-) commit 6d828dae3804af311ffa8387a4e74bc28024351b Author: Ryan Lortie Date: Thu Jun 24 00:55:14 2010 -0400 GSettingsBackend: some debug code gio/gsettingsbackend.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit b638a675a8dae242347a721837c0b6c24e953665 Author: Ryan Lortie Date: Thu Jun 24 00:41:05 2010 -0400 Ignore more glib test cases glib/tests/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) commit 519edcc2b3fd23fc29b38b581480adf39dd93451 Author: Ryan Lortie Date: Thu Jun 24 00:36:42 2010 -0400 fix leaks in the GSettings test case gio/tests/gsettings.c | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) commit fb94e65a640d21b2e1a5c6e79eb3d755ba34c0e6 Author: Ryan Lortie Date: Thu Jun 24 00:35:10 2010 -0400 GChecksum: accept NULL pointer with length 0 Several GChecksum functions were incorrectly aborting when passed a NULL data pointer, even if the length parameter was equal to zero. glib/gchecksum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f76c4d062966afdcdf5306f4c769a7ab0934e843 Author: Ryan Lortie Date: Thu Jun 24 00:38:01 2010 -0400 GSettings "delayed": don't leak unapplied keys GDelayedSettingsBackend was leaking the GTree holding the list of unapplied keys on finalize. gio/gdelayedsettingsbackend.c | 1 + 1 file changed, 1 insertion(+) commit 17bc9bf94f2a11ce553d784e55649b43f3ed0130 Author: Matthias Clasen Date: Wed Jun 23 22:32:35 2010 -0400 Deprecate some rarely-used APIS GRelation and GCompletion are almost never used, and not very actively maintained. Mark them as deprecated to make this clear. Bug #551271. glib/gcompletion.c | 25 ++++++++++++++++++++++++- glib/gcompletion.h | 4 ++++ glib/grel.c | 35 ++++++++++++++++++++++++++++++++++- glib/grel.h | 4 ++++ 4 files changed, 66 insertions(+), 2 deletions(-) commit 272836936e76a9bf0a0237e6489ce0508fa85534 Author: Christian Dywan Date: Fri Jun 18 16:14:27 2010 +0200 Introduce G_PARAM_DEPRECATED and G_ENABLE_DIAGNOSTIC See https://bugzilla.gnome.org/show_bug.cgi?id=601686 gobject/gobject.c | 16 ++++++++++++++++ gobject/gparam.h | 11 ++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) commit f587cb57f249a8f4b869231ca20f5f19602a20ec Author: Emmanuele Bassi Date: Mon Jun 21 12:26:42 2010 +0100 binding: Add SYNC_CREATE to the flags When creating a binding between two object properties we might want to automatically synchronize the two values at the moment of the binding creation, instead of waiting for the next change. The G_BINDING_SYNC_CREATE flag does exactly what it says on the tin. https://bugzilla.gnome.org/show_bug.cgi?id=622281 gobject/gbinding.c | 9 +++++++++ gobject/gbinding.h | 6 +++++- gobject/tests/binding.c | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) commit d3af9c0ec59465e4076791881bc89fe51539f3fd Author: Ryan Lortie Date: Wed Jun 23 10:12:14 2010 -0400 neutralise pltcheck.sh gio/pltcheck.sh | 2 ++ glib/pltcheck.sh | 2 ++ gobject/pltcheck.sh | 2 ++ 3 files changed, 6 insertions(+) commit 13ac216ca386715a915ec8acd8178c528774273a Author: Matthias Clasen Date: Wed Jun 23 09:03:51 2010 -0400 GIO doc cleanups docs/reference/gio/Makefile.am | 18 ++++++++++++++++++ docs/reference/gio/gio-sections.txt | 28 +++++++++++++++++++++++++++- gio/gsettings.c | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) commit fadac4bd0f008dae058bcbc56b3073c6c38092a6 Author: Matthias Clasen Date: Wed Jun 23 07:32:24 2010 -0400 Document g_cclosure_marshal_VOID__VARIANT gobject/gclosure.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 3549e06f81768453b8c389331705615ae3529041 Author: Matthias Clasen Date: Wed Jun 23 07:22:49 2010 -0400 Ignore gatomicarray.h Otherwise gtk-doc picks up declarations from that header and is disappointed when they are not documented. docs/reference/gobject/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9c6130cdde846cee4e8ad93504a6cb4745a35cea Author: Matthias Clasen Date: Wed Jun 23 07:21:50 2010 -0400 silence gtk-doc Add g_error_get_type to a private section in gobject-sections.txt so gtk-doc doesn't complain about it. docs/reference/gobject/gobject-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 8eb755e78e56036b93a7b11d3d6fe4237ab708be Author: Matthias Clasen Date: Wed Jun 23 00:20:11 2010 -0400 Add some more unicode property tests glib/tests/utf8-misc.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) commit e26b92b94775c8b1b6e94ca29a6d3a4404db449b Author: Matthias Clasen Date: Tue Jun 22 23:39:51 2010 -0400 Move node tests to the test framework glib/tests/node.c | 70 +++++++++++++++++++++++++++++++++++++---------------- tests/.gitignore | 1 - tests/Makefile.am | 2 -- 3 files changed, 49 insertions(+), 24 deletions(-) commit 464b5ff3570fd43fa52b6ec5571a02bd705f9e9c Author: Matthias Clasen Date: Tue Jun 22 22:25:02 2010 -0400 Some more hash, utils and checksum tests glib/tests/checksum.c | 18 ++++++++- glib/tests/hash.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/tests/utils.c | 31 +++++++++++++++ 3 files changed, 149 insertions(+), 2 deletions(-) commit 01abbc4bd37649bf75642ba98f8f6109065a7333 Author: Matthias Clasen Date: Tue Jun 22 22:24:29 2010 -0400 Move node test to the test framework glib/tests/Makefile.am | 3 + glib/tests/node.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/node-test.c | 223 ---------------------------------------- 3 files changed, 267 insertions(+), 223 deletions(-) commit 5c1b3a02637c8ed767c94f30df994fed9b3bddfc Author: Matthias Clasen Date: Tue Jun 22 19:50:35 2010 -0400 Move date tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/date.c | 287 ++++++++++++++++++++++++++++ tests/.gitignore | 1 - tests/Makefile.am | 1 - tests/date-test.c | 499 ------------------------------------------------ 5 files changed, 290 insertions(+), 501 deletions(-) commit 7d81e99c4bfea343ce653668b6d2d00e79324688 Author: Matthias Clasen Date: Tue Jun 22 17:42:30 2010 -0400 Add an index for 2.26 api additions docs/reference/gobject/gobject-docs.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b116838da31dc212c60f13821dfe87187731dc78 Author: Milan Bouchet-Valat Date: Wed Jun 23 12:17:29 2010 +0200 Improve documentation for g_strcmp0() Be more explicit about the handling of two NULL pointers. https://bugzilla.gnome.org/show_bug.cgi?id=622480 glib/gtestutils.c | 1 + 1 file changed, 1 insertion(+) commit 6920e503e637e70a44f7baf899de4bd171534d39 Author: David Zeuthen Date: Tue Jun 22 17:48:35 2010 -0400 GDBusProxy: Don't warn when calling methods on other interfaces If we know the expected interface (e.g. :g-interface-info is set), then we always warned when calling a method on a different interface. Don't do that, there's no way the expected interface can know anything about this method. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d68f8012b2d8b9b86b47ed1f091f29d70016cf73 Author: Dan Winship Date: Tue Jun 22 15:31:55 2010 -0400 gio/tests/testapps: Fix source refcounting Either child_watch_source or timeout_source will already have been destroyed after we finish the loop, and it's not safe to call g_source_destroy() on it a second time unless we're still holding a ref on it. gio/tests/testapps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a0e1b226a21ca498b301981b0c89e89ad9a31eb1 Author: Dan Winship Date: Fri Apr 23 08:47:18 2010 -0400 GSocketConnection: don't close the socket if it's still reffed When disposing a GSocketConnection, don't explicitly close the underlying GSocket. The GSocket will close itself if it gets destroyed, and if it doesn't get destroyed, that presumably means the app still wants to use it. Eg, this lets you use GSocketClient to create a GSocketConnection, and then take the GSocket and destroy the GSocketConnection. https://bugzilla.gnome.org/show_bug.cgi?id=616855 gio/gsocketconnection.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit e0ff84e68817d12ebf4cde9433c4e1ed703d1eb4 Author: Dan Winship Date: Fri Apr 23 08:21:41 2010 -0400 GSocketInput/OutputStream: fix non-blocking on Windows The GSocket docs point out that g_socket_send/g_socket_receive may return G_IO_ERROR_WOULD_BLOCK even if g_socket_condition_check claimed that they wouldn't. Fix the socket streams to check for that. https://bugzilla.gnome.org/show_bug.cgi?id=603309 gio/gsocket.c | 8 ++++++++ gio/gsocketinputstream.c | 46 ++++++++++++++++++--------------------------- gio/gsocketoutputstream.c | 46 ++++++++++++++++++--------------------------- 3 files changed, 44 insertions(+), 56 deletions(-) commit 2be38f6926d8bf2738c3898e831dcb3928925f90 Author: David Zeuthen Date: Tue Jun 22 12:12:16 2010 -0400 GDBus: update padding Add lots of padding for public class structures. Notably, we seemed to lack any padding whatsoever in the GDBusMessageClass struct (spotted by Dan Winship). Also switch to using gpointer padding[N]; instead of void (*_g_reserved1) (void); ... void (*_g_reservedN) (void); Signed-off-by: David Zeuthen gio/gdbusauth.h | 4 ++++ gio/gdbusauthmechanism.h | 18 +----------------- gio/gdbusauthmechanismanon.h | 17 +---------------- gio/gdbusauthmechanismexternal.h | 17 +---------------- gio/gdbusauthmechanismsha1.h | 17 +---------------- gio/gdbusauthobserver.h | 17 +---------------- gio/gdbusconnection.h | 18 ++---------------- gio/gdbusmessage.h | 4 ++++ gio/gdbusmethodinvocation.h | 9 +-------- gio/gdbusproxy.h | 9 +-------- gio/gdbusserver.h | 9 +-------- 11 files changed, 18 insertions(+), 121 deletions(-) commit d19380c809525559f55ba5f3304c0e787c2ebfac Author: Matthias Clasen Date: Tue Jun 22 08:24:30 2010 -0400 Improve g_application_new documentation Patch by Saleem Abdulrasool, bug 622154. gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 16c2f080497d1ed663237e725192c4f411f92f8f Author: Ryan Lortie Date: Tue Jun 22 08:09:27 2010 -0400 Add single include guards to gvariant[type].h glib/gvariant.h | 4 ++++ glib/gvarianttype.h | 4 ++++ 2 files changed, 8 insertions(+) commit 05354cefc54a0f42e5d7dee1798d2b56c135c12c Author: Tor Lillqvist Date: Tue Jun 22 12:41:01 2010 +0300 Make the protocol.c test program compile on Windows Note that it does not actually work, though. Maybe because g_io_channel_set_flags() is not implemented for file descriptor based GIOChannels on Windows. glib/tests/protocol.c | 6 ++++++ 1 file changed, 6 insertions(+) commit efb1a054b0858b4475941892f53bbc5186065df9 Author: Tor Lillqvist Date: Tue Jun 22 12:13:21 2010 +0300 Fix build with the Microsoft compiler Correct a few gccisms and C99isms. Ensure the Windows-specific gio source files are listed in the generated gio VS project file. gio/Makefile.am | 12 +++++++----- gio/gcredentials.c | 2 ++ gio/gdbusauthmechanismexternal.c | 2 ++ gio/gdbusauthmechanismsha1.c | 5 +++++ gio/gdbusconnection.c | 2 +- gio/gdbuserror.c | 2 +- gio/gdbusintrospection.c | 2 +- gio/gdbusserver.c | 3 +++ gio/gio.symbols | 2 ++ gio/glocalfileinputstream.c | 6 ++++-- gio/glocalfileoutputstream.c | 6 ++++-- 11 files changed, 32 insertions(+), 12 deletions(-) commit 2e842490826644210bc5d2df2df8092597b3f708 Author: Tor Lillqvist Date: Tue Jun 22 12:10:34 2010 +0300 Bypass a few functions not used on Windows when compiling for Windows gio/glocalfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 045c96b71a7755927e258c2b116c7c0ee8326bd1 Author: Matthias Clasen Date: Mon Jun 21 23:07:46 2010 -0400 Add a test for g_strip_prefix glib/tests/strfuncs.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 2f438f18ae8794747dadf5018616d1dcc52a0924 Author: Matthias Clasen Date: Mon Jun 21 23:06:17 2010 -0400 Move hash tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/hash.c | 525 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/.gitignore | 1 - tests/Makefile.am | 2 - tests/hash-test.c | 459 ------------------------------------------ 5 files changed, 528 insertions(+), 462 deletions(-) commit 7d14b5fbf1fcda2068dc01f9a0a2e4b9796daea6 Author: Matthias Clasen Date: Mon Jun 21 22:25:28 2010 -0400 Some more tests glib/tests/checksum.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) commit 5629366c3d245b78ad148576f2dccabed83baa71 Author: Matthias Clasen Date: Mon Jun 21 21:22:09 2010 -0400 Move checksum tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/checksum.c | 679 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/.gitignore | 1 - tests/Makefile.am | 2 - tests/checksum-test.c | 676 ----------------------------------------------- 5 files changed, 682 insertions(+), 679 deletions(-) commit 839078ea63f697f1066a040425e1d2070f3c81a2 Author: Matthias Clasen Date: Mon Jun 21 20:07:26 2010 -0400 Add some more Unicode tests glib/tests/utf8-misc.c | 263 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 263 insertions(+) commit 45411ccbe3c9d1b08332942d1e7b594330688126 Author: David Zeuthen Date: Mon Jun 21 16:08:53 2010 -0400 Bug 621945 – Filter outgoing messages in GDBusConnection This patch breaks some rarely-used public API (only known user is dconf). This patch is based on work from Peng Huang . See https://bugzilla.gnome.org/show_bug.cgi?id=621945 Signed-off-by: David Zeuthen gio/gdbusconnection.c | 66 +++++++++++++++++++++++++++++++++++++--- gio/gdbusconnection.h | 3 ++ gio/gdbusprivate.c | 69 ++++++++++++++++++++++++++++-------------- gio/gdbusprivate.h | 5 +++ gio/tests/gdbus-connection.c | 16 ++++++++-- 5 files changed, 129 insertions(+), 30 deletions(-) commit a4cd39e74122c9376954204cb45c6be4926e5ee9 Author: Ryan Lortie Date: Mon Jun 21 14:01:50 2010 -0400 gobject docs: ignore some sgml files docs/reference/gobject/tmpl/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit a4b42d3a751bcbe22bb41ddfced68eebcce0e386 Author: Ryan Lortie Date: Mon Jun 21 13:57:54 2010 -0400 .gitignore the moved tests glib/tests/.gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) commit c9553af68f543113be41e6ae8dcdd9ee5e2267bc Author: Ryan Lortie Date: Mon Jun 21 13:55:28 2010 -0400 Use -Bsymbolic-functions, drop g*alias PLT hackery This is a minimal patch-out of the galias functionality. We will do a release like this so that we can easily back it out if there are reported problems. A more substantial cleanup (mostly removing #includes from every file) will follow if there are no issues. configure.in | 2 +- gio/Makefile.am | 6 +++--- gio/makegioalias.pl | 2 ++ glib/Makefile.am | 2 +- glib/makegalias.pl | 2 ++ gmodule/Makefile.am | 2 +- gobject/Makefile.am | 6 +++--- gobject/makegobjectalias.pl | 2 ++ gthread/Makefile.am | 2 +- 9 files changed, 16 insertions(+), 10 deletions(-) commit e549bbf66406fc483cd43ce860ba88e7d83d3c80 Author: Ryan Lortie Date: Mon Jun 21 13:25:51 2010 -0400 distcheck fix gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d5dc656d35887780008c95c5ed496f628948813c Author: Ryan Lortie Date: Mon Jun 21 13:25:44 2010 -0400 Add check for -Bsymbolic-functions linker flag configure.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 7556f660b551d0713100af6672287393350d9a19 Author: Ryan Lortie Date: Mon Jun 21 11:30:26 2010 -0400 Remove gsettings-schema-convert tool Having this tool in GLib is a bad idea for a number of reasons: - experience has shown that the simple file format was a bad idea - the tool is currently implemented with a hack that would require a dependency inversion to solve (the tool needs to depend on Python GVariant bindings) - the tool itself is unmaintained It will be moved to the GConf git repository so people can continue to use it for the purpose of converting GConf schemas. docs/reference/gio/Makefile.am | 2 - docs/reference/gio/gio-docs.xml | 1 - docs/reference/gio/glib-compile-schemas.xml | 6 - docs/reference/gio/gsettings-schema-convert.xml | 113 --- docs/reference/gio/migrating-gconf.xml | 2 +- gio/Makefile.am | 1 - gio/gsettings-schema-convert | 1076 ----------------------- 7 files changed, 1 insertion(+), 1200 deletions(-) commit 95c4ec1056468764dd6c71971ad06370c0f1b99b Author: Javier Jardón Date: Mon Jun 21 17:28:15 2010 +0200 [docs] Fix typo docs/reference/glib/building.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c02c99df0cb1c3b9bdb20c8fd56eddc7ae8bf2a Author: Sven Herzberg Date: Tue Apr 20 15:01:17 2010 +0200 don't treat debug/info/message as fatal messages by default * glib/gtestutils.c: don't treat non-fatal messages as errors * glib/tests/.gitignore: silence * glib/tests/Makefile.am: updated * glib/tests/protocol.c: add a test for the message treatment glib/gtestutils.c | 8 +- glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 10 +- glib/tests/protocol.c | 334 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 348 insertions(+), 5 deletions(-) commit 60a5b197991aae58de4a85c9020a49edc5003457 Author: Matthias Clasen Date: Mon Jun 21 00:00:51 2010 -0400 Add a test for g_unichar_validate glib/tests/utf8-misc.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f13618623b191c539cc151d19f7f5b54e24b3607 Author: Matthias Clasen Date: Sun Jun 20 23:46:01 2010 -0400 Test inplace decoding glib/tests/base64.c | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) commit db5bd7b90b78508b8be448b8cd5de7735b3ca520 Author: Matthias Clasen Date: Sun Jun 20 23:35:31 2010 -0400 Some more utf8 tests glib/tests/Makefile.am | 3 ++ glib/tests/utf8-misc.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) commit a2f4564fd9bee001e6b4d60df257ab6b2110f22f Author: Matthias Clasen Date: Sun Jun 20 23:07:39 2010 -0400 Test glib_check_version glib/tests/utils.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit cca48bd5b9de1d4902b12acc86778def3ae00cbe Author: Matthias Clasen Date: Sun Jun 20 22:46:47 2010 -0400 Add support for coverage reports with lcov Patch by Patrick Hulin, bug #501057. Makefile.am | 2 +- Makefile.decl | 22 ++++++++++++ configure.in | 69 +++++++++++++++++++++++++++++++++++++ docs/reference/glib/building.sgml | 19 +++++++++- 4 files changed, 110 insertions(+), 2 deletions(-) commit bad7f1e54f03284cfd6235d345270ecada4379b5 Author: Matthias Clasen Date: Sun Jun 20 22:18:30 2010 -0400 Some fixes glib/tests/collate.c | 2 ++ glib/tests/utf8-pointer.c | 39 +++++++++++++------------ glib/tests/utf8-validate.c | 68 ++++++++++++++++++-------------------------- 3 files changed, 50 insertions(+), 59 deletions(-) commit 7bea2a7a4fec3dda19d08474c73f56a0f7cf2741 Author: Matthias Clasen Date: Sun Jun 20 21:16:24 2010 -0400 Move utf8 validation tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/utf8-validate.c | 319 ++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 3 - tests/utf8-validate.c | 319 -------------------------------------------- 4 files changed, 322 insertions(+), 322 deletions(-) commit 5b08ef84e4132db8f3e873f52c4bc929949dff4d Author: Matthias Clasen Date: Sun Jun 20 21:04:47 2010 -0400 Move utf8 pointer tests to test framework glib/tests/Makefile.am | 6 ++ glib/tests/collate.c | 215 +++++++++++++++++++++++++++++++++++++++++++++ glib/tests/utf8-pointer.c | 112 +++++++++++++++++++++++ tests/Makefile.am | 1 - tests/utf8-pointer.c | 112 ----------------------- 5 files changed, 333 insertions(+), 113 deletions(-) commit 0ed575213b0be6553f08c7e3b35e49faae09f7ad Author: Matthias Clasen Date: Sun Jun 20 16:24:56 2010 -0400 Consolide base64 tests in a single file glib/tests/base64.c | 197 +++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 3 - tests/testingbase64.c | 236 ------------------------------------------------- 3 files changed, 197 insertions(+), 239 deletions(-) commit 08d6e535be868b04fe83d02cb8a99a8db96d2192 Author: Matthias Clasen Date: Sun Jun 20 12:29:17 2010 -0400 Move scanner tests to glib/tests glib/tests/Makefile.am | 3 + glib/tests/scannerapi.c | 139 +++++++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 7 --- tests/scannerapi.c | 139 ----------------------------------------------- 4 files changed, 142 insertions(+), 146 deletions(-) commit 87df095de3246142c9407f088b300c3a18846a94 Author: Ryan Lortie Date: Sun Jun 20 12:32:00 2010 -0400 GVariant: fix doc copy/paste error glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ede159ec452aa27d7ea0058833ea39baed14756e Author: Ryan Lortie Date: Sun Jun 20 12:30:27 2010 -0400 Add enum type for GVariantParseError docs/reference/glib/glib-sections.txt | 1 + glib/gvariant-parser.c | 7 +++++++ glib/gvariant.h | 5 +++++ 3 files changed, 13 insertions(+) commit 09aa2e79ab9b39b92c1cc911b95b49872a417382 Author: Matthias Clasen Date: Sun Jun 20 12:23:13 2010 -0400 Move sequence tests to the test framework glib/tests/Makefile.am | 3 + glib/tests/sequence.c | 1286 +++++++++++++++++++++++++++++++++++++++++++++++ tests/sequence-test.c | 1301 ------------------------------------------------ 3 files changed, 1289 insertions(+), 1301 deletions(-) commit bf8ce25216c14c8f6f3267b0af107c03390e63bf Author: Matthias Clasen Date: Sun Jun 20 11:34:31 2010 -0400 Move base64 tests of to test framework glib/tests/Makefile.am | 3 ++ glib/tests/base64.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++ tests/base64-test.c | 138 ----------------------------------------------- 3 files changed, 142 insertions(+), 138 deletions(-) commit 9a85f654c77dab88f625169a0128d890acf50b0b Author: Matthias Clasen Date: Sun Jun 20 11:20:41 2010 -0400 Add new scripts to docs docs/reference/glib/tmpl/unicode.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit f849dbac05bad8e60b00707823f5c6d935ff36c1 Author: Matthias Clasen Date: Sun Jun 20 11:07:49 2010 -0400 Move regex tests to the g_test framework glib/tests/Makefile.am | 3 + glib/tests/regex.c | 1870 ++++++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 4 +- tests/regex-test.c | 2122 ------------------------------------------------ 4 files changed, 1874 insertions(+), 2125 deletions(-) commit fc5f3a96be53ceb8b431dffa675e622ec8a48186 Author: Christian Persch Date: Sun Jun 20 02:32:35 2010 +0200 Docs fix gio/gdatainputstream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 85621f1a0f4d77cde71e37ed8212e707f4af441d Author: Matthias Clasen Date: Sun Jun 20 01:46:35 2010 -0400 Update the include pcre to 8.02 glib/pcre/Makefile.am | 1 - glib/pcre/pcre.h | 21 +- glib/pcre/pcre_compile.c | 1329 ++++++++++++++++++++++---------- glib/pcre/pcre_config.c | 6 +- glib/pcre/pcre_dfa_exec.c | 514 +++++++++---- glib/pcre/pcre_exec.c | 1563 +++++++++++++++++++++++++++++--------- glib/pcre/pcre_fullinfo.c | 15 +- glib/pcre/pcre_globals.c | 23 +- glib/pcre/pcre_info.c | 4 +- glib/pcre/pcre_internal.h | 759 ++++++++++++++++-- glib/pcre/pcre_newline.c | 8 +- glib/pcre/pcre_study.c | 448 ++++++++++- glib/pcre/pcre_tables.c | 631 +++++++++------ glib/pcre/pcre_try_flipped.c | 6 +- glib/pcre/pcre_ucp_searchfuncs.c | 46 +- glib/pcre/pcre_xclass.c | 7 +- glib/pcre/ucp.h | 53 +- glib/pcre/ucpinternal.h | 92 --- 18 files changed, 4133 insertions(+), 1393 deletions(-) commit b0b7aeffc063981c32ff99da0385841ba18f5847 Author: Matthias Clasen Date: Sun Jun 20 01:14:55 2010 -0400 Add Unicode 5.2 scripts glib/gunicode.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 5fffa39b6ae8f8faf1036fbf07de02ffe84ef099 Author: Matthias Clasen Date: Sun Jun 20 00:09:00 2010 -0400 Fix a memory leak in g_ptr_array_remove_index_fast We need to call the element_free_func even if we remove the last element. Bug #618866. glib/garray.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit ea6470e31a6884a7243e9cd4df9734f1dc4828b9 Author: Ryan Lortie Date: Sat Jun 19 16:13:58 2010 -0400 GSettings: complete support for enum binding gio/gsettings-mapping.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit dbe68f7c834c152c111afba41ffffd70a8e6997c Author: Johan Dahlin Date: Sat Jun 19 15:23:35 2010 -0300 [configure] Require dbus 1.2.14 dbus_message_set_serial requires dbus 1.2.14, make the dependency explicit instead of failing to compile a test. configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2d4e48b73c3efe74c3818616de6fcc332f2e640a Author: Christian Persch Date: Sat Jun 19 20:04:20 2010 +0200 Tiny docs fix gobject/gvaluetypes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit db68f8203ab9b81e70dbada99faaf69c727f793c Author: Christian Persch Date: Fri Jun 18 01:08:13 2010 +0200 Add g_value_take_variant Turns out we do need g_value_take_variant(), so we can correctly implement VARIANT:* marshalers. Bug #621947. docs/reference/gobject/gobject-sections.txt | 1 + gobject/glib-genmarshal.c | 2 +- gobject/gobject.symbols | 1 + gobject/gtype.h | 7 +++ gobject/gvaluetypes.c | 39 +++++++++++++ gobject/gvaluetypes.h | 2 + tests/gobject/accumulator.c | 81 +++++++++++++++++++++++++++ tests/gobject/testmarshal.list | 2 +- 8 files changed, 133 insertions(+), 2 deletions(-) commit 052ef2614af7a8706035982d8211fff64241e83f Author: Christian Persch Date: Sat Jun 19 16:42:11 2010 +0200 Add g_variant_is_floating docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant-core.c | 24 ++++++++++++++++++++++++ glib/gvariant.h | 1 + glib/tests/gvariant.c | 13 +++++++++++++ 5 files changed, 40 insertions(+) commit 7bb00fd0e8a18b3e20d30053579f002e587dfbbb Author: Christian Persch Date: Sat Jun 19 16:41:25 2010 +0200 Fix a preprocessor warning with --disable-visibility Don't redefine DISABLE_VISIBILITY when already building with --disable-visibility. gthread/tests/1bit-mutex.c | 2 ++ 1 file changed, 2 insertions(+) commit a558e460a2f493670932faa4c947ffc42ea8bc70 Author: Milan Bouchet-Valat Date: Sat Jun 19 19:00:13 2010 +0200 Fix gsettings tool crash, part 2 Same as previous commit, but for two other functions it missed. gio/gsettings-tool.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 62939f5e45cd102313285ec13f90c3b4763e6ca8 Author: Milan Bouchet-Valat Date: Sat Jun 19 18:33:26 2010 +0200 Fix gsettings tool crash When no path is provided for the schema, we have call g_settings_new() instead of g_settings_new_with_path() passing a NULL path. This was crashing the tool on start since an assertion was recently added to g_settings_new_with_path() to refuse NULL. gio/gsettings-tool.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a7689537605ade51b19be76baa3fba303527483d Author: Ryan Lortie Date: Sat Jun 19 11:38:57 2010 -0400 Fix bug in strinfo We can't search for a larger needle inside of a smaller haystack, and unsigned integer subtraction tends to result in very large numbers rather than small ones. Add a check for this case and abort out immediately. Also add a test case (lifted directly from the docs) that demonstrates the problem. Issue discovered and tracked down by Milan Bouchet-Valat gio/strinfo.c | 3 +++ gio/tests/gschema-compile.c | 3 ++- gio/tests/schema-tests/from-docs.gschema.xml | 34 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) commit e91541bf8c2e915b330c6dfee46a7709949da3a9 Author: Fran Diéguez Date: Sat Jun 19 15:13:41 2010 +0200 Updated Galician translations po/gl.po | 104 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 46 deletions(-) commit a2888fbbf0f1a61436e036ff81a14f19fe45d5d0 Author: Ryan Lortie Date: Fri Jun 18 23:14:46 2010 -0400 Add a note to docs about paragraphs in schemas docs/reference/gio/migrating-gconf.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6217c9b41eb369cac48149639369f51b85763986 Author: Ryan Lortie Date: Fri Jun 18 22:59:43 2010 -0400 Conditional gsettings.m4 support, AC_PATH_PROG Add new support for conditional enabling of GSettings (as per bug #616718) and use AC_PATH_PROG instead of AC_PATH_TOOL (as per bug #621172). configure.in | 2 +- m4macros/gsettings.m4 | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit 1ed105b19b31bd5265de7d62156732b343c086e3 Author: Jürg Billeter Date: Fri Jun 18 23:48:28 2010 +0200 GDBus: Sink closures in _with_closures functions See https://bugzilla.gnome.org/show_bug.cgi?id=621092#c12 Signed-off-by: David Zeuthen gio/gdbusnameowning.c | 25 ++++++++++++++++++++----- gio/gdbusnamewatching.c | 20 ++++++++++++++++---- 2 files changed, 36 insertions(+), 9 deletions(-) commit 8f5bde679e7cf5b519988b0fa36c300ecce3f19f Author: Colin Walters Date: Wed Jun 16 14:17:26 2010 -0400 [GApplication] Add working directory to platform data https://bugzilla.gnome.org/show_bug.cgi?id=621838 gio/gapplication.c | 51 ++++++++++++++++++++++++++++++++++++++++++------ gio/gdbusapplication.c | 12 ++---------- gio/tests/testapp.c | 20 +++++++++++++++++++ 3 files changed, 67 insertions(+), 16 deletions(-) commit 6ff13071ae4729b0a0e2ba9404fef5e5dd6c14b2 Author: Tor Lillqvist Date: Fri Jun 18 10:56:25 2010 +0300 Fix build on non-Unix gio/gnullapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4edfc34e5bae34f69d6771e2732f54821a4f7307 Author: Matthias Clasen Date: Thu Jun 17 19:42:46 2010 -0400 2.25.9 configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b1f45c2e8b5f3ba3595c5cf74fbfc70f03b61c0 Author: Matthias Clasen Date: Thu Jun 17 19:08:13 2010 -0400 Fix a mismerge docs/reference/gio/gio-sections.txt | 1 - 1 file changed, 1 deletion(-) commit 9b59059d9e85d10406393cef08e432626dcc78da Author: Matthias Clasen Date: Thu Jun 17 19:04:03 2010 -0400 Fix distcheck gio/gio.symbols | 6 ++++++ 1 file changed, 6 insertions(+) commit bdd8fef4c05b41f534f138b0cf2f252e6ebd379f Author: Christian Persch Date: Fri Jun 18 00:38:46 2010 +0200 Fix VARIANT out args Use g_value_set_variant(), not the nonexistent g_value_take_variant(). gobject/glib-genmarshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30df71e382f76626f8abcdd16b800392be183b42 Author: Christian Persch Date: Fri Jun 18 00:10:17 2010 +0200 Add VARIANT to glib-genmarshal docs docs/reference/gobject/glib-genmarshal.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit 79d32c2fc18dcd62e9e12ca871676d35697c9d41 Author: David Zeuthen Date: Thu Jun 17 17:58:25 2010 -0400 GDBusMessage: Fix bug when deserializing a message See https://bugzilla.gnome.org/show_bug.cgi?id=621838 for the whole story. The problem was that we ended up reading data from arrays of arrays when we were just supposed to be aligning the buffers. Also add a host of debug infrastructure that was needed to find the root cause. For now it can be turned on only via defining DEBUG_SERIALIZER. In the future we might want to make it work via G_DBUS_DEBUG. In a nutshell, the added debug info looks like this Parsing blob (blob_len = 0x0084 bytes) 0000: 6c 01 00 01 3c 00 00 00 41 00 00 00 37 00 00 00 l...<...A...7... 0010: 08 01 67 00 08 61 61 79 61 7b 73 76 7d 00 00 00 ..g..aaya{sv}... 0020: 01 01 6f 00 08 00 00 00 2f 66 6f 6f 2f 62 61 72 ..o...../foo/bar 0030: 00 00 00 00 00 00 00 00 03 01 73 00 06 00 00 00 ..........s..... 0040: 4d 65 6d 62 65 72 00 00 00 00 00 00 34 00 00 00 Member......4... 0050: 03 00 00 00 63 77 64 00 01 73 00 00 23 00 00 00 ....cwd..s..#... 0060: 2f 68 6f 6d 65 2f 64 61 76 69 64 7a 2f 48 61 63 /home/davidz/Hac 0070: 6b 69 6e 67 2f 67 6c 69 62 2f 67 69 6f 2f 74 65 king/glib/gio/te 0080: 73 74 73 00 sts. Parsing headers (blob_len = 0x0084 bytes) Reading type a{yv} from offset 0x000c: array spans 0x0037 bytes Reading type {yv} from offset 0x0010 Reading type y from offset 0x0010: 0x08 ' Reading type v from offset 0x0011 Reading type g from offset 0x0014: 'aaya{sv}' Reading type {yv} from offset 0x001e Reading type y from offset 0x0020: 0x01 '' Reading type v from offset 0x0021 Reading type o from offset 0x0024: '/foo/bar' Reading type {yv} from offset 0x0031 Reading type y from offset 0x0038: 0x03 '' Reading type v from offset 0x0039 Reading type s from offset 0x003c: 'Member' Parsing body (blob_len = 0x0084 bytes) Reading type (aaya{sv}) from offset 0x0047 Reading type aay from offset 0x0048: array spans 0x0000 bytes Reading type a{sv} from offset 0x004c: array spans 0x0034 bytes Reading type {sv} from offset 0x0050 Reading type s from offset 0x0050: 'cwd' Reading type v from offset 0x0058 Reading type s from offset 0x005b: '/home/davidz/Hacking/glib/gio/tests' OK Signed-off-by: David Zeuthen gio/gdbusmessage.c | 132 ++++++++++++++++++++++++++++++++++----- gio/gdbusprivate.c | 10 +-- gio/gdbusprivate.h | 2 + gio/tests/gdbus-serialization.c | 9 +++ 4 files changed, 134 insertions(+), 19 deletions(-) commit 86d681ba3eb0df135b9ac592594c397021455425 Author: Christian Persch Date: Thu Jun 17 23:44:25 2010 +0200 Distcheck fix Add a missing symbol to gobject.symbols. gobject/gobject.symbols | 1 + 1 file changed, 1 insertion(+) commit 0766981a1e634b850bec602d0bea6bc255377edb Author: Ryan Lortie Date: Thu Jun 17 16:56:09 2010 -0400 Make g_settings_sync() a proper prototype. gio/gsettings-tool.c | 2 +- gio/gsettings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 408daaa29445264073da1ac296dba5697ed4883c Author: Matthias Clasen Date: Thu Jun 17 16:36:58 2010 -0400 Fix the build gio/gapplication.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit df81e3f33e710ce64060a87b8ecf0aab1360bd5a Author: Matthias Clasen Date: Thu Jun 17 16:13:29 2010 -0400 Updates NEWS | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 0c506f200a60124197e8c20507a86516bb950ec4 Author: David Zeuthen Date: Thu Jun 17 16:09:12 2010 -0400 GDBus: Complain via g_warning() if an invalid message is received While we are already propagating the error to the user via the GDBusConnection::disconnected signal (because the only safe thing is to disconnect the other peer), changes are the user is simply not listening to this signal. This should never ever happen unless there's a bug in the serializaer/deserializer so it's fine to complain via g_warning() here. Bug 621838, see https://bugzilla.gnome.org/show_bug.cgi?id=621838 is related to this. Signed-off-by: David Zeuthen gio/gdbusprivate.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 57dff1e06011347cc11492a36dc187cbcf5eece8 Author: David Zeuthen Date: Thu Jun 17 16:02:24 2010 -0400 GDBusMessage: Properly check error and bail if set Otherwise we may set a GError on top of it. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 2 ++ 1 file changed, 2 insertions(+) commit 8a105625b0261e2e3f45241e2892475fa7b45b88 Author: Matthias Clasen Date: Thu Jun 17 16:07:52 2010 -0400 Documentation fixups docs/reference/gio/gio-sections.txt | 10 +++++----- gio/gapplication.c | 10 ++++++---- gio/gapplication.h | 6 +++--- gio/gunixconnection.c | 8 ++++---- 4 files changed, 18 insertions(+), 16 deletions(-) commit 19a752a5f4b39ce43e6e3a26a478c1594b0627ca Author: Matthias Clasen Date: Thu Jun 17 15:51:37 2010 -0400 fix a typo gobject/gvaluetypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10e430bcc09d82cf9b3634242981296e0d47693b Author: Christian Persch Date: Thu Jun 17 21:40:47 2010 +0200 Fix GApplication for the G_TYPE_VARIANT change gio/gapplication.c | 54 +++++++++++++++++++++----------------------------- gio/gio-marshal.list | 5 +++-- 2 files changed, 26 insertions(+), 33 deletions(-) commit daee48a0af26105175db5768f770ddb8f1a4a7b1 Author: Matthias Clasen Date: Thu Jun 17 15:29:45 2010 -0400 Update api docs to current api docs/reference/gio/gio-sections.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 0a7e6255b37efd2005bb86a5843921d4adc3bdf8 Author: David Zeuthen Date: Thu Jun 17 15:27:18 2010 -0400 Catch up with G_TYPE_VARIANT changes The GType for a GVariant is now a fundamental GType instead of a boxed one so use the right marshaller. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 4 ++-- gio/gio-marshal.list | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) commit 2c5e1d51934a7983acea9e392de5741c47b8be14 Author: Matthias Clasen Date: Thu Jun 17 15:07:08 2010 -0400 Fix a typo gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0010e86572092ba00eaf01796c863e7584e29611 Author: Ryan Lortie Date: Thu Jun 17 15:06:33 2010 -0400 GSettings: remove "context" from backend too. Note: this is a GSettingsBackend API/ABI change. gio/gsettingsbackend.c | 73 +----------------------------------------------- gio/gsettingsbackend.h | 2 -- 2 files changed, 1 insertion(+), 74 deletions(-) commit 4708b8ecc3f00e49aa98cb5989b5474a3257906c Author: Christian Persch Date: Thu Jun 17 18:03:51 2010 +0200 Add fundamental type and pspec for GVariant Make G_TYPE_VARIANT a fundamental type instead of boxed, and add g_variant_{set,get,dup}_variant. Add GParamSpecVariant. Bug #610863. NEWS | 4 + docs/reference/gobject/gobject-sections.txt | 13 ++- gobject/gboxed.c | 15 ++- gobject/gboxed.h | 13 +-- gobject/glib-genmarshal.c | 4 + gobject/gmarshal.list | 2 + gobject/gobject.symbols | 6 +- gobject/gparamspecs.c | 127 ++++++++++++++++++++++- gobject/gparamspecs.h | 52 ++++++++++ gobject/gtype.h | 13 ++- gobject/gvaluetypes.c | 148 +++++++++++++++++++++++++++ gobject/gvaluetypes.h | 15 +++ tests/gobject/gvalue-test.c | 38 +++++-- tests/gobject/paramspec-test.c | 46 +++++++-- 14 files changed, 461 insertions(+), 35 deletions(-) commit f2ae6217771b1014efb86eab0f5346d3b297024e Author: Ryan Lortie Date: Thu Jun 17 14:58:46 2010 -0400 Revert "GVariant: add g_variant_default_value()" This reverts commit b205dc77cb14f67818eaac23d0eb3f5d1b867921. We decided to go the other route with the GParamSpec. docs/reference/glib/glib-sections.txt | 1 - glib/glib.symbols | 1 - glib/gvariant.c | 32 ++------------------------------ glib/gvariant.h | 1 - 4 files changed, 2 insertions(+), 33 deletions(-) commit 58e000d30127b70f147f5f615fddea5358992029 Author: Ryan Lortie Date: Thu Jun 17 14:33:50 2010 -0400 Only run the schema compiler from the test cases gio/tests/Makefile.am | 6 ------ 1 file changed, 6 deletions(-) commit 6c3ae976e61a9c680c7e18ff89d41d0808a066c4 Author: Ryan Lortie Date: Thu Jun 17 14:05:40 2010 -0400 Bug 621266 - GSettings "context" clarification Remove the concept of "context" in favour of dealing with GSettingsBackend directly. gio/gio.symbols | 9 +- gio/gkeyfilesettingsbackend.c | 39 +------- gio/gsettings.c | 80 ++++++++--------- gio/gsettings.h | 11 ++- gio/gsettingsbackend.c | 192 +++++++++------------------------------- gio/gsettingsbackend.h | 23 +++-- gio/gsettingsbackendinternal.h | 30 +++---- gio/tests/Makefile.am | 11 +-- gio/tests/gsettings.c | 9 +- 9 files changed, 120 insertions(+), 284 deletions(-) commit b3cc28bc34bd0b341f1786dc478cff259ce5d1da Author: Cosimo Cecchi Date: Thu Jun 17 18:26:15 2010 +0200 Bug 621905 – Assume a ref when doing async work When asynchronously acquiring the DBus connection, assume a reference to the proxy object, to avoid destroying it in the middle of the operation. See https://bugzilla.gnome.org/show_bug.cgi?id=621905 gio/gdbusproxy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d352ec2bf383754f352fc7cbfb7a48918cc0d9ea Author: Ryan Lortie Date: Thu Jun 17 10:50:47 2010 -0400 GSettings-related distcheck fixups gio/tests/Makefile.am | 92 ++++++++++++++++++++++++++++++------------------- gio/tests/gsettings.c | 6 ++-- 2 files changed, 61 insertions(+), 37 deletions(-) commit fcbddd746b73bc2c4ab2754f66355bd8b59d9a6b Author: Ryan Lortie Date: Thu Jun 17 09:38:39 2010 -0400 Add 'if' that was absorbed by $(AM_V_GEN) From commit 1b8ee5196eb8ed684b0ee0d2f0d26e6bd82656af Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7cd94a481065806eff1f330c2b4fe0cf8c913fb Author: Ryan Lortie Date: Thu Jun 17 08:57:19 2010 -0400 More GSettings doc fixups gio/gsettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 92375a8c8e14517fd7b6d2321e73b4acf15f1442 Author: Ryan Lortie Date: Thu Jun 17 08:08:28 2010 -0400 takes mandatory target='' arg gio/gsettings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d405ad8a09806361637b0abed76e62bc64b66cbe Author: Ryan Lortie Date: Thu Jun 17 08:06:52 2010 -0400 GSettings: Fix comment formatting, whitespace. gio/gsettings.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 24f1fa12c148141b8be39083f0ba7106fd97590f Author: Matthias Clasen Date: Thu Jun 17 01:51:23 2010 -0400 Add new api docs/reference/gio/gio-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 61af83c5b6a632448e9330eedebf7f8aa225f2e3 Author: Matthias Clasen Date: Thu Jun 17 01:38:14 2010 -0400 Add some schema examples gio/gsettings.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 80 insertions(+), 2 deletions(-) commit fbf93c371a8e9c8f5593ba34917e112b9759a801 Author: Matthias Clasen Date: Thu Jun 17 00:45:43 2010 -0400 Typo fix gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 345a1ee31c9d8783670ca3ad3c7d6e526b0c039c Author: Matthias Clasen Date: Thu Jun 17 00:37:12 2010 -0400 Update the dtd to match the schema parser The aliases element was not mentioned here. gio/gsettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3fbac9940263def7a741570ca71e07962fe365c3 Author: Matthias Clasen Date: Wed Jun 16 22:42:16 2010 -0400 Updates NEWS | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit fc538894d38780be8fb46735a07e2d36c34eaacb Author: Ryan Lortie Date: Thu Jun 17 00:03:44 2010 -0400 GSettings: enum/choices/aliases/range test cases Fix a small bug that one of the tests uncovered. gio/gschema-compile.c | 10 ++++---- gio/strinfo.c | 2 +- gio/tests/.gitignore | 1 + gio/tests/gschema-compile.c | 27 +++++++++++++++++++- gio/tests/schema-tests/bad-choice.gschema.xml | 14 ++++++++++ gio/tests/schema-tests/bare-alias.gschema.xml | 7 +++++ gio/tests/schema-tests/choice-alias.gschema.xml | 15 +++++++++++ gio/tests/schema-tests/choice-bad.gschema.xml | 14 ++++++++++ gio/tests/schema-tests/choice-badtype.gschema.xml | 7 +++++ .../schema-tests/choice-invalid-alias.gschema.xml | 15 +++++++++++ .../schema-tests/choice-shadowed-alias.gschema.xml | 14 ++++++++++ .../schema-tests/choice-upside-down.gschema.xml | 14 ++++++++++ gio/tests/schema-tests/choice.gschema.xml | 14 ++++++++++ .../schema-tests/default-in-aliases.gschema.xml | 15 +++++++++++ .../schema-tests/enum-with-aliases.gschema.xml | 20 +++++++++++++++ .../schema-tests/enum-with-bad-default.gschema.xml | 16 ++++++++++++ .../enum-with-chained-alias.gschema.xml | 21 +++++++++++++++ .../schema-tests/enum-with-choice.gschema.xml | 17 ++++++++++++ .../enum-with-invalid-alias.gschema.xml | 20 +++++++++++++++ .../enum-with-repeated-alias.gschema.xml | 21 +++++++++++++++ .../enum-with-shadow-alias.gschema.xml | 20 +++++++++++++++ gio/tests/schema-tests/enum.gschema.xml | 16 ++++++++++++ gio/tests/schema-tests/range-badtype.gschema.xml | 7 +++++ .../schema-tests/range-default-high.gschema.xml | 8 ++++++ .../schema-tests/range-default-low.gschema.xml | 8 ++++++ .../schema-tests/range-high-default.gschema.xml | 8 ++++++ .../schema-tests/range-low-default.gschema.xml | 8 ++++++ .../schema-tests/range-parse-error.gschema.xml | 8 ++++++ gio/tests/schema-tests/range.gschema.xml | 8 ++++++ 29 files changed, 368 insertions(+), 7 deletions(-) commit be8f938b6309afccd85e8f79d5e8c42a1ab11131 Author: Ryan Lortie Date: Wed Jun 16 18:49:20 2010 -0400 move GSettings(Backend) to giotypes.h gio/giotypes.h | 5 ++++- gio/gsettings.h | 3 +-- gio/gsettingsbackend.h | 2 -- 3 files changed, 5 insertions(+), 5 deletions(-) commit f0d30e0c0c645b585478dcae58a4e8d4cdd80fd8 Author: Ryan Lortie Date: Wed Jun 16 18:36:24 2010 -0400 Bug 621319 - more leaked GVariants in GSettings Caught by Felix Riemann. gio/gsettings.c | 1 + 1 file changed, 1 insertion(+) commit 4275c68c30bc372b4aa5d9f5a5ee7f2817d49d4e Author: Ryan Lortie Date: Wed Jun 16 18:22:48 2010 -0400 GVariant serialiser: fix small type error glib/gvariant-serialiser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 597290d5c81bf889a694e286ea2434655b82a404 Author: Ryan Lortie Date: Mon Jun 14 17:29:41 2010 -0400 GSettings: major refactor. Add enums, range. gio/Makefile.am | 2 +- gio/gio.symbols | 2 + gio/gschema-compile.c | 1326 +++++++++++++++------ gio/gsettings-mapping.c | 24 +- gio/gsettings.c | 2287 +++++++++++++++++++++--------------- gio/gsettings.h | 6 +- gio/gsettingsbackend.c | 27 +- gio/gsettingsschema.c | 45 +- gio/gsettingsschema.h | 5 +- gio/strinfo.c | 308 +++++ gio/tests/enums.xml.template | 18 + gio/tests/gsettings.c | 148 ++- gio/tests/org.gtk.test.gschema.xml | 28 + gio/tests/testenum.h | 7 + 14 files changed, 2893 insertions(+), 1340 deletions(-) commit b205dc77cb14f67818eaac23d0eb3f5d1b867921 Author: Ryan Lortie Date: Wed Jun 16 15:56:51 2010 -0400 GVariant: add g_variant_default_value() Returns various kinds of false, zero, empty arrays, etc. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 32 ++++++++++++++++++++++++++++++-- glib/gvariant.h | 1 + 4 files changed, 33 insertions(+), 2 deletions(-) commit 6a1cb9f697c0cd69d717b2a1457dd696702f4e48 Author: Christian Persch Date: Wed Jun 16 18:47:20 2010 +0200 Typo fix gobject/gparam.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b90f11ff970a39ea6d9d7abbe01b07043c70de6b Author: Christian Persch Date: Wed Jun 16 17:48:02 2010 +0200 Typo fix gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 102c5f6a7d13ec099a8c89db0651172fd3230268 Author: Colin Walters Date: Wed Jun 16 00:18:09 2010 -0400 Rework GApplication API to use GInitable https://bugzilla.gnome.org/show_bug.cgi?id=620952 gio/gapplication.c | 407 +++++++++++++++++++++++++++++++++++------------ gio/gapplication.h | 21 ++- gio/gdbusapplication.c | 119 ++++++-------- gio/gio.symbols | 5 +- gio/gnullapplication.c | 13 +- gio/tests/application.c | 2 +- gio/tests/testapp.c | 8 +- 7 files changed, 388 insertions(+), 187 deletions(-) commit 25ba90ffdd744d4c3c59cc550cdf08f3de11d542 Author: Emmanuele Bassi Date: Wed Jun 16 15:09:33 2010 +0100 Add gdbus-proxy-well-known-name to the ignore file gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 33aa4b4c662f18433ed27cd319ab5c97e5a9d9da Author: Emmanuele Bassi Date: Wed Jun 16 15:08:10 2010 +0100 binding: Use a hash table Since an object instance might have a lot of bindings, using a list might become a performance issue when removing them. Using a simple hash table guarantees constant time lookup, which is the most common operation. gobject/gbinding.c | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) commit f72f65643fb1d832e8296b26cff77dedbdac310f Author: Emmanuele Bassi Date: Wed Jun 16 14:47:06 2010 +0100 tests: Add a chain binding Test the case with a chain like A → B, B → C, and what happens when switching to a direct A → C link. https://bugzilla.gnome.org/show_bug.cgi?id=621782 gobject/tests/binding.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 48e3b31042c9a86d06740f2c73cbb6ffa140ba54 Author: Matthias Clasen Date: Tue Jun 15 22:06:56 2010 -0400 Properly initialize GError Pointed out by Florian Müllner in bug #621702 gio/gdbusproxy.c | 1 + 1 file changed, 1 insertion(+) commit 1b8ee5196eb8ed684b0ee0d2f0d26e6bd82656af Author: Christian Persch Date: Tue Jun 15 22:01:02 2010 -0400 Sprinkle some $(AM_V_GEN) around to make the build more silent. Makefile.am | 5 ++--- gio/Makefile.am | 14 +++++++------- glib/Makefile.am | 8 ++++---- gmodule/Makefile.am | 4 ++-- gobject/Makefile.am | 16 ++++++++-------- gthread/Makefile.am | 2 +- tests/gobject/Makefile.am | 4 ++-- 7 files changed, 26 insertions(+), 27 deletions(-) commit 062148ae9a4176a28c055a6e3505f4e5c9ff6313 Author: Matthias Clasen Date: Tue Jun 15 21:57:57 2010 -0400 Correct some documentation mistakes in gunixmounts.c Pointed out by Ross Burton in bug #618904 gio/gunixmounts.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 6d1d9cf1b551845a159a6b822500bb40e33fda74 Author: Emmanuele Bassi Date: Fri Jun 4 16:17:15 2010 +0100 gobject: Add GBinding GBinding is a simple, opaque object that represents a binding between a property on a GObject instance (source) and property on another GObject instance (target). https://bugzilla.gnome.org/show_bug.cgi?id=348080 docs/reference/gobject/gobject-docs.sgml | 1 + docs/reference/gobject/gobject-sections.txt | 23 + docs/reference/gobject/gobject.types | 1 + glib/glib-object.h | 1 + gobject/Makefile.am | 5 +- gobject/gbinding.c | 937 +++++++++++++++++++++++++++ gobject/gbinding.h | 119 ++++ gobject/gobject.symbols | 15 + gobject/tests/.gitignore | 1 + gobject/tests/Makefile.am | 4 +- gobject/tests/binding.c | 326 ++++++++++ 11 files changed, 1430 insertions(+), 3 deletions(-) commit f3879a4bdca2ff1cf6c6b016d67a7e5d40c0e86b Author: Damien Lespiau Date: Sat Apr 10 15:50:40 2010 +0100 Introduce g_object_notify_by_pspec() g_object_notify_by_pspec() will emit the "notify" signal on the given pspec, short-circuiting the hash table lookup needed by g_object_notify(). The suggested and documented way of using g_object_notify_by_pspec() is similar to the way of emitting signals with their ID. Emission tests (with no handler attached to the notify signal) show a 10-15% speedup over using g_object_notify(). https://bugzilla.gnome.org/show_bug.cgi?id=615425 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gobject.c | 82 ++++++++++++++++++++++++--- gobject/gobject.h | 2 + gobject/gobject.symbols | 1 + 4 files changed, 79 insertions(+), 7 deletions(-) commit 08f473ffeff7524e619dc0459c07a981a3b4285c Author: Matthias Clasen Date: Tue Jun 15 02:01:16 2010 -0400 Prevent division by zero if no tests glib/gtester-report | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 53f70ac43b0a4d2de109a73b0ea3724aefe95d5d Author: Matthias Clasen Date: Tue Jun 15 01:50:15 2010 -0400 Forgotten file glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit f9e8b5d9d47859c7bb62430753ce77e981e4ee65 Author: Robert Collins Date: Tue Jun 15 01:49:44 2010 -0400 Add subunit support to gtester-report This patch adds subunit support to gtester-report via a -s switch. Subunit (https://launchpad.net/subunit) is a language neutral test activity protocol. This can be used to integrate gtester tests with the Hudson CI tool amongst other things. Bug #611869. glib/gtester-report | 141 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 129 insertions(+), 12 deletions(-) commit 8de6d03c4417a16cad2d089805f93da4b4160602 Author: Robert Collins Date: Tue Jun 15 01:37:14 2010 -0400 Use optparse to parse gtester-report commandline options See bug #611778. glib/gtester-report | 54 ++++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 31 deletions(-) commit ddb9a2f26490b45f9cbda51b79ebcafb38b6ca81 Author: Emmanuele Bassi Date: Tue Jun 15 01:31:18 2010 -0400 Add package and version to the test report XML Makefile.decl | 8 ++++++-- glib/gtester-report | 16 ++++++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) commit 9971686b7e0d3a3f8416534a55e246bbfd901d0a Author: Matthias Clasen Date: Tue Jun 15 00:50:36 2010 -0400 Reword a doc comment To take out some awkward wording. glib/gmarkup.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit a500de820260915c6b4d4724d6029ee5b8552ae7 Author: Hib Eris Date: Tue Jun 15 00:39:46 2010 -0400 Let GLIB_SETTINGS macro use glib-compile-schemas from PATH when cross compiling See bug #621172 m4macros/gsettings.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b079d6a54616514e80b552ebe0a42f45e379b0e8 Author: Hib Eris Date: Tue Jun 15 00:38:35 2010 -0400 Use native glib-compile-schemas when cross compiling configure.in | 8 +++++++- gio/tests/Makefile.am | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) commit 85210bcf9b7f597aa2ad2a7087709c6091638805 Author: Colin Walters Date: Tue Jun 8 16:25:33 2010 -0400 Switch to using variants for timestamps, split out signals Like how we're handling activation, use GVariant for timestamps. To avoid polluting the GtkApplication API with GVariants, we rename the GApplication signals to "quit-with-data" and "action-with-data". GtkApplication will then wrap those as just "quit" and "action". https://bugzilla.gnome.org/show_bug.cgi?id=621002 gio/gapplication.c | 94 ++++++++++++++++++++++++----------------------- gio/gapplication.h | 27 +++++--------- gio/gdbusapplication.c | 47 ++++++++++++++++-------- gio/gio-marshal.list | 2 + gio/gio.symbols | 2 +- gio/tests/application.c | 63 +++++++++++++++++++++++++------ gio/tests/testapp.c | 4 +- gio/tests/testapps.c | 17 +++++++-- 8 files changed, 159 insertions(+), 97 deletions(-) commit 8c4e1fa0afd97ae211260e4990585629d3c010a1 Author: Christian Persch Date: Sun Jun 13 15:16:33 2010 +0200 Add --xml to gdbus-tool to print raw introspected XML Bug #621442. docs/reference/gio/gdbus.xml | 1 + gio/gdbus-tool.c | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) commit fdb15058a4625e0f2eb56c56d945e032d8a833ca Author: Matthias Clasen Date: Sat Jun 12 18:40:45 2010 -0400 Avoid a race in application registration We need to register the object before taking the name. Remove the workarounds for this race from the test suite. gio/gdbusapplication.c | 45 ++++++++++++++++++++++++++------------------- gio/tests/testapps.c | 7 +------ 2 files changed, 27 insertions(+), 25 deletions(-) commit 5e03f273be30d0f5756102d49b20bbabc5743113 Author: Fran Diéguez Date: Sat Jun 12 17:47:40 2010 +0200 Updated Galician translations po/gl.po | 1290 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 663 insertions(+), 627 deletions(-) commit 19012ada573221aeedaa982336f2f7b945860bb3 Author: Matthias Clasen Date: Sat Jun 12 01:55:25 2010 -0400 Accept no-reply errors This can happen if the app quits before the dbus reply can be sent out. gio/tests/testapps.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 330cdfbdf1959af90506aa24cc276a20b00878b8 Author: Matthias Clasen Date: Fri Jun 11 23:21:49 2010 -0400 Make the tests not fall over every other time gio/tests/testapps.c | 80 +++++++++++++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 30 deletions(-) commit 32f2e9a85beedeea36ac7623f68f6eb878465d44 Author: David Zeuthen Date: Fri Jun 11 15:45:18 2010 -0400 Bug 621213 – GDBusProxy and well-known names Allow constructing a GDBusProxy for well-known names as discussed here http://mail.gnome.org/archives/gtk-devel-list/2009-October/msg00075.html including test cases. Make it possible to create a GDBusProxy for a GBusType instead of a GDBusConnection. This requires G_BUS_TYPE_NONE so add that too. Nuke g_bus_watch_proxy() since one can now more or less use GDBusProxy for this. Port gdbus-example-watch-proxy to this new API and include this example in the GDBusProxy doc page. Also nuke the GType parameter from the GDBusProxy constructors as requested here: https://bugzilla.gnome.org/show_bug.cgi?id=621229 Also update the porting guide and other API docs for this change. Also fix a bug in the signal dispatching code so each subscriber only get notified once, not N times, for the same signal. Also add a test case for this. https://bugzilla.gnome.org/show_bug.cgi?id=621213 Signed-off-by: David Zeuthen docs/reference/gio/gio-docs.xml | 1 - docs/reference/gio/gio-sections.txt | 17 +- docs/reference/gio/migrating-gdbus.xml | 62 +- gio/Makefile.am | 2 - gio/gdbusconnection.c | 152 +++-- gio/gdbusproxy.c | 1071 ++++++++++++++++++++++++------ gio/gdbusproxy.h | 28 +- gio/gdbusproxywatching.c | 666 ------------------- gio/gdbusproxywatching.h | 115 ---- gio/gio.h | 1 - gio/gio.symbols | 16 +- gio/gioenums.h | 14 +- gio/tests/Makefile.am | 4 + gio/tests/gdbus-connection.c | 22 +- gio/tests/gdbus-example-proxy-subclass.c | 83 --- gio/tests/gdbus-example-watch-proxy.c | 149 +++-- gio/tests/gdbus-export.c | 5 - gio/tests/gdbus-introspection.c | 55 +- gio/tests/gdbus-peer.c | 1 - gio/tests/gdbus-proxy-well-known-name.c | 283 ++++++++ gio/tests/gdbus-proxy.c | 84 +-- gio/tests/gdbus-threading.c | 55 +- 22 files changed, 1508 insertions(+), 1378 deletions(-) commit e0f8d30dea3d9509867f29289835ea3d58b32730 Author: Ryan Lortie Date: Fri Jun 11 14:52:17 2010 -0400 gitignore GApplication test-cases gio/tests/.gitignore | 5 +++++ 1 file changed, 5 insertions(+) commit 0fc60514fcf9b0d38292ca3a9c416943f722227a Author: Felix Riemann Date: Fri Jun 11 00:10:05 2010 +0200 Close memory leak in GSettings Fixes bug #621252. gio/gsettings.c | 1 + 1 file changed, 1 insertion(+) commit aeb41b56e123a4946fd76e89b2cf47a46e6411f6 Author: Alexander Larsson Date: Fri Jun 11 09:59:56 2010 +0200 converter streams: make code more readable The name buffer_availabile was kinda confusing, so its been renamed to buffer_data_size() to match buffer_data(). Also I added a comment to buffer_ensure_space because its behaviour wasn't obvious. gio/gconverterinputstream.c | 26 ++++++++++++++------------ gio/gconverteroutputstream.c | 26 ++++++++++++++------------ 2 files changed, 28 insertions(+), 24 deletions(-) commit 6858ab20330ec31322dacbbdfaf66838fdcbfb78 Author: Jürg Billeter Date: Fri May 28 11:00:37 2010 +0200 Use correct offset for buffer data in GConverterOutputStream Otherwise we overwrite already converted data in the case that more than one call to g_converter_convert is necessary in write() or flush(). https://bugzilla.gnome.org/show_bug.cgi?id=619945 gio/gconverteroutputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 86592d675ff8f1bf0f647fe926ea6085e7b1f2bc Author: Jürg Billeter Date: Thu May 27 16:55:53 2010 +0200 Ensure we always have some target space in GConverterOutputStream When the converter fills the whole buffer without reading all input, we need to enlarge the buffer. Otherwise we get an assertion failure for `outbuf_size > 0' in g_converter_convert. https://bugzilla.gnome.org/show_bug.cgi?id=619945 gio/gconverteroutputstream.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 85ea72c0c5716b6ebd62272e17e8e4e3b9014f65 Author: Christian Dywan Date: Fri Jun 11 09:46:47 2010 +0200 Add a regression test for GConverterOutputStream corruption See bug #619945 for background gio/tests/converter-stream.c | 54 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit ceee4c21a31e01009960af1be331154f47548291 Author: Ryan Lortie Date: Thu Jun 10 22:35:31 2010 -0400 GSettings test case fixes - call g_settings_sync() - fix bug #618715 by not forking if a backend is specified via environment variable gio/tests/gsettings.c | 53 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 39 insertions(+), 14 deletions(-) commit a8b5353b1480edbb6a28afe39056bf6a64a1e42d Author: Ryan Lortie Date: Thu Jun 10 22:30:44 2010 -0400 Add g_settings_sync() and use it docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsettings-tool.c | 19 +------------------ gio/gsettings.c | 28 ++++++++++++++++++++++++++++ gio/gsettings.h | 1 + gio/gsettingsbackend.c | 15 +++++++++++++++ gio/gsettingsbackendinternal.h | 2 ++ 7 files changed, 49 insertions(+), 18 deletions(-) commit afea703422001cbbe8bbd2e13842008a482cd9ae Author: Ryan Lortie Date: Thu Jun 10 15:27:46 2010 -0400 Implement byteswapping in the reader gvdb-reader.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 7c36619d269284597d5df4f366b6389df9bcf617 Author: Colin Walters Date: Thu Jun 10 14:02:15 2010 -0400 [Gio] Merge in introspection annotations from gobject-introspection gio-2.0.c This is not an exhaustive set, but covers everything we have so far. gio/gappinfo.c | 10 +++++----- gio/gdesktopappinfo.c | 6 +++--- gio/gdrive.c | 2 +- gio/gfile.c | 34 +++++++++++++++++----------------- gio/gfileenumerator.c | 2 +- gio/gfileinfo.c | 14 +++++++------- gio/gfilenamecompleter.c | 2 +- gio/gfilterinputstream.c | 2 +- gio/gfilteroutputstream.c | 2 +- gio/goutputstream.c | 6 +++--- gio/gvolume.c | 8 ++++---- gio/gvolumemonitor.c | 6 +++--- 12 files changed, 47 insertions(+), 47 deletions(-) commit 3a062d2e33aa1d54dd460a1a2cb297009d94d4d6 Author: Ryan Lortie Date: Thu Jun 10 13:49:57 2010 -0400 GSettings: store (default, options) in gvdb gvdb just dropped the ability to have a separate "options" field. We now store the options into a GVariant along with the default value. For now, we use a small shim in GSettingsSchema in order not to touch too much code. A more complete rewrite will follow. This represents a change to the schema file format with another likely to follow. glib-compile-schemas needs to be re-run after installing this change. gio/gschema-compile.c | 7 +++---- gio/gsettings.c | 12 +++++------- gio/gsettingsschema.c | 25 ++++++++++++++++--------- gio/gsettingsschema.h | 3 +++ 4 files changed, 27 insertions(+), 20 deletions(-) commit 73007021796f33d7ccec4e5f2bb2b2f8660347f2 Merge: 45e604d 9a8cba9 Author: Ryan Lortie Date: Thu Jun 10 13:35:25 2010 -0400 Merge remote branch 'gvdb/master' commit 9a8cba9eb53f105b752aac7bb16c7c83c6617caf Author: Ryan Lortie Date: Thu Jun 10 13:34:56 2010 -0400 drop "options" support gvdb-builder.c | 41 ----------------------------------------- gvdb-builder.h | 3 --- gvdb-format.h | 2 -- gvdb-reader.c | 32 ++------------------------------ gvdb-reader.h | 3 +-- 5 files changed, 3 insertions(+), 78 deletions(-) commit 45e604d029980f90a7304b6311fc43cc0cc2ab69 Author: Tomeu Vizoso Date: Thu Jun 10 18:29:23 2010 +0200 Add _with_closures alternative functions for those in GDBus that accept more than one callback. g_bus_own_name_with_closures g_bus_own_name_on_connection_with_closures g_bus_watch_name_with_closures g_bus_watch_name_on_connection_with_closures g_bus_watch_proxy_with_closures g_bus_watch_proxy_on_connection_with_closures https://bugzilla.gnome.org/show_bug.cgi?id=621092 docs/reference/gio/gio-sections.txt | 6 ++ gio/gdbusnameowning.c | 173 ++++++++++++++++++++++++++++++++++ gio/gdbusnameowning.h | 14 +++ gio/gdbusnamewatching.c | 149 +++++++++++++++++++++++++++++ gio/gdbusnamewatching.h | 11 +++ gio/gdbusproxywatching.c | 177 +++++++++++++++++++++++++++++++++++ gio/gdbusproxywatching.h | 19 ++++ gio/gio.symbols | 6 ++ gio/pltcheck.sh | 2 +- 9 files changed, 556 insertions(+), 1 deletion(-) commit 8cab5e46934554d899274dd96e6a1d5fbbbc9ea6 Author: Colin Walters Date: Wed Jun 9 17:17:14 2010 -0400 [GApplication] Tweak docs a bit gio/gapplication.c | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) commit cc19922183b18683da192cc7371a510cf648ec64 Author: Colin Walters Date: Tue Jun 8 21:43:16 2010 -0400 Rewrite apps test to ensure children are killed Create a function run_with_application that both ensures the app is running exactly while the test is running, which most of the tests use. We start it beforehand, and kill it after. This avoids having any interdependence between the tests (and there definitely was before, because we didn't wait for the process to actually terminate after a kill() call). Also, open a pipe between the two, and have the child app monitor that pipe. If it gets closed (e.g. because the parent died), the child exits. This is the most reliable way to avoid stale children; before, if we failed an assertion, the parent would abort, and not run kill(). https://bugzilla.gnome.org/show_bug.cgi?id=621034 gio/tests/testapp.c | 50 ++--- gio/tests/testapps.c | 512 ++++++++++++++++++++++++++------------------------ 2 files changed, 298 insertions(+), 264 deletions(-) commit 8d3fea9cff848d1b45c0a6371ef448c11d992757 Author: Ryan Lortie Date: Thu Jun 10 08:06:32 2010 -0400 Mention GVariant format string docs from iter docs It's not entirely clear what @format_string in iter_next() and iter_loop() should be. Include a link to the GVariant format string docs as a hint. glib/gvariant.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 507c266c3bdf03d9d75ad11bb346f013172f5ad5 Author: Tor Lillqvist Date: Thu Jun 10 11:52:25 2010 +0300 Plug memory leak on Windows Intern the string returned from g_win32_getlocale() and then free it. Fixes bug #621168. glib/gutils.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 6720596544112a40e8133aea86672197edb46eed Author: Matthias Clasen Date: Wed Jun 9 23:44:13 2010 -0400 Fix GApplication tests to run without a session bus We reuse code from the GDBus tests here to launch a session bus. gio/tests/Makefile.am | 4 ++-- gio/tests/application.c | 15 ++++++++++++++- gio/tests/testapps.c | 15 ++++++++++++++- 3 files changed, 30 insertions(+), 4 deletions(-) commit db0c55608f0500e8ab47a222a644ea3085b80151 Author: David Zeuthen Date: Wed Jun 9 17:57:04 2010 -0400 GDBusConnection: Do not dispatch calls to unregistered objects or subtrees There was a slight race where we ended up calling into user code if the user managed to unregister an object (or subtree) in the window between - processing the remote call on the worker thread; and - continuing handling it on the user code thread (via an idle handler) This patch fixes the problem. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 117 insertions(+), 6 deletions(-) commit ed7f59770e01623fa411530c81cbb04f73555a4c Author: David Zeuthen Date: Wed Jun 9 17:08:34 2010 -0400 GDBusProxy: Fix error handling in synchronous initialization codepath Signed-off-by: David Zeuthen gio/gdbusproxy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 653921e17a00d161a25b21d61ff12b8d03208202 Author: Ryan Lortie Date: Wed Jun 9 12:43:13 2010 -0400 g_variant_builder_add_parsed: fix type error Problem caught by Juan A. Suarez Romero glib/gvariant-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f265319b59239f7ad74283b79a62e28afe4ff111 Author: Richard Hughes Date: Wed Jun 9 09:36:47 2010 +0100 Do not do update-po at distcheck time to avoid touching files checked into version control po/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1951c39c44afad8273e2978b4c1420e975882934 Author: David Zeuthen Date: Wed Jun 9 10:56:35 2010 -0400 Bug 621119 – GDBusProxy and objects with no properties Fix proxy construction for objects with no properties in the case where G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES isn't set. The unfortunate side-effect here is that GDBusProxy can no longer be used to test for "object existence", e.g. creating a GDBusProxy for any path and interface will not fail. But that's not really a big deal, if apps rely on that they are doing something very wrong. https://bugzilla.gnome.org/show_bug.cgi?id=621119 Signed-off-by: David Zeuthen gio/gdbusproxy.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) commit 67193f55c3201e32405c5a15621d49f703b83f8f Author: Juan A. Suarez Romero Date: Wed Jun 9 10:27:39 2010 +0200 Fix warning Disable functions defined but not used. gio/tests/filter-streams.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 992e07c8b2e8f75bcc87c30e1ac2aca1ccf432e3 Author: Juan A. Suarez Romero Date: Wed Jun 9 10:23:39 2010 +0200 Fix warnings Do explicit casts to avoid warnings. gio/inotify/inotify-helper.c | 2 +- gio/tests/memory-output-stream.c | 2 +- tests/testglib.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 2b72587bedfe293964529aa9f6d6034e7976209b Author: blue dark Date: Wed Jun 9 15:13:14 2010 +0800 Updated zh_CN translation. po/ChangeLog | 4 + po/zh_CN.po | 1682 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 859 insertions(+), 827 deletions(-) commit d8dca11733e483670f47fa5c4d8f4a5cb97f6b5b Author: Christian Persch Date: Tue Jun 8 19:40:58 2010 +0200 Fix thinko When replacing strcmp() with g_variant_is_of_type(), remove the "== 0" part! Found by Colin Walters. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ed183b572db48d0091f9c6ee5e3e005a382c66a Author: Colin Walters Date: Tue Jun 8 11:21:48 2010 -0400 [GDBusConnection] Use Gio's default async implementation again The fix was committed in git. https://bugzilla.gnome.org/show_bug.cgi?id=620990 gio/gdbusconnection.c | 46 +--------------------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) commit 06e74ca96928550a31fc05991df01e68300d8a45 Author: Christian Persch Date: Tue Jun 8 13:40:38 2010 +0200 g_dbus_method_invocation_return_value consumes the floating variant Bug #620953. gio/gdbusmethodinvocation.c | 1 + 1 file changed, 1 insertion(+) commit 2ab9a07ec79b7dd979253340cf7a471048be0c8f Author: Christian Persch Date: Tue Jun 8 13:36:58 2010 +0200 Simplify variant builder Build the full return value with one builder, and don't unref the unowned return value! Bug #620954. gio/gdbusapplication.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit d3b091f63abde2f7de587986a65004ddf2c4ed2a Author: Christian Persch Date: Tue Jun 8 13:36:00 2010 +0200 Use g_variant_is_of_type() ... instead of strcmp()'ing the type strings. Bug #620954. gio/gapplication.c | 2 +- gio/gdbusapplication.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b75e7eb95d4782160a88ea7c4dc714368807408c Author: Christian Persch Date: Tue Jun 8 13:35:22 2010 +0200 Plug a mem leak Bug #620954. gio/gdbusapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 471c4e413c91e0bae040de4e048a9846a1447515 Author: Javier Jardón Date: Tue Jun 8 16:25:38 2010 +0200 [docs] Fix typos in some g_file_* functions Reported by Alexander Saprykin in bug https://bugzilla.gnome.org/show_bug.cgi?id=620947 gio/gfile.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit b482eab3fa14edabb9f237d4a2cf1e6b2ad6e388 Author: Matthias Clasen Date: Tue Jun 8 01:10:17 2010 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a963c659cad268a6689d941bd5a06ab5a12abf1 Author: Matthias Clasen Date: Tue Jun 8 01:09:06 2010 -0400 2.25.8 po/af.po | 74 +-- po/am.po | 74 +-- po/ar.po | 74 +-- po/as.po | 74 +-- po/ast.po | 74 +-- po/az.po | 74 +-- po/be.po | 74 +-- po/be@latin.po | 74 +-- po/bg.po | 74 +-- po/bn.po | 74 +-- po/bn_IN.po | 74 +-- po/bs.po | 74 +-- po/ca.po | 74 +-- po/ca@valencia.po | 74 +-- po/cs.po | 74 +-- po/cy.po | 74 +-- po/da.po | 74 +-- po/de.po | 74 +-- po/dz.po | 74 +-- po/el.po | 74 +-- po/en@shaw.po | 74 +-- po/en_CA.po | 74 +-- po/en_GB.po | 74 +-- po/eo.po | 805 +++++++++++++++++++++++-- po/es.po | 1268 +++++++++++++++++++-------------------- po/et.po | 74 +-- po/eu.po | 74 +-- po/fa.po | 74 +-- po/fi.po | 74 +-- po/fr.po | 74 +-- po/ga.po | 74 +-- po/gl.po | 1249 +++++++++++++++++++------------------- po/gu.po | 74 +-- po/he.po | 76 +-- po/hi.po | 74 +-- po/hr.po | 74 +-- po/hu.po | 74 +-- po/hy.po | 74 +-- po/id.po | 1252 +++++++++++++++++++------------------- po/is.po | 74 +-- po/it.po | 74 +-- po/ja.po | 74 +-- po/ka.po | 74 +-- po/kn.po | 74 +-- po/ko.po | 74 +-- po/ku.po | 74 +-- po/lt.po | 74 +-- po/lv.po | 74 +-- po/mai.po | 74 +-- po/mg.po | 74 +-- po/mk.po | 74 +-- po/ml.po | 74 +-- po/mn.po | 74 +-- po/mr.po | 74 +-- po/ms.po | 74 +-- po/nb.po | 1249 +++++++++++++++++++------------------- po/nds.po | 74 +-- po/ne.po | 74 +-- po/nl.po | 74 +-- po/nn.po | 74 +-- po/oc.po | 74 +-- po/or.po | 74 +-- po/pa.po | 74 +-- po/pl.po | 74 +-- po/ps.po | 74 +-- po/pt.po | 74 +-- po/pt_BR.po | 74 +-- po/ro.po | 74 +-- po/ru.po | 74 +-- po/rw.po | 74 +-- po/si.po | 74 +-- po/sk.po | 74 +-- po/sl.po | 1731 +++++++++++++++++++++++++---------------------------- po/sq.po | 74 +-- po/sr.po | 74 +-- po/sr@ije.po | 74 +-- po/sr@latin.po | 74 +-- po/sv.po | 74 +-- po/ta.po | 74 +-- po/te.po | 74 +-- po/th.po | 74 +-- po/tl.po | 74 +-- po/tr.po | 74 +-- po/tt.po | 74 +-- po/uk.po | 74 +-- po/vi.po | 74 +-- po/wa.po | 74 +-- po/xh.po | 74 +-- po/yi.po | 74 +-- po/zh_CN.po | 74 +-- po/zh_HK.po | 74 +-- po/zh_TW.po | 74 +-- 92 files changed, 7255 insertions(+), 6665 deletions(-) commit 795ddeb421eb01bbadf98e05657b92877cd93d96 Author: Matthias Clasen Date: Mon Jun 7 23:41:06 2010 -0400 Add missing marshaler gio/gio-marshal.list | 1 + 1 file changed, 1 insertion(+) commit e300c7e622d3e5a5e3eaa339c875484b0e4534eb Author: Matthias Clasen Date: Mon Jun 7 23:28:30 2010 -0400 Fix a missing parameter in a doc comment Pointed out by David Zeuthen. gio/gapplication.c | 1 + 1 file changed, 1 insertion(+) commit a89b10c1dc587cd6806954dc04c3f3e36ee393a5 Author: Matthias Clasen Date: Mon Jun 7 23:27:21 2010 -0400 Fix a signal signature GApplication::action was erroneously declaring the timestamp parameter as int instead of uint. gio/gapplication.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 063470ea0d1a97f964d3901b7873fddcbadc4c0d Author: Matthias Clasen Date: Mon Jun 7 22:34:07 2010 -0400 Fix a misspelt doc comment gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b11a7d3f20df2f44b3a97db58bb0ffd02a5f0c0 Author: Matthias Clasen Date: Mon Jun 7 22:22:39 2010 -0400 Add a lost
docs/reference/gio/gio-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 32b7fbb8907757d8c19c50b48f5917bbad18e43d Author: Matthias Clasen Date: Mon Jun 7 22:21:47 2010 -0400 Rename GApplication::appid to GApplication::application-id gio/gapplication.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit c59cc943188753e0f72a8e554f8142351970aa20 Author: Matthias Clasen Date: Mon Jun 7 21:53:32 2010 -0400 Fix !srcdir checks gio/tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 14c62ff722d74af3baca7cc527f316e4ab095dae Author: Matthias Clasen Date: Mon Jun 7 21:23:37 2010 -0400 Updates NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit fdc99873eeffc36ea2bb0423b586cc3115c76ed2 Author: Matthias Clasen Date: Mon Jun 7 18:27:33 2010 -0400 Document signals gio/gapplication.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) commit d68100afccc9260309e573bbcb9f0bb387044340 Author: Javier Jardón Date: Mon Jun 7 23:55:34 2010 +0200 [docs] GApplication is available since Gio 2.26 gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c2a539eff05f1afd43e1c3c0feb9c98ccfdd0a85 Author: Matthias Clasen Date: Mon Jun 7 17:48:09 2010 -0400 Use g types for consistency gio/gapplication.c | 26 +++++++++++++------------- gio/gapplication.h | 26 +++++++++++++------------- gio/gdbusapplication.c | 8 ++++---- gio/gnullapplication.c | 2 +- 4 files changed, 31 insertions(+), 31 deletions(-) commit 6427e93757dbc38cc53ffeb87ed814cdb9df0ed4 Author: Matthias Clasen Date: Mon Jun 7 13:25:39 2010 -0400 Merge the wip/gapplication branch This adds a GApplication object to GIO, which is the core of an application support class, supporting - uniqueness - exporting actions (simple scripting) - standard actions (quit, activate) The implementation for Linux uses D-Bus, takes a name on the session bus, and exports a org.gtk.Application interface. Implementations for Win32 and OS X are still missing. docs/reference/gio/gio-docs.xml | 4 + docs/reference/gio/gio-sections.txt | 32 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 5 + gio/gappinfo.c | 42 +- gio/gapplication.c | 1058 +++++++++++++++++++++++++++++++++++ gio/gapplication.h | 151 +++++ gio/gdbusapplication.c | 426 ++++++++++++++ gio/gdbusconnection.h | 2 +- gio/gdesktopappinfo.c | 12 + gio/gio-marshal.list | 3 + gio/gio.h | 1 + gio/gio.symbols | 21 + gio/gnullapplication.c | 70 +++ gio/tests/Makefile.am | 20 + gio/tests/appinfo-test.c | 20 + gio/tests/appinfo-test.desktop | 4 + gio/tests/appinfo.c | 25 + gio/tests/application.c | 134 +++++ gio/tests/testapp.c | 79 +++ gio/tests/testapps.c | 533 ++++++++++++++++++ 21 files changed, 2626 insertions(+), 17 deletions(-) commit af78f6d418788fa76a2c78298896f9c656d8eb85 Author: Ryan Lortie Date: Mon Jun 7 12:58:57 2010 +0200 Bug 620767 - Typo in GSettings documentation Use the correct variable name and work around the escaping of '@'. Expand/clarify the section on how translation of is handled. docs/reference/gio/migrating-gconf.xml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 486c46b9459f7b28528d9144296da9e4a32023d3 Author: Matthias Clasen Date: Mon Jun 7 06:23:24 2010 -0400 Include the right header docs/reference/gio/migrating-gconf.xml | 2 +- gio/tests/gsettings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 71c5e3f899bf15c9dee09b36f146c5e72652d72b Author: Ryan Lortie Date: Mon Jun 7 10:18:43 2010 +0200 Bug 620496 - schema compiler: reject invalid paths The GSettings schema compiler was accepting any string as a path. It is probably quite a common mistake to suspect that '/apps/foo' is a valid path name when this will cause all sorts of trouble later. Check for this case and report the error. gio/gschema-compile.c | 16 ++++++++++++++-- gio/tests/gschema-compile.c | 1 + gio/tests/schema-tests/invalid-path.gschema.xml | 3 +++ 3 files changed, 18 insertions(+), 2 deletions(-) commit a0c044b5c65500080c15e2c5e315bf87487e63b7 Author: Matthias Clasen Date: Sun Jun 6 16:42:06 2010 -0400 Make g_assertion_message_error take a const GError* This was requested in bug 620265. glib/gtestutils.c | 2 +- glib/gtestutils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 87ee5f36413ba421c58bd4e5cbf1d11a681c2abe Author: Christian Persch Date: Sun Jun 6 16:32:04 2010 -0400 Don't do an extra strlen when g_variant_get_string() returns it already gio/gdbusmessage.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 2aca3b506a2405927a621bb37447dc96b2aa6174 Author: Matthias Clasen Date: Sun Jun 6 16:20:21 2010 -0400 Add single-include guards to new headers As pointed out by Christian Persch in bug 620173, all the new gdbus and gsettings headers were missing these. gio/gcredentials.h | 4 ++++ gio/gdbusaddress.h | 4 ++++ gio/gdbusauthobserver.h | 4 ++++ gio/gdbusconnection.h | 4 ++++ gio/gdbuserror.h | 4 ++++ gio/gdbusintrospection.h | 4 ++++ gio/gdbusmessage.h | 4 ++++ gio/gdbusmethodinvocation.h | 4 ++++ gio/gdbusnameowning.h | 4 ++++ gio/gdbusnamewatching.h | 4 ++++ gio/gdbusproxy.h | 4 ++++ gio/gdbusproxywatching.h | 4 ++++ gio/gdbusserver.h | 4 ++++ gio/gdbusutils.h | 4 ++++ gio/gsettings.h | 4 ++++ 15 files changed, 60 insertions(+) commit 9371ca0cc27573174dfc0419e121f8ac718fe061 Author: Matthias Clasen Date: Sun Jun 6 16:15:44 2010 -0400 Sort gio.h includes alphabetically gio/gio.h | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) commit 3944a63fed37e86515178c362b478eafd80199c0 Author: Michael Natterer Date: Sun Jun 6 21:15:42 2010 +0200 gio: fix the build gio/gpermission.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 92fab483875c2d78ae2cb4749ae283cd26afa451 Author: Matthias Clasen Date: Sun Jun 6 14:22:48 2010 -0400 Some cleanups Always include config.h, make property strings for translation, add since tags. gio/gpermission.c | 49 +++++++++++++++++++++++++++++++++++++---------- gio/gsimplepermission.c | 6 +++++- po/POTFILES.in | 1 + 3 files changed, 45 insertions(+), 11 deletions(-) commit 40e10764b343b7cdcf270107d9a5b56e8fa142ec Author: Will Thompson Date: Thu Jun 3 15:09:09 2010 +0100 Add some symbols to glib-sections.txt Most of these are private; the few that aren't were already documented but not included in the gtkdoc output. docs/reference/glib/glib-sections.txt | 12 ++++++++++++ docs/reference/glib/tmpl/main.sgml | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) commit f291d3bb3ce1245981363395ac576d74e918cb0a Author: Will Thompson Date: Thu Jun 3 15:08:58 2010 +0100 Document G_GNUC_DEPRECATED_FOR docs/reference/glib/glib-sections.txt | 1 + docs/reference/glib/tmpl/macros_misc.sgml | 13 +++++++++++++ 2 files changed, 14 insertions(+) commit 157116b8dd58429335a16c4d0d2c8ee4ef287302 Author: Will Thompson Date: Thu Jun 3 14:50:19 2010 +0100 Add examples for G_STRINGIFY and G_PASTE docs/reference/glib/tmpl/macros_misc.sgml | 37 ++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) commit 28f9f03a3b7dc015ff1b0c6865a952e2ee0f17f3 Author: Will Thompson Date: Thu Jun 3 14:43:30 2010 +0100 Hide G_PASTE_ARGS in gtkdocs. docs/reference/glib/glib-sections.txt | 2 +- docs/reference/glib/tmpl/macros_misc.sgml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) commit a131beda54a15b071b6571b12f2f2ad8cb342c04 Author: Javier Jardón Date: Sun Jun 6 05:25:59 2010 +0200 [docs] Improve the g_get_system_config_dirs() docs. The retrieved list of directories is XDG_CONFIG_DIRS, Also mention the retrieved directory on Windows: CSIDL_COMMON_APPDATA glib/gutils.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit e08c7b86c43f3eb8c230355be5fa92b504e3fff9 Author: Javier Jardón Date: Sun Jun 6 05:13:06 2010 +0200 [docs] Improve the g_get_system_data_dirs() docs. The retrieved list of directories is XDG_DATA_DIRS glib/gutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 07777db60d82c8f81feb407ec453f244ba10787c Author: Javier Jardón Date: Sun Jun 6 05:05:15 2010 +0200 [docs] Improve the g_get_user_cache_dir() docs The retrieved directory is XDG_CACHE_HOME on UNIX platforms. Also mention the retrieved directory on Windows: CSIDL_INTERNET_CACHE. glib/gutils.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit e40b5ae3ef6a637f1469557b8d7be94a9cf59f6e Author: Javier Jardón Date: Sun Jun 6 04:57:46 2010 +0200 [docs] Improve the g_get_user_data_dir() docs The retrieved directory is XDG_DATA_HOME on UNIX platforms. Also mention the retrieved directory on Windows: CSIDL_PERSONAL. glib/gutils.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit b2718ee71ad85f2536e5e127239a5a438648de0c Author: Javier Jardón Date: Sat Jun 5 18:34:38 2010 +0200 [docs] Improve the g_get_user_config_dir() docs a bit The retrieved directory is XDG_CONFIG_HOME on UNIX platforms. Also mention the retrieved directory on Windows: CSIDL_APPDATA. glib/gutils.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 61f3f45cb95f022d99689e0fee9b0cb97c5112a3 Author: Ryan Lortie Date: Fri Jun 4 23:07:40 2010 +0200 add get_permission API to GSettingsBackend implement it in the various in-tree backends also, lots of whitespace changes to realign the vtable members gio/gdelayedsettingsbackend.c | 11 +++++++ gio/gkeyfilesettingsbackend.c | 9 ++++++ gio/gmemorysettingsbackend.c | 9 ++++++ gio/gnullsettingsbackend.c | 11 ++++++- gio/gsettingsbackend.c | 25 +++++++++++++++ gio/gsettingsbackend.h | 69 +++++++++++++++++++++------------------- gio/gsettingsbackendinternal.h | 3 ++ 7 files changed, 103 insertions(+), 34 deletions(-) commit 95c564cabe2837be56f2cf3901a4d6d9d84ab6c9 Author: Ryan Lortie Date: Fri Jun 4 23:02:44 2010 +0200 gsettingsbackend.h: pretend to be gio.h Since #include is a perfectly valid thing for applications to do, and since we want to include gio headers from gsettingsbackend.h, we need to effectively disable the #error we would get from those headers (because we're not coming via gio.h). We don't want to #include here because this would cause needless rebuilding of GSettingsBackend, GSettings, GDelayedSettingsBackend, etc... every time someone changed anything in any public header. gio/gsettingsbackend.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 473348817809f7aed492245469092901d28de91d Author: Ryan Lortie Date: Fri Jun 4 22:32:01 2010 +0200 Bug 620582 - a simple GPermission implementation add GSimplePermission, a trivial const implementation of GPermission can-request and can-release are always false for this implementation and the value of 'allowed' is decided at construction. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 8 ++++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.symbols | 7 +++ gio/giotypes.h | 1 + gio/gsimplepermission.c | 84 +++++++++++++++++++++++++++++++++++ gio/gsimplepermission.h | 45 +++++++++++++++++++ 8 files changed, 149 insertions(+) commit 0957f76878046d848ea42bab09d9b129a60476a5 Author: Matej Urbančič Date: Fri Jun 4 20:03:41 2010 +0200 Updated Slovenian translation po/sl.po | 1979 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1039 insertions(+), 940 deletions(-) commit 7a4860d69ad7b6daf6cce0063cbc52070d21bd7b Author: Ryan Lortie Date: Thu Jun 3 22:58:52 2010 +0200 Bug 620519 - GPermission Add an abstract interface representing the permission to perform an action. docs/reference/gio/gio-docs.xml | 4 + docs/reference/gio/gio-sections.txt | 21 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 16 ++ gio/giotypes.h | 1 + gio/gpermission.c | 390 +++++++++++++++++++++++++++++++++++ gio/gpermission.h | 118 +++++++++++ 9 files changed, 554 insertions(+) commit 07b5cee2a8273d7fdd20371b5494ecd320c3cd1c Author: Murray Cumming Date: Fri Jun 4 17:07:05 2010 +0200 Gio: gioenums.h: Remove trailing commas to avoid C++ warnings. gio/gioenums.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit af3f4cbe77584acabf289f4c3f9beccd6bfcfd21 Author: Javier Jardón Date: Sun May 30 14:56:55 2010 +0200 gdbusaddress: Fix typo gio/gdbusaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 644584e7e6bcff65e5bd819a4756dc7597526961 Author: Kristjan Schmidt Date: Thu Jun 3 18:19:31 2010 +0200 Updated Esperanto translation po/eo.po | 1661 +++++++++++++++++--------------------------------------------- 1 file changed, 437 insertions(+), 1224 deletions(-) commit e608b1f067c76db196a63723b50167a00ab39921 Author: Matthias Clasen Date: Thu Jun 3 11:40:02 2010 -0400 Don't spew a g_warning if inotify setup fails We use is_supported when we are trying to find a local file monitor implementation that works, and having the g_warning in there trips the test suite. gio/inotify/inotify-helper.c | 1 - 1 file changed, 1 deletion(-) commit 9562726f35b3e19d5d50d4e2e01bd8c37c7727ab Author: Ryan Lortie Date: Thu Jun 3 11:24:31 2010 +0200 Bug 620350 - add g_variant_builder_add_parsed() A delicious blend of g_variant_new_parsed() and g_variant_builder_add_value(). Now available in a GLib near you. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant-parser.c | 44 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 3 +++ 4 files changed, 49 insertions(+) commit 44db2b6b7447680fa3f8d3bce6f2bda26a6b498e Author: Ryan Lortie Date: Thu Jun 3 09:41:33 2010 +0200 Bug 620349 – utf8ify GVariant printer Take advantage of our knowledge that GVariant strings are always valid utf8 when printing and parsing: - allow valid printing unicode characters to pass through unescaped - escape non-printing characters using \uxxxx or \Uxxxxxxxx format - do the same in the parser - update existing test cases to use utf8, add a new test case glib/gvariant-parser.c | 64 +++++++++++++++++++++++++++++++++++++---------- glib/gvariant.c | 65 ++++++++++++++++++++++++++++++++++++++++++------ glib/tests/gvariant.c | 26 ++++++++++++++++--- 3 files changed, 132 insertions(+), 23 deletions(-) commit 36826661401f1912eef8c710609f4bd6454720ad Author: Milan Bouchet-Valat Date: Wed Jun 2 16:05:13 2010 +0200 Annotate GVariant and GSettings _strv() functions Add GObject introspection annotations so that the length parameter is correctly detected for g_variant_new_strv(), g_variant_get_strv() and g_variant_dup_strv(). Also specify that it can be a NULL pointer in g_variant_get_strv() and g_variant_dup_strv(). For g_settings_set_strv(), detect that a NULL value is allowed, meaning empty array. Closes bug #620384. Signed-off-by: Ryan Lortie gio/gsettings.c | 2 +- glib/gvariant.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) commit 0e691f27ecfe1d7f86214f16c00f91fc55f95e9c Author: Ryan Lortie Date: Wed Jun 2 19:34:45 2010 +0200 improve gitignore (systemtap) .gitignore | 1 + 1 file changed, 1 insertion(+) commit 20ab1e667308741de01fa9d1afc106dcd8b313d9 Author: Kjartan Maraas Date: Wed Jun 2 15:41:01 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 1305 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 659 insertions(+), 646 deletions(-) commit b5c8496b4c06fc7be5672e29a771064d3247d0cc Author: Ryan Lortie Date: Wed Jun 2 04:00:58 2010 +0200 Support NULL value for g_settings_set_strv() Allow easy setting of the empty array that we lost with the last patch. gio/gsettings.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit bf9edb5cd5a75a4bc9946f0ef106c3d541fdb89f Author: Milan Bouchet-Valat Date: Tue Jun 1 23:16:19 2010 +0200 Remove length parameter for g_settings_[gs]et_strv Length of the array is redundant since it's NULL-terminated. This is not consistent with many GLib and GTK+ functions, and adds complexity with no real gain, while these convenience functions should be kept simple. Closes bug #620312 gio/gsettings.c | 12 ++++-------- gio/gsettings.h | 6 ++---- 2 files changed, 6 insertions(+), 12 deletions(-) commit dc7b1c5b42175cd3e52b57c427545d6c4d9b1cee Author: Jorge González Date: Sun May 30 18:23:21 2010 +0200 Updated Spanish translation po/es.po | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 7d04f0a915f290b47382d8f2cc989cb6de91e781 Author: Fran Diéguez Date: Sun May 30 17:43:57 2010 +0200 Updated Galician translations po/gl.po | 83 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 42 deletions(-) commit 1afaeb9976334ebdcba53ab258aa3922a872bfb9 Author: Andika Triwidada Date: Sun May 30 17:10:51 2010 +0700 Updated Indonesian translation po/id.po | 1590 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 826 insertions(+), 764 deletions(-) commit be94532e634772115e5fabefb69c803a5c5e4672 Author: Jorge González Date: Sat May 29 12:06:16 2010 +0200 Updated Spanish translation po/es.po | 69 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 32 insertions(+), 37 deletions(-) commit b208c2d75654ee3cf6cadf0a796976426c7b3df0 Author: Jorge González Date: Fri May 28 20:21:02 2010 +0200 Updated Spanish translation po/es.po | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit e7c1aaf9259b64bc40d2851df9b988627e783421 Author: Jorge González Date: Fri May 28 19:45:51 2010 +0200 Updated Spanish translation po/es.po | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 5451cd0804f196f30a8cc58eee029c8b4acc54e0 Author: Yaron Shahrabani Date: Fri May 28 16:57:56 2010 +0300 Updated Hebrew translation. po/he.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit ecc5fbb479e529d17885e3b746f78c05758c1bb0 Author: Yaron Shahrabani Date: Fri May 28 16:54:58 2010 +0300 Updated Hebrew translation. po/he.po | 356 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 200 insertions(+), 156 deletions(-) commit c874a76a8bf4f3b31e480a9184983cd5e85aeb4c Author: Lin Ma Date: Fri May 28 16:57:10 2010 +0800 After talk with FEN dev, we dicide simply disable monitor function if the current filesystem doesn't suport FEN. gio/fen/fen-kernel.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8e41be13efe06a0bbd89beefc6e7ae7279b56834 Author: Alexander Larsson Date: Fri Jan 1 21:39:52 2010 +0100 Add dtrace and systemtap support for gobject This adds static markers and systemtap tapsets for: * type creation * object lifetimes (creation, ref, unref, dispose, finalize) * signal creation and emission Signal emissions and finalization marker have a corresponding *_end (or *-end in dtrace) version that is when the corresponding operation is finished. https://bugzilla.gnome.org/show_bug.cgi?id=606044 configure.in | 1 + gobject/Makefile.am | 22 +++++ gobject/gobject.c | 28 +++++-- gobject/gobject.stp.in | 199 ++++++++++++++++++++++++++++++++++++++++++++++ gobject/gobject_probes.d | 13 +++ gobject/gobject_trace.h | 43 ++++++++++ gobject/gsignal.c | 11 ++- gobject/gtype.c | 9 ++- 8 files changed, 316 insertions(+), 10 deletions(-) commit bef9efd0a99a9a3bd6a2d713423edc37d6a38f21 Author: Alexander Larsson Date: Fri Dec 18 21:25:47 2009 +0100 Initial support for dtrace and systemtap This adds static markers for dtrace, which are also usable by systemtap. Additionally it adds a tapset for systemtap that makes it easier to use the static markers. These are enabled by default. This initial set of probes is rather limited: * allocation and free using g_malloc & co * allocation and free using g_slice * gquark name tracking (useful for converting quarks to strings in probes) Notes on naming: Its traditional with dtrace to use probe names with dashes as delimiter (slice-alloc). Since dashes are not usable in identifiers the C code uses double underscores (slice__alloc) which is converted to dashes in the UI. We follow this for the shared lowlevel probe names. Additionally dtrace supports putting a "provider" part in the probe names which is essentially a namespacing thing. On systemtap this field is currently ignored (but may be implemented in the future), but this is not really a problem since in systemtap the probes are specified by combining the solib file and the marker name, so there can't really be name conflicts. For the systemtap tapset highlevel probes we instead use names that are systemtapish with single dashes as separators. https://bugzilla.gnome.org/show_bug.cgi?id=606044 configure.in | 53 +++++++++++++++++++++++ docs/reference/glib/building.sgml | 42 +++++++++++++++++++ docs/reference/glib/running.sgml | 13 ++++++ glib/Makefile.am | 23 ++++++++++ glib/gdataset.c | 6 ++- glib/glib.stp.in | 84 +++++++++++++++++++++++++++++++++++++ glib/glib_probes.d | 8 ++++ glib/glib_trace.h | 43 +++++++++++++++++++ glib/gmem.c | 52 ++++++++++++++++++----- glib/gslice.c | 5 +++ 10 files changed, 317 insertions(+), 12 deletions(-) commit c3bc0f4f8fc5125a732f383671ee5bff939423d2 Author: Mikhail Zabaluev Date: Thu May 27 14:00:12 2010 -0400 Optimized the overlong sequence check in g_utf8_get_char_extended() Rather make it branch to get the due sequence length for the resulting character code, we can as well get the minimum code value in the initial branching. glib/gutf8.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit 30a856294613ab1119c0972b35bac5bbf3294692 Author: Ryan Lortie Date: Thu May 27 13:11:49 2010 -0400 GSettings schema docs: mention need for EXTRA_DIST Mention that you will need to use EXTRA_DIST for your schema file if it is distributed with your project. docs/reference/gio/migrating-gconf.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) commit f2687f588e3a2b338242d73b6898eb93689b264b Author: Ryan Lortie Date: Thu May 27 13:07:54 2010 -0400 Remove duplicate copies of migration docs Fixup for commit 133f66538dbf266be3c99b34f1eeee0a5e6068ac which duplicated the contents of most of the migration documentation by splitting it out into separate files but keeping the original file intact (with a rename). This removes the duplicated content from the renamed file. docs/reference/gio/migrating-posix.xml | 554 -------------------------------- 1 file changed, 554 deletions(-) commit b3593693d918f0ae97094f6712d817180b8eea6a Author: Ryan Lortie Date: Thu May 27 11:58:54 2010 -0400 gsettings m4: check for .xml in src/builddir This checks for the .gschema.xml file in the srcdir and builddir and runs the schema validation on which one it finds. This handles non-srcdir builds in both cases: .gschema.xml is in the tarball and .gschema.xml is generated. m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7927faf1792ad4c3c8a5b599240a7ee94b1a0cc Author: Ryan Lortie Date: Thu May 27 11:32:34 2010 -0400 GVariant: One more FreeBSD fix FreeBSD's malloc() sometimes returns unaligned memory if you are requesting small sizes. This can get GVariant into trouble. For example, consider the type "mmi" containing the value "just nothing". According to the type signature, the memory containing this should be aligned to a boundary of 4 since it might contain an int. The serialised size of this value is 1 byte, however, and when you ask FreeBSD to allocate memory of that size, it knows you can't put an int into it so it doesn't bother aligning it. This patch modifies the GVariant serialiser to not assert the alignment constraint in the case that the size of the serialised data is smaller than its own alignment requirement. glib/gvariant-serialiser.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 271997deb56cc17af5fa7b59b3a67f4ee347be6c Author: Ryan Lortie Date: Wed May 26 23:34:31 2010 -0400 More alignment-related fixes. Partial-backout 8a21d8d23317ecebe46007f1fd5f7459bf182415. The assertions should have remained relaxed since these functions are used with non-posix_memalign()ed data. glib/tests/gvariant.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 866e3dda60d7de45ae7f6c962a0bb4167abd8147 Author: Lin Ma Date: Thu May 27 10:24:58 2010 +0800 Remove unused code. gio/fen/fen-node.c | 13 ------------- 1 file changed, 13 deletions(-) commit 91ec834456b419c0270072d52d28b365aa160dfb Author: Ryan Lortie Date: Wed May 26 17:35:18 2010 -0400 include "config.h" for HAVE_POSIX_MEMALIGN glib/tests/gvariant.c | 2 ++ 1 file changed, 2 insertions(+) commit 8a21d8d23317ecebe46007f1fd5f7459bf182415 Author: Ryan Lortie Date: Wed May 26 17:31:52 2010 -0400 Use aligned memory in GVariant test cases. The GVariant serialiser works well with non-8-aligned memory, but the comparison serialiser in the test case depends on memory being 8-aligned. Use posix_memalign() to get the memory used by this serialiser. glib/tests/gvariant.c | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) commit 183102104a3762bab4c50fc54cd11979ca085859 Author: Colin Walters Date: Wed May 26 16:21:15 2010 -0400 [mainloop-test] Fix compilation errors tests/mainloop-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba1163a33cdfb7f67cbd311ae2b74ae40831cd05 Author: Colin Walters Date: Wed May 26 15:59:36 2010 -0400 [tests/gvariant] Handle flavored_free(NULL), since flavored_malloc can return NULL glib/tests/gvariant.c | 2 ++ 1 file changed, 2 insertions(+) commit 88a1e6c1021644f9ae42c558b23e3c6a1e4055a6 Author: Jorge González Date: Wed May 26 18:12:22 2010 +0200 Updated Spanish translation po/es.po | 389 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 201 insertions(+), 188 deletions(-) commit 39123880387b19f034ae0bed9492d5a1b4f026ab Author: Jorge González Date: Wed May 26 18:09:46 2010 +0200 Updated Spanish translation po/es.po | 1361 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 696 insertions(+), 665 deletions(-) commit 798eed43a2ee756b32651559f95ce55f0a448e7b Author: Lin Ma Date: Wed May 26 14:32:37 2010 +0800 bugster#6955199, on hsfs portfs will fail, and FEN backend will fail to run lstat and port_associate on root node. gio/fen/fen-node.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 6b53e4826fba3827ac7273a344b46f854ee81d0b Author: Havoc Pennington Date: Tue Apr 20 17:47:44 2010 -0400 GSource: add g_source_set_name, g_source_get_name, g_source_set_name_by_id These allow applications to give meaningful names to their sources. Source names can then be used for debugging and profiling, for example with systemtap or gdb. https://bugzilla.gnome.org/show_bug.cgi?id=606044 glib/gmain.c | 5 ++++- tests/mainloop-test.c | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit e5696c282e2c48ac0f822c4e6d33c8507a77e998 Author: Havoc Pennington Date: Tue Apr 20 17:47:44 2010 -0400 GSource: add g_source_set_name, g_source_get_name, g_source_set_name_by_id These allow applications to give meaningful names to their sources. Source names can then be used for debugging and profiling, for example with systemtap or gdb. https://bugzilla.gnome.org/show_bug.cgi?id=606044 glib/glib.symbols | 3 ++ glib/gmain.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++- glib/gmain.h | 9 +++++- 3 files changed, 93 insertions(+), 2 deletions(-) commit eec66b2f9424dd6db25867ee0a32e0341def15b8 Author: David Zeuthen Date: Tue May 25 11:59:57 2010 -0400 GDBus: Big-endian fixes Tested this on my Powerbook G4 12", 867MHz PowerPC G4 running Fedora 11ish. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 8 ++++++-- gio/tests/gdbus-threading.c | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) commit a81c2f2c7ad260bc3033648bb274a3b321df8b49 Author: Ryan Lortie Date: Tue May 25 11:25:34 2010 -0400 GVariant: deal with non-8-aligned malloc() Closes bug #619585. glib/gvariant-serialiser.c | 18 +++++++++++ glib/tests/gvariant.c | 72 ++++++++++++++++++++++++++++---------------- 2 files changed, 64 insertions(+), 26 deletions(-) commit 9e25ec592ba32797230650b2236935deb2022960 Author: Matthias Clasen Date: Tue May 25 10:43:29 2010 -0400 Document that vtable is not copied gio/gdbusconnection.c | 4 ++++ 1 file changed, 4 insertions(+) commit 857a40fafb98934c954649e712bc35633438ebcf Author: Fran Diéguez Date: Tue May 25 09:56:33 2010 +0200 Updated Galician translations po/gl.po | 1270 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 646 insertions(+), 624 deletions(-) commit 32c84552f6dfb05f990e8740a75c8b1fed753ea8 Author: Ryan Lortie Date: Mon May 24 23:21:01 2010 -0400 .gitignore manpages (*.1) docs/reference/.gitignore | 1 + 1 file changed, 1 insertion(+) commit dcd13e39be34ec4b396bab4dbaa976d2917cf7b5 Author: Ryan Lortie Date: Mon May 24 23:03:36 2010 -0400 post-release version bump. configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2db2d13fdbfe80d89cb4d5fecfa13619909f4ac5 Author: Ryan Lortie Date: Mon May 24 23:02:18 2010 -0400 Release 2.25.7. NEWS | 34 + docs/reference/glib/tmpl/i18n.sgml | 11 + po/af.po | 297 +++++---- po/am.po | 293 ++++---- po/ar.po | 297 +++++---- po/as.po | 297 +++++---- po/ast.po | 297 +++++---- po/az.po | 293 ++++---- po/be.po | 296 +++++---- po/be@latin.po | 300 +++++---- po/bg.po | 297 +++++---- po/bn.po | 297 +++++---- po/bn_IN.po | 297 +++++---- po/bs.po | 293 ++++---- po/ca.po | 297 +++++---- po/ca@valencia.po | 297 +++++---- po/cs.po | 297 +++++---- po/cy.po | 297 +++++---- po/da.po | 297 +++++---- po/de.po | 297 +++++---- po/dz.po | 293 ++++---- po/el.po | 297 +++++---- po/en@shaw.po | 297 +++++---- po/en_CA.po | 297 +++++---- po/en_GB.po | 297 +++++---- po/eo.po | 293 ++++---- po/es.po | 297 +++++---- po/et.po | 672 ++++++++++++++++++- po/eu.po | 297 +++++---- po/fa.po | 293 ++++---- po/fi.po | 297 +++++---- po/fr.po | 297 +++++---- po/ga.po | 297 +++++---- po/gl.po | 1287 ++++++++++++++++++------------------ po/gu.po | 297 +++++---- po/he.po | 297 +++++---- po/hi.po | 297 +++++---- po/hr.po | 293 ++++---- po/hu.po | 297 +++++---- po/hy.po | 293 ++++---- po/id.po | 297 +++++---- po/is.po | 293 ++++---- po/it.po | 297 +++++---- po/ja.po | 297 +++++---- po/ka.po | 293 ++++---- po/kn.po | 297 +++++---- po/ko.po | 297 +++++---- po/ku.po | 293 ++++---- po/lt.po | 297 +++++---- po/lv.po | 293 ++++---- po/mai.po | 297 +++++---- po/mg.po | 293 ++++---- po/mk.po | 297 +++++---- po/ml.po | 297 +++++---- po/mn.po | 293 ++++---- po/mr.po | 297 +++++---- po/ms.po | 293 ++++---- po/nb.po | 1274 ++++++++++++++++++----------------- po/nds.po | 297 +++++---- po/ne.po | 293 ++++---- po/nl.po | 297 +++++---- po/nn.po | 297 +++++---- po/oc.po | 293 ++++---- po/or.po | 297 +++++---- po/pa.po | 297 +++++---- po/pl.po | 297 +++++---- po/ps.po | 297 +++++---- po/pt.po | 297 +++++---- po/pt_BR.po | 297 +++++---- po/ro.po | 297 +++++---- po/ru.po | 297 +++++---- po/rw.po | 296 +++++---- po/si.po | 293 ++++---- po/sk.po | 297 +++++---- po/sl.po | 297 +++++---- po/sq.po | 311 +++++---- po/sr.po | 297 +++++---- po/sr@ije.po | 293 ++++---- po/sr@latin.po | 297 +++++---- po/sv.po | 297 +++++---- po/ta.po | 297 +++++---- po/te.po | 297 +++++---- po/th.po | 297 +++++---- po/tl.po | 293 ++++---- po/tr.po | 297 +++++---- po/tt.po | 293 ++++---- po/uk.po | 297 +++++---- po/vi.po | 297 +++++---- po/wa.po | 293 ++++---- po/xh.po | 293 ++++---- po/yi.po | 293 ++++---- po/zh_CN.po | 297 +++++---- po/zh_HK.po | 297 +++++---- po/zh_TW.po | 297 +++++---- 94 files changed, 15547 insertions(+), 14083 deletions(-) commit 47e07f9f78e7fc9e4d7e8fb96420009560662519 Author: Ryan Lortie Date: Mon May 24 22:37:43 2010 -0400 another occurrence of the last fix (@XSLTPROC@) docs/reference/gobject/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b295e6a28a590ada8f8d3c3a50fb5250dd339eed Author: Ryan Lortie Date: Mon May 24 22:35:33 2010 -0400 man pages: fix broken @XSLTPROC@ substitution docs/reference/glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 84a0605342368c2edad99abd364791bf3b2ebc14 Author: Ryan Lortie Date: Mon May 24 22:20:47 2010 -0400 change GSettingsBackend.list() API gio/gsettingsbackend.c | 2 +- gio/gsettingsbackend.h | 60 +++++++++++++++++++++++++----------------------- 2 files changed, 32 insertions(+), 30 deletions(-) commit 1b7f64549258c971fcc7c15ebfb532e4bc0b4174 Author: Matthias Clasen Date: Mon May 24 21:09:55 2010 -0400 Improve the g_file_make_symbolic_link docs Following a proposal by Neil Williams in bug 619527. gio/gfile.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 77b9a4646179daae04590ab1f62d575be93e1f89 Author: Ryan Lortie Date: Mon May 24 17:03:26 2010 -0400 GIO: Add g_d{,c}gettext to PLT check exceptions gio/pltcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3160bcad6a0cf3c1f1042b85f38492a5674324a3 Author: Ryan Lortie Date: Mon May 24 16:46:24 2010 -0400 GDBusConnection.call(): add 'reply_type' argument This allows the caller to specify the reply type that they are expecting for this call. If the reply comes back with the wrong type, GDBus will generate an appropriate error internally. - add a GVariantType * argument to g_dbus_connection_call() and _call_sync(). - move the internal API for computing message types from introspection data to be based on GVariantType instead of strings. Update users of this code. - have GDBusProxy pass this calculated GVariantType into g_dbus_connection_call(). Remove the checks done in GDBusProxy. - Update other users of the code (test cases, gdbus-tool, GSettings tool, etc). In some cases, remove redundant checks; in some other cases, we are fixing bugs because no checking was done where it should have been. Closes bug #619391. gio/gdbus-tool.c | 49 ++------- gio/gdbusconnection.c | 236 ++++++++++++++++++++++++++++------------ gio/gdbusconnection.h | 2 + gio/gdbusmethodinvocation.c | 28 ++--- gio/gdbusnameowning.c | 2 + gio/gdbusnamewatching.c | 2 + gio/gdbusprivate.c | 30 ++--- gio/gdbusprivate.h | 3 +- gio/gdbusproxy.c | 78 ++++--------- gio/gsettings-tool.c | 2 +- gio/tests/gdbus-connection.c | 11 +- gio/tests/gdbus-example-peer.c | 1 + gio/tests/gdbus-export.c | 2 +- gio/tests/gdbus-names.c | 2 + gio/tests/gdbus-threading.c | 6 +- 15 files changed, 246 insertions(+), 208 deletions(-) commit 100df5287d51fd005d64f2c06f4fe4276da1c4d8 Author: Richard Hughes Date: Mon May 24 17:22:38 2010 +0100 Fix up a typo in the g_variant_builder_add() docs glib/gvariant.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a83a9a43ed2f461fea7a652470a3ef376aebd1f2 Author: Tor Lillqvist Date: Mon May 24 11:22:41 2010 +0300 Most of the gdbus test programs build only on Unix gio/tests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d7b077dc84b22c4502e27252d32303d9985f9aeb Author: Kjartan Maraas Date: Sun May 23 16:27:17 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 1381 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 704 insertions(+), 677 deletions(-) commit b1bf5a5bb9725b1468ae82b636e35288fd3cf3ad Author: Kjartan Maraas Date: Sun May 23 16:27:08 2010 +0200 Add two missing files po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit 3caef4eef0c6ae946333633c1e27f4548a1ce42b Author: Fran Diéguez Date: Sun May 23 00:22:48 2010 +0200 Updated Galician translations po/gl.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 925a6f29114769d575ecdfbaaf5c236517edb98f Author: Fran Diéguez Date: Sun May 23 00:20:26 2010 +0200 Updated Galician translations po/gl.po | 64 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 23 deletions(-) commit c17bb8f44514027c36825c1ca16ce67ae291c3ad Author: Fran Diéguez Date: Thu May 20 21:52:11 2010 +0200 Updated Galician translations po/gl.po | 290 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 148 insertions(+), 142 deletions(-) commit 8db946fdfb71167dd8b740b4ba20213303a0f2bf Author: Matthias Clasen Date: Fri May 21 22:28:42 2010 -0400 Clean up man page handling Remove all formatted man pages from git, and use the same Makefile fragment in all doc dirs. docs/reference/glib/Makefile.am | 30 ++- docs/reference/glib/glib-gettextize.1 | 71 ------- docs/reference/glib/gtester-report.1 | 44 ----- docs/reference/glib/gtester.1 | 101 ---------- docs/reference/gobject/Makefile.am | 35 +++- docs/reference/gobject/glib-genmarshal.1 | 307 ------------------------------ docs/reference/gobject/glib-mkenums.1 | 246 ------------------------ docs/reference/gobject/gobject-query.1 | 83 -------- gobject/Makefile.am | 2 - gobject/glib-genmarshal.1 | 212 --------------------- gobject/glib-mkenums.1 | 169 ---------------- 11 files changed, 48 insertions(+), 1252 deletions(-) commit d818bebf4949617fdf5ffc7833c8f87ccca5c1a1 Author: Ryan Lortie Date: Fri May 21 20:08:49 2010 -0400 add .SECONDARY: rule to preserve generated schemas If the .gschema.xml file was generated as the result of an implicit make rule then make would 'rm' it after creating the validity stamp. This would cause 'make install' to fail. m4macros/gsettings.m4 | 2 ++ 1 file changed, 2 insertions(+) commit bf24dff88eb3c794ae846cb7b8397510407ad9f5 Author: David Zeuthen Date: Fri May 21 12:09:27 2010 -0400 Return an error for calls into unknown interfaces or unknown objects Ryan pointed out on IRC that we didn't do anything here. Looking at the code, it's painfully obvious that we should be returning an error here since a comment already says that we've exhausted all possible options. Signed-off-by: David Zeuthen gio/gdbusconnection.c | 10 +++++++++- gio/tests/gdbus-export.c | 12 ++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) commit c7f0f2c4377c5fd242c52d30a09df74e6d6e9828 Author: Christian Persch Date: Fri May 14 14:00:24 2010 +0200 Use stack-allocated GVariantBuilders This saves a few allocations. Also simplify the code a bit in gdbusconnection. Bug #618616. gio/gdbusconnection.c | 19 ++++++------------- gio/gdbusmessage.c | 30 +++++++++++++++--------------- 2 files changed, 21 insertions(+), 28 deletions(-) commit 41b3f6885d26908627c8a132f63aab4ba1d83582 Author: Christian Persch Date: Thu May 20 00:54:51 2010 +0200 Add g_dc[p]gettext, and use it in gsettings Avoid using LC_MESSAGES, and just call g_d[c]gettext directly. Bug #617004. docs/reference/glib/glib-sections.txt | 1 + gio/gsettings.c | 7 ++----- glib/glib.symbols | 1 + glib/gstrfuncs.c | 27 +++++++++++++++++++++++++++ glib/gstrfuncs.h | 4 +++- po/Makefile.in.in | 2 ++ 6 files changed, 36 insertions(+), 6 deletions(-) commit e8f723245a4b1667949dc9715bc5bc2f263317a4 Author: Fran Diéguez Date: Thu May 20 19:30:39 2010 +0200 Updated Galician translations po/gl.po | 1274 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 644 insertions(+), 630 deletions(-) commit 366b3ffcde4f19cabf8685efdc1ccd20dcade0ca Author: David Zeuthen Date: Thu May 20 10:51:00 2010 -0400 Bug 619142 – Build fixes - Fix various #include issues - Change #error to #warning for the EXTERNAL authentication mechanism. It is not clear if this should work on Win32 at all. - Call close() before unlink() for the SHA1 keyring - Change #error to #warning so we don't forget to do permission checking of the .dbus-keyrings directory - Use Win32 SID for the SHA1 auth mech - Apparently we can't use word 'interface' as an identifier - Implement a _g_dbus_win32_get_user_sid() function. For now it's private. Don't know if it should be public somewhere. Maybe in a future GCredentials support for Win32? I don't know. - GFileDescriptorBased is not available on Win32. So avoid using it in GLocalFile stuff. Now, Win32 still uses GLocalFile + friends (which works with file descriptors) so expose a private function to get the fd for an OutputStream so things still work. - Fixup gio.symbols - Fixup tests/gdbus-peer.c so it builds With this, at least things compile and the gdbus-peer.exe test case passes. Which is a great start. I've tested this by cross-compiling on a x86_64 Fedora 13 host using mingw32 and running the code on a 32-bit Windows 7 box. https://bugzilla.gnome.org/show_bug.cgi?id=619142 Signed-off-by: David Zeuthen gio/gdbusaddress.c | 6 +++ gio/gdbusauth.c | 8 ++-- gio/gdbusauthmechanismexternal.c | 4 +- gio/gdbusauthmechanismsha1.c | 27 ++++++-------- gio/gdbusconnection.c | 2 + gio/gdbusmessage.c | 20 +++++----- gio/gdbusmessage.h | 4 +- gio/gdbusprivate.c | 76 ++++++++++++++++++++++++++++++++++++++ gio/gdbusprivate.h | 4 ++ gio/gdbusserver.c | 7 ++++ gio/gio.symbols | 12 +++++- gio/glocalfileinputstream.c | 20 ++++++++-- gio/glocalfileiostream.c | 8 +++- gio/glocalfileoutputstream.c | 30 ++++++++++++--- gio/glocalfileoutputstream.h | 6 +++ gio/tests/Makefile.am | 2 +- gio/tests/gdbus-peer.c | 18 +++++++++ 17 files changed, 208 insertions(+), 46 deletions(-) commit 152448cb299cd1b22da585dcd7e86ee6e27e1169 Author: Ivar Smolin Date: Thu May 20 14:56:46 2010 +0300 Estonian translation updated po/et.po | 704 ++++---------------------------------------------------------- 1 file changed, 41 insertions(+), 663 deletions(-) commit 3b8d0a4ac2df7d055168dff2ca360489adbea563 Author: Javier Jardón Date: Thu May 20 01:55:58 2010 +0200 Add G_TYPE_CLASS_GET_PRIVATE macro to docs docs/reference/gobject/gobject-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 2dfc7b0294542954539940955bef1b93a95513e0 Author: Ryan Lortie Date: Wed May 19 17:38:17 2010 -0400 Version bump. configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d4648965e4dee14955ade5eb94221ad5da5f45b8 Author: Ryan Lortie Date: Wed May 19 17:32:42 2010 -0400 Release 2.25.6 NEWS | 27 + po/af.po | 633 ++++++++++++++++++++- po/am.po | 631 ++++++++++++++++++++- po/ar.po | 635 ++++++++++++++++++++- po/as.po | 637 ++++++++++++++++++++- po/ast.po | 637 ++++++++++++++++++++- po/az.po | 632 ++++++++++++++++++++- po/be.po | 652 +++++++++++++++++++++- po/be@latin.po | 655 +++++++++++++++++++++- po/bg.po | 637 ++++++++++++++++++++- po/bn.po | 637 ++++++++++++++++++++- po/bn_IN.po | 637 ++++++++++++++++++++- po/bs.po | 632 ++++++++++++++++++++- po/ca.po | 637 ++++++++++++++++++++- po/ca@valencia.po | 637 ++++++++++++++++++++- po/cs.po | 637 ++++++++++++++++++++- po/cy.po | 634 ++++++++++++++++++++- po/da.po | 639 ++++++++++++++++++++- po/de.po | 637 ++++++++++++++++++++- po/dz.po | 632 ++++++++++++++++++++- po/el.po | 648 ++++++++++++++++++++- po/en@shaw.po | 645 ++++++++++++++++++++- po/en_CA.po | 635 ++++++++++++++++++++- po/en_GB.po | 637 ++++++++++++++++++++- po/eo.po | 631 ++++++++++++++++++++- po/es.po | 1290 +++++++++++++++++++++--------------------- po/et.po | 637 ++++++++++++++++++++- po/eu.po | 637 ++++++++++++++++++++- po/fa.po | 632 ++++++++++++++++++++- po/fi.po | 637 ++++++++++++++++++++- po/fr.po | 637 ++++++++++++++++++++- po/ga.po | 633 ++++++++++++++++++++- po/gl.po | 1249 +++++++++++++++++++++-------------------- po/gu.po | 637 ++++++++++++++++++++- po/he.po | 637 ++++++++++++++++++++- po/hi.po | 637 ++++++++++++++++++++- po/hr.po | 632 ++++++++++++++++++++- po/hu.po | 637 ++++++++++++++++++++- po/hy.po | 632 ++++++++++++++++++++- po/id.po | 1608 ++++++++++++++++++++++++++++++++++++----------------- po/is.po | 632 ++++++++++++++++++++- po/it.po | 641 ++++++++++++++++++++- po/ja.po | 637 ++++++++++++++++++++- po/ka.po | 633 ++++++++++++++++++++- po/kn.po | 637 ++++++++++++++++++++- po/ko.po | 637 ++++++++++++++++++++- po/ku.po | 631 ++++++++++++++++++++- po/lt.po | 637 ++++++++++++++++++++- po/lv.po | 631 ++++++++++++++++++++- po/mai.po | 634 ++++++++++++++++++++- po/mg.po | 632 ++++++++++++++++++++- po/mk.po | 635 ++++++++++++++++++++- po/ml.po | 637 ++++++++++++++++++++- po/mn.po | 632 ++++++++++++++++++++- po/mr.po | 637 ++++++++++++++++++++- po/ms.po | 632 ++++++++++++++++++++- po/nb.po | 637 ++++++++++++++++++++- po/nds.po | 632 ++++++++++++++++++++- po/ne.po | 632 ++++++++++++++++++++- po/nl.po | 646 ++++++++++++++++++++- po/nn.po | 635 ++++++++++++++++++++- po/oc.po | 631 ++++++++++++++++++++- po/or.po | 637 ++++++++++++++++++++- po/pa.po | 637 ++++++++++++++++++++- po/pl.po | 637 ++++++++++++++++++++- po/ps.po | 634 ++++++++++++++++++++- po/pt.po | 637 ++++++++++++++++++++- po/pt_BR.po | 637 ++++++++++++++++++++- po/ro.po | 637 ++++++++++++++++++++- po/ru.po | 637 ++++++++++++++++++++- po/rw.po | 644 ++++++++++++++++++++- po/si.po | 633 ++++++++++++++++++++- po/sk.po | 632 ++++++++++++++++++++- po/sl.po | 637 ++++++++++++++++++++- po/sq.po | 669 ++++++++++++++++++++-- po/sr.po | 637 ++++++++++++++++++++- po/sr@ije.po | 632 ++++++++++++++++++++- po/sr@latin.po | 637 ++++++++++++++++++++- po/sv.po | 637 ++++++++++++++++++++- po/ta.po | 637 ++++++++++++++++++++- po/te.po | 637 ++++++++++++++++++++- po/th.po | 637 ++++++++++++++++++++- po/tl.po | 632 ++++++++++++++++++++- po/tr.po | 637 ++++++++++++++++++++- po/tt.po | 631 ++++++++++++++++++++- po/uk.po | 637 ++++++++++++++++++++- po/vi.po | 637 ++++++++++++++++++++- po/wa.po | 632 ++++++++++++++++++++- po/xh.po | 632 ++++++++++++++++++++- po/yi.po | 631 ++++++++++++++++++++- po/zh_CN.po | 637 ++++++++++++++++++++- po/zh_HK.po | 637 ++++++++++++++++++++- po/zh_TW.po | 637 ++++++++++++++++++++- 93 files changed, 56499 insertions(+), 4314 deletions(-) commit caae8ac57a2d24a5de21d1ac6d6122897a418e72 Author: Ryan Lortie Date: Wed May 19 16:02:05 2010 -0400 Add --uninstall option to glib-compile-schemas If --uninstall is given then don't give an error if the schema directory is empty. Instead, erase the gschemas.compiled file, if it exists. This is the right thing to do in the 'make uninstall' rule, where the schema directory could very well be left empty as a result. Modify gsettings.m4 to use this option. gio/gschema-compile.c | 15 +++++++++++++-- m4macros/gsettings.m4 | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) commit b59a5551ecd448187d752d93a06c2298db121ace Author: Ryan Lortie Date: Tue May 18 18:28:39 2010 -0400 Bug 619038 - increase gsettings.m4 power handle schema checking, installation, uninstallation, cleaning docs/reference/gio/migrating-gconf.xml | 21 +++++----- m4macros/gsettings.m4 | 71 +++++++++++++++++++++++--------- 2 files changed, 61 insertions(+), 31 deletions(-) commit 3e3779b7d0edbdfbea38655e353d0723a1b918d5 Author: Tor Lillqvist Date: Wed May 19 10:47:02 2010 +0300 Make config.h.win32.in match what configure produces No semantic changes. config.h.win32.in | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 8eb377b6f6661022a1917b8cd465ed3e52fecf88 Author: Ryan Lortie Date: Tue May 18 18:24:04 2010 -0400 glib-compile-schemas rename missed in docs change a mention of gschema_compile in the docs docs/reference/gio/migrating-gconf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 257c519ba2ed91f7dfc94d5a07a0cc6c7a3644f1 Author: Javier Jardón Date: Tue May 18 23:45:54 2010 +0200 Fix trivial typo in GCredentials code Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618839 gio/gcredentials.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 719e2dcb3b35dbab9cfaa7d0f711b0949b57ad35 Author: Ryan Lortie Date: Tue May 18 17:25:43 2010 -0400 Bug 619031 - method-calls-in-thread test failing The test was assuming that g_timeout_add() waited for at least the amount of time given to it before running the function. This is not the case -- the function can be run as much as 1ms early. Make the lower time bound asserted in the test more permissive to account for this. gio/tests/gdbus-threading.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 6067f9f794954b8545776e14d059a7bb15d99e99 Author: Ryan Lortie Date: Tue May 18 16:43:36 2010 -0400 Bug 618839 - Typo at translation message Fix trivial typo in GCredentials code gio/gcredentials.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12a8c0f50d72829af4cc436a455396bf5190b40e Author: Ryan Lortie Date: Tue May 18 16:13:58 2010 -0400 Add sync method to GSettingsBackend, and pad gio/gsettingsbackend.h | 3 +++ 1 file changed, 3 insertions(+) commit 7fcf353325a41b75701688364a497d5790ea83a0 Author: Ryan Lortie Date: Tue May 18 13:43:42 2010 -0400 whitespace fix gio/gsettingsbackend.h | 56 ++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 28 deletions(-) commit 587bdf3f0acfdc46e708214c5201336d81e3307c Author: Robert Ancell Date: Tue May 18 12:01:25 2010 +1000 Add missing gunixfdlist.h include in gdbus-example-server.c gio/tests/gdbus-example-server.c | 1 + 1 file changed, 1 insertion(+) commit a977f032358325c8ad558f675530569add68daaf Author: David Zeuthen Date: Mon May 17 19:51:49 2010 -0400 GDBus: Fix obvious crasher when looking up annotations Signed-off-by: David Zeuthen gio/gdbusintrospection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 74cafe871c42c21e7485ee7d80257ef987819979 Author: Fran Diéguez Date: Mon May 17 23:59:42 2010 +0200 Updated Galician translations po/gl.po | 629 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 607 insertions(+), 22 deletions(-) commit a621e0ed10eb8a7c5b89ee1d96ae877908e4d74b Author: David Zeuthen Date: Mon May 17 11:08:53 2010 -0400 gdbus(1): Don't fetch props if introspection data indicates none are available Signed-off-by: David Zeuthen gio/gdbus-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98e4f7f6fbd1b8ac889327559a50e4369d064a74 Author: David Zeuthen Date: Mon May 17 11:07:53 2010 -0400 GDBus: Fix introspection of objects registered at / Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 799e0242ae31dd66b102342927583f1f34806c54 Author: Ryan Lortie Date: Sun May 16 16:56:36 2010 -0400 improve thread safety in GDelayedSettingsBackend - hold a lock while accessing the tree of delayed values - use weak reference counts with the owner object to avoid doing g_object_notify on a dead object - dispatch the "has-unapplied" notify to the proper main context gio/gdelayedsettingsbackend.c | 128 ++++++++++++++++++++++++++++++++++------ gio/gdelayedsettingsbackend.h | 5 +- gio/gsettings.c | 4 +- gio/gsettingsbackend.c | 6 +- gio/gsettingsbackendinternal.h | 2 + 5 files changed, 121 insertions(+), 24 deletions(-) commit 61219e264083184eada5c5ef2795b7c531470704 Author: Ryan Lortie Date: Sun May 16 14:17:34 2010 -0400 GSettingsBackend: make signal dispatch threadsafe This commit fixes up a few race conditions in the GSettingsBackend, mostly with respect to change notifications occuring at the same time as the last reference count on a GSettings is dropped. With GDBus feeding us our incoming signals in a separate thread, this is something that could easily happen. gio/gdelayedsettingsbackend.c | 40 ++-- gio/gsettings.c | 43 ++--- gio/gsettingsbackend.c | 410 ++++++++++++++++++++++++---------------- gio/gsettingsbackendinternal.h | 26 +-- 4 files changed, 301 insertions(+), 218 deletions(-) commit 4967b6d2ab5a0a83609a825ea113bc75f61bfdb1 Author: Ryan Lortie Date: Sun May 16 18:14:46 2010 +0200 gitignore additions for gdbus, new test cases gio/.gitignore | 1 + gio/tests/.gitignore | 23 ++++++++++++++++++++++- glib/tests/.gitignore | 1 + 3 files changed, 24 insertions(+), 1 deletion(-) commit 984258c662d3f571fcd0ea415923aec7a3746826 Author: Ryan Lortie Date: Sun May 16 13:02:23 2010 +0200 GSettings: support emitting signals in threads The thread-default context that was in effect at the time that the GSettings was created will be used for emitting signals on that GSettings. gio/gdelayedsettingsbackend.c | 2 +- gio/gsettings.c | 18 ++++++ gio/gsettingsbackend.c | 139 +++++++++++++++++++++++++++++++++++++++- gio/gsettingsbackendinternal.h | 2 + 4 files changed, 159 insertions(+), 2 deletions(-) commit 849684e540bb714bc60c2bce3a086e5ffb8933c0 Author: Ryan Lortie Date: Sun May 16 13:03:34 2010 +0200 GSettings tool: work-around GDBus issue There is currently no way (near as I can tell) to ensure that a message has been sent when using GDBus. If we exit() before we are sure, then it is very possible that the message isn't sent at all. This behaviour was observed when using the GSettings commandline tool with dconf. A quick and dirty workaround for now. gio/gsettings-tool.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 8e060adb2cecb7a801d54e3cbdb0c6eb12f56c12 Author: Ryan Lortie Date: Sun May 16 10:19:46 2010 +0200 intern a key name instead of using strdup() gio/gsettings.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e5440f865d79795061cf5e64d8ed7300222c4a79 Author: Lin Ma Date: Mon May 17 14:42:52 2010 +0800 Reworked Solaris file event notification for GIO. See https://defect.opensolaris.org/bz/show_bug.cgi?id=10194 Updated copyright. gio/fen/Makefile.am | 6 - gio/fen/fen-data.c | 718 ------------------------------------- gio/fen/fen-data.h | 89 ----- gio/fen/fen-dump.c | 43 +-- gio/fen/fen-dump.h | 4 +- gio/fen/fen-helper.c | 326 +++++------------ gio/fen/fen-helper.h | 13 +- gio/fen/fen-kernel.c | 775 ++++++++++++++++++++-------------------- gio/fen/fen-kernel.h | 35 +- gio/fen/fen-missing.c | 121 ------- gio/fen/fen-missing.h | 38 -- gio/fen/fen-node.c | 762 ++++++++++++++++++++++++--------------- gio/fen/fen-node.h | 97 +++-- gio/fen/fen-sub.c | 42 --- gio/fen/fen-sub.h | 39 -- gio/fen/gfendirectorymonitor.c | 95 +++-- gio/fen/gfendirectorymonitor.h | 3 + gio/fen/gfenfilemonitor.c | 32 +- gio/fen/gfenfilemonitor.h | 3 + 19 files changed, 1114 insertions(+), 2127 deletions(-) commit 794a4a8dbda6b63b15705d689c9785fc07ff7a40 Author: Jorge González Date: Mon May 17 07:41:48 2010 +0200 Updated Spanish translation po/es.po | 1648 +++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 1142 insertions(+), 506 deletions(-) commit 2ec41fad532c046b04b55e0a2b7883b344727c64 Author: Matthias Clasen Date: Sun May 16 13:07:25 2010 -0400 Add GDBus files to POTFILES.in po/POTFILES.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit d899c57a819685f2a9e66927f040cbdfea8ae572 Author: Fran Diéguez Date: Sun May 16 16:31:25 2010 +0200 Updated Galician translations po/gl.po | 1022 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 518 insertions(+), 504 deletions(-) commit b298c9430e197ca7f31ecfa0089f51e410bced36 Author: Andika Triwidada Date: Sun May 16 16:30:38 2010 +0700 Updated Indonesian translation po/id.po | 1966 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 945 insertions(+), 1021 deletions(-) commit 5d379f1c37ee8b5eb7020ebf7165290f5258045e Author: Sebastian Dröge Date: Sat May 15 10:17:35 2010 +0200 Fix gio tests linking with binutils gold linker gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit e6c08a458c6b6b6eb12b39593bc356dd2d215aec Author: Sebastian Dröge Date: Sat May 15 10:13:28 2010 +0200 Fix build of gdbus tool with binutils gold linker gio/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4b0fd52e52968723ee2a415f0d2fae965aa96867 Author: Matthias Clasen Date: Sat May 15 18:23:23 2010 -0400 Expand information about schema translation I have added some hints on how to use intltool for translation of summary and description elements, taken from comments in bug #618523. docs/reference/gio/migrating-gconf.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 2ad4b2d716220f0ef45bbeb56fb90a7438afa21a Author: Matthias Clasen Date: Sat May 15 18:15:30 2010 -0400 Fix build on !linux Don't define __USE_GNU, thats a glibc-internal macro, and don't use SOL_SOCKET when not including sys/socket.h. Maybe this file should be called glinuxcredentialsmessage.c... Bug #618730 gio/gunixcredentialsmessage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 63d74caabe6f7b85ad13cad922fff239911fb5a0 Author: Christian Persch Date: Sat May 15 11:56:21 2010 +0200 Use the new option name It's --schema-file now, not --schema-files. Bug #616864. m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50f422b5fd10fd4b709d2c5babce7fdc4987ff36 Author: Matthias Clasen Date: Fri May 14 22:30:19 2010 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5810cce252cc3d42377a0dca9a6d8c0a68eaf031 Author: Matthias Clasen Date: Fri May 14 22:28:46 2010 -0400 2.25.5 po/af.po | 2 +- po/am.po | 2 +- po/ar.po | 2 +- po/as.po | 2 +- po/ast.po | 2 +- po/az.po | 2 +- po/be.po | 2 +- po/be@latin.po | 2 +- po/bg.po | 2 +- po/bn.po | 2 +- po/bn_IN.po | 2 +- po/bs.po | 2 +- po/ca.po | 2 +- po/ca@valencia.po | 2 +- po/cs.po | 2 +- po/cy.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/dz.po | 2 +- po/el.po | 2 +- po/en@shaw.po | 2 +- po/en_CA.po | 2 +- po/en_GB.po | 2 +- po/eo.po | 2 +- po/es.po | 1009 ++++++++++++++++++++++++++--------------------------- po/et.po | 2 +- po/eu.po | 2 +- po/fa.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- po/ga.po | 2 +- po/gl.po | 2 +- po/gu.po | 2 +- po/he.po | 2 +- po/hi.po | 2 +- po/hr.po | 2 +- po/hu.po | 2 +- po/hy.po | 2 +- po/id.po | 2 +- po/is.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ka.po | 2 +- po/kn.po | 2 +- po/ko.po | 2 +- po/ku.po | 2 +- po/lt.po | 2 +- po/lv.po | 2 +- po/mai.po | 2 +- po/mg.po | 2 +- po/mk.po | 2 +- po/ml.po | 2 +- po/mn.po | 2 +- po/mr.po | 2 +- po/ms.po | 2 +- po/nb.po | 2 +- po/nds.po | 2 +- po/ne.po | 2 +- po/nl.po | 2 +- po/nn.po | 2 +- po/oc.po | 2 +- po/or.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/ps.po | 2 +- po/pt.po | 2 +- po/pt_BR.po | 2 +- po/ro.po | 2 +- po/ru.po | 2 +- po/rw.po | 2 +- po/si.po | 2 +- po/sk.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr.po | 2 +- po/sr@ije.po | 2 +- po/sr@latin.po | 2 +- po/sv.po | 2 +- po/ta.po | 2 +- po/te.po | 2 +- po/th.po | 2 +- po/tl.po | 2 +- po/tr.po | 2 +- po/tt.po | 2 +- po/uk.po | 2 +- po/vi.po | 2 +- po/wa.po | 2 +- po/xh.po | 2 +- po/yi.po | 2 +- po/zh_CN.po | 2 +- po/zh_HK.po | 2 +- po/zh_TW.po | 2 +- 92 files changed, 589 insertions(+), 602 deletions(-) commit 34020f9dd4f497066ff79c0ab7cc534e21abc66b Author: Matthias Clasen Date: Fri May 14 22:03:03 2010 -0400 Updates NEWS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 2ed13de1533a1fafaac97be0fdc4154eb84ac35c Author: Matthias Clasen Date: Fri May 14 21:58:08 2010 -0400 Fix issues with GSETTINGS_CHECK_RULE Rename the --schema-files option to --schema-file, since it only accepts one file at a time. Change the GSETTINGS_CHECK_RULE to use it that way, too. And also make it work better with !srcdir builds. Bugs #616731 and #616864 gio/gschema-compile.c | 2 +- gio/tests/gschema-compile.c | 2 +- m4macros/gsettings.m4 | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) commit 763c1dab1f2c92526330425d77211b704668a3a3 Author: David Zeuthen Date: Fri May 14 21:08:01 2010 -0400 GDBus: Use specific variant type in GetAll() Without this fix, we segfault if the exported object returned an error on all get_property() calls (in reality, this never happens). Signed-off-by: David Zeuthen gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4baf104f0a369348185a2e2c9fdebc1423ec7f8e Author: David Zeuthen Date: Fri May 14 20:52:15 2010 -0400 GDBus: Fix a double free Fix an unintentional double free introduced in commit 4ad4c306c3b80620185cf975b402e17a6174aea9. This bug manifested itself when trying to complete this $ gdbus introspect --system --dest gio/gdbus-tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 661e5ea69f2d370af6e4e9c73242cf158414dd5d Author: Christian Persch Date: Fri May 14 20:07:15 2010 +0200 Plug mem leaks in gdbus tests & examples Use "&s" instead of "s", and free the variant iters after use. Bug #618663. gio/tests/gdbus-example-peer.c | 4 ++-- gio/tests/gdbus-example-proxy-subclass.c | 12 +++--------- gio/tests/gdbus-example-server.c | 2 +- gio/tests/gdbus-example-subtree.c | 6 +++--- gio/tests/gdbus-example-watch-proxy.c | 12 ++++-------- gio/tests/gdbus-export.c | 8 +++----- gio/tests/gdbus-introspection.c | 2 +- gio/tests/gdbus-peer.c | 8 ++++---- gio/tests/gdbus-proxy.c | 2 +- 9 files changed, 22 insertions(+), 34 deletions(-) commit 60c53fef4788d4773704cb1affd2fb0f4d1d8830 Author: Christian Persch Date: Fri May 14 18:21:01 2010 +0200 Plug a mem leak in gdbusauth From valgrind running gdbus-peer test: ==20513== 32 bytes in 1 blocks are definitely lost in loss record 1 of 15 ==20513== at 0x4024E4C: realloc (vg_replace_malloc.c:429) ==20513== by 0x4079BB1: g_realloc (gmem.c:174) ==20513== by 0x4099472: g_string_maybe_expand (gstring.c:396) ==20513== by 0x409A42A: g_string_insert_c (gstring.c:1050) ==20513== by 0x42169AC: g_string_append_c_inline (gstring.h:153) ==20513== by 0x421682C: _my_g_input_stream_read_line_safe (gdbusauth.c:336) ==20513== by 0x421843E: _g_dbus_auth_run_server (gdbusauth.c:1265) ==20513== by 0x4222B94: initable_init (gdbusconnection.c:1783) ==20513== by 0x41CF8D5: g_initable_init (ginitable.c:106) ==20513== by 0x41CFA8D: g_initable_new_valist (ginitable.c:219) ==20513== by 0x41CF920: g_initable_new (ginitable.c:139) ==20513== by 0x4223479: g_dbus_connection_new_sync (gdbusconnection.c:2046) Bug #618650. gio/gdbusauth.c | 1 + 1 file changed, 1 insertion(+) commit 5bc9d43288d4991b9c3ef1fc38d231113b633ec7 Author: Christian Persch Date: Fri May 14 14:27:08 2010 +0200 Plug mem leak in g_dbus_address_get_stream_sync ==6279== 21,615 (4,708 direct, 16,907 indirect) bytes in 169 blocks are definitely lost in loss record 12 of 13 ==6279== at 0x4024D2E: malloc (vg_replace_malloc.c:207) ==6279== by 0x4079A90: g_malloc (gmem.c:135) ==6279== by 0x4079DC8: g_malloc_n (gmem.c:252) ==6279== by 0x4097E66: g_strsplit (gstrfuncs.c:2434) ==6279== by 0x42169A2: g_dbus_address_get_stream_sync (gdbusaddress.c:875) Bug #618622. gio/gdbusaddress.c | 2 ++ 1 file changed, 2 insertions(+) commit dc39825aa3b1556e57460df1cca0b764a5741a66 Author: Christian Persch Date: Fri May 14 14:22:45 2010 +0200 Plug a mem leak in get_uninitialized_connection Free the bus address after creating the singleton. ==26308== 39,736 (10,517 direct, 29,219 indirect) bytes in 388 blocks are definitely lost in loss record 14 of 15 ==26308== at 0x4024D2E: malloc (vg_replace_malloc.c:207) ==26308== by 0x4079A90: g_malloc (gmem.c:135) ==26308== by 0x4079DC8: g_malloc_n (gmem.c:252) ==26308== by 0x4095607: g_strdup (gstrfuncs.c:102) ==26308== by 0x4216B9A: g_dbus_address_get_for_bus_sync (gdbusaddress.c:961) ==26308== by 0x422A7AE: get_uninitialized_connection (gdbusconnection.c:5241) Bug #618622. gio/gdbusconnection.c | 1 + 1 file changed, 1 insertion(+) commit 5b2c7f10bd5a42d2956b53b13f3aabb947f901dd Author: Christian Persch Date: Fri May 14 14:15:42 2010 +0200 Plug mem leaks in parse_value_from_blob The result of read_string() was leaked. Bug #618615. gio/gdbusmessage.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0a7c0ac74bd55d06265e9441c5728119adc254ab Author: Christian Persch Date: Fri May 14 18:08:29 2010 -0400 Plug a mem leak This code leaked the return value of g_variant_get_child_value(); use g_variant_get() instead and free the iter when done. gio/gdbusproxy.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit ddc94bd0a65a17471e50d0c659d9c59a1804c3f1 Author: David Zeuthen Date: Fri May 14 12:55:25 2010 -0400 GDBus: Remove cached value if a property is invalidated Also add a test case to catch this. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 6 ++++++ gio/tests/gdbus-proxy.c | 36 ++++++++++++++++++++++++++++++++++++ gio/tests/gdbus-testserver.py | 16 ++++++++++++++++ 3 files changed, 58 insertions(+) commit bb6530eb34a16cbf34ce130c21071a25666a704b Author: David Zeuthen Date: Fri May 14 12:49:51 2010 -0400 GDBus: Fix serialization of empty arrays It turns out that we didn't observe padding (neither when reading nor writing) for empty arrays which (apparently) is needed according to the D-Bus spec and reference implementation. A simple test case to provoke this behavior is as follows (notice the lack of 4 bytes worth of padding at position 0x0064): Error calling dbus_message_demarshal() on this blob: org.freedesktop.DBus.Error.InvalidArgs: Message is corrupted (Alignment padding not null) 0000: 6c 01 00 01 2e 00 00 00 41 00 00 00 37 00 00 00 l.......A...7... 0010: 08 01 67 00 08 73 61 7b 73 76 7d 61 73 00 00 00 ..g..sa{sv}as... 0020: 01 01 6f 00 08 00 00 00 2f 66 6f 6f 2f 62 61 72 ..o...../foo/bar 0030: 00 00 00 00 00 00 00 00 03 01 73 00 06 00 00 00 ..........s..... 0040: 4d 65 6d 62 65 72 00 00 11 00 00 00 30 31 32 33 Member......0123 0050: 34 35 36 37 38 39 30 31 32 33 34 35 36 00 00 00 4567890123456... 0060: 00 00 00 00 0e 00 00 00 09 00 00 00 53 6f 6d 65 ............Some 0070: 74 68 69 6e 67 00 thing. The blob was generated from the following GVariant value: ('01234567890123456', @a{sv} {}, ['Something']) If the blob was encoded using DBusMessageIter, the payload would have been: 0000: 6c 01 00 01 32 00 00 00 41 00 00 00 36 00 00 00 l...2...A...6... 0010: 01 01 6f 00 08 00 00 00 2f 66 6f 6f 2f 62 61 72 ..o...../foo/bar 0020: 00 00 00 00 00 00 00 00 03 01 73 00 06 00 00 00 ..........s..... 0030: 4d 65 6d 62 65 72 00 00 08 01 67 00 08 73 61 7b Member....g..sa{ 0040: 73 76 7d 61 73 00 00 00 11 00 00 00 30 31 32 33 sv}as.......0123 0050: 34 35 36 37 38 39 30 31 32 33 34 35 36 00 00 00 4567890123456... 0060: 00 00 00 00 00 00 00 00 0e 00 00 00 09 00 00 00 ................ 0070: 53 6f 6d 65 74 68 69 6e 67 00 Something. ** ERROR:gdbus-serialization.c:547:check_serialization: code should not be reached Aborted and this is now in the libdbus-1-using serialization test case. Signed-off-by: David Zeuthen gio/gdbusmessage.c | 680 ++++++++++++++++++++++++--------------- gio/tests/gdbus-serialization.c | 12 + 2 files changed, 439 insertions(+), 253 deletions(-) commit 285a124608b28ca62db7350632a48bd9257038c0 Author: Jorge González Date: Fri May 14 17:55:37 2010 +0200 Updated Spanish translation po/es.po | 1026 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 521 insertions(+), 505 deletions(-) commit 02af71c7ff9689a75069b0a7bc84349dac0b13b4 Author: Matthias Clasen Date: Fri May 14 11:49:15 2010 -0400 bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cff9d83f75b90301909f2c7d46a16e5f618e3e0b Author: Matthias Clasen Date: Fri May 14 11:25:11 2010 -0400 2.25.4 po/af.po | 184 +++++---- po/am.po | 184 +++++---- po/ar.po | 184 +++++---- po/as.po | 184 +++++---- po/ast.po | 184 +++++---- po/az.po | 184 +++++---- po/be.po | 186 +++++---- po/be@latin.po | 186 +++++---- po/bg.po | 184 +++++---- po/bn.po | 184 +++++---- po/bn_IN.po | 184 +++++---- po/bs.po | 184 +++++---- po/ca.po | 184 +++++---- po/ca@valencia.po | 184 +++++---- po/cs.po | 184 +++++---- po/cy.po | 184 +++++---- po/da.po | 184 +++++---- po/de.po | 184 +++++---- po/dz.po | 184 +++++---- po/el.po | 184 +++++---- po/en@shaw.po | 1121 +++++++++++++++++++++++++++-------------------------- po/en_CA.po | 184 +++++---- po/en_GB.po | 184 +++++---- po/eo.po | 184 +++++---- po/es.po | 1027 ++++++++++++++++++++++++------------------------ po/et.po | 184 +++++---- po/eu.po | 184 +++++---- po/fa.po | 184 +++++---- po/fi.po | 184 +++++---- po/fr.po | 184 +++++---- po/ga.po | 184 +++++---- po/gl.po | 1024 ++++++++++++++++++++++++------------------------ po/gu.po | 184 +++++---- po/he.po | 184 +++++---- po/hi.po | 184 +++++---- po/hr.po | 184 +++++---- po/hu.po | 184 +++++---- po/hy.po | 184 +++++---- po/id.po | 184 +++++---- po/is.po | 184 +++++---- po/it.po | 184 +++++---- po/ja.po | 184 +++++---- po/ka.po | 184 +++++---- po/kn.po | 184 +++++---- po/ko.po | 184 +++++---- po/ku.po | 184 +++++---- po/lt.po | 184 +++++---- po/lv.po | 184 +++++---- po/mai.po | 184 +++++---- po/mg.po | 184 +++++---- po/mk.po | 184 +++++---- po/ml.po | 184 +++++---- po/mn.po | 184 +++++---- po/mr.po | 184 +++++---- po/ms.po | 184 +++++---- po/nb.po | 1024 ++++++++++++++++++++++++------------------------ po/nds.po | 184 +++++---- po/ne.po | 184 +++++---- po/nl.po | 185 +++++---- po/nn.po | 184 +++++---- po/oc.po | 184 +++++---- po/or.po | 184 +++++---- po/pa.po | 184 +++++---- po/pl.po | 184 +++++---- po/ps.po | 184 +++++---- po/pt.po | 184 +++++---- po/pt_BR.po | 184 +++++---- po/ro.po | 184 +++++---- po/ru.po | 184 +++++---- po/rw.po | 186 +++++---- po/si.po | 184 +++++---- po/sk.po | 184 +++++---- po/sl.po | 184 +++++---- po/sq.po | 192 +++++---- po/sr.po | 184 +++++---- po/sr@ije.po | 184 +++++---- po/sr@latin.po | 184 +++++---- po/sv.po | 184 +++++---- po/ta.po | 184 +++++---- po/te.po | 184 +++++---- po/th.po | 184 +++++---- po/tl.po | 184 +++++---- po/tr.po | 184 +++++---- po/tt.po | 184 +++++---- po/uk.po | 184 +++++---- po/vi.po | 184 +++++---- po/wa.po | 184 +++++---- po/xh.po | 184 +++++---- po/yi.po | 184 +++++---- po/zh_CN.po | 184 +++++---- po/zh_HK.po | 184 +++++---- po/zh_TW.po | 184 +++++---- 92 files changed, 11669 insertions(+), 8734 deletions(-) commit c57c61c930896f278de61de170e57affc243e427 Author: Ryan Lortie Date: Fri May 14 17:06:24 2010 +0200 fix glaring inaccuracy in GVariant docs glib/gvariant.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit ee9b16242c2f1e5e29170a8885fd146d44f83197 Author: Matthias Clasen Date: Fri May 14 10:49:03 2010 -0400 another !srcdir build fix gio/tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 159f533abf9e653fa31dba5b3c12f024165c29db Author: Matthias Clasen Date: Fri May 14 10:25:31 2010 -0400 More !srcdir build fixes gio/tests/gdbus-introspection.c | 2 +- gio/tests/gdbus-threading.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d8d1a02c556ed9fc4c436888c965bc8dee62ad81 Author: Ryan Lortie Date: Fri May 14 15:30:33 2010 +0200 include gunixcredentialsmessage from unixsocket fixes a build issue gio/gunixconnection.c | 1 + 1 file changed, 1 insertion(+) commit 1d22b64843c83631bcd0e5255930f3a4e990961e Author: Matthias Clasen Date: Fri May 14 08:38:07 2010 -0400 Cleanups Sort #includes a bit better, and don't include platform-specific headers in gio.h. gio/gcredentials.c | 9 +++++---- gio/gdbus-tool.c | 4 ++-- gio/gdbusauth.c | 11 ++++++----- gio/gdbusauthmechanismexternal.c | 9 ++++----- gio/gdbusauthmechanismsha1.c | 18 ++++++++---------- gio/gdbusconnection.c | 10 ++++++---- gio/gdbusmessage.c | 11 ++++++----- gio/gdbusprivate.c | 8 ++------ gio/gdbusproxywatching.c | 1 - gio/gdbusserver.c | 4 +++- gio/gio.h | 1 - 11 files changed, 42 insertions(+), 44 deletions(-) commit 054079899128cfc4a9e50a3750d927724604eedb Author: Matthias Clasen Date: Fri May 14 01:36:25 2010 -0400 Fix !srcdir build Thankfully we already had a SRCDIR define. gio/tests/gdbus-proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6f01b329c0d6488d15223c0d8bf286d8ff444a5 Author: Matthias Clasen Date: Fri May 14 00:59:42 2010 -0400 Fix a typo docs/reference/gio/gio-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45cad58b4611aa6678f50a4545cb3b14b24b9c39 Author: Matthias Clasen Date: Fri May 14 00:51:51 2010 -0400 Updates NEWS | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 4e7764fb2d843fbc89847036a3d8fcb47edf9c4d Author: Matthias Clasen Date: Fri May 14 00:21:39 2010 -0400 Documentation cleanups docs/reference/gio/Makefile.am | 7 ++++ docs/reference/gio/gio-sections.txt | 61 ++++++++++++++++++++++++++--------- gio/giotypes.h | 1 - gio/gunixcredentialsmessage.c | 1 + 4 files changed, 54 insertions(+), 16 deletions(-) commit 6223341cacc7dfa34a8d60ec1b4828382dee6d07 Merge: a7c4c7d 6e8637e Author: Matthias Clasen Date: Thu May 13 23:08:34 2010 -0400 Merge branch 'gdbus-merge' Conflicts: docs/reference/gio/gio-docs.xml docs/reference/gio/gio-sections.txt gio/tests/Makefile.am commit a7c4c7de58a48c179e4dc3336814f63c33ad07ff Author: Matthias Clasen Date: Tue May 11 12:48:22 2010 -0400 Remove a reference to Pango docs/reference/gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e8637e4783ae4e573f6784f005920930d9fca87 Author: Matthias Clasen Date: Thu May 13 22:15:47 2010 -0400 The default timeout is 25s gio/gdbusconnection.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit bdc29f82d39619747ac564918e041181b26449ee Author: Matthias Clasen Date: Thu May 13 21:53:51 2010 -0400 Document more floating variant details. gio/gdbusconnection.c | 2 ++ 1 file changed, 2 insertions(+) commit e72f7f52de9e482eb9d5dd1c47eb0d1bea5f4631 Author: Matthias Clasen Date: Thu May 13 21:45:18 2010 -0400 Add some more details to the long description gio/gdbusproxy.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 8f89b63930181696a3f4a9c441ffd97230577d64 Author: Matthias Clasen Date: Thu May 13 20:29:04 2010 -0400 Clean up platform-specific includes The problem was pointed out in bug 618029. To solve it, we moved the GUnixFDList typedef to giotypes.h. gio/gdbusmessage.c | 2 ++ gio/gdbusmessage.h | 6 ------ gio/giotypes.h | 1 + gio/gunixfdlist.h | 3 +-- gio/gunixfdmessage.c | 1 + gio/gunixfdmessage.h | 2 +- gio/tests/gdbus-example-unix-fd-client.c | 1 + gio/tests/gdbus-peer.c | 1 + 8 files changed, 8 insertions(+), 9 deletions(-) commit 62c0454b34191b56d439521e537915b0514f8dbb Author: Ryan Lortie Date: Fri May 14 01:54:30 2010 +0200 documentation for glib-mkenums @valuenum@ docs/reference/gobject/glib-mkenums.1 | 24 ++++++++++++++++++++++-- docs/reference/gobject/glib-mkenums.xml | 12 ++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) commit e1fb92551f7be3dbaad9d9a5c80dc30ed7b83048 Author: Ryan Lortie Date: Tue May 11 19:48:19 2010 +0200 check for working gettext() before running tests gio/tests/gsettings.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit 1165007023bf34c5624574703acd2d183b1d14f5 Author: Ryan Lortie Date: Fri May 14 00:53:42 2010 +0200 Add configure check for memmem() configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dd3551e7c3ae5e6e8b21dd77ce09d72b799e7b1d Author: David Zeuthen Date: Thu May 13 18:19:16 2010 -0400 GDBus: update gdbus(1) man page docs/reference/gio/gdbus.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 68078ed648eec314507ff997e89b053a1d9a6891 Author: David Zeuthen Date: Thu May 13 18:04:48 2010 -0400 GDBus: Nuke G_BUS_TYPE_NONE gio/gdbusnameowning.c | 1 - gio/gdbusnamewatching.c | 1 - gio/gdbusproxywatching.c | 3 +-- gio/gioenums.h | 12 +++++------- gio/tests/gdbus-peer.c | 1 - 5 files changed, 6 insertions(+), 12 deletions(-) commit 1fd55b8bbfe58adb749d4eee68ca5a71e56e6f82 Author: David Zeuthen Date: Thu May 13 17:44:42 2010 -0400 GDBus: Remove g_dbus_is_activated() It's generally hard to get this right so don't attempt to do so. docs/reference/gio/gio-sections.txt | 1 - gio/gdbusutils.c | 20 -------------------- gio/gdbusutils.h | 2 -- gio/gio.symbols | 1 - 4 files changed, 24 deletions(-) commit 51446baa52e8cebea57124eb99a32e77a13b1551 Author: David Zeuthen Date: Thu May 13 17:20:39 2010 -0400 GDBus: subscribe to PropertiesChanged() before calling GetAll() Otherwise there's a slight chance of a race. gio/gdbusproxy.c | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) commit 0e2c708bb298c98c136d507427e7b731b5cbd962 Author: David Zeuthen Date: Thu May 13 17:10:15 2010 -0400 GDBus: Don't take a GError for g_dbus_proxy_get_cached_property_names() We stopped doing this for get_cached_property() so no reason to do it here. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 29 +++++++++-------------------- gio/gdbusproxy.h | 3 +-- gio/tests/gdbus-example-watch-proxy.c | 2 +- 3 files changed, 11 insertions(+), 23 deletions(-) commit 3ca28ef718d402bd65cd9f291c67b299f1ef74cf Author: David Zeuthen Date: Thu May 13 16:57:29 2010 -0400 GDBus: Update docs for GDBusProxy::g-properties-changed signal Also update the example. See https://bugzilla.gnome.org/show_bug.cgi?id=618559 for more details. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 10 +++++----- gio/tests/gdbus-example-watch-proxy.c | 7 +++++-- 2 files changed, 10 insertions(+), 7 deletions(-) commit e3f5d3c00595ca017d83015fa2b9832d1c87828f Author: Christian Persch Date: Thu May 13 19:01:04 2010 +0200 Make GVariant handling in PropertiesChanged more efficient There's no need to re-build the a{sv} array, just get it right out of the parameters. Also avoid some string copies. Signed-off-by: David Zeuthen gio/gdbusproxy.c | 82 +++++++++++------------------------------------------- 1 file changed, 16 insertions(+), 66 deletions(-) commit 4ad4c306c3b80620185cf975b402e17a6174aea9 Author: Christian Persch Date: Thu May 13 19:20:26 2010 +0200 Plug some mem leaks g_variant_get (v, "s", &str) returns a string copy; use "&s" instead. Signed-off-by: David Zeuthen gio/gdbus-tool.c | 20 ++++++++++---------- gio/gdbusconnection.c | 22 ++++++++++------------ gio/gdbusmessage.c | 2 +- gio/gdbusnameowning.c | 4 ++-- gio/gdbusnamewatching.c | 4 ++-- gio/gdbusproxy.c | 4 ++-- 6 files changed, 27 insertions(+), 29 deletions(-) commit 60e7ae26af2fc31d59e36f8798d383fa9d87db92 Author: David Zeuthen Date: Thu May 13 16:32:11 2010 -0400 GDBus: Add GDBusAuthObserver param in g_dbus_connection_new_for_address() This is to match g_dbus_connection_new(). This extension allows us to extend GDBusAuthObserver to also be used in client-side authentication in the future (right now it's only used on the server-side). gio/gdbus-tool.c | 1 + gio/gdbusconnection.c | 18 ++++++++++++++---- gio/gdbusconnection.h | 2 ++ gio/tests/gdbus-example-peer.c | 1 + gio/tests/gdbus-peer.c | 4 ++++ gio/tests/gdbus-tests.c | 1 + 6 files changed, 23 insertions(+), 4 deletions(-) commit cb753dfd496ae70b069c1698da8211c454953f08 Author: David Zeuthen Date: Thu May 13 16:20:31 2010 -0400 GDBus: Rename ::deny-authentication-peer to ::authorize-authenticated-peer docs/reference/gio/gio-sections.txt | 2 +- gio/gdbusauth.c | 8 ++-- gio/gdbusauthobserver.c | 74 +++++++++++++++++++++-------------- gio/gdbusauthobserver.h | 18 ++++----- gio/gdbusconnection.c | 2 - gio/gio.symbols | 2 +- gio/tests/gdbus-peer.c | 20 +++++----- 7 files changed, 70 insertions(+), 56 deletions(-) commit 9e90b381f58c4a06f49e622a07ee0b56fb52b3f1 Author: Matthias Clasen Date: Thu May 13 14:25:29 2010 -0400 Remove the credentials argument from g_unix_connect_send_credentials() Instead, make it always send the current credentials. gio/gdbusauth.c | 3 +-- gio/gunixconnection.c | 16 +++++++--------- gio/gunixconnection.h | 1 - 3 files changed, 8 insertions(+), 12 deletions(-) commit 33952347ff9bc2875e7e1a2709566b38fc391bda Author: David Zeuthen Date: Thu May 13 14:01:41 2010 -0400 GDBus: Make message serialization routines take capabilities param This is needed to e.g. allow encoding maybe types (once we add G_DBUS_CAPABILITY_FLAGS_MAYBE_TYPES) if, and only if, that capability has been negotiated with the peer (via authentication). gio/gdbusconnection.c | 1 + gio/gdbusmessage.c | 26 +++++++++++++++++--------- gio/gdbusmessage.h | 2 ++ gio/gdbusprivate.c | 1 + gio/tests/gdbus-serialization.c | 6 +++++- 5 files changed, 26 insertions(+), 10 deletions(-) commit 107b4d4bae7dba4281bfaa0bef827f7b2376946a Author: Matthias Clasen Date: Thu May 13 13:09:58 2010 -0400 remove the redundant interface_name parameter gio/gdbusconnection.c | 12 +++++------- gio/gdbusconnection.h | 1 - gio/tests/gdbus-example-export.c | 1 - gio/tests/gdbus-example-peer.c | 1 - gio/tests/gdbus-example-server.c | 1 - gio/tests/gdbus-export.c | 12 ------------ gio/tests/gdbus-peer.c | 2 -- 7 files changed, 5 insertions(+), 25 deletions(-) commit 82158afdadd10e6ffd1540f695931f64957b59f6 Author: David Zeuthen Date: Thu May 13 11:56:15 2010 -0400 GDBus: Catch up with new PropertiesChanged signal After a long discussion, this has finally been standardized in the D-Bus spec. See http://lists.freedesktop.org/archives/dbus/2010-May/012667.html http://lists.freedesktop.org/archives/dbus/2010-May/012712.html Signed-off-by: David Zeuthen gio/gdbusconnection.c | 1 + gio/gdbusproxy.c | 74 ++++++++++++++++++++++++------ gio/gdbusproxy.h | 13 +++--- gio/gio-marshal.list | 1 + gio/tests/gdbus-example-export.c | 7 ++- gio/tests/gdbus-example-proxy-subclass.c | 34 ++++++++------ gio/tests/gdbus-example-server.c | 12 +++-- gio/tests/gdbus-example-watch-proxy.c | 57 ++++++++++++++--------- gio/tests/gdbus-testserver.py | 1 + 9 files changed, 137 insertions(+), 63 deletions(-) commit 2d75583fb2a8fdb71b9ee880dc0cf4605ab7bc6c Author: Matthias Clasen Date: Thu May 13 01:04:29 2010 -0400 Fill out the export section of the migration guide docs/reference/gio/migrating-gdbus.xml | 66 ++++++++++++++++++++++++++++++++ gio/tests/gdbus-example-export.c | 6 ++- 2 files changed, 70 insertions(+), 2 deletions(-) commit 195cdcfabf962989f2bcc8c225a287517d7eacd9 Author: Thomas Thurman Date: Thu May 13 00:51:30 2010 -0400 Update Shavian transliteration po/en@shaw.po | 128 +++++++++++++++++++++------------------------------------ 1 file changed, 47 insertions(+), 81 deletions(-) commit 9a065edf6f51be2ad189cfb02ddd2c806b656303 Author: Matthias Clasen Date: Thu May 13 00:39:26 2010 -0400 Add an example of exporting a GObject This is more manual work than dbus-glib. gio/gdbusconnection.c | 2 + gio/tests/Makefile.am | 4 + gio/tests/gdbus-example-export.c | 331 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 337 insertions(+) commit ea1e0496b0329147b932d5a1486f5a81b4121651 Author: David Zeuthen Date: Wed May 12 23:12:14 2010 -0400 GDBus: add 'monitor' verb to gdbus(1) This uncovered a bug in name watching if the name wasn't activatable. Also provoked the need for on_connection variants of g_bus_watch_name (added g_bus_watch_proxy's variant as well). docs/reference/gio/gdbus.xml | 43 ++++++ docs/reference/gio/gio-sections.txt | 2 + gio/gdbus-tool.c | 253 ++++++++++++++++++++++++++++++++++- gio/gdbusnamewatching.c | 69 +++++++++- gio/gdbusnamewatching.h | 23 ++-- gio/gdbusproxywatching.c | 86 ++++++++++++ gio/gdbusproxywatching.h | 35 +++-- gio/gio.symbols | 2 + 8 files changed, 489 insertions(+), 24 deletions(-) commit 9695c23d4c29e79afbe14e3584b6c42e98e8f0d9 Author: David Zeuthen Date: Wed May 12 22:09:18 2010 -0400 GDBus: Make gdbus(1) print annotations when introspecting data Also make the gdbus-example-server include some example annotations. The output looks like this: $ gdbus introspect --session --dest org.gtk.GDBus.TestServer --object-path /org/gtk/GDBus/TestObject node /org/gtk/GDBus/TestObject { interface org.freedesktop.DBus.Properties { methods: Get(in s interface_name, in s property_name, out v value); GetAll(in s interface_name, out a{sv} properties); Set(in s interface_name, in s property_name, in v value); signals: PropertiesChanged(s interface_name, a{sv} changed_properties); }; interface org.freedesktop.DBus.Introspectable { methods: Introspect(out s xml_data); }; interface org.freedesktop.DBus.Peer { methods: Ping(); GetMachineId(out s machine_uuid); }; @org.gtk.GDBus.Annotation("OnInterface") @org.gtk.GDBus.Annotation("AlsoOnInterface") interface org.gtk.GDBus.TestInterface { methods: @org.gtk.GDBus.Annotation("OnMethod") HelloWorld(in s greeting, out s response); EmitSignal(@org.gtk.GDBus.Annotation.("OnArg") in d speed_in_mph); GimmeStdout(); signals: @org.gtk.GDBus.Annotation("Onsignal") VelocityChanged(d speed_in_mph, @org.gtk.GDBus.Annotation.("OnArg_NonFirst") s speed_as_string); properties: @org.gtk.GDBus.Annotation("OnProperty") @org.gtk.GDBus.Annotation("OnAnnotation_YesThisIsCrazy") readonly s FluxCapicitorName = 'DeLorean'; readwrite s Title = 'Back To C!'; readonly s ReadingAlwaysThrowsError; readwrite s WritingAlwaysThrowsError = "There's no home like home"; writeonly s OnlyWritable; readonly s Foo = 'Tick'; readonly s Bar = 'Tock'; }; }; gio/gdbus-tool.c | 43 ++++++++++++++++++++++++++++++++++++++ gio/tests/gdbus-example-server.c | 18 +++++++++++++--- 2 files changed, 58 insertions(+), 3 deletions(-) commit cce08f197313bad1516924b3eb7305e7e6818971 Author: Matthias Clasen Date: Wed May 12 21:51:06 2010 -0400 Add a note about implemented standard interfaces gio/gdbusconnection.c | 7 +++++++ 1 file changed, 7 insertions(+) commit f909cb5b2713c8cd5f587c7a70e468d29bdcd429 Author: David Zeuthen Date: Wed May 12 20:43:40 2010 -0400 GDBusProxy: Remove error in get_cached_property() and add set_cached_property() This makes it possible to use the cached properties mechanism even if constructing the proxy with the DO_NOT_LOAD_PROPERTIES flag. This is useful for cases where you obtain the and track object properties out-of-band. For example, in udisks, the plan is to have something like this Manager.GetObjects (out ao paths, out aa{sa{sv}} all_properties); Manager.ObjectAdded (o path, a{sa{sv}} all_properties); Manager.ObjectChanged (o path, a{sa{sv}} all_properties); Manager.ObjectRemoved (o path, a{sa{sv}} all_properties); E.g. the first GetObjects() call will return *all* data about *all* exported objects. Further, this way a client will only need to listen these three signals (three AddMatch) on the Manager object and it will never need to do GetAll() etc (e.g. can use DO_NOT_LOAD_PROPERTIES). (Of course this only works if the client is interested in all objects... while this is true for udisks it is generally not true for other D-Bus services). Also use expected_interface to check for programming errors. docs/reference/gio/gio-sections.txt | 3 +- gio/gdbusproxy.c | 162 +++++++++++++++++++++++------- gio/gdbusproxy.h | 4 +- gio/gio.symbols | 1 + gio/tests/gdbus-example-proxy-subclass.c | 6 +- gio/tests/gdbus-example-watch-proxy.c | 2 +- gio/tests/gdbus-peer.c | 3 +- gio/tests/gdbus-proxy.c | 44 ++++++-- 8 files changed, 174 insertions(+), 51 deletions(-) commit 72731fb6ad99da076605ca7d8b1bee232b38e734 Author: Thomas Thurman Date: Wed May 12 18:41:27 2010 -0400 Updated Shavian transliteration po/en@shaw.po | 1176 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 602 insertions(+), 574 deletions(-) commit b690e637d46057f6914a6b6f20b2688cd03f0ac5 Author: Matthias Clasen Date: Wed May 12 17:56:56 2010 -0400 Add some more verbiage docs/reference/gio/migrating-gdbus.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d40767fc62972f9cc85ebfb23e113068cc316f3a Author: David Zeuthen Date: Wed May 12 15:49:48 2010 -0400 GDBus: Add an example of a GDBusProxy subclass docs/reference/gio/migrating-gdbus.xml | 55 ++++ gio/gdbusconnection.c | 2 - gio/tests/Makefile.am | 4 + gio/tests/gdbus-example-proxy-subclass.c | 443 ++++++++++++++++++++++++++++++ 4 files changed, 502 insertions(+), 2 deletions(-) commit 7c0196f0267aa77c80fb85320ef9583c7fc64ad7 Author: Matthias Clasen Date: Wed May 12 13:01:40 2010 -0400 Update an example to the latest auth observer api gio/gdbusauthobserver.c | 17 ++++++++++------- gio/gdbusconnection.c | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) commit 371a3373bbf190054076896ed32d28d546f23930 Author: Matthias Clasen Date: Wed May 12 13:01:02 2010 -0400 Correct env var names and add a note about priority docs/reference/gio/overview.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit af3afc804064ec17e89a6cdef4cc3e63015c8a77 Author: Matthias Clasen Date: Wed May 12 12:13:57 2010 -0400 placeholder for more migration docs docs/reference/gio/migrating-gdbus.xml | 5 +++++ 1 file changed, 5 insertions(+) commit 246db9bfdb5919a77ce5ae0d2f426f163f7702c1 Author: Jesse van den Kieboom Date: Fri May 7 11:55:40 2010 +0200 Added test cases for g_output_stream_close_async https://bugzilla.gnome.org/show_bug.cgi?id=617937 gio/tests/Makefile.am | 6 +- gio/tests/async-close-output-stream.c | 278 +++++++++++++++++++++++++++++++++ 2 files changed, 283 insertions(+), 1 deletion(-) commit adc5162b742c702f37f385dcffba3802f0e55095 Author: Jesse van den Kieboom Date: Mon May 10 23:49:41 2010 +0200 Flush when closing output stream async https://bugzilla.gnome.org/show_bug.cgi?id=617937 gio/goutputstream.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 110 insertions(+), 7 deletions(-) commit e2b9d077659df82f9603352e6ce4ff1ceb4b1b8a Author: Matthias Clasen Date: Tue May 11 23:26:51 2010 -0400 Update TODO list gio/gdbusconnection.c | 4 ---- 1 file changed, 4 deletions(-) commit a63d3bb868b0ee17404cf85520e48d441abbcdf3 Author: Matthias Clasen Date: Tue May 11 23:18:48 2010 -0400 mention inline use of floating variants gio/gdbusconnection.c | 37 ++++++++++++++++++++++++++++++++++++- gio/gdbusproxy.c | 42 ++++++++++++++++++++++++++++++++++++------ 2 files changed, 72 insertions(+), 7 deletions(-) commit ab2ff1a307f6bf7825e02b0d09e25b8ea7570c07 Author: Matthias Clasen Date: Tue May 11 22:51:14 2010 -0400 Remove properties from GDBusMethodInvocation class gio/gdbusconnection.c | 3 - gio/gdbusmethodinvocation.c | 330 +++---------------------------------------- 2 files changed, 18 insertions(+), 315 deletions(-) commit c4cf88c22f731878cbc740e4721e07215385201b Author: Matthias Clasen Date: Tue May 11 22:50:40 2010 -0400 Document remove_filter gio/gdbusconnection.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit d7095dd4700b38c202a43b7c21f93db20a9ede44 Author: Matthias Clasen Date: Tue May 11 22:35:59 2010 -0400 Document DBUS address env vars docs/reference/gio/overview.xml | 28 ++++++++++++++++++++++++++++ gio/gdbusintrospection.c | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) commit 84a6475b6e52fd481bf0e7191a6ea16168d35a3f Author: Matthias Clasen Date: Tue May 11 22:03:40 2010 -0400 Trivial: tweak section heading docs/reference/gio/migrating-gdbus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c128ca83536b6c6c823bb83606b09193d814738 Author: Matthias Clasen Date: Tue May 11 22:00:54 2010 -0400 Trivial formatting fix docs/reference/gio/migrating-gdbus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fdfd3d5e7536313dde1fc02b45ca04a6e4704b50 Author: Matthias Clasen Date: Tue May 11 22:00:06 2010 -0400 Fill out the proxy section of the migration guide docs/reference/gio/migrating-gdbus.xml | 53 ++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit 26f65d83c5078e48e414a1cbe593bf349d96a033 Author: Matthias Clasen Date: Tue May 11 21:59:42 2010 -0400 Don't refer to nonexisting API. gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1af277f16779f072bc0c326aa8024747ad8c13e9 Author: Matthias Clasen Date: Tue May 11 21:32:29 2010 -0400 Fix a typo docs/reference/gio/migrating-gdbus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b05e0bc3e88f9e54710aabb2ad29908739e6345 Author: Matthias Clasen Date: Tue May 11 21:30:53 2010 -0400 Complete the name owning section of the migration guide docs/reference/gio/migrating-gdbus.xml | 136 ++++++++++++++++++-------------- 1 file changed, 76 insertions(+), 60 deletions(-) commit e4b1e48fca9d1d2ca7e0ec54ebc9ea421aebff71 Author: Matthias Clasen Date: Tue May 11 20:57:44 2010 -0400 Match up parameter names and similar cleanups to make gtk-doc happy. docs/reference/gio/gio-sections.txt | 1 - gio/gdbusconnection.c | 17 +++--- gio/gdbusconnection.h | 4 +- gio/gdbusintrospection.c | 102 ++++++++++++++++++++--------------- gio/gunixcredentialsmessage.c | 2 +- 5 files changed, 71 insertions(+), 55 deletions(-) commit 1d43e4140b9c890eca50f3845bff3d800d66b6f9 Author: Matthias Clasen Date: Tue May 11 20:03:44 2010 -0400 Line up prototypes gio/gdbusproxy.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 8d66ede1abbc4b84bcf13c4420719cb06fbe3b96 Author: Matthias Clasen Date: Tue May 11 17:15:11 2010 -0400 More gdbus migration stuff docs/reference/gio/migrating-gdbus.xml | 89 ++++++++++++++++++++++++++++++-- 1 file changed, 86 insertions(+), 3 deletions(-) commit 54a57bb894d3c098bf972ecec71823b2822128b6 Author: Matthias Clasen Date: Tue May 11 15:50:19 2010 -0400 Strip copyright headers from examples These are included wholesale in the docs, and the copyright headers make them even more overwhelming. Plus, we don't have copyright headers on examples anywhere else. gio/tests/gdbus-example-own-name.c | 13 ------------- gio/tests/gdbus-example-peer.c | 13 ------------- gio/tests/gdbus-example-server.c | 13 ------------- gio/tests/gdbus-example-subtree.c | 13 ------------- gio/tests/gdbus-example-unix-fd-client.c | 13 ------------- gio/tests/gdbus-example-watch-name.c | 13 ------------- gio/tests/gdbus-example-watch-proxy.c | 13 ------------- 7 files changed, 91 deletions(-) commit 9a2422b216263dd7bc4f27a98bc89d5ea6dfe791 Author: Matthias Clasen Date: Tue May 11 15:42:15 2010 -0400 Trivial: rename a file docs/reference/gio/Makefile.am | 4 +- docs/reference/gio/gio-docs.xml | 2 +- docs/reference/gio/migrating-dbus-glib.xml | 70 ---------------------------- docs/reference/gio/migrating-gdbus.xml | 70 ++++++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 73 deletions(-) commit 0e98557753ad5f5f9b74fd135dcdbe18055dc11a Author: Kjartan Maraas Date: Tue May 11 19:54:06 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 92 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) commit 8c523c069b79a746c2dcdfe7e253513ff489cd39 Author: David Zeuthen Date: Tue May 11 12:04:37 2010 -0400 GDBus: Update TODO list gio/gdbusconnection.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 6d5ac8163b962803fedcf57b9ccad8a2c1205c82 Author: Sebastian Dröge Date: Mon May 10 09:48:49 2010 +0200 gio: Fix gsettings build with binutils gold linker gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 936ff022f21a43f39552799dc1b3988379563959 Author: Sebastian Dröge Date: Mon May 10 09:51:49 2010 +0200 Don't include __bss_start, _edata and _end symbols in the abichecks They are added by the binutils gold linker. gio/abicheck.sh | 2 +- glib/abicheck.sh | 2 +- gobject/abicheck.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 2d208c9d364369d68a54cfd0682e17f2ce771db5 Author: David Zeuthen Date: Mon May 10 16:20:59 2010 -0400 GDBus: In gdbus(1), try Get() if GetAll() fails This fixes a problem with services that doesn't implement GetAll() for one reason or another. $ gdbus introspect --session --dest org.freedesktop.ReserveDevice1.Audio0 --object-path /org/freedesktop/ReserveDevice1/Audio0 node /org/freedesktop/ReserveDevice1/Audio0 { interface org.freedesktop.ReserveDevice1 { methods: RequestRelease(in i priority, out b result); properties: readonly i Priority = 0; readonly s ApplicationName = 'PulseAudio Sound Server'; readonly s ApplicationDeviceName = 'Internal Audio Analog Stereo'; }; interface org.freedesktop.DBus.Properties { methods: Get(in s interface, in s property, out v value); }; interface org.freedesktop.DBus.Introspectable { methods: Introspect(out s data); }; }; gio/gdbus-tool.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 6e23b0b7850c170405aa25d9441a9cd8cc05a38b Author: David Zeuthen Date: Mon May 10 14:43:08 2010 -0400 GDBus: Add TODO item about a need to validate data / messages gio/gdbusconnection.c | 5 +++++ 1 file changed, 5 insertions(+) commit adf50912ddb29c8c6b36702df1162e6211765dea Author: David Zeuthen Date: Mon May 10 14:07:13 2010 -0400 GDBus Add TODO items about finding and launching bus instances gio/gdbusconnection.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 5800a1f91162ec5a0e96fae12857be2ebe404d3a Author: Jorge González Date: Mon May 10 19:38:57 2010 +0200 Updated Spanish translation po/es.po | 91 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 42 deletions(-) commit 7e8b07ae3be5ce63ba17183a410ac8512a29cb13 Author: David Zeuthen Date: Mon May 10 13:31:54 2010 -0400 GDBus: Use GVariant instead of GHashTable for GDBusProxy::g-properties-changed gio/gdbusconnection.c | 13 ------------- gio/gdbusproxy.c | 24 +++++++++++------------- gio/gdbusproxy.h | 2 +- gio/tests/gdbus-example-watch-proxy.c | 21 +++++++++++++++------ 4 files changed, 27 insertions(+), 33 deletions(-) commit 869b4c68332f36377bbdfd186e37f6194ae5ed5a Author: David Zeuthen Date: Mon May 10 11:47:08 2010 -0400 GDBus: Use call() instead of invoke_method() Lots of people been suggesting this. We still use MethodInvocation / method_invocation for handling incoming method calls so use call() instead of invoke_method() helps to separate the client and server facilities. Which is a good thing(tm). docs/reference/gio/gio-sections.txt | 14 +- docs/reference/gio/migrating-dbus-glib.xml | 6 +- gio/gdbus-tool.c | 160 +++++++++--------- gio/gdbusauthmechanismexternal.c | 2 +- gio/gdbusconnection.c | 104 ++++++------ gio/gdbusconnection.h | 10 +- gio/gdbuserror.c | 13 +- gio/gdbusnameowning.c | 52 +++--- gio/gdbusnamewatching.c | 56 +++---- gio/gdbusproxy.c | 142 ++++++++-------- gio/gdbusproxy.h | 10 +- gio/gio.symbols | 14 +- gio/gioenums.h | 14 +- gio/tests/gdbus-connection.c | 160 +++++++++--------- gio/tests/gdbus-example-peer.c | 20 +-- gio/tests/gdbus-export.c | 252 ++++++++++++++-------------- gio/tests/gdbus-introspection.c | 14 +- gio/tests/gdbus-names.c | 40 ++--- gio/tests/gdbus-peer.c | 44 ++--- gio/tests/gdbus-proxy.c | 146 ++++++++-------- gio/tests/gdbus-threading.c | 114 ++++++------- 21 files changed, 694 insertions(+), 693 deletions(-) commit 728c4e38e72055080c148f9cebca85a08d16a445 Author: Matthias Clasen Date: Mon May 10 08:07:28 2010 -0400 More copyright year updates gio/tests/gdbus-addresses.c | 2 +- gio/tests/gdbus-connection.c | 2 +- gio/tests/gdbus-error.c | 2 +- gio/tests/gdbus-exit-on-close.c | 2 +- gio/tests/gdbus-export.c | 2 +- gio/tests/gdbus-introspection.c | 2 +- gio/tests/gdbus-names.c | 2 +- gio/tests/gdbus-peer.c | 2 +- gio/tests/gdbus-proxy.c | 2 +- gio/tests/gdbus-serialization.c | 2 +- gio/tests/gdbus-sessionbus.c | 2 +- gio/tests/gdbus-tests.c | 2 +- gio/tests/gdbus-threading.c | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) commit 5d1135618e6ec5c6a6c41bed602cec643f9d8b8f Author: Matthias Clasen Date: Mon May 10 08:07:07 2010 -0400 Trivia gio/gdbusaddress.c | 34 +++++++++++++++++----------------- gio/gdbusconnection.c | 34 +++++++++++++++++++++------------- 2 files changed, 38 insertions(+), 30 deletions(-) commit 25a8aa5d88d3d4b8ebcf8be42a2adc233dbb104c Author: Matthias Clasen Date: Sun May 9 22:13:18 2010 -0400 Cosmetic fixes Use P_() for properties, fix up indentation, etc. gio/gdbusauth.c | 4 +- gio/gdbusauthmechanism.c | 71 +++--- gio/gdbusconnection.c | 514 ++++++++++++++++++----------------------- gio/gdbusmethodinvocation.c | 69 +++--- gio/gdbusproxy.c | 145 ++++++------ gio/gdbusserver.c | 81 +++---- gio/gunixcredentialsmessage.c | 7 +- 7 files changed, 407 insertions(+), 484 deletions(-) commit 0cf467c2ca92ece9625dbc54ad3065ad5298f735 Author: Matthias Clasen Date: Sun May 9 13:14:55 2010 -0400 Update copyright years to include 2010 gio/gcredentials.c | 2 +- gio/gcredentials.h | 2 +- gio/gdbus-tool.c | 2 +- gio/gdbusaddress.c | 2 +- gio/gdbusaddress.h | 2 +- gio/gdbusauth.c | 2 +- gio/gdbusauth.h | 2 +- gio/gdbusauthmechanism.c | 2 +- gio/gdbusauthmechanism.h | 2 +- gio/gdbusauthmechanismanon.c | 2 +- gio/gdbusauthmechanismanon.h | 2 +- gio/gdbusauthmechanismexternal.c | 2 +- gio/gdbusauthmechanismexternal.h | 2 +- gio/gdbusauthmechanismsha1.c | 2 +- gio/gdbusauthmechanismsha1.h | 2 +- gio/gdbusauthobserver.c | 2 +- gio/gdbusauthobserver.h | 2 +- gio/gdbusconnection.c | 2 +- gio/gdbusconnection.h | 2 +- gio/gdbuserror.c | 2 +- gio/gdbuserror.h | 2 +- gio/gdbusintrospection.c | 2 +- gio/gdbusintrospection.h | 2 +- gio/gdbusmessage.c | 2 +- gio/gdbusmessage.h | 2 +- gio/gdbusmethodinvocation.c | 2 +- gio/gdbusmethodinvocation.h | 2 +- gio/gdbusnameowning.c | 2 +- gio/gdbusnameowning.h | 2 +- gio/gdbusnamewatching.c | 2 +- gio/gdbusnamewatching.h | 2 +- gio/gdbusprivate.c | 2 +- gio/gdbusprivate.h | 2 +- gio/gdbusproxy.c | 2 +- gio/gdbusproxy.h | 2 +- gio/gdbusproxywatching.c | 2 +- gio/gdbusproxywatching.h | 2 +- gio/gdbusserver.c | 2 +- gio/gdbusserver.h | 2 +- gio/gdbusutils.c | 2 +- gio/gdbusutils.h | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) commit e82eea6fdae1a24b58bbd9a440c6c37bd2980afd Author: Matthias Clasen Date: Sun May 9 13:09:54 2010 -0400 Microoptimize string reallocations gio/gdbusconnection.c | 86 +++++++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 38 deletions(-) commit b87dd96a8a418f4f5915e4a1cb59737a009efdd8 Author: Matthias Clasen Date: Sun May 9 12:41:02 2010 -0400 Move some platform sources around gunixcredentialsmessage.h ought to live with other UNIX headers, and the credentials are moved from dbus-specific to just GIO sources. Also move gfiledescriptorbased.c to the UNIX sources. gio/Makefile.am | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit b96c3b6d60a87f31a46ff5499c133571f0470940 Author: Matthias Clasen Date: Sun May 9 12:24:56 2010 -0400 Mention multithreading as a reason for not using libdbus docs/reference/gio/migrating-dbus-glib.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 03b5db44779c54947c3801609a42b2d2801b5a97 Author: Robert Bragg Date: Thu May 6 15:46:00 2010 +0100 gtester-report: cope with binaries with no test cases It's possible that a given binary may conditionally decided not to run any test cases (e.g. since they are all slow but -m=quick is currently in use) In this case the xml may contain nodes with no children. This was resulting in a divide by zero when calculating the green → red color interpolation. https://bugzilla.gnome.org/show_bug.cgi?id=617914 glib/gtester-report | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit c148cafdd16f8bfed46cf5b0af05af3cbdc550c7 Author: David Zeuthen Date: Sun May 9 10:02:56 2010 -0400 GDBus: Rework GCredentials type These changes are is related to https://bugzilla.gnome.org/show_bug.cgi?id=617483 and IRC discussions with danw. docs/reference/gio/gio-sections.txt | 15 +- gio/gcredentials.c | 435 +++++++++++++---------------------- gio/gcredentials.h | 44 ++-- gio/gdbusauth.c | 2 +- gio/gdbusauthmechanismexternal.c | 19 +- gio/gio.symbols | 15 +- gio/gunixcredentialsmessage.c | 13 +- 7 files changed, 193 insertions(+), 350 deletions(-) commit bb7106c5dfce5597bcc4a0682200fb50f5201c29 Author: Matthias Clasen Date: Sun May 9 02:27:09 2010 -0400 Add some conceptual changes docs/reference/gio/migrating-dbus-glib.xml | 95 +++++++++++++++++++--------- gio/gdbusaddress.c | 2 +- gio/gdbusintrospection.c | 2 +- 3 files changed, 66 insertions(+), 33 deletions(-) commit 8315eb77d57de73b950d152edbc7a104d378642c Author: Matthias Clasen Date: Sun May 9 01:44:11 2010 -0400 Some documentation tweaks Add links to the D-Bus docs in some places, and various other additions. docs/reference/gio/overview.xml | 6 +++--- gio/gdbusaddress.c | 4 +++- gio/gdbusconnection.c | 14 +++++++------- gio/gdbusintrospection.c | 6 +++++- gio/gdbusmethodinvocation.c | 4 ++++ gio/gdbusnameowning.c | 18 ++++++++++-------- gio/gdbusproxywatching.c | 2 +- 7 files changed, 33 insertions(+), 21 deletions(-) commit 7ca2e000546733446f737ec8fe425dd17218eada Author: Matthias Clasen Date: Sat May 8 23:28:17 2010 -0400 Doc improvements Make sure all unix-specific apis are marked as such. docs/reference/gio/gio-docs.xml | 19 ++++++++++--------- docs/reference/gio/gio-sections.txt | 22 ++++++++++++++-------- gio/gdesktopappinfo.c | 16 ++++++++-------- gio/gfiledescriptorbased.c | 6 +++++- gio/gunixconnection.c | 11 ++++++++--- gio/gunixfdlist.c | 7 ++++++- gio/gunixfdmessage.c | 13 +++++++++---- gio/gunixinputstream.c | 4 ++-- gio/gunixmounts.c | 8 ++++---- gio/gunixoutputstream.c | 6 +++--- gio/gunixsocketaddress.c | 14 +++++++++----- 11 files changed, 78 insertions(+), 48 deletions(-) commit 6bea235c8b3bb79b508491985dd38c2074ee6843 Author: Simon McVittie Date: Sat May 8 21:30:27 2010 -0400 Support 64bit integers in GKeyFile docs/reference/glib/glib-sections.txt | 4 + glib/gkeyfile.c | 152 +++++++++++++++++++++++++++++++++ glib/gkeyfile.h | 16 ++++ glib/glib.symbols | 4 + glib/tests/keyfile.c | 46 ++++++++++ 5 files changed, 222 insertions(+) commit 08b5f866971eb2f44e572390f8e9f322fa8a2840 Author: Matthias Clasen Date: Sat May 8 21:18:48 2010 -0400 Make GSETTINGS_CHECK_RULE work in !srcdir builds This problem was reported in bug 617823. m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c13c36e3b9db500e30055e616ffa52672281fc49 Author: Matthias Clasen Date: Sat May 8 20:58:10 2010 -0400 Add test for g_get_language_names glib/tests/Makefile.am | 3 ++ glib/tests/utils.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) commit e8bc8c6cbf86ee07a56f3eaa9fdb44b97ad12c6d Author: Matthias Clasen Date: Sat May 8 20:10:57 2010 -0400 Document length parameter of g_settings_get/set_strv This parameter was not mentioned in the doc comment, as pointed out in bug 617767. gio/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) commit 9164fd02c9043baee99199a3ba33c98e2309dc00 Author: Matthias Clasen Date: Sat May 8 20:10:57 2010 -0400 Document length parameter of g_settings_get/set_strv This parameter was not mentioned in the doc comment, as pointed out in bug 617767. gio/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) commit af263a3a10ff9f3ae41d30e8cb9753b8b9f1ad43 Author: Dan Winship Date: Fri May 7 19:08:13 2010 -0400 remove broken useless initialization in socket-client/socket-server https://bugzilla.gnome.org/show_bug.cgi?id=618051 gio/tests/socket-client.c | 2 +- gio/tests/socket-server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f1855c2f77fb76347c332b21865e5513f89b15b9 Author: David Zeuthen Date: Fri May 7 15:02:37 2010 -0400 GDBus: add TODO item about maybe having to rework ::g-properties-changed gio/gdbusconnection.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 85c85ae63a95f4004020db56da6242b26ce073c0 Author: David Zeuthen Date: Fri May 7 14:57:20 2010 -0400 GDBus: add TODO item about the need to rewrite private GDBusAuth* classes gio/gdbusconnection.c | 3 +++ 1 file changed, 3 insertions(+) commit 5bd876bef0235ec5c745ac948e906bf51adf2fef Author: David Zeuthen Date: Fri May 7 14:56:01 2010 -0400 Add TODO item about wanting G_DBUS_NONCE_TCP_TMPDIR gio/gdbusconnection.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5134a1d151f14cfadfa72c23d0660f3928bda821 Author: David Zeuthen Date: Fri May 7 14:36:07 2010 -0400 GDBus: Document environment variables in "Running GIO applications" docs/reference/gio/overview.xml | 45 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 1ddda12d646f67fcb558399dce20ecff2405bf20 Author: Matthias Clasen Date: Thu May 6 20:54:04 2010 -0400 A quick cheat sheet docs/reference/gio/migrating-dbus-glib.xml | 30 +++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit f309334bc629b9b148d9ce2887489930d4eedd3f Author: David Zeuthen Date: Thu May 6 19:39:16 2010 -0400 GDBus: add a man page for gdbus(1) docs/reference/gio/Makefile.am | 7 +- docs/reference/gio/gdbus.xml | 221 +++++++++++++++++++++++++++++++++++++++ docs/reference/gio/gio-docs.xml | 1 + 3 files changed, 227 insertions(+), 2 deletions(-) commit f14e30818c7d355f0c3d61bab2f2a702dc747952 Author: Matthias Clasen Date: Thu May 6 18:15:00 2010 -0400 Mention D-Bus functionality in the overview docs/reference/gio/overview.xml | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) commit 133f66538dbf266be3c99b34f1eeee0a5e6068ac Author: Matthias Clasen Date: Thu May 6 17:52:54 2010 -0400 Add a migration chapter for dbus bits Also split migration.xml into separate files per chapter, it was getting unwieldy. docs/reference/gio/Makefile.am | 10 +- docs/reference/gio/gio-docs.xml | 8 +- docs/reference/gio/migrating-dbus-glib.xml | 7 + docs/reference/gio/migrating-gconf.xml | 418 ++++++++++++++++++++ docs/reference/gio/migrating-gnome-vfs.xml | 133 +++++++ docs/reference/gio/migrating-posix.xml | 581 ++++++++++++++++++++++++++++ docs/reference/gio/migrating.xml | 581 ---------------------------- 7 files changed, 1154 insertions(+), 584 deletions(-) commit 44fd23b649ebe2f8f6d31e78400d3230b2c38366 Author: David Zeuthen Date: Thu May 6 17:41:31 2010 -0400 GDBus: Add more symbols to pltcheck.sh's SKIP variable In particular, add these symbols g_memdup g_print g_random_int g_propagate_prefixed_e g_thread_create_full g_int_hash g_file_open_tmp g_thread_self g_usleep gio/pltcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46ce134d516f4a246996328c980efe16195ab429 Author: David Zeuthen Date: Thu May 6 17:31:51 2010 -0400 GDBus: Add new symbols to gio.symbols docs/reference/gio/gio-sections.txt | 6 +- docs/reference/gio/gio.types | 2 +- gio/gcredentials.c | 4 + gio/gdbusaddress.c | 4 + gio/gdbusauth.c | 4 + gio/gdbusauthmechanism.c | 4 + gio/gdbusauthmechanismanon.c | 4 + gio/gdbusauthmechanismexternal.c | 4 + gio/gdbusauthmechanismsha1.c | 4 + gio/gdbusauthobserver.c | 4 + gio/gdbusconnection.c | 10 +- gio/gdbuserror.c | 4 + gio/gdbusintrospection.c | 5 + gio/gdbusmessage.c | 20 +- gio/gdbusmessage.h | 8 +- gio/gdbusmethodinvocation.c | 4 + gio/gdbusnameowning.c | 4 + gio/gdbusnamewatching.c | 4 + gio/gdbusprivate.c | 4 + gio/gdbusproxy.c | 4 + gio/gdbusproxywatching.c | 4 + gio/gdbusserver.c | 4 + gio/gdbusutils.c | 4 + gio/gio.symbols | 299 ++++++++++++++++++++++++++++++ gio/gunixcredentialsmessage.c | 4 + gio/tests/gdbus-example-unix-fd-client.c | 2 +- gio/tests/gdbus-peer.c | 2 +- gio/tests/gdbus-serialization.c | 2 +- 28 files changed, 405 insertions(+), 23 deletions(-) commit fb1b4599a0effe728f42da8748b469a62f91ed8d Author: David Zeuthen Date: Thu May 6 16:34:23 2010 -0400 GDBus: Fix up i18n gio/gcredentials.c | 3 ++- gio/gdbus-tool.c | 4 +++- gio/gdbusaddress.c | 5 +++-- gio/gdbusauth.c | 4 ++-- gio/gdbusauthmechanism.c | 4 ++-- gio/gdbusauthmechanismanon.c | 4 ++-- gio/gdbusauthmechanismexternal.c | 4 +++- gio/gdbusauthmechanismsha1.c | 4 +++- gio/gdbusauthobserver.c | 4 ++-- gio/gdbusconnection.c | 27 +++++++++++++++------------ gio/gdbuserror.c | 5 +++-- gio/gdbusintrospection.c | 5 +++-- gio/gdbusmessage.c | 3 ++- gio/gdbusmethodinvocation.c | 3 ++- gio/gdbusnameowning.c | 4 ++-- gio/gdbusnamewatching.c | 5 +++-- gio/gdbusprivate.c | 16 ++++++++++++++-- gio/gdbusproxy.c | 5 ++++- gio/gdbusproxywatching.c | 4 ++-- gio/gdbusserver.c | 16 ++++++++++------ gio/gdbusutils.c | 4 ++-- gio/gunixcredentialsmessage.c | 4 ++-- 22 files changed, 86 insertions(+), 51 deletions(-) commit 0fd6498cd89888023fb2161bfdde9339a4346986 Author: David Zeuthen Date: Thu May 6 16:02:08 2010 -0400 Add "Since: 2.26" to all new GDBus API docs/reference/gio/gio-docs.xml | 2 +- gio/gcredentials.c | 32 +++++++++++++ gio/gcredentials.h | 4 ++ gio/gdbusaddress.c | 12 +++++ gio/gdbusauthobserver.c | 6 +++ gio/gdbusauthobserver.h | 4 ++ gio/gdbusconnection.c | 94 ++++++++++++++++++++++++++++++++++++--- gio/gdbusconnection.h | 24 ++++++++++ gio/gdbuserror.c | 20 +++++++++ gio/gdbuserror.h | 4 ++ gio/gdbusintrospection.c | 52 ++++++++++++++++++++-- gio/gdbusintrospection.h | 28 ++++++++++++ gio/gdbusmessage.c | 88 ++++++++++++++++++++++++++++++++++++ gio/gdbusmessage.h | 4 ++ gio/gdbusmethodinvocation.c | 50 +++++++++++++++++++++ gio/gdbusmethodinvocation.h | 4 ++ gio/gdbusnameowning.c | 10 ++++- gio/gdbusnameowning.h | 6 +++ gio/gdbusnamewatching.c | 8 +++- gio/gdbusnamewatching.h | 4 ++ gio/gdbusprivate.c | 2 +- gio/gdbusproxy.c | 70 +++++++++++++++++++++++++---- gio/gdbusproxy.h | 4 ++ gio/gdbusproxywatching.c | 6 ++- gio/gdbusproxywatching.h | 4 ++ gio/gdbusserver.c | 28 ++++++++++++ gio/gdbusserver.h | 4 ++ gio/gdbusutils.c | 15 ++++++- gio/gioenums.h | 30 ++++++++++++- gio/gunixcredentialsmessage.c | 4 ++ gio/gunixcredentialsmessage.h | 15 +++++++ 31 files changed, 611 insertions(+), 27 deletions(-) commit c490c14f4e3fbbe8c74b26e6cacac31b0e744c92 Author: David Zeuthen Date: Thu May 6 15:31:45 2010 -0400 Set up gtk-doc for GDBus Also move send_credentials() and receive_credentials() to GUnixConnection. This code might change, discussion is still ongoing in https://bugzilla.gnome.org/show_bug.cgi?id=617483. docs/reference/gio/gio-docs.xml | 21 ++ docs/reference/gio/gio-sections.txt | 390 +++++++++++++++++++++++++++++++++++ docs/reference/gio/gio.types | 11 + gio/gcredentials.c | 4 +- gio/gdbusaddress.c | 2 +- gio/gdbusauth.c | 189 ----------------- gio/gdbusauthobserver.c | 2 +- gio/gdbusconnection.c | 8 +- gio/gdbuserror.c | 2 +- gio/gdbusintrospection.c | 2 +- gio/gdbusmessage.c | 2 +- gio/gdbusmethodinvocation.c | 2 +- gio/gdbusnameowning.c | 4 +- gio/gdbusnamewatching.c | 4 +- gio/gdbusproxy.c | 2 +- gio/gdbusproxywatching.c | 4 +- gio/gdbusserver.c | 4 +- gio/gdbusutils.c | 2 +- gio/gunixconnection.c | 258 +++++++++++++++++++++++ gio/gunixconnection.h | 10 + 20 files changed, 712 insertions(+), 211 deletions(-) commit 47805f4e0cadf35bd6882d7e54374fead25637d2 Author: Ryan Lortie Date: Thu May 6 14:19:58 2010 -0500 Bug 617947 - glib-mkenums: add @valuenum@ support Add a @valuenum@ substitution that outputs the integer value of a particular enum value. The value is determined by using (sandboxed) perl to evaluate C expression. If evaluation fails then glib-mkenums dies loudly. Evaluation is only enabled if '@valuenum@' appears in the template file, so existing users will not be affected. gobject/glib-mkenums.in | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit 7aa71527e592d3c46d08a784cf061c79e61d11d8 Author: Ryan Lortie Date: Thu May 6 12:36:10 2010 -0500 glib-mkenums: Fix support for comment templates Currently, specifying a comment template in the template file results in the given template being appended to the default (C-style) one rather than replacing it. This causes it to be replaced outright. Bug 617940. gobject/glib-mkenums.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d0a14469d09d5fe23de219ba293fd4a266b02ced Author: David Zeuthen Date: Thu May 6 14:13:59 2010 -0400 Initial GDBus code-drop from GDBus-standalone repo Things compile and the test-suite passes. Still need to hook up gio.symbols and docs. There are still a bunch of TODOs left in the sources that needs to be addressed. Signed-off-by: David Zeuthen configure.in | 10 + gio/Makefile.am | 58 +- gio/gcredentials.c | 427 +++ gio/gcredentials.h | 104 + gio/gdbus-bash-completion.sh | 33 + gio/gdbus-tool.c | 1491 +++++++++ gio/gdbusaddress.c | 1004 ++++++ gio/gdbusaddress.h | 54 + gio/gdbusauth.c | 1538 +++++++++ gio/gdbusauth.h | 86 + gio/gdbusauthmechanism.c | 342 ++ gio/gdbusauthmechanism.h | 174 + gio/gdbusauthmechanismanon.c | 327 ++ gio/gdbusauthmechanismanon.h | 82 + gio/gdbusauthmechanismexternal.c | 416 +++ gio/gdbusauthmechanismexternal.h | 82 + gio/gdbusauthmechanismsha1.c | 1216 +++++++ gio/gdbusauthmechanismsha1.h | 82 + gio/gdbusauthobserver.c | 218 ++ gio/gdbusauthobserver.h | 100 + gio/gdbusconnection.c | 5280 ++++++++++++++++++++++++++++++ gio/gdbusconnection.h | 467 +++ gio/gdbuserror.c | 847 +++++ gio/gdbuserror.h | 92 + gio/gdbusintrospection.c | 2009 ++++++++++++ gio/gdbusintrospection.h | 255 ++ gio/gdbusmessage.c | 2421 ++++++++++++++ gio/gdbusmessage.h | 172 + gio/gdbusmethodinvocation.c | 795 +++++ gio/gdbusmethodinvocation.h | 119 + gio/gdbusnameowning.c | 713 ++++ gio/gdbusnameowning.h | 88 + gio/gdbusnamewatching.c | 620 ++++ gio/gdbusnamewatching.h | 68 + gio/gdbusprivate.c | 1040 ++++++ gio/gdbusprivate.h | 83 + gio/gdbusproxy.c | 1542 +++++++++ gio/gdbusproxy.h | 146 + gio/gdbusproxywatching.c | 397 +++ gio/gdbusproxywatching.h | 77 + gio/gdbusserver.c | 1043 ++++++ gio/gdbusserver.h | 97 + gio/gdbusutils.c | 364 ++ gio/gdbusutils.h | 42 + gio/gio-marshal.list | 2 + gio/gio.h | 16 + gio/gioenums.h | 372 ++- gio/giotypes.h | 19 + gio/gunixcredentialsmessage.c | 341 ++ gio/gunixcredentialsmessage.h | 68 + gio/tests/Makefile.am | 98 +- gio/tests/gdbus-addresses.c | 77 + gio/tests/gdbus-connection.c | 653 ++++ gio/tests/gdbus-error.c | 198 ++ gio/tests/gdbus-example-own-name.c | 99 + gio/tests/gdbus-example-peer.c | 318 ++ gio/tests/gdbus-example-server.c | 388 +++ gio/tests/gdbus-example-subtree.c | 410 +++ gio/tests/gdbus-example-unix-fd-client.c | 145 + gio/tests/gdbus-example-watch-name.c | 101 + gio/tests/gdbus-example-watch-proxy.c | 205 ++ gio/tests/gdbus-exit-on-close.c | 82 + gio/tests/gdbus-export.c | 1410 ++++++++ gio/tests/gdbus-introspection.c | 169 + gio/tests/gdbus-names.c | 749 +++++ gio/tests/gdbus-peer.c | 746 +++++ gio/tests/gdbus-proxy.c | 455 +++ gio/tests/gdbus-serialization.c | 650 ++++ gio/tests/gdbus-sessionbus.c | 342 ++ gio/tests/gdbus-sessionbus.h | 38 + gio/tests/gdbus-tests.c | 218 ++ gio/tests/gdbus-tests.h | 146 + gio/tests/gdbus-testserver.py | 270 ++ gio/tests/gdbus-threading.c | 532 +++ 74 files changed, 35927 insertions(+), 11 deletions(-) commit 5b4189fc42afa697b7f13c38d9d6b441d731ed11 Author: Vincent Untz Date: Thu May 6 12:45:37 2010 +0200 Fix binding between writability of key and sensitivity of a widget We were not setting the key correctly, result in usage of invalid keys. Bug 617788. gio/gsettings.c | 3 +++ 1 file changed, 3 insertions(+) commit 81e98c399e11d7621c91ff2911ef4f92c7a382e5 Author: Javier Jardón Date: Thu May 6 06:28:54 2010 +0200 Clean Glib header #include issues: gthread glib/gthread.c | 7 ++++++- glib/gthread.h | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) commit c7940d81802194abe1d4497d3daa2f9c59addb5e Author: Javier Jardón Date: Wed May 5 18:32:03 2010 +0200 Clean Glib header #include issues: gmem glib/gmem.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 21302a741cbb3d6373a368df148f6267a0705366 Author: Javier Jardón Date: Wed May 5 18:24:33 2010 +0200 Clean Glib header #include issues: gtestutils glib/gtestutils.c | 13 +++++++++++-- glib/gtestutils.h | 1 - 2 files changed, 11 insertions(+), 3 deletions(-) commit d1642386c96b4a2a4479cd7c2b5cd8ddadae99e4 Author: Javier Jardón Date: Wed May 5 18:12:04 2010 +0200 Clean Glib header #include issues: gasyncqueue glib/gasyncqueue.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 434a4e1d250157b13d7036592f097c18fb8376b1 Author: Javier Jardón Date: Wed May 5 17:32:12 2010 +0200 Do not include "glib.h" in gio files gio/gcharsetconverter.c | 4 ++-- gio/gsocket.c | 4 ++-- gio/gzlibcompressor.c | 6 +++--- gio/gzlibdecompressor.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) commit cbbc99d972a7c8ef4a37b29c19f46cfc11628e97 Author: Tor Lillqvist Date: Wed May 5 09:43:30 2010 +0300 Minor updates to README.win32. README.win32 | 57 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 25 deletions(-) commit b3c9c17956a2e2640c1846879d930fd706eaf966 Author: Xan Lopez Date: Tue May 4 18:09:01 2010 +0200 Fix typo in limits documentation docs/reference/glib/tmpl/limits.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f39a49b03610a1cd54b9feb18528f5c74539d5c9 Author: Torsten Schönfeld Date: Mon Apr 26 23:38:41 2010 +0200 gio: Add a boxed type for GFileAttributeMatcher https://bugzilla.gnome.org/show_bug.cgi?id=616892 docs/reference/gio/gio.types | 1 + gio/gfileinfo.c | 18 ++++++++++++++++++ gio/gfileinfo.h | 1 + gio/gio.symbols | 1 + 4 files changed, 21 insertions(+) commit 4487b326d781d4359fd76ce51ce4002c9db5d6d5 Author: Tor Lillqvist Date: Mon May 3 19:56:46 2010 +0300 Fix list of sources in the gio Visual Studio project List the additional sources needed in gio/Makefile.am, not in gio.vcprojin. Fix broken usage of sort. Filter out Unix-only source files. build/win32/vs9/gio.vcprojin | 9 --------- gio/Makefile.am | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 11 deletions(-) commit 0f795345d68be2af96cc030972786f2989ffd8c0 Author: Tor Lillqvist Date: Mon May 3 19:24:35 2010 +0300 Fix misspelled identifier in the Win32 code gio/gsocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 622916b731354c2dcd4178abf3ada08ca51dd38c Author: Dan Winship Date: Sun Apr 25 22:54:12 2010 -0400 g_cancellable_release_fd: allow NULL cancellable Almost all GCancellable methods silently do nothing if passed NULL for the cancellable. Make g_cancellable_release_fd() do that as well. gio/gcancellable.c | 3 +++ 1 file changed, 3 insertions(+) commit 644dfbd704d103df3a7ac13f31cfb87aa03f377d Author: Ryan Lortie Date: Sun May 2 14:14:30 2010 -0500 GSettings: fix mixed use of a pointer - used in some places as a move-along-as-we-go pointer - used in other places as a pointer to the fixed base of an array Switch all users to the first style to avoid a crasher. gio/gsettingsbackend.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 5821b7f099feaa58e9e476187d22a0a917cb099e Author: Kjartan Maraas Date: Sat May 1 14:25:22 2010 +0200 Updated Norwegian bokmål translation po/nb.po | 1024 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 517 insertions(+), 507 deletions(-) commit 4c10cad66175c9a4a79b764c2f807482811c5dcc Author: Christian Persch Date: Wed Apr 28 12:36:30 2010 +0200 Add API to get the compile and match flags from a GRegex Bug #616967. docs/reference/glib/glib-sections.txt | 2 ++ docs/reference/glib/tmpl/gregex.sgml | 18 +++++++++++++++++ glib/glib.symbols | 2 ++ glib/gregex.c | 36 +++++++++++++++++++++++++++++++++ glib/gregex.h | 3 +++ 5 files changed, 61 insertions(+) commit 3d5ce40624561dc2f4779c5f9fc7f8b7d745aecd Author: Shaun McCance Date: Thu Apr 29 19:27:56 2010 -0500 [gvariant-varargs.xml] Fix some outdated documentation docs/reference/glib/gvariant-varargs.xml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 8dddf6499e9e8a052a5673fe8771aeaac08cccae Author: Ryan Lortie Date: Sun Apr 25 22:00:28 2010 -0500 GSettingsBackend API/ABI change - add list() virtual method - add 'default_value' flag to read() call gio/gdelayedsettingsbackend.c | 8 ++-- gio/gio.symbols | 1 + gio/gkeyfilesettingsbackend.c | 6 ++- gio/gmemorysettingsbackend.c | 7 +++- gio/gnullsettingsbackend.c | 3 +- gio/gsettings.c | 2 +- gio/gsettingsbackend.c | 91 +++++++++++++++++++++++++++++----------- gio/gsettingsbackend.h | 10 ++++- gio/gsettingsbackendinternal.h | 3 +- 9 files changed, 96 insertions(+), 35 deletions(-) commit 5215d4b6d316c9357b832c84aae4c4d756224b5d Author: Ryan Lortie Date: Wed Apr 28 12:39:02 2010 -0500 Add API for dconf's sake. gvdb-builder.c | 6 +-- gvdb-reader.c | 155 +++++++++++++++++++++++++++++++++++++++++++++++--------- gvdb-reader.h | 16 ++++++ 3 files changed, 150 insertions(+), 27 deletions(-) commit 9ba690b386ebb8dc35665ff07b43c9a5874fda4b Author: Dan Winship Date: Tue Apr 27 09:25:45 2010 -0400 .gitignore updates for gsettings stuff docs/reference/gio/.gitignore | 1 + gio/.gitignore | 2 ++ gio/tests/.gitignore | 5 +++++ 3 files changed, 8 insertions(+) commit 9e40529e040e715ca65df735013969e20b05a150 Author: Jorge González Date: Tue Apr 27 21:05:13 2010 +0200 Updated Spanish translation po/es.po | 76 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) commit 9ca75da1210bb88dc64b768db219f19de2b57573 Author: Jorge González Date: Tue Apr 27 20:59:07 2010 +0200 Updated Spanish translation po/es.po | 1041 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 530 insertions(+), 511 deletions(-) commit 5046dfc85d7df95d7f8c87e3b41d9152bc50549a Author: Dan Winship Date: Mon Apr 12 10:21:20 2010 -0400 GSocket: fix garbled error messages on windows socket_strerror() was assuming all "strerror" messages are shorter than 128 bytes, which is certainly true on Linux, but apparently not on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=615494 gio/gsocket.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 270a954b54521ce0eca6d408b8e8c081c70c3455 Author: Alexander Larsson Date: Tue Apr 27 09:23:07 2010 +0200 Allocate quarks in chunks to avoid overhead and fragmentation See bug 616720 for some measurements. glib/gdataset.c | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) commit 3ceddd74bb4304e4e9b2e8955b80212108703632 Author: David Zeuthen Date: Mon Apr 26 16:37:02 2010 -0400 Bug 616877 – Several issues with g_socket_receive_message The messages array was not reallocated correctly because it was using malloc instead of realloc. Also, if the user requested messages but none were received we would segfault. Rewrite the code to fix this and, for better readability, use GPtrArray instead of rolling our own. Also make the docs mention that the user need to free the returned GSocketControlMessage objects using g_object_unref(). Clarify that *messages may be set to %NULL if there are no messages (this will save pointless allocs of arrays). Finally, the Win32 version didn't set messages to the expected value. https://bugzilla.gnome.org/show_bug.cgi?id=616877 Signed-off-by: David Zeuthen gio/gsocket.c | 63 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 27 deletions(-) commit cd062e841fecd51845b4a66473c7636706021dff Author: Ryan Lortie Date: Sun Apr 25 20:08:59 2010 -0500 docs and glib.symbols update docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ 2 files changed, 4 insertions(+) commit 6f7fb3744bbb4d1ee04d4e526d2ff7225c56c426 Author: Christian Persch Date: Sun Apr 25 20:07:26 2010 -0500 Add testcases for and Bug #616102. gio/tests/Makefile.am | 48 +++++++++++++------- gio/tests/gschema-compile.c | 40 +++++++++------- .../array-default-not-in-choices.gschema.xml | 11 +++++ .../schema-tests/choice-missing-value.gschema.xml | 10 ++++ .../schema-tests/choices-wrong-type.gschema.xml | 8 ++++ .../default-not-in-choices.gschema.xml | 11 +++++ .../schema-tests/default-out-of-range.gschema.xml | 8 ++++ .../schema-tests/range-missing-max.gschema.xml | 8 ++++ .../schema-tests/range-missing-min.gschema.xml | 8 ++++ .../schema-tests/range-wrong-type.gschema.xml | 8 ++++ 10 files changed, 127 insertions(+), 33 deletions(-) commit 22ce6ed82d9d1de823fab071d6dc288abedc1735 Author: Ryan Lortie Date: Sun Apr 25 19:59:59 2010 -0500 Add range restriction to gschema-compiler Patch from Christian Persch, with minor modifications. Bug #616102 gio/gschema-compile.c | 174 ++++++++++++++++++++++++++++++++++++++++++++----- gio/gschema.dtd | 6 +- gio/gsettings.c | 6 +- 3 files changed, 163 insertions(+), 23 deletions(-) commit 5e6e7cbadf2ee48c0e439a416e5fb74e8e5d8dee Author: Ryan Lortie Date: Sun Apr 25 19:10:44 2010 -0500 GVariant: add bind map for strings to byte arrays gio/gsettings-mapping.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit a52b6f7df2f91d4aae7f240038ab193a70052db5 Author: Ryan Lortie Date: Sun Apr 25 19:09:35 2010 -0500 Add g_variant_{new,get}_byte_array() Now that strings are strictly utf8 this provides a convenient API for storing non-utf8 string data. glib/gvariant.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +++ 2 files changed, 83 insertions(+) commit 4c189ba6b0ff81e13725029a00f2c4c7ab6a3b00 Author: Shaun McCance Date: Fri Apr 23 21:08:27 2010 -0500 Make glib_compile_schemas point to a binary that exists gio-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9eeab5868f0d8633f63e40f61263cd731ad99d0e Author: Ryan Lortie Date: Sun Apr 25 13:36:36 2010 -0500 GVariant: strings are now utf8 - modify serialiser validation function to enforce utf8 encoding - add documentation to g_variant_new_string(), g_variant_get_string(), g_variant_dup_string() - add 2 new test cases to check that it works glib/gvariant-serialiser.c | 10 +++------- glib/gvariant.c | 12 +++++++++--- glib/tests/gvariant.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 10 deletions(-) commit da306296cf1eb2ce7346e253c3ca46f784a04f8f Author: Tor Lillqvist Date: Sun Apr 25 17:26:41 2010 +0300 Can't use stderr as a field name gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 93d300742d6047f121c614df412717e09bc8def0 Author: Fran Diéguez Date: Sat Apr 24 03:46:59 2010 +0200 Updated Galician translation po/gl.po | 1002 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 506 insertions(+), 496 deletions(-) commit c50754c7c9286ba145a52885d65bb6ad50c8a2ef Author: Matthias Clasen Date: Fri Apr 23 20:50:27 2010 -0400 bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit afe3aef7b02e94e1d2b926e131beea2de5f5c96d Author: Matthias Clasen Date: Fri Apr 23 20:49:02 2010 -0400 2.25.3 po/af.po | 52 ++++++++++++++++++++++++++++------------------------ po/am.po | 52 ++++++++++++++++++++++++++++------------------------ po/ar.po | 52 ++++++++++++++++++++++++++++------------------------ po/as.po | 52 ++++++++++++++++++++++++++++------------------------ po/ast.po | 52 ++++++++++++++++++++++++++++------------------------ po/az.po | 52 ++++++++++++++++++++++++++++------------------------ po/be.po | 52 ++++++++++++++++++++++++++++------------------------ po/be@latin.po | 52 ++++++++++++++++++++++++++++------------------------ po/bg.po | 52 ++++++++++++++++++++++++++++------------------------ po/bn.po | 52 ++++++++++++++++++++++++++++------------------------ po/bn_IN.po | 52 ++++++++++++++++++++++++++++------------------------ po/bs.po | 52 ++++++++++++++++++++++++++++------------------------ po/ca.po | 52 ++++++++++++++++++++++++++++------------------------ po/ca@valencia.po | 52 ++++++++++++++++++++++++++++------------------------ po/cs.po | 52 ++++++++++++++++++++++++++++------------------------ po/cy.po | 52 ++++++++++++++++++++++++++++------------------------ po/da.po | 52 ++++++++++++++++++++++++++++------------------------ po/de.po | 52 ++++++++++++++++++++++++++++------------------------ po/dz.po | 52 ++++++++++++++++++++++++++++------------------------ po/el.po | 52 ++++++++++++++++++++++++++++------------------------ po/en@shaw.po | 52 ++++++++++++++++++++++++++++------------------------ po/en_CA.po | 52 ++++++++++++++++++++++++++++------------------------ po/en_GB.po | 52 ++++++++++++++++++++++++++++------------------------ po/eo.po | 52 ++++++++++++++++++++++++++++------------------------ po/es.po | 52 ++++++++++++++++++++++++++++------------------------ po/et.po | 52 ++++++++++++++++++++++++++++------------------------ po/eu.po | 52 ++++++++++++++++++++++++++++------------------------ po/fa.po | 52 ++++++++++++++++++++++++++++------------------------ po/fi.po | 52 ++++++++++++++++++++++++++++------------------------ po/fr.po | 52 ++++++++++++++++++++++++++++------------------------ po/ga.po | 52 ++++++++++++++++++++++++++++------------------------ po/gl.po | 52 ++++++++++++++++++++++++++++------------------------ po/gu.po | 52 ++++++++++++++++++++++++++++------------------------ po/he.po | 52 ++++++++++++++++++++++++++++------------------------ po/hi.po | 52 ++++++++++++++++++++++++++++------------------------ po/hr.po | 52 ++++++++++++++++++++++++++++------------------------ po/hu.po | 52 ++++++++++++++++++++++++++++------------------------ po/hy.po | 52 ++++++++++++++++++++++++++++------------------------ po/id.po | 52 ++++++++++++++++++++++++++++------------------------ po/is.po | 52 ++++++++++++++++++++++++++++------------------------ po/it.po | 52 ++++++++++++++++++++++++++++------------------------ po/ja.po | 52 ++++++++++++++++++++++++++++------------------------ po/ka.po | 52 ++++++++++++++++++++++++++++------------------------ po/kn.po | 52 ++++++++++++++++++++++++++++------------------------ po/ko.po | 52 ++++++++++++++++++++++++++++------------------------ po/ku.po | 52 ++++++++++++++++++++++++++++------------------------ po/lt.po | 52 ++++++++++++++++++++++++++++------------------------ po/lv.po | 52 ++++++++++++++++++++++++++++------------------------ po/mai.po | 52 ++++++++++++++++++++++++++++------------------------ po/mg.po | 52 ++++++++++++++++++++++++++++------------------------ po/mk.po | 52 ++++++++++++++++++++++++++++------------------------ po/ml.po | 52 ++++++++++++++++++++++++++++------------------------ po/mn.po | 52 ++++++++++++++++++++++++++++------------------------ po/mr.po | 52 ++++++++++++++++++++++++++++------------------------ po/ms.po | 52 ++++++++++++++++++++++++++++------------------------ po/nb.po | 52 ++++++++++++++++++++++++++++------------------------ po/nds.po | 52 ++++++++++++++++++++++++++++------------------------ po/ne.po | 52 ++++++++++++++++++++++++++++------------------------ po/nl.po | 52 ++++++++++++++++++++++++++++------------------------ po/nn.po | 52 ++++++++++++++++++++++++++++------------------------ po/oc.po | 52 ++++++++++++++++++++++++++++------------------------ po/or.po | 52 ++++++++++++++++++++++++++++------------------------ po/pa.po | 52 ++++++++++++++++++++++++++++------------------------ po/pl.po | 52 ++++++++++++++++++++++++++++------------------------ po/ps.po | 52 ++++++++++++++++++++++++++++------------------------ po/pt.po | 52 ++++++++++++++++++++++++++++------------------------ po/pt_BR.po | 52 ++++++++++++++++++++++++++++------------------------ po/ro.po | 52 ++++++++++++++++++++++++++++------------------------ po/ru.po | 52 ++++++++++++++++++++++++++++------------------------ po/rw.po | 52 ++++++++++++++++++++++++++++------------------------ po/si.po | 52 ++++++++++++++++++++++++++++------------------------ po/sk.po | 52 ++++++++++++++++++++++++++++------------------------ po/sl.po | 52 ++++++++++++++++++++++++++++------------------------ po/sq.po | 52 ++++++++++++++++++++++++++++------------------------ po/sr.po | 52 ++++++++++++++++++++++++++++------------------------ po/sr@ije.po | 52 ++++++++++++++++++++++++++++------------------------ po/sr@latin.po | 52 ++++++++++++++++++++++++++++------------------------ po/sv.po | 52 ++++++++++++++++++++++++++++------------------------ po/ta.po | 52 ++++++++++++++++++++++++++++------------------------ po/te.po | 52 ++++++++++++++++++++++++++++------------------------ po/th.po | 52 ++++++++++++++++++++++++++++------------------------ po/tl.po | 52 ++++++++++++++++++++++++++++------------------------ po/tr.po | 52 ++++++++++++++++++++++++++++------------------------ po/tt.po | 52 ++++++++++++++++++++++++++++------------------------ po/uk.po | 52 ++++++++++++++++++++++++++++------------------------ po/vi.po | 52 ++++++++++++++++++++++++++++------------------------ po/wa.po | 52 ++++++++++++++++++++++++++++------------------------ po/xh.po | 52 ++++++++++++++++++++++++++++------------------------ po/yi.po | 52 ++++++++++++++++++++++++++++------------------------ po/zh_CN.po | 52 ++++++++++++++++++++++++++++------------------------ po/zh_HK.po | 52 ++++++++++++++++++++++++++++------------------------ po/zh_TW.po | 52 ++++++++++++++++++++++++++++------------------------ 92 files changed, 2576 insertions(+), 2208 deletions(-) commit daa405c191c5efa8ad364414470b8fbdb0673401 Author: Matthias Clasen Date: Fri Apr 23 19:57:14 2010 -0400 Rename in more places gio/tests/Makefile.am | 2 +- gio/tests/gsettings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 72b80c5bdd6105ea06a55a4dba1c3350a459bb01 Author: Matthias Clasen Date: Fri Apr 23 19:18:41 2010 -0400 Updates NEWS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit ec664445a9cf1769e440a25ffb4e17e9e644f6d0 Author: Matthias Clasen Date: Fri Apr 23 17:27:26 2010 -0400 Rename gschema-compile to glib-compile-schemas And clean up the autofoo a bit: use an uppercase variable, check for pkg-config, check for presence of glib-compile-schemas. docs/reference/gio/Makefile.am | 4 +- docs/reference/gio/gio-docs.xml | 2 +- docs/reference/gio/glib-compile-schemas.xml | 85 +++++++++++++++++++++++ docs/reference/gio/gschema-compile.xml | 85 ----------------------- docs/reference/gio/gsettings-schema-convert.xml | 2 +- docs/reference/gio/migrating.xml | 6 +- gio-2.0.pc.in | 2 +- gio/Makefile.am | 6 +- gio/gsettings.c | 5 +- gio/tests/gschema-compile.c | 2 +- m4macros/gsettings.m4 | 13 ++-- 11 files changed, 109 insertions(+), 103 deletions(-) commit e6e7015bbd253b01b51186a931cdd58dfb4390f2 Author: Matthias Clasen Date: Fri Apr 23 14:52:26 2010 -0400 Fix up man page handling Turns out the formatted man pages did not end up in the tarballs. Doh. docs/reference/gio/Makefile.am | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit 172c229c8f7965d2b40da56ec7147a250dfdee83 Author: Ryan Lortie Date: Fri Apr 23 13:54:02 2010 -0400 add missing #endif from last patch gio/gnetworkingprivate.h | 1 + 1 file changed, 1 insertion(+) commit 1504a77655ec5291b8bccb321bc7e349dd2d53d3 Author: Dan Winship Date: Thu Feb 25 11:40:31 2010 -0500 GSocket: define CMSG_LEN and CMSG_SPACE if the system doesn't https://bugzilla.gnome.org/show_bug.cgi?id=589989 gio/gnetworkingprivate.h | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 29f3e3f7663606872361079b6475b441df1f4a63 Author: Dan Winship Date: Thu Dec 31 10:29:23 2009 -0500 GSocket: add support for timeouts Also add options for testing timeouts to socket test programs https://bugzilla.gnome.org/show_bug.cgi?id=587898 docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gsocket.c | 184 ++++++++++++++++++++++++++++++++--- gio/gsocket.h | 3 + gio/tests/socket-client.c | 6 ++ gio/tests/socket-server.c | 15 +++ 6 files changed, 200 insertions(+), 12 deletions(-) commit 2c4a79c810a3fde1e30989b0c35677bf6e1337fc Author: Dan Winship Date: Thu Jul 9 09:55:00 2009 -0400 GSocket: Merge the unix and windows socket sources together And remove the bits that were added to gasynchelper.c to support the previous unix socket source. part of https://bugzilla.gnome.org/show_bug.cgi?id=587898 gio/gasynchelper.c | 38 ++++---------- gio/gasynchelper.h | 27 ++-------- gio/gsocket.c | 144 ++++++++++++++++++++++++---------------------------- 3 files changed, 77 insertions(+), 132 deletions(-) commit 5b329c506a8de5d21c3cd251be05a8d6b1f7fdba Author: Dan Winship Date: Fri Apr 23 12:21:38 2010 -0400 gio/tests/socket-client, socket-server: fix for win32 The addition of unix socket support broke these on win32 gio/tests/socket-client.c | 2 ++ gio/tests/socket-common.c | 6 +++++- gio/tests/socket-server.c | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) commit 3baff96b37060d5f771337e797343e507a79baf1 Author: David Zeuthen Date: Fri Apr 23 12:14:37 2010 -0400 Make sure G_TYPE_ERROR shows up in the docs This is related to bug 614541. Signed-off-by: David Zeuthen docs/reference/gobject/gobject-sections.txt | 1 + 1 file changed, 1 insertion(+) commit f68dc4d97d7aeaa8588a4ea0d36f057cd5aaf42e Author: Javier Jardón Date: Fri Apr 23 15:39:44 2010 +0200 [gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGS So we don't use Automake's macro namespace Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616648 docs/reference/gio/migrating.xml | 4 ++-- m4macros/gsettings.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 38e2273207783e4396aabd47bdab5f28155ad6ae Author: Emmanuele Bassi Date: Tue Apr 6 16:17:18 2010 +0100 Add G_GNUC_DEPRECATED_FOR macro It would be good, error reporting-wise, to be able to signal which function should be used instead of a deprecated one. GCC 4.5 added an optional "message" payload to the deprecated attribute, so that: void f1 (void) __attribute__((deprecated("Use f2 instead"))); Will expand to: warning: f1 is deprecated: Use f2 instead Instead of just printing: warning: f1 is deprecated Since we already have a G_GNUC_DEPRECATED macro we should provide a G_GNUC_DEPRECATED_FOR macro defined as: G_GNUC_DEPRECATED_FOR(bar) Which would expand the deprecation message to "Use bar instead" automatically. The deprecation message should probably be similar to what we use in gtk-doc to match up with the documentation. https://bugzilla.gnome.org/show_bug.cgi?id=614965 glib/gmacros.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 8f82b994c9963ad23a32f302dc2166f5ca4c2564 Author: Matthias Clasen Date: Thu Apr 22 22:24:38 2010 -0400 bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c5849abc06a04c0dbaf2902b8104dcec90fa9b6 Author: Matthias Clasen Date: Thu Apr 22 22:23:09 2010 -0400 2.25.2 po/af.po | 117 +++++- po/am.po | 117 +++++- po/ar.po | 117 +++++- po/as.po | 117 +++++- po/ast.po | 117 +++++- po/az.po | 117 +++++- po/be.po | 117 +++++- po/be@latin.po | 117 +++++- po/bg.po | 117 +++++- po/bn.po | 117 +++++- po/bn_IN.po | 117 +++++- po/bs.po | 117 +++++- po/ca.po | 117 +++++- po/ca@valencia.po | 990 ++++++++++++++++++++++++------------------------ po/cs.po | 117 +++++- po/cy.po | 117 +++++- po/da.po | 117 +++++- po/de.po | 117 +++++- po/dz.po | 117 +++++- po/el.po | 117 +++++- po/en@shaw.po | 117 +++++- po/en_CA.po | 117 +++++- po/en_GB.po | 117 +++++- po/eo.po | 117 +++++- po/es.po | 1078 ++++++++++++++++++++++++++++------------------------- po/et.po | 117 +++++- po/eu.po | 117 +++++- po/fa.po | 117 +++++- po/fi.po | 117 +++++- po/fr.po | 117 +++++- po/ga.po | 117 +++++- po/gl.po | 990 ++++++++++++++++++++++++------------------------ po/gu.po | 117 +++++- po/he.po | 117 +++++- po/hi.po | 117 +++++- po/hr.po | 117 +++++- po/hu.po | 117 +++++- po/hy.po | 117 +++++- po/id.po | 117 +++++- po/is.po | 117 +++++- po/it.po | 118 +++++- po/ja.po | 117 +++++- po/ka.po | 117 +++++- po/kn.po | 1011 +++++++++++++++++++++++++------------------------ po/ko.po | 117 +++++- po/ku.po | 117 +++++- po/lt.po | 117 +++++- po/lv.po | 117 +++++- po/mai.po | 117 +++++- po/mg.po | 117 +++++- po/mk.po | 117 +++++- po/ml.po | 117 +++++- po/mn.po | 117 +++++- po/mr.po | 117 +++++- po/ms.po | 117 +++++- po/nb.po | 117 +++++- po/nds.po | 117 +++++- po/ne.po | 117 +++++- po/nl.po | 118 +++++- po/nn.po | 117 +++++- po/oc.po | 117 +++++- po/or.po | 117 +++++- po/pa.po | 117 +++++- po/pl.po | 117 +++++- po/ps.po | 117 +++++- po/pt.po | 117 +++++- po/pt_BR.po | 117 +++++- po/ro.po | 117 +++++- po/ru.po | 117 +++++- po/rw.po | 117 +++++- po/si.po | 117 +++++- po/sk.po | 117 +++++- po/sl.po | 117 +++++- po/sq.po | 117 +++++- po/sr.po | 117 +++++- po/sr@ije.po | 117 +++++- po/sr@latin.po | 117 +++++- po/sv.po | 117 +++++- po/ta.po | 117 +++++- po/te.po | 117 +++++- po/th.po | 117 +++++- po/tl.po | 117 +++++- po/tr.po | 117 +++++- po/tt.po | 117 +++++- po/uk.po | 117 +++++- po/vi.po | 117 +++++- po/wa.po | 117 +++++- po/xh.po | 117 +++++- po/yi.po | 117 +++++- po/zh_CN.po | 117 +++++- po/zh_HK.po | 117 +++++- po/zh_TW.po | 117 +++++- 92 files changed, 12078 insertions(+), 2289 deletions(-) commit 25725345fbb184ecbdc62c7ac418cd01f0fc8b0f Author: Matthias Clasen Date: Thu Apr 22 22:01:19 2010 -0400 Fix up distcheck docs/reference/gio/Makefile.am | 2 +- docs/reference/gio/gio.types | 1 + gio/gio.symbols | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit b2ee97d00db227c042158951467495baf68529e4 Author: Matthias Clasen Date: Thu Apr 22 20:48:24 2010 -0400 Fix up g_variant_compare addition docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 2 ++ glib/gvariant.h | 3 ++- 4 files changed, 6 insertions(+), 1 deletion(-) commit 8f7122433f69180533b15584ae5abf0e50007207 Author: Matthias Clasen Date: Thu Apr 22 20:15:29 2010 -0400 More updates NEWS | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) commit b440cc154669b492b5301e221d85bf6b8586a994 Author: Matthias Clasen Date: Thu Apr 22 20:10:56 2010 -0400 Add a boxed type for GError Patch by Sebastian Dröge, bug 614541 gobject/gboxed.c | 13 +++++++++++++ gobject/gboxed.h | 9 +++++++++ gobject/gobject.symbols | 1 + 3 files changed, 23 insertions(+) commit 4a62a00c4c52634062caaaa1de9c48246f393967 Author: Matthias Clasen Date: Thu Apr 22 20:02:49 2010 -0400 Document --dry-run option of gschema-compile docs/reference/gio/gschema-compile.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit 00a7c2e635a4fa95257779c271f0eaa5992e2b37 Author: Behdad Esfahbod Date: Thu Apr 22 19:48:13 2010 -0400 Bug 615379 - g_new macros crash if sizeof(struct_type) == 0 glib/gmem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7b43d2d299ef58f5d174b1b5bf4704488981259b Author: Matthias Clasen Date: Thu Apr 22 19:31:39 2010 -0400 Fix !srcdir build Bug 616216 gthread/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 708d540a6f364b254f001b863be837ca9a0e1797 Author: Matthias Clasen Date: Thu Apr 22 01:29:53 2010 -0400 Updates NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) commit 626e90403e8b77ebd77e75e7239defbfe06eb941 Author: Carles Ferrando Date: Fri Apr 23 00:45:49 2010 +0200 Updated Catalan (Valencian) translation po/ca@valencia.po | 1363 +++++++++++++++++++++++++++++------------------------ 1 file changed, 748 insertions(+), 615 deletions(-) commit daa1a73c752e66d53de6016a9baa2be14d59af61 Author: Ryan Lortie Date: Thu Apr 22 15:44:54 2010 -0400 Add a missing 'static' on internal functions gvdb-builder.c | 2 +- gvdb-reader.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 19d8cc33759e38a7cfcf7ddaa2e80e7c4ddc2d3c Author: Dan Winship Date: Tue Apr 20 17:23:49 2010 -0400 GUnixSocketAddress: handle abstract sockets with non-0-padded names There are apparently two incompatible ways of naming abstract sockets: pad the sockaddr with 0s and use the entire thing as the name, or else don't, and just pass a shorter length value to the relevant functions. We previously only supported the former method. Add support for the latter. Also correctly handle "anonymous" unix sockaddrs (eg, the client side of a connection, or a socketpair() socket), and add unix domain socket support to the socket-client and socket-server test programs to make sure this all works. https://bugzilla.gnome.org/show_bug.cgi?id=615960 docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 10 +- gio/gioenums.h | 34 ++++++ gio/gsocketaddress.c | 41 +++++-- gio/gunixsocketaddress.c | 209 ++++++++++++++++++++++++++++------- gio/gunixsocketaddress.h | 10 +- gio/tests/Makefile.am | 1 + gio/tests/socket-client.c | 54 +++++---- gio/tests/socket-common.c | 56 ++++++++++ gio/tests/socket-server.c | 68 ++++++++---- gio/tests/unix-fd.c | 61 +++++++--- 11 files changed, 438 insertions(+), 109 deletions(-) commit 5e892de8afaf564838910f11bdc383ab441417ca Author: Fran Diéguez Date: Thu Apr 22 16:29:06 2010 +0200 Updated Galician translations po/gl.po | 1079 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 611 insertions(+), 468 deletions(-) commit 3e9a296b29c613b8f09c735ad2dabd9048e9025b Author: Shankar Prasad Date: Thu Apr 22 16:09:58 2010 +0530 Updated Kannada translations po/kn.po | 1122 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 614 insertions(+), 508 deletions(-) commit f3e04973e7977841dc946089967c397490f4fd57 Author: Matthias Clasen Date: Thu Apr 22 01:15:54 2010 -0400 Rename gsettings-tool to gsettings And make it verb-based. docs/reference/gio/Makefile.am | 10 +- docs/reference/gio/gio-docs.xml | 8 +- docs/reference/gio/gschema-compile.xml | 7 +- docs/reference/gio/gsettings-tool.xml | 93 -------- docs/reference/gio/gsettings.xml | 137 +++++++++++ gio/Makefile.am | 6 +- gio/gsettings-tool.c | 410 ++++++++++++++++++++++++-------- 7 files changed, 464 insertions(+), 207 deletions(-) commit bf0f8ad8ee800b9a1f76a57684b45f79e2e6e5d8 Author: Javier Jardón Date: Thu Apr 22 03:20:17 2010 +0200 [gsettings] Add g_return_*_if_fail() guards in GSettingsBackend gio/gsettingsbackend.c | 3 +++ 1 file changed, 3 insertions(+) commit 0fa791b29d4b3aa2154f322dda5a7c0d2caa1ede Author: Javier Jardón Date: Thu Apr 22 03:07:49 2010 +0200 [gsettings] Add g_return_*_if_fail() guards Reported by Christian Persch here: https://bugzilla.gnome.org/show_bug.cgi?id=616405 gio/gsettings.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 78ed401a5146ac1d2f83f19b6a6fcfe789d847cb Author: Matthias Clasen Date: Wed Apr 21 21:03:53 2010 -0400 Add a test for g_settings_get_child gio/tests/gsettings.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 88ff21ee92237858b65560d20f255506f2125a55 Author: Matthias Clasen Date: Wed Apr 21 18:08:05 2010 -0400 Be more careful about memory management This was leading to crashes, e.g. bug 616432. gio/gschema-compile.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 89b718f7d396c165a023e46c5111549a2a1e2d1c Author: Matthias Clasen Date: Wed Apr 21 17:44:47 2010 -0400 Pedantic terminology fix Elements are not function calls and attributes are not arguments... gio/gschema-compile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0d9a40b8943ec3b9926efad93a28687708cc2038 Author: Colin Walters Date: Wed Apr 21 16:44:26 2010 -0400 Fix typo in GMutex error message gthread/gthread-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 585a37f37455e1b91029db6c40b3a0e2932e0604 Author: Matthias Clasen Date: Wed Apr 21 14:47:32 2010 -0400 Handle NULL string properties in bindings Admittely, we just handle them by failing the conversion... gio/gsettings-mapping.c | 4 +++- gio/gsettings.c | 6 +++--- gio/tests/gsettings.c | 1 - 3 files changed, 6 insertions(+), 5 deletions(-) commit 3814868b7a1950286f875b193dd10aa20b482fe6 Author: Dan Winship Date: Wed Apr 21 13:37:59 2010 -0400 gio.symbols: add two missing G_GNUC_CONSTs gio/gio.symbols | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 887dd88ac2615d8837e06ce9b18cddeeb04f4494 Author: Jorge González Date: Wed Apr 21 18:46:19 2010 +0200 Updated Spanish translation po/es.po | 1044 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 569 insertions(+), 475 deletions(-) commit 03a0f05058a1156edaab463da03f58b0f4988625 Author: Matthias Clasen Date: Wed Apr 21 12:37:38 2010 -0400 Add a note about requiring a new enough GConf docs/reference/gio/migrating.xml | 5 +++++ 1 file changed, 5 insertions(+) commit ccf9361490fa3684b22e52655e3236b2cd28a517 Author: Matthias Clasen Date: Wed Apr 21 12:31:33 2010 -0400 Handle non-readable/-writable properties when binding And document readability/writability requirements for binding flags. gio/gsettings.c | 31 ++++++++++++++++++++++++++++++- gio/gsettings.h | 6 ++++-- 2 files changed, 34 insertions(+), 3 deletions(-) commit 8a988e8e88f0b3463c7dd6fc5145174035d4e815 Author: Matthias Clasen Date: Wed Apr 21 12:31:10 2010 -0400 Test binding non-readable/writable properties gio/tests/gsettings.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 1 deletion(-) commit 3bfd739154b09c42b29bfcc38b03ff9b98ed4c4f Author: Matthias Clasen Date: Wed Apr 21 11:50:21 2010 -0400 Rename gsettingsschemaupdatecache to the more sane gschema_compile To follow existing glib pc variables for binaries. docs/reference/gio/migrating.xml | 7 ++++--- gio-2.0.pc.in | 2 +- m4macros/gsettings.m4 | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) commit 662f97fefbdb26eff4283757912350c3c15adf49 Author: Bastien Nocera Date: Wed Apr 21 16:49:00 2010 +0100 Update GSettings porting guide for new m4 macro docs/reference/gio/migrating.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 0d322e77a55c3b457361ede40c391a6a0b825c78 Author: Bastien Nocera Date: Wed Apr 21 12:25:23 2010 +0100 Add GSettings m4 macros helper https://bugzilla.gnome.org/show_bug.cgi?id=616312 m4macros/Makefile.am | 2 +- m4macros/gsettings.m4 | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) commit 12b801cab4d639f3ac86f1009e6bfb3f589729c5 Author: Matthias Clasen Date: Wed Apr 21 10:58:05 2010 -0400 Nuke the gsettingsschemadir pc variable Not really useful, just use $(prefix)/glib-2.0/schemas. We are getting m4 sugar to coat this over, anyway. docs/reference/gio/migrating.xml | 21 ++++++++++++++------- gio-2.0.pc.in | 1 - 2 files changed, 14 insertions(+), 8 deletions(-) commit e63a1a3d6e6ce4aa8dd7fb65ccaac0b989de12d9 Author: Bastien Nocera Date: Wed Apr 21 15:02:50 2010 +0100 Fix gschema-compile tests for --schema-files changes gio/tests/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c2aea7854e468651807994ad168564c626ae58b Author: Matthias Clasen Date: Wed Apr 21 09:50:17 2010 -0400 Add tests for --allow-any-name gio/tests/gschema-compile.c | 40 +++++++++++++++++---------- gio/tests/schema-tests/bad-key.gschema.xml | 2 +- gio/tests/schema-tests/bad-key2.gschema.xml | 2 +- gio/tests/schema-tests/bad-key3.gschema.xml | 2 +- gio/tests/schema-tests/bad-key4.gschema.xml | 2 +- 5 files changed, 30 insertions(+), 18 deletions(-) commit 0b61a87c29f27f988538f92d676a04adfd65b0fd Author: Bastien Nocera Date: Wed Apr 21 12:14:40 2010 +0100 Allow passing multiple schemas to gschema-compile To make test suites easier to implement https://bugzilla.gnome.org/show_bug.cgi?id=616312 gio/gschema-compile.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 9176175fc878bde7143d22f5671b58836985bf44 Author: Bastien Nocera Date: Wed Apr 21 11:15:30 2010 +0100 Add mention of GConfBridge in conversion docs https://bugzilla.gnome.org/show_bug.cgi?id=616384 docs/reference/gio/migrating.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 97084317883ea13f5e9ddc3b496cf1f756d85e4f Author: Matthias Clasen Date: Wed Apr 21 09:34:57 2010 -0400 Remove leftover test data gio/tests/schema-tests/bad-type/test.gschema.xml | 7 ------- gio/tests/schema-tests/incomplete-list/test.gschema.xml | 7 ------- gio/tests/schema-tests/missing-quotes/test.gschema.xml | 7 ------- gio/tests/schema-tests/no-default/test.gschema.xml | 6 ------ gio/tests/schema-tests/overflow/test.gschema.xml | 7 ------- gio/tests/schema-tests/wrong-category/test.gschema.xml | 7 ------- 6 files changed, 41 deletions(-) commit 64cc81f769ef6ac97b8b9ff4d2693066ffcac63f Author: Matthias Clasen Date: Wed Apr 21 09:33:57 2010 -0400 Add an --allow-any-name option This will make it easier for people to keep their GConf key names in the transition period. Conflicts: gio/gschema-compile.c gio/gschema-compile.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit c83a9762453ea996c5619b8a681d3d1fd2cf473f Author: Matthias Clasen Date: Wed Apr 21 00:43:55 2010 -0400 Add some more schema compiler tests gio/tests/Makefile.am | 7 +- gio/tests/gschema-compile.c | 143 ++++++-------------------- gio/tests/schema-tests/bad-key.gschema.xml | 7 ++ gio/tests/schema-tests/bad-key2.gschema.xml | 7 ++ gio/tests/schema-tests/bad-key3.gschema.xml | 7 ++ gio/tests/schema-tests/bad-key4.gschema.xml | 7 ++ gio/tests/schema-tests/empty-key.gschema.xml | 7 ++ 7 files changed, 75 insertions(+), 110 deletions(-) commit 564714bc95a11fdb06206e91f46a713b67be30ae Author: Matthias Clasen Date: Tue Apr 20 23:40:22 2010 -0400 Fix type mapping for float in gsettings-schema-convert Bug 616331. gio/gsettings-schema-convert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit afff087785e1206c4a112367aaf3445dd5cf0c08 Author: Matthias Clasen Date: Tue Apr 20 23:28:49 2010 -0400 Simplify gschema-compile test suite Add --one-schema-file option to gschema-compile to allow easier test setup. Simplify the test setup. Bug #616276. gio/gschema-compile.c | 52 +++++++++++++------- gio/tests/Makefile.am | 20 ++++---- gio/tests/schema-tests/bad-type.gschema.xml | 7 +++ gio/tests/schema-tests/incomplete-list.gschema.xml | 7 +++ gio/tests/schema-tests/missing-quotes.gschema.xml | 7 +++ gio/tests/schema-tests/no-default.gschema.xml | 6 +++ gio/tests/schema-tests/overflow.gschema.xml | 7 +++ gio/tests/schema-tests/wrong-category.gschema.xml | 7 +++ 8 files changed, 85 insertions(+), 28 deletions(-) commit 463203ee0aa75e727df3b756fcf589fefc8a99cc Author: Matthias Clasen Date: Tue Apr 20 22:49:32 2010 -0400 Add gettext-domain when required, and allow to specify it on the cmdline Bug 616309 docs/reference/gio/gsettings-schema-convert.xml | 8 ++++++++ gio/gsettings-schema-convert | 16 +++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) commit bedf4c3259756caec97d5aa4cd32d501de2be82e Author: Matthias Clasen Date: Tue Apr 20 22:41:12 2010 -0400 Add documentation and translation for gsettings-tool docs/reference/gio/Makefile.am | 3 ++ docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gsettings-tool.xml | 93 +++++++++++++++++++++++++++++++++ gio/gschema-compile.c | 27 ++++++---- gio/gsettings-tool.c | 33 ++++++------ po/POTFILES.in | 4 ++ 6 files changed, 135 insertions(+), 26 deletions(-) commit 1dbe06c30a766171d4f018539a92cee237cb63c7 Author: Matthias Clasen Date: Tue Apr 20 20:54:53 2010 -0400 Add a minimal commandline utility to poke GSettings gio/Makefile.am | 8 ++- gio/gsettings-tool.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 176 insertions(+), 1 deletion(-) commit 3569de342e415c887537d811a0df373cfdb85bc6 Author: Javier Jardón Date: Tue Apr 20 05:38:02 2010 +0200 [gio] Use G_DEFINE_INTERFACE macro Use this macro in gasyncinitable, gconverter, ginitable and gsocketconnectable https://bugzilla.gnome.org/show_bug.cgi?id=616245 gio/gasyncinitable.c | 35 +++-------------------------------- gio/gconverter.c | 35 +++-------------------------------- gio/ginitable.c | 33 +++++---------------------------- gio/gsocketconnectable.c | 32 +++++--------------------------- 4 files changed, 16 insertions(+), 119 deletions(-) commit 3585e64be81a6846b23ca0c0c2969a83080a460d Author: Tor Lillqvist Date: Wed Apr 21 03:22:59 2010 +0300 Tweak the generation of the file list in gio.vcproj Visual Studio doesn't like slash as directory separator, so use backslash. While at it, sort the list of files put in the project file just for clarity. gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b6d2c1fc15c91ec174a6b346257a228d3db08e2 Author: Ryan Lortie Date: Tue Apr 20 20:14:50 2010 -0400 remove empty initialisers { } for MSVC's sake gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a4e38786750d538b334b8a7a7cc9f5a3ff48bc33 Merge: 31a5342 291a5c9 Author: Ryan Lortie Date: Tue Apr 20 20:13:56 2010 -0400 Merge remote branch 'gvdb/master' commit 291a5c9ed98cf5456c8d6af0c3113610646de7b3 Author: Ryan Lortie Date: Tue Apr 20 20:12:41 2010 -0400 __value -> value to avoid stomping the C compiler gvdb-format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 31a534278405b77fe8ea4aaa85ba5ae80c92d80e Author: Matthias Clasen Date: Tue Apr 20 19:51:28 2010 -0400 Refer to the right directory docs/reference/gio/migrating.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9488d18a87bdba2b4180280d8109ab5381acf9c8 Author: Christian Persch Date: Tue Apr 20 19:39:03 2010 -0400 Fix gsettings mapping for uint64 Bug #616295. gio/gsettings-mapping.c | 4 ++-- gio/tests/gsettings.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1b61680abbf8ba10a24aff52397364c844f368bb Author: Matthias Clasen Date: Tue Apr 20 19:23:52 2010 -0400 Flesh out the porting guide some more docs/reference/gio/migrating.xml | 154 ++++++++++++++++++++++++++++++-------- gio/gsettings.c | 17 +++-- 2 files changed, 135 insertions(+), 36 deletions(-) commit 3277b77769def1aabfa850858197d02b0afca364 Author: Matthias Clasen Date: Tue Apr 20 15:13:07 2010 -0400 Document g_settings_bind_writable docs/reference/gio/gio-sections.txt | 1 + gio/gsettings.c | 36 ++++++++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) commit 9717833e8200929f908fa682262fcfda8f964653 Author: Richard Hughes Date: Tue Apr 20 22:25:23 2010 +0100 Don't crash gsettings-schema-convert for GConf schemas that contain empty elements This can be observed in gnome-power-manager with one of the entries that contains gio/gsettings-schema-convert | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f82839b8fe6e112b9cc02637e7544e800524c179 Author: Ryan Lortie Date: Tue Apr 20 17:27:17 2010 -0400 gschema-compile: output to srcdir by default If the target directory is not explicitly set then output to the source directory. Closes bug #616311 reported by Bastien Nocera. gio/gschema-compile.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f5990c1aefe364cfdd8c6d4bcdcc5dce60ced003 Author: Ryan Lortie Date: Tue Apr 20 12:30:12 2010 -0400 GSettings: bind to writablity of a key gio/gio.symbols | 1 + gio/gsettings.c | 103 ++++++++++++++++++++++++++++++++++++++----------------- gio/gsettings.h | 5 +++ 3 files changed, 78 insertions(+), 31 deletions(-) commit 890a842b2692292d207e1c473718c57ee1e51c32 Author: Richard Hughes Date: Tue Apr 20 16:14:11 2010 +0100 Fix up the gtk-doc comment for the GSettings::changed signal gio/gsettings.c | 1 + 1 file changed, 1 insertion(+) commit 5445ae78c21a71b3d8eea393bfe70d2ab1c24766 Author: Ryan Lortie Date: Mon Apr 19 14:16:06 2010 -0400 Add g_variant_compare() for like basic types glib/gvariant.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) commit 3c54cc074dc783ab4944e1cc15d690b467a09684 Author: Ryan Lortie Date: Mon Apr 19 11:05:04 2010 -0400 gschema-compile: return quickly on parse error Suggested by Christian Persch in #616102 gio/gschema-compile.c | 3 +++ 1 file changed, 3 insertions(+) commit bed462046afd33356b0b0554d0ee8ed31d4a2de0 Author: Javier Jardón Date: Tue Apr 20 01:04:31 2010 +0200 [docs] Fix G_VALUE_COLLECT_INIT documentation Add the documentation to the corresponding section This macro was introduced in commit 546fc0ca331c8d1b3393fe218a697b6a1a1c1072 docs/reference/gobject/gobject-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 4c276d05aa010d54e921ca1de7bdafe262dd278e Author: Matthias Clasen Date: Mon Apr 19 19:01:46 2010 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8fa527bfd73833ec1fcdaa13c6b8b5701fb65ae Author: Matthias Clasen Date: Mon Apr 19 19:00:28 2010 -0400 2.25.1 po/af.po | 2 +- po/am.po | 2 +- po/ar.po | 2 +- po/as.po | 2 +- po/ast.po | 2 +- po/az.po | 2 +- po/be.po | 2 +- po/be@latin.po | 2 +- po/bg.po | 2 +- po/bn.po | 2 +- po/bn_IN.po | 2 +- po/bs.po | 2 +- po/ca.po | 2 +- po/ca@valencia.po | 2 +- po/cs.po | 2 +- po/cy.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/dz.po | 2 +- po/el.po | 2 +- po/en@shaw.po | 2 +- po/en_CA.po | 2 +- po/en_GB.po | 2 +- po/eo.po | 2 +- po/es.po | 2 +- po/et.po | 2 +- po/eu.po | 2 +- po/fa.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- po/ga.po | 2 +- po/gl.po | 2 +- po/gu.po | 2 +- po/he.po | 2 +- po/hi.po | 2 +- po/hr.po | 2 +- po/hu.po | 2 +- po/hy.po | 2 +- po/id.po | 2 +- po/is.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ka.po | 2 +- po/kn.po | 2 +- po/ko.po | 2 +- po/ku.po | 2 +- po/lt.po | 2 +- po/lv.po | 2 +- po/mai.po | 2 +- po/mg.po | 2 +- po/mk.po | 2 +- po/ml.po | 2 +- po/mn.po | 2 +- po/mr.po | 2 +- po/ms.po | 2 +- po/nb.po | 2 +- po/nds.po | 2 +- po/ne.po | 2 +- po/nl.po | 2 +- po/nn.po | 2 +- po/oc.po | 2 +- po/or.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/ps.po | 2 +- po/pt.po | 2 +- po/pt_BR.po | 2 +- po/ro.po | 2 +- po/ru.po | 2 +- po/rw.po | 2 +- po/si.po | 2 +- po/sk.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr.po | 2 +- po/sr@ije.po | 2 +- po/sr@latin.po | 2 +- po/sv.po | 2 +- po/ta.po | 2 +- po/te.po | 2 +- po/th.po | 2 +- po/tl.po | 2 +- po/tr.po | 2 +- po/tt.po | 2 +- po/uk.po | 2 +- po/vi.po | 2 +- po/wa.po | 2 +- po/xh.po | 2 +- po/yi.po | 2 +- po/zh_CN.po | 2 +- po/zh_HK.po | 2 +- po/zh_TW.po | 2 +- 92 files changed, 92 insertions(+), 92 deletions(-) commit 3b9de5f10a15086dd4c95e6260a20b8f5e917281 Author: Matthias Clasen Date: Mon Apr 19 18:26:41 2010 -0400 Don't forget to install and distribute gsettings-schema-convert gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7d330078e77c51ede181ceda10260fb79a7e2425 Author: Matthias Clasen Date: Mon Apr 19 18:26:41 2010 -0400 Don't forget to install and distribute gsettings-schema-convert gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit ca4f0a3d6d99ee1eb4f21aa753b2cc29ac5e2d36 Author: Matthias Clasen Date: Mon Apr 19 17:33:03 2010 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd9b8b563f3dc094b72ebc0c7f55e35f4782aab1 Author: Matthias Clasen Date: Mon Apr 19 17:30:42 2010 -0400 2.25.0 docs/reference/glib/glib-gettextize.1 | 80 +- docs/reference/glib/gtester-report.1 | 10 +- docs/reference/glib/gtester.1 | 12 +- docs/reference/glib/tmpl/async_queues.sgml | 4 + docs/reference/glib/tmpl/atomic_operations.sgml | 33 +- docs/reference/glib/tmpl/bookmarkfile.sgml | 4 + docs/reference/glib/tmpl/byte_order.sgml | 3 + docs/reference/glib/tmpl/conversions.sgml | 3 + docs/reference/glib/tmpl/date.sgml | 4 + docs/reference/glib/tmpl/error_reporting.sgml | 3 + docs/reference/glib/tmpl/fileutils.sgml | 3 + docs/reference/glib/tmpl/gregex.sgml | 3 + docs/reference/glib/tmpl/hooks.sgml | 3 + docs/reference/glib/tmpl/i18n.sgml | 4 + docs/reference/glib/tmpl/keyfile.sgml | 4 + docs/reference/glib/tmpl/limits.sgml | 3 + docs/reference/glib/tmpl/macros.sgml | 3 + docs/reference/glib/tmpl/macros_misc.sgml | 3 + docs/reference/glib/tmpl/main.sgml | 10 + docs/reference/glib/tmpl/markup.sgml | 3 + docs/reference/glib/tmpl/memory.sgml | 5 + docs/reference/glib/tmpl/memory_slices.sgml | 3 + docs/reference/glib/tmpl/messages.sgml | 3 + docs/reference/glib/tmpl/misc_utils.sgml | 19 + docs/reference/glib/tmpl/modules.sgml | 5 + docs/reference/glib/tmpl/numerical.sgml | 3 + docs/reference/glib/tmpl/queue.sgml | 4 + docs/reference/glib/tmpl/scanner.sgml | 3 + docs/reference/glib/tmpl/spawn.sgml | 3 + docs/reference/glib/tmpl/string_utils.sgml | 3 + docs/reference/glib/tmpl/strings.sgml | 3 + docs/reference/glib/tmpl/testing.sgml | 22 +- docs/reference/glib/tmpl/trash_stack.sgml | 3 + docs/reference/glib/tmpl/type_conversion.sgml | 3 + docs/reference/glib/tmpl/types.sgml | 3 + docs/reference/glib/tmpl/unicode.sgml | 3 + docs/reference/glib/tmpl/version.sgml | 3 + docs/reference/glib/tmpl/warnings.sgml | 3 + docs/reference/glib/tmpl/windows.sgml | 5 + docs/reference/gobject/glib-genmarshal.1 | 10 +- docs/reference/gobject/glib-mkenums.1 | 13 +- docs/reference/gobject/gobject-query.1 | 10 +- gio/tests/Makefile.am | 8 +- gio/tests/gschema-compile.c | 78 +- gio/tests/gsettings.c | 6 +- po/af.po | 108 +-- po/am.po | 108 +-- po/ar.po | 108 +-- po/as.po | 108 +-- po/ast.po | 108 +-- po/az.po | 108 +-- po/be.po | 108 +-- po/be@latin.po | 108 +-- po/bg.po | 108 +-- po/bn.po | 978 +++++++++++------------ po/bn_IN.po | 108 +-- po/bs.po | 108 +-- po/ca.po | 952 +++++++++++----------- po/ca@valencia.po | 108 +-- po/cs.po | 108 +-- po/cy.po | 108 +-- po/da.po | 942 +++++++++++----------- po/de.po | 108 +-- po/dz.po | 108 +-- po/el.po | 108 +-- po/en@shaw.po | 108 +-- po/en_CA.po | 108 +-- po/en_GB.po | 108 +-- po/eo.po | 108 +-- po/es.po | 108 +-- po/et.po | 108 +-- po/eu.po | 108 +-- po/fa.po | 108 +-- po/fi.po | 108 +-- po/fr.po | 108 +-- po/ga.po | 108 +-- po/gl.po | 108 +-- po/gu.po | 974 +++++++++++----------- po/he.po | 108 +-- po/hi.po | 108 +-- po/hr.po | 108 +-- po/hu.po | 108 +-- po/hy.po | 108 +-- po/id.po | 108 +-- po/is.po | 108 +-- po/it.po | 108 +-- po/ja.po | 108 +-- po/ka.po | 108 +-- po/kn.po | 108 +-- po/ko.po | 108 +-- po/ku.po | 108 +-- po/lt.po | 108 +-- po/lv.po | 108 +-- po/mai.po | 108 +-- po/mg.po | 108 +-- po/mk.po | 108 +-- po/ml.po | 108 +-- po/mn.po | 108 +-- po/mr.po | 974 +++++++++++----------- po/ms.po | 108 +-- po/nb.po | 108 +-- po/nds.po | 108 +-- po/ne.po | 108 +-- po/nl.po | 108 +-- po/nn.po | 108 +-- po/oc.po | 108 +-- po/or.po | 108 +-- po/pa.po | 108 +-- po/pl.po | 108 +-- po/ps.po | 108 +-- po/pt.po | 108 +-- po/pt_BR.po | 108 +-- po/ro.po | 108 +-- po/ru.po | 108 +-- po/rw.po | 108 +-- po/si.po | 108 +-- po/sk.po | 108 +-- po/sl.po | 108 +-- po/sq.po | 108 +-- po/sr.po | 108 +-- po/sr@ije.po | 108 +-- po/sr@latin.po | 108 +-- po/sv.po | 108 +-- po/ta.po | 108 +-- po/te.po | 108 +-- po/th.po | 108 +-- po/tl.po | 108 +-- po/tr.po | 108 +-- po/tt.po | 108 +-- po/uk.po | 108 +-- po/vi.po | 108 +-- po/wa.po | 108 +-- po/xh.po | 108 +-- po/yi.po | 108 +-- po/zh_CN.po | 108 +-- po/zh_HK.po | 957 +++++++++++----------- po/zh_TW.po | 942 +++++++++++----------- 137 files changed, 8245 insertions(+), 8073 deletions(-) commit 80ac5df96b2a5b6c1436e597487526a77b8130fb Author: Matthias Clasen Date: Mon Apr 19 15:07:52 2010 -0400 Reset interface age to 0 configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27d2dbacd4d4833c9846a2872cb04f7bced3a3c3 Author: Christian Persch Date: Mon Apr 19 14:18:59 2010 -0400 Use g_set_error_literal where appropriate gio/gschema-compile.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 40869e9544c27bc2d7f3b53aa1f1dda1edf47a8d Author: Matthias Clasen Date: Mon Apr 19 14:04:42 2010 -0400 Install a dtd in /usr/share/glib-2.0/schemas/gschema.dtd gio/Makefile.am | 4 ++++ gio/gschema.dtd | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit 2d38da0746d15e20e832d8573af106a1e83267eb Author: Matthias Clasen Date: Mon Apr 19 13:25:52 2010 -0400 Remove misnamed files gio/tests/schema-tests/no-default/no-default.gschema.xml | 6 ------ 1 file changed, 6 deletions(-) commit 0e48b0638dd54fda1d567c294db0feeb52b324af Author: Matthias Clasen Date: Mon Apr 19 13:14:30 2010 -0400 Some tests for gschema-compile Mostly making sure that we produce reasonable error messages for typical mistakes. gio/tests/Makefile.am | 26 +++++-- gio/tests/gschema-compile.c | 81 +++++++++++++++++++- gio/tests/schema-tests/bad-type/test.gschema.xml | 7 ++ .../schema-tests/incomplete-list/test.gschema.xml | 7 ++ .../schema-tests/missing-quotes/test.gschema.xml | 7 ++ gio/tests/schema-tests/no-default/test.gschema.xml | 6 ++ gio/tests/schema-tests/overflow/test.gschema.xml | 7 ++ .../schema-tests/wrong-category/test.gschema.xml | 7 ++ 8 files changed, 139 insertions(+), 9 deletions(-) commit a64625a134ac2d028e7288a640dc7b01e36edcf5 Author: Javier Jardón Date: Mon Apr 19 17:58:37 2010 +0200 Little fix in gio/test/Makefile.am This was introduced in commit 4a605693fce718a81f809245be2ebad9978031ac gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32477d4fbff400a235f501967492349ae44a475d Author: Matthias Clasen Date: Mon Apr 19 11:40:23 2010 -0400 Another shadowed variable fix See bug 616154. gio/gsettings.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4a605693fce718a81f809245be2ebad9978031ac Author: Matthias Clasen Date: Mon Apr 19 11:31:21 2010 -0400 Don't segfault when is missing Also add a framework for schema compiler tests. Fixes bug 616086. gio/gschema-compile.c | 10 +++++- gio/tests/Makefile.am | 20 +++++++++-- gio/tests/gschema-compile.c | 35 ++++++++++++++++++++ .../schema-tests/no-default/no-default.gschema.xml | 6 ++++ 4 files changed, 67 insertions(+), 4 deletions(-) commit ccbafd0f14cca899c07cd6a630096125988be8a9 Author: David Zeuthen Date: Mon Apr 19 10:42:42 2010 -0400 Bug 615111 – GAsyncInitable's default implementation is broken Signed-off-by: David Zeuthen gio/gasyncinitable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40fdc929f86243a936609a4008e9fb013c9f4f7d Author: Ryan Lortie Date: Mon Apr 19 10:28:44 2010 -0400 Don't write out zero-byte sections in builder This and the previous issue caught by Christian Persch in bug #616156 gio/gvdb/gvdb-builder.c | 3 +++ 1 file changed, 3 insertions(+) commit 646dc7de87a90a833fb86f88c01c0131cabebb22 Author: Ryan Lortie Date: Mon Apr 19 10:18:44 2010 -0400 Whitespace fixups gio/gvdb/gvdb-builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33104067d485fdc7596df7da57d43ba123d64927 Author: Ryan Lortie Date: Mon Apr 19 10:17:31 2010 -0400 Fix logic error for missing options in reader gio/gvdb/gvdb-reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f354af402b466b194b313d280adaab07123d9e8 Author: Matthias Clasen Date: Mon Apr 19 10:34:42 2010 -0400 Handle int64 and double types correctly gio/gsettings-mapping.c | 146 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 122 insertions(+), 24 deletions(-) commit a072c1fc293ab7b5e81fd5e5ea29b15941af17fe Author: Matthias Clasen Date: Mon Apr 19 10:34:22 2010 -0400 Fix up some typos in the new tests gio/tests/gsettings.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 2d9811ebdaee294ac9a1826db5be891b2b90d67f Author: Ryan Lortie Date: Mon Apr 19 10:28:44 2010 -0400 Don't write out zero-byte sections in builder This and the previous issue caught by Christian Persch in bug #616156 gvdb-builder.c | 3 +++ 1 file changed, 3 insertions(+) commit 6713b3dbaaabf9bbf196e6bc45d200b092239b59 Author: Ryan Lortie Date: Mon Apr 19 10:18:44 2010 -0400 Whitespace fixups gvdb-builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc2b43b3e7bebe5c1fb9dedcb8630c4d45a99266 Author: Ryan Lortie Date: Mon Apr 19 10:17:31 2010 -0400 Fix logic error for missing options in reader gvdb-reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 230038f684282372f2e9843a7c92273c916ffd49 Author: Christian Persch Date: Mon Apr 19 10:00:03 2010 -0400 Add testcase for g_settings_bind with [u]int64 properties And use different values for the doubles test. All of these fail currently since g_settings_bind default mapping truncate to glong (eek!). Bug #616119 gio/tests/gsettings.c | 50 +++++++++++++++++++++++++++++++++--- gio/tests/org.gtk.test.gschema.xml | 6 +++++ 2 files changed, 52 insertions(+), 4 deletions(-) commit fac8b91eafb7658ced725265d5df20a5b784698b Author: Matthias Clasen Date: Mon Apr 19 09:49:22 2010 -0400 Add gsettings-related variables gio-2.0.pc.in | 2 ++ 1 file changed, 2 insertions(+) commit dd98785e85b3f8f030b1fc6ebe1610ddf0bf971f Author: Christian Persch Date: Mon Apr 19 09:46:32 2010 -0400 Rename shadowed variables Bug #616154. gio/gsettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 69bd033e11f63d50f551754dc9e98906d28e3561 Author: Matthias Clasen Date: Mon Apr 19 09:30:22 2010 -0400 Call setlocale initially That seems to be required to make bindtextdomain work in the l10n tests. See bug 616152. gio/tests/gsettings.c | 2 ++ 1 file changed, 2 insertions(+) commit 4523b2b9cdb2fecdcfe197a73e645282d2d9b8ae Author: Tor Lillqvist Date: Mon Apr 19 16:13:13 2010 +0300 Bypass l10n tests for now on Windows gio/tests/gsettings.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 1064097504c180ad5ed8fd8ce80500da0aca9266 Author: Matthias Clasen Date: Mon Apr 19 08:54:01 2010 -0400 Add a bit about autofoo for schemas Always a good idea to have copiable snipplets in a porting guide... docs/reference/gio/migrating.xml | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) commit a96360ad68405304f60636f6048aa2bdf268066d Author: Tor Lillqvist Date: Mon Apr 19 15:48:30 2010 +0300 Avoid non-portable API And thus we can build gschema-compile on all platforms, and run it in tests. gio/Makefile.am | 6 +----- gio/gschema-compile.c | 34 +++++++++++++++++----------------- gio/tests/Makefile.am | 6 +----- 3 files changed, 19 insertions(+), 27 deletions(-) commit c279b5b999c4a8fea934184eb36d2a994dc07868 Author: Matthias Clasen Date: Mon Apr 19 08:04:57 2010 -0400 Add a schema convertion script gio/gsettings-schema-convert | 1064 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1064 insertions(+) commit df8800e59a88c011ed84e7a05c6ddeb2a9b38921 Author: Tor Lillqvist Date: Mon Apr 19 12:25:22 2010 +0300 Portability improvements Gschema-compile uses glob which is available on Unix only. Thus can't run the gschema-compile test except on Unix either. To avoid an Automake error, comment out the SOURCES and LDADD of unix-streams which for some reason has been commented out from TEST_PROGS. Can't use a Makefile.am target called foo_PROGRAMS for random files that aren't actually programs, as Automake assumes EXEEXT should be appended to the file names. gio/Makefile.am | 7 ++++++- gio/tests/Makefile.am | 18 +++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) commit 9af8b8321146cddbe5bee09e972507f023e58ce0 Author: Tor Lillqvist Date: Mon Apr 19 11:32:05 2010 +0300 Add GWin32InputStream and GWin32OutputStream classes Correspond to GUnixInputStream and GUnixOutputStream. No true async support though. But that is how the Win32 API is, for files not explicitly opened for so-called overlapped IO. The API to create these streams takes Win32 HANDLEs. Not file descriptors, because file descriptors are specific to the C library used. The user code and GLib might be using different C libraries. Also add a test program for the new classes, and a gio-windows-2.0.pc file. Makefile.am | 5 + build/win32/vs9/glib.vsprops | 4 + configure.in | 1 + gio-windows-2.0.pc.in | 11 ++ gio/Makefile.am | 11 +- gio/gio.symbols | 27 ++++ gio/gioerror.c | 27 ++++ gio/gioerror.h | 4 + gio/gwin32inputstream.c | 359 ++++++++++++++++++++++++++++++++++++++++++ gio/gwin32inputstream.h | 79 ++++++++++ gio/gwin32outputstream.c | 359 ++++++++++++++++++++++++++++++++++++++++++ gio/gwin32outputstream.h | 78 +++++++++ gio/tests/Makefile.am | 8 + gio/tests/win32-streams.c | 292 ++++++++++++++++++++++++++++++++++ glib-zip.in | 1 + 15 files changed, 1265 insertions(+), 1 deletion(-) commit 48cd4cbba5e580a30aef7b0073e647bcc7118c67 Author: Matthias Clasen Date: Sun Apr 18 23:53:31 2010 -0400 Silence a warning g_string_insert_len (s, pos, NULL, 0) is a harmless nop, don't spew warnings in this case. glib/gstring.c | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) commit 32de7d6905d9e26b1de8e030cb275381fde00f03 Author: Matthias Clasen Date: Sun Apr 18 15:57:11 2010 -0400 Fix up docs for backend setup functions docs/reference/gio/gio-sections.txt | 4 ++++ gio/gkeyfilesettingsbackend.c | 2 ++ gio/gsettingsbackend.c | 2 ++ 3 files changed, 8 insertions(+) commit fd8cdb83e1b5a4b71aa84ca26a000e2fbd7a3d37 Author: Matthias Clasen Date: Sun Apr 18 15:55:14 2010 -0400 Refer to gio-querymodules in the extension point docs gio/giomodule.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit b7afff0033a43c10012491ab44d2abd4b06bd039 Author: Matthias Clasen Date: Sun Apr 18 15:54:54 2010 -0400 Add a man page for gio-querymodules docs/reference/gio/Makefile.am | 3 +++ docs/reference/gio/gio-docs.xml | 5 +++++ docs/reference/gio/gio-querymodules.xml | 33 +++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) commit e0850b56e2eb13280aa692cb3275640470f59d0d Author: Matthias Clasen Date: Sun Apr 18 15:37:55 2010 -0400 Correct filename extension in help output. gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eaae8f6578b4d08146e5599f5b3022485bec629f Author: Matthias Clasen Date: Sun Apr 18 15:35:22 2010 -0400 Whitespace fix docs/reference/gio/gschema-compile.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit a6bd74a08d6f9e3fe930ddcb9e93bf19ae4e240a Author: Matthias Clasen Date: Sun Apr 18 14:58:50 2010 -0400 Update the gschema-compile docs Correct the schema file extension, mention the usual locations for schemas and add a reference to gsettings-schema-convert. docs/reference/gio/gschema-compile.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 9023ac09345d9569d11bc55d66adcfaa92d8811a Author: David King Date: Fri Jul 17 23:06:03 2009 +0200 [docs] Remove unused sgml template from GObject documentation https://bugzilla.gnome.org/show_bug.cgi?id=589351 Signed-off-by: Javier Jardón docs/reference/gobject/tmpl/gobject-unused.sgml | 87 ----------------------- 1 file changed, 87 deletions(-) commit 626d8ac9e1f806363160634502ff008a71d7f507 Author: Matthias Clasen Date: Sat Apr 17 21:31:30 2010 -0400 More distcheck fixes gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 187883dc586c4b5545d4e58e8c8af176da690ef6 Author: Matthias Clasen Date: Sat Apr 17 21:19:45 2010 -0400 add a keyfile test gio/tests/Makefile.am | 2 +- gio/tests/gsettings.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) commit f07613997c345224df702076e793dabaada58ec3 Author: Matthias Clasen Date: Sat Apr 17 20:54:53 2010 -0400 More distcheck fix attempts gio/tests/Makefile.am | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 87e68c75bc874c94f6152e069f904673243f4fb0 Author: Matthias Clasen Date: Sat Apr 17 20:13:59 2010 -0400 Distcheck fixes docs/reference/gio/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 3db0f554e41496b07c82db96457b8df98947aa0e Author: Matthias Clasen Date: Sat Apr 17 16:57:28 2010 -0400 Some build fixes docs/reference/gio/Makefile.am | 3 ++- gio/tests/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit 137cee425f4b5b29ac47ce433e02f6f2734eca47 Author: Matthias Clasen Date: Sat Apr 17 16:48:10 2010 -0400 Correct the sense of an assertion gio/tests/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2b837df5d230f6658bafe3bd980f87c590f2b78 Author: Matthias Clasen Date: Sat Apr 17 16:13:22 2010 -0400 Document the tests Add a short note for each test that explains what it tries to test. gio/tests/gsettings.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) commit 118ae129bc24597d937f30998e643ba83db908f4 Author: Ryan Lortie Date: Sat Apr 17 11:58:52 2010 -0400 GDelayedSettingsBackend: another mandatory fixup - emit the "has-unapplied" property notify if dropping the last key from the changeset due to a mandatory key gio/gdelayedsettingsbackend.c | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) commit e06e441ac23f3752f252e86e1d930678de53c778 Author: Ryan Lortie Date: Sat Apr 17 11:39:04 2010 -0400 GSettings delayed: fix handling of mandatory keys - if a key becomes mandatory, drop it from the changeset - if we still get failing writes (ie: because of a race) then drop the entire changeset and signal that it happened gio/gdelayedsettingsbackend.c | 61 +++++++++++++++++++++++++++++++++++------ 1 file changed, 53 insertions(+), 8 deletions(-) commit eaaa4d14aa8166b72b4dd7b703b1cca143d725cc Author: Ryan Lortie Date: Sat Apr 17 10:26:10 2010 -0400 add backend setup APIs gio/gio.symbols | 5 ++ gio/gkeyfilesettingsbackend.c | 116 ++++++++++++++++++++++------------------- gio/gsettingsbackend.c | 46 ++++++++++++++-- gio/gsettingsbackend.h | 5 ++ 4 files changed, 114 insertions(+), 58 deletions(-) commit 21f064486c0bf7e338acebcc90b3f21aa57ee7b9 Author: Matthias Clasen Date: Sat Apr 17 01:55:55 2010 -0400 Updates NEWS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit c8a7bb6ccd6e56623e549676f826c7a714093cf6 Author: Matthias Clasen Date: Sat Apr 17 01:43:58 2010 -0400 Merge GSettings tests gio/tests/Makefile.am | 19 +- gio/tests/de.po | 17 + gio/tests/gsettings.c | 917 ++++++++++++++++++++++++++++++++++++ gio/tests/org.gtk.test.gschema | 39 ++ gio/tests/org.gtk.test.gschema.xml | 89 ++++ 5 files changed, 1079 insertions(+), 2 deletions(-) commit 265ca3db9d3fa74ec0035ab70db2b907fade6d26 Author: Ryan Lortie Date: Sat Apr 17 01:27:00 2010 -0400 let binding functions return a floating GVariant gio/gsettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8e264b6d0e258241420800978745ca6dcd95137 Author: Ryan Lortie Date: Sat Apr 17 01:02:57 2010 -0400 add GMemorySettingsBackend gio/Makefile.am | 2 + gio/giomodule.c | 2 + gio/gmemorysettingsbackend.c | 147 ++++++++++++++++++++++++++++++++++++++++++ gio/gmemorysettingsbackend.h | 30 +++++++++ 4 files changed, 181 insertions(+) commit 77ab3c28b9ea692476695243b91931cb3c01b24e Author: Ryan Lortie Date: Sat Apr 17 01:02:05 2010 -0400 add pltcheck.sh exception for GChecksum gio/pltcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79bc511d95650231fad8b4a3184ab55dbcc327ff Author: Ryan Lortie Date: Sat Apr 17 00:03:48 2010 -0400 XML schemas are now *.gschema.xml gio/gschema-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d7fbae04c616fcce2dec57787b1f0266763735e Author: Matthias Clasen Date: Sat Apr 17 00:36:14 2010 -0400 Remove garbage docs/reference/gio/#gio-unused.txt# | 100 ----------------------------------- 1 file changed, 100 deletions(-) commit bd273f9e09b42969eacbf3fc62a5dee187d96346 Author: Matthias Clasen Date: Sat Apr 17 00:31:41 2010 -0400 Merge the GSettings docs docs/reference/gio/Makefile.am | 28 ++- docs/reference/gio/gio-docs.xml | 76 +++--- docs/reference/gio/gio-sections.txt | 82 +++++++ docs/reference/gio/gio.types | 2 + docs/reference/gio/gschema-compile.xml | 61 +++++ docs/reference/gio/gsettings-schema-convert.xml | 105 +++++++++ docs/reference/gio/migrating.xml | 287 ++++++++++++++++++++++- docs/reference/gio/overview.xml | 128 +++++++--- 8 files changed, 691 insertions(+), 78 deletions(-) commit 16637a16873124cd2837502c662c89834786cea5 Author: Matthias Clasen Date: Sat Apr 17 00:16:01 2010 -0400 Document G_SETTINGS_BIND_GET_NO_CHANGES gio/gsettings.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit a2716ad02085b7d5d19732c187a8b89debf4fc8f Author: Matthias Clasen Date: Fri Apr 16 23:57:26 2010 -0400 Merge the keyfile settings backend. gio/Makefile.am | 2 + gio/gkeyfilesettingsbackend.c | 553 +++++++++++++++++++++++++++++++++++++++++ gio/gkeyfilesettingsbackend.h | 71 ++++++ 3 files changed, 626 insertions(+) commit a187634b29b87c25ea0525d01ee2deffea0fb719 Author: Ryan Lortie Date: Fri Apr 16 23:17:01 2010 -0400 merge GSettings gio/Makefile.am | 30 +- gio/gio-marshal.list | 2 + gio/gio.h | 1 + gio/gio.symbols | 34 + gio/gsettings-mapping.c | 367 ++++++++++ gio/gsettings-mapping.h | 39 ++ gio/gsettings.c | 1715 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gsettings.h | 203 ++++++ gio/pltcheck.sh | 2 +- 9 files changed, 2379 insertions(+), 14 deletions(-) commit 43a72ce1bea72a581faf34a505004cac941690c3 Author: Ryan Lortie Date: Fri Apr 16 23:20:48 2010 -0400 GSettingsSchema: add call to get list of keys gio/gsettingsschema.c | 32 ++++++++++++++++++++++++++++++++ gio/gsettingsschema.h | 3 +++ 2 files changed, 35 insertions(+) commit 61a5692fa15156ea33f8353e62c0357c46c22f77 Author: Matthias Clasen Date: Fri Apr 16 20:43:53 2010 -0400 Man page tweaks Add enough info to keep the docbook stylesheets from embedding FIXMEs in the formatted output. docs/reference/gobject/glib-genmarshal.xml | 3 ++- docs/reference/gobject/glib-mkenums.xml | 9 +++++++-- docs/reference/gobject/gobject-query.xml | 3 ++- 3 files changed, 11 insertions(+), 4 deletions(-) commit 51d40405de0df498e003ffd24399e11cf63f0ef9 Author: Matthias Clasen Date: Fri Apr 16 20:40:02 2010 -0400 Man page tweaks docs/reference/glib/glib-gettextize.xml | 5 +++-- docs/reference/glib/gtester-report.xml | 6 +++++- docs/reference/glib/gtester.xml | 6 +++++- 3 files changed, 13 insertions(+), 4 deletions(-) commit a922596e549eb26fac6119457bc019c851f69148 Author: Matthias Clasen Date: Fri Apr 16 19:30:58 2010 -0400 Some doc tweaks gio/gsettingsbackend.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 4c90d4cd45768be45c1dcea74703bfda00849ef4 Author: Matthias Clasen Date: Fri Apr 16 19:13:51 2010 -0400 Add indices for 2.26 api additions docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ 2 files changed, 8 insertions(+) commit ac5c1e2db6203cf3fa78233886529711c6282ea2 Author: Ryan Lortie Date: Fri Apr 16 14:30:12 2010 -0400 set version to 2.25.0 configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4a4a4ccdb30456ba2486f8b2196cfbcb30bd312 Author: Ryan Lortie Date: Fri Apr 16 12:02:44 2010 -0400 GSettings: import delayed backend to master gio/Makefile.am | 2 + gio/gdelayedsettingsbackend.c | 317 +++++++++++++++++++++++++++++++++++++++++ gio/gdelayedsettingsbackend.h | 73 ++++++++++ 3 files changed, 392 insertions(+) commit 04c1eadfff5b382f4f54877d62b4703b6f1620f4 Author: Ryan Lortie Date: Fri Apr 16 12:02:29 2010 -0400 GSettings: more PLT/visibility fixups gio/gnullsettingsbackend.c | 3 +++ gio/gsettingsbackendinternal.h | 5 ----- gio/gsettingsschema.h | 6 ++++++ gio/pltcheck.sh | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) commit 149224664f639efaf5cc2a928ed9ffb525ec8591 Author: Ryan Lortie Date: Fri Apr 16 11:58:04 2010 -0400 gio.symbols: remove pointless whitespace gio/gio.symbols | 2 -- 1 file changed, 2 deletions(-) commit 2474ebf15eccb9fd8513a7dc40789d3a7f0bbb9c Author: Ryan Lortie Date: Fri Apr 16 12:01:40 2010 -0400 GSettingsBackend: fix type in g_return_val_if_fail gio/gsettingsbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 69801f8dc84c0c9403df6802eccc5d03328cd3ae Merge: 897bd9f caad55d Author: Ryan Lortie Date: Fri Apr 16 11:05:22 2010 -0400 Merge remote branch 'gvdb/master' commit caad55d7266c2658f823ea734c4381f19b4c5827 Author: Ryan Lortie Date: Fri Apr 16 11:04:15 2010 -0400 Fix uninitialised header in the builder. gvdb-builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 897bd9f3843aabcf9c0d4367c341b04d964bcf0c Author: Ryan Lortie Date: Thu Apr 15 23:35:49 2010 -0400 GSettings: merge the schema compiler gio/.gitignore | 1 + gio/Makefile.am | 9 +- gio/gschema-compile.c | 544 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 553 insertions(+), 1 deletion(-) commit 2bc81577350ad479c6e261b998269bcbde489b5d Author: Ryan Lortie Date: Thu Apr 15 22:30:11 2010 -0400 merge GSettingsSchema gio/Makefile.am | 7 +- gio/gsettingsschema.c | 205 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gsettingsschema.h | 67 ++++++++++++++++ 3 files changed, 278 insertions(+), 1 deletion(-) commit 45a1c41e8cfdeb4edeb7a671b95e599a49c6c281 Merge: defd75f 3c10369 Author: Ryan Lortie Date: Thu Apr 15 22:14:18 2010 -0400 Merge remote branch 'gvdb/master' commit 3c10369bf6df1bad9d25a83b48d6256e5c8ce8f6 Author: Ryan Lortie Date: Thu Apr 15 22:09:42 2010 -0400 Recommend git-merge(1) over git-submodule(1). gvdb.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3938c735470a3164f1cf21d9e30652d46323b9a9 Author: Ryan Lortie Date: Thu Apr 15 21:32:54 2010 -0400 Add a brief description to the .doap gvdb.doap | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 0fec2048f0b0296fad7a2c7e5db5011d2ecdd323 Author: Ryan Lortie Date: Thu Apr 15 21:26:34 2010 -0400 Initial commit gvdb-builder.c | 540 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gvdb-builder.h | 60 +++++++ gvdb-format.h | 89 ++++++++++ gvdb-reader.c | 510 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gvdb-reader.h | 54 ++++++ gvdb.doap | 19 ++ 6 files changed, 1272 insertions(+) commit defd75fbc53511e27d178373ba6caa226c1ab3cf Author: Ryan Lortie Date: Thu Apr 15 18:30:06 2010 -0400 GSettingsBackend: fix NULL vs "" context issues gio/gsettingsbackend.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 3e36ee34269273df6a8d56fee7e7ee10eb913379 Author: Ryan Lortie Date: Thu Apr 15 18:22:14 2010 -0400 add 'null' GSettings backend gio/Makefile.am | 2 + gio/gnullsettingsbackend.c | 107 ++++++++++++++++++++++++++++++++++++++++++++ gio/gnullsettingsbackend.h | 30 +++++++++++++ 3 files changed, 139 insertions(+) commit c2675af4d7d54676745d2c36821ce085cce12111 Author: Ryan Lortie Date: Thu Apr 15 18:21:49 2010 -0400 GSettings: Modify backend API gio/gsettingsbackend.c | 54 +++++++++++++++++++++++++--------------- gio/gsettingsbackend.h | 11 +++++--- gio/gsettingsbackendinternal.h | 14 +++++++---- 3 files changed, 50 insertions(+), 29 deletions(-) commit 18ba085d0ad28e7edbe575addacbaa2bb13d9f1c Author: Ryan Lortie Date: Thu Apr 15 14:59:41 2010 -0400 merge GSettingsBackend docs/reference/gio/Makefile.am | 1 + gio/Makefile.am | 9 + gio/gio.symbols | 14 + gio/gsettingsbackend.c | 877 ++++++++++++++++++++++++++++++++++++++++ gio/gsettingsbackend.h | 122 ++++++ gio/gsettingsbackendinternal.h | 100 +++++ gio/pltcheck.sh | 2 +- 7 files changed, 1124 insertions(+), 1 deletion(-) commit 8d6492ed153fa30b9edaa839a2d93f2651e7aa46 Author: Ryan Lortie Date: Thu Apr 15 14:44:59 2010 -0400 Remove accidental checkins docs/reference/gio/aa | 74 ----------------------------------------------- docs/reference/gio/b | 77 ------------------------------------------------- docs/reference/gio/bb | 77 ------------------------------------------------- 3 files changed, 228 deletions(-) commit bf2719c815d719d1899b4bdb1b81ff6798471094 Author: Lars Ellenberg Date: Thu Apr 15 19:03:05 2010 +0200 Cast to volatile to avoid warnings from -Wcast-qual https://bugzilla.gnome.org/show_bug.cgi?id=457641 glib/gatomic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 056326c1e96db2c2101fa320062e0c9146f0d73f Author: Ryan Lortie Date: Thu Apr 15 10:11:30 2010 -0400 g_string_append_len() accept NULL with length == 0 glib/gstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 066df8d867f78ac40368c0d37f20fae400fc03b3 Author: Sweta Kothari Date: Thu Apr 15 16:43:36 2010 +0530 Updated gujarati translations po/gu.po | 1059 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 513 insertions(+), 546 deletions(-) commit ddc6136e1f8f64c97744c4b725cad8cbac5ef8a3 Author: Sandeep Shedmake Date: Thu Apr 15 15:47:39 2010 +0530 Updated Marathi Translations po/mr.po | 1061 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 514 insertions(+), 547 deletions(-) commit d17f4bee175cd9149d5f2b1ed1ae6d262d6a1394 Author: Ryan Lortie Date: Wed Apr 14 23:35:56 2010 -0400 GVariant: fix for g_variant_iter_loop() glib/gvariant.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 3349bab02259bc66dbc128ce088ec6415d3e30f0 Author: Ryan Lortie Date: Sat Apr 10 22:01:02 2010 -0400 Add g_return_if_fail()s to g_variant_new_from_data() also, document that @type must be definite glib/gvariant.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a3dc7f8006e24a14a314ffbffa564d3d76f9cc95 Author: Theppitak Karoonboonyanan Date: Tue Apr 6 14:53:20 2010 +0700 Updated Thai translation. po/th.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 34b9e9bdd24c8a19c235af58a7c90707fc179f87 Author: Jordi Serratosa Date: Fri Apr 2 14:03:16 2010 +0200 Fixes to Catalan translation po/ca.po | 958 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 482 insertions(+), 476 deletions(-) commit 93ea4ab6106327e2f417df1d9b00a5ec597e4a48 Author: Behdad Esfahbod Date: Wed Mar 31 10:50:08 2010 -0400 Improve docs glib/gstring.c | 2 +- glib/gurifuncs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f8470ed55ad3bf29cdc8c151b76c4f14b6be928a Author: Tor Lillqvist Date: Tue Mar 30 20:46:46 2010 +0300 Fix build breakage on Unix glib/gstdio.h | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 1229281d95802c4c190284c7d331f67194a2553e Author: Tor Lillqvist Date: Sun Mar 21 20:04:18 2010 +0200 Define a public documented type for the struct stat used by g_stat() Define GStatBuf as the type used by g_stat() and g_lstat(). Replaces the non-public struct tag _g_stat_struct. Mostly relevant for Windows where there are several variants of stat-style structs. On POSIX, is just another name for struct stat. Actually, also on many POSIX systems there are in fact several variants of struct stat and corresponding stat() and lstat() functions, but as g_stat and g_lstat are normally on POSIX just macros that expand to stat and lstat, this should not cause a problem. It's only when it's the actual g_stat() or g_lstat() implementation inside GLib that gets called that one needs to be sure the passed struct is the same as what GLib expects.) gio/giomodule.c | 6 +----- gio/glocalfile.c | 23 +++++++++-------------- gio/glocalfileinfo.c | 7 +------ glib/gstdio.c | 32 ++++++++++++++++++-------------- glib/gstdio.h | 38 +++++++++++++------------------------- 5 files changed, 42 insertions(+), 64 deletions(-) commit e7763678b56e3be073cc55d707a6e92fc2055ee0 Author: Benjamin Otte Date: Fri Mar 26 20:37:09 2010 +0100 Fix race in g_cancellable_cancel() We need to check priv->cancelled after taking the lock. Previously we only checked it just before taking the lock, which left a small chance for a race. gio/gcancellable.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5527a2ac2ce2b5bea10867fb2e39d2f1914cfbe6 Author: Benjamin Otte Date: Fri Mar 26 20:36:10 2010 +0100 Remove unneccessary variable from g_cancellable_cancel() The variable makes a complicated function even more complicated. gio/gcancellable.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit c3f1025c33ab295eedcf41beeea276171ae2dc27 Author: Javier Jardón Date: Mon Mar 29 18:20:03 2010 +0200 Remove g_type_class_get_private() public documentation This is a internal function needed for the documented G_TYPE_CLASS_GET_PRIVATE() macro This was introduced by error in commit 81e2aa941bbfd02bf1b6235da12834d282ceda0c docs/reference/gobject/tmpl/gobject-unused.sgml | 9 --------- 1 file changed, 9 deletions(-) commit 0f51e995658a50dbecb74b006f05a1ea69f43558 Author: Javier Jardón Date: Sun Mar 28 17:43:33 2010 +0200 Fix g_type_class_add_private() documentation This fixes commit 81e2aa941bbfd02bf1b6235da12834d282ceda0c Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614185 gobject/gtype.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) commit 461a4097d1a0a10106254a8fe917fc4e78ccff92 Author: Ask H. Larsen Date: Sun Mar 28 00:13:28 2010 +0100 Updated Danish translation po/da.po | 951 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 479 insertions(+), 472 deletions(-) commit 2e27703a815e221052dd4db3e9e848e2401c3b8b Author: Chao-Hsiung Liao Date: Sat Mar 27 20:50:57 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 966 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 951 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 962 insertions(+), 955 deletions(-) commit 0e3c6ef848259051e4c8c8996a71c0d2d8c9b9f0 Author: Jamil Ahmed Date: Sat Mar 27 17:44:03 2010 +0600 Updated Bengali translation po/bn.po | 1181 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 594 insertions(+), 587 deletions(-) commit 22dc3dd6487e2c794376a5c6850c3a3e7c2beea9 Author: Matthias Clasen Date: Fri Mar 26 15:09:13 2010 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ca631653acc1e1db0c3ebb05759d05f8bdc35ba6 Author: Matthias Clasen Date: Fri Mar 26 15:08:00 2010 -0400 2.24.0 po/af.po | 24 +- po/am.po | 24 +- po/ar.po | 24 +- po/as.po | 24 +- po/ast.po | 24 +- po/az.po | 24 +- po/be.po | 24 +- po/be@latin.po | 24 +- po/bg.po | 24 +- po/bn.po | 24 +- po/bn_IN.po | 24 +- po/bs.po | 24 +- po/ca.po | 24 +- po/ca@valencia.po | 24 +- po/cs.po | 24 +- po/cy.po | 24 +- po/da.po | 24 +- po/de.po | 24 +- po/dz.po | 24 +- po/el.po | 24 +- po/en@shaw.po | 24 +- po/en_CA.po | 24 +- po/en_GB.po | 24 +- po/eo.po | 24 +- po/es.po | 24 +- po/et.po | 24 +- po/eu.po | 82 ++-- po/fa.po | 24 +- po/fi.po | 24 +- po/fr.po | 24 +- po/ga.po | 24 +- po/gl.po | 24 +- po/gu.po | 24 +- po/he.po | 24 +- po/hi.po | 24 +- po/hr.po | 24 +- po/hu.po | 24 +- po/hy.po | 24 +- po/id.po | 24 +- po/is.po | 24 +- po/it.po | 24 +- po/ja.po | 24 +- po/ka.po | 24 +- po/kn.po | 24 +- po/ko.po | 24 +- po/ku.po | 24 +- po/lt.po | 24 +- po/lv.po | 24 +- po/mai.po | 24 +- po/mg.po | 24 +- po/mk.po | 24 +- po/ml.po | 24 +- po/mn.po | 24 +- po/mr.po | 24 +- po/ms.po | 24 +- po/nb.po | 24 +- po/nds.po | 24 +- po/ne.po | 24 +- po/nl.po | 24 +- po/nn.po | 24 +- po/oc.po | 24 +- po/or.po | 24 +- po/pa.po | 24 +- po/pl.po | 24 +- po/ps.po | 24 +- po/pt.po | 24 +- po/pt_BR.po | 24 +- po/ro.po | 24 +- po/ru.po | 24 +- po/rw.po | 24 +- po/si.po | 24 +- po/sk.po | 24 +- po/sl.po | 24 +- po/sq.po | 24 +- po/sr.po | 24 +- po/sr@ije.po | 24 +- po/sr@latin.po | 24 +- po/sv.po | 24 +- po/ta.po | 24 +- po/te.po | 24 +- po/th.po | 24 +- po/tl.po | 24 +- po/tr.po | 24 +- po/tt.po | 24 +- po/uk.po | 946 +++++++++++++++++++------------------- po/vi.po | 1311 +++++++++++++++++++++++++---------------------------- po/wa.po | 24 +- po/xh.po | 24 +- po/yi.po | 24 +- po/zh_CN.po | 24 +- po/zh_HK.po | 24 +- po/zh_TW.po | 24 +- 92 files changed, 2209 insertions(+), 2266 deletions(-) commit 5ba8043f1217b338e220f0c6b427e58e28c241e8 Author: Matthias Clasen Date: Fri Mar 26 11:15:49 2010 -0400 Third try to get this right... docs/reference/gio/gio-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f6532620bc2439641b31a5df1d15489121fe918d Author: Matthias Clasen Date: Fri Mar 26 11:05:28 2010 -0400 And another one... NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c8a1081651d4d17823ac8c6a35d3a60c85c81ac Author: Matthias Clasen Date: Fri Mar 26 11:05:02 2010 -0400 Fix a typo gio/giomodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 55e44a67e6bc4bf09d4de85ad64627a02595d07f Author: Matthias Clasen Date: Fri Mar 26 10:39:56 2010 -0400 Bump version to 2.24.0 configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8ee5ded1e9098adb54005851c09e38cf24bb6a32 Author: Matthias Clasen Date: Fri Mar 26 10:39:33 2010 -0400 Updates NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 6cce575a25abc8157873d070bb317d66a225485a Author: Matthias Clasen Date: Fri Mar 26 10:24:06 2010 -0400 Fix a typo docs/reference/gio/gio-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 78b764f325c12a518e5bcc06771347da06d5ea68 Author: Matthias Clasen Date: Fri Mar 26 10:19:57 2010 -0400 More doc fixups gio/giomodule.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 81e2aa941bbfd02bf1b6235da12834d282ceda0c Author: Matthias Clasen Date: Fri Mar 26 10:11:46 2010 -0400 Some more doc cleanups docs/reference/gio/gio-sections.txt | 2 ++ docs/reference/gobject/gobject-sections.txt | 2 +- docs/reference/gobject/tmpl/gobject-unused.sgml | 9 ++++++ gobject/gtype.c | 37 +++-------------------- 4 files changed, 17 insertions(+), 33 deletions(-) commit c4ea7d58f78ca946fe84718386f9f888b5f93520 Author: Matthias Clasen Date: Fri Mar 26 09:30:25 2010 -0400 Small doc addition gio/gconverter.h | 1 + 1 file changed, 1 insertion(+) commit 431840a44e1ec799c974c7ea626c3164ec9dc2bb Author: Matthias Clasen Date: Fri Mar 26 09:22:58 2010 -0400 Add g_io_module_query to docs docs/reference/gio/gio-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 6e77ee097100dc3fd695a6dad8811253cea23436 Author: Matthias Clasen Date: Fri Mar 26 09:01:48 2010 -0400 Correct the error handling in splice_stream_with_progress We need to get out of both loops, so a simple 'break' doesn't cut it. Bugs 613748 and 613923 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 409a3a61ece7bbdacbf2469eb7b86c3aa3c44653 Author: Ryan Lortie Date: Fri Mar 26 08:01:51 2010 -0500 GVariant: Stop lexing format strings at : Lets us parse this successfully: {%s: %s}. glib/gvariant-parser.c | 7 ++++--- glib/tests/gvariant.c | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) commit df67a0662b0c20ab58f992fc114a48039e7fb9e0 Author: Maxim V. Dziumanenko Date: Fri Mar 26 11:42:19 2010 +0200 Updated Ukrainian translation po/uk.po | 992 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 490 insertions(+), 502 deletions(-) commit fd448dd7ceeb4be93f2cfea54a78e0564a3718f0 Author: Ryan Lortie Date: Tue Mar 23 10:01:53 2010 -0500 Add doc note about read_until() inconsistency. See bug 584284 for more information. gio/gdatainputstream.c | 7 +++++++ 1 file changed, 7 insertions(+) commit a6c57591c0928fee3d3f026289972024bd2b00ec Author: Ryan Lortie Date: Tue Mar 23 09:17:15 2010 -0500 Support &s as key of dict entry in format string Partial fix for bug 613618. glib/gvariant.c | 26 ++++++++++++++++++-------- glib/tests/gvariant.c | 7 +++++++ 2 files changed, 25 insertions(+), 8 deletions(-) commit 816990a0118f33ae280846ac040803ce58979162 Author: Ryan Lortie Date: Tue Mar 23 09:06:52 2010 -0500 GVariant: Removing mentions of &a from docs This isn't supported anymore (for the time being...) Partial fix for bug 613618. docs/reference/glib/gvariant-varargs.xml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit 35059f2c0415fbd521632d29ecb91e8c93545e0e Author: Christian Dywan Date: Tue Mar 23 11:59:43 2010 +0100 Correct typo of libray/ library in GObject tutorial Fixes bug #613667 docs/reference/gobject/tut_gtype.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ace9a25fb39781a01a78c8e9aa1c58a51224e8b8 Author: Ryan Lortie Date: Mon Mar 22 11:59:08 2010 -0500 Bug 613601 - buglet in dup_close_on_exec_fd() Fix copy/paste error and 'or' FD_CLOEXEC into the existing flags instead of just setting it outright. gio/gunixfdlist.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 440713e393cf99e29f716f5f634d4bc4ce0e281c Author: Tor Lillqvist Date: Mon Mar 22 15:53:47 2010 +0200 Filter out gatomic-gcc.c from the VS project sources Instead, explicitly include gatomic.c. build/win32/vs9/glib.vcprojin | 1 + glib/Makefile.am | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 365fd70f263b99646cef7a5335282fd3f1efb520 Author: Tor Lillqvist Date: Mon Mar 22 15:33:38 2010 +0200 Make config.h.win32 match what the configure script produces config.h.win32.in | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 73 insertions(+), 3 deletions(-) commit 580ecb32d9af4a7c8a00076a23d82d9729131361 Author: Inaki Larranaga Murgoitio Date: Mon Mar 22 12:34:25 2010 +0100 Updated Basque language po/eu.po | 92 +++++++++++++++++++++++++------------------------------------- 1 file changed, 37 insertions(+), 55 deletions(-) commit e2434fd2d659f976febc3abe08abe82149447d46 Author: Clytie Date: Mon Mar 22 21:33:36 2010 +1030 Updated Vietnamese translation po/vi.po | 1454 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 715 insertions(+), 739 deletions(-) commit db83dd27c571e34e2974a4cff560fdfb255c2bf2 Author: Ryan Lortie Date: Sun Mar 21 20:12:18 2010 -0500 Drop { } for favour of { 0, }. glib/gvariant-parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 468bbbfce1736259ae75bd27847b5b25332ada5c Author: Ryan Lortie Date: Sun Mar 21 20:07:45 2010 -0500 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0afc140712a7c6b7cf2179626370b33ca930dea2 Author: Ryan Lortie Date: Sun Mar 21 20:06:39 2010 -0500 2.23.6 NEWS | 41 + docs/reference/glib/tmpl/glib-unused.sgml | 67 ++ docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 -- po/af.po | 951 ++++++++++++----------- po/am.po | 80 +- po/ar.po | 80 +- po/as.po | 80 +- po/ast.po | 80 +- po/az.po | 80 +- po/be.po | 80 +- po/be@latin.po | 80 +- po/bg.po | 80 +- po/bn.po | 80 +- po/bn_IN.po | 80 +- po/bs.po | 80 +- po/ca.po | 80 +- po/ca@valencia.po | 80 +- po/cs.po | 942 ++++++++++++----------- po/cy.po | 80 +- po/da.po | 80 +- po/de.po | 80 +- po/dz.po | 80 +- po/el.po | 942 ++++++++++++----------- po/en@shaw.po | 80 +- po/en_CA.po | 80 +- po/en_GB.po | 80 +- po/eo.po | 80 +- po/es.po | 80 +- po/et.po | 80 +- po/eu.po | 80 +- po/fa.po | 80 +- po/fi.po | 952 ++++++++++++----------- po/fr.po | 80 +- po/ga.po | 80 +- po/gl.po | 951 ++++++++++++----------- po/gu.po | 80 +- po/he.po | 80 +- po/hi.po | 80 +- po/hr.po | 80 +- po/hu.po | 80 +- po/hy.po | 80 +- po/id.po | 80 +- po/is.po | 80 +- po/it.po | 80 +- po/ja.po | 80 +- po/ka.po | 80 +- po/kn.po | 80 +- po/ko.po | 80 +- po/ku.po | 80 +- po/lt.po | 80 +- po/lv.po | 80 +- po/mai.po | 80 +- po/mg.po | 80 +- po/mk.po | 80 +- po/ml.po | 80 +- po/mn.po | 80 +- po/mr.po | 80 +- po/ms.po | 80 +- po/nb.po | 80 +- po/nds.po | 1187 +++++++++++++---------------- po/ne.po | 80 +- po/nl.po | 80 +- po/nn.po | 80 +- po/oc.po | 80 +- po/or.po | 80 +- po/pa.po | 970 +++++++++++------------ po/pl.po | 80 +- po/ps.po | 80 +- po/pt.po | 80 +- po/pt_BR.po | 80 +- po/ro.po | 948 +++++++++++------------ po/ru.po | 80 +- po/rw.po | 80 +- po/si.po | 80 +- po/sk.po | 80 +- po/sl.po | 80 +- po/sq.po | 80 +- po/sr.po | 950 ++++++++++++----------- po/sr@ije.po | 80 +- po/sr@latin.po | 961 ++++++++++++----------- po/sv.po | 80 +- po/ta.po | 80 +- po/te.po | 80 +- po/th.po | 80 +- po/tl.po | 80 +- po/tr.po | 80 +- po/tt.po | 80 +- po/uk.po | 80 +- po/vi.po | 80 +- po/wa.po | 80 +- po/xh.po | 80 +- po/yi.po | 80 +- po/zh_CN.po | 80 +- po/zh_HK.po | 80 +- po/zh_TW.po | 80 +- 96 files changed, 8192 insertions(+), 8303 deletions(-) commit 5620f96305ee276ac758de989589a93de89ed40a Author: Ryan Lortie Date: Sun Mar 21 14:17:21 2010 -0500 silence some false-alarm uninitialised warnings glib/gvariant-parser.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 6f330383974bb235d7050ebef61426541823c33a Author: Ryan Lortie Date: Sun Mar 21 14:04:07 2010 -0500 gtk-doc fixups docs/reference/glib/glib-sections.txt | 2 +- docs/reference/gobject/gobject-sections.txt | 2 ++ glib/ghash.c | 4 ++-- glib/gvariant-parser.c | 7 +++++++ 4 files changed, 12 insertions(+), 3 deletions(-) commit c5a1c95b1f991db6700a204e5d41c8cc650c7d42 Author: Ryan Lortie Date: Sun Mar 21 13:46:09 2010 -0500 GVariant docs fixes glib/gvariant-parser.c | 16 +++++++++++++++- glib/gvariant.h | 6 +++--- 2 files changed, 18 insertions(+), 4 deletions(-) commit 5c419c300b43b4e3ac462761dda4360ed1c5de9b Author: Ryan Lortie Date: Sun Mar 21 13:07:36 2010 -0500 gitignore for win32 build stuff .gitignore | 1 + build/win32/vs9/.gitignore | 3 +++ 2 files changed, 4 insertions(+) commit bf4dbdbf0e1a3ac4349980942b9e91056ce7e448 Author: Ryan Lortie Date: Sun Mar 21 12:31:46 2010 -0500 merge GVariant parser docs/reference/glib/glib-sections.txt | 7 + glib/Makefile.am | 1 + glib/glib.symbols | 7 + glib/gvariant-parser.c | 2185 +++++++++++++++++++++++++++++++++ glib/gvariant.c | 28 +- glib/gvariant.h | 13 + glib/tests/gvariant.c | 249 +++- 7 files changed, 2473 insertions(+), 17 deletions(-) commit 2a209cb2516999c4d2f08368c720f7506acde9a5 Author: Ryan Lortie Date: Sun Mar 21 12:54:36 2010 -0500 make check / makedistcheck fixes configure.in | 1 - gobject/gobject.symbols | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) commit 3369548130bdd02534f2a6c6e7baa1f29375a41d Author: Tor Lillqvist Date: Sun Mar 21 16:54:11 2010 +0200 Add new headers to be installed the VS "install" project Yeah, we should generate the list of headers to install from the corresponding Makefile.am files, like the lists of source files to compile. build/win32/vs9/glib.vsprops | 9 +++++++++ 1 file changed, 9 insertions(+) commit 226cc663e40606e9749a368e9d2b2e61d9a9d532 Author: Tor Lillqvist Date: Sun Mar 21 16:11:49 2010 +0200 Avoid much of duplication in lists of source files Don't keep the lists of source files for libglib, libgobject and libgio in the VS project files in addition to the canonical location, the corresponding Makefile.am files. Instead, generate the corresponding .vcproj files at make dist time using the C preprocessor, from template files called .vcprojin. We still list explicitly in the .vcprojin files some of the Windows-specific source files, and the sources files of gnulib and pcre. build/win32/vs9/Makefile.am | 3 + build/win32/vs9/README.txt | 3 +- build/win32/vs9/gio.vcproj | 608 -------------------------------------- build/win32/vs9/gio.vcprojin | 234 +++++++++++++++ build/win32/vs9/glib.vcproj | 570 ----------------------------------- build/win32/vs9/glib.vcprojin | 298 +++++++++++++++++++ build/win32/vs9/gobject.vcproj | 281 ------------------ build/win32/vs9/gobject.vcprojin | 218 ++++++++++++++ gio/Makefile.am | 11 +- glib/Makefile.am | 11 +- gobject/Makefile.am | 11 +- 11 files changed, 785 insertions(+), 1463 deletions(-) commit 504b8b8f0125dcba530d4f34c4beaaa129cc5d85 Author: Tor Lillqvist Date: Sun Mar 21 14:50:45 2010 +0200 Avoid struct stat issues with MSVC gio/giomodule.c | 4 ++++ 1 file changed, 4 insertions(+) commit 28b025de962a798fa7a9fb9adbfdfcc4852fddec Author: Tor Lillqvist Date: Sun Mar 21 13:33:44 2010 +0200 Drop empty Tool elements from the project files for clarity Makes the files appear a bit simpler when edited manually. build/win32/vs9/gio.vcproj | 12 ------------ build/win32/vs9/glib-genmarshal.vcproj | 12 ------------ build/win32/vs9/glib.vcproj | 12 ------------ build/win32/vs9/gmodule.vcproj | 12 ------------ build/win32/vs9/gobject.vcproj | 12 ------------ build/win32/vs9/gspawn-win32-helper-console.vcproj | 12 ------------ build/win32/vs9/gspawn-win32-helper.vcproj | 12 ------------ build/win32/vs9/gthread.vcproj | 12 ------------ build/win32/vs9/testglib.vcproj | 12 ------------ 9 files changed, 108 deletions(-) commit 2ab76c5b3610faa20dfae2550688ab0d6620b29b Author: Tor Lillqvist Date: Sun Mar 21 11:22:06 2010 +0200 Make the GVariant code compile with a non-gcc compiler In particular, tested with Microsoft Visual C 2008. glib/gvariant-core.c | 2 +- glib/gvariant-serialiser.c | 28 ++++++++++++++-------------- glib/gvariant.c | 8 ++++++-- glib/gvarianttypeinfo.c | 22 ++++++++++++---------- 4 files changed, 33 insertions(+), 27 deletions(-) commit dc51eff2a9ca234fbb09c7b94c4643ea3750d80d Author: Tor Lillqvist Date: Sat Mar 20 13:32:37 2010 +0200 Update with new source files and dependencies build/win32/vs9/gio.vcproj | 36 ++++++++++++++++++++++++++++++++---- build/win32/vs9/glib.sln | 1 + build/win32/vs9/glib.vcproj | 21 +++++++++++++++++++++ build/win32/vs9/gobject.vcproj | 4 ++++ 4 files changed, 58 insertions(+), 4 deletions(-) commit 782de94c587cc3eed53653443439b62aaee19200 Author: Tor Lillqvist Date: Sat Mar 20 13:31:55 2010 +0200 Drop the unmaintained vs8 project files from dist build/win32/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 77cc740243e9f55603d833f129e999f8824a18f1 Author: Tommi Vainikainen Date: Sat Mar 20 00:01:00 2010 +0200 Updated Finnish translation po/fi.po | 1052 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 512 insertions(+), 540 deletions(-) commit 34d0db361ea514c026c54f14853120d601e1d0b5 Author: A S Alam Date: Fri Mar 19 08:18:41 2010 +0530 update Punjabi Translation po/pa.po | 1041 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 512 insertions(+), 529 deletions(-) commit bedaa8027537378c8b7fec68acb422eac44f240e Author: Nikos Bakaoukas Date: Fri Mar 19 00:10:07 2010 +0200 Updated Greek translation for glib po/el.po | 1117 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 559 insertions(+), 558 deletions(-) commit 6243b1eb5f8f55abc8c05a18d7dfbdd7968fab50 Author: Dumitru Mișu Moldovan Date: Thu Mar 18 22:47:55 2010 +0200 Updated Romanian translation po/ro.po | 964 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 482 insertions(+), 482 deletions(-) commit 3628f7815d13d8b495cd27ce49f3c15372f23cfb Author: Nils-Christoph Fiedler Date: Thu Mar 18 13:54:17 2010 +0100 Updated LowGerman translation po/nds.po | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) commit 41383b303c0bb54da68bbf5500b5e2d9e552ab69 Author: Sebastian Dröge Date: Wed Mar 17 15:11:00 2010 +0100 Bug 612502 - Add support for class private data This adds the two new functions g_type_add_class_private() and g_type_class_get_private() and a convenience macro for the getter G_TYPE_CLASS_GET_PRIVATE(). gobject/gtype.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- gobject/gtype.h | 21 ++++++++++ 2 files changed, 137 insertions(+), 2 deletions(-) commit 2295ba857f09fa58c6e61ec4147536021055bbf6 Author: Benjamin Otte Date: Tue Mar 16 16:34:50 2010 +0100 The fallback parameter to g_convert_with_fallback() should be const This patch makes it so. glib/gconvert.c | 2 +- glib/gconvert.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 751feb916ab2f0cd74839233101fc0b9d2fb994c Author: Ryan Lortie Date: Mon Mar 15 17:45:02 2010 -0400 Bug 612502 - build fails on glib/tests/gvariant.c Fix two problems caught by Tim Rice. - non-constant expression used as array size - arithmetic on void * glib/tests/gvariant.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 1953b4087f2852e43c0a4dd46bfbd6228135cf70 Author: Christian Persch Date: Sun Feb 7 13:39:10 2010 +0100 Use static assert over runtime assert if possible We can test the these at compile time. Bug #609231. glib/gmappedfile.c | 19 ++++++++++--------- glib/gvariant.c | 13 ++++++++----- 2 files changed, 18 insertions(+), 14 deletions(-) commit 24aeaebc48a5636c2f5391de646225d1e471f7ba Author: Nils-Christoph Fiedler Date: Mon Mar 15 14:18:48 2010 +0100 Added LowGerman translation po/nds.po | 2135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2135 insertions(+) commit 2b1b1563a0119de94d2ec0d05f1db493872852dc Author: Nils-Christoph Fiedler Date: Mon Mar 15 14:18:43 2010 +0100 Added LowGerman translation po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 7e4d88b290589a2a91d90b084751002c246564d6 Author: Ryan Lortie Date: Sun Mar 14 22:27:06 2010 -0400 gvariant test: Remove unused variable glib/tests/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f16c70c16ec90be209fdaa120d2810f4128f2f0 Author: Petr Kovar Date: Mon Mar 15 02:30:27 2010 +0100 Update Czech translation po/cs.po | 948 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 478 insertions(+), 470 deletions(-) commit 9dea0253a3ded0e32daa33f11850797109018326 Author: Ryan Lortie Date: Sun Mar 14 15:55:48 2010 -0400 GVariant: add loading, byteswapping, normalisation docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 5 + glib/gvariant-core.c | 61 +++++++++- glib/gvariant.c | 207 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 10 ++ glib/tests/gvariant.c | 72 ++++++++++++ 6 files changed, 355 insertions(+), 4 deletions(-) commit 1ac590b7f728d4a029a354be9aad24863badba02 Author: Ryan Lortie Date: Sun Mar 14 13:04:43 2010 -0400 GBuffer: very small cosmetic fix to header file glib/gbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 056feef60b79e867190697f2d26e3ac7edf903a5 Author: Ryan Lortie Date: Sat Mar 13 19:55:56 2010 -0500 GVariantIter: expand the size of the dummy struct Will allow for some nice tricks in the future. glib/gvariant.c | 4 ++-- glib/gvariant.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit f552689058c27ccebaf4271c4a5afc4197b74a8f Author: Colin Walters Date: Sat Mar 13 18:11:31 2010 -0500 [GDesktopAppInfo] New function g_desktop_app_info_get_filename This allows access to the full file path, where possible. https://bugzilla.gnome.org/show_bug.cgi?id=612832 docs/reference/gio/gio-sections.txt | 1 + gio/gdesktopappinfo.c | 17 +++++++++++++++++ gio/gdesktopappinfo.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 21 insertions(+) commit 1be8ad35144d34de99b6153cbbfa8f9add46888b Author: Thomas Kristensen Date: Sun Mar 14 11:47:17 2010 +0200 Close the socket event in finalizer instead of in close method There might be a GSource attached to a GMainContext, about to be removed by a pending cancellation. Deleting the handle too early will trigger a g_warning in the "select()" call in GMainContext. Attached patch fixes this by deferring destruction of WSAEVENT object until GSocket's finalize(). Patch from bug #612702. Signed-off-by: Tor Lillqvist gio/gsocket.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 6c5d2798f600a0536306e1c67b2e26e2c6eff006 Author: Fran Diéguez Date: Sat Mar 13 21:00:44 2010 +0100 Update Galician translation po/gl.po | 974 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 480 insertions(+), 494 deletions(-) commit 31cf766e647b46cd28cc6d2405c729d06063680d Author: Friedel Wolff Date: Sat Mar 13 20:48:05 2010 +0100 Add Afrikaans translation po/LINGUAS | 1 + po/af.po | 2015 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 2016 insertions(+) commit 62a133f55dcd5626e9583aabc2d95926936a8475 Author: Javier Jardón Date: Fri Mar 12 20:37:04 2010 +0100 Improve the documentation about single include exceptions Also, reenable the compiling Glib application section Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612736 docs/reference/glib/compiling.sgml | 9 +++++++++ docs/reference/glib/glib-docs.sgml | 1 + 2 files changed, 10 insertions(+) commit 5b19345246aa179788b09b7a82702e79f9d815d8 Author: Ryan Lortie Date: Fri Mar 12 15:38:47 2010 -0500 Bug 610858 - gvariant test fails sometimes NaN floating point values get mangled when passing across the function call ABI on x86 so avoid using them to get rid of spurious failures. Reported by Christian Persch and reliably reproduced by Emilio Pozuelo Monfort. glib/tests/gvariant.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a57522deae75264bade35eae8826cda2771530c6 Author: Tor Lillqvist Date: Fri Mar 12 10:42:43 2010 +0200 The SO_KEEPALIVE value seems to actually be a char on Windows Do still use a BOOL variable, but initialize it to FALSE before the getsockopt(), and drop the assertion on Windows. Should fix bug gio/gsocket.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 1caaa4f591ead74f0a146d73155f9cfb65899bed Author: Javier Jardón Date: Wed Mar 10 05:06:50 2010 +0100 [docs] Don't reference deprecated functions Use g_io_add_watch(), g_io_add_watch_full() and g_source_remove() instead the deprecated gtk_input_add_full(), gtk_input_remove(), gdk_input_add(), gdk_input_add_full() and gdk_input_remove() glib/giochannel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 95d42761a9fff5813db46a41bc2ec6c86a2eb947 Author: Miloš Popović Date: Tue Mar 9 20:29:43 2010 +0100 Updated Serbian translations po/sr.po | 1017 +++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 1028 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 1013 insertions(+), 1032 deletions(-) commit a85b9c4badf22777b1b099befcd9e033afa45dbf Author: Ryan Lortie Date: Tue Mar 9 13:34:00 2010 -0500 'default: g_assert_not_reached();' to silence GCC Closes bug #612327 reported by Claudio Saavedra. glib/gvariant-serialiser.c | 3 +++ 1 file changed, 3 insertions(+) commit 89fa967ba1c72081a1698d35e6c10c99190b612d Author: Dagobert Michelsen Date: Tue Mar 9 15:02:57 2010 +0100 Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__ glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c69e6fd837cb92d0c7050d8ea2d0f98b6f70fbe8 Author: Behdad Esfahbod Date: Mon Mar 8 14:28:23 2010 -0500 Cosmetic glib/gmem.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit f6166be24d6c43ccbaf80439aefe8eff83e7843d Author: Ryan Lortie Date: Mon Mar 8 11:53:36 2010 -0500 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c58ce0e60c1a243df6326c26cf7d255d3af4ab2d Author: Ryan Lortie Date: Mon Mar 8 11:48:14 2010 -0500 2.23.5 NEWS | 50 ++ po/am.po | 93 ++-- po/ar.po | 98 ++-- po/as.po | 98 ++-- po/ast.po | 98 ++-- po/az.po | 98 ++-- po/be.po | 102 ++-- po/be@latin.po | 102 ++-- po/bg.po | 942 ++++++++++++++++++------------------- po/bn.po | 98 ++-- po/bn_IN.po | 98 ++-- po/bs.po | 98 ++-- po/ca.po | 952 +++++++++++++++++++------------------ po/ca@valencia.po | 98 ++-- po/cs.po | 97 ++-- po/cy.po | 98 ++-- po/da.po | 953 +++++++++++++++++++------------------ po/de.po | 955 +++++++++++++++++++------------------ po/dz.po | 98 ++-- po/el.po | 98 ++-- po/en@shaw.po | 98 ++-- po/en_CA.po | 98 ++-- po/en_GB.po | 942 ++++++++++++++++++------------------- po/eo.po | 97 ++-- po/es.po | 951 +++++++++++++++++++------------------ po/et.po | 477 ++++++++++++++++++- po/eu.po | 1005 ++++++++++++++++++++------------------- po/fa.po | 98 ++-- po/fi.po | 98 ++-- po/fr.po | 950 +++++++++++++++++++------------------ po/ga.po | 94 ++-- po/gl.po | 97 ++-- po/gu.po | 98 ++-- po/he.po | 98 ++-- po/hi.po | 98 ++-- po/hr.po | 98 ++-- po/hu.po | 1021 ++++++++++++++++++++-------------------- po/hy.po | 94 ++-- po/id.po | 98 ++-- po/is.po | 98 ++-- po/it.po | 955 +++++++++++++++++++------------------ po/ja.po | 98 ++-- po/ka.po | 98 ++-- po/kn.po | 98 ++-- po/ko.po | 97 ++-- po/ku.po | 93 ++-- po/lt.po | 942 ++++++++++++++++++------------------- po/lv.po | 97 ++-- po/mai.po | 98 ++-- po/mg.po | 98 ++-- po/mk.po | 98 ++-- po/ml.po | 98 ++-- po/mn.po | 98 ++-- po/mr.po | 98 ++-- po/ms.po | 98 ++-- po/nb.po | 942 ++++++++++++++++++------------------- po/ne.po | 98 ++-- po/nl.po | 98 ++-- po/nn.po | 98 ++-- po/oc.po | 93 ++-- po/or.po | 98 ++-- po/pa.po | 98 ++-- po/pl.po | 942 ++++++++++++++++++------------------- po/ps.po | 94 ++-- po/pt.po | 952 +++++++++++++++++++------------------ po/pt_BR.po | 942 ++++++++++++++++++------------------- po/ro.po | 97 ++-- po/ru.po | 942 ++++++++++++++++++------------------- po/rw.po | 98 ++-- po/si.po | 98 ++-- po/sk.po | 98 ++-- po/sl.po | 1324 +++++++++++++++++++++++++-------------------------- po/sq.po | 98 ++-- po/sr.po | 98 ++-- po/sr@ije.po | 98 ++-- po/sr@latin.po | 98 ++-- po/sv.po | 1353 ++++++++++++++++++++++++++--------------------------- po/ta.po | 98 ++-- po/te.po | 98 ++-- po/th.po | 97 ++-- po/tl.po | 98 ++-- po/tr.po | 98 ++-- po/tt.po | 93 ++-- po/uk.po | 98 ++-- po/vi.po | 98 ++-- po/wa.po | 98 ++-- po/xh.po | 98 ++-- po/yi.po | 97 ++-- po/zh_CN.po | 98 ++-- po/zh_HK.po | 968 +++++++++++++++++++------------------- po/zh_TW.po | 953 +++++++++++++++++++------------------ 91 files changed, 13883 insertions(+), 13260 deletions(-) commit f9d8d70396978ae201ce79708f7cd69cf6f93399 Author: Ryan Lortie Date: Mon Mar 8 11:29:27 2010 -0500 gtk-doc: ignore gvariant-internal.h docs/reference/glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 929a2e1ae10083d647a77dd36c17071e7fac1593 Author: Ryan Lortie Date: Mon Mar 8 11:25:37 2010 -0500 Add gvariant-varargs.xml to the distribution docs/reference/glib/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6393ca443af7f588275aa6ee8b051bb1d41394e8 Author: Ryan Lortie Date: Mon Mar 8 10:54:23 2010 -0500 distcheck: add gvariant-internal.h to SOURCES glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 75f761bcaa66c82d132c9e3d8cdfcb8ee0971eb6 Author: Ryan Lortie Date: Mon Mar 8 10:30:59 2010 -0500 GVariant variable arguments, tests, cleanups Merge GVariant variable arguments support and put it under tests. Also, remove the hack of the test case directly '#include'ing .c files from glib/. Instead, create a non-installed gvariant-internal.h that the tests can include and make the symbols in it visible on the symbol table of the shared library. These symbols (as they are present in no installed header files) are not part of the API of GLib. Increase test coverage in a few other areas. docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 11 + docs/reference/glib/gvariant-varargs.xml | 987 +++++++++++++++++++++ glib/glib.symbols | 48 +- glib/gvariant-internal.h | 49 ++ glib/gvariant-serialiser.c | 4 + glib/gvariant-serialiser.h | 9 - glib/gvariant.c | 1397 ++++++++++++++++++++++++++---- glib/gvariant.h | 18 + glib/gvarianttypeinfo.c | 11 +- glib/gvarianttypeinfo.h | 10 +- glib/tests/gvariant.c | 773 ++++++++++++++++- 12 files changed, 3110 insertions(+), 208 deletions(-) commit 8cd5c94f42fb362e1620368e805d50e3804e7bc2 Author: Alexander Larsson Date: Mon Mar 8 12:03:40 2010 +0100 Add pregenerated ids for TRASH_ORIG_PATH and TRASH_DELETION_DATE This fixes the build for me gio/gfileinfo-priv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fe4839dbb8358b65d19370114dc9d43cc71e6773 Author: Piotr Drąg Date: Mon Mar 8 10:51:11 2010 +0100 Updated Polish translation po/pl.po | 951 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 479 insertions(+), 472 deletions(-) commit 826abbefcee6c7f64ed8c21d9a2671f9cd0be089 Author: Matthias Clasen Date: Mon Mar 8 00:36:00 2010 -0500 Add defines for trash::orig-path and trash::deletion-date See bug 612107. gio/gfileinfo.c | 30 ++++++++++++++++-------------- gio/gfileinfo.h | 24 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 14 deletions(-) commit 96d105906ef267b687ee6fbe085a791f3b17afc6 Author: Priit Laes Date: Mon Mar 8 00:16:23 2010 -0500 Fix run-assert-msg-test to work with libtool-2.2.x. tests/run-assert-msg-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0a51b58e0776f2d5a82a5346ab81fb50ee75f9f4 Author: Matthias Clasen Date: Mon Mar 8 00:12:33 2010 -0500 Minor doc clarification Mention g_realloc() as a possible function to use with g_memory_output_stream_new(). Bug 612041. gio/gmemoryoutputstream.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 42f042d5fb381151a999e38740720e9244caa6da Author: Matthias Clasen Date: Mon Mar 8 00:04:11 2010 -0500 Minor doc clarification Spell out that g_utf8_strlen() behaves like strlen() wrt. to termination. Bug 612040. glib/gutf8.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 485077e9ce78ad2b55bdb471b57dc9fe21259922 Author: Duarte Loreto Date: Mon Mar 8 02:31:12 2010 +0000 Updated Portuguese translation po/pt.po | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) commit 9dd6c60fbfc742eb08a5b5b27986395ed439fbc1 Author: Matthias Clasen Date: Sun Mar 7 17:42:25 2010 -0500 Plug a memleak in g_io_modules_scan_all_in_directory ...and at the same time, fix a malloc<>g_free mismatch. Patch by Caolan McNamara, bug 611897 gio/giomodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5f424088f5bdf041d5653f5f2aa310150155f58c Author: Jorge González Date: Sun Mar 7 11:49:58 2010 +0100 Updated Spanish translation po/es.po | 963 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 484 insertions(+), 479 deletions(-) commit a9d57e990b878d2b602b247dba676cd257426e23 Author: Ryan Lortie Date: Sun Mar 7 03:02:08 2010 -0500 .gitignore mem-overflow test glib/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit dfcee5865b7c677db722640dec5e34a8e89b4d07 Author: Ryan Lortie Date: Sun Mar 7 02:15:37 2010 -0500 gtk-doc: ignore GBuffer docs/reference/glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a1b9743e1816c5269029e8ae2e21e8950c411f5c Author: Ryan Lortie Date: Sat Mar 6 23:21:27 2010 -0500 Bug 608196 - Overflow-safe g_new family Remove the macros for the g_malloc_n family -- calls directly to those functions now always go directly to those functions. Reimplement the macros for g_new and friends. Remove the branch that checked for calling g_new() with a constant n_structs == 1. With the struct size always known this case will now be caught under the case that does the inline multiplication and the multiplication by 1 will be optimised away. glib/gmem.c | 8 ------ glib/gmem.h | 83 +++++++++++++++++++++++++---------------------------------- 2 files changed, 35 insertions(+), 56 deletions(-) commit 01ef92178b9978b7491bbb3397de9ee08e38af20 Author: Alexander Shopov Date: Sat Mar 6 20:22:49 2010 +0200 Updated Bulgarian translation po/bg.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 7fa6d67bdb3b4d467931d88e7c5ba38481df8bab Author: Gil Forcada Date: Sat Mar 6 13:34:27 2010 +0100 Updated Catalan translation po/ca.po | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 3d98c449b1638a4dc242279737c36fa3e37cb8ce Author: Stefan Kost Date: Sat Mar 6 14:15:25 2010 +0200 gsignal: improve g_signal_new docs. Using 0 for class_offset is only a means to be able to add signal when running out of slots in the lass structure. gobject/gsignal.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit fa32ee56109e295f3dae95c8bbdf98a99f1bc66e Author: Stefan Kost Date: Sat Mar 6 13:36:38 2010 +0200 docs: exchange "Subversion" with "source code repository" Fixes the outdated reference. docs/reference/gobject/tut_gsignal.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ada60fd83fdd4fa694d8d872ea7cbe14b09cbfcc Author: Luca Ferretti Date: Sat Mar 6 01:05:40 2010 +0100 Updated Italian translation po/it.po | 1036 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 518 insertions(+), 518 deletions(-) commit bed0e3f14020bce9ea4eabfe846abb2b4cdfc83e Author: Daniel Nylander Date: Sat Mar 6 00:28:38 2010 +0100 Updated Swedish translation po/sv.po | 1391 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 707 insertions(+), 684 deletions(-) commit 54e830100de02d49d11842e9464511f160c8fbbc Author: Fridrich Strba Date: Fri Mar 5 23:15:45 2010 +0100 Adding new defines first appeared in 2.22 into glibconfig.h.win32.in glibconfig.h.win32.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 0772298b9bc43af10ddb53f63e2c6faca6371a82 Author: Claude Paroz Date: Fri Mar 5 22:32:07 2010 +0100 Updated French translation po/fr.po | 964 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 483 insertions(+), 481 deletions(-) commit 6949099124ddd6bed660c146a42800402b5807ea Author: Gabor Kelemen Date: Fri Mar 5 22:03:27 2010 +0100 Updated Hungarian translation po/hu.po | 87 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 33 insertions(+), 54 deletions(-) commit 0edd7cb8a10388e22cd6b3a37295a6ffddf7e693 Author: Ryan Lortie Date: Fri Mar 5 15:52:38 2010 -0500 undef the proper macros to avoid warning message glib/tests/mem-overflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a3420d8713d6b5425b80f30e5cb61e88bb9d46e2 Author: Behdad Esfahbod Date: Fri Mar 5 15:48:08 2010 -0500 Add makegalias.pl dep on galias.h and co glib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4882be674326f85aaef479ba2aa6b63565f818b3 Author: Leonid Kanter Date: Fri Mar 5 15:49:12 2010 +0200 update Russian translation po/ru.po | 81 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 51 insertions(+), 30 deletions(-) commit 24768ebd8f3a792a091f5583ab301424f84d77d3 Author: Matej Urbančič Date: Fri Mar 5 14:32:01 2010 +0100 Updated Slovenian translation po/sl.po | 1338 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 697 insertions(+), 641 deletions(-) commit 7026365db22a12b7606bf1e2defac803b359cf68 Author: Ryan Lortie Date: Fri Mar 5 06:10:01 2010 -0500 g_variant_get_strv: support objects and signatures glib/gvariant.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 118d59ba15324b49ab9f8b61332364148102d3fd Author: Ryan Lortie Date: Fri Mar 5 06:09:38 2010 -0500 GVariant: fix some refcounting issues glib/gvariant.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 3297185f3962bd73714c376c101c891897b999b4 Author: Ivar Smolin Date: Fri Mar 5 13:08:05 2010 +0200 Estonian translation updated po/et.po | 489 ++------------------------------------------------------------ 1 file changed, 10 insertions(+), 479 deletions(-) commit 6c58d5f8aeb420bd95caaf6ec62be60b47c819b7 Author: Gintautas Miliauskas Date: Fri Mar 5 11:16:33 2010 +0200 Updated Lithuanian translation. po/lt.po | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit e0fff9a057dffc795146d5baa9a9e186587344b5 Author: Philip Withnall Date: Thu Mar 4 23:54:07 2010 +0000 Updated British English translation po/en_GB.po | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit e583d05374fc26de0e52ea20722254cdb081b23c Author: Kjartan Maraas Date: Thu Mar 4 22:57:03 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b1af2fa240f96fda5361784d1d80a94fae5752c Author: Kjartan Maraas Date: Thu Mar 4 22:56:37 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit fe3c945a3fe15b6d4b1177c20f88ac7441d5dca9 Author: Mario Blättermann Date: Thu Mar 4 22:02:43 2010 +0100 Updated German translation po/de.po | 128 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 70 insertions(+), 58 deletions(-) commit 983fd35c7c38ab54b2e39e25102990184377fbb3 Author: Inaki Larranaga Murgoitio Date: Thu Mar 4 21:31:54 2010 +0100 Updated Basque language po/eu.po | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 976cce06fc863496a595240ceb6af07b90d41313 Author: Jonh Wendell Date: Thu Mar 4 17:13:56 2010 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 958 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 484 insertions(+), 474 deletions(-) commit 7504095de09756efec4bc39225986c5db10d6ace Author: Jonh Wendell Date: Thu Mar 4 17:03:13 2010 -0300 Mark a string for translation gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 766183c079192d8fb71044770456c8c9662bd5db Author: Claudio Saavedra Date: Thu Mar 4 19:18:12 2010 +0200 Remove GUtf8InputStream leftover in docs Fixes build. docs/reference/gio/gio.types | 1 - 1 file changed, 1 deletion(-) commit f3425cc38dae31b815db1038dcaac29848840409 Author: Behdad Esfahbod Date: Thu Mar 4 10:38:31 2010 -0500 Fix galias build breakage with g_malloc_n macros glib/gmem.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit c423c3a9c951a64b2c3d3eea67e15fce752a2bd0 Author: Christian Dywan Date: Thu Mar 4 11:02:31 2010 +0100 Add licence headers to gnativevolumemonitor.c/h Fixes bug #609531 gio/gnativevolumemonitor.c | 22 ++++++++++++++++++++++ gio/gnativevolumemonitor.h | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit 343cbf25c7104f782b9d0070cb623c7605dab646 Author: Behdad Esfahbod Date: Tue Feb 2 23:48:42 2010 -0500 Bug 608196 - Overflow-safe g_new family New public API: g_malloc_n g_malloc0_n g_realloc_n g_try_malloc_n g_try_malloc0_n g_try_realloc_n docs/reference/glib/glib-sections.txt | 6 ++ docs/reference/glib/tmpl/memory.sgml | 82 ++++++++++++++++++++++++- glib/glib.symbols | 6 ++ glib/gmem.c | 95 ++++++++++++++++++++++++++++- glib/gmem.h | 92 +++++++++++++++++++++++----- glib/tests/Makefile.am | 3 + glib/tests/mem-overflow.c | 108 +++++++++++++++++++++++++++++++++ glib/tests/printf.c | 2 +- glib/tests/rand.c | 2 +- 9 files changed, 375 insertions(+), 21 deletions(-) commit 373f3d8b52ca8b08de0af6062eb284c2a7a856d9 Author: Felix Riemann Date: Wed Feb 24 12:54:17 2010 +0100 Fix API docs for GZlibCompressor and GZlibDecompressor Corrects the general descriptions and makes the signals and implemented interfaces appear. docs/reference/gio/gio-sections.txt | 4 ++-- gio/gzlibcompressor.c | 4 ++-- gio/gzlibdecompressor.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 560f5187432fc890725c5bb5c74a0997affb888c Author: Ryan Lortie Date: Wed Mar 3 11:36:52 2010 -0500 GVariantBuilder: loosen assertion check Don't check that a GVariantBuilder is fully-valid for use when performing refcounting operations, as these operations may be occuring after the builder has already been cleared. glib/gvariant.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 9a886135c80233a5a40071189df7693151201954 Author: Dan Winship Date: Wed Mar 3 08:35:32 2010 -0500 GResolver: fix Windows 2000 workaround Move the include from gwin32resolver.c to gnetworkingprivate.h, since gthreadedresolver.c needs it too. https://bugzilla.gnome.org/show_bug.cgi?id=611696 gio/gnetworkingprivate.h | 8 ++++++++ gio/gwin32resolver.c | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 67ba99f7abfba0d24719950b55e88024acfc91ae Author: Kjartan Maraas Date: Wed Mar 3 13:49:10 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 955 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 479 insertions(+), 476 deletions(-) commit fe6e278a870c7b2a3e76ba9ef17a9b99a4c0c474 Author: Ryan Lortie Date: Wed Mar 3 03:37:37 2010 -0500 GVariantBuilder: allow for stack allocation docs/reference/glib/glib-sections.txt | 2 + glib/glib.symbols | 6 +- glib/gvariant.c | 553 ++++++++++++++++++++------------- glib/gvariant.h | 13 +- glib/tests/gvariant.c | 13 +- 5 files changed, 352 insertions(+), 235 deletions(-) commit bb0808638c5b4bac11355bc94434d35e76b53364 Author: Gabor Kelemen Date: Tue Mar 2 17:18:52 2010 +0100 Updated Hungarian translation po/hu.po | 1030 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 507 insertions(+), 523 deletions(-) commit 2927c5e0c628dfe97f2649661db703a30dbebd8b Author: Inaki Larranaga Murgoitio Date: Tue Mar 2 12:39:33 2010 +0100 Updated Basque language po/eu.po | 1035 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 504 insertions(+), 531 deletions(-) commit 277b9717da6261d089772684669bc55c5a0e911b Author: Paolo Borelli Date: Mon Mar 1 10:24:43 2010 +0100 Remove utf8inputstream leftovers in a few other places docs/reference/gio/gio-docs.xml | 1 - docs/reference/gio/gio-sections.txt | 18 ------------------ gio/giotypes.h | 1 - po/POTFILES.in | 1 - 4 files changed, 21 deletions(-) commit 2bfddf162e686c750beb2af2e4cb2e8d8d523440 Author: Alexander Larsson Date: Mon Mar 1 09:56:02 2010 +0100 Remove GUtf8InputStream for now It turns out that the way this worked did not work out for the current main usecase (gedit) due to issues with how this is best integrated with GtkTextView. So, in order to not have to support an unused non-ideal API forever we remove this before its been in a stable release. The basic feature seems to have some utility though, so we hope for it to eventually return in a better form. gio/Makefile.am | 2 - gio/gio.h | 1 - gio/gio.symbols | 7 - gio/gutf8inputstream.c | 327 ----------------------------------------- gio/gutf8inputstream.h | 80 ---------- gio/tests/Makefile.am | 4 - gio/tests/utf8-input-stream.c | 252 ------------------------------- 7 files changed, 673 deletions(-) commit c47e1949e215126c70503843ebb7759449160212 Author: Gil Forcada Date: Sun Feb 28 18:55:54 2010 +0100 Updated Catalan translation po/ca.po | 1009 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 506 insertions(+), 503 deletions(-) commit 92d4cfbd1584847ea689146c57f3c79282813ae3 Author: Chao-Hsiung Liao Date: Sat Feb 27 20:40:04 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 965 ++++++++++++++++++++++++++++++----------------------------- po/zh_TW.po | 950 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 962 insertions(+), 953 deletions(-) commit a3c7406cce2af55aea4ffdf1ceb8b828f5ef3219 Author: Ryan Lortie Date: Thu Feb 25 18:09:23 2010 -0500 GVariantTypeInfo: fix thread safety bug Issue caught by Michael Meeks. This patch based on his. GVariantTypeInfo was dropping the reference count on the TypeInfo structure before removing it from the hash table. This means that another thread could come along and grab the value from the hash table in the meantime. Solve this by holding the lock on the table before dropping the reference. Also: move the hash table initialisation inside of the lock to remove the standard double-initialisation race plus a more insidious issue caused by the fact that we free the hash table once it becomes empty. glib/gvarianttypeinfo.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 43b6c2b8f5a9000373b448eca7edea2e3dad4248 Author: Duarte Loreto Date: Thu Feb 25 02:03:17 2010 +0000 Updated Portuguese translation po/pt.po | 1030 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 514 insertions(+), 516 deletions(-) commit 24decf7658368ebcae012d82224627668485137a Author: Bruce Cowan Date: Wed Feb 24 15:28:15 2010 +0000 Updated British English translation po/en_GB.po | 1014 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 508 insertions(+), 506 deletions(-) commit cf07bb353433234268b599d11afc0b0245fdddae Author: Leonid Kanter Date: Wed Feb 24 10:49:16 2010 +0200 Update Russian translation by Yuri Kozlov po/ru.po | 1188 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 538 insertions(+), 650 deletions(-) commit a495a2122d404fdf2c6cf5e3aa0524cf0437ec30 Author: Saleem Abdulrasool Date: Tue Feb 23 15:28:51 2010 -0800 include gio.h, not giotypes.h Including giotypes.h in gfiledescriptor.h causes a compilation failure for users of the header as giotypes.h may not be included directly. gio/gfiledescriptorbased.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8413dfda9b71ff671a92df2c1d3451fb7c0b2085 Author: Gintautas Miliauskas Date: Tue Feb 23 23:45:09 2010 +0200 Updated Lithuanian translation. po/lt.po | 1179 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 587 insertions(+), 592 deletions(-) commit ec0e3089c0e80219ad6e7806b27363ac9c990462 Author: Ask H. Larsen Date: Tue Feb 23 22:25:51 2010 +0100 Updated Danish translation po/da.po | 1018 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 510 insertions(+), 508 deletions(-) commit 1903c229a267611a2624409371390a472d97ad4c Author: Mario Blättermann Date: Tue Feb 23 22:23:36 2010 +0100 Updated German translation po/de.po | 1013 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 505 insertions(+), 508 deletions(-) commit 2940285002c3504fb49fb7388d2265b464c92dcc Author: Ryan Lortie Date: Tue Feb 23 12:49:08 2010 -0500 .gitignore gcov output (*.gcov, *.gcno, *.gcda) .gitignore | 3 +++ 1 file changed, 3 insertions(+) commit cecf61d1c3e8ff07b1595641bad85fb9f9b03ddf Author: Edward Hervey Date: Mon Dec 7 11:23:55 2009 +0100 gobject: Don't use G_PARAM_SPEC_VALUE_TYPE when we know the pspec is valid https://bugzilla.gnome.org/show_bug.cgi?id=605667 gobject/gobject.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit a7cc500d3829db1a8757ae940db09869b78bdca8 Author: Emilio Pozuelo Monfort Date: Tue Feb 23 18:19:16 2010 +0100 Test for unexisting files in $TMP and not in $HOME Some buildd environments have an unwritable $HOME, which makes the test that looks for an unexisting file there fail. Use $TMP instead, which should be more reliable. https://bugzilla.gnome.org/show_bug.cgi?id=610860 gio/tests/readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 355246579ee08753e80bef5d31816a6ef52da73b Author: Alexander Shopov Date: Tue Feb 23 09:30:39 2010 +0200 Updated Bulgarian translation po/bg.po | 973 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 488 insertions(+), 485 deletions(-) commit 1f66523ad325c301d9caf7130b99d3fd74940338 Author: Ryan Lortie Date: Tue Feb 23 02:00:11 2010 -0500 Fix backward logic in g_return_if_fail(). glib/gvariant.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 360b9b540ee5e88de01a4c8aaf16c84f6cf23dc8 Author: Ryan Lortie Date: Tue Feb 23 01:59:57 2010 -0500 GVariant: Improve test coverage. glib/tests/gvariant.c | 253 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 245 insertions(+), 8 deletions(-) commit 202d7d37d6ce066291504276810c350c9a3feb7a Author: Emilio Pozuelo Monfort Date: Fri Feb 19 19:00:02 2010 +0100 Don't fail a couple of tests when running as root root can access and write to a directory when it doesn't have exec and write permissions respectively. So expect the tests that check that to succeed rather than to fail when running as root. https://bugzilla.gnome.org/show_bug.cgi?id=552912 gio/tests/live-g-file.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 4535683b3f42b6840e01bd94fe6ea792b0ebeecf Author: Alexander Larsson Date: Mon Feb 22 12:37:16 2010 +0100 Keep metadata when files are renamed and trashed This fixes https://bugzilla.gnome.org/show_bug.cgi?id=609813 gio/glocalfile.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 515434bdcb63073d62b424c4b352a9d509cee5e6 Author: Ryan Lortie Date: Mon Feb 22 00:39:01 2010 -0500 GVariantIter, GVariantBuilder docs/reference/glib/glib-sections.txt | 22 + docs/reference/glib/tmpl/glib-unused.sgml | 67 -- docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 ++ glib/glib.symbols | 18 + glib/gvariant.c | 1531 ++++++++++++++++++++++------- glib/gvariant.h | 36 + glib/gvarianttype.c | 17 + glib/gvarianttype.h | 1 + 9 files changed, 1367 insertions(+), 398 deletions(-) commit b9d728474ebc51c0d4ff46cb44d97134730174fc Author: Ryan Lortie Date: Sun Feb 21 19:39:33 2010 -0500 Remove redudant check for direct #include gslice.h This was added before we had a standardised header check and not removed when the standard check was added. glib/gslice.c | 2 ++ glib/gslice.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) commit 0a1ce31b6e8d3a7683ae5164d51e325d3669f53f Author: Matthias Clasen Date: Sun Feb 21 21:38:33 2010 -0500 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7fea53a4a290f1cd2c052320b21ee3405e1ed605 Author: Matthias Clasen Date: Sun Feb 21 21:37:33 2010 -0500 2.23.4 po/am.po | 115 ++--- po/ar.po | 115 ++--- po/as.po | 115 ++--- po/ast.po | 115 ++--- po/az.po | 115 ++--- po/be.po | 116 ++--- po/be@latin.po | 116 ++--- po/bg.po | 115 ++--- po/bn.po | 115 ++--- po/bn_IN.po | 115 ++--- po/bs.po | 115 ++--- po/ca.po | 115 ++--- po/ca@valencia.po | 115 ++--- po/cs.po | 942 +++++++++++++++++++------------------- po/cy.po | 115 ++--- po/da.po | 115 ++--- po/de.po | 956 +++++++++++++++++++------------------- po/dz.po | 115 ++--- po/el.po | 115 ++--- po/en@shaw.po | 115 ++--- po/en_CA.po | 115 ++--- po/en_GB.po | 115 ++--- po/eo.po | 115 ++--- po/es.po | 951 +++++++++++++++++++------------------- po/et.po | 477 ++++++++++++++++++- po/eu.po | 115 ++--- po/fa.po | 115 ++--- po/fi.po | 115 ++--- po/fr.po | 115 ++--- po/ga.po | 115 ++--- po/gl.po | 942 +++++++++++++++++++------------------- po/gu.po | 115 ++--- po/he.po | 115 ++--- po/hi.po | 115 ++--- po/hr.po | 115 ++--- po/hu.po | 115 ++--- po/hy.po | 115 ++--- po/id.po | 115 ++--- po/is.po | 115 ++--- po/it.po | 115 ++--- po/ja.po | 115 ++--- po/ka.po | 115 ++--- po/kn.po | 115 ++--- po/ko.po | 952 +++++++++++++++++++------------------- po/ku.po | 115 ++--- po/lt.po | 115 ++--- po/lv.po | 115 ++--- po/mai.po | 115 ++--- po/mg.po | 115 ++--- po/mk.po | 115 ++--- po/ml.po | 115 ++--- po/mn.po | 115 ++--- po/mr.po | 115 ++--- po/ms.po | 115 ++--- po/nb.po | 115 ++--- po/ne.po | 115 ++--- po/nl.po | 116 ++--- po/nn.po | 115 ++--- po/oc.po | 115 ++--- po/or.po | 115 ++--- po/pa.po | 115 ++--- po/pl.po | 942 +++++++++++++++++++------------------- po/ps.po | 115 ++--- po/pt.po | 115 ++--- po/pt_BR.po | 115 ++--- po/ro.po | 954 +++++++++++++++++++------------------- po/ru.po | 115 ++--- po/rw.po | 116 ++--- po/si.po | 115 ++--- po/sk.po | 115 ++--- po/sl.po | 1323 +++++++++++++++++++++++++---------------------------- po/sq.po | 119 ++--- po/sr.po | 115 ++--- po/sr@ije.po | 115 ++--- po/sr@latin.po | 115 ++--- po/sv.po | 115 ++--- po/ta.po | 115 ++--- po/te.po | 115 ++--- po/th.po | 115 ++--- po/tl.po | 115 ++--- po/tr.po | 115 ++--- po/tt.po | 115 ++--- po/uk.po | 115 ++--- po/vi.po | 115 ++--- po/wa.po | 115 ++--- po/xh.po | 115 ++--- po/yi.po | 115 ++--- po/zh_CN.po | 115 ++--- po/zh_HK.po | 960 +++++++++++++++++++------------------- po/zh_TW.po | 945 +++++++++++++++++++------------------- 90 files changed, 10110 insertions(+), 9327 deletions(-) commit 9a08cd5b042a1550cd446724e1ce71ff5379ed2b Author: Matthias Clasen Date: Sun Feb 21 20:28:34 2010 -0500 More distcheck fixes glib/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit ef497e8e64100f672509b8398a9805677ce80bcb Author: Matthias Clasen Date: Sun Feb 21 20:11:33 2010 -0500 Fix some distcheck issues glib/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 3983418c25037dd01fea4b7a52eecdc703535d78 Author: Matthias Clasen Date: Sun Feb 21 19:55:02 2010 -0500 Fix up GFileDescriptorBased docs docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 13 +++++++++++++ docs/reference/gio/gio.types | 1 + gio/gfiledescriptorbased.c | 4 ++-- 4 files changed, 17 insertions(+), 2 deletions(-) commit 03fc92784d0ba995883fa2cbae96531ff3db8672 Author: Matthias Clasen Date: Sun Feb 21 19:48:22 2010 -0500 Add indices for 2.24 additions docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 2 files changed, 8 insertions(+) commit 80a160c7c6c1028febfda3d5bf3b557406a9555c Author: Matthias Clasen Date: Sun Feb 21 19:46:57 2010 -0500 Small doc fixes docs/reference/glib/glib-sections.txt | 5 +++++ docs/reference/gobject/gobject-sections.txt | 2 ++ 2 files changed, 7 insertions(+) commit 2de84d65943c29b86c24f2da9c9e7ca094e9c3a6 Author: Matthias Clasen Date: Sun Feb 21 19:42:37 2010 -0500 Fix up make check gio/gfiledescriptorbased.c | 2 ++ gio/gio.symbols | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit fd751cc2a2906bf4fd19cadacf202de9819247c4 Author: Matthias Clasen Date: Sun Feb 21 19:17:50 2010 -0500 More updates NEWS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e0e57fd97d156e860f1211887b6f302c68c86202 Author: Matthias Clasen Date: Sun Feb 21 17:59:15 2010 -0500 Fix a doc typo. Reported in bug 608063 by Дилян Палаузов. glib/goption.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit dcdc409cd88f6d47eb54a7eee528be6c8667d394 Author: Matthias Clasen Date: Sun Feb 21 16:29:15 2010 -0500 Fix the large array test to work Fix by Sven Herzberg, bug 568760 glib/tests/array-test.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 21080a33e12e87144e0534cd18b3699a9dbc2f36 Author: Matthias Clasen Date: Sun Feb 21 16:12:35 2010 -0500 Add missign single include guards Reported in bug 609530. patch by Christian Dywan. gio/gcharsetconverter.h | 4 ++++ gio/gnativevolumemonitor.h | 4 ++++ gio/gzlibcompressor.h | 4 ++++ gio/gzlibdecompressor.h | 4 ++++ 4 files changed, 16 insertions(+) commit dd7bd61c5301f92408ccb420a5bbd094faa863c3 Author: Matthias Clasen Date: Sun Feb 21 16:04:21 2010 -0500 Documentation improvement Document the size requirements on output buffer in g_base64_encode_close. Patch by Christian Persch, bug 609564. glib/gbase64.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 6c1a914d511b9a94fbeb3e30d93608c3f537c0a7 Author: Matthias Clasen Date: Sun Feb 21 15:55:10 2010 -0500 Fix build on Solaris 8 System header fun. See bug 610131. configure.in | 2 +- gio/libasyncns/asyncns.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit de6914a46a0af720de3df34539e61973e9d4446b Author: Matthias Clasen Date: Sun Feb 21 15:32:08 2010 -0500 Add a pointer to G_DEFINE_INTERFACE docs/reference/gobject/tut_gtype.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit ecb45f43824cdae003cf1280eb0c13039619d6b5 Author: Matthias Clasen Date: Sun Feb 21 15:28:04 2010 -0500 Fix an oversight _Always_ explicitly compare strcmp to 0... this was pointed out in bug 610484 by Christian Persch. glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19e438556cd0d958b34cd9a63bd528d680d77c45 Author: Matthias Clasen Date: Sun Feb 21 15:19:06 2010 -0500 Updates NEWS | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit e377a6f4816ceef23a730c6e431d9ccbb052e7f0 Author: Fran Diéguez Date: Sat Feb 20 22:22:04 2010 +0100 Updated Galician Translation po/gl.po | 119 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 62 insertions(+), 57 deletions(-) commit af22e5739ba89a9795f046ddaf00a506b77c5a8e Author: Piotr Drąg Date: Sat Feb 20 22:20:04 2010 +0100 Updated Polish translation po/pl.po | 1097 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 552 insertions(+), 545 deletions(-) commit 5047fd7f688dc0a3e4c148864f63961389bc83f9 Author: Colin Walters Date: Fri Feb 19 16:06:22 2010 -0500 [gutf8.c] Add a bit of documentation to UNICODE_VALID glib/gutf8.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit ed3c914cdbdd02d1af6d2f6a3a3f3a9fdc8dc1c2 Author: Ryan Lortie Date: Fri Feb 19 10:42:53 2010 -0500 Merge the main public API of GVariant docs/reference/glib/glib-sections.txt | 60 +- glib/Makefile.am | 1 + glib/glib.symbols | 56 + glib/gvariant-core.c | 18 + glib/gvariant.c | 1858 +++++++++++++++++++++++++++++++++ glib/gvariant.h | 95 +- glib/tests/gvariant.c | 179 +++- 7 files changed, 2259 insertions(+), 8 deletions(-) commit afa5dc0c6d9e1aa9b6e057d93562e6ee5796bf46 Author: Petr Kovar Date: Thu Feb 18 20:07:56 2010 +0100 Update Czech translation po/cs.po | 947 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 480 insertions(+), 467 deletions(-) commit 48f74cab395044a07e1220440cdc816db01b9984 Author: Christian Kellner Date: Thu Feb 18 15:49:58 2010 +0100 Move event support in the inotify backend This adds support for G_FILE_MONITOR_SEND_MOVED events when requested by the user to the inotify backend. Last part to fix bug #547890. Based heavily on a patch by Martyn Russel . gio/inotify/ginotifydirectorymonitor.c | 7 +++-- gio/inotify/ginotifyfilemonitor.c | 9 +++++- gio/inotify/inotify-helper.c | 49 ++++++++++++++++++++++++++++---- gio/inotify/inotify-kernel.c | 4 +-- gio/inotify/inotify-path.c | 18 ++++++++++++ gio/inotify/inotify-path.h | 8 +++--- gio/inotify/inotify-sub.c | 6 ++-- gio/inotify/inotify-sub.h | 3 +- 8 files changed, 86 insertions(+), 18 deletions(-) commit 239af977126a4a4b6c68cb43e0876847c7ce2211 Author: Christian Kellner Date: Thu Feb 18 15:43:45 2010 +0100 GLocalFileMonitor: Support for GFileMonitorFlags Evaluate and remember GFileMonitorFlags. This is a part of move event support for fs-monitoring (bug #547890). gio/glocalfilemonitor.c | 28 +++++++++++++++++++++++++--- gio/glocalfilemonitor.h | 1 + 2 files changed, 26 insertions(+), 3 deletions(-) commit 41956b237601a1c5ded0ba5e8821b9f5d09278be Author: Christian Kellner Date: Thu Feb 18 15:40:13 2010 +0100 Move event support for fs-monitoring: Event & flag Add a G_FILE_MONITOR_SEND_MOVED flag indicating the API user wants to receive the new G_FILE_MOINOTR_EVENT_MOVED event instead of single CREATED/DELETED events. First part of bug #547890. gio/gioenums.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit a5dc1af0a230ecfca2dac7fa0dcdf8359537a9f6 Author: Ivar Smolin Date: Thu Feb 18 11:46:06 2010 +0200 Estonian translation updated po/et.po | 511 +++----------------------------------------------------------- 1 file changed, 21 insertions(+), 490 deletions(-) commit e1cc5a5fecc1847a6080435fc8a40f2d8d534bbb Author: Mario Blättermann Date: Wed Feb 17 09:00:04 2010 +0100 Updated German translation po/de.po | 1022 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 515 insertions(+), 507 deletions(-) commit 63a6666ab7a54c9584b6579e323301f3528e86b3 Author: Benjamin Otte Date: Wed Feb 17 08:45:28 2010 +0100 Make g_type_interface_prerequisites() only return one instantiable type Previously, the code had a heisenbug and could potentially return superclasses, too. In fact, it was based on the behavior of malloc. https://bugzilla.redhat.com/show_bug.cgi?id=554678 gobject/gtype.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 9fdbae9344a04479ccb601ebd4ae2c709e7856d9 Author: Matej Urbančič Date: Tue Feb 16 12:38:11 2010 +0100 Updated Slovenian translation po/sl.po | 163 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 84 insertions(+), 79 deletions(-) commit b899bfc7415ec76ef563de3fc945b84675357464 Author: Ryan Lortie Date: Mon Feb 15 19:11:58 2010 -0500 GVariant: create child instance from its own data also: white-space fix in the serialiser glib/gvariant-core.c | 8 ++++++-- glib/gvariant-serialiser.c | 1 - 2 files changed, 6 insertions(+), 3 deletions(-) commit 7fb9d536c0c89800f745ea2c05380efd8f371bf1 Author: Changwoo Ryu Date: Tue Feb 16 03:42:19 2010 +0900 Updated Korean translation po/ko.po | 1032 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 517 insertions(+), 515 deletions(-) commit 68505d5a9f0b2cbacee4eafa3ba754612f052a5f Author: Jorge González Date: Mon Feb 15 17:54:26 2010 +0100 Updated Spanish translation po/es.po | 958 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 483 insertions(+), 475 deletions(-) commit 36d29e06f9459ce28206d212667aee3adc1fd780 Author: Fran Diéguez Date: Mon Feb 15 17:10:21 2010 +0100 Updated Galician Translation po/gl.po | 1259 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 641 insertions(+), 618 deletions(-) commit bb4f63d6390fe5efd183f259e5bd891f89de9e24 Author: Christian Kellner Date: Sun Feb 7 17:23:38 2010 +0100 GFile: Support for splice(2) in copy_fallback The (linux specific) system call splice can be used to transfer data between file descriptors whitout copying them into user space. See bug #604086 for additional details. configure.in | 1 + gio/gfile.c | 187 ++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 170 insertions(+), 18 deletions(-) commit 28f90db1edf938c04f0b5c8a2f54f8add50db234 Author: Christian Kellner Date: Sun Feb 7 17:18:06 2010 +0100 GLocalFileOutputStream: Implement GFileDescriptorBased Also convert GLocalFileIOStream to use the new interface to obtain the file descriptor. gio/glocalfileiostream.c | 3 ++- gio/glocalfileoutputstream.c | 30 +++++++++++++++++++++++------- gio/glocalfileoutputstream.h | 1 - 3 files changed, 25 insertions(+), 9 deletions(-) commit 670f6210ced672eb9c8a500b3dd6cfd22346472b Author: Christian Kellner Date: Sun Feb 7 17:17:44 2010 +0100 GLocalFileInputStream: Implement GFileDescriptorBased gio/glocalfileinputstream.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 4536a4adbc290f56f3686dec0c8e05c15049a602 Author: Christian Kellner Date: Sun Feb 7 14:51:01 2010 +0100 GFileDescriptorBased: New interface New interface for file descriptor based io object. The interface is only exported on unix based systems. See bug 604086. gio/Makefile.am | 3 ++ gio/gfiledescriptorbased.c | 72 ++++++++++++++++++++++++++++++++++++++++++++ gio/gfiledescriptorbased.h | 63 ++++++++++++++++++++++++++++++++++++++ gio/giotypes.h | 1 + 4 files changed, 139 insertions(+) commit 3840151012b6ed01bfa9aada2914cce974398d0d Author: Chao-Hsiung Liao Date: Mon Feb 15 19:15:38 2010 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1028 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 1015 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 1015 insertions(+), 1028 deletions(-) commit b37da7134b127e6c92e7002150077515dc7d42b4 Author: Alexander Larsson Date: Mon Feb 15 10:13:10 2010 +0100 Set result_uncertain in win32 g_content_type_guess implementation Fixes bug #609143 gio/gcontenttype.c | 3 +++ 1 file changed, 3 insertions(+) commit 83c6087dcc2168cc41db3a328bbd30341ac3955b Author: Lucian Grijincu Date: Sat Feb 13 19:35:42 2010 +0200 Updated Romanian translation po/ro.po | 1025 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 510 insertions(+), 515 deletions(-) commit e66d66c5559f4f0423d015a4d006f170dcb5d582 Author: Ryan Lortie Date: Thu Feb 11 16:52:20 2010 -0500 GVariant: lock before freeing, to avoid assert glib/gvariant-core.c | 2 ++ 1 file changed, 2 insertions(+) commit fd3923aba2f827b47c54edc9728c953b9520fa52 Author: Benjamin Otte Date: Thu Feb 11 21:08:57 2010 +0100 Move offsets array from interface data member to TypeNode We need to assign offsets when the interface is not yet instantiated. gobject/gtype.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 61b649cffd26c3feafe4158da01ebb1394a1b574 Author: Benjamin Otte Date: Thu Feb 11 21:05:41 2010 +0100 Move prerequisites out of _prot struct Also fix the naming (including typo) gobject/gtype.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1e6b18422563bc428e17e8a4e3c84dac8ed02ab2 Author: Ryan Lortie Date: Wed Feb 10 13:59:14 2010 -0500 add performance tests to gitignore tests/gobject/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 3e30e8a87e18952e9c26c0d05f5c336a110f2bed Author: Ryan Lortie Date: Wed Feb 10 11:29:12 2010 -0500 make tests not dynamic link against /lib/libglib For some reason, even though the tests are linked against libgobject.la and libgobject.la mentions libglib.la as a dependency, the tests are running against the system glib instead of the in-tree one. Adding the libglib.la file as an explicit LDFLAG fixes it. tests/gobject/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 1e655eb02c6cadee45a28df359327ce9fb41c6a5 Author: Ryan Lortie Date: Wed Feb 10 11:13:06 2010 -0500 merge GVariant docs/reference/glib/Makefile.am | 7 +- docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 18 + docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/gobject/gobject-sections.txt | 2 + glib/Makefile.am | 4 + glib/glib.h | 1 + glib/glib.symbols | 13 + glib/gvariant-core.c | 855 +++++++++++++++++++++++++++ glib/gvariant-core.h | 46 ++ glib/gvariant.h | 47 ++ gobject/gboxed.c | 27 + gobject/gboxed.h | 18 + gobject/gobject.symbols | 2 + 14 files changed, 1039 insertions(+), 3 deletions(-) commit 2afe2325c4c9e42dab8ebfed11b86d24715837e0 Author: Matej Urbančič Date: Wed Feb 10 16:34:53 2010 +0100 Updated Slovenian translation po/sl.po | 1352 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 701 insertions(+), 651 deletions(-) commit 243e340d6edde4d7ae1c45b3041489332f83a6d5 Author: Matthias Clasen Date: Tue Feb 9 10:35:01 2010 -0500 bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1831ff2d30ee837179d9d79d9dbf36016564e0f0 Author: Matthias Clasen Date: Tue Feb 9 10:20:37 2010 -0500 2.23.3 po/am.po | 250 +++++----- po/ar.po | 254 +++++----- po/as.po | 254 +++++----- po/ast.po | 254 +++++----- po/az.po | 253 +++++----- po/be.po | 263 ++++++----- po/be@latin.po | 260 ++++++----- po/bg.po | 254 +++++----- po/bn.po | 254 +++++----- po/bn_IN.po | 254 +++++----- po/bs.po | 253 +++++----- po/ca.po | 254 +++++----- po/ca@valencia.po | 254 +++++----- po/cs.po | 940 +++++++++++++++++++------------------ po/cy.po | 254 +++++----- po/da.po | 254 +++++----- po/de.po | 254 +++++----- po/dz.po | 253 +++++----- po/el.po | 254 +++++----- po/en@shaw.po | 254 +++++----- po/en_CA.po | 254 +++++----- po/en_GB.po | 254 +++++----- po/eo.po | 251 +++++----- po/es.po | 955 +++++++++++++++++++------------------- po/et.po | 254 +++++----- po/eu.po | 255 +++++----- po/fa.po | 253 +++++----- po/fi.po | 254 +++++----- po/fr.po | 950 ++++++++++++++++++------------------- po/ga.po | 251 +++++----- po/gl.po | 254 +++++----- po/gu.po | 254 +++++----- po/he.po | 254 +++++----- po/hi.po | 254 +++++----- po/hr.po | 253 +++++----- po/hu.po | 254 +++++----- po/hy.po | 251 +++++----- po/id.po | 253 +++++----- po/is.po | 253 +++++----- po/it.po | 254 +++++----- po/ja.po | 254 +++++----- po/ka.po | 254 +++++----- po/kn.po | 254 +++++----- po/ko.po | 254 +++++----- po/ku.po | 250 +++++----- po/lt.po | 254 +++++----- po/lv.po | 251 +++++----- po/mai.po | 254 +++++----- po/mg.po | 253 +++++----- po/mk.po | 254 +++++----- po/ml.po | 254 +++++----- po/mn.po | 253 +++++----- po/mr.po | 254 +++++----- po/ms.po | 253 +++++----- po/nb.po | 940 +++++++++++++++++++------------------ po/ne.po | 253 +++++----- po/nl.po | 256 +++++----- po/nn.po | 254 +++++----- po/oc.po | 249 +++++----- po/or.po | 254 +++++----- po/pa.po | 254 +++++----- po/pl.po | 254 +++++----- po/ps.po | 253 +++++----- po/pt.po | 254 +++++----- po/pt_BR.po | 940 +++++++++++++++++++------------------ po/ro.po | 254 +++++----- po/ru.po | 258 ++++++----- po/rw.po | 253 +++++----- po/si.po | 254 +++++----- po/sk.po | 253 +++++----- po/sl.po | 1340 ++++++++++++++++++++++++++--------------------------- po/sq.po | 256 +++++----- po/sr.po | 254 +++++----- po/sr@ije.po | 253 +++++----- po/sr@latin.po | 254 +++++----- po/sv.po | 254 +++++----- po/ta.po | 254 +++++----- po/te.po | 254 +++++----- po/th.po | 21 +- po/tl.po | 253 +++++----- po/tr.po | 254 +++++----- po/tt.po | 250 +++++----- po/uk.po | 254 +++++----- po/vi.po | 254 +++++----- po/wa.po | 253 +++++----- po/xh.po | 253 +++++----- po/yi.po | 251 +++++----- po/zh_CN.po | 254 +++++----- po/zh_HK.po | 254 +++++----- po/zh_TW.po | 254 +++++----- 90 files changed, 15161 insertions(+), 11981 deletions(-) commit f570cf99b32d65633082f451a41d3336de0ec005 Author: Matthias Clasen Date: Tue Feb 9 09:16:23 2010 -0500 Doc cleanups docs/reference/glib/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit a68c0cde8f3b3ca7aa581843a65e43fcc2b11409 Author: Matthias Clasen Date: Tue Feb 9 08:46:50 2010 -0500 Updates NEWS | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit bd6a88aef70cb93d79580c00dae420c4a4729f1e Author: Ryan Lortie Date: Mon Feb 8 00:43:17 2010 -0500 gstrfuncs.h: needs gmacros.h for G_BEGIN_DECLS glib/gstrfuncs.h | 1 + 1 file changed, 1 insertion(+) commit 0be1a4fb973e6a10c12ad9d67344281ccee5ce7e Author: Theppitak Karoonboonyanan Date: Mon Feb 8 09:57:37 2010 +0700 Updated Thai translation. po/th.po | 276 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 155 insertions(+), 121 deletions(-) commit e04c9c699c1ca181419d3d325aade70cf3e14763 Author: Ryan Lortie Date: Sun Feb 7 15:41:21 2010 -0500 add missing #include "config.h" glib/gbuffer.c | 2 ++ glib/gurifuncs.c | 2 ++ glib/gvariant-serialiser.c | 2 ++ glib/gvarianttype.c | 2 ++ glib/gvarianttypeinfo.c | 2 ++ 5 files changed, 10 insertions(+) commit 218c691ca33f556033535fa43a39b65cd2276282 Author: Ryan Lortie Date: Sun Feb 7 03:14:28 2010 -0500 remove #include from some .c files include individual headers instead glib/gurifuncs.c | 9 +++++++-- glib/gvarianttypeinfo.c | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) commit ea2917b01f045d8e7ede4824039d462203af3290 Author: Ryan Lortie Date: Sun Feb 7 03:08:08 2010 -0500 gurifuncs.c: #include "string.h" -> glib/gurifuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f303375736edbb6c7d39f339b89be14d621fd8e Author: Ryan Lortie Date: Sun Feb 7 02:52:07 2010 -0500 GVariantTypeInfo: free hash table when not in use glib/gvarianttypeinfo.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 80538aba7ea8f9a05ea1a6a66eb202a4ccfe4b5f Author: Ryan Lortie Date: Thu Feb 4 21:18:53 2010 -0500 merge the GVariant serialiser glib/Makefile.am | 2 + glib/gvariant-serialiser.c | 1656 ++++++++++++++++++++++++++++++++++++++++++++ glib/gvariant-serialiser.h | 75 ++ glib/tests/gvariant.c | 1245 +++++++++++++++++++++++++++++++++ 4 files changed, 2978 insertions(+) commit eea6042f5f4db2f123763097ac2fd4738cef24ee Author: Ryan Lortie Date: Fri Feb 5 12:37:43 2010 -0500 GMappedFile: minimal changes to support GBuffer Just reorganise the GMappedFile struct to be binary compatible with GBuffer. If GBuffer becomes public later then we can revisit this. glib/gmappedfile.c | 46 +++++++++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 15 deletions(-) commit 3f4b7f6d37cd0036f65c31eeee033d650072561e Author: Ryan Lortie Date: Sat Feb 6 10:18:07 2010 -0500 add private GBuffer type glib/Makefile.am | 2 + glib/gbuffer.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gbuffer.h | 88 +++++++++++++++++++++++ 3 files changed, 295 insertions(+) commit 813d0d17a65be2ecb5961a96630d11a195ce6a67 Author: Tim-Philipp Müller Date: Fri Feb 5 01:14:20 2010 +0000 Don't leak filename in g_io_modules_scan_all_in_directory https://bugzilla.gnome.org/show_bug.cgi?id=608159 gio/giomodule.c | 2 ++ 1 file changed, 2 insertions(+) commit 4adde81771f5a4471a568a409a38fd9162d49418 Author: Hans Breuer Date: Sat Feb 6 13:22:39 2010 +0100 Fix inconsistent line-endings Apparently CRLF (windows format) was checked in from Linux causing modified by checkout under windows. See: http://help.github.com/dealing-with-lineendings/ http://mail.gnome.org/archives/gtk-devel-list/2009-July/msg00041.html po/be.po | 400 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 200 insertions(+), 200 deletions(-) commit 00b55e2bc7cb7f4ff7adb3b40e1b41becce6cba1 Author: Tor Lillqvist Date: Sat Feb 6 10:40:03 2010 +0200 Drop empty elements from the VS9 vcproj files Dunno if this makes sense, if one lets VS edit the it will put them back anyway. But it's more pleasing to the eye. build/win32/vs9/gio.vcproj | 50 ----- build/win32/vs9/glib-genmarshal.vcproj | 50 ----- build/win32/vs9/glib.vcproj | 230 +++++--------------- build/win32/vs9/gmodule.vcproj | 50 ----- build/win32/vs9/gobject.vcproj | 50 ----- build/win32/vs9/gspawn-win32-helper-console.vcproj | 50 ----- build/win32/vs9/gspawn-win32-helper.vcproj | 50 ----- build/win32/vs9/gthread.vcproj | 50 ----- build/win32/vs9/testglib.vcproj | 50 ----- 9 files changed, 60 insertions(+), 570 deletions(-) commit 10cd6df4a8b947b3b2b68891c779f5318b46e8de Author: Jonh Wendell Date: Fri Feb 5 11:09:26 2010 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 1005 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 523 insertions(+), 482 deletions(-) commit 5e753d6abcad6040a6fd25f5ac34d5dab4f7ae22 Author: Ryan Lortie Date: Thu Feb 4 20:27:11 2010 -0500 rename test: gvarianttype -> gvariant More test cases will be added to this file. glib/tests/.gitignore | 2 +- glib/tests/Makefile.am | 4 +- glib/tests/gvariant.c | 1041 +++++++++++++++++++++++++++++++++++++++++++++ glib/tests/gvarianttype.c | 1041 --------------------------------------------- 4 files changed, 1044 insertions(+), 1044 deletions(-) commit 9a990cea0cfc7357000e30f3c24030fed2ff4708 Author: Petr Kovar Date: Thu Feb 4 23:54:15 2010 +0100 Update Czech translation po/cs.po | 1012 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 521 insertions(+), 491 deletions(-) commit 762e18d8cebf907e51aed14298525048f7c9e015 Author: Tor Lillqvist Date: Thu Feb 4 19:57:38 2010 +0200 Further work on VS9 project files build/win32/vs9/README.txt | 16 ++++++++++++---- build/win32/vs9/glib.vsprops | 32 ++++++++++++++++++++++++++++++-- build/win32/vs9/install.vcproj | 8 ++++---- 3 files changed, 46 insertions(+), 10 deletions(-) commit 021643cda4f9b13fd72e898165744e9aefb346cd Author: Tor Lillqvist Date: Thu Feb 4 19:54:50 2010 +0200 Clarify use of struct stat on Windows gio/glocalfile.c | 23 ++++++++++++++--------- gio/glocalfileinfo.c | 10 ++++++---- glib/gstdio.c | 24 +++++++++++++++++++----- glib/gstdio.h | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 18 deletions(-) commit 5589d2b45567a0b35e8d8f55f20b1e381c53ca04 Author: Tor Lillqvist Date: Thu Feb 4 19:20:08 2010 +0200 Internally use the _stati64 API explicitly on Windows Avoids warnings and confusion when compiling with MSVC. glib/giowin32.c | 24 ++++++++++-------------- glib/gkeyfile.c | 5 ++--- glib/gmappedfile.c | 5 ++--- 3 files changed, 14 insertions(+), 20 deletions(-) commit 05291c0d11f269dedacde62e767b75976c27bd33 Author: Tor Lillqvist Date: Thu Feb 4 15:24:56 2010 +0200 Enable libtool compatible DLL naming in the VS9 projects build/win32/vs9/gio.vcproj | 8 ++++---- build/win32/vs9/glib.vcproj | 8 ++++---- build/win32/vs9/glib.vsprops | 28 +++++++++++++++++++++++++++- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcproj | 8 ++++---- build/win32/vs9/gthread.vcproj | 8 ++++---- 6 files changed, 47 insertions(+), 21 deletions(-) commit bfd60d8835149ede901b52f42d2a56c8ec6e7f77 Author: Ryan Lortie Date: Thu Feb 4 09:06:56 2010 -0500 GVariantType test case: assert all memory freed Make sure we've freed all TypeInfos at the end of the test. glib/tests/gvarianttype.c | 2 ++ 1 file changed, 2 insertions(+) commit 6d6d7a8bb2c58b4cce7031e68d31978b2f83e6ff Author: Ryan Lortie Date: Thu Feb 4 09:04:32 2010 -0500 GVariantTypeInfo tweaks 1) always emit ending type FIXED for fixed sized items The serialiser needs to know if it dealing with a fixed sized item in case the serialised data is corrupt and the item has the wrong size. 2) add a macro that will be used by test cases to check that all memory has been freed. glib/gvarianttypeinfo.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit cb7dfdc1943c016fe05c67ccedf653bfb7bc3891 Author: Tor Lillqvist Date: Thu Feb 4 15:00:15 2010 +0200 Use inherited properties in all configurations in gmodule, too build/win32/vs9/gmodule.vcproj | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 79eb03aa4f6f75c7049a3c5b11cb83fea0685b88 Author: Tor Lillqvist Date: Thu Feb 4 14:51:56 2010 +0200 Use README.txt instead of README for Windows developer friendliness build/win32/vs9/Makefile.am | 2 +- build/win32/vs9/README | 29 ----------------------------- build/win32/vs9/README.txt | 29 +++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 30 deletions(-) commit ec1944781589fdb15d61b2b251d51bd7e4617832 Author: Tor Lillqvist Date: Thu Feb 4 14:50:36 2010 +0200 Update README for VS9 build build/win32/vs9/README | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) commit 9d444f7b12fff6b7f9e6ba4a2667ab293af793eb Author: Tor Lillqvist Date: Thu Feb 4 14:36:23 2010 +0200 Refactor VS9 project files Factor out common parts into a vsprops file. Drop empty elements for tools that aren't used. build/win32/vs9/Makefile.am | 9 +- build/win32/vs9/gio.vcproj | 184 +++--------------- build/win32/vs9/glib-genmarshal.vcproj | 138 +------------- build/win32/vs9/glib.vcproj | 194 +++---------------- build/win32/vs9/glib.vsprops | 196 ++++++++++++++++++++ build/win32/vs9/gmodule.vcproj | 173 ++--------------- build/win32/vs9/gobject.vcproj | 178 ++---------------- build/win32/vs9/gspawn-win32-helper-console.vcproj | 142 +------------- build/win32/vs9/gspawn-win32-helper.vcproj | 142 +------------- build/win32/vs9/gthread.vcproj | 150 +-------------- build/win32/vs9/install.vcproj | 164 +--------------- build/win32/vs9/testglib.vcproj | 142 +------------- 12 files changed, 319 insertions(+), 1493 deletions(-) commit 241c7f476d8867d4d380c655d15a8963152a1fa0 Author: Tor Lillqvist Date: Thu Feb 4 14:35:04 2010 +0200 Don't use deprecated g_win32 API tests/testglib.c | 24 ------------------------ 1 file changed, 24 deletions(-) commit 3f3c163aa2ddbfb756b556b70901d2a58b1313d9 Author: Tor Lillqvist Date: Thu Feb 4 00:37:13 2010 +0200 Put a version info resource also in the gio DLL Also, distribute gio/gio.rc(.in). configure.in | 1 + gio/Makefile.am | 18 +++++++++++++++++- gio/gio.rc.in | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) commit 154a5314be98b22cb3171721d40cb9c4e6d5f102 Author: Tor Lillqvist Date: Thu Feb 4 00:11:44 2010 +0200 Update copyright years glib/glib.rc.in | 2 +- gmodule/gmodule.rc.in | 2 +- gobject/gobject.rc.in | 2 +- gthread/gthread.rc.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 33b011ce7d9415d60493595bbfe14dbc02c2d201 Author: Krzesimir Nowak Date: Wed Jan 13 18:40:17 2010 +0100 Add checks for NULL pointer in arrays. Fixes: Bug 599197 - array ref and unref functions crash on NULL array. * garray.c: Added safety guards to all public functions, which did not have them earlier. Now when NULL is passed to them, they will issue a warning and return, instead of segfaulting. glib/garray.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 2b121c02efc13f4b8c6c771b33a2363a21e7757f Author: River Tarnell Date: Wed Feb 3 17:31:02 2010 +0100 properly guard the includes Fixes: Bug 604967 - 2.22.3 libasyncns build fails on HP-UX 11.11 * gio/libasyncns/asyncns.c: properly guard the includes of sys/select.h and sys/time.h gio/libasyncns/asyncns.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit e62e7227bf6d97215b697fd9a1d7b4a5addd70cb Author: Tor Lillqvist Date: Wed Feb 3 18:09:28 2010 +0200 Fix the "install" VS9 project Install also ghostutils.h. Don't bother mentioning any pointless PreprocessorDefinitions for the "install" project, as all it does is copy files. build/win32/vs9/install.vcproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0ac2277b490dae967b7a5083966610cffe8582e1 Author: Ryan Lortie Date: Tue Feb 2 23:38:20 2010 -0500 GVariantTypeInfo changes - rename 'type' in MemberInfo to 'type_info' - add 'ending_type' field to MemberInfo - document how to find the ending glib/gvarianttypeinfo.c | 23 ++++++++++++++++------- glib/gvarianttypeinfo.h | 21 ++++++++++++++++++++- glib/tests/gvarianttype.c | 6 +++--- 3 files changed, 39 insertions(+), 11 deletions(-) commit 1de58ef708fb1972445a65e184e1579f0d0bbaaf Author: Tor Lillqvist Date: Tue Feb 2 21:24:45 2010 +0200 Link with dnsapi.lib also in 32-bit builds build/win32/vs9/gio.vcproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 57d3e4cba3a0a273d93a25356801080d710d926e Author: Tor Lillqvist Date: Tue Feb 2 21:23:27 2010 +0200 Include also testglib.vcproj in tarball build/win32/vs9/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit cf0e4c33fa8a7efdc62d52cad0d7dc9135dccdf8 Author: Philip Withnall Date: Tue Feb 2 10:41:00 2010 +0000 Don't use a compiler keyword as a variable name Appease the MS C++ compiler by using _val instead of __value as a variable name in G_VALUE_COLLECT_INIT. Problem found by Haakon Sporsheim . Re-closes: bgo#608602 gobject/gvaluecollector.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit e2bc5c21122b0a0703524a37df6cef43577a46f7 Author: Ryan Lortie Date: Mon Feb 1 18:30:57 2010 -0500 g_bit_lock: remove double variable declarations Remove double declaration of local static variables used for futex emulation. Problem found by Haakon Sporsheim . glib/gbitlock.c | 3 --- 1 file changed, 3 deletions(-) commit 27a080537efdb8660c62445427b53fc29735f304 Author: Dan Winship Date: Mon Feb 1 18:11:43 2010 -0500 ghostutils: Fix a crash and add some tests https://bugzilla.gnome.org/show_bug.cgi?id=608743 glib/ghostutils.c | 13 ++++++++++++- glib/tests/hostutils.c | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) commit 3443f47ddf520b044997d5b09b95dec692e34ae5 Author: Ryan Lortie Date: Sun Jan 31 14:30:08 2010 -0500 G{Byte,Ptr,}Array: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 3 + docs/reference/glib/tmpl/arrays.sgml | 339 -------------- docs/reference/glib/tmpl/arrays_byte.sgml | 211 --------- docs/reference/glib/tmpl/arrays_pointer.sgml | 308 ------------- glib/garray.c | 629 ++++++++++++++++++++++++++ 5 files changed, 632 insertions(+), 858 deletions(-) commit 501a2906d3208440a74bebe8736ea39b3f5b5947 Author: Ryan Lortie Date: Sun Jan 31 13:07:16 2010 -0500 GList, GSList: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/linked_lists_double.sgml | 467 --------------------- docs/reference/glib/tmpl/linked_lists_single.sgml | 394 ----------------- glib/glist.c | 154 +++++++ glib/gslist.c | 113 +++++ 5 files changed, 269 insertions(+), 861 deletions(-) commit c8c5c5a991b384964d0650d7fec02663dddc9035 Author: Ryan Lortie Date: Sun Jan 31 01:26:49 2010 -0500 remove trailing whitespace breaking .gitignore docs/reference/glib/tmpl/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4bdf7d12a8ef7e027dced8d0da46986c2009180e Author: Ryan Lortie Date: Sun Jan 31 00:39:40 2010 -0500 GIOChannel: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/iochannels.sgml | 666 ------------------------------ glib/giochannel.c | 196 +++++++++ glib/giounix.c | 36 ++ glib/giowin32.c | 52 +++ 5 files changed, 285 insertions(+), 666 deletions(-) commit 4353151449fedf8e018c07ae4d196652a39f0528 Author: Ryan Lortie Date: Sun Jan 31 00:27:28 2010 -0500 GTree, GNode: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/trees-binary.sgml | 250 -------------- docs/reference/glib/tmpl/trees-nary.sgml | 501 ---------------------------- glib/gnode.c | 116 +++++++ glib/gtree.c | 67 ++++ 5 files changed, 185 insertions(+), 751 deletions(-) commit d81506a154ba387e339dfb5ff6acddac1e4866c5 Author: Ryan Lortie Date: Sun Jan 31 00:18:09 2010 -0500 GThreadPool: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/thread_pools.sgml | 202 ---------------------------- glib/gthreadpool.c | 50 +++++++ 3 files changed, 51 insertions(+), 202 deletions(-) commit c471468ca477b44c1c14038951f720fd1ca26070 Author: Ryan Lortie Date: Sun Jan 31 00:16:14 2010 -0500 GRelation: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/relations.sgml | 204 ------------------------------- glib/grel.c | 162 ++++++++++++++++++++++++ 3 files changed, 163 insertions(+), 204 deletions(-) commit 21a6b69f4fe85948e6e97650ccdd6e280098a790 Author: Ryan Lortie Date: Sun Jan 31 00:10:58 2010 -0500 GCache: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/caches.sgml | 162 ---------------------------------- glib/gcache.c | 134 ++++++++++++++++++++++++++++ 3 files changed, 135 insertions(+), 162 deletions(-) commit fa7cafae5cfea880a1d6cfc82b000eecd34534e1 Author: Ryan Lortie Date: Sun Jan 31 00:05:48 2010 -0500 GChecksum: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/checksum.sgml | 145 -------------------------------- glib/gchecksum.c | 22 +++++ 3 files changed, 23 insertions(+), 145 deletions(-) commit 5ee096636b3e603863e0935c2e7ff107b4d72f63 Author: Ryan Lortie Date: Sun Jan 31 00:03:33 2010 -0500 GCompletion: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/completion.sgml | 158 ------------------------------ glib/gcompletion.c | 122 +++++++++++++++++++++++ 3 files changed, 123 insertions(+), 158 deletions(-) commit 75b3bd99e1a219fdd8d8f0be5a9fdddfda120ace Author: Christian Dywan Date: Mon Feb 1 12:37:23 2010 +0100 Fix typo in introduction to threads in Glib glib/gthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f25e756ab65fef3bd793aaf234a82b4a82d19d67 Author: Kjartan Maraas Date: Sun Jan 31 19:57:59 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 965 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 504 insertions(+), 461 deletions(-) commit aa67c725e1bde15c900b65c1971771ec084cef20 Author: Philip Withnall Date: Sun Jan 31 16:15:32 2010 +0000 Fix shadowing of G_VALUE_COLLECT variables in G_VALUE_COLLECT_INIT Closes: bgo#608602 gobject/gvaluecollector.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6d52d34dff51676bdfa42d09c26c683304275c39 Author: Ryan Lortie Date: Sat Jan 30 23:34:19 2010 -0500 data{list,sets}, quarks: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 3 + docs/reference/glib/tmpl/datalist.sgml | 244 ------------------ docs/reference/glib/tmpl/datasets.sgml | 212 ---------------- docs/reference/glib/tmpl/quarks.sgml | 124 --------- glib/gdataset.c | 428 +++++++++++++++++++++++++++++++- 5 files changed, 429 insertions(+), 582 deletions(-) commit c7000fcfecca109a9f35c8c2e4e56d3a63cf5bd6 Author: Ryan Lortie Date: Sat Jan 30 23:10:34 2010 -0500 GPattern: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/patterns.sgml | 124 -------------------------------- glib/gpattern.c | 103 ++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 124 deletions(-) commit 84572f81bfc2696390625e814d0200cbb26220cb Author: Ryan Lortie Date: Sat Jan 30 23:04:52 2010 -0500 String chunks: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/string_chunks.sgml | 108 --------------------------- glib/gstring.c | 35 +++++++++ 3 files changed, 36 insertions(+), 108 deletions(-) commit 4431ac5dda5a3f130c9eb8f41445c883d960fe4c Author: Ryan Lortie Date: Sat Jan 30 22:58:43 2010 -0500 Move allocator and memchunk docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 2 + docs/reference/glib/tmpl/allocators.sgml | 57 ----- docs/reference/glib/tmpl/memory_chunks.sgml | 331 ------------------------- glib/gmem.c | 353 +++++++++++++++++++++++++++ glib/gtimer.c | 3 +- 5 files changed, 357 insertions(+), 389 deletions(-) commit 3a161ee8f34f8c5861075a4b0d52730f7ba5bec0 Author: Ryan Lortie Date: Sat Jan 30 22:19:29 2010 -0500 GSequence: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/sequence.sgml | 432 -------------------------------- glib/gsequence.c | 69 +++++ 3 files changed, 70 insertions(+), 432 deletions(-) commit 0ab7bb4b18908813b484514b8d2f597d962dd3c7 Author: Ryan Lortie Date: Sat Jan 30 22:15:35 2010 -0500 GShell: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/shell.sgml | 68 ----------------------------------- glib/gshell.c | 22 ++++++++++++ 3 files changed, 23 insertions(+), 68 deletions(-) commit f6482a1eaa10f6e21536776ca667980ccd9e5f77 Author: Ryan Lortie Date: Sat Jan 30 22:12:22 2010 -0500 GTimer: move docs from tmpl to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/timers.sgml | 110 ---------------------------------- glib/gtimer.c | 91 +++++++++++++++++++++++++++- 3 files changed, 91 insertions(+), 111 deletions(-) commit d87712d3e6d3975b2c0a5fb436b8b8d3e009a3e1 Author: Ryan Lortie Date: Sat Jan 30 21:55:03 2010 -0500 Fix up gthread.c documentation The last incomplete commit got pushed accidentally. This finishes it up. glib/gthread.c | 214 +++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 151 insertions(+), 63 deletions(-) commit 0f246e28ca6651b7b40a5a5668b45729226ca177 Author: Ryan Lortie Date: Sat Jan 30 20:15:25 2010 -0500 merge GVariantTypeInfo glib/Makefile.am | 2 + glib/gvarianttypeinfo.c | 841 +++++++++++++++++++++++++++++++++++++++++++++ glib/gvarianttypeinfo.h | 140 ++++++++ glib/tests/gvarianttype.c | 429 +++++++++++++++++++++-- 4 files changed, 1392 insertions(+), 20 deletions(-) commit 4c58a85dd1eb89fe45b8fc5730291238c057d63e Author: Ryan Lortie Date: Sat Jan 30 16:00:51 2010 -0500 Revert accidental commit "dirt" This reverts commit c46bc6ba1fc8c5045c9a93b95e78e81936e2d954. docs/reference/glib/Makefile.am | 1 - docs/reference/glib/glib-sections.txt | 2 + docs/reference/glib/tmpl/glib-unused.sgml | 847 ++--------------------------- docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 --- 5 files changed, 44 insertions(+), 879 deletions(-) commit f411e23043a5f97010ee12895f78a779df43b3dd Author: Ryan Lortie Date: Sat Jan 30 14:06:12 2010 -0500 GIO: Remove trailing "." from Since: tags in docs Typing "Since: 2.22." results in the creation of an api-index-2.22..xml file (ie: the last '.' is taken to be part of the version number). gio/gfileinfo.h | 4 ++-- gio/gsocket.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c46bc6ba1fc8c5045c9a93b95e78e81936e2d954 Author: Ryan Lortie Date: Sat Jan 30 13:00:01 2010 -0500 dirt docs/reference/glib/Makefile.am | 1 + docs/reference/glib/glib-sections.txt | 2 - docs/reference/glib/tmpl/glib-unused.sgml | 847 +++++++++++++++++++++++++++-- docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 +++ 5 files changed, 879 insertions(+), 44 deletions(-) commit 6857767b8600a361188f75e62c086ed7d7c06d7c Author: Ryan Lortie Date: Sat Jan 30 12:32:09 2010 -0500 move threads docs to .c docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/threads.sgml | 1801 --------------------------------- glib/gthread.c | 1492 ++++++++++++++++++++++++++- 3 files changed, 1475 insertions(+), 1819 deletions(-) commit 4234481855b8bef92d594421977a2aa130ac3ad6 Author: Ryan Lortie Date: Sat Jan 30 13:29:23 2010 -0500 GIOChannel: fill in missing docs docs/reference/glib/tmpl/iochannels.sgml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 7b6c8a56059657073f56dbc2a9d04acde2588349 Author: Ryan Lortie Date: Sat Jan 30 12:30:53 2010 -0500 g_strlcpy doc: small fixup prevent the from getting sucked in as part of the Returns: glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 522dafe126ed814a1699238142fbc12b7f55b0b6 Author: Ryan Lortie Date: Sat Jan 30 12:13:50 2010 -0500 gbitlock: fix gtkdoc brokenness glib/gbitlock.c | 1 + glib/gbitlock.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit d51b6c471ab13348077630e8f7a3a480b3d266f0 Author: Ryan Lortie Date: Sat Jan 30 01:00:50 2010 -0500 GRand: move docs from tmpl to inline comments docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/random_numbers.sgml | 206 -------------------------- glib/grand.c | 64 ++++++++ 3 files changed, 65 insertions(+), 206 deletions(-) commit 3de141b8d5d410a87481a2dec1bb3227464d97c8 Author: Jorge González Date: Sat Jan 30 12:37:00 2010 +0100 Updated Spanish translation po/es.po | 984 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 514 insertions(+), 470 deletions(-) commit 2f4bc34b324505cc6b196a9793b71e8455fe8540 Author: Ryan Lortie Date: Sat Jan 30 00:00:48 2010 -0500 gvarianttype: fix a trivial missing const glib/gvarianttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d55cfb51e03f4ba23191df4625ca62d3624652e Author: Ryan Lortie Date: Fri Jan 29 23:56:04 2010 -0500 don't #include from other public headers fix up some problems that were hidden by that glib/glib.symbols | 6 ++++-- glib/gtestutils.c | 1 + glib/gtestutils.h | 6 +++++- glib/gurifuncs.c | 1 + glib/gurifuncs.h | 2 +- glib/gvarianttype.c | 1 + 6 files changed, 13 insertions(+), 4 deletions(-) commit 71b14dedd8fa7b141e1496ba0b727996f6808579 Author: Claude Paroz Date: Fri Jan 29 22:52:58 2010 +0100 Updated French translation po/fr.po | 1008 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 514 insertions(+), 494 deletions(-) commit a4f5a3705b7df850cac0313853f8f95b5cfe24df Author: Andre Klapper Date: Fri Jan 29 22:33:06 2010 +0100 Update POTFILES.in to make l10n.gnome.org happy po/POTFILES.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6aa73f03eb14188b71b91c647442488e776a4952 Author: Ryan Lortie Date: Thu Jan 28 22:43:51 2010 -0500 improve gitignore .gitignore | 3 +++ glib/.gitignore | 4 ++++ gmodule/.gitignore | 1 + gobject/.gitignore | 1 + gthread/.gitignore | 1 + po/.gitignore | 1 + tests/.gitignore | 2 ++ 7 files changed, 13 insertions(+) commit c73d2818432956aaedb12886ea0011847b7d030e Author: Ryan Lortie Date: Thu Jan 28 22:36:48 2010 -0500 GHash: move docs from tmpl to inline comments docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/hash_tables.sgml | 489 ----------------------------- glib/ghash.c | 114 +++++++ glib/ghash.h | 17 +- 4 files changed, 130 insertions(+), 491 deletions(-) commit fe89b2ea293cbcd02de2cba1834e03eee0190cdc Author: Ryan Lortie Date: Thu Jan 28 19:12:55 2010 -0500 Since: markers for g_bit_*lock() glib/gbitlock.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 40eae351b1a95626f49ea042e5f5e9824c171c50 Author: Ryan Lortie Date: Thu Jan 28 18:41:19 2010 -0500 Bug 548967 - 1 bit mutex lock: add tests Add a test case for the new API. Always check the emulated futex(2) implementation, even on systems with futex support. configure.in | 1 + glib/gbitlock.c | 4 ++ gthread/Makefile.am | 3 ++ gthread/tests/.gitignore | 2 + gthread/tests/1bit-mutex.c | 127 ++++++++++++++++++++++++++++++++++++++++++++ gthread/tests/Makefile.am | 15 ++++++ 6 files changed, 152 insertions(+) commit 669b0f2d6b5ef3a4924a1402d569c4e38e4fb41c Author: Ryan Lortie Date: Thu Jan 28 11:32:07 2010 -0500 Bug 548967 - 1 bit mutex lock Add support for a mutex lock that consumes only one bit of storage inside of an integer on systems that support futexes. Futex is emulated (at a higher cost) on systems that don't have it -- but only in the contended case. configure.in | 26 +++ docs/reference/glib/glib-sections.txt | 5 + glib/Makefile.am | 2 + glib/gbitlock.c | 292 +++++++++++++++++++++++++++++++++ glib/gbitlock.h | 43 +++++ glib/glib.h | 1 + glib/glib.symbols | 8 + glib/gthread.c | 1 + glib/gthreadprivate.h | 1 + 9 files changed, 379 insertions(+) commit 595cad2531ac8bb4a4954337931134cb304088df Author: Ryan Lortie Date: Thu Jan 28 12:39:46 2010 -0500 glib docs: Delete and ignore empty .tmpl files docs/reference/glib/tmpl/.gitignore | 4 ++ docs/reference/glib/tmpl/ghostutils.sgml | 64 ------------------ docs/reference/glib/tmpl/gurifuncs.sgml | 104 ------------------------------ 3 files changed, 4 insertions(+), 168 deletions(-) commit b0a0ac51cb7e628f90b8293c098a6a1a26425301 Author: Ryan Lortie Date: Wed Jan 27 21:30:26 2010 -0500 Return NULL from g_mapped_file_get_contents() In the case of an empty file, return NULL instead of "". This means that the return result of g_mapped_file_get_contents() will always be page-aligned. README.in | 5 +++++ glib/gmappedfile.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 2a19bb7699c13e6d7cc5761d9285617e6b2b51f7 Author: Matej Urbančič Date: Wed Jan 27 13:16:13 2010 +0100 Updated Slovenian translation po/sl.po | 1315 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 682 insertions(+), 633 deletions(-) commit 082ff883b64ca39a197b7fccb520f0b5fa707e8a Author: Behdad Esfahbod Date: Tue Jan 26 16:12:20 2010 -0500 Improve type documentation docs/reference/glib/tmpl/types.sgml | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit 7d6af08777d4762ec17bfe8a4fa6eb83ba8d6f36 Author: Christian Dywan Date: Tue Jan 26 20:45:40 2010 +0100 Add gtk-doc comments with Since tags to GMemoryOutputStream properties gio/gmemoryoutputstream.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit b0d2f344a68abcc14558c0363ffbe5bfdcba2a66 Author: Javier Jardón Date: Tue Jan 26 19:15:48 2010 +0100 [glib/gvarianttype] Move some documentation to header file Also, change G_VARIANT_TYPE(str) for G_VARIANT_TYPE(type_string) so It's correctly documented now. glib/gvarianttype.c | 23 ----------------------- glib/gvarianttype.h | 30 ++++++++++++++++++++++++++---- 2 files changed, 26 insertions(+), 27 deletions(-) commit 3c66490503534eccdd9d3082684ca5c9abf89c0c Author: Javier Jardón Date: Tue Jan 26 19:00:41 2010 +0100 [glib/gvariantype] Added missing "Since: 2.24" tag glib/gvarianttype.c | 2 ++ 1 file changed, 2 insertions(+) commit 3658727cfa0eca8c66bc2cdff46992099caf0acd Author: Martin Pitt Date: Tue Jan 26 11:22:31 2010 +0100 always use our own internal assertion message symbol Re-using glibc's __abort_msg symbol causes linking problems, since the symbol is declared private. Always use our own__glib_abort_msg symbol to store assertion messages, to avoid compatibility and linking problems. Also fix the test case to work with out of tree builds (such as "make distcheck"), and re-enable it. https://bugzilla.gnome.org/show_bug.cgi?id=594872 configure.in | 14 -------------- glib/gtestutils.c | 26 +++++++++----------------- tests/Makefile.am | 2 +- tests/run-assert-msg-test.sh | 17 +++++------------ 4 files changed, 15 insertions(+), 44 deletions(-) commit e84a3f824855419c361ebc9f2e04768f96c6f3b9 Author: Matthias Clasen Date: Mon Jan 25 14:16:09 2010 -0500 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 079c980ecabf42ee9d0a061f9a11b078c6394225 Author: Matthias Clasen Date: Mon Jan 25 14:14:14 2010 -0500 2.23.2 po/am.po | 42 +- po/ar.po | 45 +- po/as.po | 45 +- po/ast.po | 1355 ++++++++++++++++++++++++++--------------------------- po/az.po | 42 +- po/be.po | 42 +- po/be@latin.po | 45 +- po/bg.po | 921 ++++++++++++++++++------------------ po/bn.po | 1256 +++++++++++++++++++++++-------------------------- po/bn_IN.po | 45 +- po/bs.po | 42 +- po/ca.po | 45 +- po/ca@valencia.po | 45 +- po/cs.po | 45 +- po/cy.po | 42 +- po/da.po | 45 +- po/de.po | 45 +- po/dz.po | 42 +- po/el.po | 45 +- po/en@shaw.po | 45 +- po/en_CA.po | 45 +- po/en_GB.po | 45 +- po/eo.po | 42 +- po/es.po | 929 ++++++++++++++++++------------------ po/et.po | 484 ++++++++++++++++++- po/eu.po | 996 ++++++++++++++++++++------------------- po/fa.po | 42 +- po/fi.po | 45 +- po/fr.po | 45 +- po/ga.po | 42 +- po/gl.po | 45 +- po/gu.po | 45 +- po/he.po | 45 +- po/hi.po | 45 +- po/hr.po | 42 +- po/hu.po | 45 +- po/hy.po | 42 +- po/id.po | 42 +- po/is.po | 42 +- po/it.po | 45 +- po/ja.po | 45 +- po/ka.po | 42 +- po/kn.po | 45 +- po/ko.po | 45 +- po/ku.po | 42 +- po/lt.po | 45 +- po/lv.po | 42 +- po/mai.po | 45 +- po/mg.po | 42 +- po/mk.po | 45 +- po/ml.po | 45 +- po/mn.po | 42 +- po/mr.po | 45 +- po/ms.po | 42 +- po/nb.po | 925 ++++++++++++++++++------------------ po/ne.po | 42 +- po/nl.po | 45 +- po/nn.po | 45 +- po/oc.po | 42 +- po/or.po | 45 +- po/pa.po | 45 +- po/pl.po | 45 +- po/ps.po | 42 +- po/pt.po | 45 +- po/pt_BR.po | 45 +- po/ro.po | 45 +- po/ru.po | 45 +- po/rw.po | 42 +- po/si.po | 42 +- po/sk.po | 42 +- po/sl.po | 45 +- po/sq.po | 47 +- po/sr.po | 45 +- po/sr@ije.po | 42 +- po/sr@latin.po | 45 +- po/sv.po | 1323 ++++++++++++++++++++++++++------------------------- po/ta.po | 45 +- po/te.po | 45 +- po/th.po | 45 +- po/tl.po | 42 +- po/tr.po | 45 +- po/tt.po | 42 +- po/uk.po | 939 +++++++++++++++++++------------------ po/vi.po | 45 +- po/wa.po | 42 +- po/xh.po | 42 +- po/yi.po | 42 +- po/zh_CN.po | 45 +- po/zh_HK.po | 45 +- po/zh_TW.po | 45 +- 90 files changed, 7008 insertions(+), 5674 deletions(-) commit 975aea7bce39a2909607c6c40c2c0c945169b0c6 Author: Matthias Clasen Date: Mon Jan 25 14:13:48 2010 -0500 Disable yet another failing test that was recently added... tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f13804f68e37c597533644e671d38229e80b917a Author: Matthias Clasen Date: Mon Jan 25 12:46:35 2010 -0500 Minor docs update docs/reference/gio/gio-sections.txt | 1 + 1 file changed, 1 insertion(+) commit bc4f3904f27652b844f9786ba2b243a5ea3368b5 Author: Matthias Clasen Date: Mon Jan 25 12:43:10 2010 -0500 Another few failing tests disabled gio/tests/filter-streams.c | 2 ++ 1 file changed, 2 insertions(+) commit 305c9c6de5436b35fc3929d4c4ff3f29c00d8678 Author: Matthias Clasen Date: Mon Jan 25 12:29:09 2010 -0500 Disable a failing test, tsk, tsk. glib/tests/array-test.c | 2 ++ 1 file changed, 2 insertions(+) commit 81f186d1e55621622fc3a29f43522a8d5494edde Author: Matthias Clasen Date: Mon Jan 25 12:00:06 2010 -0500 Mention GVariant NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit e0d1124bd9bc516daaa84c94fee39decf9acc1d8 Author: Matthias Clasen Date: Mon Jan 25 11:57:47 2010 -0500 Updates NEWS | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit b4c0b10658bb77f14005a117d5abdb620fec4068 Author: Ryan Lortie Date: Mon Jan 25 11:31:56 2010 -0500 add testcase for GVariantType glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 + glib/tests/gvarianttype.c | 650 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 654 insertions(+) commit 0ccb288da103890dcf89ceda75fb8b488077a1de Author: Ryan Lortie Date: Mon Jan 25 11:26:27 2010 -0500 merge GVariantType GVariantType is the type system for GVariant docs/reference/glib/glib-docs.sgml | 1 + docs/reference/glib/glib-sections.txt | 68 ++ glib/Makefile.am | 2 + glib/glib.h | 1 + glib/glib.symbols | 34 + glib/gvarianttype.c | 1495 +++++++++++++++++++++++++++++++++ glib/gvarianttype.h | 282 +++++++ 7 files changed, 1883 insertions(+) commit 11d4e59712b5a19c9847facf6da79946c9bd24aa Author: Benjamin Otte Date: Wed Jan 20 21:06:30 2010 +0100 Move the boxed private type data to TypeNode This way we don't need to keep a custom array that we bsearch on (and that isn't threadsafe) but can use the gtype.c machinery that is threadsafe. And fast, too! https://bugzilla.gnome.org/show_bug.cgi?id=554887 gobject/Makefile.am | 5 +++- gobject/gboxed.c | 72 ++++------------------------------------------- gobject/gtype-private.h | 41 +++++++++++++++++++++++++++ gobject/gtype.c | 45 +++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 68 deletions(-) commit ac666d2ae35b86c0d92ae70a0fb77b9df91035d1 Author: Benjamin Otte Date: Wed Jan 20 20:02:24 2010 +0100 Put calls to registered copy/free functions into separate functions This eases cleaning up these functions. One optimization in value_set_internal() was lost in the process. It shouldn't cause too many issues when all is said and done. https://bugzilla.gnome.org/show_bug.cgi?id=554887 gobject/gboxed.c | 97 +++++++++++++++++------------------------------------- 1 file changed, 31 insertions(+), 66 deletions(-) commit 4ecf8655b315f9da3d108356c8f39394300deae3 Author: Alexander Shopov Date: Mon Jan 25 11:58:18 2010 +0200 Updated Bulgarian translation po/bg.po | 974 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 490 insertions(+), 484 deletions(-) commit d819c8e486c9aaa2602d93fdd5cd1743d5a46624 Author: Matthias Clasen Date: Sun Jan 24 20:50:51 2010 -0500 Typo fixes gio/gsimpleasyncresult.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cd59feff775e3cf9b15190dd6d75c4e6b98336e8 Author: Jamil Ahmed Date: Sun Jan 24 22:54:12 2010 +0600 Updated Bengali translation po/bn.po | 1295 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 691 insertions(+), 604 deletions(-) commit e71dcb204e3be3c0129c0782f3b5420be47fb2ef Author: Ryan Lortie Date: Sat Jan 23 01:07:46 2010 -0500 gio: .gitignore gio-querymodules gio/.gitignore | 1 + 1 file changed, 1 insertion(+) commit c8fc3112f910b544ace0e1cb14d47555b38be6d8 Author: Ryan Lortie Date: Fri Jan 22 20:18:58 2010 -0500 Bug 448888 - don't init g_slice for always-malloc glib/gslice.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 7693b0af445645f09e55ed7cebe0051c3d1fdd8d Author: Alberto Garcia Date: Wed Jan 20 18:53:08 2010 +0100 [tests] Remove C++ style comments It makes the IBM XL C Compiler (the 'native' non-free compiler on the AIX 5.3 and 6.1 platform) stop compiling with syntax error. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=581300 Signed-off-by: Javier Jardón gobject/tests/threadtests.c | 8 ++++---- tests/slice-concurrent.c | 2 +- tests/slice-test.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) commit 6c3551fedb7bfde716fa00cfcbba00ca987c2a79 Author: Dan Winship Date: Mon Jan 18 09:46:19 2010 -0500 [configure] More -lresolv-checking-fixing https://bugzilla.gnome.org/show_bug.cgi?id=586150 configure.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 914120b9701650ccf7bede1907b69b521ca43236 Author: Benjamin Otte Date: Mon Jan 18 14:03:16 2010 +0100 Ensure values are memset to 0 when calling G_VALUE_COLLECT_INIT() The reason we need to enforce this is that the GTypeValueTable documentation explicitly states that memory is memset to 0 when the value_init function is called. https://bugzilla.gnome.org/show_bug.cgi?id=603590 gobject/gobject.c | 2 +- gobject/gsignal.c | 4 ++-- gobject/gvaluecollector.h | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) commit 956b3b507d03b6d10f8bef34b3775a409c5ba9ee Author: Dan Winship Date: Wed Jan 13 11:24:28 2010 -0500 [configure] Fix res_query check for OS X https://bugzilla.gnome.org/show_bug.cgi?id=586150 configure.in | 36 +++++++++++++++++++----------------- gio-2.0.pc.in | 2 +- 2 files changed, 20 insertions(+), 18 deletions(-) commit a6ab4b78725f6376c04f7fb2eb6cbf9a56387253 Author: Javier Jardón Date: Tue Nov 17 21:15:15 2009 +0100 Upgrade to version 0.8 of libasyncns Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602240 gio/libasyncns/asyncns.c | 94 +++++++++++++++++++++++++++----------------- gio/libasyncns/g-asyncns.h | 16 ++------ 2 files changed, 61 insertions(+), 49 deletions(-) commit fe23567c436612e7a167c1681d6cb69392769fb7 Author: Inaki Larranaga Murgoitio Date: Wed Jan 13 17:29:39 2010 +0100 Updated Basque language po/eu.po | 1044 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 512 insertions(+), 532 deletions(-) commit b577c207a5279667801c44d8f1d9469ca431478b Author: Kjartan Maraas Date: Wed Jan 13 16:20:56 2010 +0100 Updated Norwegian bokmål translation po/nb.po | 937 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 477 insertions(+), 460 deletions(-) commit 7448eb71c3ac85a08c8f0fceaf9747e6298ae5c9 Author: Sven Herzberg Date: Wed Jan 13 14:47:58 2010 +0100 properly abort instead of looping infinitely Fixes: Bug 568760 - nautilus freezes due to a bug in garray.c:322 * glib/garray.c: increase the size of potential return values by using an unsigned result; properly check if we still handle valid size proposals, return the original request if there's no usable size left * tests/array-test.c: reproduce the error condition of the bug report glib/garray.c | 18 ++++++++++-------- glib/tests/array-test.c | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 8 deletions(-) commit 820181a5de46da070d7792128fe148b51fc79a20 Author: Alexander Larsson Date: Wed Jan 13 10:25:52 2010 +0100 Fix docs in previous commit gobject/gvaluecollector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3c5e1fd903ce18efe51672074e01d1637c4bc0b2 Author: Alexander Larsson Date: Wed Jan 13 10:24:09 2010 +0100 Remove additional thread support in performance test We're always enabling threads now so this is not needed. tests/gobject/performance.c | 6 ------ tests/gobject/run-performance.sh | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) commit 40bf3aa5d2fd9d2aa6244ce8023ad1eed3bf0383 Author: Edward Hervey Date: Wed Dec 2 11:50:02 2009 +0100 gobject: Use new G_VALUE_COLLECT_INIT variant Makes g_object_new_valist 20% to 30% faster (against 2321e5a). Profiled against the pan newsreader which uses a variant of simple and complex object creation. https://bugzilla.gnome.org/show_bug.cgi?id=603590 gobject/gobject.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 0f25115ffc887110993f6947f9907a85374933d3 Author: Edward Hervey Date: Wed Dec 2 11:49:49 2009 +0100 gsignal: Use new G_VALUE_COLLECT_INIT variant Makes g_signal_emit_valist from 15% to 20% faster. Results reported from profiling the pan newsreader which uses a variant of simple and complex signal emissions (i.e no args or various args) https://bugzilla.gnome.org/show_bug.cgi?id=603590 gobject/gsignal.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 546fc0ca331c8d1b3393fe218a697b6a1a1c1072 Author: Edward Hervey Date: Wed Dec 2 11:48:18 2009 +0100 gvaluecollector: Add variant of G_VALUE_COLLECT for most used cases. Most callers of G_VALUE_COLLECT previously had to initialize the GValue and then G_VALUE_COLLECT would still go through a cleanup phase. The new variant allows passing a unitialized GValue along with a GType and speedup the initialization/collection process. https://bugzilla.gnome.org/show_bug.cgi?id=603590 gobject/gvaluecollector.h | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) commit 3bb404f13329dbd6c67f777e5a6d9228716ab440 Author: Alexander Larsson Date: Tue Jan 12 21:55:15 2010 +0100 Mention thread changes in NEWS README.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 94b8613b5ffefadb5c82424bd1f3083ff11fa811 Author: Alexander Larsson Date: Tue Jan 12 21:28:23 2010 +0100 Use unconditional thread calls in gio and gobject If threads are available we always enable threads in gobject, which means all gio/gobject code can enable the unconditional thread calls. This is a minor optimization since we avoid a bunch of unnecessary is-threads-enabled checks. https://bugzilla.gnome.org/show_bug.cgi?id=606775 configure.in | 1 + gio/Makefile.am | 5 +++++ gobject/Makefile.am | 5 +++++ 3 files changed, 11 insertions(+) commit de5c708e0b3d257388d3a5d09c80806d27069c88 Author: Alexander Larsson Date: Tue Jan 12 21:26:52 2010 +0100 Make thread calls unconditional if G_THREADS_MANDATORY is set Since gobject now initialized threads unconditionally if threads are available it makes no sense to have each thread operation conditionally check if threads are enables, so allow this to be avoided. https://bugzilla.gnome.org/show_bug.cgi?id=606775 glib/gthread.h | 4 ++++ 1 file changed, 4 insertions(+) commit fa2bced1f30f93443ef43ce8b5b1e437cd07168c Author: Alexander Larsson Date: Tue Jan 12 21:22:45 2010 +0100 Enable threads in g_type_init() This means threads will be supported for all gobject libraries/applications and initialized early enough to not cause any problems. This solves the problem of libraries needing threadsafety. Previosly they just called g_threads_init() anyway, which often works but sometimes breaks in unexpected ways. See this thread for more details: http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00208.html https://bugzilla.gnome.org/show_bug.cgi?id=606775 docs/reference/glib/tmpl/threads.sgml | 8 ++++++++ gobject-2.0-uninstalled.pc.in | 2 +- gobject-2.0.pc.in | 2 +- gobject/Makefile.am | 2 +- gobject/gtype.c | 9 ++++++++- 5 files changed, 19 insertions(+), 4 deletions(-) commit 0df3ca8f9bbb624b219ecdb25d3fe8aa4a51d953 Author: Alexander Larsson Date: Tue Jan 12 21:16:59 2010 +0100 Relax g_thread_init() requirements We now allow g_thread_init(NULL) to be called after other glib calls (with some minor limitations). This is mainly a documentation change as this really was already possible. We also allow g_thread_init() to be called multiple times. Only the first call actually initializes the threading system, further calls are ignored (but print a warning if the argument is not NULL). https://bugzilla.gnome.org/show_bug.cgi?id=606775 docs/reference/glib/tmpl/threads.sgml | 55 ++++++++++++--------------------- gthread/gthread-impl.c | 7 ++++- 2 files changed, 25 insertions(+), 37 deletions(-) commit 74ad124cfba3278c385d177a527f19574fda9670 Author: Alexander Larsson Date: Tue Jan 12 13:09:10 2010 +0100 Implement lazy loading of fam plugin gio/fam/Makefile.am | 15 ++++++++++++++- gio/fam/fam-module.c | 11 +++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) commit 57b771235e8e548ba3bb68a49ae4f016072ee89f Author: Alexander Larsson Date: Tue Jan 12 13:11:22 2010 +0100 Add gio-querymodule program This can be used to update the giomodule.cache file in directories with giomodules in order to support lazy module loading. gio/Makefile.am | 10 ++++ gio/gio-querymodules.c | 133 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) commit 682b3da99b1766b3dda0ee5978040e11108e063c Author: Alexander Larsson Date: Tue Jan 12 11:57:17 2010 +0100 Use the new lazy loading of modules for gio modules gio/giomodule.c | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) commit 488bede191081f035f24f7c3e55a86bc8ee2d7ae Author: Alexander Larsson Date: Tue Jan 12 11:36:12 2010 +0100 Add support for lazy loading of giomodules Adds an optional query method to giomodules which should return all possible extension points the module may implement. Then we add a new call g_io_modules_scan_all_in_directory() similar to g_io_modules_load_all_in_directory() that doesn't return all loaded modules, thus allowing lazy loading. In g_io_modules_scan_all_in_directory we look for an optional giomodule.cache file and use the information in that to avoid loading modules until they are needed for an extension point. gio/gio.symbols | 1 + gio/giomodule.c | 211 +++++++++++++++++++++++++++++++++++++++++++++++++------ gio/giomodule.h | 31 ++++++++ 3 files changed, 222 insertions(+), 21 deletions(-) commit 6aa1aef5562b2db9777ad17183427dbbb88599b2 Author: Ignacio Casal Quinteiro Date: Tue Jan 12 12:54:49 2010 +0100 Flush gcharsetconverter when needed. This patch fixes bug #605686. gio/gcharsetconverter.c | 53 +++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 22 deletions(-) commit f4ccd96ea1a137eb0c533f177ff87290a84ee0d5 Author: Kamal Mostafa Date: Fri Jan 1 20:36:28 2010 -0800 g_object_new(): skip varargs for simple calls g_object_new() avoids useless varargs processing for simple calls with no properties. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=605883 gobject/gobject.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8c293b0ae0f3d7a404b3249872a1591313467b4f Author: Daniel Nylander Date: Sat Jan 9 16:43:35 2010 +0100 Updated Swedish translation po/sv.po | 1354 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 691 insertions(+), 663 deletions(-) commit e61fed47b39265056dc2f9f5c3c5a6fc14bc0bf2 Author: Jorge González Date: Thu Jan 7 20:26:48 2010 +0100 Updated Spanish translation po/es.po | 950 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 483 insertions(+), 467 deletions(-) commit 37716bd00a7911de545ebca3dc7a248503eaf46e Author: Hiroyuki Ikezoe Date: Thu Jan 7 19:33:39 2010 +0900 Use GCC atomic builtin operations. Fix for bug #531902. configure.in | 211 ++++++++++++++++++++++++++++------------------------ glib/Makefile.am | 8 +- glib/gatomic-gcc.c | 92 +++++++++++++++++++++++ 3 files changed, 214 insertions(+), 97 deletions(-) commit 7211f7f8eb6845b010f45dd9084f67f80af40412 Author: Stefan Kost Date: Thu Jan 7 10:47:20 2010 +0200 docs: switch to xi:inbclude for the content to save some more seconds docs/reference/gobject/gobject-docs.sgml | 77 ++++------- docs/reference/gobject/tut_gobject.xml | 3 + docs/reference/gobject/tut_gsignal.xml | 3 + docs/reference/gobject/tut_gtype.xml | 5 +- docs/reference/gobject/tut_howto.xml | 21 +-- docs/reference/gobject/tut_intro.xml | 3 + docs/reference/gobject/tut_tools.xml | 221 +++++++++++++++--------------- 7 files changed, 163 insertions(+), 170 deletions(-) commit 00db5238d9cdd1034f39749cac2d7b18df4b231c Author: Stefan Kost Date: Thu Jan 7 11:31:24 2010 +0200 docs: switch to xi:inbclude for the content to save some more seconds docs/reference/glib/building.sgml | 4 + docs/reference/glib/changes.sgml | 4 + docs/reference/glib/compiling.sgml | 4 + docs/reference/glib/cross.sgml | 4 + docs/reference/glib/glib-docs.sgml | 231 +++++++++++---------------------- docs/reference/glib/regex-syntax.sgml | 4 + docs/reference/glib/resources.sgml | 4 + docs/reference/glib/running.sgml | 4 + 8 files changed, 103 insertions(+), 156 deletions(-) commit d01e2527ce59b5daac2b63a6ac0074cbec8bebe5 Author: Stefan Kost Date: Thu Jan 7 10:22:14 2010 +0200 docs: use xi:include to use the generated indexes if available. This works transparantly for people with new enough gtk-doc (>=1.11) and significantly improves the build time. docs/reference/gio/gio-docs.xml | 19 ++++++--- docs/reference/glib/glib-docs.sgml | 62 ++++++++++++++++++------------ docs/reference/gobject/gobject-docs.sgml | 54 ++++++++++++++++---------- 3 files changed, 84 insertions(+), 51 deletions(-) commit 4c55b45162a3a76ca6c1d1c450ea667eeb7bae44 Author: Haakon Sporsheim Date: Thu Jan 7 10:12:13 2010 +0200 Don't do pointer arithmetics on void* For instance MSVC doesn't like that. Signed-off-by: Tor Lillqvist gobject/gatomicarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 759fbac7b765e3ef3df4e64e534c99d45526bdd3 Author: Matthias Clasen Date: Wed Jan 6 17:37:11 2010 -0500 Add properties to GMemoryOutputStream This helps bindings. Patch by Krzysztof Kosiński. See bug 605733. gio/gmemoryoutputstream.c | 308 +++++++++++++++++++++++++++----------- gio/gmemoryoutputstream.h | 6 +- gio/tests/memory-output-stream.c | 37 +++++ 3 files changed, 260 insertions(+), 91 deletions(-) commit f2d8f6287d6e3fcb9e58402c2051d557f7e41632 Author: Matthias Clasen Date: Wed Jan 6 13:23:48 2010 -0500 Fix the filename roundtrip check The check was always failing because the code was comparing the wrong strings. Reported in bug 605977. gio/glocalfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit baf20e09842a97c2d7925dff5ff9c6d35e36b27d Author: Ryan Lortie Date: Tue Jan 5 18:49:23 2010 -0500 GUnixFDMessage: fix a small typo in an extra check In the deserialise function, GUnixFDMessage was comparing 'level' to both SOL_SOCKET and SCM_RIGHTS. It is correct to compare 'type' to SCM_RIGHTS. The code passed tests only because: 1) it's a "should always be OK" double-check 2) SOL_SOCKET and SCM_RIGHTS, by chance, both have the value '1' on Linux systems. gio/gunixfdmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b00c6d7fb5798b4e528554e1221a553ab95506ed Author: Matthias Clasen Date: Tue Jan 5 18:18:55 2010 -0500 Fix a memleak An early exit in expand_application_parameters forgot to free a GString. Reported by Steve Grubb. gio/gdesktopappinfo.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 6cee86a3efc98333282218f8eb1e0149a7cd703d Author: Matthias Clasen Date: Tue Jan 5 18:16:37 2010 -0500 Fix an off-by-one error Reported by Steve Grubb. gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95889d19275fd0f8f47f6c7f0e5b37861aa28497 Author: Maxim V. Dziumanenko Date: Tue Jan 5 16:53:01 2010 +0200 Update Ukrainian translation po/uk.po | 948 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 474 insertions(+), 474 deletions(-) commit e8ccfd1bb2e17037d54440290b718bd19567a2e4 Author: Haakon Sporsheim Date: Tue Jan 5 11:28:43 2010 +0200 Avoid compilation warning from MSVC Signed-off-by: Tor Lillqvist glib/gutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d13c552dafe93e819e9c17bb68f46c33c9e97b10 Author: Piotr Eljasiak Date: Tue Jan 5 00:48:02 2010 +0100 Fix a typo in the docs glib/gmarkup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c4600066a60e4ade006eeba196e560232f26116a Author: Xandru Armesto Fernandez Date: Mon Jan 4 22:10:47 2010 +0100 Added asturian language po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 4655e85081f1fe62a0dd01342dab2109d2979b16 Author: Xandru Armesto Fernandez Date: Mon Jan 4 22:10:29 2010 +0100 Updated asturian translations po/ast.po | 2084 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 2084 insertions(+) commit 3f5fb1ee9c2e3c09bc21913f02c1797550acdcea Author: Javier Jardón Date: Sun Jan 3 23:34:26 2010 +0100 [docs] Fix @title usage in "Enumeration and flags types" section gobject/genums.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a91514ba1946ee048d9b2ddb049bc7dff5998940 Author: Matthias Clasen Date: Sat Jan 2 19:50:55 2010 -0500 Document that various functions ref GSimpleAsyncResult Patch by Will Thompson, see bug 602417. gio/gsimpleasyncresult.c | 220 ++++++++++++++++++++++++---------------------- 1 file changed, 113 insertions(+), 107 deletions(-) commit f58fa6934315bc83d57a6d63ae1f9ca08dd9731b Author: Matthias Clasen Date: Sat Jan 2 19:44:26 2010 -0500 Document that _finish() must be called at most once. The patch was provided by Will Thompson in bug 602417. gio/gasyncresult.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 74af99b860db66d6e32ed12c54016246e60be99a Author: Matthias Clasen Date: Sat Jan 2 19:35:08 2010 -0500 Fix a typo ...and some whitespace fixes. Pointed out by Will Thompson in bug 602417. gio/gasyncresult.c | 69 ++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 34 deletions(-) commit 0542e6dbf9b817a3ad4f0dbf4b85177536e11277 Author: Pablo Castellano Date: Sun Jan 3 01:23:53 2010 +0100 Updated .gitignore files glib/.gitignore | 1 + gobject/.gitignore | 1 + 2 files changed, 2 insertions(+) commit ab799115defeab7771f3cb5cd0c88eba0d73558a Author: Matthias Clasen Date: Sat Jan 2 19:17:37 2010 -0500 Don't return anything from a void function Sun C doesn't like it. Reported in bug 604824. gio/gconverter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05af612943b4f34b63e4bfcb7dc7bbab6725417b Author: Ivar Smolin Date: Sat Jan 2 22:42:01 2010 +0200 Updating Estonian translation po/et.po | 490 ++------------------------------------------------------------ 1 file changed, 15 insertions(+), 475 deletions(-) commit 32f79f55ef287bf505ff434f13d79d89f3630bb2 Author: Paolo Borelli Date: Thu Dec 31 12:42:41 2009 +0100 Bug 604457 - gutf8inputstream.c: increasing unknown size pointer gio/gutf8inputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 73ca6f70199353c22bf2d6aa99d5cd1eaea76702 Author: Javier Jardón Date: Mon Dec 28 02:04:01 2009 +0100 [docs] Fix 'Deprecated' tag on some win32 functions Fix g_win32_get_package_installation_directory() and g_win32_get_package_installation_subdirectory_utf8() glib/gwin32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 85e00d3a9433a5f83f9897c832fa00e4e0540e2c Author: Javier Jardón Date: Thu Dec 24 05:05:21 2009 +0100 [docs] Fix 'Deprecated' tag in g_date_set_time() glib/gdate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da66897950431870390f8dc3f798e24f23ffb8c8 Author: Martin Pitt Date: Tue Dec 22 11:09:20 2009 +0100 Support storing assertion messages into core dump Crash interception/debugging systems like Apport or ABRT capture core dumps for later crash analysis. However, if a program exits with an assertion failure, the core dump is not useful since the assertion message is only printed to stderr. glibc recently got a patch which stores the message of assert() into the __abort_msg global variable. (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba) That works fine for programs which actually use the standard C assert() macro. This patch adds the same functionality for glib's assertion tests. If we are building against a glibc which already has __abort_msg (2.11 and later, or backported above git commit), use that, otherwise put it into our own field __glib_assert_msg. Usage: $ cat test.c #include int main() { g_assert(1 < 0); return 0; } $ ./test **ERROR:test.c:5:main: assertion failed: (1 < 0) Aborted (Core dumped) $ gdb --batch --ex 'print (char*) __abort_msg' ./test core [...] $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)" https://bugzilla.gnome.org/show_bug.cgi?id=594872 configure.in | 14 ++++++++++++ glib/gtestutils.c | 23 ++++++++++++++++++++ tests/.gitignore | 1 + tests/Makefile.am | 6 ++++-- tests/assert-msg-test.c | 8 +++++++ tests/run-assert-msg-test.sh | 48 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 98 insertions(+), 2 deletions(-) commit e9ab9eaff66b62c9653b90cca2eaf1d142f716a1 Author: Theppitak Karoonboonyanan Date: Tue Dec 22 23:39:21 2009 +0700 Updated Thai translation. po/th.po | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) commit 8202728f067c5d418f4fcc5172a990aa1c68312b Author: Tor Lillqvist Date: Tue Dec 22 00:46:12 2009 +0200 Install gio-unix-2.0.pc only on Unix The gio-unix-2.0 headers are installed only on Unix anyway. Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit dba6cef3c9c29314c20a122647c23b12329025dc Author: Javier Jardón Date: Mon Dec 21 23:04:43 2009 +0100 [docs] Fix G_DEFINE_INTERFACE "Since" tag This symbol is available since Glib 2.24, not 2.20. gobject/gtype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e7488ca85721b05181f699f4e8b12098077ce210 Author: Behdad Esfahbod Date: Fri Jun 5 23:28:17 2009 -0400 [gobject] Grow gvalue transform array exponentially Bug 589176 - Grow gvalue transform array exponentially Reduces about 180 realloc calls during g_type_init(). gobject/gvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88261680f518c3c701154504011f778866d6dc2a Author: Matthias Clasen Date: Mon Dec 21 10:56:03 2009 -0500 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7bdc48c2618cbc6b99c161592fd59c92d28d1c8 Author: Matthias Clasen Date: Mon Dec 21 10:54:11 2009 -0500 2.23.1 po/am.po | 80 ++--- po/ar.po | 80 ++--- po/as.po | 80 ++--- po/az.po | 80 ++--- po/be.po | 80 ++--- po/be@latin.po | 80 ++--- po/bg.po | 80 ++--- po/bn.po | 80 ++--- po/bn_IN.po | 80 ++--- po/bs.po | 80 ++--- po/ca.po | 80 ++--- po/ca@valencia.po | 80 ++--- po/cs.po | 80 ++--- po/cy.po | 917 ++++++++++++++++++++++++++-------------------------- po/da.po | 80 ++--- po/de.po | 80 ++--- po/dz.po | 80 ++--- po/el.po | 80 ++--- po/en@shaw.po | 80 ++--- po/en_CA.po | 80 ++--- po/en_GB.po | 80 ++--- po/eo.po | 80 ++--- po/es.po | 80 ++--- po/et.po | 465 ++++++++++++++++++++++++++- po/eu.po | 80 ++--- po/fa.po | 80 ++--- po/fi.po | 80 ++--- po/fr.po | 80 ++--- po/ga.po | 80 ++--- po/gl.po | 80 ++--- po/gu.po | 80 ++--- po/he.po | 930 ++++++++++++++++++++++++++--------------------------- po/hi.po | 80 ++--- po/hr.po | 80 ++--- po/hu.po | 80 ++--- po/hy.po | 80 ++--- po/id.po | 80 ++--- po/is.po | 80 ++--- po/it.po | 80 ++--- po/ja.po | 80 ++--- po/ka.po | 80 ++--- po/kn.po | 80 ++--- po/ko.po | 80 ++--- po/ku.po | 80 ++--- po/lt.po | 80 ++--- po/lv.po | 80 ++--- po/mai.po | 80 ++--- po/mg.po | 80 ++--- po/mk.po | 80 ++--- po/ml.po | 80 ++--- po/mn.po | 80 ++--- po/mr.po | 80 ++--- po/ms.po | 80 ++--- po/nb.po | 917 ++++++++++++++++++++++++++-------------------------- po/ne.po | 80 ++--- po/nl.po | 80 ++--- po/nn.po | 80 ++--- po/oc.po | 80 ++--- po/or.po | 80 ++--- po/pa.po | 80 ++--- po/pl.po | 80 ++--- po/ps.po | 80 ++--- po/pt.po | 80 ++--- po/pt_BR.po | 80 ++--- po/ro.po | 80 ++--- po/ru.po | 80 ++--- po/rw.po | 80 ++--- po/si.po | 80 ++--- po/sk.po | 80 ++--- po/sl.po | 80 ++--- po/sq.po | 80 ++--- po/sr.po | 80 ++--- po/sr@ije.po | 80 ++--- po/sr@latin.po | 80 ++--- po/sv.po | 80 ++--- po/ta.po | 80 ++--- po/te.po | 80 ++--- po/th.po | 80 ++--- po/tl.po | 80 ++--- po/tr.po | 80 ++--- po/tt.po | 80 ++--- po/uk.po | 80 ++--- po/vi.po | 127 ++++---- po/wa.po | 80 ++--- po/xh.po | 80 ++--- po/yi.po | 80 ++--- po/zh_CN.po | 80 ++--- po/zh_HK.po | 80 ++--- po/zh_TW.po | 80 ++--- 89 files changed, 5260 insertions(+), 4816 deletions(-) commit ad1580e516fd481eaa1c6bb9134c1c11a517e824 Author: Matthias Clasen Date: Mon Dec 21 10:02:07 2009 -0500 Update release notes README.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 7af2609a44f26b8a6e65601fc2fa6f7453ff73c5 Author: Matthias Clasen Date: Mon Dec 21 09:59:24 2009 -0500 Updates NEWS | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 52405a6b5dcaa1e8e6268192760ee6e11939a3b5 Author: Iestyn Pryce Date: Mon Dec 21 14:57:15 2009 +0000 Updated Welsh translation po/cy.po | 99 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 47 insertions(+), 52 deletions(-) commit 71d508776efc69e2ee97b424bbeb25d3ced38ac8 Author: Matthias Clasen Date: Mon Dec 21 09:21:54 2009 -0500 Remove comment as well glib/tests/option-context.c | 4 ---- 1 file changed, 4 deletions(-) commit 7db8b92b979b2f95268d42eecf9dc7a361e6f5d1 Author: Matthias Clasen Date: Mon Dec 21 09:11:23 2009 -0500 Revert the g_set_prgname change This change breaks our API and causes warnings from essentially all applications. See bug 563627. glib/gutils.c | 11 ++--------- glib/tests/option-context.c | 2 -- 2 files changed, 2 insertions(+), 11 deletions(-) commit 473fd041324931cc1267e354408475058611d740 Author: Iestyn Pryce Date: Sun Dec 20 12:03:19 2009 +0000 Updated Welsh translation po/cy.po | 1114 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 561 insertions(+), 553 deletions(-) commit ccd33a4043008f2927df6988bfe623341afb91f9 Author: Behdad Esfahbod Date: Sat Dec 19 11:46:19 2009 +0100 Bug 501166 - Warning message says IA__g_type_init instead of g_type_init gobject/gtype.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 991702494946bdfcea958c6bd421b51867ea7545 Author: Javier Jardón Date: Tue Dec 15 21:15:41 2009 +0100 G_DEFINE_INTERFACE_* documentation is not generated Fix the documentation: Replace "@Since:" with "Since:" https://bugzilla.gnome.org/show_bug.cgi?id=604645 gobject/gtype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 046e521b4f08a88c889620225faea7284356eb23 Author: Kamal Mostafa Date: Fri Dec 18 10:34:05 2009 -0800 Fix typo "Performace" in gtester-report Details pop-up window glib/gtester-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f74c0e257fef1b6304294d34130e74b591b14acf Author: Dan Winship Date: Fri Dec 18 12:27:36 2009 +0100 update .gitignores gio/tests/.gitignore | 26 +++++++++++++++----------- gobject/tests/.gitignore | 1 + 2 files changed, 16 insertions(+), 11 deletions(-) commit 28d91b5bb6f0543c259976d8338a7b4d95054dd3 Author: Dan Winship Date: Fri Dec 18 10:26:09 2009 +0100 Fix UnixWare build by not using "sa_len" as a variable name https://bugzilla.gnome.org/show_bug.cgi?id=604875 gio/gnetworkingprivate.h | 2 +- gio/gresolver.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 50741f2fb2db13ef236974e676d1b6472c3aef5c Author: Nguyễn Thái Ngọc Duy Date: Fri Dec 18 15:00:54 2009 +0700 vi.po: updated Vietnamese translation po/vi.po | 412 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 197 insertions(+), 215 deletions(-) commit 3f41e31bf974f6abaeb28264654d6b46b87b7428 Author: Gian Mario Tagliaretti Date: Tue Dec 15 23:49:18 2009 +0100 Remove wrong file imports, only gio/gio.h should be included gio/gunixconnection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a0bcd63304c683d54e1d55203922a58de672b8f6 Author: Tor Lillqvist Date: Mon Dec 14 03:16:55 2009 +0200 Don't check for headers we include unconditionally Don't bother checking for winsock2.h and mswsock.h in the configure script as we include these unconditionally when building for Windows anyway. config.h.win32.in | 3 --- configure.in | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) commit 8dc200db043fb7251baed6e346a7c5542a24a7b9 Author: Tor Lillqvist Date: Mon Dec 14 03:09:46 2009 +0200 Check for and use it if present Should help bug #603527 if glib is built in an environment that has . config.h.win32.in | 7 +++++++ configure.in | 2 +- gio/gwin32resolver.c | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) commit cdf00a6a9b98574dd4a06779de43612b9c8fa42a Author: Paolo Borelli Date: Tue Dec 8 17:05:09 2009 +0100 Add unit tests for some more methods gio/tests/buffered-input-stream.c | 83 ++++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 1 deletion(-) commit 4fbbe190b7cbfd271bbb18428bc103ebffa41112 Author: Alexander Larsson Date: Mon Dec 7 22:00:51 2009 +0100 Remove default implementation of async filter steam ops Not only is the default implementation broken (it causes infinite recursion as seen in bug #603982), but its also worthless. If we just fall back on the default stream operations we automatically get async version based on the sync filter stream operations, which is what we want. gio/gfilterinputstream.c | 185 +-------------------------------------------- gio/gfilteroutputstream.c | 173 ------------------------------------------ 2 files changed, 2 insertions(+), 356 deletions(-) commit 8a6d5e203eb22dad7e197f33b8c7d96f72be4bea Author: Paolo Borelli Date: Sun Dec 6 15:45:37 2009 +0100 Fix makefile typo gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 568cd48365a8c8ffa6fc25d5282ec92de6e2ff31 Author: Paolo Borelli Date: Sat Nov 28 23:39:48 2009 +0100 Add GUtf8InputStream - Bug #603270 Add a filter input stream that performs utf8 validation. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 18 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 7 + gio/giotypes.h | 1 + gio/gutf8inputstream.c | 327 +++++++++++++++++++++++++++++++++++ gio/gutf8inputstream.h | 80 +++++++++ gio/tests/Makefile.am | 4 + gio/tests/utf8-input-stream.c | 252 +++++++++++++++++++++++++++ 11 files changed, 694 insertions(+) commit c20280b41bc084793e2baa094dc03dc9d1d75f8b Author: Yair Hershkovitz Date: Sun Dec 6 08:41:49 2009 +0200 Updated Hebrew translation po/he.po | 961 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 481 insertions(+), 480 deletions(-) commit efb594b7d49e5058de621f1253671ec192eae695 Author: Kjartan Maraas Date: Fri Dec 4 21:18:32 2009 +0100 Updated Norwegian bokmål translation. po/nb.po | 951 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 476 insertions(+), 475 deletions(-) commit 2321e5aed07154761223bb124770beba56700e41 Author: Matthew W. S. Bell Date: Wed Dec 2 01:48:30 2009 +0100 Initialise variable in g_time_val_from_iso8601() The function does not initialise the struct tm, giving it improper values of tm_isdst making the result an hour out. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=603540 glib/gtimer.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3d8035f799f632f196d914fde02dc052b7944581 Author: Jeroen Nijhof Date: Tue Dec 1 19:42:09 2009 +0100 [gio] Remove some commas at end of enumerator list Fixes https://bugzilla.gnome.org/show_bug.cgi?id=603476 gio/gioenums.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 39cd766e8ef6901c097fdf2d3148fdc952f06b0e Author: Dan Winship Date: Tue Dec 1 10:42:58 2009 +0100 Use G_DEFINE_INTERFACE in gio Note: Since we export types with Iface in the name rather than Interface we have to use some typedefs to make this work. New interfaces should probably use Interface as the public name. gio/gappinfo.c | 45 +------------ gio/gasyncresult.c | 44 +------------ gio/gdesktopappinfo.c | 44 +------------ gio/gdrive.c | 175 ++++++++++++++++++------------------------------- gio/gfile.c | 46 +------------ gio/gicon.c | 44 +------------ gio/gloadableicon.c | 45 +------------ gio/gmount.c | 143 ++++++++++++++-------------------------- gio/gseekable.c | 38 +---------- gio/gvolume.c | 105 +++++++++-------------------- 10 files changed, 165 insertions(+), 564 deletions(-) commit 91d96350a7eed2e2acfc0c254b6dfc4e6fe81a8b Author: Dan Winship Date: Tue Dec 1 10:33:12 2009 +0100 Add G_DEFINE_INTERFACE This is a macro similar to G_DEFINE_TYPE but it lets you define interfaces rather than classes. For discussion, see bug #320482 docs/reference/gobject/gobject-sections.txt | 2 + gobject/gtype.h | 70 ++++++++++++++++++++++++++- gobject/tests/threadtests.c | 30 ------------ 3 files changed, 70 insertions(+), 32 deletions(-) commit 74a970f754bbffcc9f0a3fa6dd9977a8640544c8 Author: Ryan Lortie Date: Mon Nov 30 19:50:21 2009 -0500 Add byteswap macros for gsize/gssize. configure.in | 5 +++ docs/reference/glib/glib-sections.txt | 12 +++++ docs/reference/glib/tmpl/byte_order.sgml | 72 ++++++++++++++++++++++++++++++ glib/gtypes.h | 5 +++ glibconfig.h.win32.in | 4 ++ 5 files changed, 98 insertions(+) commit 2a78adc5e3f5b33e92cc55570397da24e062aa24 Author: Benjamin Otte Date: Thu Oct 8 20:01:15 2009 +0200 Only add object to list new objects when it has a custom constructor This works around the need to take a custom mutex twice and add the object to a GSList of objects that are currently in construction for the common case. Only when the constructor is overwritten do we use the previous behavior and allow things like singleton objects. The only slightly incompatible change is that previously, it was ok to call g_object_set() on construct-only properties while the object was initialized. This will now fail. If that behavior is needed, setting a custom constructor that just chains up will reenable this functionality. https://bugzilla.gnome.org/show_bug.cgi?id=557151 gobject/gobject.c | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) commit f0f32a7ef0f7ae8cdd2aa2992d2e116dd7b602fe Author: Benjamin Otte Date: Thu Sep 24 15:04:20 2009 +0200 Remove more read locks usage g_type_default_interface_peek() and g_type_value_table_peek() don't need to acquire read locks anymore when they test the refcount instead of node->data. gobject/gtype.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 5cac5c828b9d56ed0b1932deb7364d6ba926eb96 Author: Benjamin Otte Date: Thu Sep 24 14:57:19 2009 +0200 Make g_type_class_peek[_static]() not take any locks By replacing a check for node->data with a check for NODE_REFCOUNT(node) these functions don't require a read lock anymore. gobject/gtype.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 83ee0d947d7c103e975be0fc4e62415ad7d57571 Author: Edward Hervey Date: Thu Sep 24 13:19:46 2009 +0200 gobject/tests: New test for dynamic class creation/destruction Starts 100 threads which ref/unref a dynamic class to test the recent changes to class init/uninit. gobject/tests/Makefile.am | 4 +- gobject/tests/dynamictests.c | 235 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 238 insertions(+), 1 deletion(-) commit 35c376a8a6be94f6fd5c22164a5e0968f4d3e26e Author: Edward Hervey Date: Thu Sep 24 12:42:49 2009 +0200 Add type_data_ref_U() and use it in g_type_class_ref() The function returns TRUE if the type was previously initialized and can be easily reused. It returns FALSE and does not take a reference if the type is not referenced yet. g_type_class_ref() uses this to avoid taking locks in the common path, which speeds up object creation a lot - in particular in multithreaded applications. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 62 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 20 deletions(-) commit 5160175656797fde6b301b0d832b692052b96e3e Author: Edward Hervey Date: Thu Sep 24 12:29:25 2009 +0200 Reorganize g_type_class_ref() Moves the first check out of the lock, as it's not required. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 00a4470ad07551f3629029892b819c18d8902f2f Author: Benjamin Otte Date: Thu Sep 24 12:26:53 2009 +0200 Make ClassData->init_state atomic This is necessary to make g_type_class_ref() lockless. https://bugzilla.gnome.org/show_bug.cgi?id=585375 Also includes fix for: https://bugzilla.gnome.org/show_bug.cgi?id=587892 gobject/gtype.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 4c243b1cba6e94658e68c3e4b188d0d784ed7463 Author: Edward Hervey Date: Thu Sep 24 11:45:13 2009 +0200 Make type_data_unref_U not take locks in the common case https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 5e7dba0501f4af4ac5427bbf1227ba5cb026cffa Author: Edward Hervey Date: Thu Sep 24 11:38:49 2009 +0200 Make all accesses of Node->ref_count atomic This does not change any locking behavior at all, it just replaces simple getters/setters of the variable with atomic versions. The ref_count variable was kept as unsigned, even though that requires casting for all operations, to mirror GObject->refcount. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 2ec989902b2800d150bbb2cf6c3b6924f43ed736 Author: Edward Hervey Date: Thu Sep 24 11:19:58 2009 +0200 type_data_unref_Wm => type_data_unref_U Make the type unref function not hold any locks when called. This makes it easier to optimize it to be atomic later. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) commit b163759320ddfce0276b20bb453de70919aeeff3 Author: Benjamin Otte Date: Thu Sep 24 11:16:10 2009 +0200 Add a NODE_REFCOUNT getter This is useful when moving the code to be atomic. It also will make that patch smaller. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) commit 170423f924950728cec21a784787aa43b0be71bc Author: Edward Hervey Date: Thu Sep 24 10:44:17 2009 +0200 Move setting the refcount to the end of the function This is a safety feature for when making it atomic later. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f8d24e849533e0e43cd7c9cf9a9692e4779c0472 Author: Edward Hervey Date: Thu Sep 24 10:16:48 2009 +0200 Pass the TypeNode to type_data_last_unref_Wm() Previously the GType was looked up just for calling the function Also moves the unref functions together in the code. https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 57 ++++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) commit 718b476c4474e5c9e973046ef555ffcb9bfd38a1 Author: Edward Hervey Date: Thu Sep 24 10:03:14 2009 +0200 Move ref_count from TypeNode->data to TypeNode https://bugzilla.gnome.org/show_bug.cgi?id=585375 gobject/gtype.c | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) commit 69961d27a13b2083d864884b40c861c5e97a5c12 Author: Alexander Larsson Date: Wed Sep 9 16:42:32 2009 +0200 Implement O(1) interface lookups Currently interface lookups are do a binary search over all the interfaces an object implements. Its possible to do this lookup in constant time using for instance the gcj algorighm described at: http://gcc.gnu.org/ml/java/1999-q3/msg00377.html This is an implementation of that based on GAtomicArray. gobject/gtype.c | 185 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 151 insertions(+), 34 deletions(-) commit 8f27a5e62129672f5c17b140ca854fd2307a9734 Author: Alexander Larsson Date: Wed Sep 9 16:51:28 2009 +0200 Implement lock free interface lookup We implement lock free interface lookup by moving the n_ifaces counter into memory pointed to by TypeNode->iface_entries, and then updating this in RCU-style by always copying it, modifying the copy and then when the modification is done replace the old pointer with g_atomic_pointer_set. There is one additional complexity when freeing the old memory, since the old memory region can be in use. To handle this we don't free such memory, but put it on a free list and reuse it later. This means that lock-free lookups must be able to handle the memory being modified in random ways without crashing, and at the end we verify that the memory didn't change and the transaction is ok. With this infrastructure the patch then implements a lock-free version of type_lookup_iface_entry_L called type_lookup_iface_vtable_I and use it in: g_type_interface_peek, g_type_interface_peek_parent and type_node_check_conformities_UorL. Using the performance tests from bug 557100 shows that the general performance difference is negligible, but the lack of a lock for each type check and interface vfunc call should greatly enhance threaded scalability. gobject/gtype.c | 329 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 204 insertions(+), 125 deletions(-) commit 75ce4741f9a7a26098a77407de9b4cc2b985a254 Author: Alexander Larsson Date: Wed Sep 9 16:47:44 2009 +0200 Add GAtomicArray for RCU-style lockless updates This adds supports for a lock-less a non-shrinking growable array. You can use it to do reads using no locks, as long as your read-code can handle that during the read transaction the object can be modified by another writer (but it will not change size or be freed), and you can only trust the result once the transaction has finished successfully. This doesn't free things like RCU normally does, instead it pushes the memory on a free list that is reused for other atomic arrays. gobject/Makefile.am | 3 +- gobject/gatomicarray.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++++ gobject/gatomicarray.h | 60 +++++++++++++++++ 3 files changed, 231 insertions(+), 1 deletion(-) commit f55752b10cc29090550005e16e9e7f72c5c060fa Author: Ivar Smolin Date: Mon Nov 30 13:08:18 2009 +0200 Updating Estonian translation po/et.po | 479 ++------------------------------------------------------------ 1 file changed, 10 insertions(+), 469 deletions(-) commit 8df6191a322d6b412448aa5618daf68c4e0ab3da Author: Matthias Clasen Date: Mon Nov 30 00:11:10 2009 -0500 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2532707ce420623acaf7f1fc0bd3670bb3a8a86b Author: Matthias Clasen Date: Mon Nov 30 00:09:36 2009 -0500 2.23.0 docs/reference/glib/tmpl/glib-unused.sgml | 67 ++ docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 -- po/am.po | 282 +++--- po/ar.po | 285 +++--- po/as.po | 287 ++++--- po/az.po | 282 +++--- po/be.po | 283 +++--- po/be@latin.po | 286 ++++--- po/bg.po | 287 ++++--- po/bn.po | 287 ++++--- po/bn_IN.po | 287 ++++--- po/bs.po | 282 +++--- po/ca.po | 917 ++++++++++---------- po/ca@valencia.po | 285 +++--- po/cs.po | 287 ++++--- po/cy.po | 282 +++--- po/da.po | 287 ++++--- po/de.po | 287 ++++--- po/dz.po | 282 +++--- po/el.po | 286 ++++--- po/en@shaw.po | 966 +++++++++++---------- po/en_CA.po | 285 +++--- po/en_GB.po | 287 ++++--- po/eo.po | 282 +++--- po/es.po | 930 ++++++++++---------- po/et.po | 492 ++++++++++- po/eu.po | 287 ++++--- po/fa.po | 282 +++--- po/fi.po | 287 ++++--- po/fr.po | 287 ++++--- po/ga.po | 282 +++--- po/gl.po | 941 ++++++++++---------- po/gu.po | 287 ++++--- po/he.po | 287 ++++--- po/hi.po | 287 ++++--- po/hr.po | 282 +++--- po/hu.po | 287 ++++--- po/hy.po | 282 +++--- po/id.po | 282 +++--- po/is.po | 282 +++--- po/it.po | 287 ++++--- po/ja.po | 287 ++++--- po/ka.po | 282 +++--- po/kn.po | 287 ++++--- po/ko.po | 287 ++++--- po/ku.po | 282 +++--- po/lt.po | 285 +++--- po/lv.po | 282 +++--- po/mai.po | 285 +++--- po/mg.po | 282 +++--- po/mk.po | 285 +++--- po/ml.po | 287 ++++--- po/mn.po | 282 +++--- po/mr.po | 287 ++++--- po/ms.po | 282 +++--- po/nb.po | 943 ++++++++++---------- po/ne.po | 282 +++--- po/nl.po | 285 +++--- po/nn.po | 285 +++--- po/oc.po | 282 +++--- po/or.po | 287 ++++--- po/pa.po | 287 ++++--- po/pl.po | 287 ++++--- po/ps.po | 282 +++--- po/pt.po | 287 ++++--- po/pt_BR.po | 951 ++++++++++---------- po/ro.po | 287 ++++--- po/ru.po | 287 ++++--- po/rw.po | 282 +++--- po/si.po | 282 +++--- po/sk.po | 285 +++--- po/sl.po | 1282 +++++++++++++-------------- po/sq.po | 288 ++++--- po/sr.po | 287 ++++--- po/sr@ije.po | 282 +++--- po/sr@latin.po | 287 ++++--- po/sv.po | 1332 ++++++++++++++--------------- po/ta.po | 287 ++++--- po/te.po | 287 ++++--- po/th.po | 287 ++++--- po/tl.po | 282 +++--- po/tr.po | 287 ++++--- po/tt.po | 282 +++--- po/uk.po | 287 ++++--- po/vi.po | 285 +++--- po/wa.po | 282 +++--- po/xh.po | 282 +++--- po/yi.po | 282 +++--- po/zh_CN.po | 285 +++--- po/zh_HK.po | 287 ++++--- po/zh_TW.po | 287 ++++--- 92 files changed, 16991 insertions(+), 14691 deletions(-) commit 310e2e7291ba716755e538a6fe286a0072b39ef1 Author: Matthias Clasen Date: Sun Nov 29 22:57:00 2009 -0500 More updates NEWS | 1 + 1 file changed, 1 insertion(+) commit 8907bfee863e969bc68de749a45f34d7f7f21699 Author: Matthias Clasen Date: Sun Nov 29 22:54:16 2009 -0500 Fix up GIO docs docs/reference/gio/gio-docs.xml | 31 ++++----- docs/reference/gio/gio-sections.txt | 113 ++++++++++++++++++++++++++++++++ docs/reference/gio/gio.types | 9 +++ gio/fen/fen-data.c | 4 -- gio/gappinfo.h | 1 + gio/gcharsetconverter.c | 31 ++++++++- gio/gconverterinputstream.c | 13 +++- gio/gconverterinputstream.h | 2 +- gio/gconverteroutputstream.c | 13 +++- gio/gconverteroutputstream.h | 2 +- gio/gdummyfile.c | 6 -- gio/gioenums.h | 6 +- gio/glocaldirectorymonitor.c | 7 -- gio/glocalfile.c | 6 -- gio/glocalfileinputstream.c | 6 -- gio/glocalfilemonitor.c | 7 -- gio/gunionvolumemonitor.c | 9 +-- gio/gunixvolume.c | 120 +++++++++++++++------------------- gio/gunixvolumemonitor.c | 12 ---- gio/gwin32mount.c | 2 +- gio/gwin32volumemonitor.c | 6 +- gio/win32/gwinhttpfile.c | 4 +- gio/win32/gwinhttpfileinputstream.c | 4 +- gio/win32/gwinhttpfileoutputstream.c | 4 +- gio/win32/gwinhttpvfs.c | 2 +- 25 files changed, 261 insertions(+), 159 deletions(-) commit 80bda52b57440b66752df6aa4078e3a723b3a990 Author: Matthias Clasen Date: Sun Nov 29 21:19:10 2009 -0500 Fix dynamictype test to build tests/gobject/dynamictype.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 06c71ba399adc22c4f327876bac50bbd1a6dfcf4 Author: Matthias Clasen Date: Sun Nov 29 20:55:25 2009 -0500 Fix 'make check' in gio gio/gio.symbols | 430 +++++++++++++++++++++++++++++-------------------------- gio/pltcheck.sh | 2 +- 2 files changed, 225 insertions(+), 207 deletions(-) commit a4a69df105e57a37fbb2b14275f262613aff1071 Author: Matthias Clasen Date: Sun Nov 29 20:48:52 2009 -0500 Remove filter-cat from TEST_PROGS Since it is not intended to be run as part of make check. gio/tests/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 12939c54f93ddc61c02b592ced931fb30d797fe8 Author: Matthias Clasen Date: Sun Nov 29 20:47:51 2009 -0500 Disable a broken test One of the option context tests relied on the ability to call g_set_pgrname() more than once. Thats no longer possible (without incurring a warning that wrecks the test). glib/tests/option-context.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 31be5a93402ca596bb1bc5d872ef437c51ac6d12 Author: David Planella Date: Sun Nov 29 19:27:45 2009 +0100 Updated Catalan translations, with some corrections from Carles Ferrando po/ca.po | 964 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 497 insertions(+), 467 deletions(-) commit e7992b7b06df986bd36dd745a4cca2661e77f497 Author: Paolo Borelli Date: Sun Nov 29 15:14:10 2009 +0100 Fix return type of g_converter_[in|out]put_stream. Fixes bug #603265 gio/gconverterinputstream.c | 8 ++++---- gio/gconverterinputstream.h | 4 ++-- gio/gconverteroutputstream.c | 10 +++++----- gio/gconverteroutputstream.h | 4 ++-- gio/tests/converter-stream.c | 30 +++++++++++++----------------- 5 files changed, 26 insertions(+), 30 deletions(-) commit bd2a9f7ebb12fde7ea4dcf38d252bfea519970e4 Author: Jorge González Date: Sat Nov 28 13:26:38 2009 +0100 Updated Spanish translation po/es.po | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) commit 35d440535fecaacce228089b91873afc6c5e069a Author: Matthias Clasen Date: Sat Nov 28 01:59:12 2009 -0500 Updates NEWS | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit 43149aafe04027bf7f91abb05df64afafc5ed4c4 Author: Matthias Clasen Date: Sat Nov 28 01:30:27 2009 -0500 Bump version to 2.23.0 configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 92a766c74380f7511b0f0c2ea04059133ff8fd73 Author: Matej Urbančič Date: Fri Nov 27 13:33:16 2009 +0100 Updated Slovenian translation po/sl.po | 213 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 114 insertions(+), 99 deletions(-) commit 56653e930feebd36cf36523669f3bcad59ad3dc2 Author: Jorge González Date: Fri Nov 27 01:37:49 2009 +0100 Updated Spanish translation po/es.po | 171 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 99 insertions(+), 72 deletions(-) commit 8586b636c7a0162f7b06e00c6a563eeaf24cab46 Author: Ryan Lortie Date: Thu Nov 26 12:15:04 2009 -0500 Bug 589631 - enclose literals with double quotes Improve strings for purpose of translation. Based on a patch from Leonardo Ferreira Fontenelle. gio/gmount.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 09b1b6414b6aa001733fa7897f48970cb3cf258a Author: Christian Kellner Date: Fri Oct 9 15:06:44 2009 +0200 Add "default location" support to GMount The "default location" of the given mount is a path that reflects the main entry point for the user (e.g. the home directory, or the root of the volume). https://bugzilla.gnome.org/show_bug.cgi?id=561998 gio/gmount.c | 31 +++++++++++++++++++++++++++++++ gio/gmount.h | 3 +++ 2 files changed, 34 insertions(+) commit 2b2195bf68bf68837dc9f6b4765d3716694f42b3 Author: Alexander Larsson Date: Thu Nov 26 16:05:07 2009 +0100 Pass in the right device to vfs->local_file_add_info for symlinks We used to pass the path for the symlink, but the device of the target which is wrong and breaks metadata access. https://bugzilla.gnome.org/show_bug.cgi?id=593809 gio/glocalfileinfo.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 96f41b62836810563c4f69ba6d053e91c638728a Author: Mures Andone Date: Tue Nov 10 14:59:31 2009 +0200 Fixed bug 91 (GIO monitoring not working due to bad assert) https://bugzilla.gnome.org/show_bug.cgi?id=593856 gio/inotify/ginotifydirectorymonitor.c | 10 ++++++++-- gio/inotify/ginotifyfilemonitor.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) commit 97db31fa14d2556a649d1d66a0dfc1792c5908d7 Author: Will Thompson Date: Fri Nov 20 13:01:17 2009 +0000 Apply English pedantry to GAsyncInitable's docs • "asynchronous" was misspelled as "asyncronous" in various places; • punctuation was missing; • g_async_initable_new_async() had a stray "and"; • references to g_async_initable_new_finish() were missing a "the". https://bugzilla.gnome.org/show_bug.cgi?id=602417 gio/gasyncinitable.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 08d33b81ee4addefa6c5fac6894111d09f90951b Author: Alexander Larsson Date: Thu Nov 26 13:15:11 2009 +0100 Remove unused variable gio/gzlibdecompressor.c | 1 - 1 file changed, 1 deletion(-) commit b35fa1994d6607376136716c133dd88433706ee8 Author: Alexander Larsson Date: Thu Nov 26 12:30:14 2009 +0100 Cast iface_init to GInterfaceInitFunc This is in line with what all other type define macros do. https://bugzilla.gnome.org/show_bug.cgi?id=508157 gobject/gtypemodule.h | 2 +- tests/gobject/dynamictype.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) commit 36646f46ab07dec3d5a2ce0c9ba1932587528ca8 Author: Alexander Larsson Date: Thu Nov 26 11:54:44 2009 +0100 Add test for G_IMPLEMENT_INTERFACE_DYNAMIC tests/gobject/dynamictype.c | 53 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 4 deletions(-) commit 7d51c96e5e39e8f3b403884f286ef781f0c952d6 Author: Alexander Larsson Date: Tue Nov 24 09:53:15 2009 +0100 Add G_IMPLEMENT_INTERFACE_DYNAMIC Convenience macro to easy interface addition for dynamic types. https://bugzilla.gnome.org/show_bug.cgi?id=508157 docs/reference/gobject/gobject-sections.txt | 1 + gobject/gtypemodule.h | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) commit b3156508c49f5274805de1d0d9bc5a69f43de1e9 Author: Christian Persch Date: Sat May 24 21:00:11 2008 +0200 Add TB and PB cases to g_format_size_for_display glib/gfileutils.c | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) commit 1ffedec41f01b2cac9ecd9664cec1867e5d1ebb0 Author: Tor Lillqvist Date: Wed Nov 25 12:57:10 2009 +0200 Remove fuzzy marker from header, which crashed my msgfmt po/en@shaw.po | 1 - 1 file changed, 1 deletion(-) commit 3d7edc137e447456b7cd6b9df8b6257454c43a5d Author: Ryan Lortie Date: Wed Nov 11 22:40:28 2009 -0500 Bug 601637 - add GUnixFDList change GUnixFDMessage to contain a GUnixFDList. add test case for GUnixFDMessage and GUnixFDList. update docs. docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 23 +++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 2 + gio/gunixfdlist.c | 391 +++++++++++++++++++++++++++++++++++ gio/gunixfdlist.h | 89 ++++++++ gio/gunixfdmessage.c | 193 ++++++++++------- gio/gunixfdmessage.h | 7 +- gio/tests/Makefile.am | 5 +- gio/tests/unix-fd.c | 197 ++++++++++++++++++ 10 files changed, 835 insertions(+), 74 deletions(-) commit e5a98502be13e9f9561106577ecbc736211ca692 Author: Alexander Larsson Date: Tue Nov 24 13:31:33 2009 +0100 Update gio.symbols with new functions gio/gio.symbols | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit b7c4aa61523adfe79991051edf2d0128fd0e5222 Author: Alexander Larsson Date: Tue Nov 24 13:31:10 2009 +0100 Export g_charset_converter_get_num_fallbacks in header gio/gcharsetconverter.h | 1 + 1 file changed, 1 insertion(+) commit 2af69f4135253573ccc3a14f0cb9555bdba6ac3b Author: Alexander Larsson Date: Tue Nov 24 13:02:05 2009 +0100 Fix GZlibCompressorFormat names What used to be called RAW is really the zlib header format. There is a real "raw" format, so rename the default and add a RAW type. gio/gioenums.h | 8 +++++--- gio/gzlibcompressor.c | 12 ++++++++++-- gio/gzlibdecompressor.c | 9 +++++++-- gio/tests/filter-cat.c | 4 ++-- 4 files changed, 24 insertions(+), 9 deletions(-) commit 85501f5ffabe59ac38daf4d29990a7d5cd949c31 Author: Ryan Lortie Date: Wed Nov 11 23:31:12 2009 -0500 Bug 591214 - Warnings building gcancellable.o - check for EINTR on read() and write() calls - remove unused 'priv' variable gio/gcancellable.c | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) commit 48e2a570439373882cf755567e1d147bc5dd50e5 Author: Ryan Lortie Date: Fri Nov 20 12:54:35 2009 -0600 Bug 598712 - can't detect text file with backspace looks_like_text(): Allow '\b' to appear in text files. gio/gcontenttype.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 230745a350fea524f899c6319a7c529fd82bd377 Author: Alexander Larsson Date: Wed Nov 18 16:07:16 2009 +0100 Add filter-cat test for GConverter streams gio/tests/Makefile.am | 4 + gio/tests/filter-cat.c | 227 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 231 insertions(+) commit 92b9218cbf8cbc594c3a067b2dc09730416df85f Author: Alexander Larsson Date: Fri Nov 20 12:04:31 2009 +0100 Add GZlibCompressor gio/Makefile.am | 2 + gio/gio.h | 1 + gio/giotypes.h | 1 + gio/gzlibcompressor.c | 316 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gzlibcompressor.h | 51 ++++++++ 5 files changed, 371 insertions(+) commit 38c3eb14e42da8ca2d55918be048cf1729591486 Author: Alexander Larsson Date: Thu Nov 19 17:20:20 2009 +0100 Add GZlibDecompressor for zlib decompression gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gioenums.h | 15 +++ gio/giotypes.h | 1 + gio/gzlibdecompressor.c | 292 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gzlibdecompressor.h | 50 ++++++++ 6 files changed, 361 insertions(+) commit 8cb1252d92e5cfea3804ef27edc01cac5b044ff3 Author: Alexander Larsson Date: Thu Nov 19 17:16:29 2009 +0100 Add zlib dependency to gio Will be used by compression APIs configure.in | 11 +++++++++++ gio-2.0.pc.in | 1 + gio/Makefile.am | 1 + 3 files changed, 13 insertions(+) commit fce2873641ffe20834722ad33894c91b2e4b6c32 Author: Alexander Larsson Date: Fri Oct 23 19:59:03 2009 +0200 Add test for converter streams gio/tests/Makefile.am | 4 + gio/tests/converter-stream.c | 576 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 580 insertions(+) commit 7f8991596be1f17bd71c367bef630423f0a83c35 Author: Alexander Larsson Date: Mon Nov 23 15:03:57 2009 +0100 Add GConverterOutputStream This allows for conversion when saving gio/Makefile.am | 2 + gio/gconverteroutputstream.c | 595 ++++++++++++++++++++++++++++++++++++++++++ gio/gconverteroutputstream.h | 80 ++++++ gio/gio.h | 1 + gio/giotypes.h | 1 + 5 files changed, 679 insertions(+) commit afe3324fcac8ea2a6b6007c938d7974aa923c0d3 Author: Alexander Larsson Date: Mon Nov 23 15:02:50 2009 +0100 Add g_output_stream_is_closing Need this to check how we're flushing when closing a converter output stream. gio/goutputstream.c | 29 ++++++++++++++++++++++++++++- gio/goutputstream.h | 1 + 2 files changed, 29 insertions(+), 1 deletion(-) commit 848e0bf760ea7326420669e90ef6675786dea702 Author: Alexander Larsson Date: Thu Oct 22 22:50:52 2009 +0200 Add GConverterInputStream Read and convert data from an input stream gio/Makefile.am | 2 + gio/gconverterinputstream.c | 544 +++++++++++++++++++++++++++++++++++++++++++ gio/gconverterinputstream.h | 80 +++++++ gio/gio.h | 1 + gio/giotypes.h | 1 + 5 files changed, 628 insertions(+) commit 134e9bd84f6311e8b18fe69ce8df030561aa12d9 Author: Alexander Larsson Date: Mon Nov 23 16:19:08 2009 +0100 Add fallback mode to GCharsetConverter gio/gcharsetconverter.c | 75 ++++++++++++++++++++++++++++++++++++++++++++--- gio/gcharsetconverter.h | 3 ++ 2 files changed, 74 insertions(+), 4 deletions(-) commit 4b8382823e0f03b59d07473f708f1892dcd743dc Author: Alexander Larsson Date: Wed Oct 21 21:25:36 2009 +0200 Add GCharsetConverter gio/Makefile.am | 2 + gio/gcharsetconverter.c | 373 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gcharsetconverter.h | 52 +++++++ gio/gio.h | 1 + gio/giotypes.h | 1 + 5 files changed, 429 insertions(+) commit 0d86b25f91aeff168474280f4f5e03df779afc6d Author: Alexander Larsson Date: Wed Nov 18 13:14:13 2009 +0100 Add GConverter interface This is an interface for stateful conversions of data. Its a generic interface suitable for things like IConv, compression, decompression, and regexp replacement. gio/Makefile.am | 2 + gio/gconverter.c | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gconverter.h | 94 ++++++++++++++++++++++ gio/gio.h | 1 + gio/gioenums.h | 34 ++++++++ gio/giotypes.h | 1 + 6 files changed, 366 insertions(+) commit 110133135dabfb2ac829abe7bf84d95baf92a61a Author: Alexander Larsson Date: Tue Oct 20 14:12:31 2009 +0200 Add G_IO_ERROR_PARTIAL_INPUT and G_IO_ERROR_INVALID_DATA errors These are needed for GConverter gio/gioenums.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 04d83e8e503a07e7b4279227c8f992ddf7c6ef4e Author: Cody Russell Date: Mon Nov 23 07:48:14 2009 -0600 gtester should fail even if -k is passed glib/gtester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 874efeb8ea7b822cfba254421e76b331815782cb Author: Vladimir Melo Date: Mon Nov 23 08:36:06 2009 -0500 Updated Brazilian Portuguese translation. po/pt_BR.po | 928 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 469 insertions(+), 459 deletions(-) commit 56eee6759ba04ad970d2bb356a27de13d79ea575 Author: Ryan Lortie Date: Fri Nov 20 14:40:58 2009 -0600 Remove #include "glocalfile.h" from GFile It might give somebody the wrong idea. =) gio/gfile.c | 1 - 1 file changed, 1 deletion(-) commit ec79146572aece95c7bc032b486e6a57015ee6e4 Author: Benjamin Otte Date: Fri Nov 20 16:47:09 2009 +0100 Fix thread-safety The n_children variable can be written when locked, while the n_supers variable is read at any time. As they both share the same bytes, accessing them is not threadsafe. This patch puts them into different bytes. Thanks to Xan Lopez and valgrind for noticing this. gobject/gtype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba2b2bbca2b747d704ae62e99fc7d216f82111ff Author: Juan A. Suarez Romero Date: Fri Nov 20 16:46:41 2009 +0100 priv variable should only be used in win32 code gio/gcancellable.c | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) commit 8e2fa44953f1f92afdb198bb3ff8b98bb4cf6699 Author: Ryan Lortie Date: Thu Nov 19 10:19:01 2009 -0600 g_socket_listener_add_any_inet_port is Since 2.24 accidentally committed an old patch without updating. gio/gsocketlistener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c005878ae7e429dd51f6be3d9a22b430c8155221 Author: Ryan Lortie Date: Mon Jun 15 14:07:13 2009 -0400 Bug 585566 - GSocketListener API issues Add a new function, g_socket_listener_add_any_inet_port(), to deal with the desired use case. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocketlistener.c | 225 +++++++++++++++++++++++++++++++++++ gio/gsocketlistener.h | 3 + 4 files changed, 230 insertions(+) commit 77baa70eda24be0049d09123e4b81b1f03817110 Author: Christian Dywan Date: Thu Nov 19 09:58:43 2009 -0600 Bug 600550 - (...) doesn't treat arguments properly Add some additional checking to g_app_info_create_from_commandline to make it handle strange inputs more elegantly. gio/gdesktopappinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 3257e8ebe470fce6b2eb935589f18d509336a227 Author: Vincent Untz Date: Wed Nov 18 16:37:47 2009 -0600 Bug 600620 - Add g_app_info_get_display_name() This new API can make use of X-GNOME-FullName in .desktop files, to have the full name of applications. gio/gappinfo.c | 27 +++++++++++++++++++++++++++ gio/gappinfo.h | 2 ++ gio/gdesktopappinfo.c | 20 ++++++++++++++++++++ 3 files changed, 49 insertions(+) commit 9681d7e75f2d1296a890bfa64b3478ea7025df62 Author: Ryan Lortie Date: Wed Nov 18 18:43:30 2009 -0600 Bug 595138 - GFile not robust with invalid input Improve handling of g_file_query_default_handler() when called on an invalid GFile (ie: one created with an invalid URI). gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d97ea298672880ee80964c07b9cf31d604c3df9 Author: Ryan Lortie Date: Tue Nov 17 20:41:48 2009 -0600 Bug 600141 - Add -pthread to gmodule pkg-config It is not generally permissible to dlopen() libpthread into a program that is not already linked with threading support. The most common case of this happening is when GIO opens Gvfs (which includes DBus, which links against libpthread). Since gmodule is the way that most users cause this problem for themselves and since the easiest workaround is to link the program with -pthread, the best fix for the issue is to add -pthread to the gmodule pkg-config. gmodule-2.0-uninstalled.pc.in | 4 ++-- gmodule-2.0.pc.in | 4 ++-- gmodule-export-2.0.pc.in | 4 ++-- gmodule-no-export-2.0-uninstalled.pc.in | 4 ++-- gmodule-no-export-2.0.pc.in | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) commit 983a717fa6431d67ce9d765c1714f77ecb0b02fa Author: Ryan Lortie Date: Thu Nov 12 01:37:27 2009 -0500 Bug 535159 - g_file_has_parent - add a g_file_has_parent() function as a wrapper around g_file_get_parent() docs/reference/gio/gio-sections.txt | 1 + gio/gfile.c | 43 +++++++++++++++++++++++++++++++++++ gio/gfile.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 47 insertions(+) commit ba0a6e1911ee581f1d651a7a05bab789c760ef3c Author: Javier Jardón Date: Mon Nov 16 00:29:39 2009 +0100 Fix compilation warning: Initialize the variable gio/tests/unix-streams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6243026ed61698a797ce1b731760e4f0497ad97 Author: Javier Jardón Date: Mon Nov 16 00:33:07 2009 +0100 Fix compilation warning: Remove unused function gio/xdgmime/xdgmimecache.c | 1 - 1 file changed, 1 deletion(-) commit 00a331f970dfd49e1f9dc5ed3b42a9dd41d530ce Author: Javier Jardón Date: Mon Nov 16 00:22:03 2009 +0100 Fix compilation warning: cast to (GCompareFunc) gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18b3ff33afad10dfac7dfdf3025313490f8313cc Author: Javier Jardón Date: Sun Nov 15 05:51:45 2009 +0100 Don't mention g_utf32_to_utf8() and g_utf8_to_utf32() These functions doesn't exist. Suggest to use g_ucs4_to_utf8/g_utf8_to_ucs4 to produce the UTF-8 representation of a gunichar This fix bug: https://bugzilla.gnome.org/show_bug.cgi?id=601874 docs/reference/glib/tmpl/unicode.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96bf69d4cc4077a986c9b2c398356e9d543d88bd Author: Javier Jardón Date: Sun Nov 15 23:58:23 2009 +0100 Suggest the use of G_STRFUNC Suggest G_STRFUNC in the documentation of the deprecated functions G_GNUC_PRETTY_FUNCTION and G_GNUC_FUNCTION docs/reference/glib/tmpl/macros_misc.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b7b7a76020e76370e416d794eceb99937b9ed33 Author: Ryan Lortie Date: Wed Nov 11 23:48:06 2009 -0500 Bug 587300 - g_cancellable_disconnect deadlock add documentation to clarify that a deadlock is the expected case for calling this function from a signal handler gio/gcancellable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3d09b8e09c07ebb3bae4074f946c5da8d643d247 Author: Ryan Lortie Date: Wed Nov 11 23:21:48 2009 -0500 Bug 591216 - Warning building resolver.o check result of write system call to quiet compiler warning gio/tests/resolver.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 78e8b39b49ce47a80e70319ffaf548cda177a746 Author: Ryan Lortie Date: Wed Nov 11 22:20:11 2009 -0500 GSocket.receive_message: fix bogus allocation math gio/gsocket.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 409cdb8d13225125c12f7b56293b6dd397086c29 Author: Kjartan Maraas Date: Wed Nov 11 20:09:53 2009 +0100 Updated Norwegian bokmål translation. po/nb.po | 929 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 466 insertions(+), 463 deletions(-) commit e5b20a3364b831a19b6cf99f67f803da3a6b6e6b Author: Tor Lillqvist Date: Tue Nov 10 14:19:59 2009 +0200 Include all of share/gtk-doc/html to get also the gio docs Also add -D switches to not pointlessly include entries for directories in the zip files. glib-zip.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6e86c9a6aa977331c6bd47b726aaf34398a5ad37 Author: Tor Lillqvist Date: Tue Nov 10 01:37:13 2009 +0200 Avoid gcc warning about redeclaration of atexit() on MinGW glib/gutils.h | 2 ++ 1 file changed, 2 insertions(+) commit a9c4320e813aa80343ed5826c51be456a5683f5f Author: Daniel Nylander Date: Sun Nov 8 22:04:51 2009 +0100 Updated Swedish translation po/sv.po | 1307 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 668 insertions(+), 639 deletions(-) commit e9915ee7bdde49a7c6c2c0592b96f60cf31b8383 Author: Fran Diéguez Date: Sat Nov 7 14:40:58 2009 +0100 Updated Galician Translation po/gl.po | 918 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 465 insertions(+), 453 deletions(-) commit ee116a6b1c60343aafd5b10e11798adbeed0d555 Author: Jorge González Date: Fri Nov 6 21:51:28 2009 +0100 Updated Spanish translation po/es.po | 927 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 467 insertions(+), 460 deletions(-) commit 6c315c77895e7e64c5dfb08cc223ff442f924e00 Author: Ivar Smolin Date: Fri Nov 6 18:15:29 2009 +0200 Updating Estonian translation po/et.po | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit fc0b5d735ed06fd09f6f6169965ea427d43c241b Author: Matej Urbančič Date: Fri Nov 6 14:58:44 2009 +0100 Updated Slovenian translation po/sl.po | 1316 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 686 insertions(+), 630 deletions(-) commit ef6117f78d036b956d3fe91f6a3748f64499f4c1 Author: Stéphane Démurget Date: Sun Oct 25 11:14:36 2009 +0100 Bug 324930 - Nicer message for EPERM on symlink Introduced a more precise error message for EPERM when symlinking to a local filesystem. EPERM on symlink means symlinking is not supported by the underlying fs so it is not the general meaning of EPERM which roughly translates to 'Operation not permitted'. gio/glocalfile.c | 4 ++++ 1 file changed, 4 insertions(+) commit 3c57a6c7ccb38efb8fb3ecf12e9f66f113ffde19 Author: Tor Lillqvist Date: Wed Nov 4 23:59:18 2009 +0200 Don't call WSAEventSelect() on -1 If g_io_win32_sock_close() has been called on a socket channel, don't later in g_io_win32_free() call WSAEventSelect() on its fd which has been set to -1. glib/giowin32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d6b1ab42a6a9026743f197f03264afdbac7fb7b Author: Paolo Bonzini Date: Tue Nov 3 18:38:58 2009 +0200 Don't run system("touch conf.glibtest)" in the AM_PATH_GLIB_2_0 macro Just use the C library instead to create the file. Helps building using Wine. Not that I think we want to endorse that, but accepting this minimal patch doesn't hurt. From bug #590016. Signed-off-by: Tor Lillqvist m4macros/glib-2.0.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit f6276add355388738f856201c400d1c43cedcaf2 Author: Tor Lillqvist Date: Tue Nov 3 18:21:19 2009 +0200 Improve descriptive comment text glibconfig.h.win32.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9c292a831fac91dfe17158e3379d6ef4ad351c76 Author: Hib Eris Date: Tue Nov 3 15:06:29 2009 +0200 Fix check for C++ compiler when cross-compiling Use AC_CHECK_TOOLS instead of AC_CHECK_PROGS. Patch from bug #577711. configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b64ee1f02098d229ff16df9dfebdc3e3f3d76687 Author: Carlo Bramini Date: Tue Nov 3 14:26:25 2009 +0200 Make g_file_test() behave on Windows more like as on POSIX Patch from bug #572252. glib/gfileutils.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 22d026d34492b27a531bc60e6edc10eec1aa61be Author: Thomas Thurman Date: Sat Oct 31 02:49:31 2009 -0400 Shavian translation po/LINGUAS | 1 + po/en@shaw.po | 1968 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1969 insertions(+) commit 4288ad76922da01d1f452c6c257e97008b16aaf0 Author: Benjamin Otte Date: Wed Oct 28 19:18:20 2009 +0100 Properly nul-terminate return values from g_convert() The patch ensures that multibyte character sets are properly nul-terminated. This is an issue because the documentation claims to return a "nul-terminated" string and users of the API assume that means a proper nul-termination in the resulting character set. I looked at Pidgin and GStreamer code and found at least 3 cases where this was happening. This patch also reverts the documentation change from 5a633f82dbbce067c56fba0ee372fd341b76368d as that is now no longer necessary. glib/gconvert.c | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) commit 5a633f82dbbce067c56fba0ee372fd341b76368d Author: Benjamin Otte Date: Tue Oct 27 21:07:13 2009 +0100 Clarify documentation about g_convert() nul-terminated returns THere is effectively no nul-termination for multibyte characters. glib/gconvert.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit f3fbf37dd899de5d7bd61d86bed8aada479f564a Author: Matthias Clasen Date: Sun Oct 25 02:56:13 2009 -0400 Avoid a warning gio/gfile.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit e63262d49d40a36060613fb1d0ed468ca5dddc19 Author: Matthias Clasen Date: Sun Oct 25 02:55:46 2009 -0400 Don't give up too early when collecting mime types Since returning exactly one match has special significance, don't give up matching before we've found at least 2 types. Also, make sure that we don't return the same mime type more than once. Bug 541236. gio/xdgmime/xdgmimecache.c | 67 ++++++++++++++++++++++++++++++++------------ gio/xdgmime/xdgmimeglob.c | 43 ++++++++++++++++++++++++---- 2 files changed, 87 insertions(+), 23 deletions(-) commit 3dab24828edd8ebfd6d6c8bb20c181fc0d5650a1 Author: Sven Herzberg Date: Fri Oct 23 14:49:38 2009 +0200 make sure g_set_prgname() gets called only once * glib/gutils.c: copy the call-once statement from g_set_application_name(); Fixes Bug #563627: g_get_prgname() threadsafety glib/gutils.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit d105f431b0b684ed47e1c23ca283e38e522ce545 Author: Tor Lillqvist Date: Fri Oct 23 00:46:50 2009 +0300 Fix GWin32DirectoryMonitor GWin32DirectoryMonitor was quite broken, but nobody had apparently noticed, or at least not filed any bug. Only now with a bleeding edge GTK+ file chooser does the code get exercised in common programs like gtk-demo or GIMP, apparently. Bug #598899. gio/win32/gwin32directorymonitor.c | 67 +++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 17 deletions(-) commit 8eebc189440693922e23298a761189cfbe71f796 Author: Cody Russell Date: Wed Oct 14 21:24:30 2009 -0500 GTypeModule derived class unref does not unload plugin Correctly unref the pclass. Patch by Chris Wilson and Tim Janik. https://bugzilla.gnome.org/show_bug.cgi?id=350200 gobject/gtype.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e95a3b0576fc9426441956e4053791e197d4f421 Author: Tomas Bzatek Date: Tue Oct 13 16:21:42 2009 +0200 Documentation fixes docs/reference/gio/gio-sections.txt | 1 + gio/gfileattribute.c | 1 + gio/gfileinfo.h | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) commit 443674faaa0c6c79492732fd56360faeca06e9ab Author: Tor Lillqvist Date: Mon Oct 12 00:18:48 2009 +0300 Construct the gio module directory pathname at run-time on Windows gio/giomodule.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 2a3710872f8bfc1c95dc8044c92c9ce020adad40 Author: Alexander Larsson Date: Thu Oct 8 11:59:23 2009 +0200 xdgmime: sort glob hits with larger weight first Higher weight is more important, so return these first meaning they will be used as the default. gio/xdgmime/xdgmimecache.c | 2 +- gio/xdgmime/xdgmimeglob.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d9b87676fa8f0340a9baa2001ae912192e12d4c6 Author: Ivar Smolin Date: Thu Oct 8 09:56:25 2009 +0300 Updating Estonian translation po/et.po | 477 ++------------------------------------------------------------ 1 file changed, 11 insertions(+), 466 deletions(-) commit 3daaa459e332c62972c8792453e0a841157ecf11 Author: Matthias Clasen Date: Wed Oct 7 10:31:19 2009 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f814174371cbc61404012720c49485bc4d66feba Author: Matthias Clasen Date: Wed Oct 7 10:29:32 2009 -0400 2.22.2 NEWS | 6 +- build/win32/Makefile.am | 9 +- po/am.po | 2 +- po/ar.po | 2 +- po/as.po | 2 +- po/az.po | 2 +- po/be.po | 2 +- po/be@latin.po | 2 +- po/bg.po | 2 +- po/bn.po | 2 +- po/bn_IN.po | 2 +- po/bs.po | 2 +- po/ca.po | 2 +- po/ca@valencia.po | 2 +- po/cs.po | 2 +- po/cy.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/dz.po | 2 +- po/el.po | 2 +- po/en_CA.po | 2 +- po/en_GB.po | 2 +- po/eo.po | 2 +- po/es.po | 2 +- po/et.po | 2 +- po/eu.po | 2 +- po/fa.po | 2 +- po/fi.po | 2 +- po/fr.po | 2 +- po/ga.po | 2 +- po/gl.po | 2 +- po/gu.po | 2 +- po/he.po | 2 +- po/hi.po | 2 +- po/hr.po | 2 +- po/hu.po | 2 +- po/hy.po | 2 +- po/id.po | 2 +- po/is.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ka.po | 2 +- po/kn.po | 2 +- po/ko.po | 2 +- po/ku.po | 2 +- po/lt.po | 2 +- po/lv.po | 2 +- po/mai.po | 2 +- po/mg.po | 2 +- po/mk.po | 2 +- po/ml.po | 2 +- po/mn.po | 2 +- po/mr.po | 2 +- po/ms.po | 2 +- po/nb.po | 2 +- po/ne.po | 2 +- po/nl.po | 2 +- po/nn.po | 2 +- po/oc.po | 2 +- po/or.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/ps.po | 2 +- po/pt.po | 2 +- po/pt_BR.po | 2 +- po/ro.po | 2 +- po/ru.po | 909 +++++++++++++++++++++++------------------------ po/rw.po | 2 +- po/si.po | 2 +- po/sk.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr.po | 6 +- po/sr@ije.po | 2 +- po/sr@latin.po | 17 +- po/sv.po | 2 +- po/ta.po | 2 +- po/te.po | 2 +- po/th.po | 2 +- po/tl.po | 2 +- po/tr.po | 2 +- po/tt.po | 2 +- po/uk.po | 2 +- po/vi.po | 2 +- po/wa.po | 2 +- po/xh.po | 2 +- po/yi.po | 2 +- po/zh_CN.po | 2 +- po/zh_HK.po | 2 +- po/zh_TW.po | 2 +- 90 files changed, 553 insertions(+), 564 deletions(-) commit 3d76112aed79b590b79899e46610ce7b2ecffc53 Author: Matthias Clasen Date: Wed Oct 7 09:28:19 2009 -0400 Updates NEWS | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 855deaa5780bfef3f6e8b3a41d00d6c7e40ca406 Author: Cody Russell Date: Tue Oct 6 12:27:12 2009 -0400 g_object_unref racy condition can lead to crash Store whether the object has a toggleref before decrementing the refcount to prevent race condition when two threads simultaneously try to unref an object with a refcount of 2. Patch by Antoine Tremblay. https://bugzilla.gnome.org/show_bug.cgi?id=551706 gobject/gobject.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit afa0db59df9b28d9ae8da9539f629165cc8490f3 Author: Leonid Kanter Date: Tue Oct 6 11:52:48 2009 +0300 Updated Russian translation by po/ru.po | 1072 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 533 insertions(+), 539 deletions(-) commit 68b1ca04433846b68141a72029ed67ae117a7e94 Author: Edward Hervey Date: Sat Oct 3 12:37:36 2009 +0200 gobject/gtype.h: Fix _G_TYPE_CVH macro. Fixes #597194 If __val doesn't exist, we shouldn't do any other checks. gobject/gtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1937765f9f9052a870cfd924b18e08aa8901a8f2 Author: Alexander Larsson Date: Wed Aug 19 17:24:16 2009 +0200 Add fast path for construction with no params This avoids a bunch of code and makes construction of simple objects faster. Object construction performance improvement: Non-Threaded Threaded Simple: 14% 5% Complex: -1.1% -2.2% Other tests stable. https://bugzilla.gnome.org/show_bug.cgi?id=557100 gobject/gobject.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit ffc625ec9bcc4b2d34921940c07b28d244f2257a Author: Alexander Larsson Date: Wed Aug 19 17:22:32 2009 +0200 Don't freeze/thaw notification during construction if no properties If the class has no properties there could be no notification anyway. This is an important optimization for construction of simple objects. Object construction performance improvement: Non-Threaded Threaded Simple: 84% 91% Complex: -1.4% -0.6% Other tests stable. https://bugzilla.gnome.org/show_bug.cgi?id=557100 gobject/gobject.c | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) commit 302d13a757c164346883841ce040208906894b71 Author: Alexander Larsson Date: Fri Oct 2 19:27:48 2009 +0200 Add a check that no properties are added after a class is derived We can't support that, because that would cause the CLASS_HAS_PROPS_FLAG class flag to not be correct. gobject/gobject.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 39a1fe5782c15873ab18b8d3d76adfcbd70dc6dd Author: Alexander Larsson Date: Wed Aug 19 17:21:18 2009 +0200 Add GObjectClass flag CLASS_HAS_PROPS_FLAG This is set if a class or any of its parents have installed any properties. https://bugzilla.gnome.org/show_bug.cgi?id=557100 gobject/gobject.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 301d52d858b8e7d4b804b893dc2f740aaa0d5aa5 Author: Alexander Larsson Date: Wed Aug 19 17:17:41 2009 +0200 Add flags member for GObjectClass https://bugzilla.gnome.org/show_bug.cgi?id=557100 gobject/gobject.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit af017accc55aff3d6f28df0a41724e93fca71ff4 Author: Alexander Larsson Date: Wed Aug 19 15:48:19 2009 +0200 Allocate GObjectNotifyQueue with g_slice instead of abusing g_list This is both cleaner and faster (it avoids function calls and zeroing the memory twice). Object construction performance improvement: Non-Threaded Threaded Simple: 11% 1.3% Complex: 8% 6% Other tests stable. https://bugzilla.gnome.org/show_bug.cgi?id=557100 gobject/gobjectnotifyqueue.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit f4d9789fcfc4c9be497414d6c65476adb9d20236 Author: Alexander Larsson Date: Wed Sep 9 17:08:57 2009 +0200 Add gobject performance tests for threaded code This measures how much things like lock contention affects the gobject code. tests/gobject/Makefile.am | 2 + tests/gobject/performance-threaded.c | 381 ++++++++++++++++++++++++++++++++++ 2 files changed, 383 insertions(+) commit b1f94af095bde6a9a695ce7b19425a62288ee0ee Author: Alexander Larsson Date: Thu Aug 20 14:34:51 2009 +0200 Add performance tests for GObject primitives These are basic performance test for a couple of basic gobject primitives: * construction of simple objects. Simple is a bare gobject derived class with no properties, signals or interfaces. * construction of complex objects. Complex is a gobject subclass with construct properties, normal properties, signals, and implements an interface. * run-time type check of complex objects * signal emissions Lots of care is taken to try to make the results reproducible. Each test is run for multible "rounds", where we try to make each round be "not too short" in order to be significant wrt timer accuracy, but also "not to long" to make the probability of some other random event happening on the system (interrupts, other process scheduled, etc) during the round less likely. The current target round time is 4 msecs, which was picked without rigour, but seems small wrt e.g. scheduler time. For each test we then run the calculated round size for 60 seconds, and then report the performance based on the minimal time of one round. The model here is that any random stuff that happens during a round can only slow it down, there is nothing that can make it go faster, so the minimal time is the best estimate of how fast one round goes. The result is not ideal, even on a "idle" system the results vary from round to round, but the variation seems to be less than 1%. So, any performance difference reported by this test over 1% is probably statistically significant. Additionally the tests can be run with or without threads being initialized. The script tests/gobject/run-performance.sh makes it easy to produce a performance report for the current checkout. https://bugzilla.gnome.org/show_bug.cgi?id=557100 tests/gobject/Makefile.am | 2 + tests/gobject/performance.c | 735 ++++++++++++++++++++++++++++++++++++++ tests/gobject/run-performance.sh | 7 + 3 files changed, 744 insertions(+) commit 07ad638adff596ccd4bc2ec003be692059210357 Author: Alexander Larsson Date: Fri Oct 2 12:54:18 2009 +0200 remove xdgmime test This is getting diverged from the xdgmime copy and we don't need it here. gio/xdgmime/Makefile.am | 5 -- gio/xdgmime/test-mime.c | 196 ----------------------------------------------- 2 files changed, 201 deletions(-) commit c7c0bcef893ca99609b102b42be5f871b9524a92 Author: Alexander Larsson Date: Fri Oct 2 12:06:25 2009 +0200 xdgmime - Correct the range checks for magic matching gio/xdgmime/xdgmimecache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2624e7d6c6ddc5ad93caa7ce609092b6b54cb6d2 Author: Alexander Larsson Date: Fri Oct 2 12:06:15 2009 +0200 Remove unnecessary includes gio/xdgmime/xdgmimecache.c | 1 - gio/xdgmime/xdgmimeglob.c | 1 - 2 files changed, 2 deletions(-) commit e1643fd76daf66ccffd9e6818e4f4ec8272e2a51 Author: Alexander Larsson Date: Fri Oct 2 09:49:51 2009 +0200 xdgmime - support the new case sensitive flag gio/xdgmime/xdgmimecache.c | 84 ++++++++++++++++++++++++++++++++---------- gio/xdgmime/xdgmimeglob.c | 88 +++++++++++++++++++++++++++++++++++--------- 2 files changed, 136 insertions(+), 36 deletions(-) commit 7c27df1feeea1d6ab8b927285cecc4ac34db8b06 Author: Alexander Larsson Date: Fri Oct 2 09:48:35 2009 +0200 xdgmime - support cache files with minor version 2 gio/xdgmime/xdgmimecache.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit ce239a010e29c91f683dae354060f6ec6213e148 Author: Alexander Larsson Date: Fri Oct 2 09:46:33 2009 +0200 Read the new glob2 format with case sensitive flags gio/xdgmime/xdgmime.c | 4 +-- gio/xdgmime/xdgmimeglob.c | 83 ++++++++++++++++++++++++++++++++------------- gio/xdgmime/xdgmimeglob.h | 6 ++-- 3 files changed, 66 insertions(+), 27 deletions(-) commit 5e4a895bb37271169cb8c055d9ce1e3efe6ca525 Author: Tor Lillqvist Date: Fri Oct 2 12:43:21 2009 +0300 Drop the VS8 project files from tarballs as they are unmaintained build/win32/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit e5734fb87563181ee9f1f2827cb49d81e8ea28a7 Author: Pierre A. Joye Date: Fri Oct 2 12:34:44 2009 +0300 Update VS9 project files to fix build From bug #596784 build/win32/vs9/gio.vcproj | 110 +++++++++++++++++++++++++++- build/win32/vs9/glib.vcproj | 10 ++- build/win32/vs9/gmodule.vcproj | 2 +- build/win32/vs9/gobject.vcproj | 2 +- build/win32/vs9/gspawn-win32-helper.vcproj | 2 +- build/win32/vs9/gthread.vcproj | 2 +- build/win32/vs9/install.vcproj | 4 +- 7 files changed, 122 insertions(+), 10 deletions(-) commit e9fe53980b0ce8480c483774961b93388f3a55fe Author: Matthias Clasen Date: Tue Sep 29 23:06:45 2009 -0400 Fix --runtime-libdir option For stable releases, it needs to take LT_REVISION into account, not hardcode 0. gio/Makefile.am | 4 ++-- glib/Makefile.am | 4 ++-- gmodule/Makefile.am | 4 ++-- gobject/Makefile.am | 4 ++-- gthread/Makefile.am | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) commit eeaf8c51209cbd11573adf6f6ba0d34f85920b1f Author: Matthias Clasen Date: Tue Sep 29 22:07:04 2009 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fffc3d41bd0968c37fd3edddf35a555fe91151d3 Author: Matthias Clasen Date: Tue Sep 29 22:05:27 2009 -0400 2.22.1 po/am.po | 58 ++-- po/ar.po | 61 ++-- po/as.po | 61 ++-- po/az.po | 58 ++-- po/be.po | 59 ++-- po/be@latin.po | 61 ++-- po/bg.po | 61 ++-- po/bn.po | 932 ++++++++++++++++++++++++++-------------------------- po/bn_IN.po | 61 ++-- po/bs.po | 58 ++-- po/ca.po | 61 ++-- po/ca@valencia.po | 61 ++-- po/cs.po | 61 ++-- po/cy.po | 59 ++-- po/da.po | 61 ++-- po/de.po | 61 ++-- po/dz.po | 59 ++-- po/el.po | 61 ++-- po/en_CA.po | 61 ++-- po/en_GB.po | 61 ++-- po/eo.po | 58 ++-- po/es.po | 61 ++-- po/et.po | 61 ++-- po/eu.po | 61 ++-- po/fa.po | 59 ++-- po/fi.po | 61 ++-- po/fr.po | 61 ++-- po/ga.po | 60 ++-- po/gl.po | 61 ++-- po/gu.po | 61 ++-- po/he.po | 937 ++++++++++++++++++++++++++--------------------------- po/hi.po | 61 ++-- po/hr.po | 58 ++-- po/hu.po | 61 ++-- po/hy.po | 58 ++-- po/id.po | 59 ++-- po/is.po | 58 ++-- po/it.po | 61 ++-- po/ja.po | 61 ++-- po/ka.po | 59 ++-- po/kn.po | 61 ++-- po/ko.po | 61 ++-- po/ku.po | 58 ++-- po/lt.po | 61 ++-- po/lv.po | 58 ++-- po/mai.po | 61 ++-- po/mg.po | 59 ++-- po/mk.po | 61 ++-- po/ml.po | 61 ++-- po/mn.po | 59 ++-- po/mr.po | 61 ++-- po/ms.po | 58 ++-- po/nb.po | 61 ++-- po/ne.po | 59 ++-- po/nl.po | 61 ++-- po/nn.po | 61 ++-- po/oc.po | 59 ++-- po/or.po | 61 ++-- po/pa.po | 61 ++-- po/pl.po | 61 ++-- po/ps.po | 61 ++-- po/pt.po | 61 ++-- po/pt_BR.po | 61 ++-- po/ro.po | 61 ++-- po/ru.po | 61 ++-- po/rw.po | 58 ++-- po/si.po | 59 ++-- po/sk.po | 60 ++-- po/sl.po | 61 ++-- po/sq.po | 61 ++-- po/sr.po | 61 ++-- po/sr@ije.po | 58 ++-- po/sr@latin.po | 61 ++-- po/sv.po | 61 ++-- po/ta.po | 61 ++-- po/te.po | 61 ++-- po/th.po | 61 ++-- po/tl.po | 59 ++-- po/tr.po | 61 ++-- po/tt.po | 59 ++-- po/uk.po | 61 ++-- po/vi.po | 61 ++-- po/wa.po | 58 ++-- po/xh.po | 59 ++-- po/yi.po | 58 ++-- po/zh_CN.po | 61 ++-- po/zh_HK.po | 61 ++-- po/zh_TW.po | 61 ++-- 88 files changed, 3278 insertions(+), 3765 deletions(-) commit 82c6bf7d8c6abeda6dff80e5b754411398232cc3 Author: Matthias Clasen Date: Tue Sep 29 21:16:53 2009 -0400 Updates NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 0c88408218050b9a239e90d6585731aeb1a1c181 Author: Miloš Popović Date: Wed Sep 30 03:05:31 2009 +0000 Updated Serbian translation po/sr.po | 3 --- po/sr@latin.po | 3 --- 2 files changed, 6 deletions(-) commit b0adce8ab454c2c8e8da47019d510eac405e2452 Author: Miloš Popović Date: Wed Sep 30 03:04:05 2009 +0000 Updated Serbian translation po/sr@latin.po | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit b38f091b99adf4326001d5218d9e52bd1df8d800 Author: Miloš Popović Date: Wed Sep 30 03:02:15 2009 +0000 Updated Serbian translation po/sr.po | 279 +++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 273 +++++++++++++++++++++++++++--------------------------- 2 files changed, 283 insertions(+), 269 deletions(-) commit 0c652dc66e09a358c738492e0eb857fef56c6254 Author: Matthias Clasen Date: Tue Sep 29 20:57:45 2009 -0400 Don't mark test files for translation As pointed out in bug 596064 po/POTFILES.in | 1 - po/POTFILES.skip | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) commit 6555e0171d6f9619b0f49109868fe99162ffbb72 Author: Matthias Clasen Date: Tue Sep 29 20:52:26 2009 -0400 Fix mime_info_cache_dir_add_desktop_entries This function tried to avoid adding duplicate entries, but failed due to using the wrong search function. See bug 595972. gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f93bea177a980b8ae750c07f3b269c9bea7ac25 Author: Matthias Clasen Date: Tue Sep 29 20:45:26 2009 -0400 Avoid a C99ism Move a variable declaration to the beginning of the block; see bug 596561. Also remove a pointless register declaration. glib/gmessages.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 442dadf3118cf3e2e9617461eb045f61483d58fc Author: Matthias Clasen Date: Tue Sep 29 20:39:39 2009 -0400 Improve docs for g_utf16_to_utf8 Document that g_utf16_to_utf8 does not validate the resulting UTF-8 string. See bug 596314. glib/gutf8.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 5fdb169b72b749218766e507deab491c5f5b0d9e Author: Matthias Clasen Date: Tue Sep 29 20:33:39 2009 -0400 Clarify docs of g_async_result_get_source_object It returns a new reference. Reported in bug 596748 gio/gasyncresult.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 90e1308809805691713edf8f651e80a063f9b66f Author: Alexander Larsson Date: Tue Sep 29 11:25:13 2009 +0200 Avoid critical error in thread check if source is destroyed The source can be destroyed by the time we complete the result, and then the g_source_get_context(current_source) call will cause a critical error. We check for the source being destroyed and avoid the check in that case. This means we miss the right-thread check in this case, but thats merely a helper, so this is not critical. gio/gsimpleasyncresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10c7b3a17e00283907139a19f1c6054f85a5d3a8 Author: Jamil Ahmed Date: Tue Sep 29 04:01:37 2009 +0700 Updated Bengali translation po/bn.po | 1967 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 951 insertions(+), 1016 deletions(-) commit 6f1ce483eb136159f42b7dde3aa4466ba3e874c1 Author: Alexander Larsson Date: Mon Sep 28 15:55:44 2009 +0200 Always report metadata on the path, not symlink target Metadata are really part of the pathname, not the target file (as they are stored by pathname, and for many metadata like icon position etc make not sense using the target data). So, even if nofollow is not specified we should not follow links for metadata. Ideally this should be implemented in the metadata extension in gvfs, but the extension API does not allow this, so we do it in gio. See https://bugzilla.gnome.org/show_bug.cgi?id=593809 gio/glocalfileinfo.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 70027bf0928e7960c3ff78ce4a92aaad20ee899e Author: Alexander Larsson Date: Fri Sep 25 09:50:49 2009 +0200 Fix up cast in gdb macros We need to actually assign the casted value somewhere. glib/glib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e657dee578cc7b70c6a33fcb626e5d5aed4d82f3 Author: Alexander Larsson Date: Fri Sep 25 09:49:49 2009 +0200 Use right soname for gdb autoloaded python files We need to look at LT_REVISION too to get the right filename. This was just hardcoded to zero before which is obviously wrong. glib/Makefile.am | 2 +- gobject/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 660035479bc6583abc311cd4d43136fa447a95d6 Author: Yaron Shahrabani Date: Fri Sep 25 10:39:58 2009 +0300 Updated Hebrew translation po/he.po | 933 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 469 insertions(+), 464 deletions(-) commit cc95c60c69af5e25e9c9eae11f68ba2436a0e6b0 Author: Matthias Clasen Date: Thu Sep 24 10:26:46 2009 -0400 Fix location of gdb macros These files need to be put in a location that corresponds to the location of the libraries, so we need to take the runtime-libdir path into account. configure.in | 4 +++- glib/Makefile.am | 4 ++-- gobject/Makefile.am | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) commit dcee4d4a66112a357626a6e2b1f749a24e41068a Author: Matthias Clasen Date: Tue Sep 22 17:10:32 2009 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cc4970cf9426ae4c929ccd859585a29fb9d243c8 Author: Josselin Mouette Date: Wed Sep 23 18:39:45 2009 +0200 Fall back to inotify_init if inotify_init1 does not work This fixes monitoring failing to work when glib is built on a 2.6.27+ kernel but run on an older one. http://bugs.debian.org/544354 https://bugzilla.gnome.org/show_bug.cgi?id=593775 gio/inotify/inotify-kernel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1a4763e6ef8e4da2a5118a00ce567e00704979cd Author: Tor Lillqvist Date: Wed Sep 23 09:33:48 2009 +0300 Parse libtoolize --version more carefully Some recent versions of libtoolize output a version blurb like: libtoolize (GNU libtool 1.3110 2009-07-01) 2.2.7a Don't get confused by the numbers inside the parens. autogen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4c633ff0b58db039a29801d5039cc2756db90bbb Author: Matthias Clasen Date: Tue Sep 22 16:57:08 2009 -0400 2.22.0 README.in | 2 +- docs/reference/glib/tmpl/glib-unused.sgml | 67 -- docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/main.sgml | 7 + docs/reference/glib/tmpl/testing.sgml | 21 + docs/reference/glib/tmpl/version.sgml | 68 ++ glib/Makefile.am | 9 +- gobject/Makefile.am | 10 +- po/am.po | 188 ++-- po/ar.po | 188 ++-- po/as.po | 219 ++--- po/az.po | 188 ++-- po/be.po | 188 ++-- po/be@latin.po | 188 ++-- po/bg.po | 915 ++++++++++---------- po/bn.po | 188 ++-- po/bn_IN.po | 965 +++++++++++---------- po/bs.po | 188 ++-- po/ca.po | 925 ++++++++++---------- po/ca@valencia.po | 188 ++-- po/cs.po | 915 ++++++++++---------- po/cy.po | 188 ++-- po/da.po | 925 ++++++++++---------- po/de.po | 188 ++-- po/dz.po | 188 ++-- po/el.po | 1332 ++++++++++++++-------------- po/en_CA.po | 188 ++-- po/en_GB.po | 925 ++++++++++---------- po/eo.po | 188 ++-- po/es.po | 923 ++++++++++---------- po/et.po | 188 ++-- po/eu.po | 188 ++-- po/fa.po | 188 ++-- po/fi.po | 925 ++++++++++---------- po/fr.po | 188 ++-- po/ga.po | 188 ++-- po/gl.po | 920 ++++++++++---------- po/gu.po | 947 ++++++++++---------- po/he.po | 188 ++-- po/hi.po | 944 ++++++++++---------- po/hr.po | 188 ++-- po/hu.po | 188 ++-- po/hy.po | 188 ++-- po/id.po | 188 ++-- po/is.po | 188 ++-- po/it.po | 188 ++-- po/ja.po | 188 ++-- po/ka.po | 188 ++-- po/kn.po | 968 +++++++++++---------- po/ko.po | 188 ++-- po/ku.po | 188 ++-- po/lt.po | 188 ++-- po/lv.po | 188 ++-- po/mai.po | 188 ++-- po/mg.po | 188 ++-- po/mk.po | 188 ++-- po/ml.po | 979 ++++++++++----------- po/mn.po | 188 ++-- po/mr.po | 947 ++++++++++---------- po/ms.po | 188 ++-- po/nb.po | 917 ++++++++++---------- po/ne.po | 188 ++-- po/nl.po | 188 ++-- po/nn.po | 188 ++-- po/oc.po | 188 ++-- po/or.po | 956 ++++++++++---------- po/pa.po | 943 ++++++++++---------- po/pl.po | 1339 ++++++++++++++--------------- po/ps.po | 188 ++-- po/pt.po | 188 ++-- po/pt_BR.po | 188 ++-- po/ro.po | 926 ++++++++++---------- po/ru.po | 188 ++-- po/rw.po | 188 ++-- po/si.po | 188 ++-- po/sk.po | 188 ++-- po/sl.po | 1280 +++++++++++++-------------- po/sq.po | 188 ++-- po/sr.po | 931 ++++++++++---------- po/sr@ije.po | 188 ++-- po/sr@latin.po | 942 ++++++++++---------- po/sv.po | 188 ++-- po/ta.po | 950 ++++++++++---------- po/te.po | 956 ++++++++++---------- po/th.po | 188 ++-- po/tl.po | 188 ++-- po/tr.po | 188 ++-- po/tt.po | 188 ++-- po/uk.po | 917 ++++++++++---------- po/vi.po | 188 ++-- po/wa.po | 188 ++-- po/xh.po | 188 ++-- po/yi.po | 188 ++-- po/zh_CN.po | 926 ++++++++++---------- po/zh_HK.po | 938 ++++++++++---------- po/zh_TW.po | 923 ++++++++++---------- 96 files changed, 19793 insertions(+), 19818 deletions(-) commit 9203da305b1c840ebafe7d95f2e937348be0f333 Author: Matthias Clasen Date: Tue Sep 22 12:36:50 2009 -0400 some doc updates docs/reference/glib/glib-sections.txt | 3 +++ 1 file changed, 3 insertions(+) commit 3413e758eb4fb15559e9da1b38efd59fcca81401 Author: Matthias Clasen Date: Tue Sep 22 10:37:05 2009 -0400 Updates NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit 74326a38658ebb9dbd59c9d8899a0bbb646301e5 Author: Matthias Clasen Date: Tue Sep 22 09:41:04 2009 -0400 Set version to 2.22.0 configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01ccc9e3bac498e714087b2be543442aa2eadcaa Author: Matej Urbančič Date: Tue Sep 22 12:21:02 2009 +0200 Updated Slovenian translation po/sl.po | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 1c46514d5e072f3baee0145798e023610e895ab2 Author: Matej Urbančič Date: Tue Sep 22 12:15:38 2009 +0200 Updated Slovenian translation po/sl.po | 1439 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 740 insertions(+), 699 deletions(-) commit c755a7fd11ca5f865f6ccd477e0f4db3799161fa Author: Mart Raudsepp Date: Sun Sep 13 04:42:33 2009 +0300 gio: Fix some typos in G*AppInfo documentation gio/gappinfo.c | 10 +++++----- gio/gappinfo.h | 4 ++-- gio/gdesktopappinfo.c | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) commit 924f1bc528b212aab91adf608ef32e41b67f3298 Author: Mart Raudsepp Date: Sun Sep 13 00:20:01 2009 +0300 Accept -? for glib-mkenums. Commit 789e260638d tried to add support for -?, but there is a typo and instead -h was added when already present instead of -? for one of the cases. It works without this corrections, because all unrecognized options trigger usage showing as well, but this is more correct. This was bug 556706 originally. gobject/glib-mkenums.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c061da2a232d8c817d9744a234ceee7b87b3dd8 Author: Mart Raudsepp Date: Sat Sep 12 19:49:01 2009 +0300 gio: Fix a Since tag to actually show up in new API of 2.20 indeces Typo made in e05426062 gio/gdatainputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7feb4c3631a0745b3696454630be3aa3365d1067 Author: Nguyễn Thái Ngọc Duy Date: Tue Sep 22 09:59:13 2009 +0700 po/vi.po: fix type "thoạt" po/vi.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a830fbd62c05193982c72a375251b2202986152f Author: Alexander Larsson Date: Mon Sep 21 15:36:45 2009 +0200 Document new gdb macros docs/reference/glib/running.sgml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 42320706c4dd6a4517a402dc5da5c27dfc6a5356 Author: Alexander Larsson Date: Mon Sep 21 15:21:52 2009 +0200 Add gforeach gdb command glib/glib.py | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) commit 2b8943237f137f287b0b0854f80198de54fd26ea Author: Alexander Larsson Date: Mon Sep 21 12:26:23 2009 +0200 Add pretty printer for hashtables glib/glib.py | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) commit 2e8768d9a556afd2b2e6c974dcbcf24fee5ba6ff Author: Alexander Larsson Date: Mon Sep 21 11:06:39 2009 +0200 Add pretty printing for GList and GSList glib/glib.py | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) commit efe9169234e226f594b4254618f35a139338c35f Author: Alexander Larsson Date: Fri Sep 18 17:15:32 2009 +0200 Initial support for gdb python macros This includes support for gobject pointer pretty printing and signal frame compression in backtraces. https://bugzilla.gnome.org/show_bug.cgi?id=595619 glib/Makefile.am | 13 +- glib/glib.py | 27 ++++ glib/libglib-gdb.py.in | 10 ++ gobject/Makefile.am | 12 +- gobject/gobject.py | 305 ++++++++++++++++++++++++++++++++++++++++++ gobject/libgobject-gdb.py.in | 10 ++ 6 files changed, 375 insertions(+), 2 deletions(-) commit 18af48ba9a347e2041c4986aaaac73fdd5386de3 Author: Chao-Hsiung Liao Date: Mon Sep 21 20:54:02 2009 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 945 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 930 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 938 insertions(+), 937 deletions(-) commit 652f47fd2a9544e07cd6cbc5ca0d31d21c1ccd34 Author: Petr Kovar Date: Sun Sep 20 22:26:17 2009 +0200 Updated Czech translation po/cs.po | 921 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 464 insertions(+), 457 deletions(-) commit 5b30a46da4eadbd620f34e66e7b981f2dfe91a4f Author: Ani Date: Sun Sep 20 21:04:45 2009 +0530 Updated Malayalam Translations po/ml.po | 150 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 76 insertions(+), 74 deletions(-) commit 7a010ac2d409fc7ea849034ca7a5bda150ee0fad Author: Gil Forcada Date: Sat Sep 19 18:04:56 2009 +0200 Updated Catalan translation po/ca.po | 1088 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 540 insertions(+), 548 deletions(-) commit 80f66b114193d3c1b5a5c5d4f34b01cba53208ca Author: Paolo Borelli Date: Sat Sep 19 10:21:36 2009 +0200 Fix build with srcdir != builddir, bug #594597 gio/win32/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 8b3853b8a1cc94767c5391808274f931a48f6cbb Author: Matthias Clasen Date: Fri Sep 18 19:16:11 2009 -0400 Reduce false positives in static analysis Tools like clang fail to recognize that stanzas like g_return_if_fail (GTK_IS_FOO (w)) guarantee w != NULL. By minimally rewriting the type-checking macros, we can avoid these false positives. gobject/gtype.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 53fc10d2695f917db530c9a3f166e45be59d1d3a Author: Matthias Clasen Date: Wed Sep 9 00:18:23 2009 -0400 Fix a lot of clang complaints Mostly dead assignments. gio/gbufferedoutputstream.c | 9 ++------- gio/gdatainputstream.c | 7 +------ gio/gdummyfile.c | 5 +---- gio/ginputstream.c | 16 +++++----------- gio/giostream.c | 4 ---- gio/glocalfile.c | 20 ++++++++------------ gio/glocalfileinputstream.c | 4 ---- gio/goutputstream.c | 34 +++++++++++++++------------------- gio/gunixinputstream.c | 4 ---- gio/gunixoutputstream.c | 4 ---- glib/gfileutils.c | 3 +-- glib/gkeyfile.c | 3 +-- glib/gregex.c | 6 +----- 13 files changed, 35 insertions(+), 84 deletions(-) commit 04d632ccf59ce0491261ff87b3867012cb56d8bf Author: Dumitru Mișu Moldovan Date: Fri Sep 18 00:17:32 2009 +0300 Updated Romanian translation po/ro.po | 1086 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 536 insertions(+), 550 deletions(-) commit 3bfba7924c94aa3a3bcc14e6eeee4fa691108dd0 Author: Miloš Popović Date: Thu Sep 17 17:58:52 2009 +0000 Updated Serbian translation po/sr.po | 1381 +++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 1392 +++++++++++++++++++++++++++----------------------------- 2 files changed, 1351 insertions(+), 1422 deletions(-) commit dd7f660fb7b059d16cea6e33550a14ca2625c813 Author: krishnababu k Date: Thu Sep 17 21:18:57 2009 +0530 Updated Telugu Translation po/te.po | 960 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 475 insertions(+), 485 deletions(-) commit 256662ddbaec90688c1725d504efc1248eacb7e1 Author: ifelix Date: Thu Sep 17 15:50:19 2009 +0530 Updated Tamil Translations po/ta.po | 961 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 477 insertions(+), 484 deletions(-) commit 78c548b506db0527335011ce92558bc1a9d5ebf0 Author: Fran Diéguez Date: Wed Sep 16 16:15:05 2009 +0200 UPdated Galician Translation po/gl.po | 946 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 472 insertions(+), 474 deletions(-) commit d88b6a3d60f0f84cf192c1b4093a0ae2362d7f02 Author: Runa Bhattacharjee Date: Tue Sep 15 18:31:49 2009 +0530 Updated Bengali India Translations po/bn_IN.po | 1097 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 536 insertions(+), 561 deletions(-) commit 011592af55d980cfb21c51f5d4bcdd09cce865ec Author: Manoj Kumar Giri Date: Tue Sep 15 16:22:41 2009 +0530 Upadted Oriya Translation po/or.po | 964 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 477 insertions(+), 487 deletions(-) commit ddc85a8b0242407c6234bbe2ebc49b873bf02396 Author: Theppitak Karoonboonyanan Date: Tue Sep 15 14:29:36 2009 +0700 Updated Thai translation. po/th.po | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 3a240a7f718a44724008d35123c6f7b98abc896a Author: Amitakhya Phukan Date: Tue Sep 15 12:48:50 2009 +0530 Updating Assamese translations. po/as.po | 42 ++++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) commit ef5e66c330cdc3f8d93ba33a0dfe251f98883204 Author: Kjartan Maraas Date: Mon Sep 14 00:16:51 2009 +0200 Update Norwegian bokmål translation. po/nb.po | 924 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 465 insertions(+), 459 deletions(-) commit 220bde833af1bba3e535f727173b84a362374399 Author: Aron Xu Date: Sun Sep 13 15:09:29 2009 +0800 Updated Simplified Chinese translation. po/zh_CN.po | 1082 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 540 insertions(+), 542 deletions(-) commit 7e514b6efaf6daae23c09a1e13ed65d2d8aa8008 Author: A S Alam Date: Sun Sep 13 08:58:57 2009 +0530 Updating Translation for Punjabi po/pa.po | 956 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 474 insertions(+), 482 deletions(-) commit e1957bd71c999ba5189a7fe94880647e84fa6357 Author: Ask H. Larsen Date: Sun Sep 13 03:16:47 2009 +0200 Updated Danish translation po/da.po | 930 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 467 insertions(+), 463 deletions(-) commit 6366015decc608a74e2019ccb0d39dbc6e3f06ba Author: Bruce Cowan Date: Sat Sep 12 20:04:29 2009 +0100 Updated British English translation po/en_GB.po | 1120 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 556 insertions(+), 564 deletions(-) commit a92f10d712b6278364e02178c873a084bfbf9e19 Author: Tommi Vainikainen Date: Sat Sep 12 19:10:57 2009 +0300 Updated Finnish translation po/fi.po | 930 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 467 insertions(+), 463 deletions(-) commit 410305255d0acfa5e105a444cdf8b302b31b94a2 Author: Tor Lillqvist Date: Sat Sep 12 01:57:46 2009 +0300 Remove old crap for fetching the "build" directory from svn autogen.sh | 17 ----------------- 1 file changed, 17 deletions(-) commit 866731776651e04178a6cc1e78d244384a890d1a Author: Sjoerd Simons Date: Wed Sep 2 17:48:09 2009 +0100 Fix GNetworkAddress skipping addresses when enumerating g_network_address_address_enumerator_next_finish takes the first item of the address list and moves the pointer to the next one, so we shouldn't do the same in g_network_address_address_enumerator_next_async function Fixes bug #593941 gio/gnetworkaddress.c | 5 ----- 1 file changed, 5 deletions(-) commit cdd04f36cac838f92826cbf415868100a4007741 Author: Richard Hughes Date: Wed Sep 2 19:15:38 2009 +0100 Make the error const for g_simple_async_result_set_from_error gio/gsimpleasyncresult.c | 2 +- gio/gsimpleasyncresult.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 11477609d1f2782fd4bbb3022d2ec46983930c6a Author: James Hunt Date: Thu Sep 10 17:18:13 2009 +0100 g_socket_send_message() fails due to invalid sendmsg(2) params. g_socket_send_message() and g_socket_send_to() fail with ENOBUFS or EFAULT due to the fact that if no "address" argument is specified to g_socket_send_message, when g_socket_send_message() calls sendmsg(2), the 2nd parameter to sendmsg ("const struct msghdr *msg") contains uninitialized values. The fix is simple - initialize msg.msg_name to NULL and msg.msg_msg_namelen to 0. https://bugzilla.gnome.org/show_bug.cgi?id=594759 gio/gsocket.c | 5 +++++ 1 file changed, 5 insertions(+) commit 29baa5eebdce27d10c6f36ae8ad4fbc77d04f291 Author: Rajesh Ranjan Date: Fri Sep 11 16:00:29 2009 +0530 hindi update by Rajesh Ranjan po/hi.po | 948 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 471 insertions(+), 477 deletions(-) commit 9dc9b39284b78b63fad4a713ab6ea4154d4e8ff5 Author: Ani Date: Fri Sep 11 12:18:50 2009 +0530 Updated Malayalam Translations po/ml.po | 976 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 480 insertions(+), 496 deletions(-) commit c3bbec5213d1e77253fd2cef67d6838041bb2f1f Author: Maxim V. Dziumanenko Date: Fri Sep 11 01:48:56 2009 +0300 Updated Ukrainian translation po/uk.po | 1104 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 520 insertions(+), 584 deletions(-) commit 278ac0a45d2b677a0928b1c31b3e20a4c265ffb0 Author: Christian Dywan Date: Thu Sep 10 16:40:11 2009 +0200 Bug 579050 Allow making selected critical and warning messages non-fatal Implement g_test_log_set_fatal_handler which is a function similar to g_log_set_default_handler but for use in unit tests where certain errors have to be ignored because it is not possible to fix or avoid them otherwise. A unit test is added. glib/glib.symbols | 3 +++ glib/gmessages.c | 47 +++++++++++++++++++++++++++++++++++++++++++++-- glib/gtestutils.c | 1 + glib/gtestutils.h | 21 +++++++++++++++++++++ glib/tests/testing.c | 27 +++++++++++++++++++++++++++ 5 files changed, 97 insertions(+), 2 deletions(-) commit 4b1217b7e0e8d2e7e4187e8b328e10ad72066392 Author: Shankar Prasad Date: Thu Sep 10 12:26:13 2009 +0530 Updated Kannada(kn) translation po/kn.po | 973 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 479 insertions(+), 494 deletions(-) commit 664dd256654b5def0bd6cdd5e3918bba78fedd52 Author: Kostas Papadimas Date: Wed Sep 9 18:38:12 2009 +0300 Updated Greek translation. po/el.po | 1391 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 708 insertions(+), 683 deletions(-) commit 593cd7a683c267e9e02e3d0b8bc653a253f17df5 Author: Sweta Kothari Date: Wed Sep 9 16:54:43 2009 +0530 Updated Gujarati Translations po/gu.po | 952 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 472 insertions(+), 480 deletions(-) commit f393e805874db16334c5c4f4aa7fa1c73964ca34 Author: Dan Winship Date: Tue Sep 8 11:19:13 2009 -0400 Clarify g_ptr_array_set_size() docs re: free_func docs/reference/glib/tmpl/arrays_pointer.sgml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit eadd2ce7fff83f86c4803aa5e2e251f554639bb6 Author: Alexander Shopov Date: Tue Sep 8 07:41:28 2009 +0300 Updated Bulgarian translation po/bg.po | 926 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 466 insertions(+), 460 deletions(-) commit bc1dd5cf11dc920ff44d51051e1e695b0b8ea421 Author: Dan Winship Date: Sun Sep 6 13:54:50 2009 -0400 Call element_free_func when shrinking array with g_ptr_array_set_size glib/garray.c | 8 ++------ glib/tests/array-test.c | 4 +++- 2 files changed, 5 insertions(+), 7 deletions(-) commit 9a29f087e76fd01188cff73ce1dfe802bd815b15 Author: Sandeep Shedmake Date: Mon Sep 7 19:14:52 2009 +0530 Updated Marathi Translations po/mr.po | 952 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 472 insertions(+), 480 deletions(-) commit 8af494d987b7482865439f882d1375767b57732f Author: Alexander Larsson Date: Mon Sep 7 12:50:58 2009 +0200 Avoid reading uninitialized memory If the statfs call fails, don't look at the result. gio/glocalfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 06de24f430d4b43733dec63ca0b840d129a716e2 Author: Alexander Larsson Date: Mon Sep 7 10:25:14 2009 +0200 Remove warning in g_simple_async_result_complete This warning hits code that uses GSimpleAsyncResult outside of a mainloop as a helper object. For instance EggDBus does this. Since the bugs this warning would fix are pretty easy to spot and since EggDBus is deployed already we just remove the "called from outside main loop" warning. However, we need to keep the "called from wrong context" warning as that is very helpful when debugging misuse of the new multiple main context code. gio/gsimpleasyncresult.c | 2 -- 1 file changed, 2 deletions(-) commit 034d516160ffacbb805ad28cfdb848134f26c1dc Author: Matthias Clasen Date: Mon Sep 7 03:28:35 2009 -0400 Another dead assignment gio/gmemoryoutputstream.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 6cda9bfb02314fff5e994a80164be16c67d14253 Author: Matthias Clasen Date: Mon Sep 7 03:14:15 2009 -0400 Remove a dead initialization gio/gthemedicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30645bd0a584137585d572b37f39d2904bba0a8f Author: Matthias Clasen Date: Mon Sep 7 03:12:06 2009 -0400 Remove a dead increment gio/glocalfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d1ffbf361503ac1f8236673f400e0f317635930 Author: Matthias Clasen Date: Mon Sep 7 03:10:01 2009 -0400 Remove another dead assignment gio/gdatainputstream.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit f2c8572d8490544496934612854a86fecbaf99ba Author: Matthias Clasen Date: Mon Sep 7 03:07:22 2009 -0400 Remmove a dead assignment. Spotted by clang. gio/gbufferedinputstream.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 1ec32c403bac36ca9f72e82c23b14045bc323931 Author: Matthias Clasen Date: Mon Sep 7 03:02:58 2009 -0400 Move a assignment to the relevant #ifdef branch Dead code spotted by clang. gio/gcancellable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e67c3cf2b0251acfca74d680d9b4c2b7547c61a7 Author: Matthias Clasen Date: Mon Sep 7 03:01:02 2009 -0400 Remove dead code gio/gvolumemonitor.c | 4 ---- 1 file changed, 4 deletions(-) commit 80fd5ed402bf57a3c5cbd90eecc3f58f3f06bc08 Author: Matthias Clasen Date: Mon Sep 7 02:50:51 2009 -0400 Don't evaluate an uninitialized value Bug found by clang. gio/gdesktopappinfo.c | 1 + 1 file changed, 1 insertion(+) commit 7ea8a2a86326b6f5f0f62a334fdd307d6526f782 Author: Tomasz Dominikowski Date: Sun Sep 6 14:20:45 2009 +0200 Updated Polish translation po/pl.po | 1346 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 687 insertions(+), 659 deletions(-) commit 93fbae22d4d6fddf69c2b7276f24fcc3cfcf0403 Author: Takayuki KUSANO Date: Sat Sep 5 22:34:58 2009 +0900 Update Japanese translation po/ja.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 6b406dda7b3061bd890878823fbafe2c6ffc019a Author: Jorge González Date: Sat Sep 5 13:47:41 2009 +0200 Updated Spanish translation po/es.po | 930 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 465 insertions(+), 465 deletions(-) commit e77b8278841d89f9e2c82e09b844a472496ab43e Author: Matthias Clasen Date: Fri Sep 4 21:20:09 2009 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 296d481c7e5de27175e68ff7645975442a449fc5 Author: Matthias Clasen Date: Fri Sep 4 21:19:02 2009 -0400 2.21.6 po/am.po | 75 +-- po/ar.po | 75 +-- po/as.po | 957 +++++++++++++++++++------------------- po/az.po | 75 +-- po/be.po | 77 ++-- po/be@latin.po | 77 ++-- po/bg.po | 75 +-- po/bn.po | 75 +-- po/bn_IN.po | 75 +-- po/bs.po | 75 +-- po/ca.po | 75 +-- po/ca@valencia.po | 75 +-- po/cs.po | 918 +++++++++++++++++++------------------ po/cy.po | 75 +-- po/da.po | 75 +-- po/de.po | 925 +++++++++++++++++++------------------ po/dz.po | 75 +-- po/el.po | 76 ++-- po/en_CA.po | 75 +-- po/en_GB.po | 75 +-- po/eo.po | 75 +-- po/es.po | 75 +-- po/et.po | 464 ++++++++++++++++++- po/eu.po | 978 +++++++++++++++++++-------------------- po/fa.po | 75 +-- po/fi.po | 75 +-- po/fr.po | 920 ++++++++++++++++++------------------- po/ga.po | 75 +-- po/gl.po | 75 +-- po/gu.po | 75 +-- po/he.po | 75 +-- po/hi.po | 75 +-- po/hr.po | 75 +-- po/hu.po | 134 +++--- po/hy.po | 75 +-- po/id.po | 75 +-- po/is.po | 75 +-- po/it.po | 923 +++++++++++++++++++------------------ po/ja.po | 75 +-- po/ka.po | 75 +-- po/kn.po | 971 ++++++++++++++++++++------------------- po/ko.po | 75 +-- po/ku.po | 75 +-- po/lt.po | 75 +-- po/lv.po | 75 +-- po/mai.po | 75 +-- po/mg.po | 75 +-- po/mk.po | 75 +-- po/ml.po | 974 ++++++++++++++++++++------------------- po/mn.po | 75 +-- po/mr.po | 950 +++++++++++++++++++------------------- po/ms.po | 75 +-- po/nb.po | 918 +++++++++++++++++++------------------ po/ne.po | 75 +-- po/nl.po | 75 +-- po/nn.po | 75 +-- po/oc.po | 74 +-- po/or.po | 109 +++-- po/pa.po | 75 +-- po/pl.po | 75 +-- po/ps.po | 75 +-- po/pt.po | 925 +++++++++++++++++++------------------ po/pt_BR.po | 925 +++++++++++++++++++------------------ po/ro.po | 75 +-- po/ru.po | 75 +-- po/rw.po | 75 +-- po/si.po | 75 +-- po/sk.po | 75 +-- po/sl.po | 75 +-- po/sq.po | 76 ++-- po/sr.po | 75 +-- po/sr@ije.po | 75 +-- po/sr@latin.po | 75 +-- po/sv.po | 1312 ++++++++++++++++++++++++++--------------------------- po/ta.po | 950 +++++++++++++++++++------------------- po/te.po | 959 ++++++++++++++++++++------------------- po/th.po | 75 +-- po/tl.po | 75 +-- po/tr.po | 922 ++++++++++++++++++------------------- po/tt.po | 75 +-- po/uk.po | 75 +-- po/vi.po | 75 +-- po/wa.po | 75 +-- po/xh.po | 75 +-- po/yi.po | 75 +-- po/zh_CN.po | 75 +-- po/zh_HK.po | 75 +-- po/zh_TW.po | 75 +-- 88 files changed, 11117 insertions(+), 10197 deletions(-) commit 05c2aeaf33ad1ff3447d57a361abdb238b8f822b Author: Matthias Clasen Date: Fri Sep 4 20:41:25 2009 -0400 Add a Since: tag glib/gfileutils.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 2ae69f5124022d93dfc0e39964bbf68eb1f61245 Author: Matthias Clasen Date: Fri Sep 4 20:26:26 2009 -0400 Updates NEWS | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 4114f1214c65f0a142678bf98b1d8e4da43bf665 Author: Benjamin Otte Date: Thu Sep 3 15:39:57 2009 +0200 Bug 594034 - Use g_mkstemp_full() when creating the replacement file Previous code used g_mkstemp(). But when using G_FILE_CREATE_REPLACE_DESTINATION, no attempt was made to ensure proper mode and flags of the created temporary file. The visible issue was that the file was always created with mode 0600 as opposed to using 0666. (The invisible issue was that O_RDWR was used instead of O_WRONLY.) docs/reference/glib/tmpl/glib-unused.sgml | 67 ++++++++++++++++++++++++++++ docs/reference/glib/tmpl/macros_misc.sgml | 5 +-- docs/reference/glib/tmpl/misc_utils.sgml | 7 +++ docs/reference/glib/tmpl/version.sgml | 68 ----------------------------- gio/glocalfileoutputstream.c | 2 +- 5 files changed, 77 insertions(+), 72 deletions(-) commit 24bec5c5bd64eb829a433e4c1e8d34dc25879a64 Author: Benjamin Otte Date: Thu Sep 3 15:36:37 2009 +0200 Bug 594034 - Add g_mkstemp_full() This function exposes more variables than g_mkstemp() and therefor allows more flexibility when creating temporary files. The intended use is gio's code for g_file_replace() (see next patch) docs/reference/glib/glib-sections.txt | 1 + docs/reference/glib/tmpl/fileutils.sgml | 11 ++++++++ glib/gfileutils.c | 44 ++++++++++++++++++++++++------- glib/gfileutils.h | 3 +++ glib/glib.symbols | 1 + 5 files changed, 50 insertions(+), 10 deletions(-) commit 16ddefea15ceeded936c53aa1b867eb53d7d97f3 Author: Ivar Smolin Date: Fri Sep 4 18:58:00 2009 +0300 Updating Estonian translation po/et.po | 472 ++------------------------------------------------------------ 1 file changed, 9 insertions(+), 463 deletions(-) commit c642965b234cdc9959c79d2fd3019f63a0520fad Author: Christian Kirbach Date: Fri Sep 4 15:16:04 2009 +0200 Updated German translation po/de.po | 1185 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 592 insertions(+), 593 deletions(-) commit c77fd0bb04f612e7d16d48379cc3ec835c8d5fa2 Author: Daniel Nylander Date: Fri Sep 4 06:31:34 2009 +0200 Updated Swedish translation po/sv.po | 1316 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 672 insertions(+), 644 deletions(-) commit 7628e1b4773142fc89f2365069c3e5a59ffb15ab Author: Claude Paroz Date: Fri Sep 4 00:07:40 2009 +0200 Updated French translation po/fr.po | 924 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 464 insertions(+), 460 deletions(-) commit 5a66c4bdb76b853b05baf7b01c8e2be49022c8a6 Author: Fábio Nogueira Date: Wed Sep 2 12:28:59 2009 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 933 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 472 insertions(+), 461 deletions(-) commit de125e51a04a5ebdc652fb4e611a5bd1ba57c210 Author: Inaki Larranaga Murgoitio Date: Wed Sep 2 18:19:27 2009 +0200 Updated Basque language po/eu.po | 982 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 484 insertions(+), 498 deletions(-) commit ff9b29ce5b7d8bd20d4527e2e364b68ebce01c75 Author: Gabor Kelemen Date: Wed Sep 2 18:05:23 2009 +0200 Hungarian translation updated po/hu.po | 335 +++++++++++++++++++++----------------------------------------- 1 file changed, 115 insertions(+), 220 deletions(-) commit f2320a40f1d356ba7f15e592c03018ba2b42c4bd Author: Duarte Loreto Date: Tue Sep 1 23:34:41 2009 +0100 Updated Portuguese translation po/pt.po | 929 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 469 insertions(+), 460 deletions(-) commit f783515323963d2f9011cab5b6b2e767fe790425 Author: Luca Ferretti Date: Tue Sep 1 23:47:14 2009 +0200 Updated Italian translation po/it.po | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit 3826963e65d8c4c68bcd3e4066505f63ef734b95 Author: Benjamin Otte Date: Tue Sep 1 21:53:35 2009 +0200 Use lchmod instead of stat + chown if available Fallout of the NOFLOOW_SYMLINKS fix from bug 593406 configure.in | 2 +- gio/glocalfileinfo.c | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) commit 48e0af0157f52ac12b904bd92540432a18b139c7 Author: Benjamin Otte Date: Tue Sep 1 21:26:08 2009 +0200 Bug 593406 - Permissions set to 777 after copying via Nautilus Only fail to set the permissions when the actual file is a symlink. The previous fix failed for every file when NOFOLLOW_SYMLINKS was set. gio/glocalfileinfo.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit bb7852e34b1845e516290e1b45a960a345ee8a43 Author: Benjamin Otte Date: Tue Sep 1 20:36:31 2009 +0200 Only do the chmod NOFOLLOW_SYMLINK checks with HAVE_SYMLINK gio/glocalfileinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8212aadac79d70153d880fe1f21914a2b491dca3 Author: Dan Winship Date: Tue Sep 1 09:37:48 2009 -0400 g_time_val_from_iso8601: handle timezoneless dates per ISO 8601:2004 4.2.5.2 Based on a patch from Andy Shevchenko http://bugzilla.gnome.org/show_bug.cgi?id=589491 glib/gtimer.c | 18 +++++++++++++----- tests/testglib.c | 21 +++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) commit fc44bf40a4eff8e122b223e97ee5efcbc548be03 Author: Benjamin Otte Date: Tue Sep 1 12:48:55 2009 +0200 Fix gtk-doc syntax gio/gcancellable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e695c0932f5d02f3b222f0b7a3de1f8c00ba7b81 Author: Benjamin Otte Date: Tue Sep 1 11:54:48 2009 +0200 Bug 593406 - Permissions set to 777 after copying via Nautilus When doing a g_file_copy() with nofollow-symlinks (to copy a link for example), the later copying of the file attributes copies the source links 777 attributes to the target's attributes. As chmod affects the symlink target, this would cause such copies to always set the target to 777 mode. This patch makes setting the mode with nofollow-symlinks fail with NOT_SUPPORTED. The aforementioned g_file_copy() will still succeed, because it ignores errors of the attribute copy. gio/glocalfileinfo.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit e967a47117d3b8fdb3e5c786e9069872d8e787c4 Author: Kjartan Maraas Date: Tue Sep 1 10:52:07 2009 +0200 Update Norwegian bokmål translation. po/nb.po | 920 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 464 insertions(+), 456 deletions(-) commit c433158e8676424ede4e396b6d4bf22d5210634b Author: Sandeep Shedmake Date: Mon Aug 31 20:47:13 2009 +0530 Updated Marathi Translations po/mr.po | 68 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) commit c59dbb4ddfb824c022087d15d75d3f5de1c032cc Author: Sandeep Shedmake Date: Mon Aug 31 20:29:16 2009 +0530 Updated Marathi Translations po/mr.po | 1145 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 528 insertions(+), 617 deletions(-) commit ee8e145472c9b90e89d568710b9672bb20ada524 Author: krishnababu k Date: Mon Aug 31 19:41:54 2009 +0530 Updated Telugu Translations po/te.po | 1185 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 547 insertions(+), 638 deletions(-) commit 3a7560b00a8846150be4d9d2113f352ff1ebcc7a Author: Shankar Prasad Date: Mon Aug 31 13:34:44 2009 +0530 Updated Kannada(kn) translation po/kn.po | 1188 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 546 insertions(+), 642 deletions(-) commit 31924b19806e31f38eff86d4e43248bec989fd3a Author: Rodrigo L. M. Flores Date: Sun Aug 30 19:41:47 2009 -0300 Updated Brazilian Portuguese mailing list address. po/pt_BR.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f2b8b6911235358d25b79d75f98d81b5062afe33 Author: Petr Kovar Date: Sat Aug 29 21:05:19 2009 +0200 Updated Czech translation po/cs.po | 1141 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 532 insertions(+), 609 deletions(-) commit c47dca4cfe51b9376c364ae13a444a6529afed8f Author: Matthias Clasen Date: Thu Aug 27 23:40:16 2009 -0400 Re-commit 30b8774f7f3f7f329af6b041b6c86bad14717534 Turns out Alex had agreed to this. gio/giomodule.c | 3 +++ 1 file changed, 3 insertions(+) commit 2889f1b8a322b0657f3c08a4f7e235e4c2c0f348 Author: Matthias Clasen Date: Thu Aug 27 23:02:08 2009 -0400 Use the saved errno value Bug 591995 gio/glocalfileoutputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ba64e72cf40b81f472aa784498c3a97ef434c94 Author: Matthias Clasen Date: Thu Aug 27 22:59:05 2009 -0400 Read /dev/urandom unbuffered To avoid wasting entropy. Bug 593232. glib/grand.c | 1 + 1 file changed, 1 insertion(+) commit 3a47f48311d44e690c381f816fd1fa71eed20189 Author: Matthias Clasen Date: Thu Aug 27 22:51:53 2009 -0400 Revert "add a "gsettings-backend" extension point to GIO" This reverts commit 30b8774f7f3f7f329af6b041b6c86bad14717534. gio/giomodule.c | 3 --- 1 file changed, 3 deletions(-) commit 30b8774f7f3f7f329af6b041b6c86bad14717534 Author: Ryan Lortie Date: Thu Aug 27 13:45:48 2009 -0400 add a "gsettings-backend" extension point to GIO gio/giomodule.c | 3 +++ 1 file changed, 3 insertions(+) commit df981f82a097f9a2f2739ec410fa928168b749f6 Author: Luca Ferretti Date: Wed Aug 26 22:04:58 2009 +0200 Updated Italian translation po/it.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 71b684b9cfe76d522a306993dba13fbcc52d0d73 Author: Luca Ferretti Date: Wed Aug 26 15:32:23 2009 +0200 Updated Italian translation po/it.po | 963 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 482 insertions(+), 481 deletions(-) commit 884c789ef5e074a2241d1b813847156db1cecdb0 Author: Amitakhya Phukan Date: Wed Aug 26 17:34:17 2009 +0530 Updating Assamese translations po/as.po | 1105 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 542 insertions(+), 563 deletions(-) commit 195abb97ff019d0fe7b50a9635830835933be7ae Author: Ani Date: Wed Aug 26 15:18:57 2009 +0530 Updated Malayalam Translations po/ml.po | 1196 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 550 insertions(+), 646 deletions(-) commit 6c1466a2d21820f2df189a258b0c124e7144ba12 Author: ifelix Date: Tue Aug 25 14:10:56 2009 +0530 Updated Tamil Translations po/ta.po | 1178 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 546 insertions(+), 632 deletions(-) commit 64b49c9087e8120489a0032d596c8837cbe014f9 Author: Manoj Kumar Giri Date: Tue Aug 25 12:14:41 2009 +0530 Updated Oriya Translation po/or.po | 176 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 77 insertions(+), 99 deletions(-) commit 24c31a79e1af916fe195e52c79ff8be558e4e848 Author: Baris Cicek Date: Tue Aug 25 00:38:34 2009 +0300 Updated Turkish translation. po/tr.po | 1151 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 534 insertions(+), 617 deletions(-) commit ef5aef582eb33fd29fe5ec427ef5d236656b8046 Author: Luca Ferretti Date: Mon Aug 24 21:28:11 2009 +0200 Fix bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83d3242d127ca61d94846341ab491bbe988d2b95 Author: Matthias Clasen Date: Mon Aug 24 14:15:13 2009 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 106cd06ff38fef0356961e1d2eaffaa022035b13 Author: Matthias Clasen Date: Mon Aug 24 14:13:49 2009 -0400 2.21.5 po/am.po | 120 ++--- po/ar.po | 120 ++--- po/as.po | 120 ++--- po/az.po | 120 ++--- po/be.po | 120 ++--- po/be@latin.po | 120 ++--- po/bg.po | 918 +++++++++++++++++----------------- po/bn.po | 120 ++--- po/bn_IN.po | 120 ++--- po/bs.po | 120 ++--- po/ca.po | 120 ++--- po/ca@valencia.po | 918 +++++++++++++++++----------------- po/cs.po | 120 ++--- po/cy.po | 120 ++--- po/da.po | 923 +++++++++++++++++----------------- po/de.po | 120 ++--- po/dz.po | 120 ++--- po/el.po | 120 ++--- po/en_CA.po | 120 ++--- po/en_GB.po | 120 ++--- po/eo.po | 120 ++--- po/es.po | 921 +++++++++++++++++----------------- po/et.po | 463 ++++++++++++++++- po/eu.po | 988 ++++++++++++++++++------------------ po/fa.po | 120 ++--- po/fi.po | 923 +++++++++++++++++----------------- po/fr.po | 120 ++--- po/ga.po | 921 +++++++++++++++++----------------- po/gl.po | 918 +++++++++++++++++----------------- po/gu.po | 945 ++++++++++++++++++----------------- po/he.po | 120 ++--- po/hi.po | 942 ++++++++++++++++++----------------- po/hr.po | 120 ++--- po/hu.po | 120 ++--- po/hy.po | 120 ++--- po/id.po | 120 ++--- po/is.po | 120 ++--- po/it.po | 921 +++++++++++++++++----------------- po/ja.po | 64 +-- po/ka.po | 120 ++--- po/kn.po | 120 ++--- po/ko.po | 931 +++++++++++++++++----------------- po/ku.po | 120 ++--- po/lt.po | 120 ++--- po/lv.po | 120 ++--- po/mai.po | 120 ++--- po/mg.po | 120 ++--- po/mk.po | 120 ++--- po/ml.po | 120 ++--- po/mn.po | 120 ++--- po/mr.po | 120 ++--- po/ms.po | 120 ++--- po/nb.po | 920 +++++++++++++++++----------------- po/ne.po | 120 ++--- po/nl.po | 120 ++--- po/nn.po | 120 ++--- po/oc.po | 120 ++--- po/or.po | 120 ++--- po/pa.po | 961 ++++++++++++++++++----------------- po/pl.po | 919 +++++++++++++++++----------------- po/ps.po | 120 ++--- po/pt.po | 927 +++++++++++++++++----------------- po/pt_BR.po | 923 +++++++++++++++++----------------- po/ro.po | 120 ++--- po/ru.po | 120 ++--- po/rw.po | 120 ++--- po/si.po | 120 ++--- po/sk.po | 120 ++--- po/sl.po | 120 ++--- po/sq.po | 120 ++--- po/sr.po | 120 ++--- po/sr@ije.po | 120 ++--- po/sr@latin.po | 120 ++--- po/sv.po | 1436 ++++++++++++++++++++++++++--------------------------- po/ta.po | 120 ++--- po/te.po | 921 +++++++++++++++++----------------- po/th.po | 120 ++--- po/tl.po | 120 ++--- po/tr.po | 120 ++--- po/tt.po | 120 ++--- po/uk.po | 120 ++--- po/vi.po | 120 ++--- po/wa.po | 120 ++--- po/xh.po | 120 ++--- po/yi.po | 120 ++--- po/zh_CN.po | 120 ++--- po/zh_HK.po | 936 +++++++++++++++++----------------- po/zh_TW.po | 921 +++++++++++++++++----------------- 88 files changed, 14418 insertions(+), 13942 deletions(-) commit eadef0325aefb68ae0747a7dbca7d6fca4130da2 Author: Matthias Clasen Date: Mon Aug 24 13:34:06 2009 -0400 Documentation fixes docs/reference/gio/gio-sections.txt | 5 +++++ docs/reference/glib/glib-sections.txt | 1 + gio/gfileinfo.c | 2 ++ 3 files changed, 8 insertions(+) commit d1cbb96428f316b77bd31686c7d9b0b96a40bc6e Author: Matthias Clasen Date: Mon Aug 24 12:21:08 2009 -0400 Updates NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 002da02df8927e1aa5979347402a6fc378dd172f Author: Carles Ferrando Date: Mon Aug 24 18:38:33 2009 +0200 Minor update to Catalan (Valencian) translation po/ca@valencia.po | 1005 ++++++++++++++++++++++++++--------------------------- 1 file changed, 488 insertions(+), 517 deletions(-) commit 2e0656063b2c2633ca0caaa9b2e119c3eaee37cf Author: Rajesh Ranjan Date: Mon Aug 24 16:52:25 2009 +0530 hindi updated by Rajesh Ranjan po/hi.po | 1176 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 545 insertions(+), 631 deletions(-) commit 4a5e71b847729341243df2f2a2cd0a8284f4b099 Author: Sweta Kothari Date: Mon Aug 24 14:23:56 2009 +0530 Updated Gujarati Translations po/gu.po | 1175 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 543 insertions(+), 632 deletions(-) commit 90f9eb6e40b6d8c37ca51467f915507ed6ceddc2 Author: Duarte Loreto Date: Sun Aug 23 14:59:14 2009 +0100 Updated Portuguese translation po/pt.po | 1088 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 540 insertions(+), 548 deletions(-) commit feedeb1d12fa490a8685fd00b492fdc054e07883 Author: Changwoo Ryu Date: Sun Aug 23 00:50:28 2009 +0900 Update Korean translation po/ko.po | 1126 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 558 insertions(+), 568 deletions(-) commit 8ef30758d56b21aa20c23e5c90a78142183003ed Author: Christian Persch Date: Thu Aug 20 15:13:43 2009 +0200 Preserve errno When using errno in g_set_error with _(), preserve errno. Bug #592457. glib/gconvert.c | 22 +++++++++++++++------- glib/gdir.c | 13 +++++++++---- glib/gspawn-win32.c | 9 ++++++--- glib/gspawn.c | 27 +++++++++++++++++++-------- 4 files changed, 49 insertions(+), 22 deletions(-) commit feff29aefc75459bc1b39235cb0e842fbf0fa2b4 Author: A S Alam Date: Sat Aug 22 06:15:29 2009 +0530 Update Punjabi after Review po/pa.po | 1094 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 527 insertions(+), 567 deletions(-) commit a568b054adf4abadfaa1bad293d484771d57f333 Author: Tommi Vainikainen Date: Fri Aug 21 23:43:53 2009 +0300 Updated Finnish translation po/fi.po | 1278 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 635 insertions(+), 643 deletions(-) commit 956996ddaa82ca5cfeb8e70191ef6b7716186a7c Author: Takayuki KUSANO Date: Fri Aug 21 00:15:12 2009 +0900 Update Japanese translation. po/ja.po | 233 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 115 insertions(+), 118 deletions(-) commit 2a880831edc4c22ed5ada05a31ab8a4f24b7d3e1 Author: Tomasz Dominikowski Date: Thu Aug 20 11:55:03 2009 +0200 Updated Polish translation po/pl.po | 1421 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 659 insertions(+), 762 deletions(-) commit cd5bd15987b573a436e715e59b0c651e50534bc1 Author: Dan Winship Date: Wed Aug 19 12:12:06 2009 -0400 Use MSG_NOSIGNAL in GSocket if it's available Even though we ignore SIGPIPE, gdb will still stop when the process receives one, which sometimes confuses people into thinking the app has crashed (eg, bug 578984, bug 590420), and is annoying anyway. So use MSG_NOSIGNAL if it's there. http://bugzilla.gnome.org/show_bug.cgi?id=591378 gio/gsocket.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 021dd960cf9c02b0ea59cbfa1db603d3f9a467f0 Author: Dan Winship Date: Wed Aug 19 12:07:53 2009 -0400 Re-run res_init() when resolv.conf changes libc caches the contents of resolv.conf, so if it changes (eg, because the network state changed), we need re-run res_init(). http://bugzilla.gnome.org/show_bug.cgi?id=584246 gio/gnetworkingprivate.h | 4 +++ gio/gresolver.c | 68 +++++++++++++++++++++++++++++++++++++++++++ gio/gresolver.h | 9 +++++- gio/gunixresolver.c | 72 +++++++++++++++++++++++++++++++--------------- gio/tests/resolver.c | 3 ++ 5 files changed, 132 insertions(+), 24 deletions(-) commit 6db03d73a45bc0acae0bb96849733bf0ab7ad454 Author: Benjamin Otte Date: Tue Aug 11 18:50:28 2009 +0200 When creating a pipe for a cancelled cancellable, write to it Includes (untested) fix for win32 that calls SetEvent() in that case. gio/gcancellable.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit faae032ad0579acf756e8848ebedbfda69d5b3be Author: Benjamin Otte Date: Tue Aug 11 15:12:20 2009 +0200 Use g_cancellable_release_fd() Part of: Bug 591388 - number of GCancellables available is too limited gio/gsocket.c | 10 +++++++++- gio/gunixinputstream.c | 3 ++- gio/gunixoutputstream.c | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) commit e2c97292c21dbb57d34d812cf48b331ca5cf0d60 Author: Benjamin Otte Date: Tue Aug 11 15:04:43 2009 +0200 Implement g_cancellable_release_fd() Part of: Bug 591388 - number of GCancellables available is too limited gio/gcancellable.c | 77 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 58 insertions(+), 19 deletions(-) commit 63426886ff4066fefbeaf2e6b08a6c04b39a7890 Author: Benjamin Otte Date: Tue Aug 11 14:52:56 2009 +0200 Add g_cancellable_release_fd() This patch only adds the function. The function is a NOP. See the API documentation for a rationale. Part of: Bug 591388 - number of GCancellables available is too limited docs/reference/gio/gio-sections.txt | 1 + gio/gcancellable.c | 30 ++++++++++++++++++++++++++++++ gio/gcancellable.h | 1 + gio/ginputstream.c | 2 +- gio/gio.symbols | 1 + 5 files changed, 34 insertions(+), 1 deletion(-) commit bb8e4f06ab1a0ada2c8835284ec5f853378694e2 Author: Benjamin Otte Date: Thu Aug 13 20:19:15 2009 +0200 Bug 591714 – Figure out failure handling for g_cancellable_make_pollfd() Make g_cancellable_make_pollfd() return a gboolean that indicates its error status. Update the code that calls this function accordingly. gio/gcancellable.c | 38 +++++++++++++++++++++++++------------- gio/gcancellable.h | 2 +- gio/gsocket.c | 19 ++++++------------- gio/gunixinputstream.c | 3 +-- gio/gunixoutputstream.c | 3 +-- 5 files changed, 34 insertions(+), 31 deletions(-) commit a0e3b4ae8447f0831397384a54f4be276e84764b Author: Og B. Maciel Date: Tue Aug 18 23:09:12 2009 -0400 Updated Brazilian Portuguese translation. po/pt_BR.po | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 981d14e85ccf8d1dc721bd44e030728eff9b2501 Author: Benjamin Otte Date: Thu Aug 6 18:17:32 2009 +0200 Improve documentation for g_error_matches() glib/gerror.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit a6ac4e90d5ab6a311aab545745ceb3e375bf65a4 Author: Benjamin Otte Date: Mon Jul 27 18:48:11 2009 +0200 Fix multiple returns in gtk-doc comment gio/gsocketservice.c | 1 - 1 file changed, 1 deletion(-) commit 8f6d26e9647db4e5f2336319e1b0ae439f54b75d Author: Dan Winship Date: Mon Aug 17 13:20:49 2009 -0400 g_inet_socket_address_to_native: properly zero out sockaddr_in6 gio/ginetsocketaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aa5293612f2eb0a6a02fbf74eb56bbf05faba8df Author: Ask H. Larsen Date: Sun Aug 16 19:10:50 2009 +0200 Updated Danish translation po/da.po | 1090 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 544 insertions(+), 546 deletions(-) commit 2db41f3df58a3d926da2a4afa7014118db2913e2 Author: Mattias Põldaru Date: Sat Aug 15 08:21:01 2009 +0300 Updating Estonian translation po/et.po | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 406c3aa019a6ce51534f170fd5b82108382a4c6f Author: Shixin Zeng Date: Fri Aug 14 23:21:12 2009 +0300 [Win32] Avoid superfluous '/' from g_file_resolve_relative_path() Patch from bug #591532. gio/win32/gwinhttpfile.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 1b298d6a1bc3b4e5c1c701f26e3981cdae4b89eb Author: Tor Lillqvist Date: Fri Aug 14 22:59:47 2009 +0300 Avoid gcc warning on Windows Avoid "function declaration isn't a prototype" warnings from gcc 4.4 in the Windows-specific code. glib/gutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c24f6e55276fac68b08df34b0d350f65afe994d9 Author: Frédéric Péters Date: Fri Aug 14 21:00:41 2009 +0200 Update GLIB_CHECK_COMPILE_WARNINGS macro to work with Autoconf 2.64 Quoting its NEWS file: "The m4sh macros AS_IF and AS_CASE can now be used in shell lists. The responsibility for supplying a trailing newline now belongs to the call site, but since most users did not add dnl, this generally results in fewer empty lines in configure." http://bugzilla.gnome.org/show_bug.cgi?id=591840 acglib.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eae6bdd397ef94a6f7c1a3e42c750b948a659fd2 Author: Priit Laes Date: Fri Aug 14 22:09:18 2009 +0300 Updating Estonian translation po/et.po | 118 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 56 insertions(+), 62 deletions(-) commit 37dbffe7d8b0f0985f9c4d37d5df604d81ff0bd0 Author: krishnababu k Date: Fri Aug 14 16:56:09 2009 +0530 Updated Telugu Translations po/te.po | 921 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 461 insertions(+), 460 deletions(-) commit 8b117b225e426b73c8fb2abc2ac5e56ed739ac96 Author: Alexander Shopov Date: Thu Aug 13 07:12:29 2009 +0300 Updated Bulgarian translation po/bg.po | 1140 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 529 insertions(+), 611 deletions(-) commit 4f8dfc6282cc29430775e1ebd2652d67c08b1a6c Author: Henrique P Machado Date: Tue Aug 11 23:40:09 2009 -0300 Updated Brazilian Portuguese translation. po/pt_BR.po | 1087 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 542 insertions(+), 545 deletions(-) commit d20a188b1250ab3cf211d684429127d99378e886 Author: Alexander Larsson Date: Tue Aug 11 20:22:51 2009 +0200 Only fsync if the existing file is > 0 bytes This means we don't sync in the case where we created an (empty) temp file and now replace it with the data. This fixes (among other things) the performance of trashing files. glib/gfileutils.c | 49 +++++++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 22 deletions(-) commit 79a70dc80056859f10b39c711ee43389e8c32a7f Author: Luca Ferretti Date: Tue Aug 11 01:27:08 2009 +0200 Updated Italian translation po/it.po | 1079 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 536 insertions(+), 543 deletions(-) commit c18bcd6e8e385628e55166eabbd93d5c87c82da0 Author: Antón Méixome Date: Mon Aug 10 16:26:46 2009 +0200 Updated Galician translation po/gl.po | 129 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 60 insertions(+), 69 deletions(-) commit a465508e2d3d52b919ccbf9f2c5bd90395922904 Author: Craig Loftus Date: Thu Jul 23 20:24:22 2009 +0100 Migrate gbase64 docs from SGML template to inline comments Fixes bug #589649. Signed-off-by: David King docs/reference/glib/tmpl/base64.sgml | 105 ---------------------------------- glib/gbase64.c | 20 +++++++ 2 files changed, 20 insertions(+), 105 deletions(-) commit 32c84729f5dac30170cf20aa44e6857a44e5349f Author: Inaki Larranaga Murgoitio Date: Mon Aug 10 13:57:21 2009 +0200 Updated Basque language po/eu.po | 1209 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 551 insertions(+), 658 deletions(-) commit f2d779aa0f5ba676fa8715710cebd2607cb339a3 Author: Antón Méixome Date: Sun Aug 9 16:35:09 2009 +0200 Updated Galician Translation po/gl.po | 1105 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 514 insertions(+), 591 deletions(-) commit f04a35e43bece5e51061dcef2ebc6dd6204a1c1b Author: Matthias Clasen Date: Fri Jul 17 20:34:16 2009 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5827f6674282d627efbb9c68d32577470d722192 Author: Seán de Búrca Date: Sat Aug 8 01:53:34 2009 -0600 Updated Irish translation po/ga.po | 1125 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 545 insertions(+), 580 deletions(-) commit 93d40918c59981f863d31a10d9f66a2a9b3177ff Author: Philip Withnall Date: Sat Aug 1 16:46:02 2009 +0100 Added clarification to mutex free functions Clarified that it is A Bad Idea to free a mutex when it's locked. docs/reference/glib/tmpl/threads.sgml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit faccd7fdf3edb8416aacc0191fdb6c5b2965ac6d Author: Ivar Smolin Date: Wed Aug 5 13:29:26 2009 +0300 Updating Estonian translation po/et.po | 513 ++++---------------------------------------------------------- 1 file changed, 27 insertions(+), 486 deletions(-) commit 405823aeea24fb2ce8d47e0c09e46607117fd27f Author: Kjartan Maraas Date: Mon Aug 3 00:16:54 2009 +0200 Updated Norwegian bokmål translation. po/nb.po | 54 +++++++++++++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) commit 882e36106d7a5d04c29af87e4e9f7aa4bc3d5e08 Author: Dan Winship Date: Thu Jul 30 11:18:35 2009 -0400 Fix a bad void return. #588901 gio/gtcpconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f34b1f024feb57e6eb78728d46ff2bbf2ca19453 Author: Dan Winship Date: Wed Jul 29 22:35:07 2009 -0400 Conditionalize portability #includes in g-asyncns.h http://bugzilla.gnome.org/show_bug.cgi?id=589988 gio/libasyncns/g-asyncns.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 81de534cf73b63add07ff93d851824da80eb4280 Author: Daniel Nylander Date: Tue Jul 28 01:59:05 2009 +0200 Updated Swedish translation po/sv.po | 1547 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 782 insertions(+), 765 deletions(-) commit 45067ab9e97de0992acd4004d6e4de957d6c28f4 Author: Dan Winship Date: Thu Jul 23 16:27:01 2009 -0400 Fix leaks in GSocketClient and GThreadedResolver Also update gio/tests/send-data.c to test async connection, and free more stuff in several tests to make leaks easier to see. gio/gsocketclient.c | 3 +++ gio/gthreadedresolver.c | 6 +++++- gio/tests/send-data.c | 25 +++++++++++++++++++++---- gio/tests/socket-client.c | 2 ++ gio/tests/socket-server.c | 1 + 5 files changed, 32 insertions(+), 5 deletions(-) commit 66ff2542d32c93226a28ad1d0a60e83884b26910 Author: Kjartan Maraas Date: Wed Jul 22 18:58:57 2009 +0200 Updated Norwegian bokmål translation. po/nb.po | 987 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 492 insertions(+), 495 deletions(-) commit aac978ec7240cdab768c1d66c0e9a94c714dff43 Author: Tristan Van Berkom Date: Tue Jul 21 12:58:39 2009 -0400 Added clarification to GArray->len documentation Clarify that GArray->len does not include the possible terminating zero element. docs/reference/glib/tmpl/arrays.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4654a7d593aed9ab0e131abe250e7e488283c24f Author: Lin Ma Date: Tue Jul 21 10:45:25 2009 +0800 Fixed a missing head which will cause crashes for 64bit applications Without that head, the returned pointer will be truncated to 32bit, then causes crashes for 64bit applications. gio/fen/fen-helper.c | 1 + 1 file changed, 1 insertion(+) commit ba6be2035d9bd43b1a873492e189d0bccbd20178 Author: Behdad Esfahbod Date: Fri Jun 5 23:24:28 2009 -0400 [gbsearcharray] Use malloc() instead of realloc(NULL,...) glib/gbsearcharray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dfda26d1a980e6e096d93ecfec8f59872b80dee4 Author: Benjamin Otte Date: Mon Jul 20 14:29:32 2009 +0200 Propagate the right error gio/gsocketclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cf3e2ed275f8502e1a20195290fa18ebe489216 Author: Jorge González Date: Sun Jul 19 13:15:06 2009 +0200 Updated Spanish translation po/es.po | 1035 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 515 insertions(+), 520 deletions(-) commit 555aa2d28db4f72373d9cfec4045ea1d0f45bb46 Author: Theppitak Karoonboonyanan Date: Sun Jul 19 16:33:06 2009 +0700 Updated Thai translation. po/th.po | 169 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 78 insertions(+), 91 deletions(-) commit f8d1201248cceab59bb971f4906a73f2b0eb0b96 Author: Chao-Hsiung Liao Date: Sat Jul 18 21:09:14 2009 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1051 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 1036 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 1038 insertions(+), 1049 deletions(-) commit 9c278ded7d9a4db91dbe96aeb13b6cbb7841525b Author: Matthias Clasen Date: Fri Jul 17 20:31:28 2009 -0400 2.21.4 docs/reference/glib/tmpl/trees-binary.sgml | 17 + po/am.po | 228 ++++- po/ar.po | 234 ++++- po/as.po | 234 ++++- po/az.po | 233 ++++- po/be.po | 250 ++++- po/be@latin.po | 250 ++++- po/bg.po | 234 ++++- po/bn.po | 232 ++++- po/bn_IN.po | 234 ++++- po/bs.po | 233 ++++- po/ca.po | 237 ++++- po/ca@valencia.po | 237 ++++- po/cs.po | 234 ++++- po/cy.po | 232 ++++- po/da.po | 237 ++++- po/de.po | 234 ++++- po/dz.po | 232 ++++- po/el.po | 240 ++++- po/en_CA.po | 234 ++++- po/en_GB.po | 237 ++++- po/eo.po | 232 ++++- po/es.po | 1026 +++++++++++--------- po/et.po | 234 ++++- po/eu.po | 234 ++++- po/fa.po | 233 ++++- po/fi.po | 234 ++++- po/fr.po | 939 ++++++++++--------- po/ga.po | 229 ++++- po/gl.po | 234 ++++- po/gu.po | 234 ++++- po/he.po | 948 +++++++++---------- po/hi.po | 234 ++++- po/hr.po | 229 ++++- po/hu.po | 234 ++++- po/hy.po | 229 ++++- po/id.po | 232 ++++- po/is.po | 233 ++++- po/it.po | 234 ++++- po/ja.po | 234 ++++- po/ka.po | 230 ++++- po/kn.po | 234 ++++- po/ko.po | 234 ++++- po/ku.po | 228 ++++- po/lt.po | 234 ++++- po/lv.po | 232 ++++- po/mai.po | 233 ++++- po/mg.po | 229 ++++- po/mk.po | 234 ++++- po/ml.po | 234 ++++- po/mn.po | 233 ++++- po/mr.po | 234 ++++- po/ms.po | 233 ++++- po/nb.po | 1026 +++++++++++--------- po/ne.po | 229 ++++- po/nl.po | 242 ++++- po/nn.po | 234 ++++- po/oc.po | 228 ++++- po/or.po | 234 ++++- po/pa.po | 234 ++++- po/pl.po | 234 ++++- po/ps.po | 230 ++++- po/pt.po | 237 ++++- po/pt_BR.po | 234 ++++- po/ro.po | 234 ++++- po/ru.po | 234 ++++- po/rw.po | 245 ++++- po/si.po | 230 ++++- po/sk.po | 231 ++++- po/sl.po | 234 ++++- po/sq.po | 285 +++++- po/sr.po | 233 ++++- po/sr@ije.po | 235 ++++- po/sr@latin.po | 233 ++++- po/sv.po | 1406 ++++++++++++++++------------ po/ta.po | 234 ++++- po/te.po | 234 ++++- po/th.po | 237 ++++- po/tl.po | 232 ++++- po/tr.po | 234 ++++- po/tt.po | 231 ++++- po/uk.po | 1024 ++++++++++++-------- po/vi.po | 234 ++++- po/wa.po | 233 ++++- po/xh.po | 233 ++++- po/yi.po | 232 ++++- po/zh_CN.po | 234 ++++- po/zh_HK.po | 1041 +++++++++++--------- po/zh_TW.po | 1026 +++++++++++--------- 89 files changed, 21688 insertions(+), 5524 deletions(-) commit 4e273d4650621ea095dda5a5e3f1bac4ee8299ae Author: Matthias Clasen Date: Fri Jul 17 19:01:47 2009 -0400 Updates NEWS | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit e845e09524fb3be058688050e97f976b11a247dc Author: Yair Hershkovitz Date: Fri Jul 17 22:53:56 2009 +0300 Updated Hebrew translation po/he.po | 1062 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 633 insertions(+), 429 deletions(-) commit e4bf2ac41d605a2bd3c858790a0fe36b86bcf7d9 Author: Martin Nordholts Date: Fri Jul 17 16:49:53 2009 +0200 Support silent build rules with automake 1.11 Support silent build rules, requires at least automake-1.11. Enable by either passing --enable-silent-rules to configure or passing V=0 to make. Bug #588863. configure.in | 4 ++++ 1 file changed, 4 insertions(+) commit ad0c04c6e9e2ef16dce2e29aeba51f9a7ae8477c Author: Claude Paroz Date: Tue Jul 14 22:39:31 2009 +0200 Updated French translation po/fr.po | 1134 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 620 insertions(+), 514 deletions(-) commit 9bc208835760823f2fac4e406973d6387805416e Author: Claude Paroz Date: Tue Jul 14 18:54:58 2009 +0200 Add missing files in POTFILES.in po/POTFILES.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit d439c22e0ff7cec437cdc4037f7621c762ea3181 Author: Kjartan Maraas Date: Mon Jul 13 11:20:09 2009 +0200 Updated Norwegian bokmål translation. po/nb.po | 855 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 424 insertions(+), 431 deletions(-) commit e2844da68adb626f20ff9d02d51ca4259f56d55d Author: Chao-Hsiung Liao Date: Sun Jul 12 15:19:23 2009 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 917 +++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 890 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 898 insertions(+), 909 deletions(-) commit f7f16dc3a2da52183053c5cc0967f7fa6547f65a Author: Matthias Clasen Date: Fri Jul 10 22:33:03 2009 -0400 Remove outdated paragraph We no longer use PATCH or API keywords. README.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 7ba9674d719af6eaa4e7e661be34732215bdfe38 Author: Matthias Clasen Date: Fri Jul 10 13:13:18 2009 -0400 Avoid some compiler warnings. gobject/gtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91925d2cf040730f89935a39c0d7aef3b4eb59dd Author: Matthias Clasen Date: Fri Jul 10 13:11:28 2009 -0400 Another possible error code clash, yay glib/gstrfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c23536cefeacc72d03ad8a83f315758d751cb127 Author: Matthias Clasen Date: Fri Jul 10 11:18:31 2009 -0400 Improve g_str_equal docs Add a reference to g_strcmp0(), cf. bug 587938. glib/gstring.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 6f48065958e24927c84f2983f746e39a3212998c Author: Benjamin Otte Date: Thu Jul 9 15:34:00 2009 +0200 Fix a typo in GRegex documentation docs/reference/glib/tmpl/gregex.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c6884a7ec9999b6041dcad8ff3f7c7d93c55c0d2 Author: Maxim V. Dziumanenko Date: Thu Jul 9 10:51:15 2009 +0300 Updated Ukrainian translation po/uk.po | 912 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 454 insertions(+), 458 deletions(-) commit 4cecb335f4b1d8e39c9402788fb37b7173187dd0 Author: Jorge González Date: Tue Jul 7 22:34:35 2009 +0200 Updated Spanish translation po/es.po | 852 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 425 insertions(+), 427 deletions(-) commit 593ea5f6b08c6fb297c1faffed3ada8fb2d95c66 Author: Ryan Lortie Date: Tue Jul 7 21:29:46 2009 +0100 Ensure GTree is consistent after _destroy() See comment #9 on bug 587773 glib/gtree.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d2bb5f1b1ce0289628b12d98369f3fca92cde24 Author: Daniel Nylander Date: Tue Jul 7 19:46:59 2009 +0200 Updated Swedish translation po/sv.po | 1263 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 635 insertions(+), 628 deletions(-) commit 474ba7dbc37e352d39c0057bd2a31504828dde36 Author: Tor Lillqvist Date: Tue Jul 7 14:37:45 2009 +0300 Make it compile on Windows. Surround a symlink-related code snippet with ifdef S_ISLNK. gio/glocalfileinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 10ba0c2e5c6ed069420ec926c1094331c44fb71e Merge: eff73c9 8792d86 Author: Ryan Lortie Date: Tue Jul 7 09:45:31 2009 +0100 Merge branch 'tree-refcount' commit eff73c95e8bb971ccc134e79c15f73ea5a237d30 Author: Matthias Clasen Date: Mon Jul 6 00:33:49 2009 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 400959ddbdddaed22cfd7e898a4414730ecb3ec4 Author: Matthias Clasen Date: Mon Jul 6 00:31:47 2009 -0400 2.21.3 docs/reference/glib/tmpl/conversions.sgml | 9 - docs/reference/glib/tmpl/gurifuncs.sgml | 9 + docs/reference/gobject/glib-mkenums.1 | 11 +- po/am.po | 195 +++-- po/ar.po | 199 +++-- po/as.po | 199 +++-- po/az.po | 195 +++-- po/be.po | 195 +++-- po/be@latin.po | 199 +++-- po/bg.po | 199 +++-- po/bn.po | 195 +++-- po/bn_IN.po | 199 +++-- po/bs.po | 195 +++-- po/ca.po | 199 +++-- po/ca@valencia.po | 199 +++-- po/cs.po | 199 +++-- po/cy.po | 195 +++-- po/da.po | 199 +++-- po/de.po | 199 +++-- po/dz.po | 195 +++-- po/el.po | 199 +++-- po/en_CA.po | 199 +++-- po/en_GB.po | 199 +++-- po/eo.po | 195 +++-- po/es.po | 859 +++++++++++---------- po/et.po | 447 ++++++++++- po/eu.po | 199 +++-- po/fa.po | 195 +++-- po/fi.po | 199 +++-- po/fr.po | 199 +++-- po/ga.po | 195 +++-- po/gl.po | 199 +++-- po/gu.po | 199 +++-- po/he.po | 1182 ++++++++++++++--------------- po/hi.po | 199 +++-- po/hr.po | 195 +++-- po/hu.po | 199 +++-- po/hy.po | 195 +++-- po/id.po | 195 +++-- po/is.po | 195 +++-- po/it.po | 199 +++-- po/ja.po | 199 +++-- po/ka.po | 195 +++-- po/kn.po | 199 +++-- po/ko.po | 199 +++-- po/ku.po | 195 +++-- po/lt.po | 199 +++-- po/lv.po | 195 +++-- po/mai.po | 199 +++-- po/mg.po | 195 +++-- po/mk.po | 199 +++-- po/ml.po | 199 +++-- po/mn.po | 195 +++-- po/mr.po | 199 +++-- po/ms.po | 195 +++-- po/nb.po | 199 +++-- po/ne.po | 195 +++-- po/nl.po | 204 +++-- po/nn.po | 199 +++-- po/oc.po | 195 +++-- po/or.po | 199 +++-- po/pa.po | 199 +++-- po/pl.po | 199 +++-- po/ps.po | 195 +++-- po/pt.po | 199 +++-- po/pt_BR.po | 199 +++-- po/ro.po | 199 +++-- po/ru.po | 199 +++-- po/rw.po | 195 +++-- po/si.po | 195 +++-- po/sk.po | 199 +++-- po/sl.po | 199 +++-- po/sq.po | 203 +++-- po/sr.po | 195 +++-- po/sr@ije.po | 195 +++-- po/sr@latin.po | 195 +++-- po/sv.po | 199 +++-- po/ta.po | 199 +++-- po/te.po | 199 +++-- po/th.po | 199 +++-- po/tl.po | 195 +++-- po/tr.po | 199 +++-- po/tt.po | 195 +++-- po/uk.po | 199 +++-- po/vi.po | 199 +++-- po/wa.po | 195 +++-- po/xh.po | 195 +++-- po/yi.po | 195 +++-- po/zh_CN.po | 199 +++-- po/zh_HK.po | 199 +++-- po/zh_TW.po | 199 +++-- 91 files changed, 11231 insertions(+), 8078 deletions(-) commit 3d1e8127788d8d406dd7e5d7feaae6d47110f087 Author: Matthias Clasen Date: Mon Jul 6 00:00:42 2009 -0400 Document support_thread_contexts gio/gfile.h | 1 + 1 file changed, 1 insertion(+) commit d5a51305196ac44b1c9f9edcb93aa688821f60f2 Author: Matthias Clasen Date: Sun Jul 5 23:55:00 2009 -0400 Minor doc fix glib/gerror.c | 107 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 53 insertions(+), 54 deletions(-) commit 563c55bb7176e3fad5ea39061feb8406e5968ef3 Author: Matthias Clasen Date: Sun Jul 5 23:38:09 2009 -0400 Fix a segfault in g_cancellable_cancel gio/gcancellable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 66e9b50b2ccf7498a55f0608cca31bc8cfad741d Author: Matthias Clasen Date: Sun Jul 5 22:55:26 2009 -0400 Updates NEWS | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 5694ab7642c9ba6fbb85424e71d1c42c17661dd1 Author: Matthias Clasen Date: Sun Jul 5 22:49:24 2009 -0400 Revert "Move gio tests from gio/tests/ to tests/gio/" This reverts commit 2262d76b33094304ece0d0d9cd5920682599a49b. Move GIO tests back to where they belong. configure.in | 2 +- gio/Makefile.am | 2 + gio/tests/.gitignore | 24 + gio/tests/Makefile.am | 119 ++++ gio/tests/buffered-input-stream.c | 60 ++ gio/tests/contexts.c | 190 ++++++ gio/tests/data-input-stream.c | 336 ++++++++++ gio/tests/data-output-stream.c | 289 +++++++++ gio/tests/desktop-app-info.c | 259 ++++++++ gio/tests/echo-server.c | 73 +++ gio/tests/filter-streams.c | 239 ++++++++ gio/tests/g-file-info.c | 125 ++++ gio/tests/g-file.c | 538 ++++++++++++++++ gio/tests/g-icon.c | 245 ++++++++ gio/tests/httpd.c | 183 ++++++ gio/tests/live-g-file.c | 1211 +++++++++++++++++++++++++++++++++++++ gio/tests/live-g-file.txt | 27 + gio/tests/memory-input-stream.c | 78 +++ gio/tests/memory-output-stream.c | 100 +++ gio/tests/readwrite.c | 293 +++++++++ gio/tests/resolver.c | 506 ++++++++++++++++ gio/tests/send-data.c | 163 +++++ gio/tests/simple-async-result.c | 130 ++++ gio/tests/sleepy-stream.c | 296 +++++++++ gio/tests/socket-client.c | 298 +++++++++ gio/tests/socket-server.c | 308 ++++++++++ gio/tests/srvtarget.c | 158 +++++ gio/tests/unix-streams.c | 256 ++++++++ tests/Makefile.am | 2 +- tests/gio/.gitignore | 24 - tests/gio/Makefile.am | 119 ---- tests/gio/buffered-input-stream.c | 60 -- tests/gio/contexts.c | 190 ------ tests/gio/data-input-stream.c | 336 ---------- tests/gio/data-output-stream.c | 289 --------- tests/gio/desktop-app-info.c | 259 -------- tests/gio/echo-server.c | 73 --- tests/gio/filter-streams.c | 239 -------- tests/gio/g-file-info.c | 125 ---- tests/gio/g-file.c | 538 ---------------- tests/gio/g-icon.c | 245 -------- tests/gio/httpd.c | 183 ------ tests/gio/live-g-file.c | 1211 ------------------------------------- tests/gio/live-g-file.txt | 27 - tests/gio/memory-input-stream.c | 78 --- tests/gio/memory-output-stream.c | 100 --- tests/gio/readwrite.c | 293 --------- tests/gio/resolver.c | 506 ---------------- tests/gio/send-data.c | 163 ----- tests/gio/simple-async-result.c | 130 ---- tests/gio/sleepy-stream.c | 296 --------- tests/gio/socket-client.c | 298 --------- tests/gio/socket-server.c | 308 ---------- tests/gio/srvtarget.c | 158 ----- tests/gio/unix-streams.c | 256 -------- 55 files changed, 6508 insertions(+), 6506 deletions(-) commit 8de4be69a9013e3bce57c0a004e1eada4155f623 Author: Matthias Clasen Date: Sun Jul 5 22:35:55 2009 -0400 Move comment to the right place gio/gvfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aa065346d3230d5facd45ad1e4d50ceae206773f Author: Matthias Clasen Date: Sun Jul 5 22:26:11 2009 -0400 Register ids for new file attributes gio/gfileinfo-priv.h | 12 ++++++++---- gio/gfileinfo.c | 4 ++++ 2 files changed, 12 insertions(+), 4 deletions(-) commit f043439d7897d3f538dcb2a2d9be9fd7a34ec948 Author: Matthias Clasen Date: Sun Jul 5 22:24:14 2009 -0400 Ignore gfileinfo-priv.h docs/reference/gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 99a1c47343d09ab0485c2377e5c8c53e847d84dd Author: David Zeuthen Date: Sun Jul 5 21:59:38 2009 -0400 Allow interaction when unmounting mounts For details, see bug 587482. The new api: - Provide new _with_operation() variants of all unmount and eject methods - Add GMountOperation::show-processes signal - this can be used to show processes blocking an unmount operation - Deprecate all unmount and eject methods - Add g_drive_can_start_degraded() method - this is to avoid auto-starting degraded drives - Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation - these ops were recently added and not yet public API so it's fine to change how they work - Provide a way to poll mountable files, e.g. g_file_poll_mountable() - Add some missing file attributes for mountable files - G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE - needed for the GDU Nautilus extensions to format a volume - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: - mimics g_drive_can_start_degraded() - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: - mimics g_drive_can_poll_for_media() - G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC - mimics g_drive_is_media_check_automatic() docs/reference/gio/Makefile.am | 2 + docs/reference/gio/gio-docs.xml | 5 +- docs/reference/gio/gio-sections.txt | 19 +++ gio/gdrive.c | 124 +++++++++++++- gio/gdrive.h | 32 +++- gio/gfile.c | 305 ++++++++++++++++++++++++++++++++++- gio/gfile.h | 66 ++++++++ gio/gfileinfo.h | 43 ++++- gio/gio-marshal.list | 1 + gio/gio.symbols | 47 ++++-- gio/gmount.c | 186 ++++++++++++++++++++- gio/gmount.h | 48 +++++- gio/gmountoperation.c | 76 +++++++-- gio/gmountoperation.h | 6 +- gio/gvolume.c | 89 ++++++++++ gio/gvolume.h | 23 +++ 16 files changed, 1027 insertions(+), 45 deletions(-) commit c85ff0c75004736d5c8798e3b47a47e0fc67ac70 Author: Benjamin Otte Date: Sun Jul 5 21:34:39 2009 +0200 [gio] minor improvements to g_cancellable_cancel() - make this function not crash when cancellable is NULL - avoid locking when the cancellable has already been cancelled gio/gcancellable.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 8a2e617e41e3f605ea0206832f0c2f346bfe008e Author: Yaron Shahrabani Date: Sun Jul 5 18:06:57 2009 +0300 Updated Hebrew translation po/he.po | 1186 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 613 insertions(+), 573 deletions(-) commit 8792d862db4f61317a45dfe07f7b51e5ccf6741b Author: Ryan Lortie Date: Sun Jul 5 12:30:54 2009 +0100 GTree: switch to GSlice, add refcounts (#587773) docs/reference/glib/glib-sections.txt | 2 + glib/glib.symbols | 2 + glib/gtree.c | 88 +++++++++++++++++++++++++++------ glib/gtree.h | 2 + 4 files changed, 79 insertions(+), 15 deletions(-) commit 18e0bcf02f99a2d4bb35f46369cf4b9237291ef1 Author: Christian Persch Date: Fri Jul 3 21:20:11 2009 +0200 Add @basename@ substitution to glib-mkenums Move man page addition to the right place. Bug #587307. docs/reference/gobject/glib-mkenums.xml | 7 +++++++ 1 file changed, 7 insertions(+) commit 6d1474e7f1f6e964d8db377fe732b9273cf17a84 Author: Christian Persch Date: Mon Jun 29 15:28:22 2009 +0200 Add @basename@ substitution to glib-mkenums Since @filename@ contains the full filename as given to the glib-mkenum command, possibly including path elements (e.g. when using a non-srcdir build), it is unsuitable to use in a #include statement in the generated file if one wants to distribute it. This patch adds @basename@ which expands to the base name of the input filename. Bug #587307. gobject/glib-mkenums.1 | 3 +++ gobject/glib-mkenums.in | 9 +++++++++ 2 files changed, 12 insertions(+) commit dfd83f419c30d7d97c0e223e428c2e12c58199d3 Author: Mattias Põldaru Date: Thu Jul 2 05:23:26 2009 +0300 Updating Estonian translation po/et.po | 94 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) commit 29e6525b1e5b51323681af156a0641d69fc9fa87 Author: Dan Winship Date: Wed Jul 1 13:52:49 2009 -0400 Two "make check" fixes for late changes to the thread-context patch g_simple_async_result_complete() now checks that it's being run from the correct main loop, so tests/gio/simple-async-result was failing, because it called it from outside any main loop. (And gio's pltcheck was failing because I hadn't added g_main_current_source() to it.) gio/pltcheck.sh | 2 +- tests/gio/simple-async-result.c | 37 ++++++++++++++++++++++++++++++------- 2 files changed, 31 insertions(+), 8 deletions(-) commit 2262d76b33094304ece0d0d9cd5920682599a49b Author: Benjamin Otte Date: Wed Jul 1 19:03:19 2009 +0200 Move gio tests from gio/tests/ to tests/gio/ This avoids getting tests built every time when working on libgio and running make in the gio/ directory. configure.in | 2 +- gio/Makefile.am | 2 - gio/tests/.gitignore | 24 - gio/tests/Makefile.am | 119 ---- gio/tests/buffered-input-stream.c | 60 -- gio/tests/contexts.c | 190 ------ gio/tests/data-input-stream.c | 336 ---------- gio/tests/data-output-stream.c | 289 --------- gio/tests/desktop-app-info.c | 259 -------- gio/tests/echo-server.c | 73 --- gio/tests/filter-streams.c | 239 -------- gio/tests/g-file-info.c | 125 ---- gio/tests/g-file.c | 538 ---------------- gio/tests/g-icon.c | 245 -------- gio/tests/httpd.c | 183 ------ gio/tests/live-g-file.c | 1211 ------------------------------------- gio/tests/live-g-file.txt | 27 - gio/tests/memory-input-stream.c | 78 --- gio/tests/memory-output-stream.c | 100 --- gio/tests/readwrite.c | 293 --------- gio/tests/resolver.c | 506 ---------------- gio/tests/send-data.c | 163 ----- gio/tests/simple-async-result.c | 107 ---- gio/tests/sleepy-stream.c | 296 --------- gio/tests/socket-client.c | 298 --------- gio/tests/socket-server.c | 308 ---------- gio/tests/srvtarget.c | 158 ----- gio/tests/unix-streams.c | 256 -------- tests/Makefile.am | 2 +- tests/gio/.gitignore | 24 + tests/gio/Makefile.am | 119 ++++ tests/gio/buffered-input-stream.c | 60 ++ tests/gio/contexts.c | 190 ++++++ tests/gio/data-input-stream.c | 336 ++++++++++ tests/gio/data-output-stream.c | 289 +++++++++ tests/gio/desktop-app-info.c | 259 ++++++++ tests/gio/echo-server.c | 73 +++ tests/gio/filter-streams.c | 239 ++++++++ tests/gio/g-file-info.c | 125 ++++ tests/gio/g-file.c | 538 ++++++++++++++++ tests/gio/g-icon.c | 245 ++++++++ tests/gio/httpd.c | 183 ++++++ tests/gio/live-g-file.c | 1211 +++++++++++++++++++++++++++++++++++++ tests/gio/live-g-file.txt | 27 + tests/gio/memory-input-stream.c | 78 +++ tests/gio/memory-output-stream.c | 100 +++ tests/gio/readwrite.c | 293 +++++++++ tests/gio/resolver.c | 506 ++++++++++++++++ tests/gio/send-data.c | 163 +++++ tests/gio/simple-async-result.c | 107 ++++ tests/gio/sleepy-stream.c | 296 +++++++++ tests/gio/socket-client.c | 298 +++++++++ tests/gio/socket-server.c | 308 ++++++++++ tests/gio/srvtarget.c | 158 +++++ tests/gio/unix-streams.c | 256 ++++++++ 55 files changed, 6483 insertions(+), 6485 deletions(-) commit 65cc5d895ae125b09f2403761f434fd78ef05af7 Author: Dan Winship Date: Tue Jun 16 20:22:58 2009 -0400 Support g_main_context_push_thread_default() in gio GFile allows for the possibility that external implementations may not support thread-default contexts yet, via g_file_supports_thread_contexts(). GVolumeMonitor is not yet thread-default-context aware. Add a test program to verify that basic gio async ops work correctly in non-default contexts. http://bugzilla.gnome.org/show_bug.cgi?id=579984 gio/gdummyfile.c | 2 + gio/gfile.c | 25 ++++++ gio/gfile.h | 3 + gio/gfilemonitor.c | 26 ++++-- gio/gio.symbols | 1 + gio/gioscheduler.c | 29 ++++--- gio/glocalfile.c | 2 + gio/gsimpleasyncresult.c | 62 ++++++++++---- gio/gsocketclient.c | 2 +- gio/gsocketinputstream.c | 2 +- gio/gsocketlistener.c | 2 +- gio/gsocketoutputstream.c | 2 +- gio/gtcpconnection.c | 2 +- gio/gunixinputstream.c | 4 +- gio/gunixmount.c | 4 +- gio/gunixoutputstream.c | 4 +- gio/gunixresolver.c | 207 ++++++++++++++++++++++++++++++--------------- gio/gunixvolume.c | 4 +- gio/gvolumemonitor.c | 7 +- gio/gwin32resolver.c | 4 +- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 10 ++- gio/tests/contexts.c | 190 +++++++++++++++++++++++++++++++++++++++++ 23 files changed, 474 insertions(+), 121 deletions(-) commit 4363f1932f1be4474a81d5b9cf8a58c91b682868 Author: Dan Winship Date: Thu Jun 4 21:59:15 2009 -0400 Add g_main_context_push_thread_default() etc This allows applications to use async methods from other threads, or in multiple independent main loops. http://bugzilla.gnome.org/show_bug.cgi?id=579984 docs/reference/glib/glib-sections.txt | 5 ++ docs/reference/glib/tmpl/main.sgml | 24 ++++++ glib/glib.symbols | 3 + glib/gmain.c | 144 ++++++++++++++++++++++++++++++++- glib/gmain.h | 5 ++ 5 files changed, 177 insertions(+), 4 deletions(-) commit 90381ecdbd73197ebdfaf58fdeccf267454d53d7 Author: Dan Winship Date: Fri Jun 19 10:30:14 2009 -0400 Use low-level GSource methods in a few more places (in preparation for thread-default context support) gio/gfilemonitor.c | 23 ++++++++++++++--------- gio/gunixmount.c | 26 ++++++++++++++++++++++---- gio/gunixvolume.c | 26 ++++++++++++++++++++++---- gio/gwin32resolver.c | 18 ++++++++++++------ gio/pltcheck.sh | 2 +- 5 files changed, 71 insertions(+), 24 deletions(-) commit 28a39fab5ac720daf5927c85c3eba2e23f5ac38c Author: Dan Winship Date: Tue Jun 16 20:21:29 2009 -0400 Remove some unused code gio/gasynchelper.c | 35 ----------------------------------- 1 file changed, 35 deletions(-) commit 70e8eed6acfa33f74d7772f3ec54997daf102be4 Author: Dan Winship Date: Tue Jun 23 12:01:34 2009 -0400 Fix GResolver for g_simple_async_result_set_op_res_gpointer change Previously, re-setting the pointer value would cause the old GDestroyNotify to be lost; now it causes it to be run. http://bugzilla.gnome.org/show_bug.cgi?id=587415 gio/gresolver.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit d589da7e86947542790aa0137dc12499a4fe1a3b Author: Benjamin Otte Date: Tue Jun 30 20:33:19 2009 +0200 Bug 587434 – regression tests fail make this test not only compile, but also run successfully with mad CFLAGS. gio/tests/data-output-stream.c | 138 +++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 71 deletions(-) commit 80561f9718873bf02d5c938d92672bc20d99b82d Author: Benjamin Otte Date: Tue Jun 30 19:08:46 2009 +0200 Bug 587434 – regression tests fail I missed one s/tmpfile/tmp_file/ which caused crashes. gio/tests/readwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53beca955e016fb9ef4e80d223d059bc5e51dd41 Author: Dan Winship Date: Tue Jun 23 17:42:01 2009 -0400 Add GCancellables to GSocket ops Currently, to implement cancellability correctly, all synchronous calls to GSocket must be preceded by a g_socket_condition_wait() call, (even though GSocket does this internally as well) and all asynchronous calls must do occasional manual g_cancellable_is_cancelled() checks. Since it's trivial to do these checks inside GSocket instead, and we don't particularly want to encourage people to use the APIs non-cancellably, move the cancellation support into GSocket and simplify the existing callers. http://bugzilla.gnome.org/show_bug.cgi?id=586797 gio/gsocket.c | 74 ++++++++++++++++++++++++++++++++------------- gio/gsocket.h | 8 +++++ gio/gsocketclient.c | 4 +-- gio/gsocketinputstream.c | 27 ++++++----------- gio/gsocketlistener.c | 32 ++++++++------------ gio/gsocketoutputstream.c | 27 ++++++----------- gio/gtcpconnection.c | 21 ++----------- gio/gunixconnection.c | 8 ++--- gio/tests/socket-client.c | 14 ++++++--- gio/tests/socket-server.c | 13 +++++--- 10 files changed, 119 insertions(+), 109 deletions(-) commit fc2b3ee560e29b4ef6e70928b0be75d833d75aec Author: Benjamin Otte Date: Mon Jun 29 18:32:09 2009 +0200 remove unused label complained about by -Wall gio/gtcpconnection.c | 3 --- 1 file changed, 3 deletions(-) commit afd63c32814869489f812d6738de027ce113957d Author: Benjamin Otte Date: Mon Jun 29 18:24:08 2009 +0200 fix warnings from gcc compilation with my mad CFLAGS gio/tests/data-input-stream.c | 32 +++++++++++-------- gio/tests/data-output-stream.c | 66 ++++++++++++++++++++-------------------- gio/tests/desktop-app-info.c | 4 +-- gio/tests/g-file.c | 16 +++++----- gio/tests/httpd.c | 2 +- gio/tests/live-g-file.c | 22 ++++++++------ gio/tests/readwrite.c | 40 ++++++++++++------------ gio/tests/resolver.c | 6 ++-- gio/tests/sleepy-stream.c | 24 ++++++++------- gio/tests/socket-server.c | 6 ++-- gio/tests/srvtarget.c | 3 +- gio/tests/unix-streams.c | 4 +-- 12 files changed, 119 insertions(+), 106 deletions(-) commit 4b8ad50fc4463d72862d29a8802b5982e66c0fc2 Author: Benjamin Otte Date: Mon Jun 29 15:28:08 2009 +0200 add g_file_attribute_set_*_by_id() and use them This patch and the previous ones fixes the performance issues noted in Bug 587089 – lookup_attribute() takes too much CPU It increases performance for querying attributes by ~15% in my tests. gio/gfileinfo-priv.h | 36 +++++++++- gio/gfileinfo.c | 183 +++++++++++++++++++++++++++++++++++++------------- gio/glocalfileinfo.c | 96 +++++++++++++------------- 3 files changed, 217 insertions(+), 98 deletions(-) commit bd198e5e45282886ea2bad14e987c7c01b163cb3 Author: Benjamin Otte Date: Mon Jun 29 14:13:14 2009 +0200 export and use _g_file_attribute_matcher_matches_id() gio/gfileinfo-priv.h | 5 +++ gio/gfileinfo.c | 13 +++---- gio/glocalfileinfo.c | 95 +++++++++++++++++++++++++------------------------- 3 files changed, 58 insertions(+), 55 deletions(-) commit ceba40c27d5166a07a0925d2e158ca1809cc1ce3 Author: Benjamin Otte Date: Mon Jun 29 13:55:22 2009 +0200 add private header with attribute ids attribute ids are generated when the attribute hash is initialized. This way we can guarantee that the ids match every time. gio/Makefile.am | 1 + gio/gfileinfo-priv.h | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gfileinfo.c | 79 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 178 insertions(+), 1 deletion(-) commit 2620c23577a73fa454298014680f4de46a69e7bb Author: Benjamin Otte Date: Mon Jun 29 13:33:50 2009 +0200 split lookup_attribute() into two functions gio/gfileinfo.c | 65 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 28 deletions(-) commit 66cebd72925406910f99c0fd826b8307c2a4814c Author: Benjamin Otte Date: Mon Jun 29 13:21:08 2009 +0200 split attribute hash initialization into its own function gio/gfileinfo.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 49172a71aacdd855918b614f3d61fa5b9248fb85 Author: Christian Dywan Date: Sun Jun 28 02:45:50 2009 +0200 Display '-h' in --help output and accept '-h' and -?' '-h' is the preferred short version of '--help' now and displayed in '--help' but for backwards compatibility '-?' is still supported. If existing code uses '-h' for something else, GOptionContext will not override it. Fixes bug 556706. glib/goption.c | 49 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 7 deletions(-) commit 09c3f6dd4b456adbbda6818e5bb1227af045e8d8 Author: Jani Monoses Date: Sat Jun 27 11:03:47 2009 +0300 Fix C++ warnings in g_error() code Put space before ending semicolon in for(;;) ; to avoid C++ build warnings. Closes bug 586928. glib/gmessages.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 160c39a9af8f7b6a475c1b005a807ccefc2ff7c1 Author: Matthias Clasen Date: Fri Jun 26 23:18:17 2009 -0400 Move some uri functions to a better place docs/reference/glib/glib-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 35911ae00f5348ea4a60d66db25d70a1c45c9c43 Author: Matthias Clasen Date: Fri Jun 26 23:09:35 2009 -0400 Fix a typo docs/reference/glib/building.sgml | 84 ++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit e7a258692c7ae3d9075d9ae1926c08c7ec771f04 Author: Tom Parker Date: Fri Jun 26 22:43:31 2009 -0400 Add NULL to end of g_filename_complete_get_completions() return value g_filename_complete_get_completions() return value is meant to be a g_strfreev-compatible array i.e. NULL-terminated. However, pointer arrays aren't automagically NULL-terminated. This fixes bug 586868 gio/gfilenamecompleter.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 657d0ad9183fe4410e736d20a17a70fb7d6ad6c0 Author: Ivar Smolin Date: Fri Jun 26 10:39:25 2009 +0300 Updating Estonian translation po/et.po | 446 +++----------------------------------------------------------- 1 file changed, 17 insertions(+), 429 deletions(-) commit d884e509db1ab6a6d388313d28b7b07cebb3dfc0 Author: Alexander Larsson Date: Thu Jun 25 09:18:01 2009 +0200 Allow setting G_FILE_ATTRIBUTE_TYPE_INVALID attributes in GFileInfo This is used to unset an attribute in g_file_set_attributes_from_info. gio/gfileattribute.c | 7 +++++++ gio/gfileinfo.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 019e8c808f48e93f81fcb8e9e8d73a43b087cc87 Author: Matthias Clasen Date: Wed Jun 24 23:07:15 2009 -0400 Add a note about g_simple_async_result_set_op_res_pointer change README.in | 7 +++++++ 1 file changed, 7 insertions(+) commit b0dc7afd2ace91f5dca37af8de7b40ba45993ed0 Author: Richard Hughes Date: Fri Jun 19 10:16:22 2009 +0100 Allow GCancellable to be subclassed by adding a private structure gio/gcancellable.c | 114 +++++++++++++++++++++++++++++++++------------------- gio/gcancellable.h | 9 +++++ 2 files changed, 81 insertions(+), 42 deletions(-) commit 0ccd18bc83c5e6eff77940a61cc9b31a88dd1851 Author: David Zeuthen Date: Mon Jun 22 15:33:41 2009 -0400 Bug 586675 – Runtime library location Introduce an option to specify the runtime location for libraries via a relative path to libdir. Signed-off-by: David Zeuthen configure.in | 11 +++++++++++ docs/reference/glib/building.sgml | 21 +++++++++++++++++++++ docs/reference/glib/tmpl/fileutils.sgml | 17 +++++++++++++++++ gio/Makefile.am | 9 +++++++++ glib/Makefile.am | 9 +++++++++ gmodule/Makefile.am | 9 +++++++++ gobject/Makefile.am | 9 +++++++++ gthread/Makefile.am | 8 ++++++++ 8 files changed, 93 insertions(+) commit 7662c86611bf44175f18ec6eb66f159040ac73c5 Author: Alexander Larsson Date: Thu Jun 18 09:05:27 2009 +0200 Add extension point for adding metadata for local files This adds a local_file_add_info vfunc to GVfs that vfs implementations can override to add metadata for local files. gio/glocalfile.c | 75 ++++++++++++++++++++---------- gio/glocalfileenumerator.c | 2 + gio/glocalfileinfo.c | 108 +++++++++++++++++++++++++++++++++++++++----- gio/glocalfileinfo.h | 3 ++ gio/gvfs.h | 26 +++++++++-- 5 files changed, 175 insertions(+), 39 deletions(-) commit 9a6146f54cdc085a42095b930066853dbb4e0c67 Author: Alexander Larsson Date: Tue Jun 23 11:30:14 2009 +0200 Add g_file_info_set_attribute_status Required for gvfs implementation for set_attribures_from_info. gio/gfileinfo.c | 36 ++++++++++++++++++++++++++++++++++++ gio/gfileinfo.h | 3 +++ gio/gio.symbols | 1 + 3 files changed, 40 insertions(+) commit becf4186e6289c0ab5d762f1cdf88517f4adc9f5 Author: Alexander Larsson Date: Tue Jun 23 11:29:16 2009 +0200 Add g_file_info_has_namespace Need this to quickly see if we should set attributes from this GFileInfo in metadata extension. gio/gfileinfo.c | 36 ++++++++++++++++++++++++++++++++++++ gio/gfileinfo.h | 2 ++ gio/gio.symbols | 1 + 3 files changed, 39 insertions(+) commit 0ed9201ad2051c33f5d049754bd8a1644d19ab7c Author: Alexander Larsson Date: Mon Jun 22 19:25:32 2009 +0200 Add string vector attribute type to GFileInfo This is needed for the new metadata backend since nautilus has a string-list metadata type, and we want to use this for nautilus. gio/gfileattribute-priv.h | 4 ++++ gio/gfileattribute.c | 52 +++++++++++++++++++++++++++++++++++++++++++++ gio/gfileinfo.c | 51 ++++++++++++++++++++++++++++++++++++++++++++ gio/gfileinfo.h | 5 +++++ gio/gio.symbols | 2 ++ gio/gioenums.h | 4 +++- 6 files changed, 117 insertions(+), 1 deletion(-) commit c1ab6454feb4447b8ef7ce6a0eb0fb38bae186df Author: Alexander Larsson Date: Tue Jun 23 15:07:00 2009 +0200 Copy namespaces correctly in g_file_copy_attributes File attribute namespaces are delimited with "::", but build_attribute_list_for_copy only used ":", so we didn't copy any writable namespaces. gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9b4f7a3bcfefc266fc575e401f07a2a4c2ce8f6 Author: Jorge Gonzalez Date: Sun Jun 21 11:13:20 2009 +0200 Updated Spanish translation po/es.po | 836 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 417 insertions(+), 419 deletions(-) commit 440bf5bee50a0abca990d69ce12fc2a844bda95c Author: Matthias Clasen Date: Fri Jun 19 23:44:29 2009 -0400 Use pipe2 when available This avoids a small window for races between pipe and fdset. Reported in bug 579933 by Thiago Macieira. configure.in | 11 ++--------- glib/gmain.c | 20 +++++++++++++++----- 2 files changed, 17 insertions(+), 14 deletions(-) commit 854a43a3cd5cb8cc97b66d6f8f661e2a7096acda Author: Matthias Clasen Date: Fri Jun 19 23:18:09 2009 -0400 Fix build on mingw Mingw does not have sys/uio.h. This was reported in bug 585937. Author: Matthias Clasen configure.in | 1 + gio/gsocket.c | 2 ++ 2 files changed, 3 insertions(+) commit 4c791f49e58688d1b8948d083c1780cab9d26e93 Author: Ryan Lortie Date: Thu Jun 18 15:00:01 2009 -0400 GMappedFile: add refcounting, switch to GSlice - add g_mapped_file_ref() and g_mapped_file_unref(). - deprecate g_mapped_file_free(). - move to GSlice for allocating the GMappedFile struct. docs/reference/glib/glib-sections.txt | 2 + glib/glib.symbols | 4 ++ glib/gmappedfile.c | 73 +++++++++++++++++++++++++++------ glib/gmappedfile.h | 5 +++ 4 files changed, 71 insertions(+), 13 deletions(-) commit 8cb481fd5ff44c7e82f59948567ad0b417297555 Author: Alexander Larsson Date: Thu Jun 18 19:43:46 2009 +0200 Use io_prio as mainloop prio for async-emulation (#579449) I'm not sure why we used the elaborate formula to convert the io-priority to the priority of the mainloop idle when emulating async i/o with idles. However, it causes the default io priority to be less than the normal idle prio, so the i/o won't be scheduled if there is an idle outstanding. There is really no great mapping to use here, doing blocking i/o in an idle of any prio is generally bad and apps doing a lot of async i/o should initialize threads. However, if we use the io-priority directly we at least avoid the starvation problem above and make things easier to understand. gio/gioscheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9fba81288424cd7ef45e28565fa878c93a962c17 Author: Benjamin Otte Date: Thu Jun 18 15:28:41 2009 +0200 Revert "clarify documentation" This reverts commit d218cf0f670e4c40acb47ab5b5761ea0c68e0594. This has been fixed in the code, so no need to keep the updated docs. gio/gsocketlistener.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 835c03a5c1c980490543ad5d1fe426a1e5a62af9 Author: Benjamin Otte Date: Thu Jun 18 15:27:12 2009 +0200 syntax fix in documentation gio/gfileenumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf95d07691ec2202400f340f1c63aca11f0790c1 Author: Benjamin Otte Date: Tue Jun 16 15:18:11 2009 +0200 fix typo in documentation gio/gfileenumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d218cf0f670e4c40acb47ab5b5761ea0c68e0594 Author: Benjamin Otte Date: Fri Jun 12 17:45:27 2009 +0200 clarify documentation gio/gsocketlistener.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f4a64cb068cfe309e968d1db9fae4fade6d87e8a Author: Matthias Clasen Date: Mon Jun 15 13:27:40 2009 -0400 Bump version to 2.21.3 configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 785787fd6cd4b7c0120ae64ec839cfb0353c4af2 Author: Matthias Clasen Date: Mon Jun 15 13:25:43 2009 -0400 2.21.2 po/am.po | 180 ++++++----- po/ar.po | 186 +++++++----- po/as.po | 182 ++++++----- po/az.po | 180 ++++++----- po/be.po | 180 ++++++----- po/be@latin.po | 189 ++++++------ po/bg.po | 182 ++++++----- po/bn.po | 180 ++++++----- po/bn_IN.po | 867 +++++++++++++++++++++++++++-------------------------- po/bs.po | 180 ++++++----- po/ca.po | 187 ++++++------ po/ca@valencia.po | 187 ++++++------ po/cs.po | 183 ++++++----- po/cy.po | 180 ++++++----- po/da.po | 187 ++++++------ po/de.po | 187 ++++++------ po/dz.po | 180 ++++++----- po/el.po | 182 ++++++----- po/en_CA.po | 187 ++++++------ po/en_GB.po | 187 ++++++------ po/eo.po | 180 ++++++----- po/es.po | 182 ++++++----- po/et.po | 182 ++++++----- po/eu.po | 182 ++++++----- po/fa.po | 180 ++++++----- po/fi.po | 187 ++++++------ po/fr.po | 182 ++++++----- po/ga.po | 191 ++++++------ po/gl.po | 187 ++++++------ po/gu.po | 182 ++++++----- po/he.po | 187 ++++++------ po/hi.po | 182 ++++++----- po/hr.po | 181 ++++++----- po/hu.po | 182 ++++++----- po/hy.po | 180 ++++++----- po/id.po | 180 ++++++----- po/is.po | 180 ++++++----- po/it.po | 182 ++++++----- po/ja.po | 182 ++++++----- po/ka.po | 179 ++++++----- po/kn.po | 182 ++++++----- po/ko.po | 185 ++++++------ po/ku.po | 180 ++++++----- po/lt.po | 189 ++++++------ po/lv.po | 180 ++++++----- po/mai.po | 182 ++++++----- po/mg.po | 180 ++++++----- po/mk.po | 189 ++++++------ po/ml.po | 182 ++++++----- po/mn.po | 180 ++++++----- po/mr.po | 182 ++++++----- po/ms.po | 180 ++++++----- po/nb.po | 831 +++++++++++++++++++++++++------------------------- po/ne.po | 180 ++++++----- po/nl.po | 189 ++++++------ po/nn.po | 187 ++++++------ po/oc.po | 185 ++++++------ po/or.po | 182 ++++++----- po/pa.po | 182 ++++++----- po/pl.po | 183 ++++++----- po/ps.po | 180 ++++++----- po/pt.po | 187 ++++++------ po/pt_BR.po | 187 ++++++------ po/ro.po | 183 ++++++----- po/ru.po | 189 ++++++------ po/rw.po | 180 ++++++----- po/si.po | 180 ++++++----- po/sk.po | 189 ++++++------ po/sl.po | 191 ++++++------ po/sq.po | 191 ++++++------ po/sr.po | 180 ++++++----- po/sr@ije.po | 180 ++++++----- po/sr@latin.po | 180 ++++++----- po/sv.po | 187 ++++++------ po/ta.po | 182 ++++++----- po/te.po | 182 ++++++----- po/th.po | 185 ++++++------ po/tl.po | 180 ++++++----- po/tr.po | 185 ++++++------ po/tt.po | 180 ++++++----- po/uk.po | 183 ++++++----- po/vi.po | 181 ++++++----- po/wa.po | 180 ++++++----- po/xh.po | 180 ++++++----- po/yi.po | 180 ++++++----- po/zh_CN.po | 185 ++++++------ po/zh_HK.po | 185 ++++++------ po/zh_TW.po | 185 ++++++------ 88 files changed, 9416 insertions(+), 8034 deletions(-) commit 0fbeab452072cdf2dc7d1dd0356fa0d9f71fa0ac Author: Matthias Clasen Date: Mon Jun 15 12:57:21 2009 -0400 Add g_setenv gio/pltcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90229908a13c02a024a86e4eaf96a6ba8dac57af Author: Matthias Clasen Date: Mon Jun 15 12:26:41 2009 -0400 Update for 2.21.2 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) commit fae755e0568472a2c37e6a9d0ad0fde809749a1f Author: David Zeuthen Date: Mon Jun 15 10:53:41 2009 -0400 Bug 585591 – Starting/stopping drives Add API for starting/stopping drives. This new API will enable GVolumeMonitor and GVfs implementations to add support for the following features 1. Powering down external hard disk enclosures / drives 2. Starting/stopping multi-disk devices (such as RAID/btrfs/ZFS) 3. Connecting/disconnecting iSCSI devices 4. Reacting to the user pressing e.g. the "remove drive" button on a IBM/Lenovo Ultrabay: http://www.thinkwiki.org/wiki/Ultrabay See the bug for the corresponding GVfs and Nautilus changes. docs/reference/gio/gio-sections.txt | 16 +++ gio/gdrive.c | 259 ++++++++++++++++++++++++++++++++++- gio/gdrive.h | 57 ++++++++ gio/gfile.c | 179 ++++++++++++++++++++++++ gio/gfile.h | 41 ++++++ gio/gfileinfo.h | 31 +++++ gio/gio.symbols | 13 ++ gio/gioenums.h | 39 ++++++ gio/gunionvolumemonitor.c | 12 ++ gio/gvolumemonitor.c | 18 +++ gio/gvolumemonitor.h | 5 +- 11 files changed, 666 insertions(+), 4 deletions(-) commit bb4f7c48f9510c1fd96de067cd8f18cd41b1a1f0 Author: Ondrej Jirman Date: Sat May 30 08:23:46 2009 +0200 Fix incorrect freeing of thread pool in GThreadedSocketService (#584255) gio/gthreadedsocketservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31cb0bdcb0f334ad904e088acb3a417452a4d67f Author: Alexander Larsson Date: Mon Jun 15 15:43:39 2009 +0200 Emit changed in g_socket_listener_add_socket, not in add_address This way we emit this signal when add_socket is called from another place than add_address too. gio/gsocketlistener.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit a640695f1609805a0fe745d35c2055a984410bb5 Author: Alexander Larsson Date: Mon Jun 15 15:42:38 2009 +0200 Ref the passed in socket in g_socket_listener_add_socket (#585599) gio/gsocketlistener.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) commit 67de6cba508d7f2e0c310527667df2efcf4a543a Author: Alexander Larsson Date: Mon Jun 15 14:23:57 2009 +0200 Add bound address out-argument to g_socket_listener_add_address (#585566) This is very useful when binding to "any" port. gio/gsocketlistener.c | 20 ++++++++++++++++++++ gio/gsocketlistener.h | 1 + 2 files changed, 21 insertions(+) commit 91bdccff7544ee19d329ec73db02fd5f11c617fd Author: Alexander Larsson Date: Mon Jun 15 13:18:22 2009 +0200 Add g_reload_user_special_dirs_cache (#541276) This is useful for nautilus that changes the xdg-user-dirs files. glib/glib.symbols | 1 + glib/gutils.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/gutils.h | 1 + 3 files changed, 55 insertions(+) commit 740ae3aa29cc50f588fb3ac47f6125acbccd20b6 Author: Alexander Larsson Date: Mon Jun 15 12:25:43 2009 +0200 Avoid unnecessary work if mount watching not specified (#585360) If G_FILE_MONITOR_WATCH_MOUNTS isn't specified, don't do all the work when the mtab changes. gio/glocaldirectorymonitor.c | 29 +++++++++++++++++++++++++---- gio/glocaldirectorymonitor.h | 1 + 2 files changed, 26 insertions(+), 4 deletions(-) commit 129eb074823101102611690f053ffa246bb7784d Author: Matthias Clasen Date: Mon Jun 15 01:45:34 2009 -0400 Support special icons for xdg user dirs The icon names are folder-documents, folder-download, folder-music, folder-pictures, folder-publicshare, folder-templates, folder-videos. See bug 541276. gio/glocalfileinfo.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 50a7f530557e35c6dfc543d969c0369d53d45a87 Author: Matthias Clasen Date: Mon Jun 15 01:12:50 2009 -0400 Don't use deprecated GLib api Fixes bug 585673. gio/tests/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2553df615d21e68d52f1e0b45ac8b70622d2881e Author: Matthias Clasen Date: Mon Jun 15 01:09:25 2009 -0400 Refer to the correct gcc deprecation options This oversight was pointed out in bug 585520. docs/reference/glib/tmpl/macros_misc.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c5ac901d95f28db1edad2807f842396c594a49e Author: Matthias Clasen Date: Mon Jun 15 01:03:54 2009 -0400 Fix some typos in list documentation This fixes bug 585726. docs/reference/glib/tmpl/linked_lists_double.sgml | 4 ++-- docs/reference/glib/tmpl/linked_lists_single.sgml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit b0bba8520acd423785075ba67e6e4b644fce765f Author: Matthias Clasen Date: Mon Jun 15 00:52:43 2009 -0400 Extract strings from g_dngettext too There is one occurrence of this in glib, which we currently miss. See bug 585717. po/Makefile.in.in | 7 +++++++ 1 file changed, 7 insertions(+) commit 642e9c75400cc12f0fad26e3f3df5ac6a39e0822 Author: Matthias Clasen Date: Mon Jun 15 00:45:55 2009 -0400 Fix the icon property implementation Turns out both the setter and the getter were broken... Fixes bug 585676. gio/gemblem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b533a944ffc83ad90cd8b6fba00f4e0bebcd0741 Author: Matthias Clasen Date: Mon Jun 15 00:38:34 2009 -0400 Trivial formatting fixes gio/gemblem.c | 63 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 32 deletions(-) commit ce4aa6253eea2b24c0e4a99f9a1d7f31b9cec979 Author: Matthias Clasen Date: Sun Jun 14 23:55:12 2009 -0400 Include sys/uio.h for struct iovec This fixes the build on OS X, bug 585280. gio/gsocket.c | 2 ++ 1 file changed, 2 insertions(+) commit 8a3a3d797e7ef3b66c917c1c0a2ec47300bbf661 Author: Matthias Clasen Date: Sun Jun 14 22:26:52 2009 -0400 Use inotify_init1 when available To avoid leaking the inotify fd. Fixes bug 585478. configure.in | 1 + gio/inotify/inotify-kernel.c | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 4dbc2074bc857464e64549fac2b7403c4e9566c1 Author: Ryan Lortie Date: Sun Jun 14 13:58:35 2009 -0400 Add GNIO test cases to .gitignore gio/tests/.gitignore | 7 +++++++ 1 file changed, 7 insertions(+) commit cb1a6092405b2f6d9b82e7c1b757951d695c5fe6 Author: Ryan Lortie Date: Fri Jun 12 13:01:04 2009 -0400 Bug 585575 – g_socket_listener_add_inet_port() Change the logic in g_socket_listener_add_inet_port() as per the reasoning in the bug report. - If the OS supports neither IPv6 or IPv4, fail. - If the OS supports only IPv6, do that. - If the OS supports only IPv4, do that. - If the OS supports IPv6 and IPv6 "speaks" IPv4 then bind it and be done. - If the OS supports IPv6 and IPv6 doesn't "speak" IPv4 then create an additional socket for IPv4. - If binding any socket fails then fail the entire call. Also, remove the ability to call this function with port == 0. This is a useless thing to do anyway since you have no way to know what port number was actually allocated. We should have a separate function to deal with this. gio/gsocketlistener.c | 164 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 126 insertions(+), 38 deletions(-) commit f7d756f5b6c9975452e57ac6f41ff69d9f456739 Author: Ryan Lortie Date: Fri Jun 12 12:21:07 2009 -0400 add g_socket_speaks_ipv4() Partial fix for Bug 585575. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocket.c | 48 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 1 + 4 files changed, 51 insertions(+) commit fd22781b184529c2a838272b76d71b4b498366ba Author: Benjamin Otte Date: Fri Jun 12 15:57:51 2009 +0200 make all APIs that take inet port arguments take a guint16 gio/gsocketclient.c | 4 ++-- gio/gsocketclient.h | 4 ++-- gio/gsocketlistener.c | 2 +- gio/gsocketlistener.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) commit 3e3e3c29469f03ec7f141b2522accdb7c2acd59d Author: Benjamin Otte Date: Fri Jun 12 15:57:12 2009 +0200 don't make strings const when they are not gets rid of compiler warnings gio/gdesktopappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a402875de1d8956c90a940f8309733040cda5afb Author: Matthias Clasen Date: Thu Jun 11 12:41:16 2009 -0400 Fix an oversight in the previous commit We don't want to unset DISPLAY etc, if none is specified in the app launch context. gio/gdesktopappinfo.c | 4 ---- 1 file changed, 4 deletions(-) commit 6224d3d2ecdbc3cacfdb8213de3cf53d6dfc8580 Author: Matthias Clasen Date: Wed Jun 10 23:50:45 2009 -0400 Fix g_string_chunk_insert_len to accept nuls Contrary to what the documentation says, g_string_chunk_insert_len was stopping at the first nul. Also add a test. Fixes bug 585088. glib/gstring.c | 54 +++++++++++++++++++++++++-------------------------- glib/tests/string.c | 23 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 28 deletions(-) commit 9e43937d03443d6e8f63ea2c75c0fd54aaa124b3 Author: Matthias Clasen Date: Wed Jun 10 23:28:32 2009 -0400 Include sys/types.h in gunixfdmessage.c As recommended in 'man socket'. Fixes bug 585281. gio/gunixfdmessage.c | 1 + 1 file changed, 1 insertion(+) commit d3d81f74c5c227fb17494c0388ede1e83557a7e1 Author: Matthias Clasen Date: Wed Jun 10 16:20:51 2009 -0400 Make setting DISPLAY work And remove a bunch of grotty code to manipulate an environment array at the same time. Instead, simply call setenv in the child_setup function. gio/gdesktopappinfo.c | 232 +++++++++++-------------------------------------- 1 file changed, 49 insertions(+), 183 deletions(-) commit 83ae249a2efc6f6445b5655cc16841ee2f9d3f75 Author: Matthias Clasen Date: Wed Jun 10 16:20:38 2009 -0400 Support automake 1.11 autogen.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ff2532aead7a73ca92d0b8a964d143c69e78c6cd Author: Kjartan Maraas Date: Wed Jun 10 09:43:33 2009 +0200 Updated Norwegian bokmål translation. po/nb.po | 903 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 419 insertions(+), 484 deletions(-) commit 74a3c71dcfb8f15692efd572670d28cb04caa868 Author: Dan Winship Date: Tue Jun 9 09:32:43 2009 -0400 Revert part of fix for old OS X that broke the compile on current OS X http://bugzilla.gnome.org/show_bug.cgi?id=584574 gio/libasyncns/g-asyncns.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 059ec81c9e88ee5ec67aafd135714754ea5b9552 Author: Michael Meeks Date: Tue Jun 9 11:31:42 2009 +0100 move start_element emission out into a new (inlined) function, so the alloca'd memory is released on return, rather than slowly blowing the stack. glib/gmarkup.c | 76 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 42 insertions(+), 34 deletions(-) commit ced88fd0de4aedb537552561582875b427081eeb Author: Benjamin Otte Date: Tue Jun 9 10:54:22 2009 +0200 Bug 585189 – g_cancellable_reset() must be called in same thread ... ... as g_cancellable_cancel() Rework a g_critical() that would (rarely) trigger when _reset() was called in a thread different from _cancel() by making _reset() wait for the cancel function to be finished the same way g_cancellable_disconnect() uses. gio/gcancellable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7d4b7063057a9473491141e4d26fbcec17bb83ec Author: Runa Bhattacharjee Date: Tue Jun 9 11:48:53 2009 +0530 Updated Bengali India Translations po/bn_IN.po | 982 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 457 insertions(+), 525 deletions(-) commit 139af6f70032cad02b3cd965521c0c0cdb0dc8cf Author: Benjamin Otte Date: Mon Jun 8 17:29:22 2009 +0200 update the overview image of the gio docs The old image was confusing and after some discussions in #nautilus we made a new one. docs/reference/gio/gvfs-overview.odg | Bin 10542 -> 17772 bytes docs/reference/gio/gvfs-overview.png | Bin 49138 -> 48474 bytes 2 files changed, 0 insertions(+), 0 deletions(-) commit 74fd3e734f3b6e7702ee1a859855ef6bd1c28ef9 Author: Benjamin Otte Date: Mon Jun 8 15:29:57 2009 +0200 typo in documentation gio/gsocketconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29a4a0a44dc09dabe071a989da2500b2bc143cbd Author: Benjamin Otte Date: Mon Jun 8 15:27:12 2009 +0200 only query file info in g_file_copy() when we need it The default implementation of g_file_copy() checked the size of the file to copy to give useful progress updates unconditionally. This can cause long delays on 1-connection FTP servers while it tries to open a second connection before it returns EBUSY. This patch makes this query only happen when we actually send progress updates. gio/gfile.c | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) commit 0bb5739f323396b40bbe6470c505606ea265afa0 Author: Alexander Larsson Date: Mon Jun 1 22:09:21 2009 +0200 Reformat g_themed_icon_get_names return type to make gtk-doc work Seems the gtk-doc scanner needs "const gchar* const *" to work, so switching to that. gio/gthemedicon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce6fbd623115c88cfdf0f5ed36b01cca201ba78e Author: Dan Winship Date: Thu May 28 15:27:04 2009 -0400 Fix multiple bugs in g_srv_target_list_sort() In particular, targets with weight 0 should be very UNlikely to be selected, not very likely, as they were before. However, even ignoring that bug in the logic, there was an additional bug (swapping list items would cause the 0-weight items to get re-ordered incorrectly anyway), and the code contained several fencepost errors. This patch also adds gio/tests/srvtarget.c, which confirms that for a sample list of targets, we now generate all possible correct random sortings and no incorrect sortings, and the correct sortings occur in roughly the expected proportions (though if the current code is still wrong, those proportions may be wrong as well). http://bugzilla.gnome.org/show_bug.cgi?id=583398 gio/gsrvtarget.c | 92 ++++++++++++++--------------- gio/tests/Makefile.am | 6 +- gio/tests/srvtarget.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 205 insertions(+), 50 deletions(-) commit 1ca91a212503e64a150c78cdb9ce0489efaa7a59 Author: Dan Winship Date: Sat May 23 21:49:47 2009 -0300 Clarify some GSocket docs gio/gsocket.c | 218 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 120 insertions(+), 98 deletions(-) commit 5b3d62a7a6d4354b1588dd94f477c44bd15f1753 Author: Dan Winship Date: Mon Apr 27 17:35:04 2009 -0400 Misc networking build fixes http://bugzilla.gnome.org/show_bug.cgi?id=580301 http://bugzilla.gnome.org/show_bug.cgi?id=584176 gio/gnetworkaddress.c | 8 +------- gio/gnetworkingprivate.h | 8 +++++++- gio/gresolver.c | 2 +- gio/gsocket.c | 8 +------- gio/gsocketcontrolmessage.c | 5 +---- gio/gunixresolver.c | 1 - gio/gunixsocketaddress.c | 2 -- gio/libasyncns/g-asyncns.h | 17 +++++++++++++++++ 8 files changed, 28 insertions(+), 23 deletions(-) commit 85816117e3da8c8751bb9c12f93580c9910ec8da Author: Tor Lillqvist Date: Mon Jun 1 14:04:49 2009 +0300 Bump _WIN32_WINNT to 0x0501 Needed to get prototypes for getaddrinfo() and friends on mingw. gio/gnetworkingprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a50bab276cdbde6387c0dd07666de1879e2d6c9 Author: Hans Breuer Date: Sat May 30 15:33:14 2009 +0200 Define fstat() for msvc build glib/giowin32.c | 4 ++++ glib/gkeyfile.c | 4 ++++ glib/gmappedfile.c | 5 +++++ 3 files changed, 13 insertions(+) commit 75ef01824803c70f42d412c19d4e61904702e461 Author: Hans Breuer Date: Sat May 30 15:29:23 2009 +0200 Updated msvc build files README.win32 | 13 ++++-- config.h.win32.in | 3 ++ gio/makefile.msc | 82 +++++++++++++++++----------------- gio/win32/makefile.msc | 35 +++++++++++++++ glib/makefile.msc.in | 114 ++++++++++++++++++++++++++---------------------- glibconfig.h.win32.in | 5 +++ tests/makefile.msc.in | 39 ++++++++--------- 7 files changed, 172 insertions(+), 119 deletions(-) commit 780185449fadcbc5d79d9dea245067c16f475a92 Author: Hans Breuer Date: Sat May 30 15:24:06 2009 +0200 Version resource template for gio gio/gio.rc.in | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 73dbe591fb9ae98aab6902cf213132e2ad99c88c Author: Hans Breuer Date: Sat May 30 15:18:02 2009 +0200 Handle EAI_NODATA==EAI_NONAME in win32 SDK gio/gresolver.c | 2 ++ 1 file changed, 2 insertions(+) commit cbca0ac5d92df015902b3fd8a9086a29b20bc6f9 Author: Hans Breuer Date: Sat May 30 15:14:01 2009 +0200 Include io.h for write() on win32 gio/gcancellable.c | 1 + 1 file changed, 1 insertion(+) commit 136793cc5e5e808c82d21664c0ba96c95c8f7075 Author: Hans Breuer Date: Sat May 30 15:08:29 2009 +0200 Simplified for pre-built package use build/win32/make.msc | 120 ++++++++++++++++++++++++++++++++++------------- build/win32/module.defs | 29 ++++++++---- 2 files changed, 108 insertions(+), 41 deletions(-) commit f4e89ab87702d220babc4d18ec8450e351d3c06e Author: Hans Breuer Date: Sat May 30 15:02:14 2009 +0200 Replace FIXME with proper SDK version define gio/gnetworkingprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 661bb521d126480606e12a15f722069eeddfc306 Author: Matthias Clasen Date: Thu May 28 23:50:48 2009 -0400 Bump version configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33a2f5a21212a62e96ba8f5691a51d512a8925bd Author: Matthias Clasen Date: Thu May 28 23:44:48 2009 -0400 Release 2.21.1 docs/reference/glib/tmpl/glib-unused.sgml | 67 --- docs/reference/glib/tmpl/macros_misc.sgml | 6 +- docs/reference/glib/tmpl/types.sgml | 2 + docs/reference/glib/tmpl/version.sgml | 68 +++ po/am.po | 203 +++---- po/ar.po | 203 +++---- po/as.po | 203 +++---- po/az.po | 203 +++---- po/be.po | 207 ++++---- po/be@latin.po | 206 ++++---- po/bg.po | 205 ++++---- po/bn.po | 203 +++---- po/bn_IN.po | 203 +++---- po/bs.po | 203 +++---- po/ca.po | 204 ++++---- po/ca@valencia.po | 815 +++++++++++++++-------------- po/cs.po | 204 ++++---- po/cy.po | 204 ++++---- po/da.po | 204 ++++---- po/de.po | 205 ++++---- po/dz.po | 203 +++---- po/el.po | 204 ++++---- po/en_CA.po | 203 +++---- po/en_GB.po | 203 +++---- po/eo.po | 203 +++---- po/es.po | 815 ++++++++++++++--------------- po/et.po | 203 +++---- po/eu.po | 205 ++++---- po/fa.po | 203 +++---- po/fi.po | 203 +++---- po/fr.po | 205 ++++---- po/ga.po | 203 +++---- po/gl.po | 205 ++++---- po/gu.po | 203 +++---- po/he.po | 203 +++---- po/hi.po | 203 +++---- po/hr.po | 204 ++++---- po/hu.po | 205 ++++---- po/hy.po | 203 +++---- po/id.po | 205 ++++---- po/is.po | 203 +++---- po/it.po | 205 ++++---- po/ja.po | 203 +++---- po/ka.po | 203 +++---- po/kn.po | 203 +++---- po/ko.po | 203 +++---- po/ku.po | 203 +++---- po/lt.po | 204 ++++---- po/lv.po | 203 +++---- po/mai.po | 203 +++---- po/mg.po | 205 ++++---- po/mk.po | 205 ++++---- po/ml.po | 203 +++---- po/mn.po | 203 +++---- po/mr.po | 204 ++++---- po/ms.po | 203 +++---- po/nb.po | 204 ++++---- po/ne.po | 203 +++---- po/nl.po | 205 ++++---- po/nn.po | 203 +++---- po/oc.po | 203 +++---- po/or.po | 234 +++++---- po/pa.po | 203 +++---- po/pl.po | 205 ++++---- po/ps.po | 203 +++---- po/pt.po | 203 +++---- po/pt_BR.po | 205 ++++---- po/ro.po | 203 +++---- po/ru.po | 204 ++++---- po/rw.po | 203 +++---- po/si.po | 203 +++---- po/sk.po | 205 ++++---- po/sl.po | 205 ++++---- po/sq.po | 204 ++++---- po/sr.po | 203 +++---- po/sr@ije.po | 203 +++---- po/sr@latin.po | 203 +++---- po/sv.po | 204 ++++---- po/ta.po | 203 +++---- po/te.po | 203 +++---- po/th.po | 203 +++---- po/tl.po | 204 ++++---- po/tr.po | 203 +++---- po/tt.po | 203 +++---- po/uk.po | 204 ++++---- po/vi.po | 204 ++++---- po/wa.po | 203 +++---- po/xh.po | 204 ++++---- po/yi.po | 203 +++---- po/zh_CN.po | 203 +++---- po/zh_HK.po | 203 +++---- po/zh_TW.po | 203 +++---- 92 files changed, 10246 insertions(+), 9069 deletions(-) commit 479c45564a7010dad0742912506e1dff9b61fdd5 Author: Matthias Clasen Date: Thu May 28 23:06:24 2009 -0400 Update NEWS once more NEWS | 1 + 1 file changed, 1 insertion(+) commit 62abf79be2f7133d4c14aa89a04ac7261e00b9f0 Author: Matthias Clasen Date: Thu May 28 14:40:04 2009 -0400 Another pedantic docs fix gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d32226da6d4ff565aebd41b5f126d625dc42816b Author: Alexander Larsson Date: Thu May 28 15:34:07 2009 +0200 Ref the right type in g_socket_control_message_deserialize We were not looking at the right type at all due to a typo. gio/gsocketcontrolmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 390549f6c4968b14ce4a141781f1131f6a09eafe Author: Alexander Larsson Date: Thu May 28 15:33:52 2009 +0200 Document g_socket_control_message_deserialize gio/gsocketcontrolmessage.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit dbe7408a5c06b4e88cf2605a24b0949adc02446c Author: Shixin Zeng Date: Thu May 28 12:52:23 2009 +0300 Fix string length bugs in GWinHttpFile (#580347) gio/win32/gwinhttpfile.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a859f883cf939b1010c3783ad34879b2ba897bfe Author: Matthias Clasen Date: Thu May 28 00:30:21 2009 -0400 Fix make check gio/ginetsocketaddress.c | 2 +- gio/gnetworkaddress.c | 2 +- gio/gnetworkservice.c | 2 +- gio/gsocketconnectable.c | 2 +- gio/gsocketcontrolmessage.c | 2 +- gio/gsocketinputstream.c | 5 +++++ gio/gsocketoutputstream.c | 7 +++++++ gio/gthreadedsocketservice.c | 2 +- gio/gunixfdmessage.c | 2 +- gio/gunixsocketaddress.c | 2 +- gio/pltcheck.sh | 2 +- 11 files changed, 21 insertions(+), 9 deletions(-) commit a39670dade8d68062a9ed2a3695b68945f34c5a5 Author: Matthias Clasen Date: Thu May 28 00:08:42 2009 -0400 Update for 2.21.1 NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit 576839adbe9a72903fd435d24dbbb7826c691fcc Author: Matthias Clasen Date: Wed May 27 22:44:31 2009 -0400 Fix references to nonexisting functions gio/gasyncinitable.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 06144900ec87effb99c94e2d8369ca270d024bf1 Author: Matthias Clasen Date: Wed May 27 18:20:08 2009 -0400 Documentation and coding style fixups Lots of pedanic changes. docs/reference/gio/gio-sections.txt | 18 +-- docs/reference/gio/gio.types | 1 + gio/gasyncinitable.c | 165 ++++++++++++----------- gio/gfile.c | 155 +++++++++++----------- gio/ginetaddress.c | 165 ++++++++++++++++++----- gio/ginetsocketaddress.c | 28 ++-- gio/ginitable.c | 22 ++-- gio/ginitable.h | 3 +- gio/gioenums.h | 48 ++++--- gio/giostream.c | 132 +++++++++---------- gio/giotypes.h | 15 ++- gio/gnetworkaddress.c | 44 ++++--- gio/gnetworkaddress.h | 16 +-- gio/gnetworkservice.c | 32 +++-- gio/gresolver.c | 6 +- gio/gresolver.h | 2 +- gio/gsocket.c | 247 +++++++++++++++++++---------------- gio/gsocketaddress.c | 17 +-- gio/gsocketaddressenumerator.c | 34 ++--- gio/gsocketaddressenumerator.h | 2 +- gio/gsocketclient.c | 106 ++++++++------- gio/gsocketclient.h | 16 +-- gio/gsocketconnectable.c | 4 +- gio/gsocketconnectable.h | 4 +- gio/gsocketconnection.c | 102 ++++++++------- gio/gsocketconnection.h | 26 ++-- gio/gsocketcontrolmessage.c | 39 ++++-- gio/gsocketlistener.c | 116 ++++++++-------- gio/gsocketservice.c | 35 ++--- gio/gsocketservice.h | 2 +- gio/gsrvtarget.c | 4 +- gio/gtcpconnection.c | 30 +++-- gio/gthreadedsocketservice.c | 24 ++-- gio/gunixconnection.c | 20 +-- gio/gunixconnection.h | 2 +- gio/gunixfdmessage.c | 43 +++--- gio/gunixfdmessage.h | 6 +- gio/gunixsocketaddress.c | 4 +- 38 files changed, 964 insertions(+), 771 deletions(-) commit eecbbb0a20a114b4a2c6759aa108940902c8961c Author: Matthias Clasen Date: Wed May 27 12:07:13 2009 -0400 Fix the an index title docs/reference/gio/gio-docs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00151ec0e1ea5c6b8be13c70a8808bc0ff380e3b Author: Matthias Clasen Date: Wed May 27 12:01:14 2009 -0400 Fix a locking problem in g_main_context_iterate() We failed to ensure that the context is locked on every exit of the function. This fixes bug 583324. glib/gmain.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 209a662c2fb664bed2bf4e26bbda784ca7c0739d Author: Hans Breuer Date: Wed May 27 15:12:31 2009 +0300 Correct reference and implement close_fn (#578769) Do proper referencing and unreferencing of GWinHttpFileInputStream::file and GWinHttpFileInputStream::file::vfs. Implement GWinHttpFileInputStream::close_fn. gio/win32/gwinhttpfile.c | 5 ++++- gio/win32/gwinhttpfileinputstream.c | 23 ++++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) commit 623f99dc3dee7712da4ac209ba445b2199b2963c Author: Alexander Larsson Date: Wed May 27 11:11:37 2009 +0200 Add required defines on solaris for GSocket to build (#582856) Turns out that the msg_control and related things are not defined in the system headers unless you define some _XOPEN_SOURCE things. configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit f99be75ff9d62f8e8e4e8850e34fe1020e58cb8c Author: Alexander Larsson Date: Mon May 25 15:46:35 2009 +0200 Remove mention of non-existing calls from docs The docs mentions a separate seekable API for the various file streams which don't actually exists. Change this to refer to the generic GSeekable calls. gio/gfileinputstream.c | 10 ++++------ gio/gfileiostream.c | 14 +++++++------- gio/gfileoutputstream.c | 17 ++++++++--------- 3 files changed, 19 insertions(+), 22 deletions(-) commit 3c0feca7f109c68e8c2a278875e576b18966d299 Author: Alexander Larsson Date: Mon May 25 12:47:12 2009 +0200 Don't end enum with comma (#583663) This is valid C but breaks C++, so don't put it in headers. gio/gioenums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c93c98732aefb8472c94e75fea36f4924c7c746c Author: Alexander Larsson Date: Mon May 25 12:46:03 2009 +0200 Don't return something from a void function (#583408) gio/gsocketcontrolmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce171195d99c57e895bb02c7b324c811f958a91f Author: Alexander Larsson Date: Mon May 25 11:33:56 2009 +0200 Add g_inet_address_get_native_size (#583205) This can be used to get the size of g_inet_address_to_bytes(). docs/reference/gio/gio-sections.txt | 1 + gio/ginetaddress.c | 22 +++++++++++++++++++++- gio/ginetaddress.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 25 insertions(+), 1 deletion(-) commit fb70c6420b63a17bed11b594dd7255df08424fec Author: Miquel Esplà Date: Mon May 25 00:23:58 2009 +0200 Added Valencian-Catalan translation po/LINGUAS | 1 + po/ca@valencia.po | 1939 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1940 insertions(+) commit bde3e9c3549bc74bdd2061945f2647fdd8aa3b77 Author: Jorge Gonzalez Date: Sat May 23 20:00:22 2009 +0200 Updated Spanish translation po/es.po | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) commit 37bd225d7b28e12fd78344d07e656cc2ff0d8d75 Author: Christian Persch Date: Tue May 27 23:45:08 2008 +0200 Fix grammar in error message Bug #583198. glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76ebe6c069b7fb1d09e6b95172185b325a3bb28e Author: Christian Persch Date: Sat May 24 20:51:07 2008 +0200 Plug a mem leak Bug #583196. glib/tests/keyfile.c | 1 + 1 file changed, 1 insertion(+) commit fc9a888b8cb8b16f093caa5d5faf4057fad1c0ef Author: Christian Persch Date: Tue Jan 27 20:39:37 2009 +0100 Add G_G[U]INTPTR_FORMAT and G_GINTPTR_MODIFIER Add macros for printf formatting for g[u]intptr. Bug 569376. configure.in | 16 ++++++++++++++++ docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/glib/tmpl/macros_misc.sgml | 26 ++++++++++++++++++++++++++ docs/reference/glib/tmpl/types.sgml | 12 ++++++++++++ 4 files changed, 57 insertions(+) commit d046bfe577f71b45b40d8b0592409c88945bb934 Author: Christian Persch Date: Tue Jan 27 19:54:27 2009 +0100 Document g[u]intptr Bug 569375. docs/reference/glib/glib-sections.txt | 4 ++++ docs/reference/glib/tmpl/types.sgml | 19 ++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) commit 54b43229f4d6c3bf456f7b910bc00722a4f956d8 Author: Christian Persch Date: Mon Apr 20 13:46:09 2009 +0200 Use g_error_new_valist instead of a private copy of it gio/gsimpleasyncresult.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit 01b79d67ef0294dd633ccb0998a6d9053772da05 Author: Yeti Date: Mon Apr 20 13:22:17 2009 +0200 Make g_error_new_valist public Bug #569024. docs/reference/glib/glib-sections.txt | 1 + docs/reference/glib/tmpl/error_reporting.sgml | 12 ++++++++++++ glib/gerror.c | 16 +++++++++++++++- glib/gerror.h | 6 ++++++ glib/glib.symbols | 1 + 5 files changed, 35 insertions(+), 1 deletion(-) commit 14d53dcfa8a781a79bd61f50bb73c4a1b3b7857e Author: Alexander Larsson Date: Wed May 20 16:28:20 2009 +0200 Fix connect on win32 We should not wait before calling connect for non-blocking connect. Also, use the right error code for the nonblocking pending case on win32. gio/gsocket.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit bb66fdcce32fedb31ddba2a5aaa4cd1c8f0cdc9e Author: Alexander Larsson Date: Wed May 20 15:59:11 2009 +0200 Fix build on win32 gio/gsocket.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit c897cca601fdf9a91f214a33af33a812680b983e Author: Alexander Larsson Date: Wed May 20 15:58:28 2009 +0200 Don't add unix specific APIs on win32 gio/gio.symbols | 4 ++++ 1 file changed, 4 insertions(+) commit 5a46e4d1406da1a319e421e908aec768760ef139 Author: Alexander Larsson Date: Wed May 20 14:55:14 2009 +0200 Clarify g_cancellable_push_current docs wrt cancellable being NULL (#575013) gio/gcancellable.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit ab29e09dac547c501892cac8cd64721c3f157f00 Author: Alexander Larsson Date: Wed May 20 14:46:51 2009 +0200 Don't dereference identifier_type if it is NULL (#579558) gio/gunixvolume.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d0d10e847f3ea347d651714050a8bafd5332e2cb Author: Robert Bragg Date: Wed May 6 09:20:43 2009 +0100 Take a reference on the gio file monitors while signaling pending file changes It was possible for a signal handler to remove the last reference and dispose the monitor. If there were remaining pending_file_changes they tried to dereference the disposed monitor. This patch simply calls g_object_{ref,unref} around the loop that signals the changes. gio/gfilemonitor.c | 3 +++ 1 file changed, 3 insertions(+) commit 6a9df8256aaccd717aaa7582c704093d727699fe Author: Alexander Larsson Date: Wed May 20 14:17:27 2009 +0200 Use G_GSSIZE_FORMAT where needed (#577884) gio/tests/live-g-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7498049a1683db50805b9a9a580b62bb748918f4 Author: Sjoerd Simons Date: Wed May 20 13:59:50 2009 +0200 Propagate errors from g_network_service_address_enumerator_next_async in its _finish function gio/gnetworkservice.c | 3 +++ 1 file changed, 3 insertions(+) commit 2be66c0458aca37fef8337692fe5b5fe20bc5ccb Author: Jonathon Jongsma Date: Tue May 19 00:10:57 2009 -0500 Typedef GResolverClass in the standard way It's a bit lame, but some of our C++ wrapping scripts expect objects to be typedefed like: typedef struct _FooClass FooClass; struct {} _FooClass; Rather than: typedef struct {} FooClass; Functionally they're the same, but the former makes our lives easier in the short term gio/gresolver.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit cb7a300e3136c9d1ee397a4c740513b8a0f21968 Author: Alexander Larsson Date: Wed May 20 13:49:47 2009 +0200 Don't return something from void function (#583229) g_async_initable_init_async is void, don't return something from it. gio/gasyncinitable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1cbdd2495dcc06eb11c3ef9207aae07acb7c4ba7 Author: Christian Persch Date: Tue May 27 23:44:35 2008 +0200 Preserve errno when using g_set_error with _() and g_strerror() gio/glocalfileoutputstream.c | 2 +- glib/gspawn.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 80cfd099f3c9fa23b2a21c77e3698f1c4ac94b06 Author: Christian Persch Date: Tue May 19 15:03:14 2009 +0200 Use g_set_error_literal Bug #583206. gio/gsocket.c | 20 ++++++++++---------- gio/gsocketclient.c | 8 ++++---- gio/gunixconnection.c | 4 ++-- 3 files changed, 16 insertions(+), 16 deletions(-) commit c20b8d4d53a4e90f0e822276f6fbd94d52ff3c85 Author: Alexander Larsson Date: Wed May 20 13:37:55 2009 +0200 Check that close_fn is not %NULL before calling (#578499) Some streams have no close function, so this caused a crash. gio/ginputstream.c | 13 ++++++++----- gio/giostream.c | 11 +++++++---- gio/goutputstream.c | 18 +++++++++++------- 3 files changed, 26 insertions(+), 16 deletions(-) commit 0a280dadec8394dd198c8cea0bc288d92c9c6ffd Author: Stefan Kost Date: Tue May 19 14:33:25 2009 +0300 docs: fix typo glib/gsequence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9033b37589fcdf42d10025ea9e4d0dfc2c018bf4 Author: Sjoerd Simons Date: Wed May 20 12:41:50 2009 +0200 Add helper functions for connecting to service (#583061) docs/reference/gio/gio-sections.txt | 3 ++ gio/gio.symbols | 3 ++ gio/gsocketclient.c | 93 +++++++++++++++++++++++++++++++++++ gio/gsocketclient.h | 15 ++++++ 4 files changed, 114 insertions(+) commit 25800ed4a393f7edbea179aa86907079a58fd097 Author: Dan Winship Date: Sun May 17 20:44:54 2009 -0400 Ignore SIGPIPE when using GSocket http://bugzilla.gnome.org/show_bug.cgi?id=583001 gio/gsocket.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 2ea22d8f46c21de6fc1eb012f258a3cfcda36752 Author: Alexander Larsson Date: Wed May 20 12:14:04 2009 +0200 Remove non-existing parameter from docs g_unix_socket_address_abstract_names_supported has no address argument gio/gunixsocketaddress.c | 1 - 1 file changed, 1 deletion(-) commit 9d36c86f8a0c759625753c4a9a02e0cfbf123a4b Author: Alexander Larsson Date: Wed May 20 12:10:33 2009 +0200 Add missing symbols to gio.symbols gio/gio.symbols | 6 ++++++ 1 file changed, 6 insertions(+) commit 9346f461f32375a34d2829d949dce8284c21654f Author: Alexander Larsson Date: Wed May 20 12:07:30 2009 +0200 Add missing types to gio.types docs/reference/gio/gio.types | 6 ++++++ 1 file changed, 6 insertions(+) commit 5cd86fbda662defa03709a9277b25784d953541e Author: Alexander Larsson Date: Wed May 20 12:01:29 2009 +0200 Remove protocol names, instead use an enum with common protocols The whole protocol name thing is pretty weird. The getprotobyname functions seem to only specify one mapping for name <-> ids, so all families/types must use the same values. Plus the values used for the protocols are standardized by IANA, so are always the same. So, we drop using names for protocols, intead introducing an enum with a few commonly availible and used protocols. docs/reference/gio/#gio-unused.txt# | 100 +++++++++++++++++++++++ docs/reference/gio/aa | 74 ++++++++++++++++++ docs/reference/gio/b | 77 ++++++++++++++++++ docs/reference/gio/bb | 77 ++++++++++++++++++ docs/reference/gio/gio-sections.txt | 5 +- gio/gio.symbols | 4 +- gio/gioenums.h | 24 ++++++ gio/gsocket.c | 148 ++++++----------------------------- gio/gsocket.h | 7 +- gio/gsocketclient.c | 40 +++++----- gio/gsocketclient.h | 4 +- gio/gsocketconnection.c | 2 +- gio/gsocketlistener.c | 15 ++-- gio/gsocketlistener.h | 2 +- gio/gtcpconnection.c | 8 +- gio/gunixconnection.c | 2 +- 16 files changed, 417 insertions(+), 172 deletions(-) commit 6d01593b061afb52d22891a371fb29f42d4d62cc Author: Alexander Larsson Date: Wed May 20 11:30:43 2009 +0200 Clarify "current condition" in g_socket_create_source docs gio/gsocket.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 80881826447a10b5ae3c08c9a88440eba75bcd05 Author: Alexander Larsson Date: Wed May 20 11:28:27 2009 +0200 Actually implement max_threads for GThreadedSocketService gio/gthreadedsocketservice.c | 73 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 66 insertions(+), 7 deletions(-) commit 053f9e72b12b9b5ab5571da9f4cd0b9b13f41e62 Author: Alexander Larsson Date: Wed May 20 11:19:47 2009 +0200 Add support for graceful disconnect to GTcpConnection docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gtcpconnection.c | 331 +++++++++++++++++++++++++++++++++++ gio/gtcpconnection.h | 6 +- gio/tests/send-data.c | 49 +++++- 5 files changed, 386 insertions(+), 4 deletions(-) commit f061765e54b81a92f4ce901016964ea4c31d77e0 Author: Alexander Larsson Date: Wed May 20 11:18:34 2009 +0200 Call sync close function directly in async implementation The g_io_stream_wrapper fails since there is already an outstanding operation (the async close). gio/gsocketconnection.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fdfdec36d0d0044513db25872132bd42d392f748 Author: Alexander Larsson Date: Tue May 19 13:44:11 2009 +0200 Add send-data, a g_socket_client test case gio/tests/Makefile.am | 6 ++- gio/tests/send-data.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 1 deletion(-) commit 18373cfbe85dc8398ae1e66748721400a08b32a8 Author: Alexander Larsson Date: Tue May 19 12:06:29 2009 +0200 Set the listen backlog before calling listen. If we set it after it won't be used. gio/gsocketlistener.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 64383fa3d92b636e8fc977743de1c8f513d08dd2 Author: Alexander Larsson Date: Tue May 19 11:53:42 2009 +0200 Fix g_unix_socket_address_abstract_names_supported docs The previous description was a cut-n-paste from another function. gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ffe7221934623f60e07d3b733d170ce94d26dd5 Author: Alexander Larsson Date: Tue May 19 11:52:33 2009 +0200 Add g_socket_shutdown docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gsocket.c | 73 +++++++++++++++++++++++++++++++++++ gio/gsocket.h | 4 ++ 4 files changed, 79 insertions(+) commit 03441e724a6b6d0b115fa5b2d9fbeefaa1fd2faa Author: Alexander Larsson Date: Tue May 19 11:27:07 2009 +0200 Document GOutputVector and GInputVector docs/reference/gio/gio-sections.txt | 2 ++ gio/giotypes.h | 23 +++++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) commit e1a4389cbc549b0db39ec692f2fde5c20579362c Author: Alexander Larsson Date: Tue May 19 10:57:58 2009 +0200 Rename g_socket_check_pending_error to g_socket_check_connect_result This is only used for connect anyway, and this describes the operation better. docs/reference/gio/gio-sections.txt | 2 +- gio/gio.symbols | 2 +- gio/gsocket.c | 12 ++++++------ gio/gsocket.h | 2 +- gio/gsocketclient.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) commit bcba61c951c0a81326e2065ae81352ae2cbca6bb Author: Alexander Larsson Date: Tue May 19 10:47:55 2009 +0200 Update docs on listen backlog Mention g_socket_set_listen_backlog in g_socket_listen. Explain that listen backlock needs to be set before calling listen. Also verify this with a g_return_if_fail. gio/gsocket.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 69130db81a0b174bb072f458e8c1b1cd6bc1a0c9 Author: Alexander Larsson Date: Tue May 19 10:40:27 2009 +0200 Read socket state in g_socket_get_local/remote_address Previously we saved the location in various places which is unnecessary and sometimes even wrong. For instance, we saved the address we bound to which may not have the final port set. gio/gsocket.c | 88 +++++++++++++++------------------------------ gio/gsocketconnection.c | 2 ++ gio/tests/socket-server.c | 1 + 3 files changed, 31 insertions(+), 60 deletions(-) commit f8cd1c530488c0b56634fab049ac775d094e9e58 Author: Alexander Larsson Date: Tue May 19 10:16:32 2009 +0200 Clean up refereces to @protocol_id in g_socket_new docs This was not fully updated from the protocol to protocol_id change. gio/gsocket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3756ddb0eea8cef31e9aaad53eb6aa7d24a80fde Author: Alexander Larsson Date: Mon May 18 23:24:13 2009 +0200 Ignore error when setting SO_REUSEADDR The main error would be "not supported" which could happen for e.g. unix domain sockets, we don't really care, as this is mainly something for TCP to help out a bit. gio/gsocket.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) commit f24c7fa9cbf2e0caa08a48ef64141d7ea50105aa Author: Alexander Larsson Date: Mon May 18 21:30:33 2009 +0200 Add support for abstract unix socket addresses docs/reference/gio/gio-sections.txt | 5 + gio/gsocketaddress.c | 3 + gio/gunixsocketaddress.c | 300 ++++++++++++++++++++++++++++------- gio/gunixsocketaddress.h | 9 +- 4 files changed, 262 insertions(+), 55 deletions(-) commit d8bdc3e5678498996efe618bec32b8ae43ca8b39 Author: Alexander Larsson Date: Mon May 18 14:10:07 2009 +0200 Add GError to g_socket_address_to_native This is nice for some callers so they can report an error. It is also required to support opional address types like abstract paths for unix domain sockets. gio/ginetsocketaddress.c | 23 +++++++++++++++++++---- gio/gresolver.c | 2 +- gio/gsocket.c | 11 +++++++---- gio/gsocketaddress.c | 13 +++++++++---- gio/gsocketaddress.h | 6 ++++-- gio/gunixsocketaddress.c | 9 +++++++-- 6 files changed, 47 insertions(+), 17 deletions(-) commit eefd7cd8db5c7749212e7c9861a84eb3e34be1ee Author: Jorge Gonzalez Date: Mon May 18 20:19:05 2009 +0200 Updated Spanish translation po/es.po | 815 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 415 insertions(+), 400 deletions(-) commit 6ea86cc57f1b8b8c7acc4e08ece8baef5f28a53a Author: Alexander Larsson Date: Mon May 18 13:02:11 2009 +0200 Update the docs for the new network APIs This imports the network APIs into the gio reference docs, and cleans up a bunch of gtk-doc warnings and documentation issues. docs/reference/gio/gio-docs.xml | 43 +++- docs/reference/gio/gio-sections.txt | 350 ++++++++++++++++++++++++++++- docs/reference/gio/gio.types | 20 +- docs/reference/gio/overview.xml | 28 +++ docs/reference/glib/tmpl/glib-unused.sgml | 67 ++++++ docs/reference/glib/tmpl/macros_misc.sgml | 5 +- docs/reference/glib/tmpl/version.sgml | 68 ------ gio/gasyncinitable.c | 7 +- gio/gfile.c | 2 +- gio/gfile.h | 9 + gio/gfileenumerator.c | 2 +- gio/gfileiostream.c | 10 +- gio/ginetsocketaddress.c | 2 +- gio/ginitable.c | 9 +- gio/gioenums.h | 5 +- gio/giostream.c | 9 +- gio/giotypes.h | 2 + gio/gmount.c | 2 +- gio/gmount.h | 1 + gio/gsocket.c | 4 +- gio/gsocket.h | 5 - gio/gsocketclient.c | 25 +-- gio/gsocketclient.h | 8 +- gio/gsocketconnection.c | 17 +- gio/gsocketconnection.h | 2 +- gio/gsocketlistener.c | 10 +- gio/gsocketservice.c | 3 +- gio/gthemedicon.c | 6 +- gio/gunixconnection.c | 2 +- gio/gunixsocketaddress.c | 2 +- 30 files changed, 575 insertions(+), 150 deletions(-) commit e1afc6e79b9526d68eff0f218ac98a6f0e323513 Author: Alexander Larsson Date: Mon May 18 11:30:48 2009 +0200 Remove gtk-doc warnings Some code was using gtk-doc comment blocks for non-gtk-doc contents, just turn it into ordinary comments. gio/fen/fen-kernel.c | 2 +- gio/inotify/inotify-helper.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 822abda451c9999ac4e1cf3b8d5649ebebbb5ee4 Author: Alexander Larsson Date: Mon May 18 11:29:11 2009 +0200 Add more internal headers for gtk-doc to ignore This gives less bogus output in gio-unused.txt docs/reference/gio/Makefile.am | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit c3f4e0162714f4712edcf51fa1502c8187faf5c0 Author: Alexander Larsson Date: Mon May 18 11:27:49 2009 +0200 Make all non-static functions start with underscore We don't want to export a lot of non-namespaced internal symbols. gio/fen/fen-data.c | 158 ++++++++++++++++++++-------------------- gio/fen/fen-data.h | 28 +++---- gio/fen/fen-dump.c | 2 +- gio/fen/fen-helper.c | 76 +++++++++---------- gio/fen/fen-helper.h | 6 +- gio/fen/fen-kernel.c | 22 +++--- gio/fen/fen-kernel.h | 14 ++-- gio/fen/fen-missing.c | 10 +-- gio/fen/fen-missing.h | 4 +- gio/fen/fen-node.c | 38 +++++----- gio/fen/fen-node.h | 22 +++--- gio/fen/fen-sub.c | 4 +- gio/fen/fen-sub.h | 4 +- gio/fen/gfendirectorymonitor.c | 16 ++-- gio/fen/gfenfilemonitor.c | 16 ++-- gio/fen/libfen_la-fen-dump.loT | 7 ++ 16 files changed, 217 insertions(+), 210 deletions(-) commit 66d49b8bdeed9bac71acda847d8cbe0203dd5ba4 Author: Alexander Larsson Date: Mon May 18 09:28:26 2009 +0200 Remove g_socket_set/get_reuse_address from header These functions have been removed. gio/gsocket.h | 3 --- 1 file changed, 3 deletions(-) commit 13cb01176291a8baa171da8dcb9f679b274af450 Author: Alexander Larsson Date: Mon May 18 08:47:10 2009 +0200 Add max_threads argument to g_threaded_socket_service_new gio/gthreadedsocketservice.c | 4 +++- gio/gthreadedsocketservice.h | 2 +- gio/tests/echo-server.c | 2 +- gio/tests/httpd.c | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) commit 5b683af237f1c5dac62c83e11459d46799ba6ecf Author: Paul Pogonyshev Date: Sun May 17 15:17:57 2009 +0300 Fix error message in set_mtime_atime() Bug #578786. gio/glocalfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 34e74378c9fc99a3dc75eb9680bb00cb784029bb Author: Alexander Larsson Date: Fri May 15 21:34:14 2009 +0200 Add test apps for highlevel socket classes echo-server - simple echo server httpd - simple http server gio/tests/Makefile.am | 10 ++- gio/tests/echo-server.c | 73 +++++++++++++++++++ gio/tests/httpd.c | 183 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 265 insertions(+), 1 deletion(-) commit 67df7d43e926702290280578cd6b89fee7302d72 Author: Alexander Larsson Date: Fri May 15 21:27:54 2009 +0200 Add references to highlevel classes in GSocket docs gio/gsocket.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit ce8361217c1c9bd458eab55554a77d24210235cc Author: Alexander Larsson Date: Fri May 15 21:26:24 2009 +0200 Import all the highlevel socket classes from gnio gio/Makefile.am | 22 +- gio/gio-marshal.list | 1 + gio/gio.h | 8 +- gio/gio.symbols | 82 ++++ gio/giotypes.h | 50 +++ gio/gsocketclient.c | 912 ++++++++++++++++++++++++++++++++++++++++++ gio/gsocketclient.h | 115 ++++++ gio/gsocketconnection.c | 474 ++++++++++++++++++++++ gio/gsocketconnection.h | 91 +++++ gio/gsocketinputstream.c | 259 ++++++++++++ gio/gsocketinputstream.h | 58 +++ gio/gsocketlistener.c | 815 +++++++++++++++++++++++++++++++++++++ gio/gsocketlistener.h | 134 +++++++ gio/gsocketoutputstream.c | 259 ++++++++++++ gio/gsocketoutputstream.h | 58 +++ gio/gsocketservice.c | 330 +++++++++++++++ gio/gsocketservice.h | 88 ++++ gio/gtcpconnection.c | 67 ++++ gio/gtcpconnection.h | 64 +++ gio/gthreadedsocketservice.c | 215 ++++++++++ gio/gthreadedsocketservice.h | 81 ++++ gio/gunixconnection.c | 293 ++++++++++++++ gio/gunixconnection.h | 77 ++++ 23 files changed, 4550 insertions(+), 3 deletions(-) commit 2597e3adc37ce342972e995444f4417e0aa6fb5d Author: Alexander Larsson Date: Fri May 15 20:58:27 2009 +0200 Remove unused variable gio/glocalfileoutputstream.c | 1 - 1 file changed, 1 deletion(-) commit 4ade78fc3d242b58d57d92944c16ba7ef4614b2c Author: Alexander Larsson Date: Fri May 15 20:43:02 2009 +0200 Include stdlib.h to avoid warning Fixes a "implicit declaration of function ‘strtol’" warning gio/gnetworkaddress.c | 1 + 1 file changed, 1 insertion(+) commit d3a2c457cb55730181c04c8d6d1f611ee555c250 Author: Alexander Larsson Date: Fri May 15 20:42:04 2009 +0200 Forgot to return the allocated data in async_op_wrapper_new gio/gfileiostream.c | 2 ++ 1 file changed, 2 insertions(+) commit a48fc532519b849498c8b75dde578caf0c270b23 Author: Alexander Larsson Date: Fri May 15 10:42:28 2009 +0200 Make cancellable pipe fds close-on-exec GCancellable is purely an in-process thing, so ensure that no cancellable fds accidentally leak to child processes. gio/gcancellable.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 23424e7bcb93abe805394d11e8b32beb7571e87c Author: Alexander Larsson Date: Fri May 15 10:28:30 2009 +0200 Add padding to new classes gio/gsocketcontrolmessage.h | 9 +++++++++ gio/gunixfdmessage.h | 6 ++++++ 2 files changed, 15 insertions(+) commit 8f67f47e05a9244d86d9661caa73e5a2fc573e55 Author: Alexander Larsson Date: Fri May 15 10:08:18 2009 +0200 Add test apps for GSocket API gio/tests/Makefile.am | 10 +- gio/tests/socket-client.c | 294 +++++++++++++++++++++++++++++++++++++++++++ gio/tests/socket-server.c | 304 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 607 insertions(+), 1 deletion(-) commit a258ec3b5bf0a0b2ab1cb1dce8ce715c3895bdaa Author: Alexander Larsson Date: Fri May 15 10:05:55 2009 +0200 Fix deadlock in threaded resolver When you're using the threaded resolver and using a sync call without a cancellable the resolve_sync forgot to unlock the initial req->mutex lock, leading to a deadlock when unrefing the request. gio/gthreadedresolver.c | 1 + 1 file changed, 1 insertion(+) commit f662e7e86bc27102948683c0925815efefb43bbc Author: Alexander Larsson Date: Fri May 15 09:10:23 2009 +0200 Store protocol by id, add lookup function for name We want to use the protocol id for lookup in the GSocketConnection code, so we expose it. We also make GSocket store the protocol as an int for less memory use and to allow platform specific protocols to be specified. Also added g_socket_protocol_id_lookup_by_name() to allow the higher level code to specify the name by string, and g_socket_get_protocol_name() to get it. gio/gio.symbols | 4 +- gio/gsocket.c | 178 +++++++++++++++++++++++++++++++++++++++++-------------- gio/gsocket.h | 6 +- 3 files changed, 141 insertions(+), 47 deletions(-) commit bd87df9e73272c72a1f45cc606d010e8c4961363 Author: Alexander Larsson Date: Thu May 14 16:58:47 2009 +0200 Make GSocketSourceFunc return the GSocket This is very useful when you have multiple sockets with sources. gio/gasynchelper.c | 38 +++++++++++++++++++++++++++++--------- gio/gasynchelper.h | 14 +++++++++++--- gio/giotypes.h | 8 +++++--- gio/gsocket.c | 8 +++++--- 4 files changed, 50 insertions(+), 18 deletions(-) commit 7ffdc91f513d6b91d060df6e3ad3401ef23e968d Author: Alexander Larsson Date: Thu May 14 16:19:07 2009 +0200 Set optlen before calling getsockopt We were sometimes failing in g_socket_check_pending_error because we were not setting optlen on input and it was sometimes randomly less than sizeof(int). gio/gsocket.c | 1 + 1 file changed, 1 insertion(+) commit 145cec3c93d5ba0c22d35aaf341b3713cadc0e14 Author: Alexander Larsson Date: Thu May 14 15:26:37 2009 +0200 Import GInitable, GSocket and dependencies from gnio This adds: GInitable - failable object constructor interface GAsyncInitable - async failable object constructor interface GSocket - Platform independent lowlevel berkely socket style object GSocketControlMessage - For passing control messages over GSocket GUnixFDMessage - unix fd passing socket control message Some changes were done during the import from gnio to make things work in glib. For instance, types were moved to other headers, header file boiler plate were updated to glib style and gio.symbols stuff was added. configure.in | 16 + gio/Makefile.am | 10 + gio/gasyncinitable.c | 383 ++++++ gio/gasyncinitable.h | 119 ++ gio/ginitable.c | 251 ++++ gio/ginitable.h | 95 ++ gio/gio.h | 4 + gio/gio.symbols | 81 ++ gio/gioenums.h | 46 +- gio/gioerror.c | 6 + gio/giotypes.h | 59 + gio/gsocket.c | 2970 +++++++++++++++++++++++++++++++++++++++++++ gio/gsocket.h | 172 +++ gio/gsocketcontrolmessage.c | 200 +++ gio/gsocketcontrolmessage.h | 96 ++ gio/gunixfdmessage.c | 259 ++++ gio/gunixfdmessage.h | 67 + 17 files changed, 4833 insertions(+), 1 deletion(-) commit 33c00e5c33dfe612e5d8757dd07e4c3acae30acc Author: Alexander Larsson Date: Thu May 14 10:53:53 2009 +0200 Add g_network_address_parse This is useful if you want to allow users to specify the hostname and optionally a port. configure.in | 3 + gio/gio.symbols | 1 + gio/gnetworkaddress.c | 164 +++++++++++++++++++++++++++++++++++++++++++++++++ gio/gnetworkaddress.h | 12 ++-- 4 files changed, 176 insertions(+), 4 deletions(-) commit 80a484ad2c2495134a87a35f8ac936e8e75c311a Author: Alexander Larsson Date: Thu May 14 15:32:55 2009 +0200 Add the new GFile ops to gio.symbols This adds all the symbols related to GFile GIOStream support that was recently added. gio/gio.symbols | 9 +++++++++ 1 file changed, 9 insertions(+) commit ed0821856533e63bee4f7da54f1a9e6e0b1f12e9 Author: Alexander Larsson Date: Wed May 13 13:06:58 2009 +0200 Add tests for local GIOStream GFile ops gio/tests/Makefile.am | 4 + gio/tests/readwrite.c | 293 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+) commit 14d58d51a325797aee3b53fb4e0ba76ca0adc3f5 Author: Alexander Larsson Date: Wed May 13 13:03:47 2009 +0200 Local file implementation of GFileIOStream and ops This implements all the GIOStream file ops for local files. We use the "fallback to output stream" for all GFileIOStream ops. Some helpers stuff was added to the local input and output streams so they could be reused. gio/Makefile.am | 2 + gio/glocalfile.c | 67 ++++++++++++++++++++++ gio/glocalfileinputstream.c | 12 ++++ gio/glocalfileinputstream.h | 5 +- gio/glocalfileiostream.c | 114 +++++++++++++++++++++++++++++++++++++ gio/glocalfileiostream.h | 60 ++++++++++++++++++++ gio/glocalfileoutputstream.c | 127 +++++++++++++++++++++++++++++++++++++----- gio/glocalfileoutputstream.h | 14 +++++ 8 files changed, 385 insertions(+), 16 deletions(-) commit 7a2d4889b50c5edd3f483c6e037faec1e093ab13 Author: Alexander Larsson Date: Wed May 13 13:00:26 2009 +0200 Add GIOStream operations to GFile g_file_open_readwrite, g_file_create_readwrite, g_file_replace_readwrite and async variants, with default implementations using threads. gio/gfile.c | 666 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gfile.h | 83 ++++++++ 2 files changed, 749 insertions(+) commit bd0b8c60c231c72588d69dfb2018d2e418517f7f Author: Alexander Larsson Date: Tue May 12 16:59:36 2009 +0200 Add GFileIOStream class This is similar to GFileInputStream and GFileOutputStream for GIOStreams. The default implementations chain to the Output stream. gio/Makefile.am | 2 + gio/gfileiostream.c | 671 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gfileiostream.h | 118 +++++++++ gio/gio.h | 1 + gio/gio.symbols | 10 + gio/giostream.c | 3 - gio/giotypes.h | 1 + 7 files changed, 803 insertions(+), 3 deletions(-) commit 6d0bebb7df1129bb78cdd526e1b44c91b61321dd Author: Alexander Larsson Date: Tue May 12 19:31:19 2009 +0200 Add comment about lifecycle issues for GIOStreams gio/giostream.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 05f544c59191ea7eab076fbb77a2e3648d52e167 Author: Alexander Larsson Date: Tue May 12 16:30:15 2009 +0200 Import GIOStream from gnio Based on gnio rev 84516a5f544d8d5f3da368a83844e84eca8ef771 gio/Makefile.am | 2 + gio/gio.h | 1 + gio/gio.symbols | 15 ++ gio/giostream.c | 607 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/giostream.h | 112 ++++++++++ gio/giotypes.h | 1 + 6 files changed, 738 insertions(+) commit 1ecfae6a71b10cda9b3fa1e8f38bb22db01fb0af Author: Alexander Larsson Date: Tue May 12 19:53:24 2009 +0200 Remove close in finalize, we do it in dispose This is not needed, and in fact it may be a bad idea to call it from finalize anyway since the object isn't fully alive then. gio/ginputstream.c | 3 --- 1 file changed, 3 deletions(-) commit 2bbb85633f30da2a7b79b518ca7821cde475cb3a Author: Alexander Larsson Date: Tue May 12 13:57:52 2009 +0200 Remove not actually used member "cancelled" gio/goutputstream.c | 1 - 1 file changed, 1 deletion(-) commit 0030935d041f26e461aca6583927ea0cceb166bb Author: Tor Lillqvist Date: Tue May 12 14:54:12 2009 +0300 Make glibconfig.h.win32.in match the generated one. Add G_GOFFSET_MODIFIER, G_GOFFSET_FORMAT and G_GOFFSET_CONSTANT. glibconfig.h.win32.in | 5 +++++ 1 file changed, 5 insertions(+) commit b3e4b761f465a8cb0948bd6381ad832a0a47436a Author: Alexander Larsson Date: Wed May 6 13:26:17 2009 +0200 Fix gcancellable.c build on non-win32 I forgot to add #ifdef G_OS_WIN32 in one place, sorry. gio/gcancellable.c | 2 ++ 1 file changed, 2 insertions(+) commit e10edefff1308cad307d954b17163538a3c7f20a Author: Alexander Larsson Date: Wed May 6 13:10:58 2009 +0200 Simplify GCancellable support on win32 There is no need to have a GIOChannel in the GPollFD in g_cancellable_create_pollfd. All we need is an Event object that we signal when cancelling and reset when resetting. Also, supporting g_cancellable_get_fd on Windows using _pipe is useless as it doesn't work with any corresponding poll() function, so just don't support that on win32. I tested this with the cancellation support in GSocket from gnio. gio/gcancellable.c | 56 ++++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 30 deletions(-) commit 2fff3026efbaf7e480d1a166c7166c44c6643567 Author: Paul Pogonyshev Date: Mon May 4 22:32:35 2009 +0300 Don't try to ref NULL pointer in g_desktop_app_info_dup() Fixes bug #573246. gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d89cc0d7cbad8b6904931440e579e291ce81780d Author: Carlos Garnacho Date: Tue May 5 14:45:18 2009 -0400 Add a GMount::pre-unmount signal This is the per-mount analogon to GVolumeMonitor::mount-pre-unmount. gio/gmount.c | 16 ++++++++++++++++ gio/gmount.h | 3 +++ gio/gunixmount.c | 2 ++ 3 files changed, 21 insertions(+) commit 4ecec3b1c2d335b1e26b209fc7e2b77013ece795 Author: Manoj Kumar Giri Date: Tue May 5 12:34:44 2009 +0530 Updated Oriya Translation. po/or.po | 111 ++++++++++---------------------------------------------------- 1 file changed, 17 insertions(+), 94 deletions(-) commit 757f9281d7aac1254a156136440b4df4fa52e3a1 Author: Matthias Clasen Date: Sun May 3 18:08:01 2009 -0400 Bump version to 2.21.1 configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a28215fa909ef315e596ebd0b41132730aef909d Author: Matthias Clasen Date: Sun May 3 18:04:31 2009 -0400 Release 2.21.0 docs/reference/gio/gio-docs.xml | 3 + docs/reference/glib/glib-docs.sgml | 3 + docs/reference/gobject/gobject-docs.sgml | 3 + gio/gcancellable.c | 58 +- gio/gresolver.c | 37 +- gio/gsrvtarget.c | 16 +- gio/gthreadedresolver.c | 10 +- gio/gunixresolver.c | 2 +- po/am.po | 226 +++----- po/ar.po | 286 +++++----- po/as.po | 300 +++++----- po/az.po | 276 ++++----- po/be.po | 302 +++++----- po/be@latin.po | 306 +++++----- po/bg.po | 307 +++++----- po/bn.po | 271 ++++----- po/bn_IN.po | 291 +++++----- po/bs.po | 276 ++++----- po/ca.po | 915 +++++++++++++++-------------- po/cs.po | 801 +++++++++++++------------- po/cy.po | 274 ++++----- po/da.po | 304 +++++----- po/de.po | 312 +++++----- po/dz.po | 272 ++++----- po/el.po | 306 +++++----- po/en_CA.po | 289 +++++----- po/en_GB.po | 300 +++++----- po/eo.po | 270 ++++----- po/es.po | 806 +++++++++++++------------- po/et.po | 402 ++++++++++++- po/eu.po | 310 +++++----- po/fa.po | 276 ++++----- po/fi.po | 304 +++++----- po/fr.po | 312 +++++----- po/ga.po | 244 +++----- po/gl.po | 306 +++++----- po/gu.po | 296 +++++----- po/he.po | 300 +++++----- po/hi.po | 296 +++++----- po/hr.po | 272 ++++----- po/hu.po | 305 +++++----- po/hy.po | 228 +++----- po/id.po | 280 ++++----- po/is.po | 273 ++++----- po/it.po | 309 +++++----- po/ja.po | 305 +++++----- po/ka.po | 272 ++++----- po/kn.po | 302 +++++----- po/ko.po | 308 +++++----- po/ku.po | 210 +++---- po/lt.po | 304 +++++----- po/lv.po | 276 ++++----- po/mai.po | 286 +++++----- po/mg.po | 276 ++++----- po/mk.po | 281 ++++----- po/ml.po | 300 +++++----- po/mn.po | 276 ++++----- po/mr.po | 298 +++++----- po/ms.po | 276 ++++----- po/nb.po | 302 +++++----- po/ne.po | 274 ++++----- po/nl.po | 319 +++++------ po/nn.po | 278 ++++----- po/oc.po | 209 +++---- po/or.po | 296 +++++----- po/pa.po | 296 +++++----- po/pl.po | 304 +++++----- po/ps.po | 919 ++++++++++++++---------------- po/pt.po | 305 +++++----- po/pt_BR.po | 304 +++++----- po/ro.po | 307 +++++----- po/ru.po | 312 +++++----- po/rw.po | 276 ++++----- po/si.po | 253 ++++---- po/sk.po | 279 ++++----- po/sl.po | 300 +++++----- po/sq.po | 328 +++++------ po/sr.po | 271 ++++----- po/sr@ije.po | 282 ++++----- po/sr@latin.po | 271 ++++----- po/sv.po | 304 +++++----- po/ta.po | 298 +++++----- po/te.po | 296 +++++----- po/th.po | 296 +++++----- po/tl.po | 284 ++++----- po/tr.po | 304 +++++----- po/tt.po | 238 +++----- po/uk.po | 300 +++++----- po/vi.po | 302 +++++----- po/wa.po | 255 ++++----- po/xh.po | 278 ++++----- po/yi.po | 273 ++++----- po/zh_CN.po | 296 +++++----- po/zh_HK.po | 296 +++++----- po/zh_TW.po | 296 +++++----- 95 files changed, 12758 insertions(+), 14748 deletions(-) commit 4e694faa332a6ef4c576176b568a7f74e142103a Author: Paul Pogonyshev Date: Mon May 4 00:55:35 2009 +0300 Fix g_input_stream_skip_async() documentation Remove mention of inexisting argument. Spotted in relation to bug 581229. gio/ginputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f33a484b4a1a14902dc1789c2e023fbcd4136098 Author: Matthias Clasen Date: Sun May 3 17:10:16 2009 -0400 Fix up tests forgotten in Michaels commit When Michael cleaned up after my fumbled commit of his gmarkup optimizations, he fumbled himself and forgot to fix up the tests... tests/markups/fail-36.gmarkup | Bin 13 -> 42 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit 008ae16d75b2f6e908258d883d8b1c98a98bd648 Author: Matthias Clasen Date: Sun May 3 16:58:22 2009 -0400 Add new functions docs/reference/gobject/gobject-sections.txt | 6 ++++++ 1 file changed, 6 insertions(+) commit d1e6e194cc30744e47067378eb338f7d5a0f1e2b Author: Petr Kovar Date: Sun May 3 18:34:35 2009 +0200 Updated Czech translation po/cs.po | 1013 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 503 insertions(+), 510 deletions(-) commit b3fc55cc4e5b578acc0a06e164c29fe43d060b10 Author: Ivar Smolin Date: Sun May 3 12:03:46 2009 +0300 Updating Estonian translation po/et.po | 550 +++++--------------------------------------------------------- 1 file changed, 37 insertions(+), 513 deletions(-) commit 3f06ddd8cdfa7f4ebf09ef24db7dad5270be36df Author: Matthias Clasen Date: Sat May 2 23:17:29 2009 -0400 Match up parameter names to help gtk-doc gio/gcancellable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e4855ec4b611b9a17c466f4d26a694480f80ad6 Author: Matthias Clasen Date: Sat May 2 23:02:41 2009 -0400 Add bug references NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 2e4b51aeb3bd5fa1fda52946e2d43fc8e7a28b4e Author: Matthias Clasen Date: Sat May 2 22:59:02 2009 -0400 Plug a memory leak in g_simple_async_result_set_op_res_gpointer Fixes bug 579272. gio/gsimpleasyncresult.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 79ef3d32643519ae9c9710acf0c56b54ff540dc3 Author: Matthias Clasen Date: Sat May 2 22:44:52 2009 -0400 Correct g_utf8_to_utf16 docs As pointed out in bug 580932, len is counting bytes here. glib/gutf8.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 2dfce324220bf7e1ea5ca465a74e58cf8146b808 Author: Matthias Clasen Date: Sat May 2 22:41:19 2009 -0400 Accept NULL as empty string list Fixes bug 580656. glib/gkeyfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a4ac1b0552785dfb2d323eb41c6d3875b214989b Author: Matthias Clasen Date: Sat May 2 22:36:15 2009 -0400 Fix reference to g_strtoull As pointed out in bug 580546, that function does not exit. docs/reference/glib/tmpl/macros_misc.sgml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fab0506f5f983dcad8f4c44dbef6fbc1f8fd1b3b Author: Matthias Clasen Date: Sat May 2 22:30:19 2009 -0400 Update NEWS NEWS | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit ff104337d9e95f6e933f3d77a5a24e462c4713cf Author: Matthias Clasen Date: Sat May 2 21:58:30 2009 -0400 Bump version to 2.21.0 configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit dc02797c1e386d72ff24268cc23c19352e8cef6f Author: Jorge Gonzalez Date: Fri May 1 20:20:01 2009 +0200 Updated Spanish translation po/es.po | 1021 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 509 insertions(+), 512 deletions(-) commit 92ac8d165eae438164cffce01fe92cdcf6488970 Author: Dan Winship Date: Fri May 1 10:08:52 2009 -0400 Misc warning fixes glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add back missing config.h includes, and this time add them to the copies in glib/update-pcre/ too so they don't get lost again on the next PCRE update. glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts gio/xdgmime/xdgmimeglob.c: remove unused variable gio/tests/live-g-file.c: fix printf args on x86_64 tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX gio/tests/live-g-file.c | 4 ++-- gio/xdgmime/xdgmimeglob.c | 1 - glib/garray.c | 2 +- glib/gbase64.c | 2 +- glib/pcre/pcre_ucp_searchfuncs.c | 4 ++++ glib/pcre/pcre_valid_utf8.c | 1 + glib/update-pcre/pcre_ucp_searchfuncs.c | 4 ++++ glib/update-pcre/pcre_valid_utf8.c | 1 + tests/Makefile.am | 9 +-------- tests/regex-test.c | 2 ++ 10 files changed, 17 insertions(+), 13 deletions(-) commit 36cb01f447b2401195e3c6b577f490e868363630 Author: Dan Winship Date: Fri May 1 10:08:23 2009 -0400 Add README and INSTALL to .gitignore since they are autogenerated .gitignore | 3 +++ 1 file changed, 3 insertions(+) commit 83699774fa669abfbc5c5c3dc9265308246bd4f6 Author: Michael Meeks Date: Fri May 1 15:23:23 2009 +0100 Patch originally committed only to the ChangeLog & tests ... Bug 572508 – gmarkup speedup ... * glib/gmarkup.c: Various optimizations: do less allocations by keeping a pool of GStrings, do in-place unescaping, avoid redundant utf-8 validation. glib/gmarkup.c | 1129 +++++++++++++++++++++++--------------------------------- 1 file changed, 455 insertions(+), 674 deletions(-) commit d8029ca9bc24bcff7f33c973ef13fae7e6fab904 Author: Alexander Larsson Date: Thu Apr 30 10:46:37 2009 +0200 Ensure g_inet_address_get_type() call is not optimized away Yet another place where the get_type call can be optimized away due to the G_GNUC_CONST attribute. Use a volatile variable to ensure its not. gio/gresolver.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 97fe421518139dcb3477209d3d3c3b6744f54153 Author: David King Date: Wed Apr 29 15:58:35 2009 +0200 Fix ginetaddress.c compile on Linux The GType type definition belongs outside the G_OS_WIN32 typedef. gio/ginetaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 402847c8878a6bf839facdf7a91f096769ebc609 Author: David Zeuthen Date: Wed Apr 29 11:15:20 2009 -0400 Bug 580450 – Reference counting and boxed types for arrays Add reference counting and boxed types for GArray, GByteArray and GPtrArray. Signed-off-by: Matthias Clasen docs/reference/glib/glib-sections.txt | 9 + docs/reference/glib/tmpl/arrays.sgml | 41 ++++- docs/reference/glib/tmpl/arrays_byte.sgml | 23 ++- docs/reference/glib/tmpl/arrays_pointer.sgml | 64 ++++++- glib/garray.c | 253 ++++++++++++++++++++++++-- glib/garray.h | 10 + glib/glib.symbols | 9 + glib/tests/array-test.c | 172 +++++++++++++++++ gobject/gboxed.c | 33 ++++ gobject/gboxed.h | 27 +++ gobject/gobject.symbols | 3 + 11 files changed, 616 insertions(+), 28 deletions(-) commit d80e12104f139def9bea28a510bf1d7c103e20f9 Author: Alexander Larsson Date: Wed Apr 29 12:19:57 2009 +0200 Ensure we're actually initializing the winsock library It turns out that just calling g_inet_address_get_type() isn't enough, since its marked G_GNUC_CONST, so the call is optimized away. If we assign the return value to a volatile location we ensure it is called. gio/ginetaddress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 49dfb50afc9400779c0be02ea3c285780b42c928 Author: David Zeuthen Date: Sat Apr 25 22:41:07 2009 -0400 Bug 580453 – Hash and equal functions for gint64 and gdouble docs/reference/glib/glib-sections.txt | 4 ++ docs/reference/glib/tmpl/hash_tables.sgml | 38 ++++++++++++++ glib/ghash.c | 13 ++--- glib/ghash.h | 8 +++ glib/glib.symbols | 4 ++ glib/gutils.c | 78 +++++++++++++++++++++++++++++ 6 files changed, 139 insertions(+), 6 deletions(-) commit 5a368d469a2441d7d77d78fe104dc3560093ebac Author: Jordi Mas i Hernandez Date: Sun Apr 26 20:18:38 2009 +0200 Minor fixes to Catalan translation po/ca.po | 922 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 457 insertions(+), 465 deletions(-) commit 61f130015bbbbc99ce0189cca1c95f7e2e735202 Author: paul Date: Sun Apr 26 13:16:34 2009 -0400 Fix socket-related configure tests on old platforms include in case doesn't. #580299 configure.in | 1 + 1 file changed, 1 insertion(+) commit 7c9caecfebf7d15899fe361324c414fbfc7b1317 Author: Dan Winship Date: Sun Apr 26 12:18:42 2009 -0400 Fix the networking stuff on (current) OS X OS X's headers split up the current and old (BIND 4) nameserver stuff slightly differently than Linux does, but explicitly including arpa/nameser_compat.h does the right thing on both. Part of #580301 gio/ginetaddress.c | 3 +++ gio/gnetworkingprivate.h | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 9a15da50e4d10794c35e4b638b7ab521be671a6e Author: Dan Winship Date: Sun Apr 26 09:59:28 2009 -0400 Fix ginetaddress.c compile on Solaris In glibc, IN6_IS_ADDR_UNSPECIFIED() et al. cast their argument to a uint32_t*, so it doesn't matter whether you pass them the in6_addr itself (which is what you're supposed to do) or one of its union members (which is what we were actually doing). Solaris's macro accesses the in6_addr fields directly though, and so only works if you pass the actual in6_addr. #580194. gio/ginetaddress.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 491a036d8480f4d710ef601a27a57b559b0a46d7 Author: Johan Bilien Date: Wed Apr 22 19:09:34 2009 +0100 Fix translation from GIO's file attr to xattr attributes Bug 579862 – requesting xattr::foo ends up calling getxattr(..., user.:foo,...) The patch makes sure we escape xattr::, not xattr:, before adding user. and calling getxattr. gio/glocalfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a9c33dbd7aeeb715677d619cbddc0d621872cc43 Author: Christian Persch Date: Wed Apr 22 15:12:37 2009 +0200 Use P_ for translatable param spec strings Translatable param spec strings should be annotated with P_() instead of plain _(). Bug #579830. gio/gfileicon.c | 4 ++-- gio/ginetaddress.c | 48 +++++++++++++++++++++++----------------------- gio/gsocketaddress.c | 4 ++-- gio/gthemedicon.c | 12 ++++++------ gio/gunixinputstream.c | 8 ++++---- gio/gunixoutputstream.c | 8 ++++---- gio/gunixsocketaddress.c | 4 ++-- 7 files changed, 44 insertions(+), 44 deletions(-) commit 9a3d18d2a652f9f1567e09bdb1055e6cb462f710 Author: Dan Winship Date: Mon Dec 29 13:38:28 2008 -0500 GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectable Higher-level wrappers around GResolver. GSocketConnectable provides an interface for synchronously or asynchronously iterating multiple socket addresses, with GNetworkAddress and GNetworkService providing interfaces based on hostname and SRV record resolution. Part of #548466. docs/reference/gio/gio-docs.xml | 3 + docs/reference/gio/gio-sections.txt | 71 ++++ docs/reference/gio/gio.types | 4 + gio/Makefile.am | 8 + gio/gio.h | 4 + gio/gio.symbols | 35 ++ gio/giotypes.h | 4 + gio/gnetworkaddress.c | 462 ++++++++++++++++++++++++ gio/gnetworkaddress.h | 65 ++++ gio/gnetworkservice.c | 658 +++++++++++++++++++++++++++++++++++ gio/gnetworkservice.h | 69 ++++ gio/gresolver.c | 12 + gio/gsocketaddress.c | 90 ++++- gio/gsocketaddressenumerator.c | 191 ++++++++++ gio/gsocketaddressenumerator.h | 89 +++++ gio/gsocketconnectable.c | 148 ++++++++ gio/gsocketconnectable.h | 68 ++++ gio/gsrvtarget.c | 7 +- gio/tests/.gitignore | 1 + gio/tests/resolver.c | 141 +++++++- 20 files changed, 2121 insertions(+), 9 deletions(-) commit c94d3f92885456e1dc9e2fb27b709017f29d04ce Author: Dan Winship Date: Mon Dec 29 12:53:47 2008 -0500 Add GResolver, a glib-ish interface to DNS GResolver provides asynchronous (and synchronous-but-cancellable) APIs for resolving hostnames, reverse-resolving IP addresses back to hostnames, and resolving SRV records. Part of #548466. configure.in | 25 + docs/reference/gio/Makefile.am | 6 +- docs/reference/gio/gio-docs.xml | 2 + docs/reference/gio/gio-sections.txt | 52 ++ docs/reference/gio/gio.types | 1 + gio/Makefile.am | 18 +- gio/ginetaddress.c | 7 +- gio/gio.h | 2 + gio/gio.symbols | 57 ++ gio/gioenums.h | 14 + gio/giotypes.h | 4 +- gio/gnetworkingprivate.h | 32 + gio/gresolver.c | 855 ++++++++++++++++++++ gio/gresolver.h | 159 ++++ gio/gsrvtarget.c | 334 ++++++++ gio/gsrvtarget.h | 52 ++ gio/gthreadedresolver.c | 617 +++++++++++++++ gio/gthreadedresolver.h | 50 ++ gio/gunixresolver.c | 433 ++++++++++ gio/gunixresolver.h | 53 ++ gio/gwin32resolver.c | 481 +++++++++++ gio/gwin32resolver.h | 49 ++ gio/libasyncns/Makefile.am | 15 + gio/libasyncns/README | 7 + gio/libasyncns/asyncns.c | 1498 +++++++++++++++++++++++++++++++++++ gio/libasyncns/asyncns.h | 163 ++++ gio/libasyncns/g-asyncns.h | 28 + gio/libasyncns/update.sh | 20 + gio/pltcheck.sh | 2 +- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 8 +- gio/tests/resolver.c | 377 +++++++++ 32 files changed, 5412 insertions(+), 10 deletions(-) commit 68fc0556275edf6e63a3242841f2981a42ee11cb Author: Dan Winship Date: Fri Dec 12 13:13:55 2008 -0500 Add network address and socket types Types and methods for dealing with IPv4 and IPv6 addresses (and UNIX domain socket addresses under UNIX). This does not include code for actual socket I/O. Originally from "gnio". Much of the code was written by Christian Kellner, Samuel Cormier-Iijima, and Ryan Lortie. Part of #548466. configure.in | 28 ++ docs/reference/gio/gio-docs.xml | 7 + docs/reference/gio/gio-sections.txt | 91 +++++ docs/reference/gio/gio.types | 4 + gio/Makefile.am | 11 +- gio/ginetaddress.c | 747 +++++++++++++++++++++++++++++++++++ gio/ginetaddress.h | 101 +++++ gio/ginetsocketaddress.c | 306 ++++++++++++++ gio/ginetsocketaddress.h | 69 ++++ gio/gio.h | 3 + gio/gio.symbols | 51 +++ gio/gioenums.h | 20 + gio/giotypes.h | 5 + gio/gnetworkingprivate.h | 53 +++ gio/gsocketaddress.c | 233 +++++++++++ gio/gsocketaddress.h | 77 ++++ gio/gunixsocketaddress.c | 206 ++++++++++ gio/gunixsocketaddress.h | 61 +++ glibconfig.h.win32.in | 3 + 19 files changed, 2075 insertions(+), 1 deletion(-) commit 6a3b4fa05ac996566e7b8037edf80d0f06fa2a90 Author: Dan Winship Date: Mon Dec 29 09:00:17 2008 -0500 Add hostname-related utilities in glib/ghostutils.h Functions for converting between UTF-8 IDNs (Internationalized Domain Names) and their ASCII-Compatible Encodings, plus a function to recognize IP addresses. Part of #548466. docs/reference/glib/glib-docs.sgml | 2 + docs/reference/glib/glib-sections.txt | 13 + docs/reference/glib/tmpl/ghostutils.sgml | 64 +++ glib/Makefile.am | 2 + glib/ghostutils.c | 758 ++++++++++++++++++++++++++++++ glib/ghostutils.h | 40 ++ glib/glib.h | 1 + glib/glib.symbols | 10 + glib/tests/.gitignore | 1 + glib/tests/Makefile.am | 3 + glib/tests/hostutils.c | 267 +++++++++++ 11 files changed, 1161 insertions(+) commit dda20bccbfc2a560c13532612382712c17717085 Author: Stefan Kost Date: Tue Apr 21 23:21:28 2009 +0300 goption: format section docs according to gtk-doc rules and fixes broken xml glib/goption.c | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) commit 57bd24dc4907e6959f953be0759b946c16c78386 Author: Stefan Kost Date: Tue Apr 14 11:32:59 2009 +0300 goption: document that some option args need to be freed by the callee Option arguments where the result is stored in a string or string array need to be freed by the owner of the option group. Fixes #578363. glib/goption.c | 3 +++ glib/goption.h | 5 +++++ 2 files changed, 8 insertions(+) commit 2026c232b3437ff0f1222b6b045379ca273393e8 Author: Stefan Kost Date: Tue Apr 14 11:23:25 2009 +0300 goption: move docs from tmpl folder to inline comments docs/reference/glib/tmpl/.gitignore | 1 + docs/reference/glib/tmpl/option.sgml | 603 ---------------------------------- glib/goption.c | 113 +++++++ glib/goption.h | 204 +++++++++++- glib/gtypes.h | 13 + 5 files changed, 330 insertions(+), 604 deletions(-) commit 0f48f804b665943a2fd848ab6efbe913003daa82 Author: Alexander Larsson Date: Mon Apr 20 13:14:32 2009 +0200 Use g_cancellable_connect/disconnect Use the new cancellable helper functions to avoid races. (#572844) gio/gasynchelper.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 0001014c378636e5848f4b3d8f38fc7a84c33b22 Author: Alexander Larsson Date: Mon Apr 20 13:12:08 2009 +0200 Add helpers for connecting/disconnecting to cancelled signal There are race conditions when connecting and disconnecting from the "cancelled" signal on GCancellable which you need to do when implementing cancellable operations. This adds helper functions that avoid these races and mentions these races in the docs. (#572844) docs/reference/gio/gio-sections.txt | 2 + gio/gcancellable.c | 214 ++++++++++++++++++++++++++++------- gio/gcancellable.h | 6 + gio/gio.symbols | 2 + 4 files changed, 183 insertions(+), 41 deletions(-) commit c17d4dd117db554e501a18a41de53734f7f87003 Author: zabeeh khan Date: Fri Apr 17 11:27:38 2009 +0530 Pashto Translation committed as per the request made by Zabeeh Khan on the gnome-i18n list po/ps.po | 870 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 437 insertions(+), 433 deletions(-) commit b85834c22369579d1bea86b392594d0b912a5858 Author: Matthias Clasen Date: Sat Apr 11 18:10:24 2009 -0400 Bump version configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c1dc529e8d9b1ab2d8ccb8abb1efed836584616 Author: Matthias Clasen Date: Thu Apr 9 21:34:49 2009 -0400 Add a note about handling non-hal backends gio/gvolume.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 6e11246cc828217fd04a23f16b67db11333523f9 Author: Matthias Clasen Date: Thu Apr 9 18:47:28 2009 -0400 Release GLib 2.20.1 po/am.po | 154 ++++---- po/ar.po | 839 ++++++++++++++++++++------------------- po/as.po | 871 ++++++++++++++++++++-------------------- po/az.po | 154 ++++---- po/be.po | 156 ++++---- po/be@latin.po | 156 ++++---- po/bg.po | 836 ++++++++++++++++++++------------------- po/bn.po | 154 ++++---- po/bn_IN.po | 154 ++++---- po/bs.po | 154 ++++---- po/ca.po | 836 ++++++++++++++++++++------------------- po/cs.po | 154 ++++---- po/cy.po | 154 ++++---- po/da.po | 837 ++++++++++++++++++++------------------- po/de.po | 836 ++++++++++++++++++++------------------- po/dz.po | 154 ++++---- po/el.po | 863 ++++++++++++++++++++-------------------- po/en_CA.po | 154 ++++---- po/en_GB.po | 836 ++++++++++++++++++++------------------- po/eo.po | 154 ++++---- po/es.po | 841 ++++++++++++++++++++------------------- po/et.po | 154 ++++---- po/eu.po | 894 ++++++++++++++++++++--------------------- po/fa.po | 154 ++++---- po/fi.po | 154 ++++---- po/fr.po | 836 ++++++++++++++++++++------------------- po/ga.po | 154 ++++---- po/gl.po | 836 ++++++++++++++++++++------------------- po/gu.po | 154 ++++---- po/he.po | 154 ++++---- po/hi.po | 154 ++++---- po/hr.po | 154 ++++---- po/hu.po | 905 +++++++++++++++++++++--------------------- po/hy.po | 154 ++++---- po/id.po | 154 ++++---- po/is.po | 154 ++++---- po/it.po | 839 ++++++++++++++++++++------------------- po/ja.po | 836 ++++++++++++++++++++------------------- po/ka.po | 154 ++++---- po/kn.po | 880 +++++++++++++++++++++-------------------- po/ko.po | 154 ++++---- po/ku.po | 154 ++++---- po/lt.po | 836 ++++++++++++++++++++------------------- po/lv.po | 154 ++++---- po/mai.po | 154 ++++---- po/mg.po | 154 ++++---- po/mk.po | 154 ++++---- po/ml.po | 886 ++++++++++++++++++++--------------------- po/mn.po | 154 ++++---- po/mr.po | 154 ++++---- po/ms.po | 154 ++++---- po/nb.po | 836 ++++++++++++++++++++------------------- po/ne.po | 154 ++++---- po/nl.po | 154 ++++---- po/nn.po | 154 ++++---- po/oc.po | 154 ++++---- po/or.po | 871 ++++++++++++++++++++-------------------- po/pa.po | 868 ++++++++++++++++++++-------------------- po/pl.po | 836 ++++++++++++++++++++------------------- po/ps.po | 154 ++++---- po/pt.po | 154 ++++---- po/pt_BR.po | 836 ++++++++++++++++++++------------------- po/ro.po | 154 ++++---- po/ru.po | 836 ++++++++++++++++++++------------------- po/rw.po | 154 ++++---- po/si.po | 154 ++++---- po/sk.po | 154 ++++---- po/sl.po | 1165 ++++++++++++++++++++++++++---------------------------- po/sq.po | 156 ++++---- po/sr.po | 154 ++++---- po/sr@ije.po | 154 ++++---- po/sr@latin.po | 154 ++++---- po/sv.po | 1203 ++++++++++++++++++++++++++++---------------------------- po/ta.po | 888 ++++++++++++++++++++--------------------- po/te.po | 154 ++++---- po/th.po | 154 ++++---- po/tl.po | 154 ++++---- po/tr.po | 154 ++++---- po/tt.po | 154 ++++---- po/uk.po | 154 ++++---- po/vi.po | 154 ++++---- po/wa.po | 154 ++++---- po/xh.po | 154 ++++---- po/yi.po | 154 ++++---- po/zh_CN.po | 839 ++++++++++++++++++++------------------- po/zh_HK.po | 154 ++++---- po/zh_TW.po | 154 ++++---- 87 files changed, 17103 insertions(+), 16510 deletions(-) commit 009689e09b0cd9cc0a322d1361940183330bada6 Author: Matthias Clasen Date: Thu Apr 9 17:43:59 2009 -0400 Update for 2.20.1 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit e68a35689fbcbab965b6631882381309cb0a20d8 Author: Matthias Clasen Date: Thu Apr 9 14:56:49 2009 -0400 Fix G_DEFINE_TYPE_EXTENDED docs Make the docs for G_DEFINE_TYPE_EXTENDED match the actual definition of the macro. (#577985) gobject/gtype.h | 71 ++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) commit 856632c496d15f3f273d567b521a2b06afc32721 Author: Gian Mario Tagliaretti Date: Thu Apr 9 14:35:36 2009 -0400 Fix a typo in GFile docs Fixed function name in GFile docs from g_set_display_name to g_file_set_display_name so that gtk-doc can link correctly. (#578002) gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 950de29d0e9720ce0979a84530130e27a3a59f74 Author: Kenneth Nielsen Date: Thu Apr 9 13:49:00 2009 +0200 Updated Danish translation\n\nUpdated Danish translation by Kenneth Nielsen. po/da.po | 156 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 84 insertions(+), 72 deletions(-) commit efc2cdbfc981754db361f49c30c8ee24ac0c769e Author: Peter Kjellerstedt Date: Wed Apr 8 10:26:11 2009 -0400 Fix parsing of timezones Make g_time_val_from_iso8601 handle timezones with minutes correctly; also accept comma as a fraction separator. (#578369) glib/gtimer.c | 6 +++--- tests/testglib.c | 18 +++++++++++++++++- 2 files changed, 20 insertions(+), 4 deletions(-) commit d0cf7b38780b0832fc904f75eb387aa61eb2f76e Author: Alexander Larsson Date: Wed Apr 8 09:12:02 2009 +0200 Only mark regular files as backup files Apps don't generally create backup directories, etc. So, if the file ends with ~ but is not a regular file shouldn't be considered a backup file. (#573673) gio/glocalfileinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 85a795b9bae44b973de1443f98728b21b78c68ae Author: Funda Wang Date: Sun Apr 5 11:05:47 2009 +0800 Updated Simplified Chinese translation from Ray Wang po/zh_CN.po | 87 ++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 37 deletions(-) commit 7fd870830806def730341a328389f8b5df49fab4 Author: Thanos Lefteris Date: Fri Apr 3 20:12:27 2009 +0100 Updated Greek translation Signed-off-by: Simos Xenitellis po/el.po | 238 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 125 insertions(+), 113 deletions(-) commit e6e82c51a64ca263877f730cc7531454d5430b77 Author: Matthias Clasen Date: Fri Apr 3 00:35:43 2009 -0400 Move hex_digits to rodata Turn a string into a constant array. gio/gfileattribute.c | 260 ++++++++++++++++++++++++-------------------------- 1 file changed, 126 insertions(+), 134 deletions(-) commit 25ff8ee7486c7bdf1612d3554fc1d7d91daedfa6 Author: Matthias Clasen Date: Fri Apr 3 00:23:54 2009 -0400 Don't lie about ext4 filesystems When returning a filesystem type id, say "ext3/ext4" instead of "ext3", since both use the same superblock magic, so we can't discriminate them without more work. gio/glocalfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8a42bb81c46204a86259e44aa9698658487e64a Author: Paolo Borelli Date: Fri Apr 3 00:04:39 2009 -0400 Regex leak on error path Don't leak the GRegex struct when g_regex_new() fails. glib/gregex.c | 2 ++ 1 file changed, 2 insertions(+) commit 82a5f787d68fd7d6ae973634694cebd43f126552 Author: Matthias Clasen Date: Thu Apr 2 23:57:59 2009 -0400 Update requirements Mention that the mimetype-functionality of GIO reqires update-mime-database and update-desktop-database at runtime. (#577128) INSTALL.in | 32 +++++++++++++++----------- README.in | 74 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 56 insertions(+), 50 deletions(-) commit 20774c566393af28e5123322abb8e35840ff0e5a Author: Matthias Clasen Date: Thu Apr 2 23:42:29 2009 -0400 Add a rule to generate ChangeLog We use the same rule pango uses to create a ChangeLog file with the help of git-log. The format is somewhat different from traditional ChangeLog, but it contains the relevant information. Makefile.am | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit b7f9a1ac8337c546f9db9b7ee9ff437b256c75d8 Author: Matthias Clasen Date: Thu Apr 2 23:14:54 2009 -0400 Rename ChangeLog to ChangeLog.pre-2-20 Rename ChangeLog to prevent old habits from luring me into adding entries there. Also, this makes room for autogenerating a ChangeLog at make dist. ChangeLog | 914 ---------------------------------------------------- ChangeLog.pre-2-20 | 914 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 914 insertions(+), 914 deletions(-) commit b160405aa0a66f3eb771af43b6d0000d076d045b Author: Matthias Clasen Date: Thu Apr 2 23:13:35 2009 -0400 remove generated files README and INSTALL are generated files, no need to keep them under source control. INSTALL | 116 ------------------------------------- README | 199 --------------------------------------------------------------- 2 files changed, 315 deletions(-) commit 1ce74b0dd34222b201369e5aff53b27182db7b66 Author: Alexander Larsson Date: Thu Apr 2 19:01:56 2009 +0200 On trash, if rename fails with EXDEV, return G_IO_ERROR_NOT_SUPPORTED Sometimes it seems like the trash dir and the file are on the same filesystem but the rename fails with EXDEV anyway (can happen e.g. with bind mounts or multiple mounts of the same device). In this case we want to return the right error so that apps can fallback to regular delete. gio/glocalfile.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 20df6b6e888a1aed596c8c60ed7427708a56a453 Author: Tobias Mueller Date: Wed Apr 1 21:51:00 2009 -0400 Mark glib_gettext as string translation function Make glib_gettext with G_GNUC_FORMAT to avoid warnings with -Wformat -Wformat-nonliteral. Signed-off-by: Matthias Clasen glib/glib.symbols | 2 +- glib/glibintl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 86aa49594feac9797ab87b83e198147aff4171fa Author: Hagen Schink Date: Wed Apr 1 21:30:51 2009 -0400 fix a typo in g_io_channel_flush docs Refer to the correct return values. Signed-off-by: Matthias Clasen glib/giochannel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 785bed2e18c18842f07ada42af2ec80cf18aca70 Author: Matthias Clasen Date: Tue Mar 31 19:39:16 2009 -0400 Update README files to refer to git Update various README files to refer to git instead of svn. Add a README.commits that is pretty much a copy of the same file in GTK+. Also discontinue ChangeLog files. ChangeLog | 6 ++++ HACKING | 8 ++--- Makefile.am | 1 + README | 76 +++++++++++++++++++++++----------------------- README.commits | 72 +++++++++++++++++++++++++++++++++++++++++++ docs/reference/ChangeLog | 6 ++++ gio/ChangeLog | 6 ++++ gmodule/ChangeLog | 6 ++++ gobject/ChangeLog | 6 ++++ gthread/ChangeLog | 6 ++++ po/ChangeLog | 6 ++++ 11 files changed, 157 insertions(+), 42 deletions(-) commit b5ef6da3c31ad1067b88f7edd53c5d48fe7f73c1 Author: Manoj Kumar Giri Date: Mon Mar 30 08:53:32 2009 +0000 Added entries for Oriya language Translation updation. svn path=/trunk/; revision=8023 po/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit b6a7cd609a1d0012ff07d62e04115830c68972e0 Author: Manoj Kumar Giri Date: Mon Mar 30 08:52:25 2009 +0000 Updated Oriya Translation. svn path=/trunk/; revision=8022 po/or.po | 876 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 443 insertions(+), 433 deletions(-) commit a6ebda3d690098e28319dc391fb82a281f9113e8 Author: Matthias Clasen Date: Sun Mar 29 19:08:57 2009 +0000 Copy a va_list when using it multiple times. Reported by Wim Lewis. * glib/gmessages.c (g_logv): Copy a va_list when using it multiple times. Reported by Wim Lewis. svn path=/trunk/; revision=8021 ChangeLog | 8 ++++++++ glib/gmessages.c | 15 ++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) commit dabbea65c61c402ed63fba0c36a419e4d4abdf46 Author: Carlos Garnacho Date: Thu Mar 26 13:59:02 2009 +0000 Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted 2009-03-26 Carlos Garnacho Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted * gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb) (eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before actually trying to unmount. svn path=/trunk/; revision=8020 gio/ChangeLog | 8 ++++++++ gio/gunixmount.c | 52 ++++++++++++++++++++++++++++++++++------------------ 2 files changed, 42 insertions(+), 18 deletions(-) commit 3476bfe846b663049b393e43d272a06883b3fe7d Author: Gintautas Miliauskas Date: Thu Mar 26 13:52:46 2009 +0000 Updated Lithuanian translation. 2009-03-26 Gintautas Miliauskas * lt.po: Updated Lithuanian translation. svn path=/trunk/; revision=8019 po/ChangeLog | 4 + po/lt.po | 842 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 433 insertions(+), 413 deletions(-) commit 618617acfcc8bbbb0b563e5744218be213660cbb Author: Shankar Prasad Date: Thu Mar 26 05:35:36 2009 +0000 updated kn.po svn path=/trunk/; revision=8018 po/kn.po | 90 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 37 deletions(-) commit 32f7e122b1c80171db3ce84ff8947a24d50e0e5a Author: Shankar Prasad Date: Thu Mar 26 05:31:33 2009 +0000 updated kn.po svn path=/trunk/; revision=8017 po/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit d487ef7c2f13c66d2784a2d5371021c3c3043e12 Author: Nickolay V. Shmyrev Date: Fri Mar 20 22:29:22 2009 +0000 Updated Russian translation. 2009-03-21 Nickolay V. Shmyrev * ru.po: Updated Russian translation. svn path=/trunk/; revision=8016 po/ChangeLog | 4 +++ po/ru.po | 77 +++++++++++++++++++++++++++++++++------------------------- 2 files changed, 48 insertions(+), 33 deletions(-) commit edfe4405e05d832ff2449a54bf4938d964d3ae44 Author: Kostas Papadimas Date: Wed Mar 18 15:49:52 2009 +0000 Updated Greek Translation by Fotis Tsamis. svn path=/trunk/; revision=8015 po/ChangeLog | 4 ++ po/el.po | 145 ++++++++++++++++++++++++++++------------------------------ 2 files changed, 75 insertions(+), 74 deletions(-) commit fdcaf9381e3f084d9ddf1ffd0c35873602950151 Author: Djihed Afifi Date: Wed Mar 18 09:20:03 2009 +0000 Updated Arabic translation svn path=/trunk/; revision=8014 po/ChangeLog | 4 + po/ar.po | 843 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 434 insertions(+), 413 deletions(-) commit 11554d40ca7b0d8691a0a0d93b34bffef29276f0 Author: Amitakhya Phukan Date: Wed Mar 18 06:31:05 2009 +0000 Updated assamese translations svn path=/trunk/; revision=8013 po/ChangeLog | 4 + po/as.po | 873 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 445 insertions(+), 432 deletions(-) commit 07b2a7a5ad6818a692e41e9003f2a849f7220b66 Author: Gabor Kelemen Date: Wed Mar 18 00:05:58 2009 +0000 Translation updated. 2009-03-18 Gabor Kelemen * hu.po: Translation updated. svn path=/trunk/; revision=8012 po/ChangeLog | 4 + po/hu.po | 911 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 457 insertions(+), 458 deletions(-) commit 8df23d2283b56b181c4ebac9a74d9ea980efb1ba Author: Ryan Lortie Date: Tue Mar 17 23:03:33 2009 +0000 trivial spelling/whitespace fixes svn path=/trunk/; revision=8011 ChangeLog | 18 +++++++++--------- glib/gmain.c | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) commit 1d1fba442fd7e605288fe92809c59d58b0b8f186 Author: Colin Walters Date: Tue Mar 17 21:59:18 2009 +0000 Bug 575708 - runaway inotify madness ... 2009-03-17 Colin Walters Bug 575708 - runaway inotify madness ... * gfilemonitor.c: Queue up events in a local list and fire one idle, instead of queuing lots of individual idles which has bad performance behavior. svn path=/trunk/; revision=8010 gio/ChangeLog | 8 ++++++ gio/gfilemonitor.c | 78 ++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 66 insertions(+), 20 deletions(-) commit 044733e2a0d5b3192c38b35611b9de4364c6c810 Author: Tomasz Dominikowski Date: Tue Mar 17 17:02:00 2009 +0000 Updated Polish translation 2009-03-17 Tomasz Dominikowski * pl.po: Updated Polish translation svn path=/trunk/; revision=8009 po/ChangeLog | 4 + po/pl.po | 844 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 434 insertions(+), 414 deletions(-) commit bbb1d85d7233bff2dae91a5cf06600a28e91cec0 Author: Inaki Larranaga Murgoitio Date: Tue Mar 17 16:49:22 2009 +0000 Updated Basque translation. 2009-03-17 Inaki Larranaga Murgoitio * eu.po: Updated Basque translation. svn path=/trunk/; revision=8008 po/ChangeLog | 4 + po/eu.po | 894 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 451 insertions(+), 447 deletions(-) commit 2ff422d461faec17797f498afd82d23bd3ea8f2e Author: Ani Peter Date: Tue Mar 17 15:41:14 2009 +0000 Updated Malayalam Translation svn path=/trunk/; revision=8007 po/ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit ad9afec76fa198fd2edc56d5fcb834fd2c9577bc Author: Ani Peter Date: Tue Mar 17 15:41:04 2009 +0000 Updated Malayalam Translation svn path=/trunk/; revision=8006 po/ml.po | 892 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 448 insertions(+), 444 deletions(-) commit 4ed58e576ea15bb84b4b1b461f8f8deea3a09d50 Author: Ignacio Casal Quinteiro Date: Tue Mar 17 14:12:26 2009 +0000 Updated Galician translation svn path=/trunk/; revision=8005 po/ChangeLog | 4 +++ po/gl.po | 84 ++++++++++++++++++++++++++++++++-------------------------- 2 files changed, 51 insertions(+), 37 deletions(-) commit ebf52321606815d09a8a25f6778eae205531a1cb Author: Gil Forcada Codinachs Date: Tue Mar 17 13:52:09 2009 +0000 Updated Catalan translation svn path=/trunk/; revision=8004 po/ChangeLog | 4 + po/ca.po | 842 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 433 insertions(+), 413 deletions(-) commit ae38feb249df9a5dc4b9ecc85c55d13f256c7477 Author: Takeshi AIHANA Date: Tue Mar 17 13:20:20 2009 +0000 Update Japanese translation. 2009-03-17 Takeshi AIHANA * ja.po: Update Japanese translation. svn path=/trunk/; revision=8003 po/ChangeLog | 4 + po/ja.po | 842 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 433 insertions(+), 413 deletions(-) commit fab272e104ac536fea40501594eef457955c50b8 Author: Hendrik Richter Date: Tue Mar 17 12:08:42 2009 +0000 Updated German translation. 2009-03-17 Hendrik Richter * de.po: Updated German translation. svn path=/trunk/; revision=8002 po/ChangeLog | 4 +++ po/de.po | 80 +++++++++++++++++++++++++++++++++------------------------- 2 files changed, 50 insertions(+), 34 deletions(-) commit b54278668e432f67cbc3ed8e167fce14cd44d3e8 Author: Alexander Shopov Date: Tue Mar 17 12:06:18 2009 +0000 Updated Bulgarian translation by Alexander Shopov 2009-03-17 Alexander Shopov * bg.po: Updated Bulgarian translation by Alexander Shopov svn path=/trunk/; revision=8001 po/ChangeLog | 5 ++++ po/bg.po | 79 +++++++++++++++++++++++++++++++++------------------------- 2 files changed, 50 insertions(+), 34 deletions(-) commit a3fe42808174f1593559cfdcd581a4791d139f72 Author: Alexander Larsson Date: Tue Mar 17 11:21:37 2009 +0000 fix attributes argument of query_info methods to be "const char *". 2009-03-17 Alexander Larsson * glocalfileinputstream.c: * glocalfileoutputstream.c: fix attributes argument of query_info methods to be "const char *". svn path=/trunk/; revision=8000 gio/ChangeLog | 7 +++++++ gio/glocalfileinputstream.c | 4 ++-- gio/glocalfileoutputstream.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit 6cdd01bfcc10af04c05ccd90669e49551d6872a3 Author: Claude Paroz Date: Tue Mar 17 08:22:23 2009 +0000 Updated French translation. 2009-03-17 Claude Paroz * fr.po: Updated French translation. svn path=/trunk/; revision=7999 po/ChangeLog | 4 + po/fr.po | 844 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 435 insertions(+), 413 deletions(-) commit e9de4af6761a150ad1e4cf50838e034cb8d51c78 Author: Kjartan Maraas Date: Tue Mar 17 08:18:12 2009 +0000 Updated Norwegian bokmål translation. 2009-03-17 Kjartan Maraas * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=7998 po/ChangeLog | 4 + po/nb.po | 844 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 434 insertions(+), 414 deletions(-) commit 1269ae29a1d43284894601bf090bada778bc8b4f Author: Jorge Gonzalez Gonzalez Date: Mon Mar 16 22:11:32 2009 +0000 Updated Spanish translation svn path=/trunk/; revision=7997 po/ChangeLog | 4 + po/es.po | 851 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 439 insertions(+), 416 deletions(-) commit 2506375ebe0a72aa02f80551db2a5dfd12a4fcde Author: miloc Date: Mon Mar 16 21:11:22 2009 +0000 Updated Italian translation svn path=/trunk/; revision=7996 po/ChangeLog | 4 + po/it.po | 845 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 435 insertions(+), 414 deletions(-) commit 47500e19d2ec122f282e293c10f2ff4e64ae39bf Author: Og B. Maciel Date: Mon Mar 16 20:53:27 2009 +0000 Updated Brazilian Portuguese translation. svn path=/trunk/; revision=7995 po/ChangeLog | 5 + po/pt_BR.po | 846 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 436 insertions(+), 415 deletions(-) commit f008bf64d078c6d94193608a5ce3d285c59f6406 Author: Daniel Nylander Date: Mon Mar 16 19:01:51 2009 +0000 sv.po: Updated Swedish translation svn path=/trunk/; revision=7994 po/ChangeLog | 4 + po/sv.po | 1209 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 625 insertions(+), 588 deletions(-) commit 669cb756888d9aedaee419b9e705869a1cecffe6 Author: Matej Urbančič Date: Mon Mar 16 18:35:43 2009 +0000 Updated Slovenian translation svn path=/trunk/; revision=7993 po/sl.po | 1171 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 618 insertions(+), 553 deletions(-) commit 8b96ff36f14a55d990660f33d1163eab680ff780 Author: Philip Withnall Date: Mon Mar 16 18:21:34 2009 +0000 Updated British English translation. 2009-03-16 Philip Withnall * en_GB.po: Updated British English translation. svn path=/trunk/; revision=7992 po/ChangeLog | 4 + po/en_GB.po | 840 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 432 insertions(+), 412 deletions(-) commit 6cff88ba18b3bc0d118308f109840cb163dcea03 Author: Alexander Larsson Date: Mon Mar 16 16:03:13 2009 +0000 Bug 575555 – Use fsync() when replacing files to avoid data loss on 2009-03-16 Alexander Larsson Bug 575555 – Use fsync() when replacing files to avoid data loss on crash * configure.in: Look for fsync(). * glib/gfileutils.c: (write_to_temp_file): fsync temp file if destination file exists 2009-03-16 Alexander Larsson Bug 575555 – Use fsync() when replacing files to avoid data loss on crash * glocalfileoutputstream.c: (g_local_file_output_stream_close): (_g_local_file_output_stream_replace): fsync temp file before closing if replacing target file svn path=/trunk/; revision=7991 ChangeLog | 11 +++++++++ configure.in | 1 + gio/ChangeLog | 9 ++++++++ gio/glocalfileoutputstream.c | 26 +++++++++++++++++++++ glib/gfileutils.c | 51 ++++++++++++++++++++++++++++++++++++++---- 5 files changed, 94 insertions(+), 4 deletions(-) commit 0b66e52e0b0fbd0101bfbf0e1ef04421d8d7d189 Author: Kostas Papadimas Date: Mon Mar 16 15:54:50 2009 +0000 Updated Greek Translation by Fotis Tsamis. svn path=/trunk/; revision=7990 po/ChangeLog | 4 + po/el.po | 931 ++++++++++++++++++++++++++++------------------------------ 2 files changed, 450 insertions(+), 485 deletions(-) commit 593718fd8cabe8e0a726d9b083ef80d6ec5e879b Author: Alexander Shopov Date: Mon Mar 16 10:55:58 2009 +0000 Updated Bulgarian translation by Alexander Shopov 2009-03-16 Alexander Shopov * bg.po: Updated Bulgarian translation by Alexander Shopov svn path=/trunk/; revision=7989 po/ChangeLog | 5 + po/bg.po | 838 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 426 insertions(+), 417 deletions(-) commit d421cf697c7c8800e070ba81de22e45b5382684b Author: Shankar Prasad Date: Mon Mar 16 10:31:10 2009 +0000 Updated kn.po svn path=/trunk/; revision=7988 po/ChangeLog | 4 + po/kn.po | 1004 ++++++++++++++++++++++++++++------------------------------ 2 files changed, 483 insertions(+), 525 deletions(-) commit dada55618e7d2fe2526eb01e72ec5ce3cc071846 Author: Amanpreet Singh Alam Date: Mon Mar 16 02:33:40 2009 +0000 updating for Gnome Punjabi Translation by A S Alam svn path=/trunk/; revision=7987 po/pa.po | 907 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 451 insertions(+), 456 deletions(-) commit b3e22d022950ce13cc6cb88d0044693d951572eb Author: Hendrik Richter Date: Sun Mar 15 18:19:44 2009 +0000 Updated German translation. 2009-03-15 Hendrik Richter * de.po: Updated German translation. svn path=/trunk/; revision=7986 po/ChangeLog | 4 + po/de.po | 920 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 466 insertions(+), 458 deletions(-) commit a79594b51723b64b548ceb5b5b60666ecd080c85 Author: Felix I Date: Sun Mar 15 08:35:41 2009 +0000 tamil translation updated svn path=/trunk/; revision=7985 po/ChangeLog | 4 + po/ta.po | 1327 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 683 insertions(+), 648 deletions(-) commit 98346a15946fbec3a5206153e0fc809ed1cacaf4 Author: Nickolay V. Shmyrev Date: Sat Mar 14 19:14:18 2009 +0000 Updated Russian translation by Yuriy Penkin. 2009-03-14 Nickolay V. Shmyrev * ru.po: Updated Russian translation by Yuriy Penkin. svn path=/trunk/; revision=7984 po/ChangeLog | 4 + po/ru.po | 885 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 448 insertions(+), 441 deletions(-) commit 516a19767d0db4d575872832c1e51323e46edc99 Author: Kostas Papadimas Date: Sat Mar 14 16:12:38 2009 +0000 Updated Greek Translation by Jennie Petoumenou. svn path=/trunk/; revision=7983 po/ChangeLog | 4 + po/el.po | 1721 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 881 insertions(+), 844 deletions(-) commit 4175a8546e642ee041f92693536fd907a3fd79b3 Author: Aron Xu Date: Sat Mar 14 11:31:29 2009 +0000 Updated Simplified Chinese translations by Deng Xiyue svn path=/trunk/; revision=7982 po/zh_CN.po | 853 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 429 insertions(+), 424 deletions(-) commit 1dcdbf5974812685c1b8a03c36d6217fe44ffbca Author: Kenneth Nielsen Date: Sat Mar 14 03:48:26 2009 +0000 Updated Danish translation svn path=/trunk/; revision=7981 po/ChangeLog | 4 + po/da.po | 884 +++++++++++++++++++++++++++++----------------------------- 2 files changed, 448 insertions(+), 440 deletions(-) commit 4e9abf266574d854b0495c1b13d956c00019ac87 Author: Ignacio Casal Quinteiro Date: Fri Mar 13 18:28:21 2009 +0000 Updated Galician translation svn path=/trunk/; revision=7980 po/ChangeLog | 4 + po/gl.po | 1075 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 551 insertions(+), 528 deletions(-) commit 622f01012030fcba31ee2a68920873ac06bb62e4 Author: Kristian Rietveld Date: Fri Mar 13 09:22:57 2009 +0000 when defaulting to the only item in the array, check if this is indeed the 2009-03-13 Kristian Rietveld * gsignal.c (signal_lookup_closure): when defaulting to the only item in the array, check if this is indeed the default closure. (patch by Tim Janik). svn path=/trunk/; revision=7979 gobject/ChangeLog | 6 ++++++ gobject/gsignal.c | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 621ef866b14af56865eb65062c271ba3d06cfe7d Author: Matthias Clasen Date: Fri Mar 13 05:45:53 2009 +0000 Bump version svn path=/trunk/; revision=7978 ChangeLog | 4 ++++ configure.in | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 5a8a224ff0ca193fe797c45ef54e5ed6466bfbb7 Author: Matthias Clasen Date: Fri Mar 13 05:44:11 2009 +0000 2.20.0 svn path=/trunk/; revision=7976 ChangeLog | 6 + INSTALL | 4 +- README | 2 +- configure.in | 4 +- docs/reference/ChangeLog | 4 + docs/reference/glib/gtester-report.1 | 4 +- docs/reference/glib/gtester.1 | 4 +- docs/reference/gobject/glib-genmarshal.1 | 4 +- docs/reference/gobject/glib-mkenums.1 | 4 +- docs/reference/gobject/gobject-query.1 | 4 +- gio/ChangeLog | 4 + gmodule/ChangeLog | 4 + gobject/ChangeLog | 4 + gthread/ChangeLog | 4 + po/ChangeLog | 4 + po/am.po | 72 +- po/ar.po | 72 +- po/as.po | 997 +++++++++++++------------ po/az.po | 72 +- po/be.po | 72 +- po/be@latin.po | 72 +- po/bg.po | 72 +- po/bn.po | 72 +- po/bn_IN.po | 869 +++++++++++----------- po/bs.po | 72 +- po/ca.po | 72 +- po/cs.po | 829 +++++++++++---------- po/cy.po | 72 +- po/da.po | 72 +- po/de.po | 72 +- po/dz.po | 72 +- po/el.po | 72 +- po/en_CA.po | 72 +- po/en_GB.po | 72 +- po/eo.po | 72 +- po/es.po | 72 +- po/et.po | 72 +- po/eu.po | 72 +- po/fa.po | 72 +- po/fi.po | 72 +- po/fr.po | 72 +- po/ga.po | 72 +- po/gl.po | 72 +- po/gu.po | 72 +- po/he.po | 72 +- po/hi.po | 862 +++++++++++----------- po/hr.po | 72 +- po/hu.po | 72 +- po/hy.po | 72 +- po/id.po | 72 +- po/is.po | 72 +- po/it.po | 832 +++++++++++---------- po/ja.po | 829 +++++++++++---------- po/ka.po | 72 +- po/kn.po | 72 +- po/ko.po | 72 +- po/ku.po | 72 +- po/lt.po | 829 +++++++++++---------- po/lv.po | 72 +- po/mai.po | 72 +- po/mg.po | 72 +- po/mk.po | 72 +- po/ml.po | 881 ++++++++++++----------- po/mn.po | 72 +- po/mr.po | 853 +++++++++++----------- po/ms.po | 72 +- po/nb.po | 72 +- po/ne.po | 72 +- po/nl.po | 72 +- po/nn.po | 72 +- po/oc.po | 72 +- po/or.po | 864 +++++++++++----------- po/pa.po | 72 +- po/pl.po | 829 +++++++++++---------- po/ps.po | 72 +- po/pt.po | 72 +- po/pt_BR.po | 72 +- po/ro.po | 856 +++++++++++----------- po/ru.po | 72 +- po/rw.po | 72 +- po/si.po | 72 +- po/sk.po | 72 +- po/sl.po | 1158 ++++++++++++++---------------- po/sq.po | 72 +- po/sr.po | 72 +- po/sr@ije.po | 72 +- po/sr@latin.po | 72 +- po/sv.po | 72 +- po/ta.po | 72 +- po/te.po | 103 +-- po/th.po | 72 +- po/tl.po | 72 +- po/tr.po | 72 +- po/tt.po | 72 +- po/uk.po | 72 +- po/vi.po | 72 +- po/wa.po | 72 +- po/xh.po | 72 +- po/yi.po | 72 +- po/zh_CN.po | 72 +- po/zh_HK.po | 72 +- po/zh_TW.po | 72 +- 102 files changed, 8495 insertions(+), 8412 deletions(-) commit 3c34e435754bbe4b5d0871603408d8e1bf9f5c19 Author: Matthias Clasen Date: Fri Mar 13 04:09:21 2009 +0000 Updates svn path=/trunk/; revision=7975 ChangeLog | 4 ++++ NEWS | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+)