commit ab3805ab0471d47a2f7cc93d15eeb392c9d22b4b Author: Matthias Clasen Date: Mon Jul 20 16:00:16 2015 -0400 2.45.4 NEWS | 27 +++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) commit de1bd45fe9ef82c1f5f48c63975ee18ede67d23a Author: Dan Winship Date: Mon Jul 20 17:33:42 2015 -0400 gio/tests/task: fix for change to cancellation behavior Multiple tasks cancelled at the same time now complete in the opposite order from how they used to. Fix the test to not assume any particular order. gio/tests/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 717ebba9d78151c999b1c1d08dc539be978ee27c Author: Piotr Drąg Date: Mon Jul 20 21:39:49 2015 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 45e99833e39af76ec9db13bb9d9edcaf3a719870 Author: Paolo Borelli Date: Sun Jul 19 23:47:57 2015 +0200 Move a unit test to the right file Move a test for threaded socket service to socket-service.c. gio/tests/socket-listener.c | 134 ------------------------------------------- gio/tests/socket-service.c | 136 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+), 134 deletions(-) commit e1d44799c0ba87506873c309ad4e16cce13bbfc4 Author: Paolo Borelli Date: Fri Jul 10 21:30:28 2015 +0200 socketservice: add an "active" property We already have start, stop and is_active methods, but turning it into a real property is useful for a few reasons: - it allows us to bind the property to an UI or a setting - it allows us to get notified when the state changes - it allows us to instantiate objects directly in the stopped state https://bugzilla.gnome.org/show_bug.cgi?id=752089 gio/gsocketservice.c | 142 ++++++++++++++++++++++++++++++++++++--------- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 1 + gio/tests/socket-service.c | 111 +++++++++++++++++++++++++++++++++++ 4 files changed, 226 insertions(+), 29 deletions(-) commit a223796d0b4f47277fe570313829376db0de8108 Author: Paolo Borelli Date: Sun Jul 12 19:51:17 2015 +0200 networkaddress: use free_full https://bugzilla.gnome.org/show_bug.cgi?id=752293 gio/gnetworkaddress.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) commit 6a392a55ec37f33e001bad6495c8513f28f160cc Author: Yosef Or Boczko Date: Sun Jul 19 12:39:15 2015 +0300 Updated Hebrew translation po/he.po | 449 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 224 insertions(+), 225 deletions(-) commit 0c121775145645b847aace30d403496d81261fae Author: Matthias Clasen Date: Fri Jul 17 16:46:26 2015 -0400 notification: Add an assertion to clarify Coverity doesn't see that g_enum_get_value will never return NULL here since we always pass it a valid enum value. Help it along with an assertion. gio/gnotification.c | 1 + 1 file changed, 1 insertion(+) commit dab20975872a9b3d5f37beffa9e8e2b78efe6c02 Author: Daniel Macks Date: Wed Jul 1 14:36:35 2015 -0400 Use GRegexMatchFlags not GRegexCompileFlags for TEST_MATCH _match_opts Fix the enums used in some test cases to use the correct enum type in some test cases. https://bugzilla.gnome.org/show_bug.cgi?id=751798 glib/tests/regex.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 27fae8390946e73e8343a7fd7505796f3599ee23 Author: Ilya Konstantinov Date: Thu Jun 11 21:42:00 2015 +0300 gbacktrace: fix G_BREAKPOINT on Darwin (OSX, iOS) Using __builtin_trap() according to Apple's own documentation: https://developer.apple.com/library/mac/technotes/tn2124/_index.html#//apple_ref/doc/uid/DTS10003391-CH1-SECCONTROLLEDCRASH https://bugzilla.gnome.org/show_bug.cgi?id=750807 glib/gbacktrace.h | 2 ++ 1 file changed, 2 insertions(+) commit dafc454e70460b371775a876f3831f280bf097b8 Author: Xavier Claessens Date: Wed Jul 8 14:38:16 2015 -0400 GAsyncInitable: Fix leaked object when using _newv_async gio/gasyncinitable.c | 1 + 1 file changed, 1 insertion(+) commit 7ed76a4eca245edbf3149815a06795065164cb1f Author: Ryan Lortie Date: Mon Jul 6 10:21:33 2015 -0400 file monitors: report MOVED only with both sides Make sure we know the destination file before reporting a MOVED event. Otherwise, we should just fall back to reporting it as a DELETED. https://bugzilla.gnome.org/show_bug.cgi?id=751731 gio/glocalfilemonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5221f8aea3c4407024a665ce66d8535237d7d62 Author: Dimitris Spingos Date: Mon Jul 6 01:50:10 2015 +0300 Updated Greek translation po/el.po | 717 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 367 insertions(+), 350 deletions(-) commit e337fe31637fe868ab94b488caf9b4898a2a1040 Author: Руслан Ижбулатов Date: Thu Jul 2 11:06:17 2015 +0000 W32: Add back the dummy g_app_info_reset_type_associations() gio/gwin32appinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 155a6886357eefaed1da156b6593c7a6ec7cddd1 Author: Руслан Ижбулатов Date: Wed Jun 24 10:07:40 2015 +0000 W32: Add a g_app_info_get_all_for_type() implementation Also add g_app_info_get_fallback_for_type() and g_app_info_get_recommended_for_type() as proxies for g_app_info_get_all_for_type(), until gcontenttype support is improved. gio/gwin32appinfo.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) commit b9d919bd8f95e9eac7144ec7c413256c3f5cfc56 Author: Руслан Ижбулатов Date: Wed Jun 24 10:07:15 2015 +0000 Don't ref a NULL pointer gio/gwin32appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f405f4211565fde3c58f3da9b18ddcdc5d82ccf2 Author: Stef Walter Date: Tue Mar 17 13:06:02 2015 +0100 gsocket: Don't g_error() if file-descriptor is not a socket This code was out of date with current coding practices. Nowadays it's common to receive file descriptors over environment variables from other processes like systemd. The unit files that control these file descriptors are configurable by sysadmins. It is not (necessarily) a programmer error when g_socket_details_from_fd() is called with a file descriptor that is not a socket. It can also be a system and/or configuration error. https://bugzilla.gnome.org/show_bug.cgi?id=746339 gio/gsocket.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) commit a9c8cc143ce696c70526fb24079fb04b98adbfc7 Author: Pedro Albuquerque Date: Wed Jul 1 21:58:39 2015 +0000 Updated Portuguese translation po/pt.po | 2072 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1076 insertions(+), 996 deletions(-) commit f2c1cfe8c770f73367a021044bcdda550348714c Author: Iain Lane Date: Tue Jun 30 17:13:49 2015 +0100 gio/tests/appmonitor: Delete file before checking for changed event In 4e7d22e268a4e06beb1c09585a48288c31004da5, deleting the file was moved after the assertion which checks for the changed event that results from it being deleted. This is the wrong way around and makes the assertion fail. Move the deletion back up before we check the condition. delete_app is no longer an idle callback so it can be made void. The change notification might come in when the loop isn't running now, so don't try to quit if it isn't running. In this case we'll wait for the three second timeout and the test will still pass. https://bugzilla.gnome.org/show_bug.cgi?id=751737 gio/tests/appmonitor.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 475445e6e0e1388af7c07eedd1fb3c7679e09561 Author: Emmanuele Bassi Date: Mon Jun 29 20:14:40 2015 +0100 tests: Fix compiler warning Use `const gchar * const` to define a const array of const strings, and initialize the array when declaring it. https://bugzilla.gnome.org/show_bug.cgi?id=751672 glib/tests/keyfile.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit b25fa8feed42d226b63f4d89ebf4b07041d26181 Author: Dan Winship Date: Sun Jun 21 12:10:06 2015 -0400 gio/tests/socket.c: fix on OS X The semantics of calling shutdown() on a dup()ed socket aren't well-specified, so don't require any specific behavior. https://bugzilla.gnome.org/show_bug.cgi?id=747676 gio/tests/socket.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b97d666b2f4ce7f05b54f07906122608358fc177 Author: Dan Winship Date: Sun Jun 21 12:00:07 2015 -0400 gio/tests/socket.c: clean up a test case a bit gio/tests/socket.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit 368c3f205ff6447e140396cfac10db31de70f135 Author: Matthias Clasen Date: Thu Jun 18 10:37:46 2015 -0400 GTask: Remove unused function We no longer resort the queue, so this function can go. https://bugzilla.gnome.org/show_bug.cgi?id=751160 gio/gtask.c | 8 -------- 1 file changed, 8 deletions(-) commit e419e1c4e212b1195c8e531fd6eeb4a0b80108d3 Author: Matthias Clasen Date: Thu Jun 18 10:36:23 2015 -0400 GTask: Avoid resorting When a task is cancelled, we want to move it to the front of the queue - our sort function does that for us, but there is no need to resort the entire queue here, we can just move the one item and be done with it. This uses just-introduced threadpool api for this purpose. https://bugzilla.gnome.org/show_bug.cgi?id=751160 gio/gtask.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9486f697bb3ed3b02fa2c82f50662fde7d77267e Author: Matthias Clasen Date: Mon Jun 29 08:19:31 2015 -0700 GThreadPool: Add some queue manipulation api GTask has a need for an api that boosts an unprocessed item to the front of the queue, so add one. https://bugzilla.gnome.org/show_bug.cgi?id=751160 docs/reference/glib/glib-sections.txt | 1 + glib/gthreadpool.c | 30 ++++++++++++++++++++++++++++++ glib/gthreadpool.h | 4 ++++ 3 files changed, 35 insertions(+) commit 26d87927109d0758775e5455d4c0a22c1b3f9f75 Author: Matthias Clasen Date: Mon Jun 22 11:35:06 2015 -0400 Add tests for new GAsyncQueue api https://bugzilla.gnome.org/show_bug.cgi?id=751160 glib/tests/asyncqueue.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit b662c6f09fe1a01bb1345f6cd7ab5a702eec5ee3 Author: Matthias Clasen Date: Thu Jun 18 10:26:14 2015 -0400 GAsyncQueue: Add some useful api The underlying queue supports removing and pushing items to the front, and these operations can sometimes be useful. https://bugzilla.gnome.org/show_bug.cgi?id=751160 docs/reference/glib/glib-sections.txt | 4 ++ glib/gasyncqueue.c | 100 ++++++++++++++++++++++++++++++++++ glib/gasyncqueue.h | 13 +++++ 3 files changed, 117 insertions(+) commit 5574315b5207e959d162553e3bb5681b6264fe27 Author: Ting-Wei Lan Date: Wed Apr 29 14:51:14 2015 +0800 tests: Fix tests that fail with non-English locales Some tests check whether the translated messages are expected, so we have to force the use of English locales for them. https://bugzilla.gnome.org/show_bug.cgi?id=748610 glib/tests/date.c | 2 +- glib/tests/fileutils.c | 1 + glib/tests/markup-subparser.c | 1 + glib/tests/option-context.c | 3 +-- 4 files changed, 4 insertions(+), 3 deletions(-) commit f9af40a1330a8226d72c96bff56cdb4ab895dac7 Author: Dan Winship Date: Tue Jun 9 09:19:43 2015 -0400 Fix a FIXME in the WinXP inet_pton() implementation https://bugzilla.gnome.org/show_bug.cgi?id=749912 gio/ginetaddress.c | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) commit a4c3ab58ccf32b0f50ce6f78fa7d18ee5745d510 Author: Wouter Paesen Date: Tue May 26 17:03:50 2015 +0200 Fix g_inet_address_to_string() on XP [This patch originally also included an equivalent to the fix that was committed in 3e29dada, but that was not the complete fix for the bug.] https://bugzilla.gnome.org/show_bug.cgi?id=749911 gio/ginetaddress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93dadb17ce9840a6c835f89984350edfb68a5946 Author: Ting-Wei Lan Date: Thu Feb 19 01:18:42 2015 +0800 gmessages: Add G_GNUC_NORETURN to g_error static function declaration https://bugzilla.gnome.org/show_bug.cgi?id=741901 glib/gmessages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7a1d890c109c8610333f938dee15e5d938ee8d8 Author: Ting-Wei Lan Date: Thu Jan 1 13:28:21 2015 +0800 gmacros: Only set G_ANALYZER_ANALYZING to 1 when clang static analyzer is in use We set G_ANALYZER_ANALYZING to 1 when clang supporting static analyzing before, but this will cause compilation error when -Werror=return-type is used and the static analyzer is not in use because g_error static function only has __attribute__((analyzer_noreturn)), which is useless for normal compilation. https://bugzilla.gnome.org/show_bug.cgi?id=741901 glib/gmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb86c222cce2436d6a213e574fbba159b6f34010 Author: Christian Hergert Date: Sat Jun 27 22:41:13 2015 -0700 gtypemodule: use G_GNUC_UNUSED in G_DEFINE_DYNAMIC_TYPE_EXTENDED We already do this in the normal case, might as well support it for the dynamic type module case as well. This prevents seeing a warning when not using the get_instance_private() in the dynamic type. gobject/gtypemodule.h | 1 + 1 file changed, 1 insertion(+) commit 409202c1fd6552d4f655ffed3bcc649f30a7dcdb Author: Philip Withnall Date: Tue Apr 8 09:12:24 2014 +0100 build: Ensure glibconfig.h.win32 is in DISTCLEANFILES Otherwise it’s possible for it to not be regenerated when glibconfig.h is, leading to inconsistencies. https://bugzilla.gnome.org/show_bug.cgi?id=727829 glib/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c612fcab0fb2d3f0bdaf011d5b566dc949dbd18a Author: Kalev Lember Date: Mon Jun 22 19:56:38 2015 +0200 gapplication: Initialize backend before withdrawing notifications Make sure to initialize the notification backend in g_application_withdraw_notification() the same way as is done in g_application_send_notification(). This makes it possible for an app to withdraw notifications it has sent in a previous execution of the application. https://bugzilla.gnome.org/show_bug.cgi?id=750625 gio/gapplication.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)