commit c9f731be249e841c0eff673a2dd5227c64fbddd1 Author: Matthias Clasen Date: Mon Jan 16 12:44:16 2017 -0500 2.51.1 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 51 insertions(+), 1 deletion(-) commit a78658be5bab188410b6d3fa03e4910e8e96d419 Author: Matthias Clasen Date: Mon Jan 16 13:16:03 2017 -0500 Pass --from-code to xgettext It seems to require that now. po/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c35acff7b65bd7b794e72c43e3056d113686307 Author: Philip Withnall Date: Wed Jan 11 17:15:55 2017 +0000 gregex: Fix an assignment-after-free error The match_info is freed just above this line, so this would result in a write to freed memory. Spotted by Leslie Zhai . https://bugzilla.gnome.org/show_bug.cgi?id=777077 glib/gregex.c | 1 - 1 file changed, 1 deletion(-) commit 88e977266b92516b15f384e3990d90af557e0574 Author: Philip Withnall Date: Wed Jan 11 17:14:18 2017 +0000 gregex: Fix a potential use-after-free bug If the match_info out argument is NULL, info will be freed, but then its matches member will be accessed. Spotted by Leslie Zhai . https://bugzilla.gnome.org/show_bug.cgi?id=777077 glib/gregex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 3b5b5696ed121ef6ff48fd076fccf95053db33a7 Author: Bastien Nocera Date: Wed Nov 2 11:58:14 2016 +0100 gio: Bump copy buffer size to 256k by default This is small enough that it shouldn't cause problems on most machines we support, but big enough to increase throughput on a lot of devices and network protocols. Note that the actual value is 256k minus malloc overhead, so that it fits nicely in a 256k block (as suggested by Alexander Larsson). See https://bugzilla.gnome.org/show_bug.cgi?id=773632 https://bugzilla.gnome.org/show_bug.cgi?id=773823 gio/gfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0106a6cd9ea1403b994e5f879fc6433e32ec304b Author: Bastien Nocera Date: Wed Dec 7 14:47:58 2016 +0100 gio: Use heap-allocated buffer As if we were to increase the buffer size, it would be a bit too big to fit on the stack. https://bugzilla.gnome.org/show_bug.cgi?id=773823 gio/gfile.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 6dfc6fee7bd6911ce8facb22d78c63439f60571f Author: Chun-wei Fan Date: Mon Jan 9 14:00:46 2017 +0800 Visual Studio builds: Move project files to win32/ It was suggested that the project files be moved here as we don't actually need to go two directory layers from $(srcroot), and would help us to standardize on things in the future across the board. Makefile.am | 2 +- README.win32 | 8 +- build/Makefile-newvs.am | 47 -- build/Makefile.msvcproj | 154 ----- build/win32/Makefile.am | 12 +- build/win32/vs10/glib.vcxproj.filtersin | 122 ---- build/win32/vs10/glib.vcxprojin | 675 --------------------- configure.ac | 15 +- gio/Makefile.am | 12 +- glib/Makefile.am | 4 +- gobject/Makefile.am | 4 +- win32/Makefile-newvs.am | 46 ++ win32/Makefile.am | 6 + win32/Makefile.msvcproj | 153 +++++ {build/win32 => win32}/detectenv-msvc.mak | 0 {build/win32 => win32}/glibpc.py | 0 {build/win32 => win32}/pc_base.py | 2 +- {build/win32 => win32}/replace.py | 0 {build/win32 => win32}/setup.py | 110 ++-- {build/win32 => win32}/vs10/.gitignore | 0 {build/win32 => win32}/vs10/Makefile.am | 10 +- {build/win32 => win32}/vs10/README.txt | 0 {build/win32 => win32}/vs10/gdbus.vcxproj | 12 +- {build/win32 => win32}/vs10/gdbus.vcxproj.filters | 4 +- .../win32 => win32}/vs10/gio-querymodules.vcxproj | 12 +- .../vs10/gio-querymodules.vcxproj.filters | 4 +- .../vs10/gio-tool.vcxproj.filtersin | 0 {build/win32 => win32}/vs10/gio-tool.vcxprojin | 8 +- {build/win32 => win32}/vs10/gio.vcxproj.filtersin | 4 +- {build/win32 => win32}/vs10/gio.vcxprojin | 30 +- .../win32 => win32}/vs10/glib-build-defines.props | 2 +- .../vs10/glib-compile-resources.vcxproj.filtersin | 0 .../vs10/glib-compile-resources.vcxprojin | 8 +- .../vs10/glib-compile-schemas.vcxproj.filtersin | 0 .../vs10/glib-compile-schemas.vcxprojin | 8 +- {build/win32 => win32}/vs10/glib-gen-srcs.props | 10 +- .../win32 => win32}/vs10/glib-genmarshal.vcxproj | 4 +- .../vs10/glib-genmarshal.vcxproj.filters | 4 +- {build/win32 => win32}/vs10/glib-install.propsin | 24 +- {build/win32 => win32}/vs10/glib-install.vcxproj | 58 +- .../vs10/glib-install.vcxproj.filters | 2 +- .../vs10/glib-version-paths.props.in | 4 +- {build/win32 => win32}/vs10/glib.sln | 0 win32/vs10/glib.vcxproj.filtersin | 66 ++ win32/vs10/glib.vcxprojin | 533 ++++++++++++++++ {build/win32 => win32}/vs10/gmodule.vcxproj | 32 +- .../win32 => win32}/vs10/gmodule.vcxproj.filters | 8 +- .../win32 => win32}/vs10/gobject.vcxproj.filtersin | 4 +- {build/win32 => win32}/vs10/gobject.vcxprojin | 28 +- {build/win32 => win32}/vs10/gresource.vcxproj | 12 +- .../win32 => win32}/vs10/gresource.vcxproj.filters | 4 +- {build/win32 => win32}/vs10/gsettings.vcxproj | 12 +- .../win32 => win32}/vs10/gsettings.vcxproj.filters | 4 +- .../vs10/gspawn-win32-helper-console.vcxproj | 4 +- .../gspawn-win32-helper-console.vcxproj.filters | 4 +- .../vs10/gspawn-win32-helper.vcxproj | 4 +- .../vs10/gspawn-win32-helper.vcxproj.filters | 4 +- {build/win32 => win32}/vs10/gthread.vcxproj | 6 +- .../win32 => win32}/vs10/gthread.vcxproj.filters | 10 +- {build/win32 => win32}/vs11/.gitignore | 0 {build/win32 => win32}/vs11/Makefile.am | 2 +- {build/win32 => win32}/vs12/.gitignore | 0 {build/win32 => win32}/vs12/Makefile.am | 2 +- {build/win32 => win32}/vs14/Makefile.am | 2 +- {build/win32 => win32}/vs9/.gitignore | 0 {build/win32 => win32}/vs9/Makefile.am | 4 +- {build/win32 => win32}/vs9/README.txt | 0 {build/win32 => win32}/vs9/gdbus.vcproj | 10 +- {build/win32 => win32}/vs9/gio-querymodules.vcproj | 10 +- {build/win32 => win32}/vs9/gio-tool.vcprojin | 8 +- {build/win32 => win32}/vs9/gio.vcprojin | 20 +- .../win32 => win32}/vs9/glib-build-defines.vsprops | 2 +- .../vs9/glib-compile-resources.vcprojin | 8 +- .../vs9/glib-compile-schemas.vcprojin | 8 +- {build/win32 => win32}/vs9/glib-gen-srcs.vsprops | 10 +- {build/win32 => win32}/vs9/glib-genmarshal.vcproj | 2 +- {build/win32 => win32}/vs9/glib-install.vcproj | 0 {build/win32 => win32}/vs9/glib-install.vspropsin | 24 +- .../vs9/glib-version-paths.vsprops.in | 2 +- {build/win32 => win32}/vs9/glib.sln | 0 {build/win32 => win32}/vs9/glib.vcprojin | 94 +-- {build/win32 => win32}/vs9/gmodule.vcproj | 14 +- {build/win32 => win32}/vs9/gobject.vcprojin | 12 +- {build/win32 => win32}/vs9/gresource.vcproj | 10 +- {build/win32 => win32}/vs9/gsettings.vcproj | 10 +- .../vs9/gspawn-win32-helper-console.vcproj | 2 +- .../win32 => win32}/vs9/gspawn-win32-helper.vcproj | 2 +- {build/win32 => win32}/vs9/gthread.vcproj | 4 +- 88 files changed, 1166 insertions(+), 1411 deletions(-) commit b14b09c8bcd1f9ead8c540024634b58320b9da76 Author: Chun-wei Fan Date: Mon Jan 9 12:07:42 2017 +0800 Makefile.msvcproj: Document further Mention that the *.headers are needed only if headers need to be installed with the project/module after the build. Also, use a generic "YourProject" rather than the "gdk-4" project file name--I missed changing the name in the process. build/Makefile.msvcproj | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 7d26e9ef939d8d20f7003bd2c08f705a75d1e82a Author: Chun-wei Fan Date: Mon Jan 9 12:03:06 2017 +0800 Makefile.msvcproj: Document things a bit better If Visual Studio 2013 or later is required, let people know how this autotools module should be used. build/Makefile.msvcproj | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 953c182d251a6b02ca1ef66186f24721c3231e05 Author: Philip Withnall Date: Sat Aug 30 23:45:18 2014 +0100 gobject: Document behaviour of GType checking macros on NULL The macros differ in their handling of NULL values — some macros ignore them and pass through (e.g. G_TYPE_CHECK_INSTANCE_CAST) while others will explicitly emit a warning if passed NULL (e.g. G_TYPE_CHECK_INSTANCE). Document their behaviour, so people don’t end up putting unnecessary NULL checks in their code when doing checked type casts. https://bugzilla.gnome.org/show_bug.cgi?id=735731 gobject/gtype.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit c8330b80fc89d5aeb03a41b31639b4957427c3b0 Author: Rafael Fontenelle Date: Thu Jan 5 10:10:56 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 1355 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 834 insertions(+), 521 deletions(-) commit 6231b1abc9ac13f8766b79d148e83f169cd175bd Author: Sébastien Wilmet Date: Thu Dec 29 16:51:51 2016 +0100 License headers: replace current FSF address by a link to gnu.org Even if the address is correct, it's far more convenient to have a link to a website. https://bugzilla.gnome.org/show_bug.cgi?id=776586 gio/org.freedesktop.portal.Documents.xml | 6 ++---- gio/org.freedesktop.portal.NetworkMonitor.xml | 6 ++---- gio/org.freedesktop.portal.ProxyResolver.xml | 6 ++---- gio/win32/winhttp.h | 5 ++--- glib/gdatetime.c | 6 ++---- glib/gdatetime.h | 6 ++---- glib/gregex.c | 5 ++--- glib/gregex.h | 5 ++--- glib/tests/gdatetime.c | 5 ++--- tests/datetime.c | 6 ++---- 10 files changed, 20 insertions(+), 36 deletions(-) commit 46c0c5cd859f6ce1f6e25f3ccb8eb12dbb437e41 Author: Sébastien Wilmet Date: Thu Dec 29 16:28:00 2016 +0100 License headers: replace old FSF address by a link to gnu.org https://bugzilla.gnome.org/show_bug.cgi?id=776586 glib/gbookmarkfile.c | 5 ++--- glib/gbookmarkfile.h | 5 ++--- glib/glib-mirroring-tab/gen-mirroring-tab.c | 4 +--- glib/glib-mirroring-tab/packtab.c | 6 ++---- glib/glib-mirroring-tab/packtab.h | 6 ++---- 5 files changed, 9 insertions(+), 17 deletions(-) commit f60590534d375750389f34a40bd3d280748e17df Author: Sébastien Wilmet Date: Tue Dec 27 17:40:22 2016 +0100 License headers: "the Gnome Library" -> "this library" Harmonize a little the license headers. In most of the license headers in GLib, it is "this library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586 gio/inotify/inotify-helper.c | 15 +++++++-------- gio/inotify/inotify-helper.h | 15 +++++++-------- gio/inotify/inotify-kernel.c | 15 +++++++-------- gio/inotify/inotify-kernel.h | 15 +++++++-------- gio/inotify/inotify-missing.c | 15 +++++++-------- gio/inotify/inotify-missing.h | 15 +++++++-------- gio/inotify/inotify-path.c | 15 +++++++-------- gio/inotify/inotify-path.h | 15 +++++++-------- gio/inotify/inotify-sub.c | 15 +++++++-------- gio/inotify/inotify-sub.h | 15 +++++++-------- glib/gcharset.h | 5 ++--- glib/gerror.h | 15 +++++++-------- glib/gthreadprivate.h | 15 +++++++-------- glib/gunibreak.c | 15 +++++++-------- glib/gunicode.h | 15 +++++++-------- glib/gunicollate.c | 15 +++++++-------- glib/gunidecomp.c | 15 +++++++-------- 17 files changed, 114 insertions(+), 131 deletions(-) commit 8edcf67b0221efa3c2ada67c44eff29939b1704d Author: Sébastien Wilmet Date: Tue Dec 27 19:14:03 2016 +0100 License headers: "GLib" -> "This library" Harmonize a little the license headers. In most of the license headers in GLib, it is "This library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586 glib/gfileutils.c | 15 +++++++-------- glib/gfileutils.h | 15 +++++++-------- glib/gkeyfile.c | 15 +++++++-------- glib/gkeyfile.h | 15 +++++++-------- glib/gmarkup.c | 15 +++++++-------- glib/gmarkup.h | 15 +++++++-------- glib/gshell.c | 16 +++++++--------- glib/gshell.h | 16 +++++++--------- glib/gspawn-win32-helper.c | 16 +++++++--------- glib/gspawn-win32.c | 16 +++++++--------- glib/gspawn.c | 16 +++++++--------- glib/gspawn.h | 16 +++++++--------- glib/gstdio.c | 15 +++++++-------- glib/gstdio.h | 15 +++++++-------- 14 files changed, 98 insertions(+), 118 deletions(-) commit e603035d133b608eb1d208b5d14be6e05abc753d Author: Sébastien Wilmet Date: Tue Dec 27 17:29:04 2016 +0100 License headers: "The GLib Library" -> "This library" Harmonize a little the license headers. In most of the license headers in GLib, it is "This library". It is also what is explained at: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC4 "How to Apply These Terms to Your New Libraries" https://bugzilla.gnome.org/show_bug.cgi?id=776586 glib/gcharset.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 83d6c38e0c476894d604ddb55a149284d37d4d39 Author: Christian Hergert Date: Tue Jan 3 15:48:46 2017 -0800 subprocess: avoid infinite loop in verify_disposition() When performing the verify and building the error string there were two possibilities of an infinite loop. The first is the missing twos-complement to unset the bit in the filtered flags. The second is the lack of handling G_SUBPROCESS_FLAGS_NONE which can return a valid GFlagsValue (and cannot unset the bit since the value is zero). This walks all known values in the GSubprocessFlags type class and check if they are set. This has the benefit that we don't call needless functions which walk the same table as well as avoiding mutating values to build the error string. https://bugzilla.gnome.org/show_bug.cgi?id=775913 gio/gsubprocesslauncher.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 2e26893bf8ea665d8956725c1a30f8d0f91760b4 Author: Bastien Nocera Date: Tue Jan 3 16:26:38 2017 +0100 resolver: Fix compilation Problem introduced in commit 442b7ce. gio/gresolver.c | 1 + 1 file changed, 1 insertion(+) commit 442b7ce899df1c0adbbf51bef40dd09b0fd70a51 Author: Bastien Nocera Date: Wed Dec 7 17:44:08 2016 +0100 resolver: Return error looking up invalid hostnames Make g_resolver_lookup_by_name() and g_resolver_lookup_by_name_async() error out when invalid hostnames are passed. https://bugzilla.gnome.org/show_bug.cgi?id=772989 gio/gresolver.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 5c566e435e48dadde1106c757ab3d18758cdd17c Author: Bastien Nocera Date: Wed Dec 7 17:29:35 2016 +0100 httpproxy: Fix invalid request on invalid hostnames When an invalid hostname is passed for connection, the g_hostname_to_ascii() might fail when creating the request in create_request(). Make sure that error is caught and reported rather than passing "(null)" as the hostname of the site we want to connect to. https://bugzilla.gnome.org/show_bug.cgi?id=772989 gio/ghttpproxy.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 9b3cb4470d1d3458dd2ee78ab675123a37fa332a Author: Shawn Walker Date: Fri May 29 17:39:03 2015 -0700 Remove stray semicolon after g_variant_print() function in gvariant.c https://bugzilla.gnome.org/show_bug.cgi?id=776198 Signed-off-by: Alan Coopersmith glib/gvariant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0976193272e6e850f8e81d9fd641a79cd22d6c5 Author: Sjoerd Simons Date: Tue Aug 9 15:55:04 2016 +0200 Assert threads are created in test 642026 We kept seeing the glib testsuite hanging on our CI system in the testcase for 642026. After some digging it turned out the jenkins slave was misconfigured and its task limit was too low. Add an assertion that the test thread has been created to more easily spot this error condition as opposed to the test simply hanging. Signed-off-by: Sjoerd Simons https://bugzilla.gnome.org/show_bug.cgi?id=769672 glib/tests/642026.c | 1 + 1 file changed, 1 insertion(+) commit 731e7fea1739b60ffdff21c38a79155a6a2f66d6 Author: Ingo Brückl Date: Mon Jun 13 16:23:42 2016 +0200 tests: Don't run tests requiring DBUS unconditionally The tests defaultvalue, gdbus-peer and gdbus-unix-addresses will fail without DBUS, so only run them in case we HAVE_DBUS_DAEMON. Signed-off-by: Ingo Brückl https://bugzilla.gnome.org/show_bug.cgi?id=767609 gio/tests/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 7ff42a40034c809bb6c654e0558178afe4da9af1 Author: Fran Dieguez Date: Tue Dec 27 00:35:18 2016 +0100 Updated Galician translations po/gl.po | 725 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 376 insertions(+), 349 deletions(-) commit c5754bdc43f64c04ac0bd36f28c36d378caca1fa Author: Chun-wei Fan Date: Tue Dec 20 14:36:02 2016 +0800 build/Makefile.msvcproj: Fix cleanup When we make Visual Studio 2013 the baseline Visual Studio version, we need to the *.vs12.sourcefiles that are generated along the way so that 'make distcheck' won't complain about the leftover files. This was not caught in GLib as we do not yet require Visual Studio 2013, but we update this here as this module is intended to be used in projects that support Visual Studio project builds. build/Makefile.msvcproj | 2 ++ 1 file changed, 2 insertions(+) commit 073f4dfb882cabe96a4d1d727fe11c23d3746037 Author: Marek Černocký Date: Sun Dec 18 23:59:07 2016 +0100 Updated Czech translation po/cs.po | 168 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 87 insertions(+), 81 deletions(-) commit 6c293d0af444b40ea85c70eb599298e4c5d816ab Author: Yosef Or Boczko Date: Sun Dec 11 07:14:58 2016 +0200 Updated Hebrew translation po/he.po | 209 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 107 insertions(+), 102 deletions(-) commit 7518067cec26bd357e7a7ba44823e79e6bed0f57 Author: Chun-wei Fan Date: Wed Dec 7 19:32:54 2016 +0800 gmessages.c: Windows: Improve g_log_writer_supports_colors() ... when tty terminal emulators (such as mintty) are used. This support is however for Vista and later, so use of such terminals should have support for ANSI color codes in their outputs, even on Windows 7/8/8.1/ https://bugzilla.gnome.org/show_bug.cgi?id=775468 glib/gmessages.c | 223 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 187 insertions(+), 36 deletions(-) commit 1ef807445c3c2f1b03cfd5beea8d58a74ba96ef1 Author: Baurzhan Muftakhidinov Date: Thu Dec 8 10:06:39 2016 +0000 Update Kazakh translation po/kk.po | 792 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 410 insertions(+), 382 deletions(-) commit ab70359bbf385558f68444db90f22e006ccc0d6c Author: donadigo Date: Wed Dec 7 19:32:33 2016 +0100 Fixed notify id in FDO notification backend https://bugzilla.gnome.org/show_bug.cgi?id=775765 gio/gfdonotificationbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b98a799978d42e0b528d86e015c8a4251a22b0a Author: Ignacio Casal Quinteiro Date: Mon Dec 5 18:25:52 2016 +0100 gioerror: make WSAESHUTDOWN an alias of G_IO_ERROR_CONNECTION_CLOSED This fixes one of the assertions of the socket unit tests where G_IO_ERROR_FAILED was returned instead of G_IO_ERROR_CONNECTION_CLOSED. gio/gioerror.c | 1 + 1 file changed, 1 insertion(+) commit 799f8dcd46fb40ea206d9f1b5468db62cc00a72e Author: Sebastian Dröge Date: Mon Dec 5 12:28:57 2016 +0200 GSocket: Fix race conditions on Win32 if multiple threads are waiting on conditions for the same socket WSAWaitForMultipleEvents() only returns for one of the waiting threads, and that one might not even be the one waiting for the condition that changed. As such, only let a single thread wait on the event and use a GCond for all other threads. With this it is possible to e.g. have an UDP socket that is written to from one thread and read from in another thread on Win32 too. On POSIX systems this was working before already. https://bugzilla.gnome.org/show_bug.cgi?id=762283 gio/gsocket.c | 94 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 68 insertions(+), 26 deletions(-) commit 620b3c1e567d5504d1276fabeeeae9b3b40d8bf8 Author: Sebastian Dröge Date: Mon Dec 5 12:10:48 2016 +0200 gmessages: Fix compilation on Android There is no systemd on Android. https://bugzilla.gnome.org/show_bug.cgi?id=775621 glib/gmessages.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7a61a94b95fb400cd30d4c6329e9da5092bd4db6 Author: Chun-wei Fan Date: Fri Dec 2 13:45:38 2016 +0800 gmessages.c/Windows: Improve g_log_writer_supports_color() Windows 10 begins to support color output on the console using ANSI codes, but a few extra steps are required for this support, so we cannot just use isatty() and expect colors to work in the outputs. Instead, we use still use isatty() from the Windows CRT, and then enable ENABLE_VIRTUAL_TERMINAL_PROCESSING if it returns true. Also make the invalid parameter handler shared between gmessages.c and gspawn-win32-helper.c, since it is basically intended to be a no-op stub. https://bugzilla.gnome.org/show_bug.cgi?id=775468 glib/gmessages.c | 84 ++++++++++++++++++++++++++++++++++++++++++++-- glib/gspawn-win32-helper.c | 16 ++++----- 2 files changed, 88 insertions(+), 12 deletions(-) commit 0d28ee458f1847b3c7f3ed810b28b9a988ece40a Author: Simon McVittie Date: Fri Dec 2 10:22:00 2016 +0000 type-test: do not rely on signed integer overflow wrapping around Signed integer overflow is undefined behaviour: if a compiler detects signed integer overflow, it is free to compile it to absolutely anything. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters tests/type-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4496ef91b58bf8895ea04d0aef30a76b44263d6f Author: Simon McVittie Date: Fri Dec 2 10:13:00 2016 +0000 g_hostname_is_ip_address: detect integer overflow Signed integer overflow is undefined behaviour, which the undefined behaviour sanitizer detects. Previously, if the compiler had implemented this in the obvious way (overflowing signed multiplication wraps around mod 2**32), we would have incorrectly classified addresses where one octet was, for example, (2**32 + 42) as valid IP addresses, by treating that octet as though it was 42. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters glib/ghostutils.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 1d697a5f3034b81f62ba04d1ea0e16436ff126ec Author: Simon McVittie Date: Fri Dec 2 10:07:23 2016 +0000 g_unichar_iswide_cjk: add a special case for U+0000 bsearch() is defined to search for a non-null key, so we can't search for NULL. The undefined behaviour sanitizer picks this up. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters glib/guniprop.c | 5 +++++ 1 file changed, 5 insertions(+) commit 663e12feca1c45c19048c43f7f80f2509a3fadba Author: Simon McVittie Date: Fri Dec 2 10:06:23 2016 +0000 gdbus-serialization test: don't left-shift a negative number -2LL<<34 is undefined, because left-shifting a negative number is undefined (it was implementation-defined behaviour in C99, but is formally undefined in C11). The undefined behaviour sanitizer picks this up. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters gio/tests/gdbus-serialization.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e5ed410c8c0fe823883b65b293fb2d9c9d12673a Author: Simon McVittie Date: Fri Dec 2 10:03:16 2016 +0000 Avoid calling Standard C string/array functions with NULL arguments glibc string.h declares memcpy() with attribute(nonnull(1,2)), causing calls with NULL arguments to be treated as undefined behaviour. This is consistent with ISO C99 and C11, which state that passing 0 to string functions as an array length does not remove the requirement that the pointer to the array is a valid pointer. gcc -fsanitize=undefined catches this while running OSTree's test suite. Similarly, running the GLib test suite reports similar issues for qsort(), memmove(), memcmp(). Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters gio/gconverterinputstream.c | 12 ++++++++---- gio/gconverteroutputstream.c | 8 +++++--- gio/gdesktopappinfo.c | 13 ++++++++----- gio/gunixsocketaddress.c | 4 +++- gio/gvdb/gvdb-builder.c | 3 ++- glib/garray.c | 9 +++++++++ glib/goption.c | 5 ++++- glib/gstrfuncs.c | 2 +- glib/gtestutils.h | 2 +- gobject/gtype.c | 3 ++- 10 files changed, 43 insertions(+), 18 deletions(-) commit 5e7eaaaaeead0925a9267515ad583357f44274b0 Author: Simon McVittie Date: Thu Dec 1 17:06:15 2016 +0000 GParam: make G_PARAM_USER_MASK unsigned UBSan considers left-shifting a negative number to be undefined behaviour (per it is implementation-defined in C89, but according to it is undefined in C99). Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=775510 Reviewed-by: Colin Walters gobject/gparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1d1aba3b4c024255b530b0f4f2dc9dd19a7086e Author: Ondrej Holy Date: Fri Dec 2 13:07:25 2016 +0100 Add missing check for termios.h Check for termios.h is missing and passwords in the new gio tool are echoed in the terminal consequently, which is really bad! https://bugzilla.gnome.org/show_bug.cgi?id=775517 configure.ac | 1 + 1 file changed, 1 insertion(+) commit 463a8636059864c3120f496bfd578fb65e998394 Author: Ignacio Casal Quinteiro Date: Tue Nov 29 13:12:47 2016 +0100 gdbusauth: fix crash when server data send returns NULL _g_dbus_auth_mechanism_server_data_send may fail in which case we would endup getting a NULL data. In this case we should not try to encode the data and simply let the state machine to continue. The auth mechanism will change internally to REJECTED so we just need to continue the iteration. https://bugzilla.gnome.org/show_bug.cgi?id=775309 gio/gdbusauth.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 93179f10b8cc5e8e49129c10b80a5c2df27e118d Author: Ignacio Casal Quinteiro Date: Tue Nov 29 09:20:36 2016 +0100 dbusaddress: do not leak error on win32 code gio/gdbusaddress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 3e7b5cbef866ef26ace0ca15a2e4ae6ed7f8a3f3 Author: Philip Withnall Date: Wed Aug 31 14:20:59 2016 +0100 glib: Namespace global tapset variables by soname global variables in SystemTap are shared between all SystemTap scripts; so if scripts are loaded for two versions of GLib (for example, a stable and a development version), those global variables will conflict. Avoid that by including the soname’s version in the global variable names. https://bugzilla.gnome.org/show_bug.cgi?id=770646 glib/glib.stp.in | 4 ++-- gobject/gobject.stp.in | 36 ++++++++++++++++++------------------ 2 files changed, 20 insertions(+), 20 deletions(-) commit a24f57b071758b01500e2b4b9c05d2a60f8280bf Author: Philip Withnall Date: Sun Oct 30 20:38:57 2016 -0700 glib: Add installed Valgrind suppressions file for GLib and GIO While we cannot get Valgrind to automatically load this suppression file for applications which link to GLib (https://bugs.kde.org/show_bug.cgi?id=160905), we can at least install it on systems in a shared directory, so that developers can use a standardised (and up-to-date) suppressions file for GLib, rather than rolling their own. The file will typically be installed to: /usr/share/glib-2.0/valgrind/glib.supp Distributors: it is recommended that this suppression file be installed as part of the development package for GLib in your distribution. https://bugzilla.gnome.org/show_bug.cgi?id=666114 Makefile.am | 4 + glib.supp | 493 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 497 insertions(+) commit 673036d609b2c87abdef9149a2edfedb4861e65e Author: Chun-wei Fan Date: Wed Nov 23 11:12:00 2016 +0800 Visual Studio builds: Update gio-2.0.pc generation We don't have libmount on Windows, so just make the entry for it blank. build/win32/glibpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 18a33f72db6a410606674d8d53fb2dadb706091d Author: Christian Hergert Date: Fri Oct 28 18:29:02 2016 -0700 introspection: use (nullable) or (optional) instead of (allow-none) If we have an input parameter (or return value) we need to use (nullable). However, if it is an (inout) or (out) parameter, (optional) is sufficient. It looks like (nullable) could be used for everything according to the Annotation documentation, but (optional) is more specific. gio/gaction.c | 8 +- gio/gactiongroup.c | 10 +- gio/gappinfo.c | 18 ++-- gio/gapplication.c | 14 +-- gio/gapplicationcommandline.c | 2 +- gio/gasyncinitable.c | 2 +- gio/gbufferedinputstream.c | 6 +- gio/gcancellable.c | 12 +-- gio/gcontenttype.c | 8 +- gio/gdatagrambased.c | 2 +- gio/gdatainputstream.c | 28 +++--- gio/gdataoutputstream.c | 16 +-- gio/gdbusaddress.c | 6 +- gio/gdbusauthobserver.c | 4 +- gio/gdbusconnection.c | 118 +++++++++++----------- gio/gdbusconnection.h | 2 +- gio/gdbuserror.c | 4 +- gio/gdbusinterface.c | 2 +- gio/gdbusintrospection.c | 2 +- gio/gdbusmessage.c | 8 +- gio/gdbusmethodinvocation.c | 12 +-- gio/gdbusnameowning.c | 24 ++--- gio/gdbusnamewatching.c | 20 ++-- gio/gdbusobjectmanagerclient.c | 26 ++--- gio/gdbusobjectmanagerserver.c | 2 +- gio/gdbusprivate.c | 6 +- gio/gdbusproxy.c | 56 +++++------ gio/gdbusserver.c | 4 +- gio/gdesktopappinfo.c | 14 +-- gio/gdrive.c | 26 ++--- gio/gdtlsclientconnection.c | 2 +- gio/gdtlsconnection.c | 6 +- gio/gdtlsserverconnection.c | 2 +- gio/gemblemedicon.c | 2 +- gio/gfile.c | 218 ++++++++++++++++++++--------------------- gio/gfileenumerator.c | 14 +-- gio/gfileinfo.c | 2 +- gio/gfileinputstream.c | 4 +- gio/gfileiostream.c | 4 +- gio/gfilemonitor.c | 2 +- gio/gicon.c | 4 +- gio/ginitable.c | 2 +- gio/ginputstream.c | 20 ++-- gio/giomodule.c | 6 +- gio/gioscheduler.c | 6 +- gio/giostream.c | 6 +- gio/giotypes.h | 6 +- gio/gkeyfilesettingsbackend.c | 2 +- gio/gloadableicon.c | 4 +- gio/gmemoryinputstream.c | 4 +- gio/gmemoryoutputstream.c | 6 +- gio/gmenu.c | 54 +++++----- gio/gmenumodel.c | 10 +- gio/gmount.c | 30 +++--- gio/gnetworkmonitor.c | 4 +- gio/gnotification.c | 16 +-- gio/goutputstream.c | 28 +++--- gio/gpermission.c | 8 +- gio/gpollableinputstream.c | 4 +- gio/gpollableoutputstream.c | 4 +- gio/gpollableutils.c | 10 +- gio/gproxy.c | 4 +- gio/gproxyaddress.c | 4 +- gio/gproxyresolver.c | 4 +- gio/gremoteactiongroup.c | 2 +- gio/gresolver.c | 16 +-- gio/gresource.c | 8 +- gio/gseekable.c | 4 +- gio/gsettings.c | 12 +-- gio/gsettingsbackend.c | 4 +- gio/gsettingsschema.c | 2 +- gio/gsimpleaction.c | 10 +- gio/gsimpleasyncresult.c | 22 ++--- gio/gsimpleproxyresolver.c | 4 +- gio/gsocket.c | 44 ++++----- gio/gsocketaddressenumerator.c | 4 +- gio/gsocketclient.c | 20 ++-- gio/gsocketconnection.c | 4 +- gio/gsocketlistener.c | 26 ++--- gio/gsocketservice.c | 2 +- gio/gsubprocess.c | 14 +-- gio/gtask.c | 18 ++-- gio/gtestdbus.c | 2 +- gio/gtlscertificate.c | 4 +- gio/gtlsclientconnection.c | 2 +- gio/gtlsconnection.c | 6 +- gio/gtlsdatabase.c | 46 ++++----- gio/gtlsinteraction.c | 8 +- gio/gtlspassword.c | 4 +- gio/gtlsserverconnection.c | 2 +- gio/gunixconnection.c | 16 +-- gio/gunixfdlist.c | 4 +- gio/gunixfdmessage.c | 2 +- gio/gunixmounts.c | 8 +- gio/gvolume.c | 16 +-- gio/gwin32registrykey.c | 8 +- gio/gzlibcompressor.c | 2 +- gio/tests/file.c | 2 +- gio/tests/test-pipe-unix.c | 8 +- glib/garray.c | 6 +- glib/gbookmarkfile.c | 36 +++---- glib/gconvert.c | 5 +- glib/gdataset.c | 20 ++-- glib/gdatetime.c | 6 +- glib/genviron.c | 6 +- glib/gerror.c | 2 +- glib/gfileutils.c | 6 +- glib/ggettext.c | 10 +- glib/ghash.c | 6 +- glib/giochannel.c | 12 +-- glib/gkeyfile.c | 28 +++--- glib/glib-init.c | 2 +- glib/gmain.c | 36 +++---- glib/gmarkup.c | 4 +- glib/gmem.c | 10 +- glib/gmessages.c | 8 +- glib/goption.c | 34 +++---- glib/gpattern.c | 2 +- glib/gquark.c | 10 +- glib/gregex.c | 28 +++--- glib/gsequence.c | 2 +- glib/gspawn.c | 40 ++++---- glib/gstdio.c | 2 +- glib/gstrfuncs.c | 8 +- glib/gtestutils.c | 10 +- glib/gthread.c | 4 +- glib/gtimezone.c | 2 +- glib/gtranslit.c | 2 +- glib/gunidecomp.c | 2 +- glib/gurifuncs.c | 10 +- glib/gutf8.c | 2 +- glib/gvariant-parser.c | 8 +- glib/gvariant-serialiser.c | 2 +- glib/gvariant.c | 52 +++++----- glib/gvarianttype.c | 6 +- glib/gvarianttypeinfo.c | 8 +- glib/gwin32.c | 10 +- gmodule/gmodule.c | 4 +- gobject/gbinding.c | 4 +- gobject/gboxed.c | 8 +- gobject/gclosure.c | 6 +- gobject/gclosure.h | 10 +- gobject/gmarshal.c | 88 ++++++++--------- gobject/gobject.c | 34 +++---- gobject/gparam.c | 6 +- gobject/gparamspecs.c | 2 +- gobject/gsignal.c | 20 ++-- gobject/gtype.c | 6 +- gobject/gvalue.c | 2 +- gobject/gvaluearray.c | 6 +- gobject/gvaluetypes.c | 10 +- 151 files changed, 986 insertions(+), 987 deletions(-) commit a4012abbdf2c6c095ae34a97dca760b2446436aa Author: Christophe Fergeau Date: Wed Sep 17 17:00:03 2014 +0200 gdbus: Fix leak in g_dbus_message_print() This leak only happens when using G_DBUS_DEBUG=message or similar, but it's nicer to be valgrind-clean even in these cases. https://bugzilla.gnome.org/show_bug.cgi?id=736810 gio/gdbusmessage.c | 1 + 1 file changed, 1 insertion(+) commit 59a996db9b5c987b8b2baae08dc6827aa16a9af7 Author: Lukasz Skalski Date: Wed May 7 18:09:34 2014 +0200 GDBusMessage: Fix segfault if DEBUG_SERIALIZER is enabled https://bugzilla.gnome.org/show_bug.cgi?id=729730 gio/gdbusmessage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be4fd3d0b0cc3c2aca204f2ee16ad88cf2d2f2be Author: Simon McVittie Date: Mon May 4 10:40:51 2015 +0100 glib-init: statically assert that int is exactly 32 bits long The GVariant documentation says you can assume that types of no more than 32 bits may be assumed to be promoted to int by the usual promotions. If we're going to document that, we should statically assert that it's true, i.e. sizeof (int) >= sizeof (int32_t). All reasonable modern platforms are either ILP32 (32-bit platforms), LP64 (64-bit Linux, *BSD etc.), or LLP64 (64-bit Windows): there have been ILP64 platforms in the past, but ILP64 has the compelling disadvantage that {signed char, short, int} can't possibly provide all of {int8_t, int16_t, int32_t} unless int is 32 bits long. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=730932 Signed-off-by: Simon McVittie Reviewed-by: Colin Walters glib/glib-init.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 52276300779f5f540f5b19bc0c9308a069eeb401 Author: Simon McVittie Date: Thu May 29 12:20:24 2014 +0100 glib-init: statically assert that "small" enums are all int-sized ISO C allows compilers to make enums smaller than int if their enumerated values would all fit in the range of a smaller type. In practice, I suspect that in relevant compilers, all enums whose values fit in the range INT32_MIN to INT32_MAX (inclusive) are the same size as int. ISO C allows compiler to break that assumption, but those that do would break code that works fine in other compilers, making the compiler look bad, for no significant benefit. I conjecture that such compilers are not popular. Let's statically assert that my assumption holds. If all goes well, GLib will continue to compile on every relevant platform; if it fails to compile on some platform as a result of this change, then there are probably a lot of naive uses of enums that need auditing for this assumption. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=730932 Signed-off-by: Simon McVittie Reviewed-by: Allison Lortie glib/glib-init.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit c99fe67817ccf53017a6fdb9afdb92641b8e3021 Author: Pavel Grunt Date: Thu Aug 11 16:25:52 2016 +0200 gtask: Add guards for public functions https://bugzilla.gnome.org/show_bug.cgi?id=769745 gio/gtask.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit b626a4677a0ba8e8e167cde24b9684cf920b9c56 Author: Ondrej Holy Date: Mon Oct 24 20:13:22 2016 +0200 gunixmounts: Fix crash if path doesn't exist g_unix_mount_for segfaults for nonexistent paths. Return NULL if path doesn't exist. https://bugzilla.gnome.org/show_bug.cgi?id=772160 gio/gunixmounts.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c47f62de78086e55295d3d4e1f31b0839f89bbf Author: Simon McVittie Date: Mon May 4 10:32:21 2015 +0100 gatomic: statically assert that our assumptions hold This code assumes that int is exactly 32 bits, and that pointers are either 4 or 8 bits, on platforms with __ATOMIC_SEQ_CST. In practice this is going to be true. A previous attempt at this assertion placed the G_STATIC_ASSERT at the top level in gatomic.h, but that broke anjuta, which redefined __unused__ at the time. These assertions are about the platform/compiler ABI, so it's sufficient to check them once, while compiling GLib itself; accordingly, move them to the implementation. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=730932 glib/gatomic.c | 10 ++++++++++ glib/gatomic.h | 8 ++++++++ 2 files changed, 18 insertions(+) commit ecdd3c29fc4bd28f01fe53d0528bfee888c9c62c Author: Rahul Bedarkar Date: Tue Oct 18 23:04:50 2016 +0530 gio-2.0.pc: include libmount in Libs.private This helps with static linking. When application statically links with libgio, it needs to link against libmount explicitly. When it is mentioned in Libs.private, build system can figure out with which extra libs to link against with help of pkg-config. This build failure is detected by Buildroot autobuilder: http://autobuild.buildroot.net/results/fdf/fdf26abbed0014606a7788ce5d60828a0e871186 Signed-off-by: Rahul Bedarkar gio-2.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00bf553a60793eb99c1720db406c66787d0ce466 Author: Debarshi Ray Date: Thu Jun 23 11:05:56 2016 +0200 GDBusMethodInvocation: Clarify how the ownership is handled https://bugzilla.gnome.org/show_bug.cgi?id=767952 gio/gdbusmethodinvocation.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit 578b42a2f24ba31705917e8a503e58e213eed925 Author: Benjamin Otte Date: Thu Aug 25 18:19:37 2016 +0200 glib-compile-resources: Add suggested braces ... around empty body in an 'else' statement gio/glib-compile-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 611b079e3d351975c833cb98b7368ca101d252a9 Author: Benjamin Otte Date: Thu Aug 25 17:41:31 2016 +0200 gvariant: Add suggested braces ... around empty body in an 'else' statement glib/gvariant-parser.c | 5 ++++- glib/gvariant.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) commit 3a8ac6e2212a09944c845f9f2de50fd2b3c7ac61 Author: Patrick Griffis Date: Tue Nov 15 12:21:46 2016 -0500 glib-compile-resources: Escape file names in dependency file https://bugzilla.gnome.org/show_bug.cgi?id=774368 gio/glib-compile-resources.c | 59 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 56 insertions(+), 3 deletions(-) commit 7a8cbc60a5410261fd02bedbe445c7e76167aa7c Author: Patrick Griffis Date: Tue Nov 15 08:34:31 2016 -0500 glib-compile-resources: Add --generate-phony-targets flag This includes phony targets for each dependency in the the generated dependency file which allows building with `ninja` which doesn't like the phony targets[1] but also allows silencing `make` errors similar to gcc's -MP option. [1] - https://github.com/ninja-build/ninja/issues/1184 https://bugzilla.gnome.org/show_bug.cgi?id=774368 docs/reference/gio/glib-compile-resources.xml | 9 +++++++++ gio/glib-compile-resources.c | 24 +++++++++++++++++------- 2 files changed, 26 insertions(+), 7 deletions(-) commit 437474318fb6af8087bb5821cbad268823fb5c36 Author: Petr Kulhavy Date: Wed Nov 16 13:18:53 2016 +0100 GSocket: do not process control messages if not requested by the user If g_socket_receive_message_with_timeout() is called with messages == NULL set the msg_control buffer to empty to not request the control messages from recvmsg() at all. This completely disables the control message processing and reduces overhead, which might be critical at high packet rate. https://bugzilla.gnome.org/show_bug.cgi?id=774520 gio/gsocket.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 4ddaa891e027a31dfcabd8d99d157e50da491604 Author: Yosef Or Boczko Date: Thu Nov 17 22:24:26 2016 +0200 Updated Hebrew translation po/he.po | 1051 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 538 insertions(+), 513 deletions(-) commit a8c6e306bde67ed4f218b139d76ff9fee4f5fe2f Author: Ross Burton Date: Mon Nov 14 17:07:03 2016 +0000 glib-gettextize: respect @datadir@ instead of assuming $prefix/share https://bugzilla.gnome.org/show_bug.cgi?id=774421 glib-gettextize.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11a6e19e07a86e8c0698c5109083a0c3505cb394 Author: Ross Burton Date: Mon Nov 14 16:56:40 2016 +0000 tests/refcount/signals: don't shadow rand() rand() is in the C library and some C libraries (uclibc, for example) end up with rand() defined even if stdlib.h isn't included explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=774421 tests/refcount/signals.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9f4d5e8b9176383f7063f235c23f9311cb412f07 Author: Philip Withnall Date: Thu Nov 10 16:12:41 2016 +0000 gsignal: Mention handler ID type in signal connection macro docs gtk-doc doesn’t make the return type clear, because these are macros rather than inline functions, so people often have to guess at the return type (or look it up from g_signal_connect_closure(), but that’s hard work). Make it clear that the return type for handler IDs is gulong. While there, fix the capitalisation of ‘id’ to ‘ID’ in a few places. gobject/gsignal.c | 10 +++++----- gobject/gsignal.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) commit 3f12ca57c453a9e757040b6a0fa816ac07c0d394 Author: Philip Withnall Date: Wed Nov 9 16:52:21 2016 +0000 gtestutils: Clarify that g_assert() should not have side effects g_assert() gets completely compiled out if G_DISABLE_ASSERT is defined, so applications should not depend on side effects of the expression in an assertion. glib/gtestutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4607bd377fce5e75466dbf95a01986b64c39a353 Author: Mohammed Sadiq Date: Tue Nov 8 07:38:44 2016 +0530 gmain: fix g_main_context_check declaration g_main_context_check is defined as a function returning gboolean. It should be declared as such. https://bugzilla.gnome.org/show_bug.cgi?id=774086 glib/gmain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d8acf9b956e23143f6463d7a632699d4a7761f4e Author: Philip Withnall Date: Wed Nov 9 15:11:53 2016 +0000 gmacros: Clarify G_GNUC_[PRINTF|SCANF] macro documentation Clarify that the arguments parameter can be zero if the function being annotated just accepts a string format argument, and no varargs for it (for example, if it takes a va_list of arguments instead). Add some links to the GCC documentation for the `format` attribute. glib/docs.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 1f36189aa5e0bc0bbecf8e34f5e625ee88b06882 Author: Philip Withnall Date: Tue Nov 8 21:13:45 2016 +0000 gapplication: Fix a typo in a documentation comment It’s ‘D-Bus’, not ‘DBus’, ‘DBUS’, ‘D Bus’, ‘Dee Buss’ or ‘the bus’. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 932eb87083df1989d0acfb71a1ce5ad9a3698bcf Author: Tim-Philipp Müller Date: Tue Nov 8 15:21:03 2016 +0000 glib-mkenums: fix variable declaration Inconsequential, just sync up declaration with actual name of variable to avoid confusion. https://bugzilla.gnome.org/show_bug.cgi?id=770175 gobject/glib-mkenums.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1763d899c60b5d1cb4b24e2e326564a3377f9be Author: Patrick Griffis Date: Sat Nov 5 22:15:53 2016 -0400 Revert "glib-compile-resources: Output depfile in same directory as target" This reverts commit 9006940de604a8d72bf9198a0e4b20cd113c4b11. docs/reference/gio/glib-compile-resources.xml | 2 -- gio/glib-compile-resources.c | 11 ----------- 2 files changed, 13 deletions(-) commit 9006940de604a8d72bf9198a0e4b20cd113c4b11 Author: Patrick Griffis Date: Mon Oct 24 13:04:10 2016 -0400 glib-compile-resources: Output depfile in same directory as target https://bugzilla.gnome.org/show_bug.cgi?id=773437 docs/reference/gio/glib-compile-resources.xml | 2 ++ gio/glib-compile-resources.c | 11 +++++++++++ 2 files changed, 13 insertions(+) commit acd07cfc551c19872358c3f6224e4cd5e57c0bbc Author: Chun-wei Fan Date: Wed Oct 26 12:57:42 2016 +0800 build/Makefile-newvs.am: Do not hardcode the baseline MSVC version This is to allow specification of the baseline Visual Studio 201x version as the baseline version may not be 2010 anymore as we begin to require C99 features that will require Visual Studio 2013 or later. build/Makefile-newvs.am | 30 ++++++++++++++++-------------- build/win32/vs11/Makefile.am | 2 ++ build/win32/vs12/Makefile.am | 2 ++ build/win32/vs14/Makefile.am | 2 ++ 4 files changed, 22 insertions(+), 14 deletions(-) commit 1f33b36cd14b4993dc06d8c0726a3dcf55fd140a Author: Chun-wei Fan Date: Wed Oct 26 12:49:08 2016 +0800 build/Makefile.msvcproj: Add rules for MSVC 2013 to be the baseline version We are starting to require C99 features that can only be supported in Visual Studio 2013 and later, so we need to prepare rules for Visual Studio 2013 to be our baseline version for Visual Studio builds, so that we can move the templates from Visual Studio 2010 to Visual Studio 2013. As this strives to be a shared autotools module between projects, there is duplication at this point, though, because we still want to support 2008~2012 for projects that do not yet require the C99 features and depends on GLib-2.50.x/GTK+-3.22.x or earlier. build/Makefile.msvcproj | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit e37a3c94739385ae5b37bc19668142bec04d8c1c Author: Aurimas Černius Date: Sun Oct 30 13:20:15 2016 +0200 Updated Lithuanian translaton po/lt.po | 549 ++++++++++++++++----------------------------------------------- 1 file changed, 133 insertions(+), 416 deletions(-) commit 37e818696f9dcaff0d15efdbfeeca806148f27b4 Author: Mario Blättermann Date: Sat Oct 29 13:44:44 2016 +0000 Update German translation po/de.po | 636 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 329 insertions(+), 307 deletions(-) commit e6990cf4ae2f9813e0bf159d9c8cb1347bb5e9df Author: Marek Černocký Date: Fri Oct 28 17:59:21 2016 +0200 Updated Czech translation po/cs.po | 702 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 358 insertions(+), 344 deletions(-) commit 316232211be860ea6297a06f4a3747d4b7814201 Author: Anders Jonsson Date: Thu Oct 27 11:49:21 2016 +0000 Update Swedish translation po/sv.po | 655 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 334 insertions(+), 321 deletions(-) commit dadb774898d126fa9c5cf6ef9ab695a701c206ca Author: Daniel Mustieles Date: Tue Oct 25 15:22:42 2016 +0000 Update Spanish translation po/es.po | 899 ++++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 600 insertions(+), 299 deletions(-)