commit b990acf7ae7cfd6dec5c7de61de49e45d6112af9 Author: Matthias Clasen Date: Mon Jun 20 08:03:17 2016 -0400 2.49.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26e07869af572ea46c339b8d4045cb9537066c04 Author: Matthias Clasen Date: Mon Jun 20 07:58:01 2016 -0400 Updates NEWS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit bbf07fb15e90abe2d31609d388e89b852962b028 Author: Chun-wei Fan Date: Mon Jun 20 10:50:39 2016 +0800 Visual Studio builds: Fix .pc generation The previous update did not account for when no exec_prefix is spcified, so update that, and use ${prefix} by default. Clean up a bit as well. build/win32/pc_base.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 35b401c8bb0c7bb9324e7d8ae0e5d0a63f98872c Author: John Ralls Date: Sun Jun 19 15:03:20 2016 -0700 Bug 767824 - Some UTC timezones incorrectly recognized on Windows 7 The condition removed erroneously excluded UTC-based and DST-less timezones and so left the GArray with no contents, so GTimeZone functions returned whatever random garbage was in memory. glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fadd00c7085fd0dc2722c974260768540cc6f8b9 Author: Philip Withnall Date: Thu Jun 16 14:45:21 2016 -0400 glocalfileoutputstream: Drop unnecessary (void) return value casts g_close() does not have G_GNUC_WARN_UNUSED_RESULT, so these casts are unnecessary. gio/glocalfileoutputstream.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 16d674411f769360fe047b3fd542d47fd05fa65e Author: Philip Withnall Date: Thu May 15 10:30:38 2014 +0100 glocalfileoutputstream: Fix an FD leak in an error path If a backup file is created, opened successfully, then fstat() on it fails (perhaps due to another process deleting it in the mean time?), the FD will be leaked. Coverity issue: #1159485 https://bugzilla.gnome.org/show_bug.cgi?id=730187 gio/glocalfileoutputstream.c | 1 + 1 file changed, 1 insertion(+) commit 195a0cb6bb8cc8739902fcf3245bfe256c980c60 Author: Philip Withnall Date: Wed Dec 23 16:35:24 2015 +0000 gio: Add SystemTap and DTrace probes for GTask This adds a basic tapset for GIO, covering various interesting parts of GTask. https://bugzilla.gnome.org/show_bug.cgi?id=759813 docs/reference/gio/Makefile.am | 1 + docs/reference/glib/running.xml | 3 +- gio/Makefile.am | 35 +++++++++++++ gio/gio.stp.in | 107 ++++++++++++++++++++++++++++++++++++++++ gio/gio_probes.d | 10 ++++ gio/gio_trace.h | 41 +++++++++++++++ gio/gtask.c | 34 +++++++++++-- 7 files changed, 227 insertions(+), 4 deletions(-) commit cfb692825aaa64c2663963568df1b7dfa4b67e89 Author: Philip Withnall Date: Wed Dec 23 16:28:50 2015 +0000 glib: Add more GLib main context SystemTap and DTrace probes Expand the set of available probes, and add a few more output parameters to some of the existing ones to make them more useful. I do not know if this breaks any existing stability guarantees for GLib’s SystemTap tapset, as it is effectively just adding some more local variables in the user’s probe. https://bugzilla.gnome.org/show_bug.cgi?id=759813 glib/glib.stp.in | 506 +++++++++++++++++++++++++++++++++++++++++++++++++++-- glib/glib_probes.d | 41 ++++- glib/gmain.c | 194 ++++++++++++++------ glib/gthread.c | 4 + 4 files changed, 676 insertions(+), 69 deletions(-) commit b26b083aa20daceeb14ab43a73655d06c9fccf5b Author: Philip Withnall Date: Wed Feb 10 09:36:16 2016 +0000 gio: Support using GDBusObjectManagerServer at path ‘/’ Previously this would cause an assertion failure when checking the paths of exported objects, as it would try to check that their paths started with ‘//’ due to mishandling the root object case. Includes a unit test. https://bugzilla.gnome.org/show_bug.cgi?id=761810 gio/gdbusobjectmanagerserver.c | 11 ++++++---- gio/tests/gdbus-peer-object-manager.c | 39 ++++++++++++++++++++++++++--------- 2 files changed, 36 insertions(+), 14 deletions(-) commit ec40e9d921a2f9c9a54d238100ddd417368cf161 Author: Nikita Churaev Date: Thu Nov 27 09:11:25 2014 +0000 gfileutils: Add missing (type filename) annotations These differentiate between strings in the GLib filename encoding, and strings in UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=700756 glib/gfileutils.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit ac1166626c1cd753087fa81a780c39b20f259c71 Author: Philip Withnall Date: Wed Jun 15 11:03:31 2016 -0400 gio: Add missing (type filename) annotations These differentiate between strings in the GLib filename encoding, and strings in UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=700756 gio/gfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f8ff1049d3e52971813243a559a8148f06c26e15 Author: Philip Withnall Date: Wed Jun 15 11:01:26 2016 -0400 gio: Add missing (nullable) annotation Add it to g_application_command_line_get_cwd(). Also add a clarifying internal comment about the cwd private member. https://bugzilla.gnome.org/show_bug.cgi?id=700756 gio/gapplicationcommandline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c91411464ec02f1a7b66568b63facea941df6ff2 Author: Philip Withnall Date: Thu Nov 27 09:09:01 2014 +0000 gfileutils: Fix a signed/unsigned integer comparison Also use size_t rather than int, allowing for larger files to be handled. https://bugzilla.gnome.org/show_bug.cgi?id=700756 glib/gfileutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ae048625fee3ece3898110f6034063aee6c84336 Author: Hans Petter Jansson Date: Fri Jun 3 03:16:58 2016 +0200 GDbusProxy: Plug memory leak. proxy->priv->name_owner gets overwritten in async_init_data_set_name_owner() on the assumption that it will always be NULL when we get there. However, on_name_owner_changed() can run first, and it does set name_owner. ==20126== 42 bytes in 6 blocks are definitely lost in loss record 15,174 of 48,256 ==20126== at 0x4C280F3: malloc (vg_replace_malloc.c:299) ==20126== by 0x7541D00: g_malloc (gmem.c:104) ==20126== by 0x7558FEE: g_strdup (gstrfuncs.c:364) ==20126== by 0x6DF8E4F: on_name_owner_changed (gdbusproxy.c:1399) ==20126== by 0x6DE94C4: emit_signal_instance_in_idle_cb (gdbusconnection.c:3743) ==20126== by 0x753C315: g_main_dispatch (gmain.c:3066) ==20126== by 0x753C315: g_main_context_dispatch (gmain.c:3642) ==20126== by 0x753C667: g_main_context_iterate.isra.24 (gmain.c:3713) ==20126== by 0x753CA69: g_main_loop_run (gmain.c:3907) ==20126== by 0x5E38000: meta_run (main.c:556) ==20126== by 0x401EC0: main (main.c:441) https://bugzilla.gnome.org/show_bug.cgi?id=755439 gio/gdbusproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 39a22880b6d8544fec51ba3176214f38a8a572b8 Author: Chun-wei Fan Date: Wed Jun 15 17:30:24 2016 +0800 Visual Studio builds: Improve flexibility of .pc generation Allow the use of shorthands using ${prefix} for exec_prefix, and ${exec_prefix} for includedir and libdir, which makes the generated .pc files a bit cleaner and more flexible. build/win32/pc_base.py | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit be16115e6743bcd7cdd2d4d76d87145a6175e183 Author: Chun-wei Fan Date: Wed Jun 15 16:31:40 2016 +0800 Visual Studio projects: Clean up a little bit For the Visual Studio 201x projects, we can force the "install" projects to always run in a simpler way, by specifying an output file that will never exist. Makes things look a bit cleaner. build/win32/vs10/glib-install.propsin | 16 ---------------- build/win32/vs10/glib-install.vcxproj | 8 ++++---- 2 files changed, 4 insertions(+), 20 deletions(-) commit 33549086bc0af9e2cbc2910ae2cb9ba67b99ea0c Author: Chun-wei Fan Date: Wed Jun 15 16:21:03 2016 +0800 Visual Studio builds: Refine .pc creation We may not have $(CopyDir) created, which the script that generates the .pc files check for, so create it if it is not there. This makes things a bit more convenient for people. build/win32/vs10/glib-install.propsin | 2 +- build/win32/vs9/glib-install.vspropsin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9ec74d20a7e89344fecfc7f994168ea30a6b8c5f Author: Christoph Reiter Date: Tue Jun 7 19:31:56 2016 +0200 Partly revert "gio: Add filename type annotations" Revert all annotation changes for environment variables and command line arguments. See commit f8189ddf9869ed8e90f9b640d9545fe4011adb7d. gio/gappinfo.c | 10 +++++----- gio/gapplication.c | 3 +-- gio/gapplicationcommandline.c | 12 ++++++------ gio/gdesktopappinfo.c | 2 +- gio/gfile.c | 4 ++-- gio/gsubprocess.c | 2 +- gio/gsubprocesslauncher.c | 18 +++++++----------- 7 files changed, 23 insertions(+), 28 deletions(-) commit c9dd204909aa89648b29c5bd7e159bb32ebc2017 Author: Christoph Reiter Date: Tue Jun 7 19:31:51 2016 +0200 Partly revert "glib: Add filename type annotations" Revert all annotation changes for environment variables and command line arguments. See commit 41013a01f44e9fc15ffef55eae78af2425bbd5a3. glib/genviron.c | 55 +++++++++++++++++++++++++------------------------------ glib/gshell.c | 14 +++++++------- glib/gspawn.c | 32 +++++++++++--------------------- 3 files changed, 43 insertions(+), 58 deletions(-) commit 9198f19d97aa24d4d034dee5971d7188cb04e27c Author: Chun-wei Fan Date: Tue Jun 7 15:51:31 2016 +0800 config.h.win32.in: Always define HAVE_LONG_LONG Visual Studio actually supports long long types, but HAVE_LONG_LONG is undefined for Visual Studio builds, likely due to issues in previous gnulib code for printf functionality, that was bundled with GLib. Since gnulib has much better support with Visual Studio nowadays (which we updated the related code to last October), and HAVE_LONG_LONG being undefined actually causes issues in Visual Studio builds, which was demonstrated with the type-test test program in tests/, we should always define HAVE_LONG_LONG in config.h.win32.in. Thanks to Paolo Borelli for the heads up on the issue. config.h.win32.in | 4 ---- 1 file changed, 4 deletions(-) commit f8189ddf9869ed8e90f9b640d9545fe4011adb7d Author: Christoph Reiter Date: Sat Jun 4 17:53:42 2016 +0200 gio: Add filename type annotations https://bugzilla.gnome.org/show_bug.cgi?id=767245 gio/gappinfo.c | 17 +++++++++-------- gio/gapplication.c | 3 ++- gio/gapplicationcommandline.c | 14 +++++++------- gio/gdesktopappinfo.c | 8 +++++--- gio/gfile.c | 25 +++++++++++++------------ gio/gfileinfo.c | 4 ++-- gio/giomodule.c | 14 +++++++++----- gio/gsettingsschema.c | 2 +- gio/gsubprocess.c | 2 +- gio/gsubprocesslauncher.c | 26 +++++++++++++++----------- gio/gtlscertificate.c | 11 ++++++----- gio/gtlsfiledatabase.c | 2 +- gio/gunixmounts.c | 10 +++++----- 13 files changed, 76 insertions(+), 62 deletions(-) commit 41013a01f44e9fc15ffef55eae78af2425bbd5a3 Author: Christoph Reiter Date: Sat Jun 4 15:46:12 2016 +0200 glib: Add filename type annotations Adds the filename annotation for all file names and things which can contain file names like environment variables, argv- On Unix they can contain anything while on Windows they are always utf-8. https://bugzilla.gnome.org/show_bug.cgi?id=767245 glib/gbookmarkfile.c | 11 ++++++----- glib/gconvert.c | 14 +++++++------ glib/gdir.c | 2 +- glib/genviron.c | 55 ++++++++++++++++++++++++++++------------------------ glib/gfileutils.c | 48 +++++++++++++++++++++++++-------------------- glib/giochannel.c | 2 +- glib/gmappedfile.c | 3 ++- glib/gshell.c | 14 ++++++------- glib/gspawn.c | 32 +++++++++++++++++++----------- glib/gstdio.c | 47 +++++++++++++++++++++++++++++--------------- glib/gtestutils.c | 2 +- glib/gutils.c | 38 +++++++++++++++++++++--------------- 12 files changed, 157 insertions(+), 111 deletions(-) commit 7d8e98ee09885daf9f5af13ebe7f7d33d8fcfc17 Author: Emmanuele Bassi Date: Sat Jun 4 13:49:46 2016 +0100 Fix paths for non-srcdir builds This fixes a build failure in Continuous that resulted in the error: ../../../gio/tests/test.gresource.xml: Failed to locate 'test-generated.txt' in any source directory. Makefile:4676: recipe for target 'test.gresource' failed make[6]: *** [test.gresource] Error 1 gio/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5411a187a38308c17a78ceeb6c2f08d289fa5db5 Author: Georges Basile Stavracas Neto Date: Fri Jun 3 23:20:36 2016 -0300 glib-compile-resources: correct resource compiler dependency for generated files Don't require that files can be resolved when generating dependencies. Original patch by Garret Regier. https://bugzilla.gnome.org/show_bug.cgi?id=673101 gio/glib-compile-resources.c | 11 +++++++---- gio/tests/.gitignore | 1 + gio/tests/Makefile.am | 6 +++++- gio/tests/test.gresource.xml | 1 + 4 files changed, 14 insertions(+), 5 deletions(-) commit 05d429af9d6e99b598e47b64b2bf7a3d0a9f57f5 Author: Gerald Combs Date: Fri Jun 3 12:56:14 2016 -0700 gsignal: Remove a UTF-8 ellipsis from docs Some compilers have trouble with such sequences. Visual C++ may or may not generate a warning in this particular case depending on if the local code page supports an ellipsis. https://bugzilla.gnome.org/show_bug.cgi?id=767218 gobject/gsignal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5e875b2f847b01a5199f853c97b06066d2c2c6b Author: Krzesimir Nowak Date: Fri Jun 3 12:36:39 2016 +0200 gio: Add a missing autocleanup for GFileAttributeInfoList gio/gio-autocleanups.h | 1 + 1 file changed, 1 insertion(+) commit 424b3b9c6c725e179efc8ea8688f57469c40ed8d Author: Colin Walters Date: Thu Jun 2 12:19:33 2016 -0400 docs: Move GIO_USE_VFS to "okay for production" section Lots of projects like NetworkManager, ostree, udisks, soon polkit, etc. do this or *should* do this. And we need to support that forever. https://bugzilla.gnome.org/show_bug.cgi?id=767172 docs/reference/gio/overview.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 15a85f2095919ec4979747edc0882222adebaf6a Author: Matthias Clasen Date: Thu Jun 2 13:25:35 2016 -0400 GCredentialsType: Remove XML markup from docs We now use markdown. gio/gioenums.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 504f189e59a3df7656fb90c06dcd2cff17a70199 Author: Krzesimir Nowak Date: Thu Jun 2 11:29:42 2016 +0200 gfileenumerator: Fix typo in docs This probably used to be a part of libgsystem. gio/gfileenumerator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d06d078959889c40b8437467445a4a3a65e0631b Author: Cédric Valmary Date: Mon May 30 18:54:01 2016 +0000 Updated Occitan translation po/oc.po | 583 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 322 insertions(+), 261 deletions(-)