commit 00d980f6f4e8bfbc5fb36a487890006da7d2f5b3 Author: Ryan Lortie AuthorDate: Mon Nov 11 23:09:11 2013 -0500 Commit: Ryan Lortie CommitDate: Tue Nov 12 00:05:09 2013 -0500 GLib 2.39.1 NEWS | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) commit ce35c08c5702b31676ff0db4412864ca55247913 Author: Ryan Lortie AuthorDate: Mon Nov 11 23:11:55 2013 -0500 Commit: Ryan Lortie CommitDate: Tue Nov 12 00:05:09 2013 -0500 Revert "gdbus-connection-loss: Fix leak in test" This reverts commit 670379b26f4a86c7b51b928eb0332b9a654e4c4c. This is causing distcheck to fail and will have to be revisited later. gio/tests/gdbus-connection-loss.c | 3 --- 1 file changed, 3 deletions(-) commit 5c4f3f4dab47059c81855c383176ab4d88be1a18 Author: Ryan Lortie AuthorDate: Mon Nov 11 23:17:32 2013 -0500 Commit: Ryan Lortie CommitDate: Tue Nov 12 00:05:04 2013 -0500 gsettings test: fix srcdir != builddir Just copy the schemas to the builddir and compile them in place instead of trying to mess around with creating the compiled file in a different dir. This solves issues in the summary/description testcase when GSettings expects the usual situation of having the .xml files present in the same directory. gio/tests/Makefile.am | 1 + gio/tests/gsettings.c | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 1e5e3b64a8f3caa4c42a49b17b89dbbede892a90 Author: Stef Walter AuthorDate: Sat Nov 9 08:51:41 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 17:41:39 2013 +0100 gsubprocess: Fix a number of leaks and a segfault Fixed a number of leaks in gsubprocess, as well as a segfault that was hidden by never calling g_subprocess_communicate_state_free(). https://bugzilla.gnome.org/show_bug.cgi?id=711803 gio/gsubprocess.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit d10f35310ffb50edca7efef25071c52f45683160 Author: Stef Walter AuthorDate: Sat Nov 9 20:53:32 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 17:37:48 2013 +0100 threadpool-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/threadpool-test.c | 2 ++ 1 file changed, 2 insertions(+) commit 3e041ce5adde83a44f6f5156c7463157539ddbc4 Author: Stef Walter AuthorDate: Sat Nov 9 20:26:31 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 17:35:26 2013 +0100 mainloop-test: Fix uninitialized memory access in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/mainloop-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a638be8a790a67688066229f239a612194cdff70 Author: Stef Walter AuthorDate: Thu Nov 7 22:56:11 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 17:17:10 2013 +0100 Revert "giomodule: Fix leaks in module loading" This reverts commit dc72039c162e1ca6400f28f92dd8e090ce99bd3f. This depends on a patch that allows GTypeModule to be finalized. Lets put this back in bugzilla until that gets in. gio/giomodule.c | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) commit aa7ec15091a29c37aa32c117dff94b6b72498b39 Author: Stef Walter AuthorDate: Mon Nov 11 15:27:24 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 17:06:38 2013 +0100 Revert "defaultiface: Fix leak in test" This reverts commit fd7b2faa64febab407ffde2506c995544583a9d5. This required another patch to be commited first. Will put this back in bugzilla. tests/gobject/defaultiface.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit f038c629a404c49cb8149add55dde286b7ddb079 Author: Chun-wei Fan AuthorDate: Wed Nov 6 16:35:21 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:52:00 2013 +0800 glib/tests/: Avoid GCCisms and fix tests for MSVC Skip the tests on inf/nan strings for the gvariant and strfuncs tests, and skip the hex strings for the strtod tests in strfuncs as they are C99 features that are not yet supported by Visual C++ (even 2013). Use a definition for NAN and INFINITY (that is also used in PyGObject) as atof("NaN") and atof("Infinity") simply returns 0.0 (which is not a NAN) in Visual C++ to fix the tests running there. Also adapt to the format of g_ascii_formatd() when dealing with 1e99. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/gvariant.c | 5 ++++- glib/tests/strfuncs.c | 31 +++++++++++++++++++++++++++++-- 2 files changed, 33 insertions(+), 3 deletions(-) commit 0212ab61824c098ec0a213465e85e2bc2702b4ed Author: Chun-wei Fan AuthorDate: Wed Nov 6 16:58:00 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:40:57 2013 +0800 Tests: Fix up the expected messages There was an expected messages that was not in the form that GLib on Windows actually produces, which causes some test to fail. Fix this up. https://bugzilla.gnome.org/show_bug.cgi?id=711047 gio/tests/credentials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c58a7b8c7454aa82895c8d325e964ac94f79ae3b Author: Chun-wei Fan AuthorDate: Wed Nov 6 16:45:12 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:39:57 2013 +0800 tests: Fix for non-GCC Remove uses of using empty arrays in initialization and structs, and build tests that rely on GCCisms on GCC only. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/mem-overflow.c | 6 +++++ gobject/tests/param.c | 64 +++++++++++++++++++++++------------------------ 2 files changed, 38 insertions(+), 32 deletions(-) commit a7707ec60ba8155c345df58d414060e177f15804 Author: Chun-wei Fan AuthorDate: Wed Nov 6 15:14:06 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:38:36 2013 +0800 glib/tests/spawn-singlethread: Improve test for Windows Use a Windows-style .bat script for the test_spawn_script() test, at least when the code is built with Visual C++ (due to differences in how scripts are written for shells and Windows cmd.exe), and account for Windows-style line endings for that test too. Let the MinGW builds (which are normally done in an MSYS BASH-style shell) continue to use the *NIX-style script for that test. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/Makefile.am | 1 + glib/tests/echo-script.bat | 2 ++ glib/tests/spawn-singlethread.c | 22 +++++++++++++++++++--- 3 files changed, 22 insertions(+), 3 deletions(-) commit b27a2d436bad5fcda5fea52bb84a39fd42e66041 Author: Chun-wei Fan AuthorDate: Tue Nov 5 17:33:09 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:38:05 2013 +0800 gio/tests/gsubprocess.c: Fix on Windows We need to check for the correct line endings on Windows (\r\n) for the echo tests and currently need to skip the test_echo_eof test there, as it depends on the cat utility that is not normally found on Windows, and using an external installation of cat via MSYS or Cygwin would render the test program to hang as cat waits for user input. https://bugzilla.gnome.org/show_bug.cgi?id=711047 gio/tests/gsubprocess.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit fd41363e0213adda7c274c7ac06b411a17d5619f Author: Chun-wei Fan AuthorDate: Tue Nov 5 16:08:45 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:37:39 2013 +0800 tests/: Include unistd.h on *NIX only https://bugzilla.gnome.org/show_bug.cgi?id=711047 tests/child-test.c | 9 ++++----- tests/env-test.c | 4 +--- tests/mapping-test.c | 9 ++++----- tests/refcount/closures.c | 3 +++ tests/refcount/objects.c | 5 ++++- tests/refcount/objects2.c | 5 ++++- tests/refcount/properties.c | 5 ++++- tests/refcount/properties2.c | 5 ++++- tests/refcount/signals.c | 5 ++++- tests/slice-concurrent.c | 2 ++ 10 files changed, 34 insertions(+), 18 deletions(-) commit 5fd3c63ae8ab3923fa7963832dadde1d065a1e48 Author: Chun-wei Fan AuthorDate: Tue Nov 5 15:51:08 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:37:10 2013 +0800 glib/gspawn-win32-helper.c: Clean up a bit Remove the parts about storing up the fd's in a data structure, but call close() on the fd's. However, retain the _get_osfhandle() check on the fd's when we iterate through the fd's as on fd values in the iteration may well be invalid fd's. As a result, the invalid parameter handler is still needed for newer Microsoft CRTs (8.0/2005+) for _get_osfhandle() to make sure that the program does not abort when we check the validity of fd's to be closed in the loop[1]. [1]: http://msdn.microsoft.com/en-us/library/ks2530z6%28v=vs.80%29.aspx glib/gspawn-win32-helper.c | 47 ++++++++++++++++++---------------------------- 1 file changed, 18 insertions(+), 29 deletions(-) commit ccba409d349211d0705a8ae1fcf0f88fbb370175 Author: Chun-wei Fan AuthorDate: Tue Nov 5 12:58:40 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:36:32 2013 +0800 tests/: Avoid closing invalid fd's ...and only include unistd.h when we are on *NIX. Newer Visual C++ runtimes (8.0/2005 and later) will cause the program to crash with an internal abort() call when they detect instances of close() being called on an invalid fd, such as when the fd is -1, and these should be purged anyways. https://bugzilla.gnome.org/show_bug.cgi?id=711047 tests/file-test.c | 16 +++++++++------- tests/testglib.c | 17 +++++++++-------- 2 files changed, 18 insertions(+), 15 deletions(-) commit 172aaa3a0135fe14567b33389cfbf25103260967 Author: Chun-wei Fan AuthorDate: Tue Nov 5 12:45:38 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 11 22:35:40 2013 +0800 glib/gmessages.h: Unify log messages ...Under various compilers when !G_DISABLE_CHECKS. Previously, the messages that are logged differ depending whether GLib was built with GCC or not. To simplify test cases, make all builds use a single output format for g_return_if_fail(), g_return_val_if_fail(), g_return_if_reached(), and g_return_val_if_reached(), by using the GCC-style format and replaceing __PRETTY_FUNCTION__ with G_STRFUNC, so that it will work across various compilers. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/gmessages.h | 54 ++++-------------------------------------------------- 1 file changed, 4 insertions(+), 50 deletions(-) commit fff14a5b7cf62d176b20bb3bb2fa573f9f7bcd2d Author: Dan Winship AuthorDate: Sat Nov 2 09:33:26 2013 -0400 Commit: Dan Winship CommitDate: Mon Nov 11 09:28:07 2013 -0500 gcancellable: don't use g_cancellable_connect() in GCancellableSource g_cancellable_connect() is documented as calling its callback only once, but GCancellableSource should trigger every time the cancellable is cancelled. https://bugzilla.gnome.org/show_bug.cgi?id=710691 https://bugzilla.gnome.org/show_bug.cgi?id=711286 gio/gcancellable.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit b4aee2a759898ce785675a158fc74963cc380317 Author: Shantha kumar AuthorDate: Mon Nov 11 14:20:40 2013 +0530 Commit: Shantha kumar CommitDate: Mon Nov 11 14:21:12 2013 +0530 Updated Tamil Translations po/ta.po | 978 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 601 insertions(+), 377 deletions(-) commit 670379b26f4a86c7b51b928eb0332b9a654e4c4c Author: Stef Walter AuthorDate: Sat Nov 9 20:28:28 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 08:46:45 2013 +0100 gdbus-connection-loss: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-connection-loss.c | 3 +++ 1 file changed, 3 insertions(+) commit 14b27eaab88e8c8860461fb98ede7eb14a510d46 Author: Stef Walter AuthorDate: Sat Nov 9 20:23:15 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 08:46:33 2013 +0100 gdbus-introspection: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-introspection.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit e34d74bdb390fce029e7734e93b7ff8154b75e26 Author: Stef Walter AuthorDate: Thu Nov 7 22:40:40 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 08:20:13 2013 +0100 private: Use threading primitives correctly in private test We shouldn't be clearing statically allocated mutexes, and also don't use deprecated heap-allocated GPrivate. https://bugzilla.gnome.org/show_bug.cgi?id=711755 glib/tests/private.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit 177fe9f98ee7a017cff11f739c16c203b671a7e2 Author: Stef Walter AuthorDate: Sat Nov 9 20:52:16 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 08:14:45 2013 +0100 timeloop: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/timeloop.c | 3 +++ 1 file changed, 3 insertions(+) commit 9e0ade0691b30baf07bab7d5b4b00467b82c21b9 Author: Stef Walter AuthorDate: Sat Nov 9 20:29:56 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 08:10:51 2013 +0100 file-test: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/file-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit dce83add1800c7145d6375626e2129fc51a83267 Author: Stef Walter AuthorDate: Sun Nov 10 00:15:30 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:57:52 2013 +0100 gthreadpool: Don't pass bad data to GThreadPool sorter This causes sorters to crash. https://bugzilla.gnome.org/show_bug.cgi?id=711756 glib/gthreadpool.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 81d0ebe29ccd852e969acda7394969e3f13eb136 Author: Stef Walter AuthorDate: Thu Oct 31 11:43:14 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:40:16 2013 +0100 gmain: Fix use of uninitialized memory in sigaction structure https://bugzilla.gnome.org/show_bug.cgi?id=711754 glib/gmain.c | 1 + 1 file changed, 1 insertion(+) commit fd7b2faa64febab407ffde2506c995544583a9d5 Author: Stef Walter AuthorDate: Sun Nov 10 15:58:06 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:27:22 2013 +0100 defaultiface: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/defaultiface.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit bac4179476d0eee96f8bd73fef760b4289b79c17 Author: Stef Walter AuthorDate: Sun Nov 10 15:57:12 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:27:15 2013 +0100 timeloop-closure: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/timeloop-closure.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit d8722441d167694dd943aeeab4e8addd4ce41f6a Author: Stef Walter AuthorDate: Sun Nov 10 15:56:59 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:27:01 2013 +0100 signals: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/signals.c | 1 + 1 file changed, 1 insertion(+) commit 1b9662046f4c98b8aa8aff63a0bbbfde3b6bf3f7 Author: Stef Walter AuthorDate: Sun Nov 10 15:56:32 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:26:53 2013 +0100 paramspec-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/paramspec-test.c | 3 +++ 1 file changed, 3 insertions(+) commit 320f0b32de8458c05793733991e05497d1b5c782 Author: Stef Walter AuthorDate: Sun Nov 10 15:56:17 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:26:37 2013 +0100 override: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/override.c | 3 +++ 1 file changed, 3 insertions(+) commit e6de9c6940cc123e9f843e3069f73a75a887487f Author: Stef Walter AuthorDate: Sun Nov 10 15:55:56 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:26:28 2013 +0100 gvalue-test: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/gvalue-test.c | 2 ++ 1 file changed, 2 insertions(+) commit 83301d8c1f678fbcd26129ba4bc4cc2332e15bdd Author: Stef Walter AuthorDate: Sun Nov 10 15:55:35 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:26:20 2013 +0100 accumulator: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711779 tests/gobject/accumulator.c | 2 ++ 1 file changed, 2 insertions(+) commit 5339950e2519933912fe5e3374caf721ad790220 Author: Stef Walter AuthorDate: Thu Nov 7 22:57:27 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:26:04 2013 +0100 threadtests: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711779 gobject/tests/threadtests.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit ac6d35b4df8726f18926b5060f969a6229f96378 Author: Stef Walter AuthorDate: Thu Nov 7 22:57:13 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:25:53 2013 +0100 enums: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711779 gobject/tests/enums.c | 4 ++++ 1 file changed, 4 insertions(+) commit dc72039c162e1ca6400f28f92dd8e090ce99bd3f Author: Stef Walter AuthorDate: Thu Nov 7 23:00:28 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:22:48 2013 +0100 giomodule: Fix leaks in module loading https://bugzilla.gnome.org/show_bug.cgi?id=711798 gio/giomodule.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit b88f992c6ea3b082ac967b852ceb1618c0196783 Author: Stef Walter AuthorDate: Sun Nov 10 14:48:36 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:20:09 2013 +0100 boxed: Fix double free in boxed unit tests https://bugzilla.gnome.org/show_bug.cgi?id=711782 gobject/tests/boxed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91c8fb82feae5675f20ac0fcb21226a1b516e5df Author: Stef Walter AuthorDate: Sat Nov 9 20:21:44 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:12:53 2013 +0100 gdbus-connection: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-connection.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f80e2695e1c624484a149fbd5b1c795d6b0ab519 Author: Stef Walter AuthorDate: Sat Nov 9 20:21:16 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:12:37 2013 +0100 gdbus-connection-slow: Fix leak in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-connection-slow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 0d51ff79edfb39d8b9e4d775a399404c1641784d Author: Stef Walter AuthorDate: Sat Nov 9 20:28:41 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:12:26 2013 +0100 gdbus-connection: Fix use after free in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-connection.c | 3 --- 1 file changed, 3 deletions(-) commit 95526b5db5adad7f550de06b707f429eb9da0654 Author: Stef Walter AuthorDate: Sat Nov 9 08:54:28 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:12:18 2013 +0100 gsubprocess: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gsubprocess.c | 4 ++++ 1 file changed, 4 insertions(+) commit fe3c878c53b2c8087c6c0605a36d55d61ddab3f4 Author: Stef Walter AuthorDate: Sat Nov 9 08:53:13 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:12:00 2013 +0100 gsubprocess: Fix error detection logic in tests Various tests were depending on local_error being set by a callback when it could never have been the case. Simplify async error detection logic in those cases, and fix leak of GError. https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gsubprocess.c | 40 ++++++++++++++-------------------------- 1 file changed, 14 insertions(+), 26 deletions(-) commit 78ad171da96e15b370867b69077fa3d149920c83 Author: Stef Walter AuthorDate: Fri Nov 8 14:28:55 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:11:29 2013 +0100 g-icon: Fix memory leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/g-icon.c | 1 + 1 file changed, 1 insertion(+) commit faafd4c051febb545838be9b663eabe5f3df254f Author: Stef Walter AuthorDate: Fri Nov 8 14:28:23 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:11:22 2013 +0100 contexts: Fix memory leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/contexts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 438f7110f92dd290bce205abb61249ed4d564c37 Author: Stef Walter AuthorDate: Sun Nov 10 16:39:45 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:11:14 2013 +0100 data-output-stream: Fix some access after free The memory pointed to by a GMemoryOutputStream can be realloc'd https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/data-output-stream.c | 4 ++++ 1 file changed, 4 insertions(+) commit 72171240cc1d3dfdee27ce460e88fca23308bdba Author: Stef Walter AuthorDate: Sun Nov 10 16:39:28 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 07:10:59 2013 +0100 buffered-output-stream: Fix some access after free The memory pointed to by a GMemoryOutputStream can be realloc'd https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/buffered-output-stream.c | 4 ++++ 1 file changed, 4 insertions(+) commit 419b47e166fce8974e8bc31e966020c57e6fe19f Author: Stef Walter AuthorDate: Sat Nov 9 20:19:44 2013 +0100 Commit: Stef Walter CommitDate: Mon Nov 11 06:55:09 2013 +0100 gtestdbus: Fix leak of GMainLoop https://bugzilla.gnome.org/show_bug.cgi?id=711808 gio/gtestdbus.c | 1 + 1 file changed, 1 insertion(+) commit 6294d730235577b018b1b8df85691a96a5ce4d80 Author: Stef Walter AuthorDate: Sun Nov 10 10:54:47 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:53:42 2013 +0100 module-test: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711768 tests/module-test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit fe8862dc1be42a65d0140b4f3d3ef345def638d9 Author: Stef Walter AuthorDate: Sun Nov 10 14:32:17 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:52:47 2013 +0100 utils: Don't free memory owned by glib in test https://bugzilla.gnome.org/show_bug.cgi?id=711775 glib/tests/utils.c | 1 - 1 file changed, 1 deletion(-) commit 0a02fd9c526f029808b38d1f7b9758e28675ec9d Author: Stef Walter AuthorDate: Sun Nov 10 10:54:26 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:45:04 2013 +0100 iochannel-test: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/iochannel-test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 44bd2ab07e81016c961a59f0a66f4351ac5822cf Author: Stef Walter AuthorDate: Sat Nov 9 20:52:42 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:44:39 2013 +0100 unicode-encoding: Fix leaks in test https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/unicode-encoding.c | 3 +++ 1 file changed, 3 insertions(+) commit e8cc0966d4a2fb3cf059122b4a4b9479e25604e4 Author: Stef Walter AuthorDate: Sat Nov 9 20:51:18 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:44:12 2013 +0100 thread-test: Fix leaks in tests This is a test of deprecated functionality and its age is showing. Doesn't actually do what it says. But fix leaks anyway. https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/thread-test.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ae1764b4e0dd33d55fac8a5329b0c5d45c4c66fd Author: Stef Walter AuthorDate: Sat Nov 9 20:30:11 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:43:25 2013 +0100 mainloop-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/mainloop-test.c | 4 ++++ 1 file changed, 4 insertions(+) commit 83a14d13ec22fad898a5be9aaa66b50536d6be17 Author: Stef Walter AuthorDate: Sat Nov 9 20:29:04 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:42:57 2013 +0100 datetime: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/datetime.c | 1 + 1 file changed, 1 insertion(+) commit 5ae5d438a684118556cc8875277d524d6ce9088b Author: Stef Walter AuthorDate: Sat Nov 9 20:26:57 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:42:29 2013 +0100 mapping-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/mapping-test.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit fc4630b7ac089fcd1aff1c8376433e971ab193dd Author: Stef Walter AuthorDate: Sat Nov 9 20:26:15 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:41:44 2013 +0100 gio-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/gio-test.c | 6 ++++++ 1 file changed, 6 insertions(+) commit ee743674a16f251bb275d6ee59f6da8cbf2b2910 Author: Stef Walter AuthorDate: Sat Nov 9 20:25:39 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:41:29 2013 +0100 completion-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/completion-test.c | 2 ++ 1 file changed, 2 insertions(+) commit ba56c7b720a88ba096a3325c03457dab9088b3b8 Author: Stef Walter AuthorDate: Sat Nov 9 20:25:23 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:41:16 2013 +0100 child-test: Fix leak in test https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/child-test.c | 2 ++ 1 file changed, 2 insertions(+) commit 9a67fb903f394fc884fbacd2f54392632db2b898 Author: Stef Walter AuthorDate: Sat Nov 9 20:25:07 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:40:58 2013 +0100 asyncqueue-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/asyncqueue-test.c | 4 ++++ 1 file changed, 4 insertions(+) commit e52558672610fa12c967448dcabb9a8cfd27179e Author: Stef Walter AuthorDate: Thu Nov 7 22:40:59 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:40:28 2013 +0100 unix: Fix memory leak in unix test https://bugzilla.gnome.org/show_bug.cgi?id=711751 glib/tests/unix.c | 1 + 1 file changed, 1 insertion(+) commit ab3c55435af3cecaa4b7805e8f6ffe1719e13ba6 Author: Dan Winship AuthorDate: Thu Nov 7 22:38:52 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:40:08 2013 +0100 gerror: Don't leak memory when overwrite warning Even though we can't always make no-leak guarantees when g_warning() in this case we're testing this behavior in tests, and it would be good to be able to valgrind this. https://bugzilla.gnome.org/show_bug.cgi?id=711751 glib/gerror.c | 10 ++++++++-- glib/tests/error.c | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) commit e74b4351a33aa09ed053922cca907c956cbe61cd Author: Stef Walter AuthorDate: Thu Oct 31 14:41:34 2013 +0100 Commit: Stef Walter CommitDate: Sun Nov 10 22:39:25 2013 +0100 private: Fix memory leak in tests Don't use g_private_new(), it's deprecated, and leaks by definition. https://bugzilla.gnome.org/show_bug.cgi?id=711751 glib/tests/private.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit ae6dbb35cbf11a363b28f1e86b1f6f2bc4036b4c Author: Michael Catanzaro AuthorDate: Sat Nov 9 09:33:42 2013 -0600 Commit: Michael Catanzaro CommitDate: Sat Nov 9 09:35:14 2013 -0600 giomodule: small typo in documentation gio/giomodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0cb8454b5c0ba31aa1c8b4915503686bfe5cddeb Author: Matthias Clasen AuthorDate: Fri Nov 8 20:57:04 2013 -0500 Commit: Matthias Clasen CommitDate: Fri Nov 8 20:57:04 2013 -0500 Small documentation improvement gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ca22ac794428c70fb0e11be3358f18b68d755ae3 Author: Matthias Clasen AuthorDate: Fri Nov 8 20:45:54 2013 -0500 Commit: Matthias Clasen CommitDate: Fri Nov 8 20:45:54 2013 -0500 Add an index for new api in glib docs docs/reference/glib/glib-docs.xml | 4 ++++ 1 file changed, 4 insertions(+) commit 83d427819778315e4d8b2d6cbc6e758d92733174 Author: Rico Tzschichholz AuthorDate: Fri Nov 8 08:15:43 2013 +0100 Commit: Rico Tzschichholz CommitDate: Fri Nov 8 08:15:43 2013 +0100 Revert "gio/Makefile: make sure to dist gappinfoprivate.h" This reverts commit c45b26d61f6539dbf4e202aded08d9614b441f81. gio/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 5627452048fb1925a7bfbabd7d7fba553e4458ca Author: Michael Catanzaro AuthorDate: Thu Nov 7 18:39:59 2013 -0600 Commit: Michael Catanzaro CommitDate: Thu Nov 7 18:41:29 2013 -0600 gstrfuncs: fix small typo in documentation glib/gstrfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bda60c3e8b92575520495b8f283ee5ba595da074 Author: Ryan Lortie AuthorDate: Thu Nov 7 13:56:56 2013 -0500 Commit: Ryan Lortie CommitDate: Thu Nov 7 13:56:56 2013 -0500 GAppInfoMonitor: don't try to use NULL hash table Don't g_hash_table_iter_init() on a NULL table if we see the app info monitoring but no monitors have been created yet. https://bugzilla.gnome.org/show_bug.cgi?id=711632 gio/gappinfo.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit ffbf866d3b3dfae234fbdeef8bab683c14d66e30 Author: Ryan Lortie AuthorDate: Tue Oct 29 12:02:44 2013 -0700 Commit: Ryan Lortie CommitDate: Thu Nov 7 13:51:05 2013 -0500 GApplication: fix bogus testcase We had a GApplication testcase that handled both open and commandline. This only way that this worked was by implementing the commandline handler without actually setting the HANDLES_COMMAND_LINE flag. This behaviour is now invalid, so just rip out the offending part of the test. https://bugzilla.gnome.org/show_bug.cgi?id=711099 gio/gapplicationimpl-dbus.c | 3 ++- gio/tests/basic-application.c | 23 ----------------------- gio/tests/gapplication.c | 5 ----- 3 files changed, 2 insertions(+), 29 deletions(-) commit 6e0bbd8adb861b21de24c1701e0de21bae339e73 Author: Ryan Lortie AuthorDate: Thu Oct 10 09:28:30 2013 -0400 Commit: Ryan Lortie CommitDate: Thu Nov 7 12:41:27 2013 -0500 appinfo: Add some testcases for searching https://bugzilla.gnome.org/show_bug.cgi?id=711557 gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 38 ++++ gio/tests/apps.c | 58 +++++ gio/tests/desktop-app-info.c | 242 +++++++++++++++++++- .../desktop-files/home/applications/eog.desktop | 11 + ...c6a4e022b17686306243dada811d550d25eb1fb.desktop | 7 + .../desktop-files/usr/applications/baobab.desktop | 39 ++++ .../desktop-files/usr/applications/cheese.desktop | 46 ++++ .../usr/applications/dconf-editor.desktop | 33 +++ .../desktop-files/usr/applications/eog.desktop | 43 ++++ .../usr/applications/evince-previewer.desktop | 28 +++ .../desktop-files/usr/applications/evince.desktop | 42 ++++ .../usr/applications/file-roller.desktop | 43 ++++ .../usr/applications/gcr-prompter.desktop | 18 ++ .../usr/applications/gcr-viewer.desktop | 10 + .../desktop-files/usr/applications/gedit.desktop | 83 +++++++ .../desktop-files/usr/applications/glade.desktop | 56 +++++ .../usr/applications/gnome-clocks.desktop | 41 ++++ .../usr/applications/gnome-contacts.desktop | 25 +++ .../usr/applications/gnome-font-viewer.desktop | 33 +++ .../usr/applications/gnome-music.desktop | 22 ++ .../usr/applications/gnome-terminal.desktop | 39 ++++ .../usr/applications/gucharmap.desktop | 38 ++++ .../usr/applications/kde4/dolphin.desktop | 27 +++ .../usr/applications/kde4/kate.desktop | 26 +++ .../usr/applications/kde4/konqbrowser.desktop | 26 +++ .../usr/applications/kde4/okular.desktop | 23 ++ .../desktop-files/usr/applications/mimeinfo.cache | 246 +++++++++++++++++++++ .../applications/nautilus-autorun-software.desktop | 19 ++ .../usr/applications/nautilus-classic.desktop | 15 ++ .../applications/nautilus-connect-server.desktop | 22 ++ .../usr/applications/nautilus.desktop | 39 ++++ .../desktop-files/usr/applications/totem.desktop | 36 +++ .../desktop-files/usr/applications/yelp.desktop | 39 ++++ 34 files changed, 1512 insertions(+), 2 deletions(-) commit 3d32d5359aefc0c287265c85278a31c7e2ea9b3d Author: Ryan Lortie AuthorDate: Tue Nov 5 22:51:48 2013 -0500 Commit: Ryan Lortie CommitDate: Thu Nov 7 12:41:27 2013 -0500 Add g_desktop_app_info_search() The first time this function is called we load all of the keyfiles in the directory, ignoring the 'Hidden' ones and build an index out of the interesting fields using g_str_tokenize_and_fold(). We do prefix matching on the tokens to find relevent desktop files. Right now this is implemented as a hashtable that we iterate over, checking prefixes on each token. This could possibly be sped up by creating an array, but it's already pretty fast... https://bugzilla.gnome.org/show_bug.cgi?id=711557 gio/gdesktopappinfo.c | 525 ++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdesktopappinfo.h | 2 + 2 files changed, 527 insertions(+) commit c45b26d61f6539dbf4e202aded08d9614b441f81 Author: Ryan Lortie AuthorDate: Thu Nov 7 12:11:55 2013 -0500 Commit: Ryan Lortie CommitDate: Thu Nov 7 12:41:27 2013 -0500 gio/Makefile: make sure to dist gappinfoprivate.h gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit ffb39bff6fc76051901dddbb179afdf83baafc27 Author: Rico Tzschichholz AuthorDate: Thu Nov 7 17:37:13 2013 +0100 Commit: Rico Tzschichholz CommitDate: Thu Nov 7 17:37:13 2013 +0100 gio: Add gappinfoprivate.h to Makefile.am In addition to e55d33edc1336ddc6d5cdfa0e3003a69a5812d26 gio/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a004fc80598c2b14f2e3780fb0f94fc9f6faf263 Author: Dimitris Spingos AuthorDate: Thu Nov 7 17:19:09 2013 +0200 Commit: Dimitris Spingos CommitDate: Thu Nov 7 17:19:09 2013 +0200 Updated Greek translation po/el.po | 1320 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 784 insertions(+), 536 deletions(-) commit 838b49ead77c35d94fa16d48a6d7271bab082a71 Author: Patrick Welche AuthorDate: Thu Nov 7 10:58:46 2013 +0000 Commit: Colin Walters CommitDate: Thu Nov 7 07:28:27 2013 -0500 configure: test(1) uses = to test for string equality https://bugzilla.gnome.org/show_bug.cgi?id=711600 m4macros/glibtests.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87e6db8deb96565cf4336c187e0dcec8b014cae2 Author: Chun-wei Fan AuthorDate: Tue Oct 29 14:55:27 2013 +0800 Commit: Chun-wei Fan CommitDate: Thu Nov 7 09:25:54 2013 +0800 codegen.py: Rearrange GLib Version Check ...so that the generated code will build on all platforms, as compilers like Visual C++ does not like #ifdef checks during a definition/use of a macro. https://bugzilla.gnome.org/show_bug.cgi?id=711049 gio/gdbus-2.0/codegen/codegen.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit e55d33edc1336ddc6d5cdfa0e3003a69a5812d26 Author: Ryan Lortie AuthorDate: Wed Sep 25 09:19:43 2013 -0400 Commit: Ryan Lortie CommitDate: Wed Nov 6 11:26:53 2013 -0500 Add GAppInfoMonitor This is a simple object that emits a "change" signal when the installed applications may have changed in some way. https://bugzilla.gnome.org/show_bug.cgi?id=711556 docs/reference/gio/gio-docs.xml | 1 + docs/reference/gio/gio-sections.txt | 13 +++ docs/reference/gio/gio.types | 1 + gio/gappinfo.c | 225 ++++++++++++++++++++++++++++++++++++ gio/gappinfo.h | 14 +++ gio/gappinfoprivate.h | 28 +++++ gio/gdesktopappinfo.c | 4 + 7 files changed, 286 insertions(+) commit 86ce3bf48e40756a360b13e18493a15d8d1bf5ae Author: Ryan Lortie AuthorDate: Sat Jul 27 16:04:56 2013 -0400 Commit: Ryan Lortie CommitDate: Wed Nov 6 10:56:25 2013 -0500 gdesktopappinfo: keep a list of files in the dirs In each DesktopFileDir, store a list of desktop files for that directory. This speeds up opening desktop files by name because we can skip statting in directories that we know don't have the file and also speeds up _get_all() because we can avoid enumeration. This also improves our support for dealing with names like 'kde4/kate.desktop' (equivalent to kde4-kate.desktop) since we find out about all of these files are the start and don't need to guess about which '-' to change to a '/'. It also means that we can easily deal with more than one level of such prefixes. We use a file monitor to watch for changes, invalidating our lists when we notice them. https://bugzilla.gnome.org/show_bug.cgi?id=711520 gio/gdesktopappinfo.c | 434 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 328 insertions(+), 106 deletions(-) commit 27da0799b8a2762e6ae44d0721014eeed8c36489 Author: Stef Walter AuthorDate: Thu Oct 31 23:07:10 2013 +0100 Commit: Stef Walter CommitDate: Wed Nov 6 10:14:57 2013 +0100 signals: Fix memory leaks in signals unit tests https://bugzilla.gnome.org/show_bug.cgi?id=627423 gobject/tests/signals.c | 5 +++++ 1 file changed, 5 insertions(+) commit b49344c1d389035066aed0c4392c18990afe68a4 Author: Stef Walter AuthorDate: Thu Oct 31 23:06:27 2013 +0100 Commit: Stef Walter CommitDate: Wed Nov 6 10:14:30 2013 +0100 qdata: Fix leak in qdata unit tests https://bugzilla.gnome.org/show_bug.cgi?id=627423 gobject/tests/qdata.c | 2 ++ 1 file changed, 2 insertions(+) commit 267222873399cadb0feef4009b26fb1109453fcd Author: Stef Walter AuthorDate: Thu Oct 31 14:39:05 2013 +0100 Commit: Stef Walter CommitDate: Wed Nov 6 10:14:16 2013 +0100 gerror: Don't leak when warning about overwriting an error While not strictly necessary, this fixes a false positive leak in the tests. https://bugzilla.gnome.org/show_bug.cgi?id=627423 glib/gerror.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 92b71825fd6b62e339b89159b2cfba8e5ca839c4 Author: Ryan Lortie AuthorDate: Sun Mar 24 21:55:08 2013 -0400 Commit: Stef Walter CommitDate: Wed Nov 6 10:12:50 2013 +0100 tests: fix leak in mainloop test Properly unref a pair of GSources in the unix-fd mainloop test. valgrind was reporting these as 'still reachable' before (possibly due to some residual pointers somewhere in memory), but when running with G_DEBUG=cleanup they were properly reported as leaked. glib/tests/mainloop.c | 2 ++ 1 file changed, 2 insertions(+) commit eef0d3c0b8ca541e48a8a9d7ec39ed40a717db6f Author: Ryan Lortie AuthorDate: Sun Mar 24 21:25:26 2013 -0400 Commit: Stef Walter CommitDate: Wed Nov 6 10:12:40 2013 +0100 grand: restructure a bit Instead of having lots of 'if NULL then allocate' code segments for the global GRand instance, move it to a single getter function that everyone calls. glib/grand.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit 70410b322c6a7cfa047d2a4049d0c810e9a52da8 Author: Ryan Lortie AuthorDate: Sun Mar 24 21:18:30 2013 -0400 Commit: Stef Walter CommitDate: Wed Nov 6 10:09:29 2013 +0100 gslice: don't misuse g_mutex_init() We were using g_mutex_init() to initialise a pair of mutexes in static storage, but we should only do that for mutexes that are part of allocated structures. glib/gslice.c | 2 -- 1 file changed, 2 deletions(-) commit 4af135ce49e5c8aa8231e0c9e24f04f5cd917468 Author: Philip Withnall AuthorDate: Tue Nov 5 16:43:26 2013 +0000 Commit: Philip Withnall CommitDate: Tue Nov 5 16:43:26 2013 +0000 garray: Note lack of bounds checking in g_ptr_array_index() documentation glib/garray.c | 4 ++++ 1 file changed, 4 insertions(+) commit f4931142806556123ce75dcf8b84e60dc7cd4e3c Author: Chun-wei Fan AuthorDate: Mon Nov 4 16:32:01 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 4 22:55:30 2013 +0800 gio/tests: Clean up inclusion of unistd.h Include unistd.h only on *NIX and define items as necessary on Windows, also replace instances of ssize_t with the GLib-equivilant gssize so to fix the build on platforms that do not have ssize_t, such as Visual C++. https://bugzilla.gnome.org/show_bug.cgi?id=711047 gio/tests/filter-cat.c | 13 +++++++++++-- gio/tests/gsubprocess-testprog.c | 4 ++-- gio/tests/readwrite.c | 5 ++++- gio/tests/resolver.c | 2 ++ gio/tests/win32-streams.c | 1 - 5 files changed, 19 insertions(+), 6 deletions(-) commit d262b6fe0ca851a47fede2e624cec4aa041f2f14 Author: Chun-wei Fan AuthorDate: Mon Nov 4 13:07:52 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 4 22:52:02 2013 +0800 glib/tests: Clean up inclusion of unistd.h Include unistd.h only when G_OS_UNIX is defined (or when G_OS_WIN32 is not defined). This will avoid including unistd.h unconditionally and/or unecessarily, which may cause problems in certain scenarios, such as when building the tests on Visual C++, which does not come with a unistd.h and MinGW, where unistd.h is essentially a wrapper for io.h and process.h. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/base64.c | 4 +--- glib/tests/checksum.c | 4 +--- glib/tests/gwakeuptest.c | 4 +++- glib/tests/hmac.c | 4 +--- glib/tests/mappedfile.c | 3 +-- glib/tests/node.c | 10 +++------- glib/tests/protocol.c | 5 +++-- glib/tests/thread.c | 5 +---- glib/tests/timeout.c | 2 ++ 9 files changed, 16 insertions(+), 25 deletions(-) commit 1079d30e1b5b9002ca5d4e5bef398e855a7c115f Author: Chun-wei Fan AuthorDate: Mon Nov 4 12:23:30 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 4 22:51:39 2013 +0800 glib/tests/fileutils.c: Include unistd.h on *NIX only ...and fix the test on non-English Windows, as gettext on Windows does not honor LC_ALL = "C" (the default CRT behavior) but requires using SetThreadLocale() to set the locale as it picks up the user's environment and the thread's locale. Without doing so the g_format_size_for_display() et al will display the translated message if the gettext translations have been installed before, causing the test_format_size_for_display tests to fail. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/fileutils.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 20f873a0bcafe9d8d929be98ea72a0d0608d076a Author: Chun-wei Fan AuthorDate: Tue Oct 29 19:12:38 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 4 10:31:28 2013 +0800 tests/libmoduletestplugins*.c: Update Prototypes Visual C++ does not like function declarations being different from their prototypes, so make the prototypes match the declarations by decorating them with G_MODULE_EXPORT. https://bugzilla.gnome.org/show_bug.cgi?id=711047 tests/libmoduletestplugin_a.c | 10 +++++----- tests/libmoduletestplugin_b.c | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) commit 39a62a064b55eead4142c5585a25b86c57759ec5 Author: Chun-wei Fan AuthorDate: Tue Oct 29 19:17:32 2013 +0800 Commit: Chun-wei Fan CommitDate: Mon Nov 4 10:30:57 2013 +0800 gio/test/resources.c: Fix for Windows We need to use g_content_type_get_mime_type() to look up the mime type of the file from the registry on the content type that was acquired on Windows, as g_file_info_get_content_type() does not acquire the file mime type (unlike on *NIX). g_content_type_get_mime_type() on *NIX is more or less an no-op as it simply returns the g_strdup()-ed version of the passed-in content type. This will enable the resources test to pass on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=711047 gio/tests/resources.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 64909ff7409968b83b0961e053eac98a03bd30cf Author: Ognyan Tonchev AuthorDate: Tue Oct 29 16:39:38 2013 +0100 Commit: Dan Winship CommitDate: Sun Nov 3 18:11:55 2013 -0500 gmain: make g_source_add_child_source() thread safe g_source_add_child_source() releases the context lock before attaching child_source to context. And this causes trouble if parent source is blocked and g_main_dispatch() manages to lock the context mutex and call unblock_source() before child_source gets attached to context. To fix this we call g_source_attach_unlocked() before releasing the context mutex. https://bugzilla.gnome.org/show_bug.cgi?id=711064 glib/gmain.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 89f961583580b16b5b67b2138d609ffd52f59c75 Author: Ross Lagerwall AuthorDate: Tue Oct 29 06:02:59 2013 +0200 Commit: Ross Lagerwall CommitDate: Sun Nov 3 06:47:33 2013 +0200 gio: Don't allow skipping past the end of GLocalFileInputStream The overridden implementation of the skip method for GLocalFileInputStream allows skipping past the end of the file which is inconsistent with the documentation. Prevent this by first seeking to the end of the file and then seeking backwards from there as much as is necessary. https://bugzilla.gnome.org/show_bug.cgi?id=711048 gio/glocalfileinputstream.c | 23 +++++++++++++++++++---- gio/tests/readwrite.c | 12 ++++++++++++ 2 files changed, 31 insertions(+), 4 deletions(-) commit dc172f06162398b51d230511756292154bace423 Author: Dan Winship AuthorDate: Sat Nov 2 12:18:45 2013 -0400 Commit: Dan Winship CommitDate: Sat Nov 2 12:23:30 2013 -0400 gmacros.h: fix C99 check G_STRFUNC was checking __STDC_VERSION__ against the wrong value (though it didn't actually matter, since __STDC_VERSION__ wasn't defined in C90, so the check still only matched C99 and above anyway). glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d0cd2e8ed036f4eff40c6de7a3b4a3361e48295e Author: Fran Diéguez AuthorDate: Fri Nov 1 12:52:43 2013 +0100 Commit: Fran Diéguez CommitDate: Fri Nov 1 14:51:30 2013 +0100 Updated Galician translations po/gl.po | 237 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 117 insertions(+), 120 deletions(-) commit aff483616c950fce2c8b466b5d0e8fbe2374fb8c Author: Fran Diéguez AuthorDate: Mon Oct 28 01:13:41 2013 +0100 Commit: Fran Diéguez CommitDate: Fri Nov 1 12:50:41 2013 +0100 Updated Galician translations po/gl.po | 785 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 488 insertions(+), 297 deletions(-) commit e6d19a27a3242ebf7ac23d3999e325f6a8d9ea39 Author: Daniel Mustieles AuthorDate: Thu Oct 31 14:36:50 2013 +0100 Commit: Daniel Mustieles CommitDate: Thu Oct 31 14:36:50 2013 +0100 Updated Spanish translation po/es.po | 825 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 524 insertions(+), 301 deletions(-) commit 6ed60a936cf4a220519195c456c3eaa5ddec66b4 Author: Murray Cumming AuthorDate: Thu Oct 31 13:15:01 2013 +0100 Commit: Murray Cumming CommitDate: Thu Oct 31 13:15:01 2013 +0100 docs: GDataTime: *_add_*(): Mention that you can subtract. Because this was not obvious to at least one person on irc. glib/gdatetime.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit e2fcb77cb04b4b86768d56d8fccfb36f1a5d9451 Author: Ross Lagerwall AuthorDate: Wed Oct 30 20:34:14 2013 +0200 Commit: Ross Lagerwall CommitDate: Thu Oct 31 06:31:43 2013 +0200 gio: Clean up trashinfo file if trashing fails https://bugzilla.gnome.org/show_bug.cgi?id=687202 gio/glocalfile.c | 2 ++ 1 file changed, 2 insertions(+) commit e94df7cfc279f38563e80e5a2b48a1bbd8d2b71b Author: Xavier Claessens AuthorDate: Mon Oct 28 17:02:44 2013 -0400 Commit: Xavier Claessens CommitDate: Tue Oct 29 13:42:35 2013 -0400 Tests: It is useless to unset "DBUS_SESSION_BUS_ADDRESS" manually If the goal is to make sure we don't have a dbus connection, it has to call g_test_dbus_unset() instead which is much more complete. In this case, g_test_dbus_unset() is called already, so it should be fine. https://bugzilla.gnome.org/show_bug.cgi?id=697348 gio/tests/gapplication.c | 4 ---- 1 file changed, 4 deletions(-) commit 06fbdb04d5001eaf9abadb872185d7b3e1593e08 Author: Xavier Claessens AuthorDate: Mon Oct 28 14:54:22 2013 -0400 Commit: Xavier Claessens CommitDate: Tue Oct 29 13:42:14 2013 -0400 GTestDBus: Make sure only DBUS_SESSION_BUS_ADDRESS is set by default g_test_dbus_unset() now also unset DBUS_STARTER_ADDRESS and DBUS_STARTER_BUS_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=697348 gio/gtestdbus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 940fa98290812789d095d93ff1c550cd86fb2428 Author: Xavier Claessens AuthorDate: Mon Oct 28 17:18:54 2013 -0400 Commit: Xavier Claessens CommitDate: Tue Oct 29 13:30:22 2013 -0400 Tests: add session_bus_run() and use it where possible This is to avoid having again the subtil bug in dbus-appinfo.c: session_bus_down() was called before g_test_run() so the test was running on the user's dbus session. https://bugzilla.gnome.org/show_bug.cgi?id=697348 gio/tests/dbus-appinfo.c | 6 +----- gio/tests/gdbus-export.c | 11 +---------- gio/tests/gdbus-introspection.c | 10 +--------- gio/tests/gdbus-proxy.c | 5 +---- gio/tests/gdbus-sessionbus.c | 11 +++++++++++ gio/tests/gdbus-sessionbus.h | 1 + gio/tests/gdbus-test-codegen.c | 11 +---------- 7 files changed, 17 insertions(+), 38 deletions(-) commit 5280c03368299bbb4f721f3e47213aa01d9d0142 Author: Colin Walters AuthorDate: Tue Oct 29 09:47:34 2013 -0400 Commit: Ryan Lortie CommitDate: Tue Oct 29 09:37:06 2013 -0700 tests/gdbus-introspection: Add a less trivial test case for _IGNORE_QUALIFIED This is distilled from PackageKit which currently aborts on startup. https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/tests/gdbus-introspection.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit daff84e23c4870f674293a90f36d79f4587d20cc Author: Ryan Lortie AuthorDate: Tue Oct 29 09:01:32 2013 -0700 Commit: Ryan Lortie CommitDate: Tue Oct 29 09:37:06 2013 -0700 GMarkup: clear attributes on ignorned tags Make sure that if we ignore a tag then we also clear the attributes that we already collected so that they don't end up on the next unignored tag opening. Also add some extra brackets for clarity (it doesn't make any difference -- I just think it reads nicer this way). https://bugzilla.gnome.org/show_bug.cgi?id=665634 glib/gmarkup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 425f307b01a41e6cd4922b037105a66293863cce Author: Lars Uebernickel AuthorDate: Mon Oct 28 23:55:19 2013 -0700 Commit: Lars Uebernickel CommitDate: Tue Oct 29 09:01:35 2013 -0700 gtk-notification-backend: remove unused variable A reference to the session bus is now stored in GNotificationBackend. Remove the extraneous one in the gtk backend and stop using it in withdraw_notification. https://bugzilla.gnome.org/show_bug.cgi?id=711051 gio/ggtknotificationbackend.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 1a037b140893433757400267d00a3a4437c3cdb7 Author: Ross Lagerwall AuthorDate: Tue Oct 29 14:53:38 2013 +0200 Commit: Ross Lagerwall CommitDate: Tue Oct 29 17:00:30 2013 +0200 gio: Clear error properly to prevent crash https://bugzilla.gnome.org/show_bug.cgi?id=711070 gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8aba61713ec0f674fa0dc986db3b2db3cdd0c41 Author: Ryan Lortie AuthorDate: Mon Oct 28 11:44:16 2013 -0700 Commit: Colin Walters CommitDate: Tue Oct 29 10:49:48 2013 -0400 GCancellable: drop lock for callback during connect() Don't hold the lock when calling the user's callback during g_cancellable_connect() for the case that the cancellable has already fired. Taken from a patch by Alex Larsson. Doc updates from Colin Walters. https://bugzilla.gnome.org/show_bug.cgi?id=705395 gio/gcancellable.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 61e8e1cd02cc9b9ae8917262ecc17633312b7683 Author: Chun-wei Fan AuthorDate: Tue Oct 29 14:49:13 2013 +0800 Commit: Chun-wei Fan CommitDate: Tue Oct 29 22:44:11 2013 +0800 gio/gsubprocess.c: Use g_snprintf() snprintf() is unfortunately still not universally available, so use g_snprintf() to ensure the build works on all platforms. https://bugzilla.gnome.org/show_bug.cgi?id=711049 gio/gsubprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e08ef9c367c4ad7c7d18b33b26465e8afbc895f3 Author: Chun-wei Fan AuthorDate: Tue Oct 29 12:46:32 2013 +0800 Commit: Chun-wei Fan CommitDate: Tue Oct 29 12:46:32 2013 +0800 gobject/gvaluetransform.c: Cleanup #ifndef _MSC_VER The two casts that were unsupported with Visual Studio is now properly supported, so build this code like how the other compilers build the code. gobject/gvaluetransform.c | 3 --- 1 file changed, 3 deletions(-) commit b227528f3291c8c4cfdfea057917edec63597ff8 Author: Ryan Lortie AuthorDate: Mon Oct 28 20:48:53 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 20:50:01 2013 -0700 GSettingsSchemaSource: fix parameter name in header list_schemas() had the parameters called 'recursive' and 'non-recursive' in the header instead of 'relocatable'. Fix that. gio/gsettingsschema.c | 17 ++++++++--------- gio/gsettingsschema.h | 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) commit abb9a746f4cc2c67a1dd96fa35e8d20bebe81c4f Author: Ryan Lortie AuthorDate: Mon Oct 28 14:49:14 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 18:11:46 2013 -0700 exporter: give error on Describe of missing action If someone calls org.gtk.Actions.Describe on a non-existent action then return an exception instead of a trivial description (disabled, no state, etc.). https://bugzilla.gnome.org/show_bug.cgi?id=687185 gio/gactiongroupexporter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e275b8bc6c48aa7c894cb4f53bd1ee95850eb801 Author: Ryan Lortie AuthorDate: Mon Oct 28 14:49:14 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 18:08:21 2013 -0700 exporter: give error on Describe of missing action If someone calls org.gtk.Actions.Describe on a non-existent action then return an exception instead of a trivial description (disabled, no state, etc.). https://bugzilla.gnome.org/show_bug.cgi?id=687185 gio/gactiongroupexporter.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 83869120bba2aa745a1b23fb415ab0eddd6f9327 Author: Ryan Lortie AuthorDate: Mon Oct 28 14:59:26 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 18:08:16 2013 -0700 GSimpleAction: don't allow changing state type g_object_set() allowed us to bypass the usual checks that the state doesn't change type and also leaked. Fix that up by turning the state into a construct property (so that it always gets set once during construction, even if only to NULL) and then route the further sets through the C API so that they are subject to the same checks. https://bugzilla.gnome.org/show_bug.cgi?id=696424 gio/gsimpleaction.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 908d7d6d6abb53a00e20bab70df7099ecd66890b Author: Ryan Lortie AuthorDate: Mon Oct 28 15:30:25 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 15:30:25 2013 -0700 glib-compile-schemas: ignore qualified tags/attrs Ignore qualified (in the XML namespace sense) tags and attributes when compiling GSettings schemas. This will allow people to add custom tags and attributes to their schemas without tripping up the compiler. https://bugzilla.gnome.org/show_bug.cgi?id=635641 gio/glib-compile-schemas.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9933a9f90477bf960f7f9c357253d1e4c78e5db5 Author: Ryan Lortie AuthorDate: Mon Oct 28 15:27:29 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 15:28:51 2013 -0700 GDBus: ignore qualified XML tags and attributes Ignore qualified (in the XML namespace sense) tags and attributes when parsing D-Bus introspection XML. This will allow people to add custom tags and attributes to their D-Bus interfaces without tripping up GDBus. https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1bc98830c5a3ffe5a43e5e05730064cb149f25bd Author: Ryan Lortie AuthorDate: Mon Oct 28 14:11:05 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 15:24:58 2013 -0700 tests: add a ignore-qualified markup-collect case Add a case to markup-collect that exercises the new IGNORE_QUALIFIED flag. https://bugzilla.gnome.org/show_bug.cgi?id=665634 glib/tests/markup-collect.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 474d91566a7db52ee1776933ea5c4b6276b1280a Author: Ryan Lortie AuthorDate: Mon Oct 28 14:05:51 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 15:24:58 2013 -0700 GMarkup: add G_MARKUP_IGNORE_QUALIFIED Add a flag to GMarkupParserFlags to ignore qualified tags (along with their contents) and attributes. This will provide a nice way for some of our parsers (GDBus introspection, GSettings schema, etc) to ignore additional tags that users have added to their files, under a different namespace. https://bugzilla.gnome.org/show_bug.cgi?id=665634 glib/gmarkup.c | 36 +++++++++++++++++++++++++++++++----- glib/gmarkup.h | 7 ++++++- 2 files changed, 37 insertions(+), 6 deletions(-) commit cbccbaeacfbde66f4b611b37752b0d96e77ca91e Author: Ryan Lortie AuthorDate: Mon Oct 28 13:56:26 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 15:24:58 2013 -0700 GMarkup: share some common code for closing tags The code for dealing with and the second half of was largely duplicated. We can share a lot of it by using a common function. This slightly changes the behaviour of the parser under error circumstances: previously the parser would deal with ' AuthorDate: Mon Oct 28 10:12:29 2013 +0100 Commit: Stef Walter CommitDate: Mon Oct 28 21:31:34 2013 +0100 test: g_debug messages shouldn't affect g_assert_expected_messages Debug messages are meant to give insight into how a process is proceeding, and are unpredictable in nature. They also often have line numbers in them. This patch ignores debug messages in g_test_assert_expected_messages(). https://bugzilla.gnome.org/show_bug.cgi?id=710991 glib/gmessages.c | 12 +++++++++--- glib/tests/testing.c | 14 ++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) commit 0d89d38cac5dddeade2c3bd21a27b6d8de997fa0 Author: Ryan Lortie AuthorDate: Mon Oct 28 12:10:13 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 12:10:13 2013 -0700 GSettings: fix for loop in 'extends' functionality Obvious mistake :( gio/gsettingsschema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b30486985bfceeed206fb285b8377596e374602e Author: Ryan Lortie AuthorDate: Mon Oct 28 10:54:08 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 11:49:10 2013 -0700 gsettings(1): stop using deprecated APIs Stop using the recently-deprecated GSettings APIs. Use the GSettingsSchema-based APIs instead. This fixes a number of bugs and also a net reduction of code. In particular, list-schemas will now work in context of a given --schemadir argument. https://bugzilla.gnome.org/show_bug.cgi?id=695558 gio/gsettings-tool.c | 105 ++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 64 deletions(-) commit a1a4dbf6ff94204dd61ec7944c854261f8a2dc3b Author: Ryan Lortie AuthorDate: Mon Oct 28 10:23:29 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 11:48:32 2013 -0700 gsettings(1): use global variables The number of arguments passed to each function is about to increase, so just use global variables instead. This is a commandline tool, after all... https://bugzilla.gnome.org/show_bug.cgi?id=695558 gio/gsettings-tool.c | 174 +++++++++++++++++++++++---------------------------- 1 file changed, 77 insertions(+), 97 deletions(-) commit bcb030a4745d9d88a6150146a37e732a5c7c5d4f Author: Ryan Lortie AuthorDate: Sun Oct 27 17:03:04 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 11:31:48 2013 -0700 GSettingsSchemaKey: add introspection APIs Add g_settings_schema_has_key() and _get_range(), _range_check(), _get_value_type(), _get_default_value() methods on GSettingsSchemaKey. Deprecate the equivalent APIs on GSettings. https://bugzilla.gnome.org/show_bug.cgi?id=683017 docs/reference/gio/gio-sections.txt | 7 ++ gio/gsettings.c | 80 ++------------ gio/gsettings.h | 4 +- gio/gsettingsschema-internal.h | 4 - gio/gsettingsschema.c | 212 ++++++++++++++++++++++++++++++------ gio/gsettingsschema.h | 13 +++ 6 files changed, 208 insertions(+), 112 deletions(-) commit c0865fbaf25b3666808b0c044c972c3dd76d397e Author: Ryan Lortie AuthorDate: Mon Oct 28 10:23:29 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 10:23:29 2013 -0700 bump version dconf needs the new version with read_user_value() on the backend API. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bebdfb8e6264f61ffefce3ce297f860909ee2ea3 Author: Ryan Lortie AuthorDate: Sun Oct 27 10:34:01 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 10:19:49 2013 -0700 GSettings: add getters for user/default value Add two new APIs: g_settings_get_user_value() and g_settings_get_default_value(). Together, these should allow the inspection of all interesting cases of "is this key set?" and "what would happen if I reset this key?" https://bugzilla.gnome.org/show_bug.cgi?id=668233 docs/reference/gio/gio-sections.txt | 2 + gio/gsettings.c | 100 ++++++++++++++++++++++++++++++++++++ gio/gsettings.h | 7 +++ 3 files changed, 109 insertions(+) commit 2d06dbeef185d25c8f4af2936d371c8ea717331b Author: Ryan Lortie AuthorDate: Sun Oct 27 10:33:08 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 10:19:49 2013 -0700 GSettings: small internal refactor Add two boolean parameters to our internal getter utility function in anticipation of the coming addition of g_settings_get_user_value() and g_settings_get_default_value() APIs. https://bugzilla.gnome.org/show_bug.cgi?id=668233 gio/gsettings.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit 84a6e651c208971e810d04c1ab08bed6a5f58905 Author: Ryan Lortie AuthorDate: Sun Oct 27 09:42:32 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 10:19:49 2013 -0700 GSettingsBackend: add read_user_value() API This will get the 'user' value from the database (ie: the one that the user has control over). Provide a default implementation that chains to ->read(). That will work for all of our internal backends which don't have a concept of layering or lockdown. The delayed backend implments "user value" by returning anything that's in the changeset (incuding an explicit NULL) or chaining up otherwise. We will use this for g_settings_get_user_value(). https://bugzilla.gnome.org/show_bug.cgi?id=668233 gio/gdelayedsettingsbackend.c | 27 ++++++++++++++++++++++++ gio/gsettingsbackend.c | 47 ++++++++++++++++++++++++++++++++++++++++++ gio/gsettingsbackend.h | 6 +++++- gio/gsettingsbackendinternal.h | 3 +++ 4 files changed, 82 insertions(+), 1 deletion(-) commit d567aa51149186e4675e01a5f11afb0360917da0 Author: Philip Withnall AuthorDate: Mon Oct 28 17:07:49 2013 +0000 Commit: Philip Withnall CommitDate: Mon Oct 28 17:07:49 2013 +0000 gio: Remove an unused variable from Makefile.am RESOLVER_LIBADD was not defined anywhere (its functionality has migrated to NETWORK_LIBS instead). gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f2c4eb8cbb20424a5e715b7f423d96ba9a30ac7f Author: Emmanuele Bassi AuthorDate: Mon Oct 14 19:41:54 2013 +0100 Commit: Colin Walters CommitDate: Mon Oct 28 12:47:16 2013 -0400 docs: Mention that generated code should not be kept Code generated by gdbus-codegen should neither be checked in into revision control, nor should be distributed. https://bugzilla.gnome.org/show_bug.cgi?id=710133 docs/reference/gio/gdbus-codegen.xml | 5 +++++ 1 file changed, 5 insertions(+) commit e547d14b7043836c59166af1d5497cb8f73caff6 Author: Emmanuele Bassi AuthorDate: Mon Oct 14 19:40:53 2013 +0100 Commit: Colin Walters CommitDate: Mon Oct 28 12:47:16 2013 -0400 gdbus-codegen maintains ABI for type structures Make it explicit, to avoid changes that could potentially lead to breakage in user code. https://bugzilla.gnome.org/show_bug.cgi?id=710133 docs/reference/gio/gdbus-codegen.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1b08980b48df4bcf973d3e308780dfdb3a62e9fa Author: Emmanuele Bassi AuthorDate: Mon Oct 14 19:30:21 2013 +0100 Commit: Colin Walters CommitDate: Mon Oct 28 12:47:16 2013 -0400 gdbus-codegen: Take into consideration MAX_ALLOWED for private data The G_ADD_PRIVATE() macro, and the auto-generated get_instance_private() internal function, should be used conditionally depending on the maximum allowed version of GLib, as defined by the GLIB_VERSION_MAX_ALLOWED pre-processor symbol. This allows generating code that can be compiled in projects that wish to use an older API version of GLib through the use of the GLIB_VERSION_MAX_ALLOWED symbol. https://bugzilla.gnome.org/show_bug.cgi?id=710133 gio/gdbus-2.0/codegen/codegen.py | 29 ++++++++++++++++++++++++++--- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 6 +++++- 3 files changed, 32 insertions(+), 4 deletions(-) commit 066df98849e890761a39361a4f5267ae3faa12b0 Author: Ryan Lortie AuthorDate: Mon Oct 28 09:29:15 2013 -0700 Commit: Ryan Lortie CommitDate: Mon Oct 28 09:44:05 2013 -0700 g_settings_schema_list: some fixes Prevent a crash in the case that gvdb_table_list() returns NULL (ie: because a schema has no keys). Stop a memory leak caused by pointlessly stealing keys from a hashtable (after we quarked them already). Stop allocating an extra entry at the end of an array for a terminator (that we never wrote anyway) when all functions using this API refer to the out-parameter length array. https://bugzilla.gnome.org/show_bug.cgi?id=711016 gio/gsettingsschema.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 5616e03f7a89a7dc83438b82e71d31e6456d2675 Author: Matthias Clasen AuthorDate: Mon Oct 28 12:31:31 2013 -0400 Commit: Matthias Clasen CommitDate: Mon Oct 28 12:32:04 2013 -0400 Fix handling of icons in GNotification The fdo backend was sending a uri where a file path was expected. gio/gfdonotificationbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65af7c47fff4ab04f26d6c8e33c6a01e19139613 Author: Stef Walter AuthorDate: Wed Nov 28 22:01:21 2012 +0100 Commit: Stef Walter CommitDate: Mon Oct 28 09:36:26 2013 +0100 Add a request_certificate virtual method to GTlsInteraction This allows GTlsConnection implementations to request a certificate from the user. Fix ups by Dan Winship https://bugzilla.gnome.org/show_bug.cgi?id=637257 docs/reference/gio/gio-sections.txt | 7 +- gio/gioenums.h | 14 + gio/gtlsinteraction.c | 390 ++++++++++++++++++++++++--- gio/gtlsinteraction.h | 47 +++- gio/tests/Makefile.am | 2 + gio/tests/tls-interaction.c | 508 ++++++++++++++++++++++++++++++++---- 6 files changed, 867 insertions(+), 101 deletions(-) commit 1fba61981a80c7a536113ba55f5a6acee8cd230c Author: Matthew Barnes AuthorDate: Sun Oct 27 17:26:33 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 17:27:44 2013 -0700 GKeyFileSettingsBackend: ignore file deletions Ignore the keyfile being deleted (ie: by the user) instead of reporting it to the application as all values being reverted back to their originals. https://bugzilla.gnome.org/show_bug.cgi?id=637956 gio/gkeyfilesettingsbackend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ef57996f44d57a3c6f7abda5a447ca8baf9dfbea Author: Christian Persch AuthorDate: Sun Oct 27 17:22:38 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 17:23:17 2013 -0700 Add test for extended schemas The test checks that the keys of the base schema are all present in the extended schema. https://bugzilla.gnome.org/show_bug.cgi?id=645453 gio/tests/gsettings.c | 16 ++++++++++++++++ gio/tests/org.gtk.test.gschema.xml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) commit cbf8cf8598e527a0d3b895cbfedef6b728ab8b82 Author: Ryan Lortie AuthorDate: Sun Oct 27 17:18:10 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 17:18:10 2013 -0700 GSettings: properly support 'extends' Support the 'extends' attribute that has been supported by the compiler for a long time by doing three things: - when creating a schema that extends another schema, lookup that other schema - when looking up keys and we can't find them in the schema, check (recursively) in the 'extends' schema - when listing all keys in a schema, also visit the extends schemas, but take care to avoid duplicates caused by overrides Extend the testsuite to verify that it works. https://bugzilla.gnome.org/show_bug.cgi?id=645453 gio/gsettingsschema.c | 152 +++++++++++++++++++++++++++++++------------------- 1 file changed, 96 insertions(+), 56 deletions(-) commit 3041d0a8dbc9b82d15291061814c4160a5d400ab Author: Ross Lagerwall AuthorDate: Fri Oct 25 10:05:02 2013 +0200 Commit: Ryan Lortie CommitDate: Sun Oct 27 17:15:38 2013 -0700 gio: Fix typo in documentation https://bugzilla.gnome.org/show_bug.cgi?id=710859 gio/gfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f386341bd0b03012c3f379d75d78755ef8cc7b6 Author: Ryan Lortie AuthorDate: Sat Oct 26 19:12:46 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 17:12:57 2013 -0700 Add g_settings_schema_source_list_schemas() g_settings_list_schemas() and g_settings_list_relocatable_schemas() are now deprecated. This will allow listing off schemas on non-default sources and is a better fit with the new direction the API is going. https://bugzilla.gnome.org/show_bug.cgi?id=680838 docs/reference/gio/gio-sections.txt | 1 + gio/gsettings.h | 4 +- gio/gsettingsschema.c | 172 ++++++++++++++++++++---------------- gio/gsettingsschema.h | 6 ++ 4 files changed, 103 insertions(+), 80 deletions(-) commit 13067362d2539f47624e4fb38589bf5281dd3276 Author: Colin Walters AuthorDate: Sun Oct 27 10:34:08 2013 -0400 Commit: Colin Walters CommitDate: Sun Oct 27 16:02:36 2013 -0400 gsubprocess: Add documentation about default input directions gio/gsubprocess.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6bb9d17e40deb230ab14f369304b8feca02230c0 Author: Colin Walters AuthorDate: Sun Oct 27 10:21:13 2013 -0400 Commit: Colin Walters CommitDate: Sun Oct 27 16:02:36 2013 -0400 gsubprocess: Fall back to plain F_DUPFD+fcntl for OS X <= Snow Lion Since it apparently doesn't have F_DUPFD_CLOEXEC. https://bugzilla.gnome.org/show_bug.cgi?id=710962 gio/gsubprocess.c | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) commit 00b35c78f861b2413fdb0bcba7d12249e52b0374 Author: Ryan Lortie AuthorDate: Sat Oct 26 18:58:06 2013 -0400 Commit: Ryan Lortie CommitDate: Sun Oct 27 10:42:55 2013 -0700 Add a testcase for summary/description https://bugzilla.gnome.org/show_bug.cgi?id=668232 gio/tests/gsettings.c | 38 ++++++++++++++++++++++++++++++++++++++ gio/tests/org.gtk.test.gschema.xml | 18 ++++++++++++++++++ 2 files changed, 56 insertions(+) commit 96a053e025f4b5a7286844df3d691ebb508953ab Author: Ryan Lortie AuthorDate: Sat Oct 26 18:57:55 2013 -0400 Commit: Ryan Lortie CommitDate: Sun Oct 27 10:42:55 2013 -0700 Add g_settings_schema_key_get_summary/description Add an API to read the summary and description from the .xml schema files. This will be used by dconf-editor and gnome-tweak-tool. This API is a bit heavy -- it parses the XML and builds a table. It also loads gettext domains for translation. It only does these things if it is used, however, so it will not impact normal applications. We store the summary/description in a pair of hash tables on the schema source (which we have a backref to as of a few commits ago). We can't use a global table because people might want to request summary and description from non-default sources. We don't want to use per-schema tables because we'd have to reparse the directory every time (since we cannot guess which file a schema may have been in). https://bugzilla.gnome.org/show_bug.cgi?id=668232 docs/reference/gio/gio-sections.txt | 4 + gio/gsettingsschema.c | 355 ++++++++++++++++++++++++++++++++++++ gio/gsettingsschema.h | 5 + 3 files changed, 364 insertions(+) commit 84fa07aeb1e3e41deac3508231712967366abfbd Author: Ryan Lortie AuthorDate: Sat Oct 26 18:57:24 2013 -0400 Commit: Ryan Lortie CommitDate: Sun Oct 27 10:42:50 2013 -0700 Make GSettingsSchemaKey public Take this private API and make it public along with a boxed type and ref/unref functions. Future commits will add accessors with new functionality and some that allow us to deprecate functions on GSettings itself (such as g_settings_get_range). https://bugzilla.gnome.org/show_bug.cgi?id=668232 docs/reference/gio/gio-sections.txt | 7 ++++ gio/gsettingsschema-internal.h | 6 ++- gio/gsettingsschema.c | 73 +++++++++++++++++++++++++++++++++++++ gio/gsettingsschema.h | 13 +++++++ 4 files changed, 97 insertions(+), 2 deletions(-) commit 0ef43ba743d0b3d1f8c13cd7fc8e3abab5609c49 Author: Ryan Lortie AuthorDate: Sat Oct 26 18:50:39 2013 -0400 Commit: Ryan Lortie CommitDate: Sun Oct 27 09:32:10 2013 -0700 GSettingsSchema: store a backref to the source Record in each GSettingsSchema object the source from which it came. This will be useful in future commits. https://bugzilla.gnome.org/show_bug.cgi?id=668232 gio/gsettingsschema.c | 3 +++ 1 file changed, 3 insertions(+) commit e462eda3d5c86349bd5daa7db687e582001390d7 Author: Ryan Lortie AuthorDate: Sat Oct 26 18:49:58 2013 -0400 Commit: Ryan Lortie CommitDate: Sun Oct 27 09:32:10 2013 -0700 Clean up GSettingsSchema logic The way we created the global schema list predates g_settings_schema_source_new_from_directory() and therefore doesn't use it. Update it to use that function, removing some code. https://bugzilla.gnome.org/show_bug.cgi?id=668232 gio/gsettingsschema.c | 55 +++++++++++++++++++-------------------------------- 1 file changed, 20 insertions(+), 35 deletions(-) commit ba3103763d1405c9dfd0f14c435aef307dfb92f6 Author: Ryan Lortie AuthorDate: Sun Oct 27 09:24:40 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 09:26:56 2013 -0700 tests: test g_hash_table_get_keys_as_array() https://bugzilla.gnome.org/show_bug.cgi?id=710964 glib/tests/hash.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 288076770264c7b34d57c985d827c3a3d2710209 Author: Ryan Lortie AuthorDate: Sat Oct 26 18:48:42 2013 -0700 Commit: Ryan Lortie CommitDate: Sun Oct 27 09:26:53 2013 -0700 Add g_hash_table_get_keys_as_array() Returns a %NULL-terminated array of the keys of a hashtable. In the case that the hash table has strings for keys, this is actually a gchar**. https://bugzilla.gnome.org/show_bug.cgi?id=710964 docs/reference/glib/glib-sections.txt | 1 + glib/ghash.c | 46 +++++++++++++++++++++++++++++++++++ glib/ghash.h | 3 +++ 3 files changed, 50 insertions(+) commit 415c6d2e2742946606c4db5b1157a946767afdb7 Author: Giovanni Campagna AuthorDate: Fri Oct 25 18:02:16 2013 +0200 Commit: Giovanni Campagna CommitDate: Sat Oct 26 14:55:18 2013 +0200 gapplication: don't emit warnings for DBus calls If a broken (or malicious) remote client calls Open or CommandLine on a GApplication that does not implement those, return a DBus error instead of going through and then emitting a warning. https://bugzilla.gnome.org/show_bug.cgi?id=710885 gio/gapplicationimpl-dbus.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 3e48e3be40ffb38067dc8cce4e5830cdd9c08aa5 Author: Giovanni Campagna AuthorDate: Fri Oct 25 18:01:51 2013 +0200 Commit: Giovanni Campagna CommitDate: Sat Oct 26 14:55:18 2013 +0200 gapplication: fix memory leak g_variant_get_child_value() returns a new GVariant, which we must free. https://bugzilla.gnome.org/show_bug.cgi?id=710885 gio/gapplicationimpl-dbus.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 0e1924a66c642d4aa4a30b97cff509903f972435 Author: Ryan Lortie AuthorDate: Fri Oct 25 12:22:42 2013 -0400 Commit: Ryan Lortie CommitDate: Fri Oct 25 18:17:35 2013 -0400 win32: use real random data for seed on win32 We can get cryptographically secure data from rand_s(). https://bugzilla.gnome.org/show_bug.cgi?id=710738 glib/grand.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 2bf492e97dd2f90c730ff5eecbde99c8f55265ee Author: Nilamdyuti Goswami AuthorDate: Fri Oct 25 12:44:48 2013 +0530 Commit: Nilamdyuti Goswami CommitDate: Fri Oct 25 12:44:48 2013 +0530 Assamese translation updated po/as.po | 345 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 184 insertions(+), 161 deletions(-)