commit 7673d6f881573af72f87a320e7a0efad91a59dff Author: Ryan Lortie AuthorDate: Sat Sep 20 10:02:25 2014 -0400 Commit: Ryan Lortie CommitDate: Sat Sep 20 10:33:08 2014 -0400 GLib 2.40.1 NEWS | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) commit 658ba94e03e08bde90485d3cb34609046c345ac8 Author: Ryan Lortie AuthorDate: Tue Jun 24 10:40:30 2014 -0400 Commit: Ryan Lortie CommitDate: Sat Sep 20 10:26:47 2014 -0400 gvariant tests: workaround libc/compiler "issue" memcmp() is declared by glibc as follows: /* Compare N bytes of S1 and S2. */ extern int memcmp (const void *__s1, const void *__s2, size_t __n) __THROW __attribute_pure__ __nonnull ((1, 2)); despite the fact that it is valid to call it with a null pointer if the size is zero. gcc 4.9.0 contains a new optimisation that sees that we pass a pointer to this function and concludes that it certainly must not be null, removing a later check and thereby causing a crash. We protect the invocation of memcmp() with a condition to prevent gcc from making this false assumption (arguably under wrong advice from glibc). glib/tests/gvariant.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 938a468acf58499b7347fa923384829d488b0ef6 Author: Thomas Haller AuthorDate: Fri Aug 1 16:59:36 2014 +0200 Commit: Thomas Haller CommitDate: Fri Aug 22 21:03:29 2014 +0200 gmacros.h: add G_GNUC_*_IGNORE_DEPRECATIONS macros for clang https://bugzilla.gnome.org/show_bug.cgi?id=734126 Signed-off-by: Thomas Haller (cherry picked from commit 35eaf037bdfca985abf5d349e7355f1d2ed9c77b) glib/gmacros.h | 6 ++++++ 1 file changed, 6 insertions(+) commit eff9429ed4fffc4c1a71db9918a213cb9fa03704 Author: Christian Kirbach AuthorDate: Fri Aug 15 17:56:35 2014 +0200 Commit: Christian Kirbach CommitDate: Fri Aug 15 17:56:35 2014 +0200 Updated German translation po/de.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 603822712493a50732f925ac6928ab4ff45a8ec5 Author: Christian Kirbach AuthorDate: Fri Aug 15 09:47:50 2014 +0000 Commit: GNOME Translation Robot CommitDate: Fri Aug 15 09:47:50 2014 +0000 Updated German translation po/de.po | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 35b94d49c687f87b8a59eb76b1027562975b22c7 Author: Matej Urbančič AuthorDate: Wed Aug 6 14:15:25 2014 +0200 Commit: Matej Urbančič CommitDate: Wed Aug 6 14:15:25 2014 +0200 Updated Slovenian translation po/sl.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit f1e2f6dfbf7744ebf1d395936499d528143ceb67 Author: Martin Srebotnjak AuthorDate: Tue Aug 5 21:03:19 2014 +0200 Commit: Matej Urbančič CommitDate: Tue Aug 5 21:03:19 2014 +0200 Updated Slovenian translation po/sl.po | 70 ++++++++++++++++++++++++---------------------------------------- 1 file changed, 26 insertions(+), 44 deletions(-) commit c047a008eacaa163b4345732e75220aa2b94d3ea Author: Ignacio Casal Quinteiro AuthorDate: Mon Jul 14 08:54:45 2014 +0200 Commit: Ignacio Casal Quinteiro CommitDate: Mon Jul 14 15:00:06 2014 +0200 gspawn-win32: do not rely on __argc and __argv global vars. Since we are getting passed Unicode values these global vars might not have the correct value. Instead always get the wide arguments and convert them to utf8 to use them. https://bugzilla.gnome.org/show_bug.cgi?id=733146 glib/gspawn-win32-helper.c | 67 +++++++++++++++++++++++----------------------- 1 file changed, 34 insertions(+), 33 deletions(-) commit 73bd87faa1affce3aafb189817ea93df7f2cbaa1 Author: Ryan Lortie AuthorDate: Sun Jun 29 11:13:25 2014 -0400 Commit: Ryan Lortie CommitDate: Sun Jun 29 11:35:50 2014 -0400 GActionEntry: improve documentation Document that giving %NULL for the activate handler is supported since GLib 2.40. We documented this on GSimpleAction itself (where the default handler functionality is implemented) but expecting the user to dig that up is asking a bit much. Also, add some more explicit documentation about the conditions under which each field is expected to be filled in. https://bugzilla.gnome.org/show_bug.cgi?id=732429 gio/gactionmap.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 2efc705675c6bc914a05a4c5d904178b3de56018 Author: Chun-wei Fan AuthorDate: Mon Jun 9 10:27:36 2014 +0800 Commit: Chun-wei Fan CommitDate: Mon Jun 9 10:36:11 2014 +0800 MSVC 2010+ Projects: Update "Installation" Process Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development. build/win32/vs10/glib-install.props | 40 +++++++++++++++++++++++++++---------- build/win32/vs10/install.vcxproj | 28 +++++++++++++++----------- 2 files changed, 46 insertions(+), 22 deletions(-) commit ca28ab2d0751d35ba9216f3887348ff475de7244 Author: Emmanuele Bassi AuthorDate: Sat May 31 19:21:23 2014 +0100 Commit: Michael Catanzaro CommitDate: Fri Jun 6 16:39:36 2014 -0500 docs: Replace XML tag with back ticks https://bugzilla.gnome.org/show_bug.cgi?id=731050 gobject/gtype.h | 3 +-- gobject/gtypemodule.h | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) commit f1933d9251c10a1bdbb4aa26878ad7af3079c7ff Author: Emmanuele Bassi AuthorDate: Sat May 31 19:20:03 2014 +0100 Commit: Michael Catanzaro CommitDate: Fri Jun 6 16:39:22 2014 -0500 docs: Replace tags with back ticks https://bugzilla.gnome.org/show_bug.cgi?id=731050 glib/gbookmarkfile.h | 2 +- glib/gdatetime.h | 2 +- glib/gerror.h | 4 ++-- glib/gmain.h | 10 +++++----- glib/goption.h | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) commit 321b827d6b5d9b66e839b7aded5a7d5cb80102f0 Author: Chun-wei Fan AuthorDate: Tue Mar 18 12:54:10 2014 +0800 Commit: Chun-wei Fan CommitDate: Mon May 12 22:15:44 2014 +0800 gio/gtestdbus.c: Fix write_config_file() for Windows Windows does not like g_unlink() to be called on files whose file descriptor is still open, so doing that would cause a permission denied error. Since the fd is not used in that function after acquiring the temp file, close it earlier before g_file_set_contents(), so that it can complete successfully. This fixes a number of GTK+ tests on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=719344 gio/gtestdbus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3ce5a53bb532379e723d2b98bad3d7cef9f426e0 Author: Colin Walters AuthorDate: Thu Apr 3 14:05:45 2014 -0400 Commit: David King CommitDate: Wed May 7 12:59:17 2014 +0100 g_file_copy: Don't set GError when we intend to ignore errors For better or worse, the current g_file_copy intention was to ignore errors copying metadata, but we still set the GError, while returning TRUE. https://bugzilla.gnome.org/show_bug.cgi?id=727559 gio/gfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08add0b5ba59bcdc856cf3d69ea6dd1e7adc259f Author: Pau Iranzo AuthorDate: Fri May 2 12:41:30 2014 +0200 Commit: Gil Forcada CommitDate: Fri May 2 12:41:30 2014 +0200 [l10n] Update Catalan translation po/ca.po | 2058 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1128 insertions(+), 930 deletions(-) commit 750b9ecb04f01fa9597243c16749590fedf46b9f Author: Matej Urbančič AuthorDate: Mon Apr 28 21:47:29 2014 +0200 Commit: Matej Urbančič CommitDate: Mon Apr 28 21:47:29 2014 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f6f3a7e3b3e0c58b7bfc5ef32f5270c91aef0d0 Author: Matej Urbančič AuthorDate: Mon Apr 28 21:45:09 2014 +0200 Commit: Matej Urbančič CommitDate: Mon Apr 28 21:45:09 2014 +0200 Updated Slovenian translation po/sl.po | 2048 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1122 insertions(+), 926 deletions(-) commit 0c8382f2de287c4f6356a2ad000cae5db756626b Author: Matej Urbančič AuthorDate: Mon Apr 28 21:34:06 2014 +0200 Commit: Matej Urbančič CommitDate: Mon Apr 28 21:34:06 2014 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b49ec639cbf4d16f30a3a11d5c2a4b46f370216 Author: Juan Pablo Ugarte AuthorDate: Fri Apr 25 19:35:58 2014 -0300 Commit: Juan Pablo Ugarte CommitDate: Fri Apr 25 21:33:44 2014 -0300 Added type check to GPermission public functions. gio/gpermission.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit a183ffbee12490b2a2b24718ec95219874bf556f Author: Wim Taymans AuthorDate: Mon Mar 10 16:27:48 2014 +0100 Commit: Dan Winship CommitDate: Fri Apr 25 18:13:05 2014 -0400 networkaddress: fix parsing of uri with @ after authority Make sure that the @ sign is inside the authority part before attempting to parse the userinfo. We do this by checking if the @ sign comes before any of the possible authority delimiters. Add unit test to verify parsing of ftp://ftp.gnome.org/start?foo=bar@baz https://bugzilla.gnome.org/show_bug.cgi?id=726040 gio/gnetworkaddress.c | 11 +++++++++-- gio/tests/network-address.c | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) commit 466076bfd6c863e5b4d0ba956e587fdeeb917b78 Author: Philip Withnall AuthorDate: Thu Apr 24 09:26:12 2014 +0100 Commit: Philip Withnall CommitDate: Fri Apr 25 09:53:21 2014 +0100 gresolver: Ensure GThreadedResolver always sets an error if resolution fails It was previously possible for GThreadedResolver to return an empty list and no error in response to a g_resolver_lookup_by_name() call, if it happened that all the addresses returned by getaddrinfo() could not be converted from native addresses to GSocketAddresses. Fix that by setting a G_RESOLVER_ERROR_NOT_FOUND if the returned list is empty. https://bugzilla.gnome.org/show_bug.cgi?id=728776 gio/gthreadedresolver.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 4841dc2b8b5382b5ab384afc43c61d9e3a3d42e2 Author: Philip Withnall AuthorDate: Thu Apr 24 09:24:48 2014 +0100 Commit: Philip Withnall CommitDate: Fri Apr 25 09:52:16 2014 +0100 gresolver: Document that GResolver lists are non-empty on success The documentation previously wasn’t clear about whether the GResolver methods could return an empty list and no error. On balance, this seems like a bad idea, and GResolver should commit to always return a non-empty list, or an error (which should be G_RESOLVER_ERROR_NOT_FOUND if the list would otherwise be empty). https://bugzilla.gnome.org/show_bug.cgi?id=728776 gio/gresolver.c | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) commit 5dedf6927f5856eecb59db094d3222cd8c8c9f01 Author: Volker Sobek AuthorDate: Wed Apr 16 23:56:02 2014 +0200 Commit: Volker Sobek CommitDate: Thu Apr 24 13:51:50 2014 +0200 docs: Remove comment before plural s These did show up in the html. Since symbol names are checked for a trailing plural s when generating the docs, the links stay functional after removing these comments. https://bugzilla.gnome.org/show_bug.cgi?id=728380 gio/gappinfo.h | 2 +- gio/gfile.h | 6 +++--- gio/gfileattribute.h | 4 ++-- gio/gfileenumerator.c | 2 +- gio/gicon.h | 2 +- gio/gioenums.h | 2 +- gio/giotypes.h | 4 ++-- gio/gunixmounts.h | 2 +- glib/gvariant-core.c | 2 +- gobject/gclosure.h | 2 +- gobject/gtype.h | 2 +- gobject/gvaluecollector.h | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) commit 0d34e84406ef171df38b5f3197a3a8ae4508dce2 Author: Dirgita AuthorDate: Tue Apr 22 08:49:35 2014 +0000 Commit: GNOME Translation Robot CommitDate: Tue Apr 22 08:49:35 2014 +0000 Updated Indonesian translation po/id.po | 216 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 109 insertions(+), 107 deletions(-) commit 31ecc0de9445228c3f5505a887e9f1d0be478ab1 Author: Christian Kirbach AuthorDate: Mon Apr 21 12:57:11 2014 +0000 Commit: GNOME Translation Robot CommitDate: Mon Apr 21 12:57:11 2014 +0000 Updated German translation po/de.po | 2057 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1129 insertions(+), 928 deletions(-) commit 23e03038fcc974eeef39e90c240bb9910e968770 Author: Tom Tryfonidis AuthorDate: Fri Apr 18 17:55:54 2014 +0000 Commit: GNOME Translation Robot CommitDate: Fri Apr 18 17:55:54 2014 +0000 Updated Greek translation po/el.po | 1690 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 852 insertions(+), 838 deletions(-) commit c938e742317a9253d9bac84280dc455d5bd3d610 Author: Cosimo Cecchi AuthorDate: Wed Apr 9 18:07:38 2014 -0700 Commit: Cosimo Cecchi CommitDate: Thu Apr 10 09:18:01 2014 -0700 gapplication-tool: ensure object paths are valid Hyphens are not valid characters for DBus object paths; see the similar code in gapplicationimpl-dbus.c https://bugzilla.gnome.org/show_bug.cgi?id=727928 gio/gapplication-tool.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 723941644299a3efc1bf221335a06892cc250b92 Author: Cosimo Cecchi AuthorDate: Wed Apr 9 18:07:22 2014 -0700 Commit: Cosimo Cecchi CommitDate: Thu Apr 10 09:18:00 2014 -0700 gapplication-tool: fix a typo This must have never worked. https://bugzilla.gnome.org/show_bug.cgi?id=727928 gio/gapplication-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f9da883418813d977f0142e48ea9631e14ef2ad8 Author: Dan Winship AuthorDate: Wed Apr 9 09:57:46 2014 -0400 Commit: Dan Winship CommitDate: Thu Apr 10 10:10:34 2014 -0400 g_str_has_prefix: don't call strlen(str) There's no reason to check the length of @str in g_str_has_prefix(), since if it's shorter than @prefix, the strncmp() will fail anyway. And besides making the function less efficient, it also breaks code like: if (buf->len >=3 && g_str_has_prefix (buf->data, "foo")) ... which really looks like it ought to work whether buf->data is nul-terminated or not. https://bugzilla.gnome.org/show_bug.cgi?id=727890 glib/gstrfuncs.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 3662eb9759fe225d1c214db6927c667a1b733e8a Author: Alexandre Rostovtsev AuthorDate: Mon Sep 2 13:59:18 2013 -0400 Commit: Alexandre Rostovtsev CommitDate: Thu Apr 10 01:25:14 2014 -0400 gobject: try to link with -Wl,-z,nodelete Since the type system does not support reloading its data and assumes that libgobject remains loaded for the lifetime of the process, we should link libgobject with a flag indicating that it can't be unloaded. https://bugzilla.gnome.org/show_bug.cgi?id=707298 configure.ac | 34 ++++++++++++++++++++++++++++++++++ gobject/Makefile.am | 1 + 2 files changed, 35 insertions(+) commit a36ed2715670b35b2718e8ffe0493d9d921e55b5 Author: Dan Winship AuthorDate: Wed Apr 9 10:39:45 2014 -0400 Commit: Dan Winship CommitDate: Wed Apr 9 10:41:44 2014 -0400 gtlscertificate: fix certificate list parsing with trailing comments g_tls_certificate_list_new_from_file() was supposed to ignore non-PEM content, but it accidentally required that there not be anything after the last certificate. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=727692 gio/gtlscertificate.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 7e10a9141eb2fa03fa5abbdcff511f30e28e3ac8 Author: Marek Kasik AuthorDate: Thu Apr 3 17:35:22 2014 +0200 Commit: Marek Kasik CommitDate: Fri Apr 4 16:18:46 2014 +0200 GApplication: Don't decrease use_count below 0 Place an assert for use_count to be at least 1 in g_application_release() so we don't decrease it below 0. https://bugzilla.gnome.org/show_bug.cgi?id=727551 gio/gapplication.c | 1 + 1 file changed, 1 insertion(+) commit c7a661988eb8fd18fb02565d83f52b0136fd3e85 Author: Olivier Crête AuthorDate: Wed Mar 26 19:45:52 2014 -0400 Commit: Olivier Crête CommitDate: Mon Mar 31 12:48:18 2014 -0400 networkmonitornetlink: IN6_IS_ADDR_MC_LINKLOCAL is only guaranteed to work on struct in6_addr* https://bugzilla.gnome.org/show_bug.cgi?id=727119 gio/gnetworkmonitornetlink.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1bfb55421e1801ca13cea9e4fe0a988cae7ae06a Author: Marek Černocký AuthorDate: Mon Mar 31 13:33:27 2014 +0200 Commit: Marek Černocký CommitDate: Mon Mar 31 13:33:27 2014 +0200 Updated Czech translation po/cs.po | 2045 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1118 insertions(+), 927 deletions(-) commit 46fb68bcf35ea57b4dff369afd107f5a28783db7 Author: Inaki Larranaga Murgoitio AuthorDate: Sun Mar 30 15:11:26 2014 +0200 Commit: dooteo CommitDate: Sun Mar 30 15:11:26 2014 +0200 Updated Basque language po/eu.po | 2179 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1200 insertions(+), 979 deletions(-) commit 9ff4db48f358b9a6ddcf6b9e64f47b8523b0c9d2 Author: Gábor Kelemen AuthorDate: Sun Mar 30 01:26:11 2014 +0000 Commit: GNOME Translation Robot CommitDate: Sun Mar 30 01:26:11 2014 +0000 Updated Hungarian translation po/hu.po | 2071 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1139 insertions(+), 932 deletions(-) commit 14d436f5262f131223a18b15fbe16f53978616dd Author: Volker Sobek AuthorDate: Wed Mar 26 23:10:00 2014 +0100 Commit: Volker Sobek CommitDate: Thu Mar 27 01:38:58 2014 +0100 GNotification: Some small documentation fixes Use #GVariant instead of GVariant. g_notification_add_button_with_target, g_notification_set_default_action_and_target: Replace 'format_string' with 'target_format'. g_notification_set_default_action_and_target_value: Remove paragraph that apparently had been accidentally copied from g_notification_set_default_action_and_target. https://bugzilla.gnome.org/show_bug.cgi?id=727123 gio/gnotification.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-)