commit 0cfffd597e204b687577ff2a43015916ee313f4e Author: Matthias Clasen Date: Tue Dec 17 00:30:08 2013 -0500 2.39.2 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 6c8600b2b86fe42edd6d6e9648a92f32e404457c Author: Ryan Lortie Date: Wed Nov 20 16:57:26 2013 -0500 valgrind.h: add "r0" to the clobber list on PPC Looks like the magic sequences trash this register, so make sure GCC knows that. https://bugzilla.gnome.org/show_bug.cgi?id=710983 glib/valgrind.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 2731b01c73ecc7ca692fefba1ce14c1aa4f5f5a0 Author: Ryan Lortie Date: Tue Dec 10 19:21:33 2013 -0500 tests: change test timezone to America/Toronto America/Toronto is the canonical name for Canada/Eastern in the zoneinfo database. glib/tests/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5ccdf2b86a7ecb2def51cbf7fcd7318ad20a6cc9 Author: Matthias Clasen Date: Sun Dec 15 21:06:35 2013 -0500 Expand the truncate tests Check that the data is expanded with zeros. gio/tests/memory-output-stream.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 453a69534c1407ccee6b66c1edd71c1e23a0cdae Author: Matthias Clasen Date: Sun Dec 15 20:06:25 2013 -0500 Update tests for new truncate behavior gio/tests/buffered-output-stream.c | 2 +- gio/tests/data-output-stream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit baed90af43add09e1667da6adfb4801936d8bd24 Author: Stef Walter Date: Sat Nov 9 20:23:01 2013 +0100 gdbus-export: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-export.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit db6a297d9eaf8eec21556689944d792085eed095 Author: Stef Walter Date: Sat Nov 9 20:20:50 2013 +0100 gdbus-auth: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711802 gio/tests/gdbus-auth.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2ad121ab16992ec5841dd0891710bb2cd37cdbe3 Author: Colin Walters Date: Sun Dec 15 20:44:20 2013 -0500 gsubprocesslauncher: Annotate g_subprocess_launcher_spawnv() Needs to be an array. gio/gsubprocesslauncher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f8888d348458a09040a8bdc6c09b4c080a78241 Author: Stef Walter Date: Sat Nov 9 20:27:57 2013 +0100 sources: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 tests/sources.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 0b486a49e48e309c98fe151650f9903e3c61ff46 Author: Matthias Clasen Date: Sun Dec 15 18:50:49 2013 -0500 Fix up gsettings test gio/tests/gsettings.c | 6 ------ 1 file changed, 6 deletions(-) commit 3b9ad6e6ef030cd8487f165e8d81174bd82e4fb9 Author: Ross Lagerwall Date: Sun Dec 8 22:41:15 2013 +0200 gio: Update GMemoryOutputStream length after truncate For GMemoryOutputStream, update valid_len when truncating so that g_memory_output_stream_get_data_size () returns the correct result. https://bugzilla.gnome.org/show_bug.cgi?id=720080 gio/gmemoryoutputstream.c | 2 ++ gio/tests/memory-output-stream.c | 5 +++++ 2 files changed, 7 insertions(+) commit c34cc2348cfd3c461974dea4419001dbd9610202 Author: Matthias Clasen Date: Sun Dec 15 11:20:19 2013 -0500 Simplify subprocesses in tests Use the new way of running tests in a subprocess without registering extra 'subprocess' test cases where appropriate. gio/tests/gsettings.c | 117 +++++++++++++++++++++++------------------------ glib/tests/array-test.c | 26 +++++------ glib/tests/dataset.c | 23 +++++----- glib/tests/scannerapi.c | 21 ++++----- glib/tests/slice.c | 14 +++--- glib/tests/test-printf.c | 48 +++++++++---------- glib/tests/testing.c | 93 ++++++++++++++++--------------------- glib/tests/utils.c | 37 ++++++--------- gobject/tests/object.c | 16 +++---- 9 files changed, 176 insertions(+), 219 deletions(-) commit cd2204bb65114e5ac62b014e6167a659aa254361 Author: Stef Walter Date: Wed Dec 11 09:31:35 2013 +0100 gtestutils: Allow clean simple use of g_test_trap_subprocess() Allow g_test_trap_subprocess() to be used in a simple cases by rerunning the same test case itself. This is accomplished by passing %NULL as the test case name. https://bugzilla.gnome.org/show_bug.cgi?id=720236 glib/gtestutils.c | 40 ++++++++++++++++++++++++---------------- glib/tests/list.c | 35 +++++++++++++++++------------------ 2 files changed, 41 insertions(+), 34 deletions(-) commit 162852d1b5512873c04e9ccf616e1fa13470e4eb Author: Matthias Clasen Date: Sat Dec 14 23:54:18 2013 -0500 Add a testcase for g_ptr_array_insert glib/tests/array-test.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 12fbc5ec4a02246a2ad3dc11225f51feb7ed7bdd Author: Matthias Clasen Date: Sat Dec 14 23:45:36 2013 -0500 Add g_ptr_array_insert to the docs docs/reference/glib/glib-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 9ed0d0c5096ad1434dfff70503ff6375646d6c8a Author: Tristan Van Berkom Date: Wed Nov 27 14:34:20 2013 +0900 GPtrArray: Added g_ptr_array_insert() Speaks for itself, I've found myself on numerous occasions writing my own version of this, or using a GArray of pointers. https://bugzilla.gnome.org/show_bug.cgi?id=719395 glib/garray.c | 36 ++++++++++++++++++++++++++++++++++++ glib/garray.h | 4 ++++ 2 files changed, 40 insertions(+) commit 6011d0a4ae9a8e70e20df3b7ad37f940ddf2f9f8 Author: Chun-wei Fan Date: Fri Dec 13 16:21:00 2013 +0800 glib/gwin32.c: Silence a Deprecation Warning Since we are already building a deprecated function for compatibility reasons, we don't really need to see a warning when it uses another deprecated GLib function. glib/gwin32.c | 2 ++ 1 file changed, 2 insertions(+) commit 3af58d2e9fefe14dc55fd41222a5c92947a08270 Author: Chun-wei Fan Date: Thu Dec 12 18:00:52 2013 +0800 gio/gdbusaddress: Clean up Win32 code a bit Combine duplicate parts into one, as the symbol used by RunDLL under x64 is the same for either Visual C++ or MinGW-64 gio/gdbusaddress.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit c7c1ad4d0265a2c393adef265c7f2cbe23421361 Author: Milo Casagrande Date: Thu Dec 12 09:50:46 2013 +0100 [l10n] Updated Italian translation. po/it.po | 1321 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 749 insertions(+), 572 deletions(-) commit d721d41d380ab1494e8d4e08b38fd884b1660fe7 Author: Matthias Clasen Date: Wed Dec 11 10:35:45 2013 -0500 Remove an unused define https://bugzilla.gnome.org/show_bug.cgi?id=720210 glib/gdataset.c | 3 --- 1 file changed, 3 deletions(-) commit e6c86d58f274b8a1a365627ffb1fa14daacd4335 Author: Martin Pitt Date: Wed Dec 11 13:17:10 2013 +0100 gdesktopappinfo: Add missing annotations Add missing (allow-none) annotations to g_desktop_app_info_launch_uris_as_manager(). Tested with python -c "from gi.repository import GLib, Gio; Gio.DesktopAppInfo.new('gcalctool.desktop').launch_uris_as_manager([], None, GLib.SpawnFlags.SEARCH_PATH|GLib.SpawnFlags.STDOUT_TO_DEV_NULL, None, None, None, None)" which is necessary to do a launch_uris() without leaking stdout. https://launchpad.net/bugs/1259721 gio/gdesktopappinfo.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit aa7f1ba21a8536a147e90bb29e972fcea41e8e3d Author: Chun-wei Fan Date: Wed Dec 11 20:09:59 2013 +0800 Update Visual C++ "Installation" Phase Install the Python scripts that is used by gdbus-codegen in share\glib-2.0\codegen, to be consistent with the other platforms. Please see https://bugzilla.gnome.org/show_bug.cgi?id=702862 for details on this. build/win32/vs10/glib-install.props | 4 ++-- build/win32/vs9/glib-install.vsprops | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 36ef409591bf3c0f368c39d083c42ed029cea5e6 Author: Manuel Bachmann Date: Wed Dec 11 10:59:28 2013 +0100 gdbus-codegen: look for deps in correct path under win32 codegen.py and friends get installed in "share/glib-2.0", so look for them there. https://bugzilla.gnome.org/show_bug.cgi?id=702862 gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6456bcfb682113b2b623e9ccd9bcec46626e4ed Author: Stef Walter Date: Wed Dec 4 12:48:53 2013 +0100 gdbus-connection: Work around race in connection tests GDBusConnection cleanup is inherently racy due to its use of worker threads. Put tests that expect a NULL G_BUS_TYPE_SESSION singleton as the first tests to work around cleanup races. https://bugzilla.gnome.org/show_bug.cgi?id=719837 gio/tests/gdbus-connection.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit a22f77739dd4ec911d7bdc0f0fc61314e5f9f1cf Author: Ryan Lortie Date: Sun Dec 8 18:18:16 2013 -0500 g_get_current_dir(): consult PWD first Check if the current directory is the same as $PWD. This matches the behaviour of the get_current_dir_name() function in glibc. https://bugzilla.gnome.org/show_bug.cgi?id=705902 glib/gfileutils.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 0f1579e62cded436c3fbfbeaf3130c8d8ffcb01c Author: Lars Uebernickel Date: Sun Dec 8 17:30:33 2013 +0100 g_settings_get: only check for non-copying format string 396d40af introduced a redundant call to g_variant_check_format_string(). Checking whether the format string copies all values is enough. https://bugzilla.gnome.org/show_bug.cgi?id=719979 gio/gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 05f36e7ffcac0e58c1bf578bc37e1dc129f4b8e3 Author: Ryan Lortie Date: Sun Dec 8 16:38:47 2013 -0500 clang fixes: tweak last commit We need to actually ignore "-Wformat-nonliteral" to make clang happy glib/tests/test-printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddf82a25761ed6aae17e478ab5d3096275b32b35 Author: Ryan Lortie Date: Sun Dec 8 14:22:51 2013 -0500 [PATCH] Fix trivial non literal format uses Based on a patch from Henrique Dante de Almeida . https://bugzilla.gnome.org/show_bug.cgi?id=691608 gio/gcontenttype.c | 16 ++++++---------- gio/gthreadedresolver.c | 32 ++++++++++++-------------------- glib/tests/test-printf.c | 3 +++ 3 files changed, 21 insertions(+), 30 deletions(-) commit 904474454146877180f33930a5843545035fdecb Author: keyring Date: Sat Dec 7 15:05:26 2013 +0800 Update Chinese simplified translation po/zh_CN.po | 1609 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 907 insertions(+), 702 deletions(-) commit 396d40af237db00e1014520cf6858cfed30bbc51 Author: Lars Uebernickel Date: Fri Dec 6 16:01:48 2013 +0100 g_settings_get: check validity of format string Allow only format strings that copy all values (i.e, don't contain '&'), as the returned pointers might become invalid in some rare cases. Since this is technically an API break, this patch only prints a critical when a faulty format string is detected, but still fetches the values. https://bugzilla.gnome.org/show_bug.cgi?id=719979 gio/gsettings.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c07eccd9c212e1e1642ee8cd359f5066ee8e5295 Author: Philip Withnall Date: Tue Dec 3 08:27:05 2013 +0000 gtestdbus: Add a note about thread safety to the documentation https://bugzilla.gnome.org/show_bug.cgi?id=712148 gio/gtestdbus.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7e9e7a66a1820478c87d3fadd47869eed88ef6f3 Author: Daiki Ueno Date: Thu Dec 5 18:16:36 2013 +0900 Fix documentation typos in GTask and GCancellable examples https://bugzilla.gnome.org/show_bug.cgi?id=719884 gio/gcancellable.c | 2 +- gio/gtask.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8f4dc7012ef832b038777e88e8e37b051f524194 Author: Colin Walters Date: Tue Dec 3 17:15:14 2013 -0500 gsignal: Signal connection ids are always > 0 if successful Note this explicitly so that people can rely on doing: if (mystruct->sigid > 0) g_signal_disconnect (mystruct->object, mystruct->sigid); https://bugzilla.gnome.org/show_bug.cgi?id=719809 gobject/gsignal.c | 6 +++--- gobject/gsignal.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit b2bf13ccdd08cba7ad33e6ac588120d0cbed54fa Author: Marc-André Lureau Date: Tue Nov 26 17:45:37 2013 +0100 gutf8: use g_try_malloc_n As recommended by Christian Persch. https://bugzilla.gnome.org/show_bug.cgi?id=711546 glib/gutf8.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bff76bc36ff2b158bb702f9d579e2ff039a252b0 Author: Marc-André Lureau Date: Tue Dec 3 15:35:50 2013 +0100 gmessages: make _g_log_abort() do only breakpoints again Commit e53caad4 makes _g_log_abort() noreturn by calling abort() unconditionally. However, it is useful to be able to skip some log_abort() with a debugger, to reach a point of interest. Revert back to previous behaviour. Make g_assert_warning() noreturn by calling abort(). https://bugzilla.gnome.org/show_bug.cgi?id=711800 glib/gmessages.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 2baa50ee4fde91f89692e00b1fc4fa39713be799 Author: Matthias Clasen Date: Mon Dec 2 22:26:48 2013 -0500 Remove g_trap_instance_signals as well This is another crude conditional breakpoint mechanism and can be done better with actual conditional breakpoints or with systemtap tracepoints. https://bugzilla.gnome.org/show_bug.cgi?id=719687 gobject/gsignal.c | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) commit 28c2706da73d7dddb12d336b26a08218e761817c Author: Matthias Clasen Date: Mon Dec 2 21:48:03 2013 -0500 Drop g_trap_object_ref debugging mechanism This is really just a very crude and limited conditional breakpoint. Update the documentation to explain conditional breakpoints in gdb instead. Also, remove the link to refdbg, which appears dead. https://bugzilla.gnome.org/show_bug.cgi?id=719687 docs/reference/gobject/tut_tools.xml | 21 +++++++-------------- gobject/gobject.c | 12 ------------ 2 files changed, 7 insertions(+), 26 deletions(-) commit 0f800cd1a863bc0c3e51c03592e2fb1ffbda8982 Author: Xavier Claessens Date: Mon Dec 2 14:37:23 2013 -0500 Document clearly async functions not copying its args Usually async methods copy/ref its arguments so caller can forget about them. g_file_replace_contents_async() and g_output_stream_write_async() are exceptions. https://bugzilla.gnome.org/show_bug.cgi?id=690525 gio/gfile.c | 5 +++++ gio/goutputstream.c | 5 +++++ 2 files changed, 10 insertions(+) commit c4e9135352c9dc5cef4f6c51432cd4763f849bc4 Author: Xavier Claessens Date: Mon Dec 2 14:40:35 2013 -0500 GFile: add GBytes version of _replace_contents_async() https://bugzilla.gnome.org/show_bug.cgi?id=690525 docs/reference/gio/gio-sections.txt | 1 + gio/gfile.c | 65 ++++++++++++++++++++++++++++++++----- gio/gfile.h | 9 +++++ 3 files changed, 66 insertions(+), 9 deletions(-) commit 10d2a01c9a47098e91c6782121a820e4b16717ab Author: Colin Walters Date: Sun Dec 1 18:52:37 2013 -0500 gsubprocess: Annotate g_subprocess_newv() So that it can actually be invoked by bindings. gio/gsubprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4aa6894e82b86246d8343feda0dcca79e7e36d1b Author: Chun-wei Fan Date: Mon Dec 2 09:51:18 2013 +0800 build/win32/vs9/gio.vcprojin: Use UNIX Line endings Be more consistent with the other project file templates, which will simplify future application of patches. build/win32/vs9/gio.vcprojin | 348 +++++++++++++++++++++---------------------- 1 file changed, 174 insertions(+), 174 deletions(-) commit a812e110bf990e890ad15697e369c295520d0f98 Author: Matthias Clasen Date: Sun Dec 1 11:45:41 2013 -0500 Install all test data The desktop-files directory contains a mimeapps.cache file that was not installed as data for installed tests, causing the file measure test to fail only in when installed. gio/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d22e577a030d33d9e79f508f1e296ac1cccd21e5 Author: Aurimas Černius Date: Sun Dec 1 18:30:19 2013 +0200 Updated Lithuanian translation po/lt.po | 1314 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 761 insertions(+), 553 deletions(-) commit 72eae6edddf0d2200a64c1a0a68079ced5ff48a6 Author: Matthias Clasen Date: Sat Nov 30 22:51:03 2013 -0500 Improve file measure testcase Make the testcase compare the byte size to what is reported by du. Also add a test for the async api, and mak eit test the progress reporting callback. gio/tests/file.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 162 insertions(+), 4 deletions(-) commit 9d4cd9c5ae307d40c96d8bc00f419f65795b8090 Author: Philip Withnall Date: Tue Nov 12 13:14:19 2013 +0000 gtestdbus: Minor documentation fixes https://bugzilla.gnome.org/show_bug.cgi?id=712148 gio/gtestdbus.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit 46c1aea0e7d77581ced8ebd064b5a886417f7371 Author: Philip Withnall Date: Tue Nov 12 13:10:33 2013 +0000 gtestdbus: Fix non-const use of const variables The argv array should be declared as const. https://bugzilla.gnome.org/show_bug.cgi?id=712148 gio/gtestdbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 598a9c5028eef0f84b8f3830524058f3ab5eb257 Author: Philip Withnall Date: Tue Nov 12 13:09:56 2013 +0000 gtestdbus: Fix variable shadowing Shut up, GCC. https://bugzilla.gnome.org/show_bug.cgi?id=712148 gio/gtestdbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b328cae6a975055ad83d99b248f366fe0973ff0e Author: Matthias Clasen Date: Fri Nov 29 00:11:47 2013 -0500 Add a test for g_file_measure_disk_usage gio/tests/file.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 7a90c201f7212a410ed871d7decab23e8b63d0e9 Author: Colin Walters Date: Fri Nov 29 04:12:26 2013 +0000 tests/gsubprocess: Only compare basename of /tmp Otherwise, we break in Continuous where /tmp == /sysroot/tmp, and something in the execve() or the kernel will do realpath() for us. gio/tests/gsubprocess.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4c3b009992f585ce00cafc8cd38941eb646df8e5 Author: Matthias Clasen Date: Thu Nov 28 21:58:48 2013 -0500 Improve GType test coverage Add a test for g_type_class_get_instance_private_offset gobject/tests/private.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d6af3c63c9a95aa86aebf422f14935059a769159 Author: Matthias Clasen Date: Thu Nov 28 21:58:25 2013 -0500 Add a test for g_atexit glib/tests/utils.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 2cafe37e19561ee1c10960d191dc776d70c19c7f Author: Matthias Clasen Date: Thu Nov 28 21:57:47 2013 -0500 Improve GApplication test coverage Exercise more of the GActionMap implementation. gio/tests/gapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 5528a0f408c5fa29e174a9612da9b0dd136be81f Author: Matthias Clasen Date: Thu Nov 28 21:56:48 2013 -0500 Improve GNotification test coverage gio/tests/gnotification.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 97a06b42527b3df1724c0bc61f654f651f3055e4 Author: Matthias Clasen Date: Thu Nov 28 21:53:53 2013 -0500 Improve GSimpleActionGroup test coverage Add a case that overwrites an existing action. gio/tests/actions.c | 4 ++++ 1 file changed, 4 insertions(+) commit 38afb17598c509f2960891b16deb3625ec64b1dc Author: Matthias Clasen Date: Thu Nov 28 14:50:59 2013 -0500 Generate overview images for coverage lcov has the options to generate overview images for each source file with the --frames option. Lets try this. glib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dbe560ac0106571261b8e8d1ed0335df47c97e97 Author: Matthias Clasen Date: Thu Nov 28 14:33:03 2013 -0500 Improve GSettings test coverage This covers some more GSettingsSchemaKey api. gio/tests/gsettings.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 555d40eeed7309d11717c872b2115f4d6a519a86 Author: Matthias Clasen Date: Thu Nov 28 13:54:50 2013 -0500 Improve search utils test coverage This adds test cases for the Turkish i. glib/tests/search-utils.c | 4 ++++ 1 file changed, 4 insertions(+) commit 00ab7790ce6057390c9c5eb25380051c15610637 Author: Matthias Clasen Date: Thu Nov 28 13:54:17 2013 -0500 Improve GNotification test coverage gio/tests/gnotification.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) commit ec393a3009f89439373486c480a8592595b7c06c Author: Matthias Clasen Date: Thu Nov 28 13:00:03 2013 -0500 Improve GKeyFile test coverage glib/tests/keyfile.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) commit 804c4fe1d37fa9c1c32e858052f56012d73163ef Author: Matthias Clasen Date: Thu Nov 28 12:59:32 2013 -0500 Improve test coverage for GHashTable glib/tests/hash.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) commit a688b2a9c0192a8373407fb53636d0e2c6d3ecbd Author: Matthias Clasen Date: Thu Nov 28 12:59:11 2013 -0500 Improve test coverage for GSubprocess gio/tests/gsubprocess-testprog.c | 14 ++++++++++++++ gio/tests/gsubprocess.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit f18138a9cf4b43c527636688ac87d03385c9664a Author: Matthias Clasen Date: Thu Nov 28 12:58:44 2013 -0500 Improve test coverage for gsettings gio/tests/gsettings.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 9a02cfd9142b9692116f828c402b115592e2256b Author: Matthias Clasen Date: Thu Nov 28 02:01:48 2013 -0500 Test new gsettings api g_settings_get_user_value and g_settings_get_default_value are now covered. gio/tests/gsettings.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 49ea52e6a69d96bd3eb29ed26c6cb1de592d336f Author: Philip Withnall Date: Thu Nov 28 20:41:49 2013 +0000 gio: Replace g_clear_object() with if()…g_object_unref() As per https://bugzilla.gnome.org/show_bug.cgi?id=113075#c39. gio/gcontenttype.c | 3 ++- gio/gdbusserver.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 49fc6d5b7e0714e783565f083aaca1de598256c0 Author: djcb Date: Thu Nov 28 08:25:20 2013 -0500 gdbus-codegen: Fix leak in property setter Comparing the code generated for the setter and other methods without (real) return value, I noticed that the setter does not unref the gvariant it gets. https://bugzilla.gnome.org/show_bug.cgi?id=719472 gio/gdbus-2.0/codegen/codegen.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 7d82d6dc5b7de75672d4875b2a897b9a29836f32 Author: Matthias Clasen Date: Thu Nov 28 01:36:29 2013 -0500 Test g_subprocess_launcher_spawn The spawnv variant of this function already had a test, but spawn was not tested. gio/tests/gsubprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ef1eccd7e97baee34e3ff76f1e19cdefc1b9eb8 Author: Matthias Clasen Date: Thu Nov 28 01:34:52 2013 -0500 Fix g_subprocess_launcher_spawn This function turns a varargs argument list into a string array, but forgets to NULL-terminate it. This function was not covered by unit tests...so it was broken. gio/gsubprocesslauncher.c | 2 ++ 1 file changed, 2 insertions(+) commit 4a687ed7237143be0e6c38c970aef0603793fc71 Author: Matthias Clasen Date: Thu Nov 28 01:12:26 2013 -0500 Test some more GSubProcess api This covers g_subprocess_set_environ, g_subprocess_setenv, g_subprocess_getenv, and g_subprocess_set_flags. gio/tests/gsubprocess-testprog.c | 18 +++++++++++++++++ gio/tests/gsubprocess.c | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) commit bd932aa9f8605a3823bc32428cccb334dc1f5ee0 Author: Matthias Clasen Date: Thu Nov 28 00:19:19 2013 -0500 Add a GAppInfoMonitor test The test reveals that there's something fishy with this monitor. One has to call g_app_info_get_all() for it to start working, and then it only works once. gio/tests/Makefile.am | 1 + gio/tests/appmonitor.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) commit 36a42ab0a50c2825a8111007ff59ff2da14ecff9 Author: Matthias Clasen Date: Wed Nov 27 22:48:06 2013 -0500 Add tests for new GAction api g_action_name_is_valid and g_action_parse_detailed_name are now covered. gio/tests/actions.c | 59 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 18 deletions(-) commit 1e3fe29fc3707e7844fce8e3761c3f12090d9158 Author: Manuel Bachmann Date: Wed Nov 27 23:18:54 2013 +0100 Fix g_win32_run_session_bus hook for MinGW-w64 On win64, g_win32_run_session_bus gets exported with this precise name, with MinGW as well as MSVC. Fixes annoying "Entry not found" UI warning. gio/gdbusaddress.c | 2 ++ 1 file changed, 2 insertions(+) commit 43d19dae11c5d7a62ab11d64feaa43129a24351b Author: Ryan Lortie Date: Wed Nov 27 12:41:33 2013 -0500 gsettings tool: stop using GMainLoop Just iterate directly. gio/gsettings-tool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f33a7f9ef2a14ddc8397477920e013f0987df0a4 Author: Ryan Lortie Date: Wed Nov 27 12:40:27 2013 -0500 gsettings tool: fix some sed damage The previous patch to simplify the GSettings commandline tool by making more use of global variables went a bit too far and broke 'gsettings monitor' when used without a specific key. Fix that up again. gio/gsettings-tool.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit e53caad4f139e2df0b34dae5864576796dda514e Author: Dan Winship Date: Wed Nov 27 10:57:43 2013 -0500 Fix a warning about _g_log_abort() G_BREAKPOINT is not noreturn, so make it so that we abort() if it returns, to make _g_log_abort() be properly noreturn again. glib/gmessages.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 695070b52e1c5b849993b0a1bb24e23d59434059 Author: Dan Winship Date: Wed Nov 27 10:15:44 2013 -0500 Fix the gtestutils core dump prevention again The previous patch was preventing core dumps on failed assertions, but not on g_error()s. glib/gmessages.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 1300108e0c50e70d5414c195649ad41419074e1a Author: Rui Matos Date: Wed Nov 27 14:32:05 2013 +0100 GDBusObjectManagerClient: keep the manager alive while firing signals Handlers for the signals we emit might unref the object manager. Make sure we keep it alive until we are done with it. https://bugzilla.gnome.org/show_bug.cgi?id=719402 gio/gdbusobjectmanagerclient.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 30e1ab326296088fd83c046e83b0f0a0b89b9489 Author: Ryan Lortie Date: Wed Nov 27 10:13:10 2013 -0500 tests: move /param/implement to -m slow Take this test out of 'make check'. It's causing problems for a lot of people due to fact that it's essentially a forkbomb. It's causing failures for Debian on ARM and it's DoSing coredumps to system crash collectors. The conditional only covers registration of the master, not the subprocess parts. This is because g_test_slow() always return FALSE in the subprocesses, so they would fail to run if we didn't register them unconditionally. gobject/tests/param.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit aa337d36741b17e53470fd8b08e672fa56ca59b1 Author: Philip Withnall Date: Mon Nov 25 13:26:45 2013 +0000 gbytes: Clarify the nullability of GBytes->data Clarify that it is permitted for a GBytes to contain a NULL data pointer, as long as its size is 0. https://bugzilla.gnome.org/show_bug.cgi?id=715164 glib/gbytes.c | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) commit 33dd6d12d7478df22b7759f0ed26f81187ad2a54 Author: Philip Withnall Date: Mon Nov 25 14:06:01 2013 +0000 gfileutils: Fix a potential integer overflow When calculating the array sizes in get_contents_stdio(), there is a possibility of overflow for very large files. Rearrange the overflow checks to avoid this. The code already handled some possibilities of files being too large, so no new GError has been added to handle this; the existing G_FILE_ERROR_FAILED is re-used. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=715164 glib/gfileutils.c | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) commit c1d5db618688a78aa897d269859a1bc6413a9e55 Author: Philip Withnall Date: Mon Nov 25 13:50:20 2013 +0000 gvariant: Fix a potential memcpy(NULL) call This probably won’t crash, as it can only happen if (size == 0), but add a check to be safe, and to shut up the static analyser. This case can be reached with the following call: gvs_read_unaligned_le(NULL, 0) which can be called from: gvs_tuple_get_child(value, index_) with (value.data == NULL) and (value.size == 0). Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=715164 glib/gvariant-serialiser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c9344fd5135474471dc34e29141a186454e7473e Author: Philip Withnall Date: Tue Nov 26 11:21:37 2013 +0000 gio/tests: Add a dynamic type check assertion This shuts up a static analysis false positive, and adds some extra checking. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/tests/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32118951ea827811d3885568916de89a0e5d1f4e Author: Philip Withnall Date: Tue Nov 26 11:20:01 2013 +0000 gio/tests: Add a non-NULL assertion to help static analysis The static analyser (correctly) considers a type check to fail if the variable is NULL. In this case, the address must be non-NULL as no error was thrown by g_socket_connection_get_remote_address(), but the static analyser doesn’t know this. Add a non-NULL assertion anyway, both to shut the analyser up, and because it’s good extra testing. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/tests/proxy-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9ccc2af9157b99651507eb078e6cdd8d31d3bd6 Author: Philip Withnall Date: Tue Nov 26 11:18:35 2013 +0000 gio/tests: Add non-NULL assertions to help static analysis These prevent some false positives from the static analyser which are caused by it not inspecting the invariants of g_subprocess_communicate[_utf8]_finish() (i.e. that stdout and stdout_str will always be set unless an error was returned). They’re also good testing anyway. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/tests/gsubprocess.c | 2 ++ 1 file changed, 2 insertions(+) commit fe004445a41d69075fcb542219026d4b8fc343a9 Author: Philip Withnall Date: Tue Nov 26 11:18:01 2013 +0000 gio/tests: Fix a g_return_val_if_fail() in a void function Should be g_return_if_fail() instead. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/tests/gnotification-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73e6b900d431f8ef948aa134e45107bd326e8004 Author: Philip Withnall Date: Tue Nov 26 11:16:57 2013 +0000 gunixmounts: Fix a potential strcmp(NULL) call mntent->mnt_fsname may be NULL at this point; if so, fall to the second branch and set mount_entry->device_path = NULL. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gunixmounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b9e8dc53b1efba01d760cde9d2cb01fdee51cf7 Author: Philip Withnall Date: Tue Nov 26 11:12:48 2013 +0000 gcontenttype: Fix a potential NULL pointer dereference If the initial part of the header (‘MIME-TreeMagic’) is valid, but the following line does not start with ‘[’ (i.e. is not a valid section line), insert_matchlet() will be called with a NULL match pointer, and will crash with a NULL pointer dereference. Fix this by bailing out if a valid section line isn’t encountered before the first insert_matchlet() call (i.e. between the header line and the first data line). Note that this has not been tested against a real treemagic file; the fix is purely theoretical. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gcontenttype.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit aa28ced44e0460fb01406aa17996d863ffe3cbf6 Author: Philip Withnall Date: Tue Nov 26 11:11:21 2013 +0000 gunixfdlist: Fix a potential NULL pointer dereference In the case that (n_fds == 0 && fds == NULL), memcpy() would be called against a NULL src pointer. Even though the number of bytes to copy is 0, avoid the possibility of a crash by only calling if fds is non-NULL. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gunixfdlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 956c58c7f202009d769aefc9bc8adaedccec074d Author: Philip Withnall Date: Tue Nov 26 11:09:58 2013 +0000 gsocketaddress: Add an assertion to help static analysis The static analyser will check dynamic type assertions and assume that if they fail, the variable can either have the wrong type, or be NULL (which is correct). The analyser doesn’t know that other constraints in the API ensure the variable is non-NULL. Add a non-null assertion to help the static analyser and shut it up in this case. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gsocketaddress.c | 2 ++ 1 file changed, 2 insertions(+) commit c729f416fb07e723a8404e28241a8096ac438838 Author: Philip Withnall Date: Tue Nov 26 11:08:50 2013 +0000 gdbusserver: Fix a potential g_object_unref(NULL) call This can happen if the hash table lookup for ‘noncefile’ fails, and hence the first ‘goto out’ is hit, at which point resolver is still NULL. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gdbusserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 44af12aba114c82e04fa78eb2ad9aaf8aa5137b2 Author: Philip Withnall Date: Tue Nov 26 11:07:45 2013 +0000 gcontenttype: Fix a potential g_object_unref(NULL) call This can happen if the g_file_query_info() call fails, returning NULL. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075 gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9322bf9abe2e61718b2b1c57aa09b18946a2d35 Author: Chun-wei Fan Date: Fri Nov 15 13:00:55 2013 +0800 gio/tests/memory-output-stream.c: Avoid an uninitialized variable Be a little bit more careful in regards to initializing a primitive type variable before passing it by reference, as it could have random stuff in the variable's address depending on the CRT, such as MSVCR110.DLL, causing random, invalid stuff being written in that address. This will fix this test when built with Visual Studio 2012. https://bugzilla.gnome.org/show_bug.cgi?id=711047 gio/tests/memory-output-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29b66e1458113e1786209f5784f919082d22c618 Author: Chun-wei Fan Date: Tue Nov 26 18:57:04 2013 +0800 glib/tests/enviroment.c: Fix running on Windows Don't attempt to insert environmental variables in the hash table during the test listenv that is an empty string, as GetEnvironmentStringsW() also returns special enviroment variables which have empty strings as their variable names, at least on Windows 7 and 8. https://bugzilla.gnome.org/show_bug.cgi?id=711047 glib/tests/environment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 32cfcc87400af61261ecdac29b38962c1de876f1 Author: Michael Natterer Date: Tue Nov 26 23:00:52 2013 +0100 gio: remove precondition checks from g_output_stream_printf() because we call g_output_stream_vprintf() which does exactly the same checks. gio/goutputstream.c | 5 ----- 1 file changed, 5 deletions(-) commit c9cfa7d1d55291503c8adb8a1cca24781e4a8da4 Author: Stef Walter Date: Thu Oct 31 23:03:58 2013 +0100 gthread-posix: Don't use gslice allocated GRecMutex This leads to problems during cleanup, and seems strange to have locks defined in terms of things that need locking. https://bugzilla.gnome.org/show_bug.cgi?id=711753 glib/gthread-posix.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit d86396f21fa164bd3cb5efc111ef50bd7065beec Author: Michael Natterer Date: Mon Nov 25 23:26:21 2013 +0100 gio: add g_output_string_[v]printf() which are useful for porting FILE* based output code. gio/goutputstream.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gio/goutputstream.h | 14 +++++++ 2 files changed, 118 insertions(+) commit a997cfe90fae92d13bd1bf7e7f45f2a2381c9f11 Author: Chun-wei Fan Date: Tue Nov 26 13:16:15 2013 +0800 gio/gdbusauthmechanismsha1.c: Move G_OS_* checks down The G_OS_* checks are only valid if the GLib headers have been previously included, so that io.h can be included properly on Windows gio/gdbusauthmechanismsha1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 03bf43e14aa3d5c22f9365a6c6137e3bb1f67b02 Author: Colin Walters Date: Mon Nov 25 18:39:46 2013 -0500 gsubprocess: Document g_subprocess_get_identifier() gio/gsubprocess.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ed1df0ea59fcb316827d709642d023caeebc5078 Author: Daniel Mustieles Date: Mon Nov 25 17:27:43 2013 +0100 Updated Spanish translation po/es.po | 789 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 379 insertions(+), 410 deletions(-) commit 299bcbfa41db0093bc876c1095f0aab248e3b771 Author: Philip Withnall Date: Mon Nov 25 13:35:53 2013 +0000 gsubprocess: Fix potential strlen(NULL) calls Also clarify the nullability of stdin_buf arguments in GSubprocess communication calls. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=715164 gio/gsubprocess.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit d6a19d2e76654570c056ef328c6fb4fdda939272 Author: Marc-André Lureau Date: Wed Nov 6 12:21:58 2013 +0100 utf8: report allocation error Make some of the conversion functions a bit more friendly to allocation failure. Even though the glib policy is to abort() on allocation failure by default, it can be quite helpful to return an allocation error for functions already providing a GError. I needed a safer g_utf16_to_utf8() to solve crash on big clipboard operations with win32, related to rhbz#1017250 (and coming gdk handling bug). https://bugzilla.gnome.org/show_bug.cgi?id=711546 glib/gconvert.h | 4 +++- glib/gutf8.c | 47 +++++++++++++++++++++++++++++++++++------------ 2 files changed, 38 insertions(+), 13 deletions(-) commit 0dbe5c43df6d3eb32abe766ed08da525a8c8bfa4 Author: Chun-wei Fan Date: Mon Nov 25 15:26:25 2013 +0800 msvc_recommended_pragmas.h: Treat C4819 warnings as errors Warning C4819 in Visual Studio builds indicates an issue of Visual Studio 2005 and later running on East Asian locales of Windows, which likely results in broken builds of GLib, Pango, GTK+, and possibly other GNOME projects such as Cogl and Clutter (and is also an issue when building other projects like QT and Firefox). Treat this warning as an error as a result when building GLib-based items on Visual Studio, and tell people how to remedy this issue correctly. README.win32 | 15 +++++++++++++++ msvc_recommended_pragmas.h | 2 ++ 2 files changed, 17 insertions(+) commit 3d70db075005a94d7fd18ac8a8dbd0abb82bff9e Author: Dan Winship Date: Sat Nov 23 12:06:05 2013 -0500 Reorganize the "don't dump core from test subprocesses" code. g_test_init() was calling _g_messages_set_exit_on_fatal() from subprocesses, to make fatal log messages call _exit() rather than abort(), but the function name is sort of confusing, and we don't really need it anyway, since g_log() can just call g_test_subprocess() instead and decide for itself. Likewise, update g_assertion_message() to do the check itself, rather than calling into gmessages to do it, and fix g_assertion_message_expr() to also check whether it should exit or abort. (Previously it always called abort(), although this didn't actually matter since that was dead code until test_nonfatal_assertions was added.) https://bugzilla.gnome.org/show_bug.cgi?id=711800 glib/Makefile.am | 1 - glib/gmessages-private.h | 35 ----------------------------------- glib/gmessages.c | 34 +++++++++++++++------------------- glib/gtestutils.c | 25 ++++++++++++++++++++----- 4 files changed, 35 insertions(+), 60 deletions(-) commit 97fac936708863a52d46cfb0ec3259e1b2c03d29 Author: Dan Winship Date: Sun Nov 10 15:27:26 2013 -0500 gtestutils: add g_assert_nonnull() to go with g_assert_null() https://bugzilla.gnome.org/show_bug.cgi?id=711800 docs/reference/glib/glib-sections.txt | 1 + glib/gtestutils.c | 15 +++++++++++++++ glib/gtestutils.h | 6 +++++- 3 files changed, 21 insertions(+), 1 deletion(-) commit f4c30feb9598e09d1d32805bad96e216c1a21786 Author: Dan Winship Date: Sun Nov 10 15:44:06 2013 -0500 gtestutils: fix g_test_set_nonfatal_assertions() g_test_set_nonfatal_assertions() was a no-op, because g_assertion_message() wasn't actually checking the test_nonfatal_assertions flag. Fix that and add a test. Also, g_test_set_nonfatal_assertions() has to set test_mode_fatal to FALSE as well, or else a failed assertion will cause the test program to abort at the end of the failed test. Also, belatedly add this and the new g_assert_* methods to the docs. https://bugzilla.gnome.org/show_bug.cgi?id=711800 docs/reference/glib/glib-sections.txt | 5 +++++ glib/gtestutils.c | 19 +++++++++++++++---- glib/tests/testing.c | 22 ++++++++++++++++++++++ 3 files changed, 42 insertions(+), 4 deletions(-) commit 910191597a6c2e5d5d460e9ce9efb4f47d9cc63c Author: Matthias Clasen Date: Sun Nov 24 01:22:44 2013 -0500 Add boolean returns to some hash functions The functions g_hash_table_insert, g_hash_table_replace and g_hash_table_add now return TRUE if they inserted a new key/value pair. https://bugzilla.gnome.org/show_bug.cgi?id=697828 glib/ghash.c | 34 +++++++++++++++++++++++----------- glib/ghash.h | 6 +++--- glib/tests/hash.c | 10 ++++++++-- 3 files changed, 34 insertions(+), 16 deletions(-) commit 616af3b80e62e283a1d8edba6b5da03f07a6ef0e Author: Matthias Clasen Date: Sun Nov 24 00:56:26 2013 -0500 Avoid a compiler warning glib/garray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1fb4b3b2bf30b6a74c1b161a0884a424f7211e33 Author: Manuel Bachmann Date: Sun Nov 24 04:51:21 2013 +0100 Fix G_OS #ifdefs in gbusserver.c G_OS #ifdefs are only available once glibconfig.h has been evaluated ; that is, after including glib headers. Move this block down so it gets correctly evaluated. gio/gdbusserver.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 5efc038e0dc77459ee5258b76640da423ded458e Author: Matthias Clasen Date: Sat Nov 23 22:24:00 2013 -0500 Fix up appinfo test Make it possible to skip the terminal-launching test simply by setting DISPLAY= . Previously, you had to unset DISPLAY, which is a little more cumbersome. https://bugzilla.gnome.org/show_bug.cgi?id=711178 gio/tests/appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0fc0754e655a0628c4b25da4fe2ddf261208deb3 Author: Matthias Clasen Date: Sat Nov 23 22:21:29 2013 -0500 Fix up the appinfo test One testcase was launching appinfo-test from a GAppInfo that does not have a filename. In this case, the G_LAUNCHED_DESKTOP_FILE envvar is not exported. Make appinfo-test deal with that, without spewing warnings. https://bugzilla.gnome.org/show_bug.cgi?id=711178 gio/tests/appinfo-test.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 0250d185b1780691c02d746d0732ab94aeabd1ed Author: Matthias Clasen Date: Sat Nov 23 21:28:40 2013 -0500 Fix warnings in a the actions test The actions test tests the GSimpleActionGroup API. Maybe this should be moved to use GActionMap, but for now, just disable the deprecations. There was also one test that wasn't actually hooked up, so do that as well. gio/tests/actions.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit dedc990e28c0755b33ccbaee0c19d22f430563e6 Author: Matthias Clasen Date: Sat Nov 23 21:10:06 2013 -0500 Fix array API inconsistency g_array_remove_range and g_byte_array_remove_range return a pointer to the array, g_ptr_array_remove_range returns void. Since it is pretty harmless, make it return the array too. https://bugzilla.gnome.org/show_bug.cgi?id=159528 glib/garray.c | 18 +++++++++++------- glib/garray.h | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) commit 698393f15d32c6386588cf37b3aea8342ae45bf7 Author: Matthias Clasen Date: Sat Nov 23 21:09:32 2013 -0500 Fix the stack direction check again Turns out I got it wrong. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 341c0b1988542f88f6c506145fda2ebd694f3331 Author: Matthias Clasen Date: Sat Nov 23 20:24:49 2013 -0500 Improve stack direction detection When the function in the test program is inlined, all bets are off whether the detection will work correctly or not. Make it harder for the compiler to play games on us by making the function recursive. https://bugzilla.gnome.org/show_bug.cgi?id=307947 configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit df71ecfc2dcefdc05f18dda5e6108f75ecbfe491 Author: Matthias Clasen Date: Sat Nov 23 20:12:13 2013 -0500 Fix the configure check for growing stack The check was getting the direction wrong, as proven by the just committed signal invocation hint test. https://bugzilla.gnome.org/show_bug.cgi?id=711871 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e81e33b35d389f14858015d759c9a3f416420c2d Author: Matthias Clasen Date: Sat Nov 23 20:06:07 2013 -0500 Add a test for g_signal_get_invocation_hint This is the sole piece of code in GLib where we make use of the stack growing direction. And this test proves that we have been getting the direction wrong all these years... gobject/tests/signals.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) commit bd8fb391aa71a7693302dfe4f27ca10bab82c68a Author: Christian Persch Date: Thu May 24 19:18:44 2012 +0200 application: Use printerr for runtime errors g_critical can be fatal (with --g-fatal-warnings, or some env var set), so don't use it to print out runtime errors. Bug #676761. gio/gapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e45372895dd31033726c0ddfa1f7ff55a52d907c Author: Matthias Clasen Date: Sat Nov 23 18:15:04 2013 -0500 Fix desktop-app-info test The recent change to the search scoring algorithm made nautilus and konqueror switch places in the search results. Update the test to reflect that. gio/tests/desktop-app-info.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit baf92d09d69de0d9f9b2d0f77fc62c21fdef4da8 Author: Stef Walter Date: Sat Nov 9 20:18:34 2013 +0100 gtestdbus: Properly close server connections Otherwise g_test_dbus_down() following a g_test_dbus_stop() will hang until it times out. https://bugzilla.gnome.org/show_bug.cgi?id=711807 gio/gtestdbus.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f16045c9cf221b800766fc0813d12f2a83636468 Author: Matthias Clasen Date: Sat Nov 23 16:58:51 2013 -0500 Add a test for notify emission ordering This tests the ordering that was just documented. See https://bugzilla.gnome.org/show_bug.cgi?id=607016 gobject/tests/properties.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 429010b15c0345d38b8dd711ccc1f45b2bbdbab4 Author: Matthias Clasen Date: Sat Nov 23 16:44:31 2013 -0500 Document details of GObject::notify The signals queued while notify is frozen are emitted in reverse order, while omitting duplicates. The lack of documentation for this was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=607016 gobject/gobject.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 5a5aaa203ac111add979abeb128ccc582b0cdc5c Author: Stef Walter Date: Sat Nov 9 09:25:02 2013 +0100 gdbus-connection: Fix race condition in test The test was expecting that the spawned process wouldn't start up before the NameOwnerChanged signal was subscribed. https://bugzilla.gnome.org/show_bug.cgi?id=711805 gio/tests/gdbus-connection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 65da592249b3eff7fbb5edb31d94e028cc3c43d0 Author: Lars Uebernickel Date: Tue Oct 29 00:01:38 2013 -0700 Add basic test for the GNotification gtk backend https://bugzilla.gnome.org/show_bug.cgi?id=711051 gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 2 + gio/tests/gnotification-server.c | 339 +++++++++++++++++++++++++++++++++++++++ gio/tests/gnotification-server.h | 46 ++++++ gio/tests/gnotification.c | 163 +++++++++++++++++++ 5 files changed, 551 insertions(+) commit 797959f05a26409fe143e54cc7d706ec5fa3d713 Author: Stef Walter Date: Sat Nov 9 20:17:49 2013 +0100 gtestdbus: Don't destroy GSource twice https://bugzilla.gnome.org/show_bug.cgi?id=711806 gio/gtestdbus.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 047d9ce6f2ae840bacb3e4cf42d128d9d247b96e Author: Gergely POLONKAI Date: Wed Sep 18 11:01:00 2013 +0000 GObject: Introspection annotations for enums This commit adds a few missing annotations to g_enum and g_flags functions. https://bugzilla.gnome.org/show_bug.cgi?id=708274 gobject/genums.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit aef0adc0dd6e53c28aa3243ee97a202257a4e195 Author: Bastien Nocera Date: Thu Nov 14 17:39:06 2013 +0100 GSettings: More docs for deprecated _list_schemas() Most _list_schemas() uses were to check for the availability of a particular schema. g_settings_schema_source_lookup() is a better way to do this. https://bugzilla.gnome.org/show_bug.cgi?id=712315 gio/gsettingsschema.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 330905587860ee83a1931ad3b6794cdfde35f582 Author: Matthias Clasen Date: Sat Nov 23 13:16:06 2013 -0500 GVariantBuilder: small documentation fixes The examples for g_variant_builder_add and g_variant_builder_add_parsed were leaking a heap-allocated builder. Fix that by converting the examples to stack allocation. https://bugzilla.gnome.org/show_bug.cgi?id=697585 https://bugzilla.gnome.org/show_bug.cgi?id=703522 glib/gvariant-parser.c | 18 +++++++++--------- glib/gvariant.c | 16 ++++++++-------- 2 files changed, 17 insertions(+), 17 deletions(-) commit 4382e8b876a3991e1be2827be76630e1b67b8e03 Author: Andrew Walton Date: Tue Nov 12 13:04:49 2013 -0800 CLOEXEC fix for older FreeBSDs and OS X. Some older POSIX-flavored operating systems may not have adopted O_CLOEXEC yet. See https://bugzilla.gnome.org/show_bug.cgi?id=712136. gio/gsubprocess.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit f969f1fc25248d4f53c78568481205b21ef1446b Author: Matthias Clasen Date: Sat Nov 23 10:49:00 2013 -0500 Small documentation clarification https://bugzilla.gnome.org/show_bug.cgi?id=671557 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3babb368742f6f8b69ba2c8a2b9a95d6142e8ff Author: Stef Walter Date: Fri Nov 8 14:26:33 2013 +0100 giomodule: Allow overriding source directory gio modules are loaded from When testing (and valgrinding) we need to have a known set of modules loaded. https://bugzilla.gnome.org/show_bug.cgi?id=711801 docs/reference/gio/overview.xml | 12 +++++++++++- gio/giomodule.c | 7 ++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit be231c6be03586f9a428f9ae5c9ae166b2747b75 Author: Dan Winship Date: Sun Nov 10 13:27:15 2013 -0500 glib-tap.mk: fix to actually use the TAP driver The Makefile rules in glib-tap.mk were copied from an example that assumed that all the test programs had names ending in ".test", so they didn't actually have any effect for us and resulted in us still using the standard automake test driver. Fix this so we actually do use TAP now. https://bugzilla.gnome.org/show_bug.cgi?id=711796 Makefile.am | 1 + glib-tap.mk | 2 +- tap-driver.sh | 652 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 654 insertions(+), 1 deletion(-) commit 8f5b40c04672a150ed6df27d9f83aba8ec8ea29d Author: Dan Winship Date: Sun Nov 10 13:26:01 2013 -0500 gio/tests: fix output of gdbus-proxy-threads and gdbus-threading Make gdbus-proxy-threads and gdbus-threading print a newline at the end of their progress strings, to avoid messing up their TAP-format output. https://bugzilla.gnome.org/show_bug.cgi?id=711796 gio/tests/gdbus-proxy-threads.c | 5 ++++- gio/tests/gdbus-threading.c | 12 +++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) commit c762a3a3f60a984edb721dd8879a52bffd134bd4 Author: Dan Winship Date: Sun Nov 10 13:25:45 2013 -0500 gio/tests: basic-application is a helper program, not a test https://bugzilla.gnome.org/show_bug.cgi?id=711796 gio/tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 41eacde63071d52bab52ee721efb12a279b14198 Author: Dan Winship Date: Sun Nov 10 13:23:15 2013 -0500 gtestutils: add "options" to g_test_init(), make option-argv0 use gtester Declare that the previously-unused "..." argument to g_test_init() is actually a NULL-terminated list of strings indicating testing options, and add an option "no_g_set_prgname", which keeps g_test_init() from calling g_set_prgname(). Then we can port glib/tests/option-argv0 to use gtester, by passing that option. https://bugzilla.gnome.org/show_bug.cgi?id=711796 glib/gtestutils.c | 18 +++++++++++++----- glib/gtestutils.h | 2 +- glib/tests/option-argv0.c | 11 ++++------- 3 files changed, 18 insertions(+), 13 deletions(-) commit f733075cd13504fa1977a433cbad463f8900828e Author: Dan Winship Date: Sun Nov 10 13:22:46 2013 -0500 glib/tests/include: port to gtester https://bugzilla.gnome.org/show_bug.cgi?id=711796 glib/tests/include.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit a9d93ca1dfbee4d4b6bb0880493be5ed6efac62c Author: Matthias Clasen Date: Sat Nov 23 00:22:09 2013 -0500 Add some mainloop instrumentation Add trace points around adding, removing and dispatching of sources. https://bugzilla.gnome.org/show_bug.cgi?id=710741 glib/glib.stp.in | 22 ++++++++++++++++++++++ glib/glib_probes.d | 4 ++++ glib/gmain.c | 8 ++++++++ 3 files changed, 34 insertions(+) commit 91dd70cf1715f64ff8dcd1ce2f641a905988f275 Author: Dan Winship Date: Wed Nov 20 09:41:13 2013 -0500 building: Document C90 and POSIX requirements https://bugzilla.gnome.org/show_bug.cgi?id=710519 INSTALL.in | 4 ++++ docs/reference/glib/building.xml | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) commit 9d7235dea7670a059cb4e653f6f9fee63560277f Author: Dan Winship Date: Wed Nov 20 09:31:20 2013 -0500 building: belated docs update: GNU make is required, not recommended https://bugzilla.gnome.org/show_bug.cgi?id=710519 INSTALL.in | 2 +- docs/reference/glib/building.xml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 158dde050702f83a058962d14156a02234fc9685 Author: Dan Winship Date: Sat Oct 19 13:04:00 2013 -0400 Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX In Windows development environments that have it, is mostly just a wrapper around several other native headers (in particular, , which contains read(), close(), etc, and , which contains getpid()). But given that some Windows dev environments don't have , everything that uses those functions on Windows already needed to include the correct Windows header as well, and so there is never any point to including on Windows. Also, remove some includes (and a few others) that were unnecessary even on unix. https://bugzilla.gnome.org/show_bug.cgi?id=710519 config.h.win32.in | 7 ------- configure.ac | 10 +++------- gio/gdbusauthmechanismexternal.c | 4 ---- gio/gdbusauthmechanismsha1.c | 4 ++-- gio/gdbusconnection.c | 4 ---- gio/gdbusmessage.c | 3 --- gio/gdbusprivate.c | 3 --- gio/gdbusserver.c | 4 ++-- gio/gdummyfile.c | 3 --- gio/glib-compile-resources.c | 7 +++---- gio/glib-compile-schemas.c | 4 ---- gio/glocalfile.c | 2 -- gio/glocalfileinfo.c | 8 +++----- gio/glocalfileinputstream.c | 4 +--- gio/glocalfileoutputstream.c | 4 +--- gio/gsimpleasyncresult.c | 7 ------- gio/gtestdbus.c | 2 +- glib/gbookmarkfile.c | 5 ----- glib/gdatetime.c | 4 ---- glib/genviron.c | 3 --- glib/gfileutils.c | 6 +++--- glib/giochannel.c | 4 ---- glib/gkeyfile.c | 2 +- glib/gmain.c | 4 ++-- glib/gmappedfile.c | 7 ++++--- glib/gmessages.c | 7 ++++--- glib/gpoll.c | 4 ++-- glib/grand.c | 8 ++++---- glib/gscanner.c | 8 ++++---- glib/gslice.c | 2 +- glib/gstdio.c | 2 +- glib/gstring.c | 3 --- glib/gtestutils.c | 4 +--- glib/gthread.c | 4 ++-- glib/gtimer.c | 4 ++-- glib/gutils.c | 4 +--- glib/tests/base64.c | 3 --- glib/tests/checksum.c | 3 --- glib/tests/hmac.c | 3 --- glib/tests/mappedfile.c | 10 +++++++--- glib/tests/node.c | 4 ---- glib/tests/thread.c | 2 +- gmodule/gmodule.c | 2 +- gobject/glib-genmarshal.c | 6 +++--- gobject/gobject-query.c | 3 --- tests/env-test.c | 4 ---- tests/file-test.c | 5 ++--- tests/gio-test.c | 8 ++++---- 48 files changed, 66 insertions(+), 152 deletions(-) commit 3981cddbf8659458be9f863151314cd0fd1682bf Author: Dan Winship Date: Sat Oct 19 13:03:59 2013 -0400 Require POSIX.1 (1990) compliance on unix Assume unix platforms support the original POSIX.1 standard. Specifically, assume that if G_OS_UNIX, then we have chown(), getcwd(), getgrgid(), getpwuid(), link(), , , , , , and . Additionally, since all versions of Windows that we care about also have , we can remove HAVE_SYS_TYPES_H checks everywhere. Also remove one include of , and the corresponding configure check, since the include is not currently needed (and may always have just been a typo for ). https://bugzilla.gnome.org/show_bug.cgi?id=710519 config.h.win32.in | 33 --------------------------------- configure.ac | 34 ++++++++++++++-------------------- gio/gfile.c | 3 --- gio/glocalfile.c | 2 +- gio/glocalfileinfo.c | 16 +++++++--------- gio/glocalfileinfo.h | 2 -- gio/glocalfileoutputstream.c | 2 +- gio/glocalvfs.c | 4 ++-- gio/gsocket.c | 2 +- glib/gbacktrace.c | 15 +++++---------- glib/gfileutils.c | 6 ------ glib/gthread-posix.c | 9 +++------ glib/gutils.c | 9 ++++----- 13 files changed, 38 insertions(+), 99 deletions(-) commit 6e4a7fca431f53fdfd89afbe956212229cf52200 Author: Dan Winship Date: Sat Oct 19 13:03:58 2013 -0400 Require C90 compliance Assume all supported platforms implement C90, and therefore they (correctly) implement atexit(), memmove(), setlocale(), strerror(), and vprintf(), and have and . (Also remove the configure check testing that "do ... while (0)" works correctly; the non-do/while-based version of G_STMT_START and G_STMT_END was removed years ago, but the check remained. Also, remove some checks that configure.ac claimed were needed for libcharset, but aren't actually used.) Note that removing the g_memmove() function is not an ABI break even on systems where g_memmove() was previously not a macro, because it was never marked GLIB_AVAILABLE_IN_ALL or listed in glib.symbols, so it would have been glib-internal since 2004. https://bugzilla.gnome.org/show_bug.cgi?id=710519 config.h.win32.in | 33 ---------- configure.ac | 154 ++++++++------------------------------------ gio/gbufferedinputstream.c | 2 +- gio/gbufferedoutputstream.c | 2 +- glib/garray.c | 32 ++++----- glib/gbsearcharray.h | 4 +- glib/gfileutils.c | 2 +- glib/gslice.c | 14 ++-- glib/gstrfuncs.c | 15 +---- glib/gstring.c | 10 +-- glib/gutils.c | 56 ++-------------- glib/gutils.h | 13 +--- glib/pcre/Makefile.am | 1 + glib/tests/test-printf.c | 2 - gobject/gtype.c | 18 +++--- gobject/gvaluearray.c | 8 +-- 16 files changed, 80 insertions(+), 286 deletions(-) commit 7f5b2901cf5bea290c11133dad16850176178dad Author: Dan Winship Date: Sat Oct 19 13:03:56 2013 -0400 Remove alleged support for last-millennium Unixes Remove workarounds for NeXTStep (last released in 1995), SunOS (1994), HP-UX 9.x (1992) and 10.x (1995), OSF/1 / Digital UNIX / Tru64 UNIX 4.x (1999), and AIX 4.x (1999). HP-UX 11 implements dlopen(), so dropping support for earlier versions also lets us remove the HP-UX-specific gmodule-dld. https://bugzilla.gnome.org/show_bug.cgi?id=710519 configure.ac | 66 ++---------------- glib/gfileutils.c | 5 +- glib/glibconfig.h.win32.in | 6 +- glib/gpoll.c | 6 -- glib/gutils.c | 9 +-- gmodule/Makefile.am | 1 - gmodule/gmodule-dld.c | 163 -------------------------------------------- gmodule/gmodule.c | 12 ++-- gmodule/gmoduleconf.h.in | 3 +- gmodule/gmoduleconf.h.win32 | 1 - m4macros/glib-2.0.m4 | 5 +- 11 files changed, 15 insertions(+), 262 deletions(-) commit 51a917bc1656368e8d94ea7ea3b33d3cc06daa82 Author: Dan Winship Date: Sat Oct 19 13:03:55 2013 -0400 Remove alleged support for BeOS Since the initial addition of BeOS support in 1999, there has only been one update to it (in 2005, and it wasn't even very big). GLib is known to not currently build on Haiku (or presumably actual BeOS) without additional patching, and the fact that there isn't a single G_OS_BEOS check in gio/ is suspicious. Additionally, other than the GModule implementation, all of the existing G_OS_BEOS checks are either (a) "G_OS_UNIX || G_OS_BEOS", or (b) random minor POSIXy tweaks (include this header file rather than that one, etc), suggesting that if we were going to support Haiku, it would probably be simpler to treat it as a special kind of G_OS_UNIX (as we do with Mac OS X) rather than as its own completely different thing. So, kill G_OS_BEOS. https://bugzilla.gnome.org/show_bug.cgi?id=710519 configure.ac | 32 ------ docs/reference/glib/glib-sections.txt | 1 - glib/docs.c | 7 -- glib/gbacktrace.c | 2 +- glib/gmain.c | 5 - glib/gpoll.c | 4 - glib/gstdio.c | 2 +- glib/gutils.c | 2 +- gmodule/Makefile.am | 1 - gmodule/gmodule-beos.c | 204 ---------------------------------- gmodule/gmoduleconf.h.in | 1 - gmodule/gmoduleconf.h.win32 | 1 - 12 files changed, 3 insertions(+), 259 deletions(-) commit 57969f4b251d14eaa3d154842f208dde4cc525a7 Author: Dan Winship Date: Sat Oct 19 13:03:46 2013 -0400 Remove alleged support for OS/2 In particular, remove the OS/2 GModule implementation (which AFAICT was never actually built even on OS/2). https://bugzilla.gnome.org/show_bug.cgi?id=710519 glib/gutils.c | 4 -- gmodule/Makefile.am | 1 - gmodule/gmodule-os2.c | 144 -------------------------------------------- gmodule/gmoduleconf.h.in | 1 - gmodule/gmoduleconf.h.win32 | 1 - 5 files changed, 151 deletions(-) commit 6f7d8f6294da1c08d918b14cb012e5fa854ff080 Author: Stef Walter Date: Tue Oct 29 18:03:29 2013 +0100 gbacktrace: Print out gdb exec errors correctly We want to see error messages related to starting and running gdb (such as if it's not installed). https://bugzilla.gnome.org/show_bug.cgi?id=711088 glib/gbacktrace.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit b1af471a3f08c3afa4eb61f0791998aac5da80a8 Author: Michael Haubenwallner Date: Thu Nov 14 16:22:10 2013 +0100 build: Give internal libraries higher precedence Linking local libraries too late may cause preinstalled libraries to get found earlier, due to external library paths in .la files. https://bugzilla.gnome.org/show_bug.cgi?id=712314 gio/Makefile.am | 37 +++++++++++++++++++------------------ gio/tests/Makefile.am | 6 ++++-- tests/Makefile.am | 8 ++++---- tests/gobject/Makefile.am | 2 +- 4 files changed, 28 insertions(+), 25 deletions(-) commit 36f1a4ce7ed6df6aa8d24169508cc33dfc34cd79 Author: Stef Walter Date: Tue Oct 29 21:30:06 2013 +0100 gmessages: Add g_info macro for G_LOG_LEVEL_INFO For completeness. Although less used than others, projects want to use this, and end up having to define it awkwardly themselves. https://bugzilla.gnome.org/show_bug.cgi?id=711103 docs/reference/glib/glib-sections.txt | 1 + glib/gmessages.c | 22 +++++++++++++++++++++- glib/gmessages.h | 15 +++++++++++++++ glib/tests/protocol.c | 5 +---- 4 files changed, 38 insertions(+), 5 deletions(-) commit a46459b0002af97c035133907706caeba76f7863 Author: Colin Walters Date: Mon Nov 18 16:15:34 2013 -0500 GSocketClient: For _CONNECTING event, make remote address accessible My application (hotssh) would like to get the resolved address from DNS, before we start the connect(). We could add a new event, but it's easy enough to just cache it on the GSocketConnection; this avoids any new API. https://bugzilla.gnome.org/show_bug.cgi?id=712547 gio/gioprivate.h | 6 ++++++ gio/gsocketclient.c | 8 +++++++- gio/gsocketconnection.c | 30 ++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) commit 1f0573d2e6605d657cdf2884cc4dcd646f8a214f Author: Michael Haubenwallner Date: Thu Nov 14 16:16:59 2013 +0100 AIX splice() is something different AIX does provide the splice() symbol, but this does have different signature and usecase than what Linux may provide. https://bugzilla.gnome.org/show_bug.cgi?id=712314 configure.ac | 1 + 1 file changed, 1 insertion(+) commit efb1701bf3baf6f5b05fd1a7a5a4ff990a7dc460 Author: Michael Haubenwallner Date: Thu Nov 14 16:12:02 2013 +0100 Use AC_HEADER_MAJOR Instead of checking for sys/mkdev.h headerfile, there is the AC_HEADER_MAJOR helper for how to get major(), minor(), makedev(). https://bugzilla.gnome.org/show_bug.cgi?id=712314 configure.ac | 3 ++- gio/gdbusmessage.c | 9 ++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) commit 3c2d52cc965ac6c4d44f3812cb3d52631873ff02 Author: Colin Walters Date: Tue Nov 12 13:41:47 2013 -0500 gsettings.m4: @GSETTINGS_RULES@: Support srcdir != builddir with nonrecursive make In hotssh I use nonrecursive make. gnome-continuous uses srcdir != builddir by default. @GSETTINGS_RULES@ will then attempt to touch a nonexistent path. This patch fixes that. https://bugzilla.gnome.org/show_bug.cgi?id=712171 m4macros/gsettings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f79e39154d4028dac1366e813aba0cabdd48c9c2 Author: Dan Winship Date: Sun Nov 17 09:45:20 2013 -0500 GDummyTlsBackend: cache the GDummyTlsDatabase The default GTlsDatabase is supposed to be a singleton (and libsoup has tests that will fail if it's not). gio/gdummytlsbackend.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) commit cfc8215fc1dc09acbfd4bb2c2b5ae5d66a4146d4 Author: Ray Strode Date: Fri Nov 15 14:47:09 2013 -0500 gobject: Box GMappedFile GMappedFile is current unintrospectable, because it's not a registered box type. It already has reference counting functions, so there's little reason not to box it. This commit adds GMappedFile to the hoard of other boxes types handled by gboxed.c https://bugzilla.gnome.org/show_bug.cgi?id=712393 gobject/gboxed.c | 1 + gobject/glib-types.h | 11 +++++++++++ 2 files changed, 12 insertions(+) commit ca830f273396322a29c439f760c06e9bad0399f1 Author: Ryan Lortie Date: Fri Nov 15 15:23:43 2013 -0500 Fix GSettings testcase again Hopefully this one will work for both srcdir == builddir and not. gio/tests/Makefile.am | 2 +- gio/tests/gsettings.c | 7 +- gio/tests/org.gtk.test.gschema.xml | 204 -------------------------------- gio/tests/org.gtk.test.gschema.xml.orig | 204 ++++++++++++++++++++++++++++++++ 4 files changed, 210 insertions(+), 207 deletions(-) commit cb889d95804144c86d9a64aeb6b21a18df035b7e Author: Philip Withnall Date: Thu Nov 14 18:06:32 2013 +0000 gstrfuncs: Mention nullability in g_ascii_strcasecmp() documentation Like strcmp(), g_ascii_strcasecmp() requires that both of its parameters be non-%NULL. glib/gstrfuncs.c | 2 ++ 1 file changed, 2 insertions(+) commit 2fb8901b647f94f74a79f5017793d6c6ed2af981 Author: Florian Müllner Date: Thu Nov 7 23:41:21 2013 +0100 gdesktopappinfo: Rank Keywords matches higher than GenericName It makes sense to match on GenericName in case an application does not provide any keywords, but the Keywords field has been added to explicitly support the search case, while GenericName was used to be displayed in menus, so it makes more sense to consider Keywords more (or equally) relevant for search. https://bugzilla.gnome.org/show_bug.cgi?id=711640 gio/gdesktopappinfo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d33f758313f32e123ec70f052216b028a50fc0a6 Author: Ryan Lortie Date: Tue Nov 12 00:19:50 2013 -0500 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)