Glib & Glib2

Version: 
2.33.12
Release date: 
Tuesday, 27 April, 1999

License:

Interface:

GLib is a general-purpose utility library, which provides many useful data types, macros, type conversions, string utilities, file utilities, a mainloop abstraction, and so on. It works on many UNIX-like platforms, as well as Windows and OS X. GLib is released under the GNU Lesser General Public License (GNU LGPL).

This software is distributed in two modes:
  • as compressed package that you have to download and manually install; if prerequisites are required, you will have to manually install them too;
  • as RPM package; you can install it using your favorite rpm package manager, that will take care to download and install both the software and its prerequisites.
Choose the installation mode that you prefer. Please note that not all the versions are available in both the installation modes.

Installation with rpm

This program is installable using the rpm package manager. See below for the install string. Required prerequisites are automatically processed by the package manager and, if needed, downloaded and installed.

glib2-2.33.12-3.oc00 (21/08/2018)
Repository: Netlabs stable
commit 626abfdc108154c3ae149e82580779669fb63881 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Sep 3 15:14:18 2012 -0400 2.33.10 NEWS | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) commit 5d915a4a779e566431d0f268b63904d82e62f5bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:18:23 2012 +0200 Revert "Updated Spanish translation" This reverts commit bc036bf9789556f37b2872baaee3c126af7e6e3f. po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 791 insertions(+), 780 deletions(-) commit bc036bf9789556f37b2872baaee3c126af7e6e3f Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:15:35 2012 +0200 Updated Spanish translation po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 780 insertions(+), 791 deletions(-) commit d68609f9fd22e0e498f13fc7340075022f94ed48 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 10:06:13 2012 -0400 Revert "xdgmime: plug a small leak" This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8. The string actually does get freed somewhere else, at least in some cases. Can be looked at again later if this reintroduces a leak. https://bugzilla.gnome.org/show_bug.cgi?id=683270 gio/xdgmime/xdgmime.c | 1 - 1 file changed, 1 deletion(-) commit 857ac29c1fd785626281709051e4b3850493418c Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:06:57 2012 +0200 Updated Spanish translation po/es.po | 731 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 356 insertions(+), 375 deletions(-) commit 4d1b0d46dbf3f735a8808d66bc2d30baa9bd3947 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 08:56:10 2012 -0400 update .gitignore gobject/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit beb0f9c15058e2249ffed73747f11298e6949b84 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 20:43:54 2012 -0400 gio/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/appinfo.c | 2 ++ gio/tests/contexts.c | 13 ++++++++++++- gio/tests/converter-stream.c | 1 + gio/tests/file.c | 5 ++++- gio/tests/live-g-file.c | 21 +++++++++++++++++---- gio/tests/memory-input-stream.c | 3 +++ gio/tests/mimeapps.c | 1 + gio/tests/network-address.c | 1 + gio/tests/network-monitor.c | 26 +++++++++++++++++++++++++- gio/tests/proxy-test.c | 36 +++++++++++++++++++++++++++--------- gio/tests/unix-streams.c | 1 + 11 files changed, 94 insertions(+), 16 deletions(-) commit 17bb9d542cea2eeb3cb54cb583f671cf5e005631 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:38 2012 -0400 gio/tests/cancellable: fix to still work when running slowly The test was assuming that all cancelled ops would finish within a certain amount of time, but this often failed under valgrind. Instead, just run the loop until all of the ops have actually finished. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/cancellable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 568f7377088ea7836217f0bec917cc77e1210742 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:17 2012 -0400 gio/tests: port some stuff to g_test_expect_message() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/Makefile.am | 2 +- gio/tests/actions.c | 78 +++++++++++++++++++---------------------------- gio/tests/gdbus-message.c | 50 +++++++++++++++++------------- gio/tests/gsettings.c | 52 +++++++++++++++---------------- 4 files changed, 85 insertions(+), 97 deletions(-) commit 039ecf2bc613ea5687d1052a87c982163e506451 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:08:38 2012 -0400 g_file_copy: plug a leak The fallback copy code was leaking the GFileInfo if it didn't have G_FILE_ATTRIBUTE_STANDARD_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gfile.c | 1 + 1 file changed, 1 insertion(+) commit fa58cef826d8f3b6b3eb0cad230b0421ee35f8a2 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:06:46 2012 -0400 GDesktopAppInfo: fix leaks g_desktop_app_info_ensure_saved() was leaking the file contents. _g_desktop_app_info_launch_uris_internal() was leaking the session bus on error. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4e7031f073db2df7297feab35c9d353b0b3977d8 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:03:35 2012 -0400 xdgmime: plug a small leak https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/xdgmime/xdgmime.c | 1 + 1 file changed, 1 insertion(+) commit 03be681e08dc9e706d2d22df01fd4edb004a7577 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 16:53:13 2012 -0400 gobject/tests: plug leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/signals.c | 3 +++ gobject/tests/threadtests.c | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit e0cba35d4116c61035a0cbb403d89a04bbdb8963 Author: Dan Winship <danw@gnome.org> Date: Mon Aug 27 07:45:08 2012 -0400 gobject/tests: use g_test_expect_messages() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/Makefile.am | 3 +++ gobject/tests/ifaceproperties.c | 16 +++++++--------- gobject/tests/param.c | 15 +++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 7972485ca10ef7b45389832f3d8afcf1372c8991 Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Sep 3 10:16:21 2012 +0400 Updated Russian translation po/ru.po | 1522 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 824 insertions(+), 698 deletions(-) commit 7662dbe82b2a4010418586434756ad75169318b3 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Mon Sep 3 01:20:56 2012 +0200 Updated Polish translation po/pl.po | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a30f6a6eb82e896d5b1dc0921d1d8256ed7ec546 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 29 00:01:15 2012 -0400 Add new api to symbol lists and docs https://bugzilla.gnome.org/show_bug.cgi?id=682849 docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/gobject/gobject-sections.txt | 4 ++++ glib/glib.symbols | 2 ++ gobject/gobject.symbols | 4 ++++ 4 files changed, 13 insertions(+) commit d80d70458ad1711f9c1935a58df3eb9e04853464 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Sep 1 00:20:22 2012 -0400 Add a threaded test for g_object_replace_data This is the threaded atomic add test from glib/tests/atomic.c, redone using qdata instead of an atomic int to store the values. gobject/tests/Makefile.am | 1 + gobject/tests/qdata.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) commit 2fa77fb76c452755fe5f2a1ebe10f27583959250 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 23:56:01 2012 -0400 Add some tests for new object data api These are non-threaded, but the do test dup and destroy somewhat. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/tests/reference.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 1254ca716bf64ce97f6b47882493411883a41865 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:45:30 2012 -0400 Add an atomic compare-and-exchange operation for object data This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/gobject.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 30 ++++++++++ 2 files changed, 204 insertions(+), 1 deletion(-) commit 06e3a1d71afb66d573b20f17a575c345fb4b697f Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:44:00 2012 -0400 Add compare-and exchange for data lists Also, make it possible to get a 'new ref' on a datalist member in a race-free way. This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 glib/gdataset.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++------- glib/gdataset.h | 17 ++++- 2 files changed, 214 insertions(+), 26 deletions(-) commit 18e49c30f02da6d0e10a4dc72760cf3f05303588 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org> Date: Sun Sep 2 16:02:50 2012 +0300 Updated Latvian translation po/lv.po | 2467 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1281 insertions(+), 1186 deletions(-) commit b3beac08f592dcdf57181fcbdffd51fd8b9811f7 Author: Aurimas Černius <aurisc4@gmail.com> Date: Sun Sep 2 15:39:16 2012 +0300 Updated Lithuanian translation po/lt.po | 809 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 388 insertions(+), 421 deletions(-) commit 2d85894bc5e45b2a50e5a5784a99e4c31beea7ec Author: Paolo Borelli <pborelli@gnome.org> Date: Sun Sep 2 12:25:50 2012 +0200 Fix gtk-doc for g_app_info_get_supported_types gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724c8a18464cd3e2fb3547235cf1f82400bbf91e Author: Aleksander Morgado <aleksander@lanedo.com> Date: Fri Aug 31 11:41:53 2012 +0200 gdbus-codegen: avoid error when wrong interface is provided to --annotate If the interface given cannot be matched, `iface_obj' was left uninitialized and the iface_obj == None check would end up crashing: Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 41, in <module> sys.exit(codegen_main.codegen_main()) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main apply_annotations(all_ifaces, opts.annotate) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations apply_annotation(iface_list, iface, None, None, None, None, key, value) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation if iface_obj == None: UnboundLocalError: local variable 'iface_obj' referenced before assignment Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683088 gio/gdbus-2.0/codegen/codegen_main.py | 1 + 1 file changed, 1 insertion(+) commit c270b833a631ef5469d0dce787244ecf56386c5d Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 31 23:22:16 2012 -0400 Fix shell tests glib/tests/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e81ba25d396dd5596e242e22c06bbd71d9e17168 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Sat Sep 1 10:42:05 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 643 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 326 insertions(+), 317 deletions(-) commit e2596ba2432a6417df35faa4410f07698c4fbb8a Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:17:05 2012 +0700 Updated Vietnamese translation po/vi.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22eaa16b7f9e7fc5c9eee4b58449fbc6639f6ece Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:16:36 2012 +0700 po/vi: import from Damned Lies po/vi.po | 630 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 302 insertions(+), 328 deletions(-) commit aefcd5922fff0800460570c6521a7456778c93b4 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 31 21:00:52 2012 +0200 Updated Galician translations po/gl.po | 665 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 337 insertions(+), 328 deletions(-) commit 55f7061097c3a7e6a381089dab65b9eed642408c Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Aug 20 06:02:31 2012 +0200 Bump max time in test_method_calls_on_proxy() test On slower platforms, the overhead of the 240 D-BUS Sleep calls is larger than the current maximum of 6 seconds. A run on a Panda board sometimes fails with ERROR:/build/buildd/glib2.0-2.33.8/./gio/tests/gdbus-threading.c:409:test_method_calls_on_proxy: assertion failed (elapsed_msec < 6000): (7365 < 6000) Bump maximum time to 8 seconds to be more resilient to this. https://bugzilla.gnome.org/show_bug.cgi?id=682222 gio/tests/gdbus-threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8297e8a3a0d63a69fd923219031438698a118759 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Aug 31 11:08:42 2012 +0300 Updated Greek translation po/el.po | 1946 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1017 insertions(+), 929 deletions(-) commit eec52a18c029fc4f494e92a59f3cd6665f0f1bbd Author: Piotr Drąg <piotrdrag@gmail.com> Date: Thu Aug 30 17:59:33 2012 +0200 Updated Polish translation po/pl.po | 639 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 323 insertions(+), 316 deletions(-) commit 40b4fae42e8c8ad306a1fab93a1e263354fef3d5 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 19:22:01 2012 -0400 Add ability to get symbolic icon for content type https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 1 + gio/gcontenttype.c | 79 ++++++++++++++++++++++++++++--------- gio/gcontenttype.h | 1 + gio/gio.symbols | 1 + gio/glocalfileinfo.c | 75 ++++++++++++++++++++++------------- 5 files changed, 110 insertions(+), 47 deletions(-) commit a15a071f35f2743451aa98b2b069b7eca975c7ea Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 18:56:53 2012 -0400 Add symbolic icon support to gfileinfo https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 3 ++ gio/gfileinfo-priv.h | 1 + gio/gfileinfo.c | 58 ++++++++++++++++++++++ gio/gfileinfo.h | 14 ++++++ gio/gio.symbols | 2 + gio/glocalfileinfo.c | 97 +++++++++++++++++++++++++++++-------- 6 files changed, 154 insertions(+), 21 deletions(-) commit a2dca48bf75efcc684cfc670b4552a2c5c77d1a2 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 15:37:43 2012 -0400 Add symbolic icon support to drive, volume, and mount We need symbolic icon support for display in Nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 5 +++ gio/gdrive.c | 30 ++++++++++++++++ gio/gdrive.h | 4 +++ gio/gio.symbols | 5 +++ gio/gmount.c | 32 +++++++++++++++++ gio/gmount.h | 3 ++ gio/gunixmount.c | 12 +++++++ gio/gunixmounts.c | 71 +++++++++++++++++++++++++------------ gio/gunixmounts.h | 4 +++ gio/gunixvolume.c | 11 ++++++ gio/gvolume.c | 32 +++++++++++++++++ gio/gvolume.h | 3 ++ gio/gwin32mount.c | 35 +++++++++++++----- 13 files changed, 217 insertions(+), 30 deletions(-) commit 88d181ef18b50018d4645870bc6d0a1283177f68 Author: Rui Matos <tiagomatos@gmail.com> Date: Wed Aug 29 19:18:45 2012 +0200 gdbus-tool: Check return value of strrchr() Fixes a crash when invoking gdbus like: $ gdbus emit --session -o / -s Foo https://bugzilla.gnome.org/show_bug.cgi?id=682965 gio/gdbus-tool.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5328f760ee80ced5dc44ed9c0e388ee00d7bf42d Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Aug 30 17:14:13 2012 +0800 Update gspawn-win*helper* Visual C++ projects Add GLIB_COMPILATION to the preprocessor definitions to fix the build. build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper.vcproj | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 6e4acf44b3a943906432a2bf55223ac107d8e0c2 Author: Dominique Leuenberger <dimstar@opensuse.org> Date: Fri Aug 17 11:10:41 2012 +0200 gshell: Fix parsing of comments in command lines. Fixes bug 562907 glib/gshell.c | 18 ++++++++++++++++++ glib/tests/shell.c | 2 ++ 2 files changed, 20 insertions(+) commit 9bca5bb49f0fc0585335abf476b7082e654878b6 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Aug 29 14:46:11 2012 -0400 appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris The files/uris parameters for these functions can be NULL, so we need an allow-none annotation here. gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e64ba58b90d1d834a6b5f61acec6755e4b80072 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:30:06 2012 -0400 Switch all open() calls to use g_open() Because it now handles EINTR. And we should do so. While most people use Linux, which tries very hard to avoid propagating EINTR back up into userspace, it can still happen. https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/glocalfile.c | 2 +- gio/glocalfileinfo.c | 4 ++-- gio/gresource-tool.c | 3 ++- gio/tests/gdbus-peer.c | 2 +- gio/tests/pollable.c | 3 ++- glib/giounix.c | 8 ++------ glib/gtestutils.c | 3 ++- glib/tests/mappedfile.c | 5 +++-- gobject/glib-genmarshal.c | 3 ++- 9 files changed, 17 insertions(+), 16 deletions(-) commit 2542b6f60492fadfb21f2c4a29976c3494c7e6c5 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:22:26 2012 -0400 xdgmime: Handle EINTR in open() https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/xdgmime/xdgmimecache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 62570a52b179fc521209444926d7945fc31210a4 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:29 2012 -0400 gio: don't quote quark names for G_DEFINE_QUARK gio/gioerror.c | 2 +- gio/gresolver.c | 2 +- gio/gresource.c | 2 +- gio/gtlsconnection.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4b602940e2c46d9f91acf91f67a6cd0b6ea05e13 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:56 2012 -0400 glib: don't quote quark names for G_DEFINE_QUARK glib/gbookmarkfile.c | 2 +- glib/gconvert.c | 2 +- glib/gfileutils.c | 2 +- glib/giochannel.c | 2 +- glib/gkeyfile.c | 2 +- glib/glib-unix.c | 2 +- glib/gmarkup.c | 2 +- glib/goption.c | 2 +- glib/gregex.c | 2 +- glib/gshell.c | 2 +- glib/gspawn-win32.c | 4 ++-- glib/gspawn.c | 4 ++-- glib/gthread.c | 2 +- glib/gvariant-parser.c | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) commit daae12710a890b974e57cc806b275248760ce131 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:14:35 2012 -0400 gquark: clarify G_DEFINE_QUARK docs about the use of quotes Use the term "name" instead of "string" in the documentation, and add a note explaining double quotes shouldn't be used for the quark name. glib/gquark.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 369c7689c24154ac04ac1dd528f99164fafb0541 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 05:52:24 2012 -0400 Add missing includes glib/gmarkup.c | 1 + glib/gshell.c | 1 + glib/gspawn-win32.c | 1 + glib/gspawn.c | 1 + glib/gvariant-parser.c | 1 + 5 files changed, 5 insertions(+) commit 60d2cb665ef4bc751b4a4a940ec2f336f57b5535 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:42:12 2012 -0400 Use G_DEFINE_QUARK for quarks in GIO gio/gioerror.c | 8 ++------ gio/gresolver.c | 7 +------ gio/gresource.c | 6 +----- gio/gtlsconnection.c | 7 +------ 4 files changed, 5 insertions(+), 23 deletions(-) commit b7d1518ce9f337a7ede1a659de31ff81dafcbac5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:37:41 2012 -0400 Fix a typo in a doc comment glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f12f7c029d8a4e7eaca633cb7e71c82a08be28d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:36:42 2012 -0400 Use G_DEFINE_QUARK for GLib's own quarks This commit just deals with glib/. gobject/ and gio/ will be handled in separate commits. glib/gbookmarkfile.c | 10 +--------- glib/gconvert.c | 6 +----- glib/gfileutils.c | 6 +----- glib/giochannel.c | 7 ++----- glib/gkeyfile.c | 7 +------ glib/glib-unix.c | 6 +----- glib/gmarkup.c | 6 +----- glib/goption.c | 7 +------ glib/gregex.c | 11 +---------- glib/gshell.c | 6 +----- glib/gspawn-win32.c | 13 ++----------- glib/gspawn.c | 13 ++----------- glib/gthread.c | 6 +----- glib/gvariant-parser.c | 11 +---------- 14 files changed, 17 insertions(+), 98 deletions(-) commit 702b44886572c657d552f3ec15e9794acd4265e5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:34:30 2012 -0400 Add a G_DEFINE_QUARK macro https://bugzilla.gnome.org/show_bug.cgi?id=627240 docs/reference/glib/glib-sections.txt | 1 + glib/gquark.c | 12 ++++++++++++ glib/gquark.h | 13 +++++++++++++ 3 files changed, 26 insertions(+) commit a1ff18582da002c93150d48f70aeab8b340f73ff Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:16:25 2012 -0400 Put quarks in their own source file Just because I'm too lazy to grep every single time for the other source file in which the quark code is hiding. glib/Makefile.am | 1 + glib/gdataset.c | 299 +---------------------------------------------- glib/gquark.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 349 insertions(+), 298 deletions(-) commit 030ebfb93b4c4c4525341ef81f9c548fcc6d8921 Author: Daiki Ueno <ueno@unixuser.org> Date: Fri Aug 24 15:43:02 2012 +0900 gsettings-tool: make list-recursively really recurse https://bugzilla.gnome.org/show_bug.cgi?id=682586 gio/gsettings-tool.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit a55298941072697324ac34990ebf455271f1b35b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 23:50:09 2012 -0400 GFile: Cosmetic doc changes gio/gfile.c | 5031 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2589 insertions(+), 2442 deletions(-) commit 0149f44f4a3c8874b8327eddcd58561f5707220a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:36:18 2012 -0400 Fix the GDBusProxy async test Patch by Mike Gorse, bug https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 2 -- 1 file changed, 2 deletions(-) commit 7e07ea8189547f7e044c418c914c4bc26f9cf6a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:35:56 2012 -0400 Make async permission tests work gio/tests/permission.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 375943ea215871c0fe6d1d02e970cb2d71c8445c Author: Mike Gorse <mgorse@suse.com> Date: Thu Apr 26 16:06:34 2012 -0500 Fix the gdbus-proxy async test The async test had several problems: - It created a proxy and did not launch a main loop, meaning that its callback would usually not get called, or, if it did get called, the test harness would have taken down the connection already, causing an assertion failure when the proxy had an error. - It was dependent on the proxy test to set up the server and would fail because some properties were modified by that test. https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) commit ce976bcac7294e72b3e94dda17fe5dfb157770d4 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 14:37:21 2012 -0400 gstdio: Harden g_open() against EINTR Noticed by code inspection, when auditing some of my code for EINTR handling. https://bugzilla.gnome.org/show_bug.cgi?id=682819 glib/gstdio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d54e10632a575963790d50661ae75692bb159b37 Author: Colin Walters <walters@verbum.org> Date: Wed Mar 28 13:53:37 2012 -0400 gvariant: Add tests for exact SHA256 checksums I'd like to use GVariant as a data format in my userspace filesystem, and having the actual bits be stable means I can reliably compute cryptographic checksums. This updated patch removes vardict checks, because Ryan wants the flexibility to change them in the future. https://bugzilla.gnome.org/show_bug.cgi?id=673012 glib/tests/gvariant.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 7936af693477f5b8dfeef4e0d90e6fa4531cf395 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 27 16:12:30 2012 -0400 GVariantType: gut g_variant_type_check() This function is causing an insane amount of wasted time on some real-world profiles and it's pretty useless since we already have GVariantType (as a type different from a string) for the purpose of static type safety. Disable it for now. We can possibly turn this back on again if we solve bug #544026. https://bugzilla.gnome.org/show_bug.cgi?id=679835 glib/gvarianttype.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b53e95f3eb98fc7ba1527e225c32bb4ee2892746 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Mon Aug 27 23:39:52 2012 +0530 Implemented FUEL entries to Assamese translation po/as.po | 260 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 130 insertions(+), 130 deletions(-) commit 1a2c5e155deacb7ebeb8d0ca2c800a97a90a7ab9 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:48:49 2012 -0400 glib/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/tests/asyncqueue.c | 4 + glib/tests/bookmarkfile.c | 3 +- glib/tests/checksum.c | 13 +- glib/tests/collate.c | 15 +- glib/tests/cond.c | 9 + glib/tests/convert.c | 1 + glib/tests/dataset.c | 2 + glib/tests/fileutils.c | 2 + glib/tests/gwakeuptest.c | 1 + glib/tests/mainloop.c | 33 +- glib/tests/markup-parse.c | 3 +- glib/tests/option-context.c | 8 +- glib/tests/queue.c | 6 +- glib/tests/regex.c | 963 ++++++++++++++++++++------------------- glib/tests/spawn-multithreaded.c | 7 +- glib/tests/spawn-singlethread.c | 8 +- glib/tests/string.c | 2 + glib/tests/timeout.c | 6 +- glib/tests/unix.c | 4 +- 19 files changed, 596 insertions(+), 494 deletions(-) commit 0c0cdfd9c4a9d57aae0fb50b5e18cab6ba9e1a76 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:29:36 2012 -0400 gtestutils: add g_test_add_data_func_full() Like g_test_add_data_func(), but includes a GDestroyNotify for the test data. https://bugzilla.gnome.org/show_bug.cgi?id=682560 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gtestutils.c | 28 ++++++++++++++++++++++++++++ glib/gtestutils.h | 7 +++++++ 4 files changed, 37 insertions(+) commit 242737822357c9a686df69bdb888b0d42caf1d5c Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:38:17 2012 -0400 gmain: remove unix signal watch if its GSourceFunc returns FALSE g_unix_signal_watch_dispatch() was ignore the callback's return value. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 99c7c951d99c180a5f5832d922b4f3f58380a1cd Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:35:20 2012 -0400 gmain: don't leak child sources that are destroyed before their parents A parent source holds refs on its children, so if the child source is destroyed, we need to drop that ref. Fix, and reorganize to make this all more obvious. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 48a9887eae1058b055994c832b26a8ab9876db57 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:33:43 2012 -0400 gmain: free source_lists when freeing GMainContext If a context was freed with sources still attached, those sources correctly got destroyed, but the corresponding GSourceList structs were being leaked. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b901aaf6731d836b036aa1cee63087aa3fdc0768 Author: Dan Winship <danw@gnome.org> Date: Sun Aug 26 14:40:13 2012 -0400 Update .gitignores gio/tests/.gitignore | 2 ++ tests/.gitignore | 1 + 2 files changed, 3 insertions(+) commit ac7c050d377f6815534074b855cdf74f02cf96b2 Author: Colin Walters <walters@verbum.org> Date: Sat Aug 25 17:13:43 2012 -0400 docs: Ensure CLEANFILES is set before we use += We need to be defensive about this in the case where gtk-doc.make is empty. docs/reference/gio/Makefile.am | 1 + docs/reference/glib/Makefile.am | 1 + docs/reference/gobject/Makefile.am | 1 + 3 files changed, 3 insertions(+) commit dbad8304ff123f7fe242bdd8a8cfcb7eef8afce6 Author: William Jon McCann <jmccann@redhat.com> Date: Fri Aug 24 13:32:25 2012 -0400 Don't crash if set_app_info is called before adding metadata set_mime_type, set_is_private, add_group, set_groups, set_icon, etc all added metadata before using it. If set_app_info was called before any of those it would crash when trying to access the metadata. glib/gbookmarkfile.c | 3 +++ 1 file changed, 3 insertions(+) commit dbf9f7a2882c240fe48ab441de7e015638686ccc Author: OKANO Takayoshi <kano@na.rim.or.jp> Date: Thu Aug 23 19:15:09 2012 +0900 [l10n] Update Japanese translation po/ja.po | 1174 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 680 insertions(+), 494 deletions(-) commit 462c48acad4efe9db5afd3c7d8e3e0342a591bea Author: A S Alam <aalam@users.sf.net> Date: Thu Aug 23 07:57:51 2012 +0530 update Punjabi Translation po/pa.po | 1401 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 764 insertions(+), 637 deletions(-) commit 12494f697ffd2117ec607d62a04c5a97e32e8482 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Aug 22 22:36:15 2012 +0200 Updated Polish translation po/pl.po | 1039 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 585 insertions(+), 454 deletions(-) commit 0b6fdff05cc10f5e639a39dd4b79e01a025ad2d5 Author: Colin Walters <walters@verbum.org> Date: Wed Aug 22 14:48:41 2012 -0400 Fix regression when TMPDIR/TMP are unset We should just be returning /tmp as a default, not calling g_getenv ("/tmp") which makes no sense. https://bugzilla.gnome.org/show_bug.cgi?id=672329 glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad20e074c4aa6492c5334870515f48c3a23e051c Author: Kjartan Maraas <kmaraas@gnome.org> Date: Wed Aug 22 10:29:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 225 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 116 insertions(+), 109 deletions(-) commit e77f3ea0d8194e421fc7dd18032622f8b8a85c2e Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 09:15:00 2012 +0700 Updated Vietnamese translation po/vi.po | 90 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 37 insertions(+), 53 deletions(-) commit eab38232de82ae19cc3c12a67861e0f1d82191ca Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 08:51:44 2012 +0700 po/vi: imported from Damned Lies po/vi.po | 952 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 543 insertions(+), 409 deletions(-) commit 4a89e2ee7d7a46a52272a6b4197cb3af998d0a49 Author: Duarte Loreto <happyguy_pt@hotmail.com> Date: Wed Aug 22 00:54:09 2012 +0100 Updated Portuguese translation po/pt.po | 1260 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 715 insertions(+), 545 deletions(-) commit 221bbd8d76670d00f7b574ac77ca49ef9a9fb4dd Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 21 16:32:17 2012 -0400 *bump* thanks rico :) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3655be2111ee38839fe2a1fd001923d1d4ad7be Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Aug 21 21:10:16 2012 +0200 win32: fix tests/sources.c "make check" was failing on sys/resource.h not being available on win32. Seeing that this test just spews some numbers on stdout whithout really testing anything we can safely replace them with similar enough numbers by relying on g_get_monotonic_time (). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682386 tests/sources.c | 78 +++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) commit 7518f7a674723ded4cbb32d780c594c5d515af70 Author: Stef Walter <stefw@gnome.org> Date: Tue Aug 21 13:26:27 2012 +0200 Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props" * In order to add contstruct properties to an abstract base calls, and retain ABI stability, the base class must add a default implementation of those properties. * We cannot add a default implementation of certificate-bytes or private-key-bytes since certificate and private-key properties are writable on construct-only. This reverts commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0. https://bugzilla.gnome.org/show_bug.cgi?id=682081 gio/gdummytlsbackend.c | 4 --- gio/gtlscertificate.c | 59 +++++++++------------------------------------ gio/tests/gtesttlsbackend.c | 6 ----- 3 files changed, 11 insertions(+), 58 deletions(-) commit a8c784df58b7af490d0b08e74bd6f1085da692df Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 17 10:55:10 2012 +0200 gdbus: Fix double free and use after free of object path * This occurs when the 'g-object-path' property is read on a GDBusObjectSkeleton https://bugzilla.gnome.org/show_bug.cgi?id=682075 gio/gdbusobjectskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2222b657ded5b0c59999f63ff74534726235d7eb Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 21 19:16:27 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 81 +++++++++++++++++++++++++++++-------------------------------- po/zh_TW.po | 81 +++++++++++++++++++++++++++++-------------------------------- 2 files changed, 78 insertions(+), 84 deletions(-) commit 0d8a81b722e18092062f83b7fd8c0b3a5f4d613a Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 20 19:46:33 2012 +0200 mount-op: use gint64 instead of guint64 for time_left and bytes_left Since those can be -1, they need to be signed. https://bugzilla.gnome.org/show_bug.cgi?id=682284 gio/gmountoperation.c | 9 +++++---- gio/gmountoperation.h | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) commit ac8c13d25c86e62f04bbfb7ac21fc9fb6eb02337 Author: Andika Triwidada <andika@gmail.com> Date: Tue Aug 21 13:53:46 2012 +0700 Updated Indonesian translation po/id.po | 90 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 44 deletions(-) commit ed40bf6715763045457cd6123b3882222c818cde Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:25 2012 -0400 NEWS, versions, etc. NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit 59394b3e1e3b3907b4dc18de4067e5476b4c1649 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:46 2012 -0400 Revert the GMarkup attribute collect changes We need to have some more discussion on this topic. This reverts commits 86329ba44fc7662c0bad37955f0ec980a24be495 and 8d40389d15544bdc612989157f80380badce52f7. https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 - gio/gdbusintrospection.c | 100 ++++++++-------- glib/glib.symbols | 1 - glib/gmarkup.c | 218 +++++++++++----------------------- glib/gmarkup.h | 9 -- glib/tests/markup-collect.c | 125 +++++++------------ 6 files changed, 165 insertions(+), 289 deletions(-) commit 850680d751812e3d7fbc4052a8c56ad90e20a3fa Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 17:57:13 2012 -0400 gmarkup test: fix use of message expect API glib/tests/markup-collect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56210220a2c86b099ca7757b67a3ef7fb2366d3d Author: Dan Winship <danw@gnome.org> Date: Mon Aug 20 17:26:45 2012 -0400 tests/protocol: update the messages to reflect G_LOG_DOMAIN being set now glib/tests/protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d06c7a911ea28d9d8019b901f71bd12cfa2dd64d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 16:25:09 2012 -0400 g_test_expect_message: add some g_return_if_fail NULL domain is not supported and some might expect this to work, so make sure they don't get the wrong idea... glib/gmessages.c | 4 ++++ 1 file changed, 4 insertions(+) commit 07fadc7932713145ec429394c9ebf2a87bd09b75 Author: Lars Uebernickel <lars.uebernickel@canonical.com> Date: Mon Aug 20 14:32:14 2012 +0200 GMenuModel: add test for the new GMenuItem API gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6798fcdd0f3c1b96c3c0e8561ea81e9a05f2005f Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:24:46 2012 -0400 GMenuItem: add constructor to copy from model Add g_menu_item_new_from_model() for constructing a GMenuItem that is a copy of a menu item that's in a GMenuModel. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmenu.c | 87 +++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 4 ++ 4 files changed, 93 insertions(+) commit 99478dd893fab44f3672cbacce3c87b6dec3bb58 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:20:59 2012 -0400 GMenuItem: add getter APIs GMenuItem has been write-only up to this point. Add some APIs for reading back values as well. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gmenu.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 13 ++++ 4 files changed, 137 insertions(+) commit ad79b0f8efdb72e9c4b337dffa62521e7fa2a89a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:14:21 2012 -0400 GMenuModel: remove a type safety bug There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it. gio/gmenumodel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 34653169e5653b95d61c461f088e6016f042d08a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:12:55 2012 -0400 GVariant: add g_variant_check_format_string() For some time now people have been asking for a way to check for type compatibility between GVariant instances and format strings. There are several APIs inside of GLib itself that would benefit from this. This patch introduces a way to do that. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 104 ++++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +- glib/tests/gvariant.c | 54 ++++++++++++++++++ 5 files changed, 163 insertions(+), 1 deletion(-) commit 6a6b64ef4d9f2985eaf1cb727398019359b4b4f4 Author: Aurimas Černius <aurisc4@gmail.com> Date: Mon Aug 20 23:10:25 2012 +0300 Updated Lithuanian translation po/lt.po | 1694 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 847 insertions(+), 847 deletions(-) commit cc24dac3c8edbe2068ba15522bb5d937602082dc Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:38:30 2012 -0400 glib/tests: use g_test_expect_message() Replace some tests that used to use g_test_trap_fork() with g_test_expect_message() instead. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/Makefile.am | 1 + glib/tests/error.c | 45 ++++++------ glib/tests/gvariant.c | 56 ++++++++------- glib/tests/mainloop.c | 11 ++- glib/tests/markup-collect.c | 20 +++--- glib/tests/strfuncs.c | 163 ++++++++++++++++++++++---------------------- 6 files changed, 159 insertions(+), 137 deletions(-) commit 25ac137c0a47ccc5214dabeaa41da18dac2b0cee Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:05:08 2012 -0400 gtestutils: add g_text_expect_message() Add g_test_expect_message() and g_test_assert_expected_messages(), to allow tests of warnings, error messages, return-if-fails, etc. https://bugzilla.gnome.org/show_bug.cgi?id=679556 docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 2 + glib/gmessages.c | 466 +++++++++++++++++++++------------- glib/gtestutils.h | 10 + glib/tests/testing.c | 86 +++++++ 5 files changed, 397 insertions(+), 171 deletions(-) commit 78a8aecbb339f620e87711389f56308c219d443f Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 15:32:31 2012 -0400 g_logv: only expand the message once Hoist the g_strdup_printf()'ing out of the loop, since the message is the same for every handler that gets called. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/gmessages.c | 60 +++++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit f78931c4abf217fce0eca890da411c1c1c983d45 Author: Dan Winship <danw@gnome.org> Date: Wed Aug 1 09:49:10 2012 -0400 glib/tests/testing, logging: don't use g_test_undefined() We are verifying the behavior of the test/logging functions here; this is not undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/logging.c | 54 ++++++++++++++++++++-------------------------------- glib/tests/testing.c | 32 ++++++++++--------------------- 2 files changed, 31 insertions(+), 55 deletions(-) commit d9f6314f57cad9940938165421c1efc09636147b Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 02:04:08 2012 +0200 win32: add pipe-io-cancel-test Test that win32 streams can be cancelled. It can even be tested with wine on Linux! https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/tests/win32-streams.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit b9b2cf6a666af907d775a871d76b5b6871b4a6bd Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:02:40 2012 +0200 win32: add pipe-io-concurrent Implement test case suggested by Ryan Lortie on bug: https://bugzilla.gnome.org/show_bug.cgi?id=679288 "There is a potential race here that's really unlikely to happen, but here we go: We are trying to read from the same socket in two threads. Some data comes. That causes the poll() in both threads (above) to finish running. Then the cancellable is checked above. We now find ourselves here. Only one thread will read the data. The other will block on this function. Then the user may cancel the cancellable while we are blocked here, but we will stay blocked...." gio/tests/win32-streams.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 1c1ba8b5122295651400eed3f3fb3b9f69f0ac47 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Aug 20 15:47:15 2012 +0200 win32: add pipe-io-overlap-test gio/tests/win32-streams.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit b9d7b80897d79cb43c4a795c7d9d3d9a24e140cc Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Fri Jul 6 00:46:32 2012 +0200 win32: make gio stream cancellable v2: - fix cancellation of concurrent readers - replace g_assert() usage with g_warn_if_fail() v3: - fix indentation - fix loop code to not leak (silly me) https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 4b5d762d5d73af90de49801ecc1da52d4cd86d6f Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:08:15 2012 +0200 win32: handle ERROR_MORE_DATA If a named pipe is being read in message mode and the next message is longer than the nNumberOfBytesToRead parameter specifies, ReadFile returns FALSE and GetLastError returns ERROR_MORE_DATA. Since the API doesn't allow to return both a GError and the number of bytes read so far, it makes more sense to return nread, and let the client call GetLastError() himself to check if ERROR_MORE_DATA. The current alternative loses the nread information. https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gwin32inputstream.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 23d80a04da43c08f4ea626283607a7546d7a56db Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 2 21:45:41 2012 +0200 win32: use overlapped events for streams Any file handle created with FLAG_OVERLAPPED must have ReadFile()/WriteFile() called with an OVERLAPPED structure. Failing to do so will give unspecified results, invalid read/write or corruption. Without FLAG_OVERLAPPED, it is not possible to read and write concurrently, even with two seperate threads, created by 2 input and output gio streams. Also, only with FLAG_OVERLAPPED may an IO operation be asynchronous and thus be cancellable. We may want to call ReOpenFile() to make sure the FLAG is set, but this API is only available since Vista+. According to MSDN doc, adding the OVERLAPPED argument for IO operation on handles without FLAG_OVERLAPPED is allowed, and indeed the existing test still passes. v2: - update GetLastError() after _g_win32_overlap_wait_result () - split the unrelated ERROR_MORE_DATA handling https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 28 +++++++++++++++++++++++ gio/gasynchelper.h | 11 +++++++++ gio/gwin32inputstream.c | 58 ++++++++++++++++++++++++++++++++++++------------ gio/gwin32outputstream.c | 53 ++++++++++++++++++++++++++++++++----------- 4 files changed, 123 insertions(+), 27 deletions(-) commit 96a0c589eec8e66f0d879c2a0979df6fd2c23dde Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> Date: Mon Aug 20 16:41:42 2012 +0200 gmem.c: array is only paritally filled by memcpy The size of the local_data arrray is too large. It should not be multiplied by the sizeof guint. The memcpy of profile_data to local_data later will only fill a part of the array. Spotted with the PVS-Studio static analyzer https://bugzilla.gnome.org/show_bug.cgi?id=681501 glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248cc2c8858a2c60b9aaaa7706ef3a7f5bce84cc Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Aug 20 14:15:39 2012 +0200 Updated Spanish translation po/es.po | 348 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 190 insertions(+), 158 deletions(-) commit cbf346ce53887e7e40f38c0945f94ff672fa114e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:27:04 2012 -0400 Remove some more 'the the' gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:42 2012 -0400 Improve test coverage for GSocketConnection gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) commit cc5d7ccdba6e46548a1e895db1d8dab3409278b8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:05 2012 -0400 Improve test coverage for unix socket addresses gio/tests/unix-fd.c | 4 ++++ 1 file changed, 4 insertions(+) commit 63eaeb223b9b773e055acc1a8fc7637e4a676b82 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:37 2012 -0400 Improve test coverage for resources gio/tests/resources.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit beea8c5c847a7bf46ae77d834ed7cc3fb6822c5c Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:21 2012 -0400 Improve test coverage for filter streams gio/tests/filter-streams.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit b22f4a2dd2c05038f45485b850f3ba04bf28afb9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:02 2012 -0400 Improve test coverage for unix streams gio/tests/unix-streams.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 3afec2b87282b25233add6bcdfb9af4657f40ddd Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:44 2012 -0400 Improve test coverage for pollable streams gio/tests/pollable.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit eeb4951c47d6a869d50590a9a81afbb99f63b5f3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:04 2012 -0400 Improve GSettings test coverage gio/tests/gsettings.c | 81 +++++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 2 files changed, 83 insertions(+), 1 deletion(-) commit f89e9deaec3bf279eac5073a30d6d3d7b2a1568b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:23:32 2012 -0400 Improve GAppInfo test coverage gio/tests/appinfo-test.desktop | 8 ++++-- gio/tests/appinfo.c | 60 +++++++++++++++++++++++++++++++++++++++++- gio/tests/mimeapps.c | 21 ++++++++++++--- 3 files changed, 83 insertions(+), 6 deletions(-) commit 35bf77445bcce900fa6007290ac8226107763b94 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:59 2012 -0400 Add some GInetAddress tests gio/tests/Makefile.am | 4 + gio/tests/inet-address.c | 365 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) commit 867ad1cebc002d881e9e113277e8ea2e03cdaaf1 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:33 2012 -0400 Add some GPermission tests gio/tests/Makefile.am | 4 ++ gio/tests/permission.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) commit 2687d921e15e4aead3af4867fcd6220088085d7a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:21:02 2012 -0400 Cosmetic change gtk-doc doesn't need <!-- --> anymore to recognize plural forms of links. gio/gpollableinputstream.c | 2 +- gio/gpollableoutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dbcd27eeea8181810c8ddefd116ce474bea8496 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:19:27 2012 -0400 Make GPermission more forgiving It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error. gio/gpermission.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) commit 4a8740d0d23077cf9be99dfd3cf583ba33595279 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:17:47 2012 -0400 It is 'registered', not 'registred' gio/gresource.c | 12 ++++++------ gobject/gparam.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit e27367f341e56bd951ea4b6fb42ef23cd0598c65 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:15:58 2012 -0400 Exterminate 'the the' gio/gdbusprivate.c | 2 +- gio/gioenums.h | 2 +- gio/gproxyaddress.c | 2 +- gio/gzlibcompressor.c | 2 +- glib/gmain.c | 14 +++++++------- glib/gmarkup.c | 2 +- glib/gspawn.h | 2 +- gobject/gvalue.h | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) commit 96ed9e41f436412dbc0628cf45ecd460e9823089 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:42:10 2012 -0400 Improve utils test coverage glib/tests/utils.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit cb8f88ca9fc87a65c7df69164e0ea8a905fc224b Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:48 2012 -0400 Improve uri test coverage glib/tests/uri.c | 3 +++ 1 file changed, 3 insertions(+) commit 2c338e21d6f86bad96283d5388991dc4c4b34361 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:35 2012 -0400 Improve strfuncs tests coverage glib/tests/strfuncs.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 58c7747c50c98331769bc4d68f341652c42063c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:23 2012 -0400 Improve GRegex test coverage glib/tests/regex.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a7e10fa0b6c1772b8be49f17bb3e1eeb3477c26c Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:07 2012 -0400 Improve GPrivate test coverage glib/tests/private.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit aad40b89fe0539eede3a66e2fe2fc8b9c8f5c420 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:33 2012 -0400 Improve file utils test coverage glib/tests/fileutils.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) commit 6e1d205ad30e9a3c031d0660f909dbed8665dee4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:15 2012 -0400 Improve GError test coverage glib/tests/error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e181234fe5bbf80be3973d4803bce68887a771c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:52 2012 -0400 Improve atomic ops test coverage glib/tests/atomic.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06d837b6a3ac59f8e997d9f745136d48b85ecb38 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:28 2012 -0400 Improve array test coverage glib/tests/array-test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 373dcaea567281b977e76d812a73d2ee201d2745 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:38:53 2012 -0400 Improve threadpool test coverage tests/threadpool-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a946892b1e80aabcf33eb9783ce1cacaf6162e97 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 17 23:17:51 2012 +0200 Updated Galician translations po/gl.po | 550 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 276 insertions(+), 274 deletions(-) commit 2360d04e50d744a6db42a0a24418ecd272b45a8e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Thu Aug 16 22:06:45 2012 -0400 Fix problems with CLEANFILES and automake-1.11.1 Running with automake-1.11.1, a couple fixes are needed for CLEANFILES when gtk-doc is not installed. (Found with Amazon Linux AMI release 2012.03) https://bugzilla.gnome.org/show_bug.cgi?id=682067 autogen.sh | 5 ++++- glib/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit fdcdcf4f2f7a382d8b8d00842524bbd9aa82d3e0 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:43:40 2012 +0530 Updated Telugu Translations po/te.po | 104 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 57 deletions(-) commit a53ccea814fa052a7d2aaa543cf2483b4f455cb4 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:22:00 2012 +0530 Updated Telugu Translations po/te.po | 1077 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 628 insertions(+), 449 deletions(-) commit 2954f70d39198e67ff6a364a4f5c275381af1a75 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Fri Aug 17 19:22:43 2012 +0800 Fix build on Visual C++ -glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not be universally available. -gio/gtestdbus.c: Include io.h on Windows for close() gio/gtestdbus.c | 3 +++ glib/gmarkup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 69124b2dc4587f9c978648e38c548c50352ef930 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Fri Aug 17 12:59:44 2012 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 253 +++++++++++++++++++++++++++++++-------------------------- 2 files changed, 278 insertions(+), 228 deletions(-) commit f116437c7e73035a72ce45cb47c4518df604711a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Aug 17 14:22:32 2012 +0530 Assamese translation updated po/as.po | 318 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 147 deletions(-) commit 56e9f896c691cb99ebd4f4d20a507760c0f445fa Author: Sandeep Sheshrao Shedmake <sshedmak@redhat.com> Date: Fri Aug 17 12:24:15 2012 +0530 Updated Marathi Translations po/mr.po | 1372 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 780 insertions(+), 592 deletions(-) commit 86a4fd6fa98de29f7ee05ba655a00e4c42f11756 Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 11:15:08 2012 +0000 docs: Describe GCompletion item memory management https://bugzilla.gnome.org/show_bug.cgi?id=600751 glib/deprecated/gcompletion.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit b13a79aeb45e0630482202372e136ea264a24e5f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 01:14:51 2012 -0400 Adapt schema tests to changed error messages gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 056d39c9f7e058397beaed7b4f5637857510b4e2 Author: Colin Walters <walters@verbum.org> Date: Tue May 29 18:54:58 2012 -0400 GMappedFile: Add g_mapped_file_get_bytes() This is yet another API that has a data/length/refcount combination that one might often want to turn into a GBytes. https://bugzilla.gnome.org/show_bug.cgi?id=677065 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmappedfile.c | 24 ++++++++++++++++++++++++ glib/gmappedfile.h | 2 ++ glib/tests/mappedfile.c | 19 +++++++++++++++++++ 5 files changed, 47 insertions(+) commit b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 00:27:10 2012 -0400 GDateTime: pack the struct better Makes a difference in 32bit. glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 86329ba44fc7662c0bad37955f0ec980a24be495 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:41:19 2012 -0400 gdbus: Use g_markup_collect_known_attributes() in GDBus introspection In order to be able to cope with the introspection XML from the Telepathy specification, which uses attributes like tp:type and tp:name-for-bindings, we need to ignore unknown attributes when parsing. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 100 ++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-) commit 8d40389d15544bdc612989157f80380badce52f7 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:40:08 2012 -0400 gmarkup: Add g_markup_collect_known_attributes() Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmarkup.c | 218 +++++++++++++++++++++++----------- glib/gmarkup.h | 9 ++ glib/tests/markup-collect.c | 125 ++++++++++++------- 5 files changed, 242 insertions(+), 112 deletions(-) commit 21aff13d22257ae786bbf39bd68f24f448205bfc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:23:16 2012 -0400 Fix 'make report' Turns out this doesn't work unless every Makefile.am includes Makefile.decl. gio/gdbus-2.0/codegen/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6bee6dbce53310935dce7cb1de73e0b0be36f988 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:02:41 2012 -0400 Miscellaneous string fixes Typo and punctuation fixes, and some rewording, based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gdbusaddress.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gicon.c | 2 +- gio/glib-compile-schemas.c | 12 ++++++------ gio/gsocket.c | 6 +++--- gio/gsocketclient.c | 4 ++-- gio/gsocks5proxy.c | 4 ++-- glib/gregex.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) commit e4dc223e9d1778f21c8267171dd6562ba82634c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:47:43 2012 -0400 Make capitalisation of "UNIX" consistent in translatable strings Based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 191f09b04409202fc88fc88f5e05c16d4cdfa86c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:23:20 2012 -0400 Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:17:46 2012 -0400 Fix leak in GWinHttpVfs Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/win32/gwinhttpvfs.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ef1e56479db644cff6717a838a8e63a54ce54da Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:15:54 2012 -0400 Fix leak in GFileAttributeInfoList Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/gfileattribute.c | 1 + 1 file changed, 1 insertion(+) commit bf3262dd935ecbe72374311447de1f1c70a43fcc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 20:18:37 2012 -0400 GTest: Improve --help output https://bugzilla.gnome.org/show_bug.cgi?id=550433 glib/gtester.c | 33 +++++++++++++++--------------- glib/gtestutils.c | 61 ++++++++++++++++++++++--------------------------------- 2 files changed, 41 insertions(+), 53 deletions(-) commit 55ca95c2203cb483439aae9b1f282b93f32f621c Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 14:42:58 2012 +0000 docs: Improve G_GNUC_* documentation Mention where the GCC attributes should be placed for functions and arguments. Add an example for G_GNUC_UNUSED. https://bugzilla.gnome.org/show_bug.cgi?id=326931 glib/docs.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 17 deletions(-) commit 2ccf64ba59cfcc472a658b036b8a919aa081ea7f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 18:44:41 2012 -0400 Improve glib-genmarshal man page Expand the example in glib-genmarshal.1 to include the actual commandline invocations, and update the generated function names to match reality. https://bugzilla.gnome.org/show_bug.cgi?id=637460 docs/reference/gobject/glib-genmarshal.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit aa50b8aec31df6951070ed9674ab3b14dc6d2759 Author: Colin Walters <walters@verbum.org> Date: Thu Aug 16 18:31:02 2012 -0400 build: Fix the --disable-man case The manpage listing needs to be inside the conditional. docs/reference/gio/Makefile.am | 8 +++++--- docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/gobject/Makefile.am | 7 +++++-- 3 files changed, 15 insertions(+), 8 deletions(-) commit d7e1d51fc94b79dfa4243f3b9aa6eafbe169ed6f Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 12:57:43 2012 -0400 Add tests for g_file_make_directory_with_parents() Add tests to catch recent regressions with g_file_make_directory_with_parents() https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/tests/live-g-file.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit f899358156a34d1b5258d1fcdeb289e7b2bbf233 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:25:56 2012 -0400 g_file_make_directory_with_parents: clean up logic Simplify logic by only looking at whether we have a GError and not also using return codes. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 5291190f46614c9e1491599af345f9c41c74967e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:20:16 2012 -0400 g_file_make_directory_with_parents(): fix a corner case If g_file_get_parent() unexpectedly failed, we could return FALSE but with no error. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 732470a3594351ffc3d085a755271844c462e9c8 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:00:14 2012 -0400 g_file_make_directory_with_parents: refix error propagation The patch from b0bce4ad triggered segfaults - see: http://redmine.yorba.org/issues/5656 We were clearing the error before dereferencing it in the next go-around of the while loop - this wasn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b60168a5f5b4bcfa8f8ed175cd18a0cfaea96063 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 10:01:47 2012 -0400 Remove man page placeholder generation I don't see a good reason for this - if man page generation is disabled, man pages are not produced, and things like 'make dist' will fail. That is simpler and better. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 15 +-------------- docs/reference/glib/Makefile.am | 15 +-------------- docs/reference/gobject/Makefile.am | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) commit 4cd5a63f12357b6ed6314cfed237965dba0aaeae Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:57:48 2012 -0400 Clean up man pages on 'clean' Follow the automake heuristic that says "if 'make' created it, 'make clean' should remove it". https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ce531302cd3b562a284da24ef425108d3466a7fb Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:55:29 2012 -0400 Make --enable-man and --enable-gtk-doc independent Previously, --enable-man --disable-gtk-doc would silently skip man page generation, because we didn't even desdend into docs/reference. Fix this by always going there. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 317d91d06bc3bcdef91f98a7a75489977aa154e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 17:21:03 2012 -0400 Fix an example Pointed out by Chandni Verma in https://bugzilla.gnome.org/show_bug.cgi?id=682025 docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8a5fc2e2e548e72526b4d69f1c04a78030e47d4 Author: Javier Jardón <jjardon@gnome.org> Date: Wed Aug 15 02:45:10 2012 +0900 Revert "Use upstream gettext instead the glib one" Commited by mistake This reverts commit e930e3b3aac2fe4d62996d8033121a40153f2da3. autogen.sh | 4 - configure.ac | 15 ++- gio/Makefile.am | 1 - glib/Makefile.am | 1 - po/Makefile.in.in | 280 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/Makevars | 66 ------------- 6 files changed, 293 insertions(+), 74 deletions(-) commit 6b201748b5f71f74af02ba8c01fd4c53750f910a Author: Sebastian Geiger <sbastig@gmx.net> Date: Thu Aug 9 23:01:29 2012 +0200 compiling.xml: Add note and fix gcc example Because of the '--as-needed' default option for the linker, the linking will fail, if the file name appears after any of the options or the pkg-config invocation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854 docs/reference/glib/compiling.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e930e3b3aac2fe4d62996d8033121a40153f2da3 Author: Javier Jardón <jjardon@gnome.org> Date: Mon May 16 13:23:47 2011 +0100 Use upstream gettext instead the glib one autogen.sh | 4 + configure.ac | 15 +-- gio/Makefile.am | 1 + glib/Makefile.am | 1 + po/Makefile.in.in | 280 ------------------------------------------------------ po/Makevars | 66 +++++++++++++ 6 files changed, 74 insertions(+), 293 deletions(-) commit f92a3525f79ecb53d470c00797b71c12860eb05b Author: Dirgita <dirgitadevina@yahoo.co.id> Date: Mon Aug 13 06:04:31 2012 +0700 Updated Indonesian translation po/id.po | 6031 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3358 insertions(+), 2673 deletions(-) commit ddfcfa66ae602c11ce9c4bfc426a79d668653278 Author: Colin Walters <walters@verbum.org> Date: Tue Aug 7 17:26:43 2012 -0400 build: Switch back to using AS_IF for conditionals See https://bugzilla.gnome.org/show_bug.cgi?id=674483 https://bugzilla.gnome.org/show_bug.cgi?id=681413 configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e5ad42c6127e0c4c3c5c6567e137305fbeee4fbc Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 7 13:36:35 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 183 ++++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 183 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 180 insertions(+), 186 deletions(-) commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0 Author: Stef Walter <stefw@gnome.org> Date: Mon Aug 6 18:20:48 2012 +0200 gtlscertificate: Add certificate-bytes and private-key-bytes props * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319 gio/gdummytlsbackend.c | 4 +++ gio/gtlscertificate.c | 59 ++++++++++++++++++++++++++++++++++++--------- gio/tests/gtesttlsbackend.c | 6 +++++ 3 files changed, 58 insertions(+), 11 deletions(-) commit 69dd29296e2ff691f7d305ad7686d9c2e0d6e158 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 16:20:36 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b43310ef41cde26978c261cf1c0e2715adf732d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 15:56:26 2012 -0400 GLib 2.33.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55a2a2005cd45932bda56810aecbc5ac784fb4d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:21 2012 -0400 Don't use GIO in GTestDBus setup Using GIO here may cause the gvfs module to be loaded, which in turn gets onto the session bus to talk to gvfsd - not ideal if you are trying to control the session bus life cycle. Instead, just use old-fashioned glib file utils. gio/gtestdbus.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 197ebb3be4fe01ac5da536157a9b6951f2871d01 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:04 2012 -0400 More updates NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cc80ae321fdfdcc90596940c8161861d25b20eed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:55:59 2012 -0400 Solaris build fix for GIO Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h. This commit adds a configure check for this header, and includes it conditionally in gio/gsocket.c. Patch by Fabian Groffen, bug 675524. configure.ac | 2 +- gio/gsocket.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit bd883f8dc75f056c2b25e941fb09422dc5786bbe Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 13:03:38 2012 -0500 gio/tests/g-icon.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 291853bea3881a7eeb0f2c56946d3a1c0ef38c95 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 12:42:10 2012 -0500 gicon: make g_icon_new_for_string() recognize win32 paths (but for compatibility, make it still recognize unix paths on win32 too) https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/gicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26f1e0938eeb61c7f93b651aa316e33f3b0d6292 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:35:26 2012 -0500 gio/tests/file: skip the file monitor tests if using GPollFileMonitor test_create_delete() assumes that if it creates a file and then immediately deletes it, that the file monitor will notice this and record it as a create followed by a delete. But that won't work with GPollFileMonitor, which will just think nothing changed. So skip the test in that case. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/file.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 2793b39ea3de4fdac5cf154c7a12ac7ba82657d2 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:12:02 2012 -0500 gio/tests/g-file.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-file.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 5c91af7e41443252857cdcf6fe0f0dabdc0b5250 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:10:50 2012 -0500 glocalfile: fix g_file_get_parse_name() on win32 When getting the parse name for a file: URI on win32, we were not translating "\" to "/", resulting in incorrect output. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/glocalfile.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit b2ddbd8f556c41f4d076c4cc4788684a9c84e7a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:03:42 2012 -0400 Plug a minor memory leak in GDBusObjectProxy As pointed out by Patrick Ohly in bug 680505, GDBusObjectProxy was forgetting to free its object_path. gio/gdbusobjectproxy.c | 2 ++ 1 file changed, 2 insertions(+) commit be7095980e90a8d8e76e678dc085423d2717c3bd Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 13:12:15 2012 +0100 gobject docs: Remove confusing acronym In the wikipedia disambiguation page[1] the only entry that even remotely makes sense in this context is "and so on". Google searches for "aso memory management" and "aso garbage collection" don't yield anything relevant. [1] http://en.wikipedia.org/wiki/ASO https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcda26a504c58d5ef5c13032c6c29cf3c56c226e Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 10:57:46 2012 +0100 gobject docs: Remove incorrect reference to signals docs The chapter on signals comes after this chapter, not before (see "tut_gobject.xml" in docs/reference/gobject/gobject-docs.xml). https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 10474aca34f8adf7258294d678e56525b7570c70 Author: Brian Koning <gnome.brkoning@gmail.com> Date: Mon Jul 23 11:04:45 2012 -0400 Remove extra newline chars in local g_application_command_line_print/err The extra newline chars in the local implementation of g_application_command_line_print and g_application_command_line_printerr() cause an unwanted newline after printed strings. This patch removes the newline chars to make the functions consistent with their documentation. https://bugzilla.gnome.org/show_bug.cgi?id=680459 gio/gapplicationcommandline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 151b198b93764ac69b5c067afe9fbf7c6c4acea4 Author: Pavel Vasin <rat4vier@gmail.com> Date: Mon Jul 16 15:57:26 2012 +0400 GDBusActionGroup: hold ref until async init done to avoid use-after-free if GDBusActionGroup was finalized https://bugzilla.gnome.org/show_bug.cgi?id=679509 gio/gdbusactiongroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b2d848e3cb83fb096d6337be701cf834defa56b9 Author: Pavel Vasin <rat4vier@gmail.com> Date: Sun Jul 15 14:34:53 2012 +0400 gio/tests/actions: test for bug679509 gio/tests/actions.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit a74749d354a9d5458f664eb67691901e13bfe738 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:51:40 2012 -0400 Deprecated GSlice config API This was marked as 'internal debugging' in the headers, and should have never been made public. As a first step to repair this, deprecate it. https://bugzilla.gnome.org/show_bug.cgi?id=680831 glib/gslice.h | 4 ++++ glib/tests/slice.c | 3 +++ 2 files changed, 7 insertions(+) commit 0b8662635df3e35aacb7d2e7cef517c47869c6ec Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:49:30 2012 -0400 configure.ac: Use AS_HELP_STRING throughout https://bugzilla.gnome.org/show_bug.cgi?id=680831 configure.ac | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 49b35f093034af6ff14df4df2073a6111614c9d0 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 21:51:08 2012 +0200 gtlscertificate: Don't confuse certificate and public key in docs * A certificate sorta acts as a public key, but more specifically it contains a public key (in its subjectPublicKeyInfo) field. * Documentation was confusing and could have read like the certificate and certificate-pem properties were returning the public key part of the certificate. https://bugzilla.gnome.org/show_bug.cgi?id=681158 gio/gtlscertificate.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 278fe0c67f1d3a8731356fdda0e0adfb633cd7c4 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 31 16:47:45 2012 +0200 gchecksum: Add g_compute_checksum_for_bytes() * Add a GBytes based version of g_compute_checksum_for_data() * Add appropriate tests https://bugzilla.gnome.org/show_bug.cgi?id=680912 docs/reference/glib/glib-sections.txt | 1 + glib/gchecksum.c | 30 +++++++++++++++++++++++ glib/gchecksum.h | 5 ++++ glib/glib.symbols | 1 + glib/tests/checksum.c | 45 +++++++++++++++++++++++++++++++---- 5 files changed, 78 insertions(+), 4 deletions(-) commit dd2ecf7488190d7ffd7912f6bf81da3560ad3976 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 18:19:36 2012 +0200 checksum: Use functions instead of macros when building tests * No need for hard to debug and maintain macros here. https://bugzilla.gnome.org/show_bug.cgi?id=681151 glib/tests/checksum.c | 65 +++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 28 deletions(-) commit 0f6a092cc5a1cc82a02b23e9daa15159319f929c Author: Javier Jardón <jjardon@gnome.org> Date: Tue Apr 17 12:59:11 2012 +0100 Make gtk-doc not a hard dependency of GLib Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674314 autogen.sh | 10 ++++++---- configure.ac | 7 ++++++- docs/Makefile.am | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) commit 10fc00b38515bc322d5e497d61a50165b04c3c8d Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Apr 25 14:21:06 2012 +0200 gclosure: do not copy and leak when generically marshalling return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 gobject/gclosure.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 24b9f61ee4b8b7bc755b84398207112c18b4121f Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:59 2012 +0200 tests: add check for leaking signal return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 tests/refcount/Makefile.am | 5 ++++- tests/refcount/signals.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) commit 13a1154b4cf664e486df9fa6a76d279b8090c49e Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:06 2012 +0200 tests: make refcount signals test slightly valgrind cleaner tests/refcount/signals.c | 4 ++++ 1 file changed, 4 insertions(+) commit f1a13b895d71fb9523c65591a7ebb7a8bad0a4d9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 4 17:49:53 2012 -0400 NEWS updates for 2.33.8 NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 08dd0f246a17c5e1fd78ae19c18f52905c47fdbc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:36:25 2012 +0200 docs: Improve man page consistency Make Options sections refsect1 instead of refsect2, and use uppercase for argument names. Also add a product name, and shorten some argument names. docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gdbus.xml | 29 ++- docs/reference/gio/gio-querymodules.xml | 14 +- docs/reference/gio/glib-compile-resources.xml | 83 ++++--- docs/reference/gio/glib-compile-schemas.xml | 29 ++- docs/reference/gio/gresource.xml | 17 +- docs/reference/gio/gsettings.xml | 17 +- docs/reference/glib/glib-gettextize.xml | 23 +- docs/reference/glib/gtester-report.xml | 18 +- docs/reference/glib/gtester.xml | 33 ++- docs/reference/gobject/glib-genmarshal.xml | 237 ++++++++++--------- docs/reference/gobject/glib-mkenums.xml | 315 +++++++++++++------------- docs/reference/gobject/gobject-query.xml | 41 ++-- 13 files changed, 506 insertions(+), 371 deletions(-) commit d241978412144650e73e9b635cf1869f8d4da2b9 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:33:34 2012 +0200 docs: Improve man page generation Use $(AM_V_GEN) for generating man pages, and set some parameters for the XSL stylesheets. Among other things, don't generate AUTHORS and COPYRIGHT sections. docs/reference/gio/Makefile.am | 10 +++++++++- docs/reference/glib/Makefile.am | 10 +++++++++- docs/reference/gobject/Makefile.am | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) commit 9f9ab640306da52127935bd8eab82a1a8dcaaf89 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:52:46 2012 +0200 Rework the man page configury Default to generate man pages if the required tools and stylesheets are found. Error out if --enable-man is given but tools or stylesheets are missing. configure.ac | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) commit e2470ec6db5230c183a4879b5f0c687b699614e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:51:52 2012 +0200 docs: Don't put links in section titles gio/gsettingsschema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6ddf40f301439c01bec24344694074bd9ba5f016 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 10:41:02 2012 +0200 gtlscertificate: Add g_tls_certificate_is_same() function * Certificate equality in PKIX in general is equality between the DER encoding of the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=681116 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gtlscertificate.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gtlscertificate.h | 4 ++++ 4 files changed, 43 insertions(+) commit b913b0c29ed7269a1684ec15f27b59a8ad2ef5e4 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 14:22:53 2012 +0200 gtlsdatabase: Don't complain if no callbacks for async functions https://bugzilla.gnome.org/show_bug.cgi?id=681118 gio/gtlsdatabase.c | 7 ------- 1 file changed, 7 deletions(-) commit aaf6ac8321065b9a81f96070d629bd72b589dfde Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:35:05 2012 +0530 Updated gujarati file po/gu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0b3a656c78c1f14c146464aa50697990db8b88b Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:32:12 2012 +0530 Updated gujarati file po/gu.po | 6025 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3285 insertions(+), 2740 deletions(-) commit 800ca21e555e5e9fe1f07a4a8473d6d24ada6301 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Aug 1 11:57:22 2012 -0400 GDBusError: Fix up G_STATIC_ASSERT guidance This was reported in bug 680994. https://bugzilla.gnome.org/show_bug.cgi?id=680994 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3f96373372771744a5ade73b2e897ec32365182 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 25 14:41:04 2012 -0400 gthreadpool: set default max_unused_threads and max_idle_time values GThreadPool defaulted to 0 for max_unused_threads (meaning thread-pool threads would exit immediately if there was not already another task waiting for them), and 0 for max_idle_time (meaning unused threads would linger forever, though this is only relevant if you changed max_unused_threads). However, GIOScheduler changed the global defaults to 2 and 15*1000, respectively, arguing that these were more useful defaults. And they are, so let's use them. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gioscheduler.c | 6 ------ glib/gthreadpool.c | 9 +++++---- 2 files changed, 5 insertions(+), 10 deletions(-) commit 26056558be4656ee6e891a4fae5d4198de7519cf Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 08:06:57 2012 -0400 gmain: allow g_source_get_context() on destroyed sources g_source_get_context() was checking that the source wasn't destroyed (since a source doesn't hold a ref on its context, and so source->context might point to garbage in that case). However, it's useful to be allowed to call g_source_get_context() on a source that is destroyed-but-currently-running. So instead, let g_source_get_context() return the context whenever it's non-NULL, and clear the source->context of any sources that are still in a context's sources list when the context is freed. Since sources are only removed from the list when the source is freed (not when it is destroyed), this means that now whenever a source has a non-NULL context pointer, then that pointer is valid. This also means that g_source_get_time() will now return-if-fail rather than crashing if it is called on a source whose context has been destroyed. Add tests to glib/tests/mainloop to verify that g_source_get_context() and g_source_get_time() work on destroyed sources. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/gmain.c | 15 ++++++++++++--- glib/tests/mainloop.c | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) commit 6881e743ee37eff154326ef5e0510651c0a14ac4 Author: Dan Winship <danw@gnome.org> Date: Sun Jul 29 13:06:53 2012 -0400 glib/tests/mainloop: test g_source_get_time() Verify that - g_source_get_time() does not change within a single callback (even if the real time does) - g_source_get_time() does not change between different callbacks in the same mainloop iteration - g_source_get_time() does change between iterations if the real time did. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/tests/mainloop.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Mon Jul 30 13:33:05 2012 +0200 g_file_make_directory_with_parents: Fix error propagation When creating a directory fails for some reason other than the parent not existing, don't clear the error before we try to propagate it. To reproduce, run 'ostadmin init' on /ostree or otherwise try to run the function on a directory with a parent directory where the current user is not allowed to write. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d7829ced532a5ffba4c56772a7a4b24e3e228651 Author: Colin Walters <walters@verbum.org> Date: Mon Jul 30 05:11:08 2012 -0400 GFile: Note semantics of g_file_delete() Particularly for someone programming on Unix, this helps them understand that we will unlink symbolic links, and not follow them. gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 14a1c20177eab4d584b29cbd6fe5933f4b2af4de Author: Colin Walters <walters@verbum.org> Date: Sat Jul 28 09:30:22 2012 -0400 GFile: Add g_file_delete_async() This looks like it was stubbed out but not implemented; the vtable entry dates to commit 3781343738de4abddf56982325a77bd70a98cd26 which is just alex's initial merge of gio into glib. I was working on some code that wants an asynchronous rm -rf equivalent, and so yeah, this is desirable. https://bugzilla.gnome.org/show_bug.cgi?id=680760 docs/reference/gio/gio-sections.txt | 2 + gio/gfile.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gfile.h | 27 +++++++-- gio/gio.symbols | 2 + gio/tests/file.c | 43 +++++++++++++ 5 files changed, 188 insertions(+), 4 deletions(-) commit 6b6bef753f2e8f01e01fc8e8f099edcebc9ff8b6 Author: Colin Walters <walters@verbum.org> Date: Sun Jul 29 09:29:03 2012 -0400 Add .dir-locals.el to tell Emacs users not to use tabs for C Requested by Ryan. https://bugzilla.gnome.org/show_bug.cgi?id=680787 .dir-locals.el | 1 + 1 file changed, 1 insertion(+) commit c3154cc48eab8bb3ee6afc661d04cc919d6f9543 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 30 02:42:30 2012 +0200 Updated Galician translations po/gl.po | 344 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 180 insertions(+), 164 deletions(-) commit 8abfe528b75c6aab3a46ec02c4dcca05fceca83b Author: Andrej Žnidaršič <andrej.znidarsic@gmail.com> Date: Sun Jul 29 13:11:18 2012 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad4f780cb427c1c37c0b0d87fac867285926eb16 Author: Lionel Landwerlin <llandwerlin@gmail.com> Date: Fri Jul 27 14:52:17 2012 +0200 glib: fix locale detection on android g_utf8_strup() tries to call setlocale() before starting to compute the length of its first argument. Calling setlocale() can return NULL (as specified in the man page), and obviously that happens on android. https://bugzilla.gnome.org/show_bug.cgi?id=680704 glib/guniprop.c | 3 +++ 1 file changed, 3 insertions(+) commit 3339a395c298a64a9a6056b80230cc1381a6406a Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Wed Jul 25 10:33:27 2012 +0200 Updated Serbian translation po/sr.po | 1283 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 1249 ++++++++++++++++++++++++++---------------------------- 2 files changed, 1191 insertions(+), 1341 deletions(-) commit 72824f2af2a6ae01ede471ef987ee60b9f7cd047 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Tue Jul 24 22:39:15 2012 +0300 Updated Hebrew translation. po/he.po | 1120 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 611 insertions(+), 509 deletions(-) commit 3bb53b14530116eeac1e6bcaabf7a28edb74e877 Author: Tobias Endrigkeit <tobiasendrigkeit@googlemail.com> Date: Mon Jul 23 22:11:53 2012 +0200 [l10n] Updated German translation po/de.po | 300 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 160 insertions(+), 140 deletions(-) commit 0830e10e6f6dab02afdc39b61d9611d7330edad1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Jul 23 11:42:22 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 388 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 196 insertions(+), 192 deletions(-) commit 003e7a70e80d508458c7a9d4cc76b84a1eb35f94 Author: Colin Walters <walters@verbum.org> Date: Fri Jul 20 10:40:56 2012 -0400 Revert unintential IAPI break for g_key_file_load_from_data() The old (length) annotation actually wasn't being read. Changing it to an array was telling g-i that it was an array of utf8, which is clearly not true. We *could* add (element-type guint8), but that would change it to a byte array, as opposed to the original utf8 version. Just removing the annotation should bring us back to where we were, which was fine. https://bugzilla.gnome.org/show_bug.cgi?id=680310 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae7c7d982b3f461dcab178b3d20a04aaa9d9d72 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Jul 19 23:15:59 2012 +0800 gio/Makefile.am: Filter out gcontenttype.c for MSVC builds gcontenttype.c was split into gcontenttype.c and gcontenttype-win32.c in commit 32192ee9 ("Split gcontenttype.c"), so we don't want to include gcontenttype.c in the Visual C++ build as it is no longer a source file meant for Windows. Thanks to Thomas H.P. Anderson for pointing this out. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 23a2136fb5dd860a57a9bd46e61099ea4da99447 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:37:59 2012 -0400 Check for PR_SET_NAME Bug 680148 claims that PR_SET_NAME may not be defined when using an old kernel. Deal with it. glib/gthread-posix.c | 2 ++ 1 file changed, 2 insertions(+) commit 4c255d4602b4c6f65031588ff30342c36e250567 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:32:29 2012 -0400 Be more careful when using xlocale Bug 680074 shows that we may end up in situations where only some of the xlocale functions we need are available. Rather than trying to find the minimal set of required functions for each use, define a global USE_XLOCALE and only use any xlocale functions if we have a full set. glib/gstrfuncs.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit dd098405ad4f7ad2a0029cbfc340ca2e7e2b5633 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:20:10 2012 -0400 Cosmetic: Fix up line endings Somehow a few ^M sneaked in here. glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2357f67b1b7a9448d78e8606f10b472c595c7c90 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 15:08:44 2012 -0400 gmain: handle child sources being destroyed before parent Fix a crash when a child source is destroyed before its parent. Also, add a test case for this and the previous fix. glib/gmain.c | 23 ++++++++++-------- glib/tests/mainloop.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 10 deletions(-) commit ee6e66cb4483d82fcb0657d13faebf844258c70b Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 14:19:36 2012 -0400 g_source_add_child_source: sync blocked state Child sources are supposed to be blocked when their parents are, so when adding a source to a blocked source, block the child too. Fixes a warning when unblocking the parent. glib/gmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2855b827da44144c76b72d8cfec9599a835df4ea Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 16:21:03 2012 -0400 gio/tests/converter-stream: add a new test, rename an old one Add a test that the decompressor input streams handle truncated data correctly. (They do; I wrote the test thinking there was a bug there, but there isn't.) Also, rename the "corruption" tests to "roundtrip", since "corruption" makes it sound like we're testing how the converters deal with corrupted data, as opposed to merely testing that they don't corrupt data themselves. And fix the bug reference. gio/tests/converter-stream.c | 112 ++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 29 deletions(-) commit 09c18537f4e8b3ede066339cc23b76df8a4fc2cc Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 13:17:01 2012 -0400 g_cancellable_source_new: don't use a file descriptor Rather than implementing GCancellableSource by polling on its fd, implement it by just waking its GMainContext up from the "cancelled" signal handler, thereby helping to reduce file descriptor usage. Suggested by Ryan Lortie. https://bugzilla.gnome.org/show_bug.cgi?id=680121 gio/gcancellable.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 0e37822e10626859bcc6cb0452f1c0832e6990fa Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 14:23:08 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffefa544d68972cf5cc7099eb015c35630c5314d Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:50:58 2012 -0400 More updates NEWS | 1 + 1 file changed, 1 insertion(+) commit a0b71839ee27eec27d8b9da24d25c153d6273f42 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 17 18:34:16 2012 +0200 GIOScheduler: Fix access after free in "cancelled" handler * GCancellable can be "cancelled" more than once if g_cancellable_reset() is called. * Don't assume that because the "cancelled" signal fired it won't fire again. https://bugzilla.gnome.org/show_bug.cgi?id=680111 gio/gioscheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e97a4c7e5ef205dea08928f64ee5ba7e222e3b9b Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:00:00 2012 -0400 2.33.6 https://bugzilla.gnome.org/show_bug.cgi?id=680111 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit d90ad1805552aab969f316a1de687efdb71e27fe Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 09:12:39 2012 -0400 GAsyncInitable: partially revert the init_finish changes g_async_initable_real_init_finish() was previously handling all GSimpleAsyncResults, even if they weren't created by g_async_initable_real_init_async(), and libnm-glib accidentally relied on that behavior. So remove the g_simple_async_result_is_valid() check. gio/gasyncinitable.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit cd8ec3359b4b8afd5cce48bf218ecd793f8064eb Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Sun Jul 15 19:10:43 2012 +0200 GVariantType: Add (constructor) annotation for some constructors. This are mistaken by g-ir-scanner as GVariantType's methods, because they take a GVariantType* as a first parameter. https://bugzilla.gnome.org/show_bug.cgi?id=679968 glib/gvarianttype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1b3578ec0beb19639e21c08e560a4fdb010a438a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 16 16:42:49 2012 +0200 Updated Spanish translation po/es.po | 441 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 231 insertions(+), 210 deletions(-) commit bfbfbec91e10ea7f34e43a5d263031abb914dec6 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 04:12:02 2012 +0200 win32: g_getenv() should return "" if variable exists and empty On Windows, GetEnvironmentVariable() returns 0 for empty variables. Checking GetLastError() == ERROR_ENVVAR_NOT_FOUND helps make a difference between a variable that does not exist or an empty one which should return "". https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6007a4b0b109855f8521ba93ed10b3a1d2bf77f2 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 03:54:55 2012 +0200 win32: fix g_get_environ() The current code create the strv array incorrectly, it is too big and leaves invalid holes. This may result in crashes when freeing the returned value. https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 11819933e2d0b8833dfd7a0173f66be989a5a914 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jul 16 06:01:55 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d48bd70853496c5a835e0d3a83136ef23ea778c9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jul 15 20:36:10 2012 -0400 More updates NEWS | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f81c2c753ab0f6cc71866cd3e387a2e2dc857d60 Author: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Date: Sun Jul 15 12:27:03 2012 +0300 Updated Belarusian translation. po/be.po | 1106 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 620 insertions(+), 486 deletions(-) commit ef4bbecce76505abc5ba143f57bae4cba0a76f16 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Sun Jul 15 01:23:25 2012 +0200 Updated Polish translation po/pl.po | 192 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 101 insertions(+), 91 deletions(-) commit 160da82e3943e2a42685d72f54dddb11db80458c Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Sat Jul 14 13:51:12 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 1298 insertions(+), 956 deletions(-) commit c182ee1f7189ea2f547e1af6498b27bd501397fc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:37 2012 -0400 Fix GModule documentation a bit The documentation for g_module_make_resident was for some reason in the doc comment for g_module_name. https://bugzilla.gnome.org/show_bug.cgi?id=679813 gmodule/gmodule.c | 16 +++++++++++++--- gmodule/gmodule.h | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) commit 34b2125edff9d4ce1dc6e2e84e5a816ee14b4791 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:12 2012 -0400 Fix doc build glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3201bcd1b278f335669972cbd991c3a6778a040e Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Jul 13 17:53:45 2012 +0530 Assamese translation updated po/as.po | 447 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 97676046f2764ace8d0ac65df092046044841ac0 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 12 23:40:43 2012 -0400 Update NEWS NEWS | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit d9af4259f779a4e88d9d47a9e99944ad785f4190 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Jul 11 19:41:58 2012 +0200 win32: fix build g_spawn_check_exit_status() with mingw With mingw, only gspawn-win32.c is compiled, but it is missing some new symbols. https://bugzilla.gnome.org/show_bug.cgi?id=679691 glib/gspawn-win32.c | 25 +++++++++++++++++++++++++ glib/gspawn.c | 10 ---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit ce1b50bf2afbbcfd6c560feed00de2df50b7dfba Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu Jul 12 16:09:57 2012 +0200 GRegex, GConvert: Add some missing annotations. Also, removed pointless (allow-none) return annotation. https://bugzilla.gnome.org/show_bug.cgi?id=679762 glib/gconvert.c | 6 +++--- glib/gregex.c | 15 +++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) commit 99f26ab08f777040230fdd81423d1220722cef2f Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Jul 11 20:25:59 2012 -0400 mount-operation: add a Since tag to the show-unmount-progress signal gio/gmountoperation.c | 2 ++ 1 file changed, 2 insertions(+) commit 44375ad7c595884c091056a1955d08a1975c5516 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Fri Jul 6 15:41:47 2012 -0400 mount-operation: add show-unmount-progress signal The actual implementation will be in gvfs. https://bugzilla.gnome.org/show_bug.cgi?id=676111 gio/gmountoperation.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ gio/gmountoperation.h | 6 +++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit 37fbd702d54a471781e853acaf805e0f508fbd3a Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jul 12 02:38:20 2012 +0300 Updated Greek translation po/el.po | 819 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 456 insertions(+), 363 deletions(-) commit eda1735029e01d6391fe8a4cde6c5688727c8183 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:38:34 2012 +0200 GDBusNodeInfo: remove a spurious for loop https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 6f23c33831f69ef111d22491586d1dfdd8ca3693 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:37:56 2012 +0200 GDBusNodeInfo: the XML string must contain exactly one node element Make the documentation clear about this. https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 3 +++ 1 file changed, 3 insertions(+) commit f7abd3ce130ae3a6da8502c2dce8d773d7514464 Author: Colin Walters <walters@verbum.org> Date: Tue Jul 10 11:27:22 2012 -0400 Add g_spawn_check_exit_status() Many (if not "almost all") programs that spawn other programs via g_spawn_sync() or the like simply want to check whether or not the child exited successfully, but doing so requires use of platform-specific functionality and there's actually a fair amount of boilerplate involved. This new API will help drain a *lot* of mostly duplicated code in GNOME, from gnome-session to gdm. And we can see that some bits even inside GLib were doing it wrong; for example checking the exit status on Unix, but ignoring it on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=679691 docs/reference/glib/glib-sections.txt | 1 + gio/gdbusaddress.c | 29 +------- gio/gdesktopappinfo.c | 4 +- gio/glib-compile-resources.c | 14 ++-- gio/tests/gdbus-connection-slow.c | 9 +-- gio/tests/gdbus-connection.c | 2 +- glib/glib.symbols | 2 + glib/gmain.c | 12 ++-- glib/gmain.h | 8 ++- glib/gspawn.c | 128 +++++++++++++++++++++++++++++++--- glib/gspawn.h | 13 ++++ 11 files changed, 158 insertions(+), 64 deletions(-) commit 82d914d808c616d14d489c0272c6d5afc4bfbd5a Author: Dan Winship <danw@gnome.org> Date: Thu May 10 11:09:52 2012 -0400 gio: add g_async_result_is_tagged() Rather than doing a two step first-check-the-GAsyncResult-subtype-then- check-the-tag, add a GAsyncResult-level method so that you can do them both at once, simplifying the code for "short-circuit" async return values where the vmethod never gets called. https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncresult.c | 29 +++++++++++++++++++++++++++++ gio/gasyncresult.h | 7 +++++++ gio/gbufferedinputstream.c | 9 ++------- gio/gfileenumerator.c | 11 +++-------- gio/ginputstream.c | 27 ++++++--------------------- gio/gio.symbols | 1 + gio/giostream.c | 9 ++------- gio/goutputstream.c | 27 ++++++--------------------- gio/gresolver.c | 13 ++++--------- gio/gsimpleasyncresult.c | 8 ++++++++ 11 files changed, 69 insertions(+), 73 deletions(-) commit f8532a13e2054e649f75ca2a58e01604be05549e Author: Dan Winship <danw@gnome.org> Date: Thu May 10 09:00:45 2012 -0400 gio: Add g_async_result_legacy_propagate_error() Finish deprecating the "handle GSimpleAsyncResult errors in the wrapper function" idiom (and protect against future GSimpleAsyncResult deprecation warnings) by adding a "legacy" GAsyncResult method to do it in those classes/methods where it had been traditionally done. (This applies only to wrapper methods; in cases where an _async vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish vmethod still uses g_simple_async_result_propagate_error.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncinitable.c | 8 +- gio/gasyncresult.c | 42 ++++++++ gio/gasyncresult.h | 4 + gio/gbufferedinputstream.c | 5 +- gio/gdrive.c | 44 +++------ gio/gfile.c | 189 ++++++++++-------------------------- gio/gfileenumerator.c | 16 ++- gio/gfileinputstream.c | 9 +- gio/gfileiostream.c | 13 +-- gio/gfileoutputstream.c | 9 +- gio/ginputstream.c | 15 +-- gio/gio.symbols | 1 + gio/giostream.c | 5 +- gio/gloadableicon.c | 10 +- gio/gmount.c | 48 +++------ gio/goutputstream.c | 24 +++-- gio/gresolver.c | 24 ++--- gio/gvolume.c | 24 ++--- 19 files changed, 180 insertions(+), 311 deletions(-) commit 538b2f106de78b7dfeac2a98f3d5594ed0ed2ade Author: Dan Winship <danw@gnome.org> Date: Mon Jun 11 13:44:19 2012 -0400 gio: handle GSimpleAsyncResult errors in _finish vmethods Originally, the standard idiom with GSimpleAsyncResult was to handle all errors in the _finish wrapper function, so that vmethods only had to deal with successful results. But this means that chaining up to a parent _finish vmethod won't work correctly. Fix this by also checking for errors in all the relevant vmethods. (We have to redundantly check in both the vmethod and the wrapper to preserve compatibility.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gasyncinitable.c | 19 ++++++++----------- gio/gbufferedinputstream.c | 3 +++ gio/gfile.c | 42 +++++++++++++++++++++++++++++++++++++++++- gio/gfileenumerator.c | 8 ++++++++ gio/gfileinputstream.c | 3 +++ gio/gfileoutputstream.c | 7 +++++-- gio/ginputstream.c | 12 ++++++++++++ gio/giostream.c | 5 +++++ gio/gloadableicon.c | 3 +++ gio/goutputstream.c | 16 ++++++++++++++++ 10 files changed, 104 insertions(+), 14 deletions(-) commit a98d26c9bbd40b5d00d5a1536402c9196534087c Author: Dan Winship <danw@gnome.org> Date: Tue Apr 17 09:55:33 2012 -0400 GFile: remove some unnecessary code The "mainloop_barrier" in copy_async_thread() is unnecessary, since the g_simple_async_result_complete_in_idle() will be queued after all of the g_io_scheduler_job_send_to_mainloop_async()s, and sources with the same priority will run in the order in which they were queued. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gfile.c | 15 --------------- 1 file changed, 15 deletions(-) commit 4749878f9102d40d072bb5c838f2dd2e8d61d417 Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Mon Jul 9 18:17:01 2012 +0200 goptions: use G_N_ELEMENTS instead of nitems glib/goption.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5a85fe0e37504cea13fe8a587691f72373b18830 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jul 9 12:43:50 2012 -0400 GVariant: fix string validation String validation was done by checking if the string was valid utf8 and ensuring that the first non-utf8 character was the last character (ie: the nul terminator). No check was actually done to make sure that this byte actually contained a nul, however, so it was possible that you could have a string like "hello\xff" with length 6 that would correctly validate. Fix that, and test it. glib/gvariant-serialiser.c | 11 ++++++++++- glib/tests/gvariant.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) commit 3b0f1cc432b546c538d82036bd1a655489d11f35 Author: Stef Walter <stefw@gnome.org> Date: Sat May 5 12:51:16 2012 +0200 Fix up GObject interface documentation * Document how to override interfaces already implemented in a base class, and also call those base class implementations from a derived reimplementation. * Don't recomend people use base_init() style functions to initialize interface signals and properties, use default_init() aka class_init() instead (as G_DEFINE_INTERFACE() uses). * The above solves the interface init called multiple times problem, so remove some needless naysaying about that. * Document default_init() in the interface initialization discussion * Linkify more stuff. * Remove some crud and typos https://bugzilla.gnome.org/show_bug.cgi?id=675504 docs/reference/gobject/tut_gtype.xml | 143 ++++++++++++----- docs/reference/gobject/tut_howto.xml | 303 ++++++++++++++++++++++++----------- 2 files changed, 309 insertions(+), 137 deletions(-) commit 2cf9608d4892690c16332c27b3f5de0276d2f569 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 9 15:05:04 2012 +0200 Updated Galician translations po/gl.po | 403 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 165 deletions(-) commit f9a6a97470583417a26619b5da3d56097a15c6dd Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Sun Jul 8 19:23:18 2012 +0200 OpenBSD: explicitely define nitems nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL condition. glib/goption.c | 4 ++++ 1 file changed, 4 insertions(+) commit a511a706de048dcc779eb09d85f3d2e9329d68cd Author: Torsten Schönfeld <kaffeetisch@gmx.de> Date: Mon May 3 20:33:50 2010 +0200 gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher https://bugzilla.gnome.org/show_bug.cgi?id=616892 gio/gfileattribute.h | 4 +++- gio/gfileinfo.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit c09bf3e6b935d5e5ef0ecf2bb88788537c3ebecd Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Jul 7 17:10:46 2012 -0400 gdbus-codegen: improve casting a tiny wee bit The in commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 for fixing -Wstrict-aliasing warnings was a little too brutal, make it a bit better. Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 53b3175cfabe78b6ce3403f38d59addb218cb61b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:20:39 2012 +0200 regex: Add new GRegexError code from PCRE 8.31 glib/gregex.c | 3 +++ glib/gregex.h | 7 +++++-- glib/tests/regex.c | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) commit 2188a5e59c512668dc3c76607fb8ccad4910cc3c Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:21:16 2012 +0200 regex: Enable fixed test This problem was fixed in PCRE 8.31, so uncomment the test. glib/tests/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 94578330109eb7fb1588c0d0d0bb526bfb0ce9b6 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:15:27 2012 +0200 regex: Import PCRE 8.31 https://bugzilla.gnome.org/show_bug.cgi?id=679193 glib/pcre/pcre.h | 10 +- glib/pcre/pcre_compile.c | 195 ++-- glib/pcre/pcre_dfa_exec.c | 225 +++-- glib/pcre/pcre_exec.c | 331 +++++-- glib/pcre/pcre_fullinfo.c | 4 + glib/pcre/pcre_globals.c | 4 + glib/pcre/pcre_internal.h | 43 +- glib/pcre/pcre_jit_compile.c | 2028 +++++++++++++++++++++++++++--------------- glib/pcre/pcre_study.c | 15 +- glib/pcre/pcre_tables.c | 292 +++--- glib/pcre/ucp.h | 9 +- glib/update-pcre/ucp.patch | 55 +- 12 files changed, 2087 insertions(+), 1124 deletions(-) commit f66052fc87caada2552f651e9a21f1daac86b2a1 Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 17:27:54 2012 -0400 GVariant: support comparing booleans g_variant_compare() is documented as working on booleans but somehow this case was missed. Add it and test it. Problem discovered by Charles Kerr. glib/gvariant.c | 4 ++++ glib/tests/gvariant.c | 5 +++++ 2 files changed, 9 insertions(+) commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:45:09 2012 -0400 gdbus-codegen: neuter warnings when using -Wstrict-aliasing Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d728eae85fbcefb66f9bfc41a52cf315ef84d667 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:43:05 2012 -0400 gdbus-codegen: don't shadow variable This avoids a warning when building with -Wshadow Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed492a5de2a217c08bccd4032b1122fba2f25c6f Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 13:43:17 2012 -0400 GSettings: be more careful about keys names with / Prevent attempts to access keys ending with slashes that exist in the schema file as references to child schemas. Also: don't emit change signals for these same keys. gio/gsettings.c | 20 ++++++++++++++++---- gio/gsettingsschema.c | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) commit 52a6d7022af6dfc597bae97fdabcaf2d24855126 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Fri Jul 6 19:11:26 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 750 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 414 insertions(+), 336 deletions(-) commit ee9aae5dcfe8dd1956e78a52c4e8c53c0f7861fe Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 14:08:22 2012 -0400 Clarify the GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED docs https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 40f0f66151c09a02b6355c7da02af081c30dd586 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 11:08:23 2012 -0400 Deal with GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED being a "future" value If GLIB_VERSION_MIN_REQUIRED or GLIB_VERSION_MAX_ALLOWED was defined to a future value, we were essentially treating it as GLIB_VERSION_0_0. Fix to treat it as being in the future instead. https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 4ac0d78d5ddde773b7abf05e4c5e128a8acb835d Author: Colin Walters <walters@verbum.org> Date: Tue May 29 17:58:41 2012 -0400 GString: Tweak documentation, add g_string_free_to_bytes() The docs for GString should really mention GByteArray, and what makes it different. Drop the comparison to Java which is dated and actually inaccurate (because StringBuffer operates on Unicode). While we're here, add g_string_free_to_bytes(), which further complements the spread of GBytes-based API. For example, one can create a buffer using GString, then send it off via g_output_stream_write_bytes(). https://bugzilla.gnome.org/show_bug.cgi?id=677064 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gstring.c | 48 ++++++++++++++++++++++++++++++----- glib/gstring.h | 3 +++ glib/tests/string.c | 21 +++++++++++++++ 5 files changed, 68 insertions(+), 6 deletions(-) commit d72116d8b7c802895be6b02093342fd9e770813d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 09:19:48 2012 -0400 gdbus-codegen: Don't generate invalid GObject property names For a D-Bus property with name "Type" (fairly common), we used to generate a GObject property with name "type-" and C accessors get_type_() (to avoid clashing with the GType getter), set_type_() (for symmetri). However, the rules for GObject property names are fairly rigid and specifically prohibit names ending in a dash. Therefore change things so the chosen GObject property name is "type" but preserve the naming rules for the C getter and setter (for the same reasons: avoiding name clashing and symmetri). This change does break the API of generated code (but only on the GObject property level, the C symbols are not changed) but strictly speaking the behavior was undefined since "type-" was an invalid GObject property name. Also add a test case for this. Bug 679473. https://bugzilla.gnome.org/show_bug.cgi?id=679473 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/dbustypes.py | 3 ++- gio/tests/gdbus-test-codegen.c | 28 ++++++++++++++++++++++++++++ gio/tests/test-codegen.xml | 4 ++++ 3 files changed, 34 insertions(+), 1 deletion(-) commit 2a87010831db5d4c18905103e9e7d804546552bf Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Wed Mar 7 12:54:04 2012 +0000 Constify collect and lcopy strings in GTypeValueTable This avoids warnings when creating idiomatic value tables, like: static const GTypeValueTable _clutter_shader_float_value_table = { clutter_value_init_shader_float, clutter_value_free_shader_float, clutter_value_copy_shader_float, clutter_value_peek_pointer, "ip", clutter_value_collect_shader_float, "pp", clutter_value_lcopy_shader_float }; Because the strings are literals. And, really: nobody should be using allocated values for the collection and lcopy strings. https://bugzilla.gnome.org/show_bug.cgi?id=671545 gobject/gtype.h | 4 ++-- gobject/gvaluecollector.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit ab4cc22ba5d7a1a9ee72eaccd171ac1fc82bfb5c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 5 22:25:49 2012 -0400 Improve the g_dir_read_name documentation This function can return NULL in error cases as well. Document this, and explain how to discriminate the cases. https://bugzilla.gnome.org/show_bug.cgi?id=639771 glib/gdir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f416ece1039f65ce77df6983a872950c82877e37 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Jul 4 04:25:41 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 04af05fd1f648aca3e2aa805df5a376a992a04d3 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:14:41 2012 -0400 Drop unneeded includes gio/gcharsetconverter.c | 1 - gio/glocalfileinfo.c | 1 - gio/gwin32appinfo.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) commit 32192ee9e4210a12b76ee5cbfbb8b6f2d957d3e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:13:32 2012 -0400 Split gcontenttype.c Instead of a giant #if G_OS_WIN32 #else #endif around the entire file, just split it into gcontenttype.c and gcontenttype-win32.c. gio/Makefile.am | 5 +- gio/gcontenttype-win32.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gcontenttype.c | 353 +------------------------------------------ 3 files changed, 382 insertions(+), 354 deletions(-) commit af3b1674cd65e1d650fb82bc93483391b99feb50 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 20:04:05 2012 +0200 win32: fix build after bug 674452 gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d7fa1c7839dfeb482f549ca9bb3ab7027e9994a Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Jul 3 15:40:35 2012 -0400 GObject docs fixup docs/reference/gobject/Makefile.am | 1 + docs/reference/gobject/gobject-sections.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 72660997bc0b0ee81095b85911992db3c644e5da Author: Rico Tzschichholz <ricotz@t-online.de> Date: Tue Jul 3 21:22:16 2012 +0200 glib/deprecated: Fix some version typos glib/deprecated/gthread-deprecated.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit be249ac6ae461b2f8c3995d7311033f82738827a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jul 3 21:01:17 2012 +0530 Assamese translation updated po/as.po | 388 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 238 insertions(+), 150 deletions(-) commit 45c48bffdd3e684470be38a03dea466f78e184bd Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Jul 3 16:55:12 2012 +0300 Updated Bulgarian translation po/bg.po | 316 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 187 insertions(+), 129 deletions(-) commit 489b947c3be8ea892d415ac1b623e5bfc3445439 Author: Neil Roberts <neil@linux.intel.com> Date: Mon Jul 2 13:41:32 2012 +0100 Fix the 'Since' tag for G_SOURCE_{REMOVE,CONTINUE} The Since tag for these was saying 2.28 but it was actually added in 2.31. It looks like all of the Since tags list stable version numbers so this patch bumps that up to 2.32. https://bugzilla.gnome.org/show_bug.cgi?id=679258 glib/gmain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 938c28b36bf7090c654802d877d76f404d783799 Author: Christian Persch <chpe@gnome.org> Date: Mon Jul 2 17:56:54 2012 +0200 regex: Require PCRE 8.13 Bump the required version for external PCRE to 8.13, to fix the build with external PCRE. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5b1179d3fc04d4ec4fd03e4df852ac7c02d4e00 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:34:59 2012 +0200 Updated Spanish translation po/es.po | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 4b787aa31d8e71d108cbf0a61db3dd7805cf2205 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:29:02 2012 +0200 Updated Spanish translation po/es.po | 373 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 229 insertions(+), 144 deletions(-) commit 1519d6b894c95968fdd13a2004cf0c9d97efe7bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:24:45 2012 +0200 Fixed a a «big bug» in a string ;-) glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7483315f83cac1f54fd72c331e6eff0781b8560f Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing Reorder the toupper/tolower calls when othercaseing, so this function is bug-for-bug compatible with the pcre internal tables. https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 4 ++-- glib/tests/regex.c | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) commit a2f54a3408fcf45cae991b6886f4495fdae1f5ac Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:04:05 2012 +0200 regex: Add FIRSTLINE compile flag This option exists since PCRE 6.0. glib/gregex.c | 2 ++ glib/gregex.h | 5 ++++- glib/tests/regex.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit e99e34f65f6cf66feaccde29e480965d525586ae Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 23:24:07 2012 +0200 regex: Add NOTEMPTY_ATSTART match option Since PCRE 8.00 it supports a variant of PCRE_NOTEMPTY that works similarly except that it only applies to the start of the matched string but permits empty matches further in. glib/gregex.c | 32 +++++++++++++++++--------------- glib/gregex.h | 32 ++++++++++++++++++-------------- glib/tests/regex.c | 15 +++++++++++++-- 3 files changed, 48 insertions(+), 31 deletions(-) commit 1171215014bb9406ff8ae1ea91b1c251b4e7d71b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 22:50:52 2012 +0200 regex: Add PARTIAL_HARD match option Since PCRE 8.00 it supports a new partial matching method PCRE_PARTIAL_HARD. glib/gregex.c | 21 +++++++++++++++++---- glib/gregex.h | 9 ++++++++- glib/tests/regex.c | 11 +++++++++-- 3 files changed, 34 insertions(+), 7 deletions(-) commit 0a2967030af2a5cce9fd6ae916a535f26239bcd3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 20:12:11 2012 +0200 regex: Add JavaScript compat mode Since PCRE 7.7, there's a flag that changes the behaviour to be more JavaScript compatible. Since it's no effort to expose it, just do so. glib/gregex.c | 52 ++++++++++++++++++++++++++++++++-------------------- glib/gregex.h | 8 +++++++- glib/tests/regex.c | 1 + 3 files changed, 40 insertions(+), 21 deletions(-) commit e5550a24db48ce6f67b0f3b8df9dc467087c941b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:11:49 2012 +0200 regex: Don't leak internal PCRE options g_regex_get_compile_get_compile_flags() and g_regex_get_match_flags() were leaking PCRE flags that don't exist in the corresponding public GRegexCompileFlags and GRegexMatchFlags; this change masks these internal flags. glib/gregex.c | 36 +++++++++++++++++++++------ glib/tests/regex.c | 73 +++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 78 insertions(+), 31 deletions(-) commit 26d91ddc08b41533a6952014fd9c19c80865e840 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:52 2012 +0200 regex: Add BSR_ANYCRLF and BSR_ANY match options These flags override the compile option at match time. They use PCRE_BSR_ANYCRLF and PCRE_BSR_UNICODE, resp., which make \R match only CR, LF and CRLF, or any Unicode newline character or character sequences, resp. glib/gregex.c | 6 +++++- glib/gregex.h | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit 88ac3839f5d3d8d05ea7ea391209dff378866f57 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:10 2012 +0200 regex: Add BSR_ANYCRLF compile option When this flag is set, \R only matches CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 86a04a05e6b697361c58b1577c52b4a713bf18d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:42:50 2012 +0200 regex: Fix newline definition for system PCRE While we PCRE_BSR_UNICODE is the default in the internal PCRE, that may not be true for the system one. Force the PCRE_BSR_UNICODE flag on it. glib/gregex.c | 6 ++++++ glib/tests/regex.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 91ba8ae1560d4132e4ed2631b8e69684c3c863d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:07:04 2012 +0200 regex: Don't return from inside a g_once_init_enter/leave block When using the system PCRE, and it was compiled with incompatible options, the code was returning from inside a g_once_init_enter/leave block without calling g_once_init_leave(). glib/gregex.c | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) commit 69a12e3275c6e068929d2ed69ba1af87df0f851b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:57:15 2012 +0200 regex: Add accessor for PCRE_INFO_HASCRORLF This flag is new in PCRE 7.3, and checks whether there is an explicit CR or LF reference in the pattern. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gregex.c | 21 +++++++++++++++++++++ glib/gregex.h | 1 + glib/tests/regex.c | 11 +++++++++++ 5 files changed, 35 insertions(+) commit 7ada9765160ce8a41fae0a0e0435ad00a8037601 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:36:11 2012 +0200 regex: Remove message for unused error code Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore. glib/gregex.c | 2 -- 1 file changed, 2 deletions(-) commit 592531019ede1c6d48304ba8babce0a5470d16d7 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:26:02 2012 +0200 regex: Add NEWLINE_ANYCRLF match option This PCRE option is new in PCRE 7.1. glib/gregex.c | 38 ++++++++++++++++++++------------------ glib/gregex.h | 31 +++++++++++++++++++------------ 2 files changed, 39 insertions(+), 30 deletions(-) commit c8c049b177dc40c0242409389ddccfa59ba88953 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:23:37 2012 +0200 regex: Add NEWLINE_ANYCRLF compile option The PCRE_NEWLINE_ANYCRLF option is new in PCRE 7.1. With it set, the only only newline sequences recognised are CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 21 ++++++++++++++------- glib/tests/regex.c | 2 -- 3 files changed, 17 insertions(+), 10 deletions(-) commit 7e8b5ea442f235f5e272b0fe7a4768bf897b6aad Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 14:48:51 2012 +0200 regex: Assert that our flags values are the same as PCRE's We rely on those flags having the same values as PCRE's (so we can pass them right through), so assert this at compile time. glib/gregex.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 03611f7c0670ea14eedbc121972aed7ce60bb9ee Author: Simon Feltman <s.feltman@gmail.com> Date: Wed Jun 13 23:20:17 2012 -0700 Updated codegen to work with python3. Most changes were just replacing usage of "has_key" with "in". Also updated the sorting function which was simplified and changed to a "key" function instead of "cmp" (which is no longer supported in python3. Verified everything builds with python 2.7 and 3. https://bugzilla.gnome.org/show_bug.cgi?id=678066 gio/gdbus-2.0/codegen/codegen.py | 15 +++++---------- gio/gdbus-2.0/codegen/codegen_docbook.py | 8 +++----- gio/gdbus-2.0/codegen/codegen_main.py | 4 ++-- gio/gdbus-2.0/codegen/parser.py | 22 +++++++++++----------- gio/gdbus-2.0/codegen/utils.py | 17 +++++------------ 5 files changed, 26 insertions(+), 40 deletions(-) commit 6d5484b2962c2a365983e8a37295f298909bca00 Author: Christian Persch <chpe@gnome.org> Date: Fri Jun 8 01:08:10 2012 +0200 regex: Handle PCRE_ERROR_RECURSIONLOOP Was missing from the error conversion routine. glib/gregex.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e5615138af8a5044bb5adac0804a59073d4cb69 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:55:01 2012 +0200 regex: Update GRegexError with newer PCRE error codes Update the GRegexError enum with new PCRE errors up to PCRE 8.30. https://bugzilla.gnome.org/show_bug.cgi?id=677579 glib/gregex.c | 145 +++++++++++++++++++++++++++++++++++------------------ glib/gregex.h | 40 +++++++++++++-- glib/tests/regex.c | 51 +++++++++++++++++-- 3 files changed, 181 insertions(+), 55 deletions(-) commit 3be1d864d838a9015866656764c0a615f63f63ec Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:22:44 2012 +0200 regex: Simplify regex compile tests Use a macro instead of repeating the same code over and over again. glib/tests/regex.c | 106 +++++++++++------------------------------------------ 1 file changed, 22 insertions(+), 84 deletions(-) commit 20ab7e2aea955e4a70be43cbb6e4237afd98bf7b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 19:53:17 2012 +0200 regex: Deprecate an obsolete error code G_REGEX_ERROR_DEFINE_REPETION is dead and never raised by PCRE. glib/gregex.c | 3 --- glib/gregex.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) commit d9e8d3e0f0fc00435b161dd3dfb1b8727922ba00 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:54:08 2012 +0200 regex: Fix PCRE error code conversion Use the shifted error codes for comparisions. https://bugzilla.gnome.org/show_bug.cgi?id=677578 glib/gregex.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 3173fca9cc520785f82e602fe830c220c2d1820f Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:55:26 2012 +0700 Updated Vietnamese translation po/vi.po | 103 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 39 deletions(-) commit 7ddefe3f4b2221147bd77f362760e8fb00f7e624 Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:42:53 2012 +0700 po/vi: import from Damned Lies po/vi.po | 661 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 299 deletions(-) commit 64bfbc2cf074de087c4e195d6409af9c24dc2f28 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 29 13:47:15 2012 -0400 GOptionContext: Don't show headings without options If the only entry in the main group is for the rest args, don't bother printing "Application Options". glib/goption.c | 2 ++ glib/tests/option-context.c | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) commit 08cfcdc81add6f6f2247b1cc82d2c15ad27001f0 Author: Johan Dahlin <johan@gnome.org> Date: Fri Jun 29 11:59:23 2012 -0300 Use the same Python as we found in configure Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions it's actually python 3.x. gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit df319ca49ca1e8caff1a4f17e8e53628b33b8d56 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jun 28 17:44:14 2012 +0300 Updated Greek translation po/el.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 45 deletions(-) commit d023b81a7a261782f2c88df7751f3476bd802b99 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 16:30:38 2012 +0200 Fix /contenttype/guess test After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text and definitively not PowerPoint. It previously worked as g_content_type_guess() was reading beyond the boundary of the data due to specifying -1 as data length. Update that test case to expect a PO template instead, and add two more with a definitive PO template syntax and some binary data. We do not currently have a MIME magic for PowerPoint, so we cannot actually detect it with certainty, but at least make sure that the returned MIME type is correct. https://bugzilla.gnome.org/show_bug.cgi?id=678941 gio/tests/contenttype.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c35106fcc4a736a2cdd3566042da15216dea415b Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 15:38:06 2012 +0200 Fix the mimetype default fix We need to ignore the defaults.list item only when there was a mimetype handler found in a previous mimetype, not if one was found for the same mimetype as the one that is listed in defaults.list (same for the new-style defaults). gio/gdesktopappinfo.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f14c0112d07832b0ae4c75fd8d348e8f15d131d1 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 14:50:37 2012 +0200 Fix default app lookup wrt parent types and defaults.list There was an issue when looking up the default handler for a type where a supertype was listed in defaults.list. We would pick the default for the parent type even if there was a handler for the more specific type. In the case of the new-style defaults marking ( "Default Applications" in mimeapps.list) we were already checking for a more specific handler befor using a default, but we also need to do a similar check for the defaults.list case. https://bugzilla.gnome.org/show_bug.cgi?id=678944 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae30806403e556c8297a16a25a18687d9e80f89 Author: Stef Walter <stefw@gnome.org> Date: Thu Jun 28 14:41:39 2012 +0200 GTlsInteraction: Fix incorrect locking of mutex * Fix incorrect locking of mutex in g_tls_interaction_invoke_ask_password() https://bugzilla.gnome.org/show_bug.cgi?id=678758 gio/gtlsinteraction.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 139c1ce9884a91be167ab9d48d3c4b0df89dd112 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 09:25:37 2012 +0200 gio/tests/contenttype: Call g_content_type_guess() with valid data len g_content_type_guess() requires specifying a valid data length. Fixes a segfault when running the test. Also add an explicit check for this and return XDG_MIME_TYPE_UNKNOWN when data_size is specified as -1, to avoid crashing. https://bugzilla.gnome.org/show_bug.cgi?id=674452 gio/gcontenttype.c | 8 ++++++++ gio/tests/contenttype.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 95f29687e14423ca541cac1c00137375b935168d Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 11:46:28 2012 +0200 /mainloop/timeouts test: Reduce race condition Due to load, particular traits of the architecture, or other circumstances, the /mainloop/timeouts sometimes manages to call the "every 100 ms" timer loop only 9 times in 1050 ms. This is an inherent race-condition in the test; allow it some slack and accept 9 times as well. https://bugzilla.gnome.org/show_bug.cgi?id=678959 glib/tests/mainloop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 240ef2b9e830f2aa92356368902bec813f3c1ef8 Author: Philipp Kern <pkern@debian.org> Date: Wed Jun 27 10:57:50 2012 +0200 valuetransform: Fix definition of ulong_bool On big endian 64 bit machines such as s390x, an uint is too small to hold a ulong_bool; it needs to be an actual ulong. https://bugzilla.gnome.org/show_bug.cgi?id=678949 http://bugs.debian.org/662057 gobject/gvaluetransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e5e95a217dc43a70bd998fce16ed93225e0cfd Author: Alexander Shopov <ash@kambanaria.org> Date: Wed Jun 27 07:17:40 2012 +0300 Updated Bulgarian translation po/bg.po | 391 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 203 insertions(+), 188 deletions(-) commit 72af44cb1249f02cbe56376a751e3ae6d3b39ea8 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 26 18:32:29 2012 +0200 Allow slightly too small poll duration in /socket/timed_wait test Sometimes the poll duration in the /socket/timed_wait test is slightly lower than the requested 100000, causing failures like ERROR:/build/buildd/glib2.0-2.33.2/./gio/tests/socket.c:619:test_timed_wait: assertion failed (poll_duration > = 100000): (99240 >= 100000) FAIL Adjust the test to also allow some jitter in the "too small" direction, similar to the already existing span for "slightly too large". https://bugzilla.gnome.org/show_bug.cgi?id=678881 gio/tests/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6aa3b3bdd9f0fe1d9f2d2eed1d881bc189bcfe8 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 20:46:28 2012 -0400 GTestDBus: Don't call into gvfs https://bugzilla.gnome.org/show_bug.cgi?id=678808 gio/gtestdbus.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 55bac5da0ada8f46824a4d565cdd8ea7e3774a47 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 13:08:13 2012 -0400 GMainContext: reorganize source list to avoid O(n) behavior Rather than having a single priority-ordered list of GSources, store a list of queues of each priority level. This means that adding a source is now O(n) in the number of unique priority levels currently being used, rather than O(n) in the total number of sources. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 28 deletions(-) commit aaaaab91de10445a178e8183a95d98189249e868 Author: Dan Winship <danw@gnome.org> Date: Fri Jun 22 22:21:05 2012 -0400 gmain: add GSourceIter add an explicit iterator for GMainContext sources https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 62 deletions(-) commit 8e65c304315a7f54addd9c2771d20eca007f9d6a Author: Dan Winship <danw@gnome.org> Date: Sat Jun 23 12:01:40 2012 -0400 gmain: rename some variables for clarity https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 532f463eaf48d6a560977fd64479cfa05433162e Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 10:22:45 2012 -0400 gmain: child sources must always have same priority as parent A child source does not have a priority of its own; it must have the same priority as its parent. Enforce this in g_source_set_priority_unlocked(). https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 3 +++ 1 file changed, 3 insertions(+) commit d981d79a4291f76373f7f0e3abec762977133e27 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 30 12:15:04 2011 -0400 GSource: initialise ->priv on construct For efficiency, we waited until setting up child sources to allocate ->priv. Simplify things a bit by allocating it from the start. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) commit 56de38da7dc4ffd1c60c336211806e345dbcaf42 Author: Dan Winship <danw@gnome.org> Date: Sun Jun 24 09:48:10 2012 -0400 tests: add a timing test for adding lots of GSources https://bugzilla.gnome.org/show_bug.cgi?id=619329 tests/.gitignore | 1 + tests/Makefile.am | 2 + tests/sources.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) commit 4780ee5d4a6057312abee9a8fcaad45a9897fe0e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 23:23:36 2012 -0400 glib/: gtk-doc cleanup docs/reference/glib/glib-overrides.txt | 5 +++++ glib/docs.c | 3 +++ glib/gkeyfile.c | 2 +- glib/gunicode.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) commit 130c249eacfba3b77ec110880661386e7945b898 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 19:37:05 2012 -0400 Fix previous commit gio/tests/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b837cdde69fa39ed10aaf8791ab656ad41dedeb0 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 18:14:10 2012 -0400 gio/tests/actions: Plug a memory leak gio/tests/actions.c | 1 + 1 file changed, 1 insertion(+) commit b65194e8dfd3d9c3fabb16a189c0b326c175f9d5 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 17:05:45 2012 -0400 GIOScheduler: Disconnect from cancellable after job completes This was causing crashes when a cancellable was canceled after the job had completed. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) commit 03f2f3b0027e9239fc501539b1c16aefaee863d6 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:55:31 2012 -0400 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5ed95c9ad973e30c1c1938c55ffe60f4a14dab7 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:29:53 2012 -0400 GLib 2.33.3 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) commit 115ca3d8970ca32d824a201a9cc8f1fb24f3155e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 10:37:51 2012 -0400 Revert "GIOScheduler: Avoid constant iteration over pending job list" This reverts commit 2839297686a9305b4fa909b93c337ef1d1a5e94b. Conflicts: gio/gioscheduler.c https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 1354ef25402e0d340aa52521a5f51b1fb387705c Author: Lars Uebernickel <lars@uebernic.de> Date: Mon Jun 25 18:29:01 2012 +0200 GDbusActionGroup: always set strict when _query_action fails gio/gdbusactiongroup.c | 1 + 1 file changed, 1 insertion(+) commit 4b66dc1ca6657171d7d9b45568b3479653a525f8 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jun 25 00:01:07 2012 +0200 Updated Galician translations po/gl.po | 367 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 191 insertions(+), 176 deletions(-) commit bea994199379f4e09091b030c46fd922b304d0d2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 20:55:51 2012 -0400 Mark utf8 performance tests as such glib/tests/utf8-performance.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit c5561ff6992bfbf2b92af401bc6f96317514b4a3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:58:51 2012 -0400 Remove a few redundant ;s gio/gdbusobjectmanagerclient.c | 2 +- gio/gresourcefile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02eed18a4e745b4b4a0f0d5d2892faaecbd2c23d Author: Phil Clayton <phil.clayton@lineone.net> Date: Tue Jun 12 16:09:19 2012 +0100 Add missing annotation to GDBusConnection::closed Add annotation (allow-none) to the parameter error. https://bugzilla.gnome.org/show_bug.cgi?id=677952 gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90f70099d86dbf6c249137f9fbaead1df8002f6e Author: Emmanuele Bassi <ebassi@gnome.org> Date: Thu May 31 23:48:35 2012 +0100 Update the comment in gmarshal.list The current note makes it look like the marshaller code generation has been deprecated in favour of the libffi-based generic marshaller; this is not the case, so we should probably clarify the point a bit. https://bugzilla.gnome.org/show_bug.cgi?id=677235 gobject/gmarshal.list | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c6070a6792b78f44df9746ee96116cbbcc4dd40 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:51:11 2012 -0400 Add a test for G_USER_DIRECTOR_DESKTOP Based on a patch by Marc-Antoine Perennou, https://bugzilla.gnome.org/show_bug.cgi?id=676594 glib/tests/utils.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 53b48dfd3bce21fc6b52128859b01329efa10d52 Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing The old _pcre_ucp_othercase() function was wrong in returning NOTACHAR (0xffffffff) for characters that aren't changed by upper- and lower-casing. This led to PCRE internally using incorrect (or at least inefficient) character classes when using G_REGEX_CASELESS. E.g. [Z-\x{100}] turned into: [Z\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{39c}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{178}z-\x{101}] instead of the expected and efficient [Z\x{39c}\x{178}z-\x{101}] https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 22e9f72a8e23c9469c2891e48e082be664429dac Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:30:10 2012 -0400 Add a note of caution to the g_slist_delete_link() docs glib/gslist.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 905184b3ef04ea6068bd115111354cebe34d3bbc Author: Sasi Bhushan Boddepalli <sasi@swecha.net> Date: Sat Jun 23 10:16:28 2012 +0530 Updated Telugu Translation po/te.po | 540 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 305 insertions(+), 235 deletions(-) commit 991d07d66a8b111131181a8db15abbb042ee7c6d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 11:10:00 2012 -0400 GIOScheduler: Use a GList, not GSList for jobs In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 2839297686a9305b4fa909b93c337ef1d1a5e94b Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 10:20:20 2012 -0400 GIOScheduler: Avoid constant iteration over pending job list The iteration over the list (while holding a mutex) was a serious performance hit for asynchronous I/O. We can just use g_cancellable_connect(). https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit a8ddd52a45ccf1e9a6aa6b5d873e12eda3a205df Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:44:16 2012 -0400 GRand: Check return value of fopen directly This doesn't fix anything, it should just silence some static analysis tools. glib/grand.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 01d8d43d0b66f349a38075a3ebfd82fc9bed084a Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:37:39 2012 -0400 gspawn: Abort if we can't open /dev/null This really "shouldn't happen", but if we have an assertion here, it will help static analysis tools know we're not hitting undefined state. glib/gspawn.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d622157f055d9fb0ae3686f2b7a4fd1952af258 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:33:51 2012 -0400 tests/unix: Ensure buffer is NUL terminated glib/tests/unix.c | 1 + 1 file changed, 1 insertion(+) commit 56411bb67807cb5306f495d41276fe6855cdcee7 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:53 2012 -0400 gsignal: Properly handle NULL nodes gobject/gsignal.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ccd30d6816564db42b2ce13afc6bdf32274206e8 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:33 2012 -0400 gresourcefile.c: Remove stray semicolon gio/gresourcefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1ada372e968db4c5ccdc684d21b2a3e53514b85 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:08:05 2012 -0400 gmenu: Remove stray semicolon in g_menu_clear_item() gio/gmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 598c3d233a560c10133b9a8a426ae87288a98584 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:06:34 2012 -0400 tests: Add missing initializer for return value gio/tests/test-pipe-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f626cb3c16e415a78e21c7b1009e0fb9851fa3b4 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:05:39 2012 -0400 tests: Add missing va_end() gio/tests/gapplication.c | 2 ++ 1 file changed, 2 insertions(+) commit eef6f0add83c9a82b7544b519f292a90d9356a74 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:00:04 2012 -0400 gfileutils: Remove extra fclose() This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jun 14 10:12:46 2011 -0400 Don't leak resources in error cases glib/gfileutils.c | 1 - 1 file changed, 1 deletion(-) commit e756bef2e3b93a09b38a4f793a7b7265584457c8 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Jun 22 13:44:29 2012 +0200 Updated Spanish translation po/es.po | 61 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 29 deletions(-) commit 8ed955ceba9868bff43bdd591a36c12294735ab2 Author: Stef Walter <stefw@gnome.org> Date: Sun May 13 07:44:57 2012 +0200 gresolver: More robust parsing of DNS responses * Handle truncated responses, and invalid names https://bugzilla.gnome.org/show_bug.cgi?id=675966 gio/gresolver.c | 199 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 134 insertions(+), 65 deletions(-) commit 49e50757076b589bd21274221b3f69f7b2b785f3 Author: Matthew Barnes <mbarnes@redhat.com> Date: Thu Jun 21 23:39:14 2012 -0400 Add g_dbus_object_manager_server_is_exported() Returns whether a GDBusObjectSkeleton is exported on a GDBusObjectManagerServer. https://bugzilla.gnome.org/show_bug.cgi?id=678539 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusobjectmanagerserver.c | 34 ++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerserver.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 38 insertions(+) commit aae1633d0f0c75b7d9c2dd7b8c10eb279f70fc0d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 18:32:06 2012 -0400 GUnixVolumeMonitor: Make use of new g_list_copy_deep() gio/gunixvolumemonitor.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 2fd6eb7e1cfc878d011ec0b7e58c5e696186516e Author: Jonh Wendell <jwendell@gnome.org> Date: Thu Jun 21 12:23:23 2012 -0300 Adds g_list_copy_deep and g_slist_copy_deep They make a full (deep) copy of a list. In contrast with g_[s]list_copy(), these functions take a function as a argument to make a copy of each list element, in addition to copying the list container itself. The functions g_[s]list_copy() were reimplemented to just call the new functions with NULL as the function argument, which will behave like current implementation. https://bugzilla.gnome.org/show_bug.cgi?id=675024 docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/glist.c | 48 ++++++++++++++++++++++++++++++++--- glib/glist.h | 7 +++++ glib/gslist.c | 48 ++++++++++++++++++++++++++++++++--- glib/gslist.h | 6 +++++ glib/tests/list.c | 29 +++++++++++++++++++++ 7 files changed, 136 insertions(+), 6 deletions(-) commit e0f4b2b03b877e0360f56836ebfe454aa3a9dca5 Author: Dan Winship <danw@gnome.org> Date: Thu Jun 21 15:13:06 2012 -0400 gio/tests/proxy-test: fix cleanup make sure the proxy threads are in the "waiting for a connection" state when we do the final cleanup, or else there are race conditions involving which thread processes the GCancellable cancellation first. gio/tests/proxy-test.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e9ec1ad0689dfbb1121e1c5fe5b1aedbe2de568f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jun 21 06:11:58 2012 -0400 Install bash completion files in /usr/share/ The bash-completion code nowadays expects completion files to be installed in /usr/share/bash-completion/completions, and expects them to be named like the command they are completing for. https://bugzilla.gnome.org/show_bug.cgi?id=677782 gio/Makefile.am | 8 ++-- gio/completion/gdbus | 33 ++++++++++++++++ gio/completion/gresource | 58 +++++++++++++++++++++++++++ gio/completion/gsettings | 84 ++++++++++++++++++++++++++++++++++++++++ gio/gdbus-bash-completion.sh | 33 ---------------- gio/gresource-bash-completion.sh | 58 --------------------------- gio/gsettings-bash-completion.sh | 84 ---------------------------------------- 7 files changed, 179 insertions(+), 179 deletions(-) commit 80b6074aa27815e3c824f1e01ccb2431b03feec4 Author: Dan Winship <danw@gnome.org> Date: Wed Jun 20 10:14:01 2012 -0400 gio/tests/pollable: add can_poll() assertions Assert that socket streams and socket/pipe-based unix streams are pollable, and file-based unix streams are not. https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/tests/pollable.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 7d0db042234165678f5dfafef3dd96d3af97b56c Author: Dan Winship <danw@gnome.org> Date: Mon Jun 18 15:31:47 2012 -0400 gdbus: fix generated code to not warn under -Wfloat-equal https://bugzilla.gnome.org/show_bug.cgi?id=678333 gio/gdbus-2.0/codegen/codegen.py | 11 +++++++++-- gio/tests/gdbus-test-codegen.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) commit 599d1a430e787f7cda929b8b0188a01f39453e66 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed Jun 20 10:19:14 2012 +0800 msvc_recommended_pragmas.h: Re-enable C4819 warnings Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS locales, so re-enable this. Add a note in the Visual C++ Readme.txt's regarding this. build/win32/vs10/README.txt | 7 +++++++ build/win32/vs9/README.txt | 7 +++++++ msvc_recommended_pragmas.h | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) commit 7cf38c6ad76f5b343614bba9d31f683b7edb0620 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jun 19 18:51:26 2012 +0530 Assamese translation reviewed po/as.po | 1397 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 717 insertions(+), 680 deletions(-) commit 98f201b73b4ba5b5dfd86ebcd524ea8f73855174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 16:35:26 2012 +0800 Bug 678332-gio/gconverterinputstream.c: Fix build Apparently the previous change to this file broke GCC builds, so fix that. gio/gconverterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 875854411a4ea5fdd1d9217d7856858d89090cb9 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 12:04:28 2012 +0800 Bug 678332-GIO: Fix build on Windows/non-GCC -gconverterinputstream.c: Avoid GCCism by not using non-standard pointer arithmetic on void*, but do a cast to char * as that seems to be what the variable was used for. -gtestdbus.c: Don't include unistd.h unconditionally, and use g_usleep() instead of usleep(), as usleep() is not universally available. gio/gconverterinputstream.c | 2 +- gio/gtestdbus.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 08a6f8d27f8d6c059f4c074680218f6bc66f8174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Mon Jun 18 17:09:56 2012 +0800 build/win32/vs9/glib.vsprops: Cosmetics Make it more consistent accross the board by using CopyDir as the output/"install" folder. build/win32/vs9/glib.vsprops | 514 ++++++++++++++++++++++--------------------- 1 file changed, 259 insertions(+), 255 deletions(-) commit b81d7886525ea7d53a0bf7f8e845827eea5cf912 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Jun 18 07:39:23 2012 +0200 Fix g_utf8_validate() out argument transfer mode The "end" argument is unusual in g_utf8_validate(): it's not a classic out argument which gets allocated by the called function, but merely points into one of its input arguments. Thus it is "transfer none". https://bugzilla.gnome.org/show_bug.cgi?id=672889 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1da843cb48de1ef080c20b1c8ebc9bc88688ce6 Author: Dan Winship <danw@gnome.org> Date: Sat Jun 16 10:38:45 2012 -0400 docs: fix an example docs/reference/gio/gdbus-codegen.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit defa25f3d00619947720be0bcda2357bd43e718f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 18:53:09 2012 -0400 GKeyFile: Deal better with blank lines There is no need to store a has_trailing_blank_line boolean for each group, we can just check this at the time we assemble the data. This fixes a problem without roundtrips where we would sometimes add an extra blank line between groups. The testcase here is inspired by https://bugzilla.gnome.org/show_bug.cgi?id=677817 glib/gkeyfile.c | 12 +++--------- glib/tests/keyfile.c | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) commit d0c8895a073625ce87bf1604b9ab72cc7e15c616 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 15:16:13 2012 -0400 GWakeup: Avoid extraneous wakeups We were checking the wrong number here, and waking up unnecessarily. https://bugzilla.gnome.org/show_bug.cgi?id=678052 glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a5b3729ab447dd93ba337fa916067d5af2419dc Author: Paolo Borelli <pborelli@gnome.org> Date: Fri Jun 15 14:41:20 2012 +0200 Improve g_find_program_in_path documentation Document that g_find_program_in_path returns a newly-allocated string glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3647a3dcaaf0c877d0ea9398bbf5d9846a3cacfb Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Jun 15 13:15:48 2012 +0300 Updated Greek translation po/el.po | 1533 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 733 insertions(+), 800 deletions(-) commit 211d50ac7418cd05d8a7828fca388c127e02308a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu Jun 14 13:48:29 2012 +0200 Updated Spanish translation po/es.po | 142 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 77 insertions(+), 65 deletions(-) commit a090a3680b093e7473cc5e760bdf3454f8ca9e9e Author: Khaled Hosny <khaledhosny@eglug.org> Date: Wed Jun 13 21:00:44 2012 +0200 Updated Arabic translation po/ar.po | 5639 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2991 insertions(+), 2648 deletions(-) commit ee19ddcb1423814edc76aa03dd3c2252e9f722b4 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Apr 30 12:51:25 2012 -0400 Update to use XDG cache home for thumbnails https://bugzilla.gnome.org/show_bug.cgi?id=675168 gio/glocalfileinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e5d4af10a344eaa5eee72390858ee3cf374f35ad Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jun 13 14:43:29 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 5ff95679b805f7cc78f0579546700b6d48a35e0d Author: Benjamin Otte <otte@redhat.com> Date: Wed Jun 13 17:33:01 2012 +0200 glib-compile-resources: Forward errors from spawned processes We just grab stderr from gdk-pixbuf-to-csource and xmllint and include it in the error message. It's the best we can do. gio/glib-compile-resources.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 6c1276eb5fcc19921d0a0584aee140bccc3f8488 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Jun 12 20:22:39 2012 +0200 gtype: make these cases fatal. Otherwise we crash with a null-ptr deref in g_object_newv and ever there we should not return null, as we're saying that object creation will not return null. gobject/gtype.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 0866e1ede967e513f09bfb47166d76005e0486b2 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:09:53 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 14eb3d3590b5c08626c4901b16e9695747d43188 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:08:26 2012 -0400 gunixoutputstream: add missing can_poll() implementation https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/gunixoutputstream.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b9ec5699cd27334fdc605875bb0eeb818de64d4a Author: Murray Cumming <murrayc@murrayc.com> Date: Tue Jun 12 10:35:52 2012 +0200 Remove trailing commas from enums gio/gioenums.h | 2 +- glib/gspawn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6f1c4f7f056eddcbf884659ff68240c0784003c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:24:03 2012 -0400 Correct the docs for g_time_zone_adjust_time March 13, 2010 is very ordinary. March 14, 2010 is the special day. glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f47de7ec2c9f79edbb3e03f3112aa8cd1d286309 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:23:42 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) commit d4f885478542ad7356b44e2a9965dc1081ea80dc Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:42 2012 -0400 Cosmetic changes tests/gio-test.c | 25 ++++--------------------- tests/iochannel-test.c | 18 +++++++----------- 2 files changed, 11 insertions(+), 32 deletions(-) commit 6ee10762b5194076a7a9db80d41dbb3aa14fe287 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:14 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 111 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-) commit c5dabac47a3613e742ebfc0c4dec4f91ab796ae8 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:18:29 2012 -0400 Fix a typo It is 'entries', not 'entires'. glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e706ef88b3b433f777e552c85339b901314deaa Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jun 8 13:30:48 2012 -0400 GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal This is useful otherwise we'll fail if a systemd service is masked. See bug 677718 for details. https://bugzilla.gnome.org/show_bug.cgi?id=677718 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbusproxy.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit ea826d7facabbcd05b8343554acc808275881009 Author: Daniel Macks <dmacks@netspace.org> Date: Wed Jun 6 22:40:26 2012 -0400 Fix path to aclocal in output message datadir is defined in terms of datarootdir by default in configure (datadir='${datarootdir}' with ${datarootdir} not expanded), so defining datadir must happen *after* datarootdir is defined in the glib-gettextize shell script. Otherwise ${datarootdir} is null when it is expanded at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=518309 glib-gettextize.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1d4da14d8e69fb60da1a9733ac1d58d0dcd8b2 Author: Martin Jansa <Martin.Jansa@gmail.com> Date: Wed Jun 6 21:38:28 2012 -0400 configure: Add --disable-libelf option See http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch?id=1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b Signed-off-by: Colin Walters <walters@verbum.org> configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 032e8dabd15133952c7c4f9da05605380b17f79f Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jun 6 19:44:39 2012 +0200 gdbus: Implement g_dbus_connection_get_last_serial() This patch brings an ability to retrieve serial number of the last message sent within the current thread. https://bugzilla.gnome.org/show_bug.cgi?id=676825 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 49 ++++++++++++++++++++ gio/gdbusconnection.h | 4 ++ gio/gio.symbols | 1 + gio/tests/gdbus-connection.c | 90 +++++++++++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) commit 7ccfa9ce4b2352277448f66a138cc028f5fe57c8 Author: Colin Walters <walters@verbum.org> Date: Wed Jun 6 07:15:48 2012 -0400 tests/spawn-multithreaded: Decrease parallelism to avoid crashing on OS X https://bugzilla.gnome.org/show_bug.cgi?id=677527 glib/tests/spawn-multithreaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3ff037bd147b7d86f23108660a2fe71df5268a6 Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 19:20:13 2012 -0400 Pass -framework sub-flag without embedded whitespace The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994 configure.ac | 4 ++-- gio/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4690d85607da879e50746db64ea99a273823c25e Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 14:16:24 2012 -0400 configure: Require libelf 0.8.12 Older versions don't have the required API. (Commit message written by Colin Walters <walters@verbum.org>) https://bugzilla.gnome.org/show_bug.cgi?id=673253 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a8f12e770e9483e2b7bf965711a22fad134444 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 5 18:50:36 2012 +0200 g_dbus_gvariant_to_gvalue(): Add missing out annotation gio/gdbusutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdf1660e2856a22aeca6b5927b5756119d6526ec Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 4 13:17:47 2012 -0400 GLib 2.33.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8c5bd2bb0047677223849c2d516df8bd37606e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 13:18:39 2012 -0400 Updates for 2.33.2 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 3e1b972c933bc4a01e8d05f1bb6c6df1ad816579 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:45 2012 -0400 Improve GResource test coverage gio/tests/resources.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 109 insertions(+), 3 deletions(-) commit c7de2dd0e39bf9ef5641490b25c8a6eb17b7863a Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:03 2012 -0400 Improve GSocketAddress test coverage gio/tests/unix-fd.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 721366d0883c39ad31027f0f406ffca9485408ed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:46 2012 -0400 Improve GNetworkMonitor test coverage gio/tests/network-monitor.c | 150 ++++++++++++++++++++++++++++++-------------- 1 file changed, 103 insertions(+), 47 deletions(-) commit 4ad5210b353b685dce0aae9bd7331838f6cc5f92 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:27 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3129bac14c6ac5e991127f8cc51810c28306bbad Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 21:37:32 2012 -0400 Formatting cleanups gio/gvfs.c | 96 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 49 insertions(+), 47 deletions(-) commit eeb5140ad2b318fd5f6a7c02efbd0b33859975c2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:47 2012 -0400 Improve GMenu test coverage gio/tests/gmenumodel.c | 64 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) commit 0a1079d171439d89cd1c825d20c7d766ab3573b5 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:20 2012 -0400 Improve GApplication test coverage gio/tests/basic-application.c | 1 + gio/tests/gapplication.c | 45 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 2 deletions(-) commit 642e89f35678c687d45c204ad095b58f785d6c91 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:05 2012 -0400 Improve GActionGroup test coverage gio/tests/actions.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 11 deletions(-) commit a53a1b65b59577e6332509789a062c6038a085a8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:50:54 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 26a1056bde7f6ef97963b1a4b42d3da3027f555f Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 16:30:58 2012 -0400 Expand GAppInfo tests gio/tests/appinfo.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 51e6edf08b34120e1bb88a28785f3b5e59e1a2b3 Author: Bruno Brouard <annoa.b@gmail.com> Date: Sun Jun 3 13:36:14 2012 +0200 Updated French translation po/fr.po | 324 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 182 insertions(+), 142 deletions(-) commit ce5bd68e26d0e67c24313076b7f634f1dcac81b9 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 21:56:10 2012 +0200 glib: fix g_reload_user_special_dirs_cache We handle a special case for G_USER_DIRECTORY_DESKTOP when we init the values but drop it when we reload them. Fix this by preferring old values to NULL https://bugzilla.gnome.org/show_bug.cgi?id=676594 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/gutils.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2e31166f6a005d2af724942ec3e8f58cecb3a756 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 15:29:31 2012 +0200 Updated Spanish translation po/es.po | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 4f04247a1964457a7493f23d786486df449b3e08 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 13:19:37 2012 +0200 Updated Spanish translation po/es.po | 207 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) commit 69e12cd3d56ae43b188a278b807e517961627ada Author: Dan Winship <danw@gnome.org> Date: Wed May 30 08:30:27 2012 -0400 GConverterInputStream: fix an edge case Reading from a GConverterInputStream with both input_buffer and converted_buffer non-empty would return bogus data (the data from converted_buffer would essentially get skipped over, though the returned nread reflected what the count would be if it hadn't been). This was never noticed before because (a) it can't happen if all of your reads are at least as large as either the internal buffer size or the remaining length of the stream (which covers most real-world use), and (b) it can't happen if all of your reads are 1 byte (which covers most of tests/converter-test). (And (c) it only happens for some converters/input streams.) But this was happening occasionally in libsoup when content-sniffing a gzipped response, because the SoupContentSnifferStream would first read 512 bytes (to sniff), and then pass through larger reads after that. Fixed and added a test to converter-test. https://bugzilla.gnome.org/show_bug.cgi?id=676478 gio/gconverterinputstream.c | 1 + gio/tests/converter-stream.c | 163 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) commit 0fd9863abe218c002327ea993089476a793a99e6 Author: Christian Persch <chpe@gnome.org> Date: Tue May 29 19:10:57 2012 +0200 build: Add missing AM_V_GEN to silence the build gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4979c1d075e08bcdc7a6569afae2052dac5eea81 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 16:52:28 2012 +0200 application: Add dbus register/unregister hooks When the application is using its D-Bus backend, it is useful to be able to export extra D-Bus objects at the right time, i.e. *before* the application tries to own the bus name. This is accomplished here by adding a hook in GApplicationClass for this; and a corresponding hook that will be called on unregistration to undo whatever the register hook did. Bug #675509. gio/gapplication.c | 36 +++++++++++ gio/gapplication.h | 10 ++- gio/gapplicationimpl-dbus.c | 15 ++++- gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-dbushooks.c | 99 ++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 2 deletions(-) commit f642209ef4c7f13f5ff03ca3c315cd237f8f26bb Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sun May 27 22:40:44 2012 +0100 gobject: Document notify signal deduplication with freeze/thaw Expand the documentation for g_object_[freeze|thaw]_notify() to explain that it deduplicates “notify” signals emitted by frozen objects, so that at most one signal is emitted per property. https://bugzilla.gnome.org/show_bug.cgi?id=676937 gobject/gobject.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1637f08ed146bca89049301495a49d8873c2957e Author: Matej Urbančič <mateju@svn.gnome.org> Date: Mon May 28 14:57:02 2012 +0200 Updated Slovenian translation po/sl.po | 313 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 149 deletions(-) commit ae421c9f6ca58ba18494619dc89ed1d2b60948eb Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Apr 27 10:02:54 2012 +0200 Link to gvariant-format-strings-pointers in getter API https://bugzilla.gnome.org/show_bug.cgi?id=674777 glib/gvariant.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 175864b83c076f6b74a822e75990ab3a15ab73bc Author: Colin Walters <walters@verbum.org> Date: Sat May 26 11:53:14 2012 -0400 gappinfo: Fix uninitialized-variable gcc warning gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 151e37816bea6101523cf7dddab4ea1ce55ec909 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 09:22:06 2012 -0400 Annotate API introduced for 2.34 with GLIB_AVAILABLE_IN_2_34 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gdbusauthobserver.h | 1 + gio/gresolver.h | 3 +++ 2 files changed, 4 insertions(+) commit 1cc7162c9560796829db457f7ea5fdd218a0ae46 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:59:09 2012 -0400 Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gactiongroup.h | 1 + gio/gactiongroupexporter.h | 2 ++ gio/gactionmap.h | 3 +-- gio/gappinfo.h | 3 +++ gio/gapplication.h | 2 ++ gio/gdbusactiongroup.h | 1 + gio/gdbusinterface.h | 1 + gio/gdrive.h | 1 + gio/gfile.h | 1 + gio/gfileinfo.h | 1 + gio/ginetaddressmask.h | 3 +++ gio/ginetsocketaddress.h | 2 ++ gio/gmenu.h | 2 ++ gio/gmenuexporter.h | 2 ++ gio/gnetworkmonitor.h | 2 ++ gio/gnetworkmonitorbase.h | 2 ++ gio/gremoteactiongroup.h | 3 +++ gio/gresource.h | 17 +++++++++++++++++ gio/gsettings.h | 2 ++ gio/gsettingsschema.h | 7 +++++++ gio/gsimpleasyncresult.h | 1 + gio/gsocket.h | 11 +++++++++++ gio/gsocketconnection.h | 4 ++++ gio/gunixconnection.h | 4 ++++ gio/gunixmounts.h | 1 + gio/gvolume.h | 1 + 26 files changed, 78 insertions(+), 2 deletions(-) commit a9637126465fba06c1fc73cc70eb5f683ad4e4b3 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:42:50 2012 -0400 Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30 I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gaction.h | 1 + gio/gdatainputstream.h | 2 ++ gio/gdbusconnection.h | 3 +++ glib/gatomic.h | 4 ++++ glib/gfileutils.h | 3 +++ glib/ghash.h | 1 + glib/ghmac.h | 9 +++++++++ glib/glib-unix.h | 6 ++++++ glib/gunicode.h | 1 + glib/gutils.h | 2 ++ glib/gvariant.h | 2 ++ gobject/glib-types.h | 4 ++++ 12 files changed, 38 insertions(+) commit 9c86e1168cad8ae2c2642ffd487d4f6319e1dc04 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Sat May 26 10:34:53 2012 +0200 gio: fix symbol name Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> gio/gio.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 800d6ff1115b27bf0e9cce818a0511048e2f1cc5 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 5 09:19:17 2012 -0400 gio: add GBytes-based input/output stream methods Using a caller-supplied buffer for g_input_stream_read() doesn't translate well to the semantics of many other languages, and using a non-refcounted buffer for read_async() and write_async() makes it impossible to manage the memory correctly currently in garbage-collected languages. Fix both of these issues by adding a new set of methods that work with GBytes objects rather than plain buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671139 docs/reference/gio/gio-sections.txt | 6 ++ gio/ginputstream.c | 174 ++++++++++++++++++++++++++++++++++++ gio/ginputstream.h | 16 ++++ gio/gio.symbols | 6 ++ gio/goutputstream.c | 157 ++++++++++++++++++++++++++++++++ gio/goutputstream.h | 16 ++++ gio/tests/memory-input-stream.c | 26 ++++++ gio/tests/memory-output-stream.c | 27 ++++++ 8 files changed, 428 insertions(+) commit 4b456635e422ea620bfb3feeddac12a7045bd43b Author: Christian Persch <chpe@gnome.org> Date: Thu May 24 17:51:35 2012 +0200 Revert "application: Don't print a critical warning here" This reverts commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee1965b888d070428b88bbcde989e98ce63a5fe4 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:29:44 2012 +0200 application: Save a few bytes in the library There's really no need to put useless whitespace into the .so. gio/gapplicationimpl-dbus.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:26:34 2012 +0200 application: Don't print a critical warning here It's a runtime error, not a programming error. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9217309a5cd1eb59c7881939cdb58bd48e27097e Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 20:38:52 2012 +0200 glib: fix build Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/genviron.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 481191f118a8f8e6505917a985e531137796d8ac Author: Christian Persch <chpe@gnome.org> Date: Sun May 20 00:01:35 2012 +0200 gspawn: Add GSpawnFlag to use the PATH from envp Add a G_SPAWN_SEARCH_PATH_FROM_ENVP flag to GSpawnFlags so that g_spawn_async() etc use the PATH variable from the passed-in child environment to search for the executable. If both this flag and the G_SPAWN_SEARCH_PATH flag are set, the child environment is searched first and only falls back to the PATH from the process environment if it is unset. Bug #676398. glib/gspawn.c | 48 ++++++++++++++++++++++++++++++++++++------------ glib/gspawn.h | 6 +++++- 2 files changed, 41 insertions(+), 13 deletions(-) commit 6969b63827a302604a0566c8889feed33a25d842 Author: Christian Persch <chpe@gnome.org> Date: Sat May 19 23:59:01 2012 +0200 environ: Allow NULL envp https://bugzilla.gnome.org/show_bug.cgi?id=676397 glib/genviron.c | 31 ++++++++++++++++++++----------- glib/tests/environment.c | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 11 deletions(-) commit 44d4990442532dd067ca670a3a4b18109ee6b02c Author: Colin Walters <walters@verbum.org> Date: Fri May 18 10:39:05 2012 -0400 GMemoryOutputStream: Add API to return data as a GBytes Matches the corresponding additions to GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 28 ++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 3 +++ gio/tests/memory-output-stream.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) commit 1bedf248794fe5cf9dad5e40c18329e79f9d855e Author: Colin Walters <walters@verbum.org> Date: Thu May 17 14:36:15 2012 -0400 GMemoryInputStream: Add API to accept GBytes And s/Chunk/GBytes/ internally. GBytes is really a perfect match for GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 2 + gio/gmemoryinputstream.c | 107 ++++++++++++++++++++++++++++++----------------- gio/gmemoryinputstream.h | 6 +++ 3 files changed, 76 insertions(+), 39 deletions(-) commit 6e32f0a6018ab26b2a14c184752913d6f2ecad40 Author: Debarshi Ray <debarshir@gnome.org> Date: Thu May 17 06:43:54 2012 +0200 gio: The tmpl parameter to g_file_new_tmp can be NULL Fixes: https://bugzilla.gnome.org/676208 gio/gfile.c | 1 - 1 file changed, 1 deletion(-) commit 7cadf4f15f952457b5a5440d24d1a93e0a99cdde Author: Dan Winship <danw@gnome.org> Date: Wed Mar 21 09:22:38 2012 -0400 g_utf8_validate: @str shouldn't end up annotated as utf8 In order for this function to have any point, it has to be possible to pass non-UTF-8 data to it, so annotate @str as being array-of-guint8 instead of utf8. https://bugzilla.gnome.org/show_bug.cgi?id=672548 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8df2b96a6910aa557a6db2b1b5e618f3ace70f11 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 12:18:23 2012 -0400 proxy-test: work even when the upstream DNS lies Rather than depending on the host's DNS configuration to properly return an error for a non-existent hostname, just substitute in a dummy GResolver implementation that does it for us. gio/tests/proxy-test.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit 555cd1923fae52a145d527904f4efc0fc6298585 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 08:49:05 2012 -0400 g_app_info_launch_default_for_uri: don't use GFile if we don't have to GFile doesn't handle some "real" URIs, so check if there's a default handler for the URI scheme first, and only use g_file_new_for_uri() and g_file_query_default_handler() if not. Eg, this fixes the case of opening http URIs with "%2F" in the path. https://bugzilla.gnome.org/show_bug.cgi?id=666386 gio/gappinfo.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit 0e6d9df35c948d5e65eae0edb6652a9cce88f557 Author: Holger Berndt <hb@gnome.org> Date: Thu May 17 22:24:10 2012 +0200 Document that g_app_info_create_from_commandline() does unquoting according to fd.o https://bugzilla.gnome.org/show_bug.cgi?id=676277 gio/gdesktopappinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 17e95c59c9f7b1cd023aabb3645c70b9f1f37577 Author: Dan Winship <danw@gnome.org> Date: Thu May 17 13:48:21 2012 -0400 gnetworkmonitornetlink: don't leak the list of networks https://bugzilla.gnome.org/show_bug.cgi?id=676265 gio/gnetworkmonitornetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ecbb0a4045877936d872fb8aaedd49baa4d89ef Author: Dan Winship <danw@gnome.org> Date: Thu May 10 13:29:39 2012 -0400 g_clear_pointer: work around gcc helpfulness gcc gets upset when we do "((GDestroyNotify) destroy) (_p)" because it's non-portable. But we don't care; we already know glib wouldn't work on any platform where different pointer types have different calling conventions. So tweak the code to avoid the warning. https://bugzilla.gnome.org/show_bug.cgi?id=674634 glib/gmem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 787f8087836804c903f8271699e576544426e023 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:44:36 2012 -0400 gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 gio/gsettings-bash-completion.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 431d3adacdd640141f83a6c3496760adc6aba5eb Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:41:33 2012 -0400 Improve libelf configure check system libelf is not sufficient for glib (lacks elf_getshdrstrndx and elf_getshdrnum) so let's make sure we don't define HAVE_LIBELF configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aded15c9d10dbf3ec218e25793e3467240585511 Author: Ravi Sankar Guntur <ravi.g@samsung.com> Date: Mon Mar 19 21:17:32 2012 +0530 glib: fix memory leaks in gutils, protocol, and strfuncs tests https://bugzilla.gnome.org/show_bug.cgi?id=672329 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com> glib/gutils.c | 26 ++++++++++++++++++++------ glib/tests/protocol.c | 6 +++++- glib/tests/strfuncs.c | 42 +++++++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 16 deletions(-) commit 447a25ea50af2349d313c10c46b61104ce4c0391 Author: Dan Winship <danw@gnome.org> Date: Wed May 16 12:00:44 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 0417ddab6fbd2f1cddbb9218e0e300e04da2eda5 Author: Giovanni Campagna <gcampagna@src.gnome.org> Date: Sat Apr 14 19:34:00 2012 +0200 GAppInfo: add a mechanism to query supported content types This essentially adds an accessor for the MimeType field in desktop files, to retrieve the list of all mime types supported by an application. The interface though is part of GAppInfo, so it could be implemented in the future by other backends. https://bugzilla.gnome.org/show_bug.cgi?id=674111 docs/reference/gio/gio-sections.txt | 1 + gio/gappinfo.c | 31 +++++++++++++++++++++++++++++++ gio/gappinfo.h | 4 ++++ gio/gdesktopappinfo.c | 13 +++++++++++++ gio/gio.symbols | 1 + gio/tests/appinfo-test.desktop | 1 + gio/tests/appinfo.c | 16 ++++++++++++++++ 7 files changed, 67 insertions(+) commit e011d2c92162d25a6e6d5f67d462edfeb4af3d7a Author: Dan Winship <danw@gnome.org> Date: Sun Jan 3 14:47:56 2010 -0500 Add g_type_ensure() and use it rather than playing games with volatile https://bugzilla.gnome.org/show_bug.cgi?id=605976 docs/reference/gobject/gobject-sections.txt | 1 + gio/gicon.c | 10 +++---- gio/ginetaddress.c | 4 +-- gio/giomodule.c | 38 ++++++++++++------------- gio/gresolver.c | 5 +--- gio/gsocket.c | 4 +-- gio/gsocketconnection.c | 6 ++-- gio/gsocketcontrolmessage.c | 8 ++---- gio/gunixconnection.c | 5 +--- gobject/gobject.symbols | 1 + gobject/gtype.c | 43 +++++++++++++++++++++++++---- gobject/gtype.h | 2 ++ 12 files changed, 72 insertions(+), 55 deletions(-) commit 2a4235d0f3fe3b3fb007385ee59082c0987158ce Author: Paolo Borelli <pborelli@gnome.org> Date: Tue May 15 17:38:44 2012 +0200 gfile: add g_return_if_fail to g_file_make_directory_with_parents() gio/gfile.c | 2 ++ 1 file changed, 2 insertions(+) commit 5a57144d5749efaf3b5e752db9b041597d4b062f Author: Colin Walters <walters@verbum.org> Date: Fri May 4 10:03:12 2012 -0400 gfile: Plug memory leak in g_file_make_directory_with_parents() The logic here is pretty twisted, but basically we were leaking a ref for each non-existent parent. The clearest way to fix this was to move to more explicit refcounting logic; when a variable is pointing to an object, it holds a ref. https://bugzilla.gnome.org/show_bug.cgi?id=675446 gio/gfile.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit d5d3c7b3a4830a12e155e949345cfc9109236786 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon May 14 16:18:26 2012 -0400 Cover some malloc corner cases in tests glib/tests/utils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 215844b3a64fae95b24e464fe87ab6c3b5cd8daa Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 01:52:37 2012 -0400 Add a test for g_clear_pointer glib/tests/utils.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit e153c8c58b7643d8d823b7a199c3efb19fea3985 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Sun May 13 19:22:24 2012 +0900 [l10n] Update Japanese translation po/ja.po | 637 ++++++++++++++++----------------------------------------------- 1 file changed, 155 insertions(+), 482 deletions(-) commit e3eb137bbb2ebeede6156424e3e0a1aeb8973614 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 00:46:39 2012 -0400 Use non-deprecated api in tests https://bugzilla.gnome.org/show_bug.cgi?id=660851 glib/tests/rec-mutex.c | 4 ++-- glib/tests/rwlock.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 77695437b319c8e1a918c8b3ab892ba8a63fbf63 Author: Jasper St. Pierre <jstpierre@mecheye.net> Date: Wed May 2 12:53:27 2012 -0400 gkeyfile: Fix annotations for g_key_file_load_from_data https://bugzilla.gnome.org/show_bug.cgi?id=675309 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebc3b928a39e8895719a5795a14e13c2cdf3c8bd Author: Lars Uebernickel <lars@uebernic.de> Date: Thu May 10 09:35:03 2012 -0700 docs: reference g_menu_item_new in gmenu convenience menuitem API gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 748f44b12f25717a45477a6e2e74bf6abc7951ba Author: Christian Kirbach <Christian.Kirbach@googlemail.com> Date: Tue May 8 19:16:14 2012 +0200 [l10n] Updated German translation po/de.po | 177 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 82 deletions(-) commit 1b29ea3663501a407b82d83792d47d0941df13b2 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Tue May 8 16:49:53 2012 +0200 Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default glib/gversionmacros.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 744f36bb0685e35aac5fcfcf37cb1e1c9c45786e Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Tue May 8 15:12:42 2012 +0100 version macros: Make MIN_REQUIRED the current stable version So that deprecation warnings will come into effect starting from the stable release, instead of the next. glib/gversionmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb63c73bbe213f5c1ac7ecafdf298c3cb8de23c3 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Tue May 8 20:24:53 2012 +0900 [l10n] Update Japanese translation po/ja.po | 6155 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3275 insertions(+), 2880 deletions(-) commit a365684bf086742763b098feddaf5525bc9581c0 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Mon May 7 10:33:44 2012 +0200 configure.ac: more AS_IF It looks like JH_CHECK_XML_CATALOG has some prerequisite as well Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 54e31ab4f172bbb28434eafc34c9345a93c9ccf5 Author: Colin Walters <walters@verbum.org> Date: Thu May 3 15:18:11 2012 -0400 configure: Use AS_IF almost everywhere Not doing so is an evil trap, sadly. This patch has been compile-checked on Fedora 16, and I've verified that the generated config.status and config.h is exactly the same. https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 246 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 118 insertions(+), 128 deletions(-) commit e30823d93ff643c82d4037c2cf0f509e347f49de Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Thu May 3 08:44:12 2012 +0200 configure.ac: use AS_IF This way any prerequisites for e.g. AC_CHECK_HEADER are always executed before the 'if'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7ba899701566c5941ba93bcd31e0b7ae70a7e69d Author: Yuri Kozlov <yuray@komyakino.ru> Date: Sun May 6 11:35:01 2012 +0400 Updated Russian translation po/ru.po | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit ed1f10bc1c149ac6c317b80b3ba46fda6b545a4e Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu May 3 15:00:14 2012 +0200 docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example. gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa38ae9fb8eed894dcd37baa154967aae7f6c45 Author: Marek Černocký <marek@manet.cz> Date: Fri May 4 09:30:06 2012 +0200 Updated Czech translation po/cs.po | 223 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 140 insertions(+), 83 deletions(-) commit 486d563049a789b0a2f45f1b5564eaf66294f083 Author: Christian Persch <chpe@gnome.org> Date: Wed May 2 20:14:52 2012 +0200 application: Clarification about 'primary instance' For non-unique applications, the 'primary instance' is the current instance. gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f7b61c72b4f2fef3ab21b51b9660973452d22f8d Author: Dimitris Spingos <dmtrs32@gmail.com> Date: Wed May 2 12:00:03 2012 +0300 Updated Greek translation po/el.po | 6433 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3408 insertions(+), 3025 deletions(-) commit 874355de53e7ea7009860c0b67094d919a5daa6f Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed May 2 11:10:23 2012 +0800 Fix GIO/GObject Visual C++ projects -Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL builds, omitting this caused problems to surface due to recent works to make GDBus work on Windows. -Also use the FFI_BULIDING macro for GObject builds as the suggessted workaround for using static LibFFI builds (as we do now)-please see ffi.h(.in). This will fix the build of GObject against LibFFI 3.0.11, but it is probable that this will change at some point for LibFFI. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 83f04afa0b8b66d200ccdc17ac6f5cd0e17b1c15 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 12:57:00 2012 -0400 GLib 2.33.1 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 774074f99bcc6237290e5252faf24581d7fe9932 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:48:52 2012 -0700 slice-color test: don't use non-existent macro G_GUINT64_MODIFIER doesn't exist, but G_GINT64_MODIFIER does (and will be the same as is needed for unsigned). tests/slice-color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b31d872081a70817dc036043fef05cd950c4e86f Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:23:09 2012 -0700 tests: temporarily disable GDBus async proxy test It has never worked properly and, with the new GDBus testing stuff, it's occasionally failing. https://bugzilla.gnome.org/show_bug.cgi?id=672248 gio/tests/gdbus-proxy.c | 2 ++ 1 file changed, 2 insertions(+) commit 56ca8add1088385a874fdb371a6d490926109710 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 15:40:15 2012 -0400 contenttype test: don't pass -1 as length g_content_type_guess() takes a gsize, not a gssize, and -1 does not mean "I am passing a NULL terminated string". gio/tests/contenttype.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8db824e00b69302dafed9ceddd6f34abf5202516 Author: Michael Biebl <biebl@debian.org> Date: Tue May 1 18:42:12 2012 +0200 configure: Reset LIBS after ELF check If action-if-found is not specified, AC_CHECK_LIB will append the library to LIBS. As we don't want to link everything against libelf, reset LIBS after doing the checks. configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit eb5381b8622eda26b6bd86dbac39bd9ed86bf730 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Apr 30 12:20:54 2012 -0400 GApplication: add accessor for DBus information Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249 docs/reference/gio/gio-sections.txt | 3 ++ gio/gapplication.c | 65 ++++++++++++++++++++++++++++++++++++- gio/gapplication.h | 5 +++ gio/gapplicationimpl-dbus.c | 11 +++++++ gio/gapplicationimpl.h | 6 ++++ gio/gio.symbols | 2 ++ 6 files changed, 91 insertions(+), 1 deletion(-) commit 16f92a33aca1161aab3669f39b32f5c8f09fb433 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Mar 3 11:31:05 2012 -0500 GApplication: allow null application_id GApplication application ID is now permitted to be NULL, in which case G_APPLICATION_NON_UNIQUE will be implicitly enabled. https://bugzilla.gnome.org/show_bug.cgi?id=671249 gio/gapplication.c | 57 +++++++++++++++++++++++++++------------------ gio/gapplicationimpl-dbus.c | 6 +++++ gio/gioenums.h | 9 +++---- 3 files changed, 45 insertions(+), 27 deletions(-) commit d959ace72cd07bebe0d87d483613b3285bb3c4f4 Author: Bruno Brouard <annoa.b@gmail.com> Date: Mon Apr 30 21:54:22 2012 +0200 Updated French translation po/fr.po | 171 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 93 insertions(+), 78 deletions(-) commit cbf06d8fa94672496d170c65ed9c328816e7eee0 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 30 17:02:06 2012 +0200 g_clear_pointer: use the same static checks than g_clear_object in glib-2-32 glib/gmem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 19ac408650ffbbff55fa01fe0968242abb7eacc3 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Apr 30 16:14:24 2012 +0200 Updated Galician translations po/gl.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit cf4582fb81108b879f5d017a7b25f26ec2328b6a Author: Luca Ferretti <lferrett@gnome.org> Date: Mon Apr 30 15:41:08 2012 +0200 l10n: Updated Italian translation po/it.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 169 insertions(+), 150 deletions(-) commit 7d4d0668b37476a1dc0f088574e7292fdac7c17c Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:54:05 2012 -0400 Update gio/tests/.gitignore gio/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit c37273dccb183c98ee45f164117f515e4efbff06 Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:31:20 2012 -0400 fix warnings gio/gdbusdaemon.c | 1 - gio/gtestdbus.c | 2 +- gio/tests/buffered-input-stream.c | 2 +- glib/goption.c | 1 - tests/gobject/defaultiface.c | 3 +-- tests/gobject/dynamictype.c | 3 +-- tests/gobject/ifaceinit.c | 2 ++ tests/slice-color.c | 7 ++++--- tests/slice-test.c | 2 +- tests/threadpool-test.c | 16 +++++++++++----- 10 files changed, 22 insertions(+), 17 deletions(-) commit c5285b3abafe2d28f99e0dd0981deee49fa401f1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Apr 30 10:16:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 143 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 98 insertions(+), 45 deletions(-) commit a7bde137c3b66ca1857332fd3a702e80d457731d Author: Jonh Wendell <jwendell@gnome.org> Date: Sat Apr 28 10:11:25 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 375 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 197 insertions(+), 178 deletions(-) commit fd3ec4df87ce05f364799b7eb8b0219420d755c4 Author: Dan Winship <danw@gnome.org> Date: Fri Apr 27 09:27:38 2012 -0400 Fix several recently-introduced bugs in g_output_stream_write_async() g_output_stream_write_async() was not initializing the newly-added members of the WriteData structure, causing various problems. Also, g_input_stream_read_async() was now leaking its cancellable. Fix that as well. https://bugzilla.gnome.org/show_bug.cgi?id=674612 gio/ginputstream.c | 12 ++++++++++-- gio/goutputstream.c | 15 +++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) commit 00285b7517a63a243a5b61b738de5eea957ae767 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 23 17:57:56 2012 +0200 Add g_clear_pointer() Also reimplement g_clear_object() using g_clear_pointer() https://bugzilla.gnome.org/show_bug.cgi?id=674634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmem.c | 39 +++++++++++++++++++++++++++++++++++ glib/gmem.h | 18 ++++++++++++++++ gobject/gobject.c | 13 +----------- gobject/gobject.h | 14 +------------ 6 files changed, 61 insertions(+), 25 deletions(-) commit 3f816dc5d14ce64f89c5e8b16ac7d8c1f3542b0d Author: Debarshi Ray <debarshir@gnome.org> Date: Mon Apr 16 23:00:01 2012 +0200 GAppInfo: overwrite the DISPLAY only if it is set in the launch context If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed306565c0652050665eafff4dfcdf0d8b Fixes: https://bugzilla.gnome.org/672786 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6219767f61fe7b402c9db8fbdaf57ab8ffb25681 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Thu Apr 26 15:29:12 2012 +0300 Updated Hebrew translation. po/he.po | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 79724bf80c414a06f3caf1f2ff614bb3c44a8ba3 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 26 10:05:41 2012 +0200 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 063ec9a75d6f70b45a8e51653608a6e40f948b3c Author: Colin Walters <walters@verbum.org> Date: Wed Apr 25 14:47:01 2012 -0400 build: Fix 'make dist' regression Commit f084b603771f78126bc0b07229a1574b76e776bb incorrectly set DIST_SUBDIRS for the toplevel Makefile.am. In general actually we don't need to set it, because modern automake automatically sets it by looking at conditionals for SUBDIRS. Tested-by: Rico Tzschichholz <ricotz@t-online.de> https://bugzilla.gnome.org/show_bug.cgi?id=667806 gio/Makefile.am | 3 --- glib/Makefile.am | 6 +----- gobject/Makefile.am | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) commit 87cc77a1985efa18bcd8fc3318c90d8557ae9129 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 25 10:44:55 2012 -0400 gsocket: test if family is <= 0, not < 0 If all members of GSocketFamily are supported on the platform, then all of its values will be positive, and so the enum might become unsigned, in which case testing for "family < 0" might cause warnings. But we want to return an error if family == 0 (aka G_SOCKET_FAMILY_INVALID) anyway, so just tweak the test accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=674592 gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56bcba11dd2d2b679efeebcf78f0f5736ba311e1 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Wed Apr 25 09:46:35 2012 +0200 make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the correct alignment. Without a previous AC_CHECK_TYPE for the same type, the alignment is silently set to '0'. This makes sure that configure fails and reports the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit b053f990c91eff334aec8db9519846a041a98999 Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Apr 24 16:39:21 2012 +0200 win32: More srcdir != builddir fixing gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62905cda0b42163bbd582278260f659f94e4d2bf Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:53:49 2012 +0200 win32: Fix build with srcdir != builddir Missed this part in the last commit gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67 Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:03:38 2012 +0200 win32: Fix build of gdbus-daemon-generated.[ch] gdbus-daemon-generated.[ch] failed to build because it depended on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part of the build, however SUBDIRS are done *after* processing BUILT_SOURCES, and these files are in BUILT_SOURCES. The fix is simple, instead of running the gdbus-codegen code we run the gdbus-codegen.in code, which works fine for uninstalled execution. I also removed Makefile from the dependencies to avoid rebuilding the file in tarballs, as Makefiles are written at configure time. We should be able to ship the prebuilt files in the tarballs. When running uninstalled gio/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c0756ea0e118deece4b797d15c2462db48191ed Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Apr 24 07:28:43 2012 +0300 Updated Bulgarian translation po/bg.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 02be039a6cc41bc0e65a336ad76b4c5b14e00e22 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Tue Apr 24 00:29:07 2012 +0200 Updated Galician translations po/gl.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 810a296d4244f061f037445f39b8900fb67ba3e8 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Apr 24 00:03:33 2012 +0800 Visual C++ projects: Clean/fix up Clean/fix up the Preprocessor Definitions for the various projects, where we purge out the unneeded macros and add _DEBUG to the Debug builds of various projects that somehow lacked this. This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro in the release builds will cause a debug entry to appear in its manifest file during the build, which will cause GIO-using applications to fail to run on systems not running Visual C++/Studio 2008 due to its embedding of a badly-generated manifest file. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/glib-genmarshal.vcxproj | 8 ++++---- build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs10/gmodule.vcxproj | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 4 ++-- build/win32/vs10/gspawn-win32-helper.vcxproj | 4 ++-- build/win32/vs10/gthread.vcxproj | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib-genmarshal.vcproj | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 4 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 4 ++-- build/win32/vs9/gthread.vcproj | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) commit 58f0173149d5be9a7fc0810e4bcf7a2fafde1a7f Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:29 2012 -0400 Add tests for signal convenience api gobject/tests/signals.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit e62102dbc5bd9f6fe905775fc19aea894ef7f8d4 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:06 2012 -0400 Add tests for toggle reference and qdata gobject/tests/reference.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) commit 8b618eb7f1eec1632c164053097f3e41150782ce Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:17:40 2012 -0400 Improve test coverage in gobject/tests This is just making sure that we execute property getters/setters. gobject/tests/dynamictests.c | 3 +++ gobject/tests/properties.c | 9 +++++++++ 2 files changed, 12 insertions(+) commit 87832242023e593751b20f6fa90235b32cfe5d4c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:50 2012 -0400 Add some directory getter tests glib/tests/utils.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) commit 1089a0a9f6987b7b1aa8f3f9e4def1b92cdfd11c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:23 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 6214977260f22b41f0e2e407c7fa2a5a3bed5084 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Apr 23 11:40:33 2012 +0200 Updated Spanish translation po/es.po | 141 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 74 insertions(+), 67 deletions(-) commit a44e80198340d7169197fe7627868383dc4df06c Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 02:08:41 2012 +0200 Make GDataOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gdataoutputstream.c | 108 ++++++++++++++++++++++- gio/tests/data-output-stream.c | 194 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+), 3 deletions(-) commit 43895e3089ec1ac7af2f77530fe91678b58a3501 Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 01:50:41 2012 +0200 Make GBufferedOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedoutputstream.c | 132 ++++++++++++++++++++++++- gio/tests/buffered-output-stream.c | 195 +++++++++++++++++++++++++++++++++++++ 2 files changed, 324 insertions(+), 3 deletions(-) commit 90739baec071f4bba19558a3e08a9f330f78070e Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Wed Mar 28 14:12:44 2012 +0200 Make GBufferedInputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedinputstream.c | 138 ++++++++++++++++++++++++++++++++++++-- gio/tests/buffered-input-stream.c | 86 ++++++++++++++++++++++++ 2 files changed, 220 insertions(+), 4 deletions(-) commit 86abe5163fb2fe08ae886b2decc18ba9318b974c Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Apr 23 12:12:27 2012 +0400 Updated Russian translation po/ru.po | 1480 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 779 insertions(+), 701 deletions(-) commit a151c97106948c6bd21b0e2a71b7c18b1f106ce9 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 00:35:37 2012 -0400 Make the child source test work On my machine, this test was failing, because the timeout source for quitting the inner mainloop was triggering repeatedly. Avoid that by explicitly returning G_SOURCE_REMOVE from the callback. glib/tests/mainloop.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit d18a9caf0310c2c6f98e04e15c7a8ca8280846e1 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 02:45:08 2012 +0100 docs: Use latest docbook dtd: 4.5 .../gdbus-object-manager-example-docs.xml | 4 ++-- docs/reference/gio/migrating-gdbus.xml | 4 ++-- docs/reference/glib/building.xml | 4 ++-- docs/reference/glib/changes.xml | 4 ++-- docs/reference/glib/compiling.xml | 4 ++-- docs/reference/glib/cross.xml | 4 ++-- docs/reference/glib/regex-syntax.xml | 4 ++-- docs/reference/glib/resources.xml | 4 ++-- docs/reference/glib/running.xml | 4 ++-- docs/reference/gobject/tut_gobject.xml | 4 ++-- docs/reference/gobject/tut_gsignal.xml | 4 ++-- docs/reference/gobject/tut_gtype.xml | 4 ++-- docs/reference/gobject/tut_howto.xml | 4 ++-- docs/reference/gobject/tut_intro.xml | 4 ++-- docs/reference/gobject/tut_tools.xml | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) commit ee44211f1a44e58bb7c3d93aed6eeee4863d5263 Author: Javier Jardón <jjardon@gnome.org> Date: Sun Apr 22 21:56:07 2012 +0100 docs: rename *-docs.sgml to *-docs.xml We are using xml docbook nowadays docs/reference/gio/gio-docs.xml | 4 +- docs/reference/glib/Makefile.am | 18 +- docs/reference/glib/building.sgml | 538 ------- docs/reference/glib/building.xml | 538 +++++++ docs/reference/glib/changes.sgml | 174 -- docs/reference/glib/changes.xml | 174 ++ docs/reference/glib/compiling.sgml | 121 -- docs/reference/glib/compiling.xml | 121 ++ docs/reference/glib/cross.sgml | 208 --- docs/reference/glib/cross.xml | 208 +++ docs/reference/glib/glib-docs.sgml | 221 --- docs/reference/glib/glib-docs.xml | 221 +++ docs/reference/glib/regex-syntax.sgml | 2531 ------------------------------ docs/reference/glib/regex-syntax.xml | 2531 ++++++++++++++++++++++++++++++ docs/reference/glib/resources.sgml | 115 -- docs/reference/glib/resources.xml | 115 ++ docs/reference/glib/running.sgml | 380 ----- docs/reference/glib/running.xml | 380 +++++ docs/reference/gobject/Makefile.am | 2 +- docs/reference/gobject/gobject-docs.sgml | 170 -- docs/reference/gobject/gobject-docs.xml | 170 ++ 21 files changed, 4470 insertions(+), 4470 deletions(-) commit 3ea31fc0f1d81affaf655f550899fa16cb59201a Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:36:49 2012 +0100 docs: Add index to new api added in 2.34 docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 3 files changed, 12 insertions(+) commit 14a7781873317e24b55984173e2bedf6eaaf0917 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:15:26 2012 +0100 docs: Fix "Since" markup glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a37bc0dc6cc013d01836b45c2eea6b1bd6d80e5 Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:18:50 2012 -0400 gio: add a proxy test program Test GProxy, GProxyResolver, GProxyAddress, and GProxyAddressEnumerator, plus GSocketClient's proxy-resolving codepaths. gio/tests/Makefile.am | 4 + gio/tests/proxy-test.c | 1077 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1081 insertions(+) commit bcaa0a3820dae0ce10fc8329b10b7c963447e6d3 Author: Dan Winship <danw@gnome.org> Date: Sat Apr 21 00:25:53 2012 -0400 gio: Add more information to GProxyAddress Add two new methods to GProxyAddress for recovering information about the destination URI that the proxy was created for (and modify GProxyAddressEnumerator to set that information when creating the GProxyAddress). docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gproxyaddress.c | 116 +++++++++++++++++++++++++++++++++--- gio/gproxyaddress.h | 5 ++ gio/gproxyaddressenumerator.c | 54 ++++++++++------- 5 files changed, 152 insertions(+), 27 deletions(-) commit 8c7025e72320775f915cdd776e09c7cbecd648ac Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:20:14 2012 -0400 gio: fix error handling in async case of GProxyAddressEnumerator In the async case, a failed DNS lookup was causing the proxy resolution to bail out immediately, rather than just moving on to the next potential proxy (which might not need us to do the DNS lookup beforehand). Fix that. gio/gproxyaddressenumerator.c | 95 ++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 37 deletions(-) commit 3cf987e660d0b32e44b2be67352db65f14342f6a Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sun Apr 22 15:34:12 2012 +0200 Updated Galician translations po/gl.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2a5763c412b624cb70fdc858431b5292ff5312e0 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Sun Apr 22 11:13:21 2012 +0200 Updated Spanish translation po/es.po | 147 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 90 insertions(+), 57 deletions(-) commit 1e73a200a6fd13b36c52cf783521ac5a256cec56 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Sun Apr 22 11:41:51 2012 +0300 Updated Hebrew translation. po/he.po | 371 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 207 insertions(+), 164 deletions(-) commit ecdaf357fe230baefefd45ebd3000ab7c37869ac Author: Alexander Shopov <ash@kambanaria.org> Date: Sun Apr 22 09:07:34 2012 +0300 Updated Bulgarian translation po/bg.po | 147 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 94 insertions(+), 53 deletions(-) commit 2adf6b3d6b975130f41fcbbd66ea348d8a10c0e6 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sat Apr 21 16:30:59 2012 +0200 Updated Galician translations po/gl.po | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 8ebea8263402dd4a5778c2febbd4ef891eddd88c Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:46:49 2012 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68629ceb4fab5393448ab4688320eace56d11790 Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:39:22 2012 +0200 Updated Slovenian translation po/sl.po | 180 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 110 insertions(+), 70 deletions(-) commit 5d7e9bfbbd7f993922b09577d775822f63ea5640 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Sat Apr 21 09:26:24 2012 +0200 Updated Serbian translation po/sr.po | 349 ++++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 349 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 392 insertions(+), 306 deletions(-) commit 88f73eef540d107210a0f52de81cb1a2c87cb5d6 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Fri Apr 20 20:50:26 2012 +0200 Updated POTFILES.in po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit 755c1311958f256d60daeb548d1ba4d235d2783b Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Apr 20 17:22:55 2012 +0200 Updated Spanish translation po/es.po | 130 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 57 deletions(-) commit 515a454c39b81f61565f7b41ff26aad7a133f853 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Apr 20 15:12:48 2012 +0200 Updated Galician translations po/gl.po | 120 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 53 deletions(-) commit 5fb44f70dcac16ff6f13d3d36c330ddd617a5d97 Author: Alexander Larsson <alexl@redhat.com> Date: Fri Apr 20 10:23:34 2012 +0200 win32: Implement _g_dbus_get_machine_id using machine guid This is what libdbus uses, so we're compatible. gio/gdbusprivate.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit dccce383670592f12510019e92ea91a618a1810c Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 17:09:37 2012 +0200 win32: Support autolaunching dbus daemon gio/Makefile.am | 8 ++ gio/gdbusaddress.c | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 312 insertions(+), 2 deletions(-) commit bd148e127a5863de4aef260cd879e0eda370c711 Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 16:25:29 2012 +0200 Add _g_io_win32_get_module to get the gio HMODULE gio/giomodule-priv.h | 4 ++++ gio/giomodule.c | 6 ++++++ 2 files changed, 10 insertions(+) commit 74214e2997e51fd96842aac2eee049e6b81a4595 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 19 11:01:24 2012 +0200 GTestDBus: Allow to specify the dbus-daemon binary The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to whatever you want. This is useful to test with gdbus-daemon gio/gtestdbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 0d8b1b14d2d56c92b2b783798a9552eb75d77a29 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:47 2012 +0200 Add gdbus-daemon test app gio/tests/Makefile.am | 4 +++ gio/tests/gdbus-daemon.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit 25581738a8d5ee7db2a6d9ebd908d59b2837cd70 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:04 2012 +0200 Add GDBusDAaemon, an implementation of a message bus This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work. gio/.gitignore | 1 + gio/Makefile.am | 17 +- gio/dbus-daemon.xml | 76 +++ gio/gdbusdaemon.c | 1752 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusdaemon.h | 19 + 5 files changed, 1864 insertions(+), 1 deletion(-) commit b38f1c7aff0bb7388993973f4d8516b95ad593ba Author: Benjamin Otte <otte@redhat.com> Date: Fri Apr 20 14:31:05 2012 +0200 resourcefile: Set display name Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345 gio/gresourcefile.c | 1 + 1 file changed, 1 insertion(+) commit 289e3b9143fe9bd27657ed277dd7ea2e1a690aa3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Apr 19 17:13:52 2012 -0400 More beautiful fix A comma on a line by itself is too ugly to stand. gio/gtestdbus.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
glib2-debuginfo-2.33.12-3.oc00 (21/08/2018)
Repository: Netlabs stable
commit 626abfdc108154c3ae149e82580779669fb63881 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Sep 3 15:14:18 2012 -0400 2.33.10 NEWS | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) commit 5d915a4a779e566431d0f268b63904d82e62f5bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:18:23 2012 +0200 Revert "Updated Spanish translation" This reverts commit bc036bf9789556f37b2872baaee3c126af7e6e3f. po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 791 insertions(+), 780 deletions(-) commit bc036bf9789556f37b2872baaee3c126af7e6e3f Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:15:35 2012 +0200 Updated Spanish translation po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 780 insertions(+), 791 deletions(-) commit d68609f9fd22e0e498f13fc7340075022f94ed48 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 10:06:13 2012 -0400 Revert "xdgmime: plug a small leak" This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8. The string actually does get freed somewhere else, at least in some cases. Can be looked at again later if this reintroduces a leak. https://bugzilla.gnome.org/show_bug.cgi?id=683270 gio/xdgmime/xdgmime.c | 1 - 1 file changed, 1 deletion(-) commit 857ac29c1fd785626281709051e4b3850493418c Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:06:57 2012 +0200 Updated Spanish translation po/es.po | 731 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 356 insertions(+), 375 deletions(-) commit 4d1b0d46dbf3f735a8808d66bc2d30baa9bd3947 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 08:56:10 2012 -0400 update .gitignore gobject/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit beb0f9c15058e2249ffed73747f11298e6949b84 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 20:43:54 2012 -0400 gio/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/appinfo.c | 2 ++ gio/tests/contexts.c | 13 ++++++++++++- gio/tests/converter-stream.c | 1 + gio/tests/file.c | 5 ++++- gio/tests/live-g-file.c | 21 +++++++++++++++++---- gio/tests/memory-input-stream.c | 3 +++ gio/tests/mimeapps.c | 1 + gio/tests/network-address.c | 1 + gio/tests/network-monitor.c | 26 +++++++++++++++++++++++++- gio/tests/proxy-test.c | 36 +++++++++++++++++++++++++++--------- gio/tests/unix-streams.c | 1 + 11 files changed, 94 insertions(+), 16 deletions(-) commit 17bb9d542cea2eeb3cb54cb583f671cf5e005631 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:38 2012 -0400 gio/tests/cancellable: fix to still work when running slowly The test was assuming that all cancelled ops would finish within a certain amount of time, but this often failed under valgrind. Instead, just run the loop until all of the ops have actually finished. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/cancellable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 568f7377088ea7836217f0bec917cc77e1210742 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:17 2012 -0400 gio/tests: port some stuff to g_test_expect_message() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/Makefile.am | 2 +- gio/tests/actions.c | 78 +++++++++++++++++++---------------------------- gio/tests/gdbus-message.c | 50 +++++++++++++++++------------- gio/tests/gsettings.c | 52 +++++++++++++++---------------- 4 files changed, 85 insertions(+), 97 deletions(-) commit 039ecf2bc613ea5687d1052a87c982163e506451 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:08:38 2012 -0400 g_file_copy: plug a leak The fallback copy code was leaking the GFileInfo if it didn't have G_FILE_ATTRIBUTE_STANDARD_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gfile.c | 1 + 1 file changed, 1 insertion(+) commit fa58cef826d8f3b6b3eb0cad230b0421ee35f8a2 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:06:46 2012 -0400 GDesktopAppInfo: fix leaks g_desktop_app_info_ensure_saved() was leaking the file contents. _g_desktop_app_info_launch_uris_internal() was leaking the session bus on error. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4e7031f073db2df7297feab35c9d353b0b3977d8 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:03:35 2012 -0400 xdgmime: plug a small leak https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/xdgmime/xdgmime.c | 1 + 1 file changed, 1 insertion(+) commit 03be681e08dc9e706d2d22df01fd4edb004a7577 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 16:53:13 2012 -0400 gobject/tests: plug leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/signals.c | 3 +++ gobject/tests/threadtests.c | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit e0cba35d4116c61035a0cbb403d89a04bbdb8963 Author: Dan Winship <danw@gnome.org> Date: Mon Aug 27 07:45:08 2012 -0400 gobject/tests: use g_test_expect_messages() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/Makefile.am | 3 +++ gobject/tests/ifaceproperties.c | 16 +++++++--------- gobject/tests/param.c | 15 +++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 7972485ca10ef7b45389832f3d8afcf1372c8991 Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Sep 3 10:16:21 2012 +0400 Updated Russian translation po/ru.po | 1522 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 824 insertions(+), 698 deletions(-) commit 7662dbe82b2a4010418586434756ad75169318b3 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Mon Sep 3 01:20:56 2012 +0200 Updated Polish translation po/pl.po | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a30f6a6eb82e896d5b1dc0921d1d8256ed7ec546 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 29 00:01:15 2012 -0400 Add new api to symbol lists and docs https://bugzilla.gnome.org/show_bug.cgi?id=682849 docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/gobject/gobject-sections.txt | 4 ++++ glib/glib.symbols | 2 ++ gobject/gobject.symbols | 4 ++++ 4 files changed, 13 insertions(+) commit d80d70458ad1711f9c1935a58df3eb9e04853464 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Sep 1 00:20:22 2012 -0400 Add a threaded test for g_object_replace_data This is the threaded atomic add test from glib/tests/atomic.c, redone using qdata instead of an atomic int to store the values. gobject/tests/Makefile.am | 1 + gobject/tests/qdata.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) commit 2fa77fb76c452755fe5f2a1ebe10f27583959250 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 23:56:01 2012 -0400 Add some tests for new object data api These are non-threaded, but the do test dup and destroy somewhat. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/tests/reference.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 1254ca716bf64ce97f6b47882493411883a41865 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:45:30 2012 -0400 Add an atomic compare-and-exchange operation for object data This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/gobject.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 30 ++++++++++ 2 files changed, 204 insertions(+), 1 deletion(-) commit 06e3a1d71afb66d573b20f17a575c345fb4b697f Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:44:00 2012 -0400 Add compare-and exchange for data lists Also, make it possible to get a 'new ref' on a datalist member in a race-free way. This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 glib/gdataset.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++------- glib/gdataset.h | 17 ++++- 2 files changed, 214 insertions(+), 26 deletions(-) commit 18e49c30f02da6d0e10a4dc72760cf3f05303588 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org> Date: Sun Sep 2 16:02:50 2012 +0300 Updated Latvian translation po/lv.po | 2467 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1281 insertions(+), 1186 deletions(-) commit b3beac08f592dcdf57181fcbdffd51fd8b9811f7 Author: Aurimas Černius <aurisc4@gmail.com> Date: Sun Sep 2 15:39:16 2012 +0300 Updated Lithuanian translation po/lt.po | 809 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 388 insertions(+), 421 deletions(-) commit 2d85894bc5e45b2a50e5a5784a99e4c31beea7ec Author: Paolo Borelli <pborelli@gnome.org> Date: Sun Sep 2 12:25:50 2012 +0200 Fix gtk-doc for g_app_info_get_supported_types gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724c8a18464cd3e2fb3547235cf1f82400bbf91e Author: Aleksander Morgado <aleksander@lanedo.com> Date: Fri Aug 31 11:41:53 2012 +0200 gdbus-codegen: avoid error when wrong interface is provided to --annotate If the interface given cannot be matched, `iface_obj' was left uninitialized and the iface_obj == None check would end up crashing: Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 41, in <module> sys.exit(codegen_main.codegen_main()) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main apply_annotations(all_ifaces, opts.annotate) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations apply_annotation(iface_list, iface, None, None, None, None, key, value) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation if iface_obj == None: UnboundLocalError: local variable 'iface_obj' referenced before assignment Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683088 gio/gdbus-2.0/codegen/codegen_main.py | 1 + 1 file changed, 1 insertion(+) commit c270b833a631ef5469d0dce787244ecf56386c5d Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 31 23:22:16 2012 -0400 Fix shell tests glib/tests/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e81ba25d396dd5596e242e22c06bbd71d9e17168 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Sat Sep 1 10:42:05 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 643 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 326 insertions(+), 317 deletions(-) commit e2596ba2432a6417df35faa4410f07698c4fbb8a Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:17:05 2012 +0700 Updated Vietnamese translation po/vi.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22eaa16b7f9e7fc5c9eee4b58449fbc6639f6ece Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:16:36 2012 +0700 po/vi: import from Damned Lies po/vi.po | 630 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 302 insertions(+), 328 deletions(-) commit aefcd5922fff0800460570c6521a7456778c93b4 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 31 21:00:52 2012 +0200 Updated Galician translations po/gl.po | 665 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 337 insertions(+), 328 deletions(-) commit 55f7061097c3a7e6a381089dab65b9eed642408c Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Aug 20 06:02:31 2012 +0200 Bump max time in test_method_calls_on_proxy() test On slower platforms, the overhead of the 240 D-BUS Sleep calls is larger than the current maximum of 6 seconds. A run on a Panda board sometimes fails with ERROR:/build/buildd/glib2.0-2.33.8/./gio/tests/gdbus-threading.c:409:test_method_calls_on_proxy: assertion failed (elapsed_msec < 6000): (7365 < 6000) Bump maximum time to 8 seconds to be more resilient to this. https://bugzilla.gnome.org/show_bug.cgi?id=682222 gio/tests/gdbus-threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8297e8a3a0d63a69fd923219031438698a118759 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Aug 31 11:08:42 2012 +0300 Updated Greek translation po/el.po | 1946 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1017 insertions(+), 929 deletions(-) commit eec52a18c029fc4f494e92a59f3cd6665f0f1bbd Author: Piotr Drąg <piotrdrag@gmail.com> Date: Thu Aug 30 17:59:33 2012 +0200 Updated Polish translation po/pl.po | 639 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 323 insertions(+), 316 deletions(-) commit 40b4fae42e8c8ad306a1fab93a1e263354fef3d5 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 19:22:01 2012 -0400 Add ability to get symbolic icon for content type https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 1 + gio/gcontenttype.c | 79 ++++++++++++++++++++++++++++--------- gio/gcontenttype.h | 1 + gio/gio.symbols | 1 + gio/glocalfileinfo.c | 75 ++++++++++++++++++++++------------- 5 files changed, 110 insertions(+), 47 deletions(-) commit a15a071f35f2743451aa98b2b069b7eca975c7ea Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 18:56:53 2012 -0400 Add symbolic icon support to gfileinfo https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 3 ++ gio/gfileinfo-priv.h | 1 + gio/gfileinfo.c | 58 ++++++++++++++++++++++ gio/gfileinfo.h | 14 ++++++ gio/gio.symbols | 2 + gio/glocalfileinfo.c | 97 +++++++++++++++++++++++++++++-------- 6 files changed, 154 insertions(+), 21 deletions(-) commit a2dca48bf75efcc684cfc670b4552a2c5c77d1a2 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 15:37:43 2012 -0400 Add symbolic icon support to drive, volume, and mount We need symbolic icon support for display in Nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 5 +++ gio/gdrive.c | 30 ++++++++++++++++ gio/gdrive.h | 4 +++ gio/gio.symbols | 5 +++ gio/gmount.c | 32 +++++++++++++++++ gio/gmount.h | 3 ++ gio/gunixmount.c | 12 +++++++ gio/gunixmounts.c | 71 +++++++++++++++++++++++++------------ gio/gunixmounts.h | 4 +++ gio/gunixvolume.c | 11 ++++++ gio/gvolume.c | 32 +++++++++++++++++ gio/gvolume.h | 3 ++ gio/gwin32mount.c | 35 +++++++++++++----- 13 files changed, 217 insertions(+), 30 deletions(-) commit 88d181ef18b50018d4645870bc6d0a1283177f68 Author: Rui Matos <tiagomatos@gmail.com> Date: Wed Aug 29 19:18:45 2012 +0200 gdbus-tool: Check return value of strrchr() Fixes a crash when invoking gdbus like: $ gdbus emit --session -o / -s Foo https://bugzilla.gnome.org/show_bug.cgi?id=682965 gio/gdbus-tool.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5328f760ee80ced5dc44ed9c0e388ee00d7bf42d Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Aug 30 17:14:13 2012 +0800 Update gspawn-win*helper* Visual C++ projects Add GLIB_COMPILATION to the preprocessor definitions to fix the build. build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper.vcproj | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 6e4acf44b3a943906432a2bf55223ac107d8e0c2 Author: Dominique Leuenberger <dimstar@opensuse.org> Date: Fri Aug 17 11:10:41 2012 +0200 gshell: Fix parsing of comments in command lines. Fixes bug 562907 glib/gshell.c | 18 ++++++++++++++++++ glib/tests/shell.c | 2 ++ 2 files changed, 20 insertions(+) commit 9bca5bb49f0fc0585335abf476b7082e654878b6 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Aug 29 14:46:11 2012 -0400 appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris The files/uris parameters for these functions can be NULL, so we need an allow-none annotation here. gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e64ba58b90d1d834a6b5f61acec6755e4b80072 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:30:06 2012 -0400 Switch all open() calls to use g_open() Because it now handles EINTR. And we should do so. While most people use Linux, which tries very hard to avoid propagating EINTR back up into userspace, it can still happen. https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/glocalfile.c | 2 +- gio/glocalfileinfo.c | 4 ++-- gio/gresource-tool.c | 3 ++- gio/tests/gdbus-peer.c | 2 +- gio/tests/pollable.c | 3 ++- glib/giounix.c | 8 ++------ glib/gtestutils.c | 3 ++- glib/tests/mappedfile.c | 5 +++-- gobject/glib-genmarshal.c | 3 ++- 9 files changed, 17 insertions(+), 16 deletions(-) commit 2542b6f60492fadfb21f2c4a29976c3494c7e6c5 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:22:26 2012 -0400 xdgmime: Handle EINTR in open() https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/xdgmime/xdgmimecache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 62570a52b179fc521209444926d7945fc31210a4 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:29 2012 -0400 gio: don't quote quark names for G_DEFINE_QUARK gio/gioerror.c | 2 +- gio/gresolver.c | 2 +- gio/gresource.c | 2 +- gio/gtlsconnection.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4b602940e2c46d9f91acf91f67a6cd0b6ea05e13 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:56 2012 -0400 glib: don't quote quark names for G_DEFINE_QUARK glib/gbookmarkfile.c | 2 +- glib/gconvert.c | 2 +- glib/gfileutils.c | 2 +- glib/giochannel.c | 2 +- glib/gkeyfile.c | 2 +- glib/glib-unix.c | 2 +- glib/gmarkup.c | 2 +- glib/goption.c | 2 +- glib/gregex.c | 2 +- glib/gshell.c | 2 +- glib/gspawn-win32.c | 4 ++-- glib/gspawn.c | 4 ++-- glib/gthread.c | 2 +- glib/gvariant-parser.c | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) commit daae12710a890b974e57cc806b275248760ce131 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:14:35 2012 -0400 gquark: clarify G_DEFINE_QUARK docs about the use of quotes Use the term "name" instead of "string" in the documentation, and add a note explaining double quotes shouldn't be used for the quark name. glib/gquark.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 369c7689c24154ac04ac1dd528f99164fafb0541 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 05:52:24 2012 -0400 Add missing includes glib/gmarkup.c | 1 + glib/gshell.c | 1 + glib/gspawn-win32.c | 1 + glib/gspawn.c | 1 + glib/gvariant-parser.c | 1 + 5 files changed, 5 insertions(+) commit 60d2cb665ef4bc751b4a4a940ec2f336f57b5535 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:42:12 2012 -0400 Use G_DEFINE_QUARK for quarks in GIO gio/gioerror.c | 8 ++------ gio/gresolver.c | 7 +------ gio/gresource.c | 6 +----- gio/gtlsconnection.c | 7 +------ 4 files changed, 5 insertions(+), 23 deletions(-) commit b7d1518ce9f337a7ede1a659de31ff81dafcbac5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:37:41 2012 -0400 Fix a typo in a doc comment glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f12f7c029d8a4e7eaca633cb7e71c82a08be28d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:36:42 2012 -0400 Use G_DEFINE_QUARK for GLib's own quarks This commit just deals with glib/. gobject/ and gio/ will be handled in separate commits. glib/gbookmarkfile.c | 10 +--------- glib/gconvert.c | 6 +----- glib/gfileutils.c | 6 +----- glib/giochannel.c | 7 ++----- glib/gkeyfile.c | 7 +------ glib/glib-unix.c | 6 +----- glib/gmarkup.c | 6 +----- glib/goption.c | 7 +------ glib/gregex.c | 11 +---------- glib/gshell.c | 6 +----- glib/gspawn-win32.c | 13 ++----------- glib/gspawn.c | 13 ++----------- glib/gthread.c | 6 +----- glib/gvariant-parser.c | 11 +---------- 14 files changed, 17 insertions(+), 98 deletions(-) commit 702b44886572c657d552f3ec15e9794acd4265e5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:34:30 2012 -0400 Add a G_DEFINE_QUARK macro https://bugzilla.gnome.org/show_bug.cgi?id=627240 docs/reference/glib/glib-sections.txt | 1 + glib/gquark.c | 12 ++++++++++++ glib/gquark.h | 13 +++++++++++++ 3 files changed, 26 insertions(+) commit a1ff18582da002c93150d48f70aeab8b340f73ff Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:16:25 2012 -0400 Put quarks in their own source file Just because I'm too lazy to grep every single time for the other source file in which the quark code is hiding. glib/Makefile.am | 1 + glib/gdataset.c | 299 +---------------------------------------------- glib/gquark.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 349 insertions(+), 298 deletions(-) commit 030ebfb93b4c4c4525341ef81f9c548fcc6d8921 Author: Daiki Ueno <ueno@unixuser.org> Date: Fri Aug 24 15:43:02 2012 +0900 gsettings-tool: make list-recursively really recurse https://bugzilla.gnome.org/show_bug.cgi?id=682586 gio/gsettings-tool.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit a55298941072697324ac34990ebf455271f1b35b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 23:50:09 2012 -0400 GFile: Cosmetic doc changes gio/gfile.c | 5031 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2589 insertions(+), 2442 deletions(-) commit 0149f44f4a3c8874b8327eddcd58561f5707220a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:36:18 2012 -0400 Fix the GDBusProxy async test Patch by Mike Gorse, bug https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 2 -- 1 file changed, 2 deletions(-) commit 7e07ea8189547f7e044c418c914c4bc26f9cf6a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:35:56 2012 -0400 Make async permission tests work gio/tests/permission.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 375943ea215871c0fe6d1d02e970cb2d71c8445c Author: Mike Gorse <mgorse@suse.com> Date: Thu Apr 26 16:06:34 2012 -0500 Fix the gdbus-proxy async test The async test had several problems: - It created a proxy and did not launch a main loop, meaning that its callback would usually not get called, or, if it did get called, the test harness would have taken down the connection already, causing an assertion failure when the proxy had an error. - It was dependent on the proxy test to set up the server and would fail because some properties were modified by that test. https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) commit ce976bcac7294e72b3e94dda17fe5dfb157770d4 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 14:37:21 2012 -0400 gstdio: Harden g_open() against EINTR Noticed by code inspection, when auditing some of my code for EINTR handling. https://bugzilla.gnome.org/show_bug.cgi?id=682819 glib/gstdio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d54e10632a575963790d50661ae75692bb159b37 Author: Colin Walters <walters@verbum.org> Date: Wed Mar 28 13:53:37 2012 -0400 gvariant: Add tests for exact SHA256 checksums I'd like to use GVariant as a data format in my userspace filesystem, and having the actual bits be stable means I can reliably compute cryptographic checksums. This updated patch removes vardict checks, because Ryan wants the flexibility to change them in the future. https://bugzilla.gnome.org/show_bug.cgi?id=673012 glib/tests/gvariant.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 7936af693477f5b8dfeef4e0d90e6fa4531cf395 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 27 16:12:30 2012 -0400 GVariantType: gut g_variant_type_check() This function is causing an insane amount of wasted time on some real-world profiles and it's pretty useless since we already have GVariantType (as a type different from a string) for the purpose of static type safety. Disable it for now. We can possibly turn this back on again if we solve bug #544026. https://bugzilla.gnome.org/show_bug.cgi?id=679835 glib/gvarianttype.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b53e95f3eb98fc7ba1527e225c32bb4ee2892746 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Mon Aug 27 23:39:52 2012 +0530 Implemented FUEL entries to Assamese translation po/as.po | 260 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 130 insertions(+), 130 deletions(-) commit 1a2c5e155deacb7ebeb8d0ca2c800a97a90a7ab9 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:48:49 2012 -0400 glib/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/tests/asyncqueue.c | 4 + glib/tests/bookmarkfile.c | 3 +- glib/tests/checksum.c | 13 +- glib/tests/collate.c | 15 +- glib/tests/cond.c | 9 + glib/tests/convert.c | 1 + glib/tests/dataset.c | 2 + glib/tests/fileutils.c | 2 + glib/tests/gwakeuptest.c | 1 + glib/tests/mainloop.c | 33 +- glib/tests/markup-parse.c | 3 +- glib/tests/option-context.c | 8 +- glib/tests/queue.c | 6 +- glib/tests/regex.c | 963 ++++++++++++++++++++------------------- glib/tests/spawn-multithreaded.c | 7 +- glib/tests/spawn-singlethread.c | 8 +- glib/tests/string.c | 2 + glib/tests/timeout.c | 6 +- glib/tests/unix.c | 4 +- 19 files changed, 596 insertions(+), 494 deletions(-) commit 0c0cdfd9c4a9d57aae0fb50b5e18cab6ba9e1a76 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:29:36 2012 -0400 gtestutils: add g_test_add_data_func_full() Like g_test_add_data_func(), but includes a GDestroyNotify for the test data. https://bugzilla.gnome.org/show_bug.cgi?id=682560 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gtestutils.c | 28 ++++++++++++++++++++++++++++ glib/gtestutils.h | 7 +++++++ 4 files changed, 37 insertions(+) commit 242737822357c9a686df69bdb888b0d42caf1d5c Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:38:17 2012 -0400 gmain: remove unix signal watch if its GSourceFunc returns FALSE g_unix_signal_watch_dispatch() was ignore the callback's return value. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 99c7c951d99c180a5f5832d922b4f3f58380a1cd Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:35:20 2012 -0400 gmain: don't leak child sources that are destroyed before their parents A parent source holds refs on its children, so if the child source is destroyed, we need to drop that ref. Fix, and reorganize to make this all more obvious. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 48a9887eae1058b055994c832b26a8ab9876db57 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:33:43 2012 -0400 gmain: free source_lists when freeing GMainContext If a context was freed with sources still attached, those sources correctly got destroyed, but the corresponding GSourceList structs were being leaked. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b901aaf6731d836b036aa1cee63087aa3fdc0768 Author: Dan Winship <danw@gnome.org> Date: Sun Aug 26 14:40:13 2012 -0400 Update .gitignores gio/tests/.gitignore | 2 ++ tests/.gitignore | 1 + 2 files changed, 3 insertions(+) commit ac7c050d377f6815534074b855cdf74f02cf96b2 Author: Colin Walters <walters@verbum.org> Date: Sat Aug 25 17:13:43 2012 -0400 docs: Ensure CLEANFILES is set before we use += We need to be defensive about this in the case where gtk-doc.make is empty. docs/reference/gio/Makefile.am | 1 + docs/reference/glib/Makefile.am | 1 + docs/reference/gobject/Makefile.am | 1 + 3 files changed, 3 insertions(+) commit dbad8304ff123f7fe242bdd8a8cfcb7eef8afce6 Author: William Jon McCann <jmccann@redhat.com> Date: Fri Aug 24 13:32:25 2012 -0400 Don't crash if set_app_info is called before adding metadata set_mime_type, set_is_private, add_group, set_groups, set_icon, etc all added metadata before using it. If set_app_info was called before any of those it would crash when trying to access the metadata. glib/gbookmarkfile.c | 3 +++ 1 file changed, 3 insertions(+) commit dbf9f7a2882c240fe48ab441de7e015638686ccc Author: OKANO Takayoshi <kano@na.rim.or.jp> Date: Thu Aug 23 19:15:09 2012 +0900 [l10n] Update Japanese translation po/ja.po | 1174 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 680 insertions(+), 494 deletions(-) commit 462c48acad4efe9db5afd3c7d8e3e0342a591bea Author: A S Alam <aalam@users.sf.net> Date: Thu Aug 23 07:57:51 2012 +0530 update Punjabi Translation po/pa.po | 1401 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 764 insertions(+), 637 deletions(-) commit 12494f697ffd2117ec607d62a04c5a97e32e8482 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Aug 22 22:36:15 2012 +0200 Updated Polish translation po/pl.po | 1039 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 585 insertions(+), 454 deletions(-) commit 0b6fdff05cc10f5e639a39dd4b79e01a025ad2d5 Author: Colin Walters <walters@verbum.org> Date: Wed Aug 22 14:48:41 2012 -0400 Fix regression when TMPDIR/TMP are unset We should just be returning /tmp as a default, not calling g_getenv ("/tmp") which makes no sense. https://bugzilla.gnome.org/show_bug.cgi?id=672329 glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad20e074c4aa6492c5334870515f48c3a23e051c Author: Kjartan Maraas <kmaraas@gnome.org> Date: Wed Aug 22 10:29:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 225 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 116 insertions(+), 109 deletions(-) commit e77f3ea0d8194e421fc7dd18032622f8b8a85c2e Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 09:15:00 2012 +0700 Updated Vietnamese translation po/vi.po | 90 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 37 insertions(+), 53 deletions(-) commit eab38232de82ae19cc3c12a67861e0f1d82191ca Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 08:51:44 2012 +0700 po/vi: imported from Damned Lies po/vi.po | 952 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 543 insertions(+), 409 deletions(-) commit 4a89e2ee7d7a46a52272a6b4197cb3af998d0a49 Author: Duarte Loreto <happyguy_pt@hotmail.com> Date: Wed Aug 22 00:54:09 2012 +0100 Updated Portuguese translation po/pt.po | 1260 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 715 insertions(+), 545 deletions(-) commit 221bbd8d76670d00f7b574ac77ca49ef9a9fb4dd Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 21 16:32:17 2012 -0400 *bump* thanks rico :) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3655be2111ee38839fe2a1fd001923d1d4ad7be Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Aug 21 21:10:16 2012 +0200 win32: fix tests/sources.c "make check" was failing on sys/resource.h not being available on win32. Seeing that this test just spews some numbers on stdout whithout really testing anything we can safely replace them with similar enough numbers by relying on g_get_monotonic_time (). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682386 tests/sources.c | 78 +++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) commit 7518f7a674723ded4cbb32d780c594c5d515af70 Author: Stef Walter <stefw@gnome.org> Date: Tue Aug 21 13:26:27 2012 +0200 Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props" * In order to add contstruct properties to an abstract base calls, and retain ABI stability, the base class must add a default implementation of those properties. * We cannot add a default implementation of certificate-bytes or private-key-bytes since certificate and private-key properties are writable on construct-only. This reverts commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0. https://bugzilla.gnome.org/show_bug.cgi?id=682081 gio/gdummytlsbackend.c | 4 --- gio/gtlscertificate.c | 59 +++++++++------------------------------------ gio/tests/gtesttlsbackend.c | 6 ----- 3 files changed, 11 insertions(+), 58 deletions(-) commit a8c784df58b7af490d0b08e74bd6f1085da692df Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 17 10:55:10 2012 +0200 gdbus: Fix double free and use after free of object path * This occurs when the 'g-object-path' property is read on a GDBusObjectSkeleton https://bugzilla.gnome.org/show_bug.cgi?id=682075 gio/gdbusobjectskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2222b657ded5b0c59999f63ff74534726235d7eb Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 21 19:16:27 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 81 +++++++++++++++++++++++++++++-------------------------------- po/zh_TW.po | 81 +++++++++++++++++++++++++++++-------------------------------- 2 files changed, 78 insertions(+), 84 deletions(-) commit 0d8a81b722e18092062f83b7fd8c0b3a5f4d613a Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 20 19:46:33 2012 +0200 mount-op: use gint64 instead of guint64 for time_left and bytes_left Since those can be -1, they need to be signed. https://bugzilla.gnome.org/show_bug.cgi?id=682284 gio/gmountoperation.c | 9 +++++---- gio/gmountoperation.h | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) commit ac8c13d25c86e62f04bbfb7ac21fc9fb6eb02337 Author: Andika Triwidada <andika@gmail.com> Date: Tue Aug 21 13:53:46 2012 +0700 Updated Indonesian translation po/id.po | 90 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 44 deletions(-) commit ed40bf6715763045457cd6123b3882222c818cde Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:25 2012 -0400 NEWS, versions, etc. NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit 59394b3e1e3b3907b4dc18de4067e5476b4c1649 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:46 2012 -0400 Revert the GMarkup attribute collect changes We need to have some more discussion on this topic. This reverts commits 86329ba44fc7662c0bad37955f0ec980a24be495 and 8d40389d15544bdc612989157f80380badce52f7. https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 - gio/gdbusintrospection.c | 100 ++++++++-------- glib/glib.symbols | 1 - glib/gmarkup.c | 218 +++++++++++----------------------- glib/gmarkup.h | 9 -- glib/tests/markup-collect.c | 125 +++++++------------ 6 files changed, 165 insertions(+), 289 deletions(-) commit 850680d751812e3d7fbc4052a8c56ad90e20a3fa Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 17:57:13 2012 -0400 gmarkup test: fix use of message expect API glib/tests/markup-collect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56210220a2c86b099ca7757b67a3ef7fb2366d3d Author: Dan Winship <danw@gnome.org> Date: Mon Aug 20 17:26:45 2012 -0400 tests/protocol: update the messages to reflect G_LOG_DOMAIN being set now glib/tests/protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d06c7a911ea28d9d8019b901f71bd12cfa2dd64d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 16:25:09 2012 -0400 g_test_expect_message: add some g_return_if_fail NULL domain is not supported and some might expect this to work, so make sure they don't get the wrong idea... glib/gmessages.c | 4 ++++ 1 file changed, 4 insertions(+) commit 07fadc7932713145ec429394c9ebf2a87bd09b75 Author: Lars Uebernickel <lars.uebernickel@canonical.com> Date: Mon Aug 20 14:32:14 2012 +0200 GMenuModel: add test for the new GMenuItem API gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6798fcdd0f3c1b96c3c0e8561ea81e9a05f2005f Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:24:46 2012 -0400 GMenuItem: add constructor to copy from model Add g_menu_item_new_from_model() for constructing a GMenuItem that is a copy of a menu item that's in a GMenuModel. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmenu.c | 87 +++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 4 ++ 4 files changed, 93 insertions(+) commit 99478dd893fab44f3672cbacce3c87b6dec3bb58 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:20:59 2012 -0400 GMenuItem: add getter APIs GMenuItem has been write-only up to this point. Add some APIs for reading back values as well. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gmenu.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 13 ++++ 4 files changed, 137 insertions(+) commit ad79b0f8efdb72e9c4b337dffa62521e7fa2a89a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:14:21 2012 -0400 GMenuModel: remove a type safety bug There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it. gio/gmenumodel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 34653169e5653b95d61c461f088e6016f042d08a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:12:55 2012 -0400 GVariant: add g_variant_check_format_string() For some time now people have been asking for a way to check for type compatibility between GVariant instances and format strings. There are several APIs inside of GLib itself that would benefit from this. This patch introduces a way to do that. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 104 ++++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +- glib/tests/gvariant.c | 54 ++++++++++++++++++ 5 files changed, 163 insertions(+), 1 deletion(-) commit 6a6b64ef4d9f2985eaf1cb727398019359b4b4f4 Author: Aurimas Černius <aurisc4@gmail.com> Date: Mon Aug 20 23:10:25 2012 +0300 Updated Lithuanian translation po/lt.po | 1694 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 847 insertions(+), 847 deletions(-) commit cc24dac3c8edbe2068ba15522bb5d937602082dc Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:38:30 2012 -0400 glib/tests: use g_test_expect_message() Replace some tests that used to use g_test_trap_fork() with g_test_expect_message() instead. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/Makefile.am | 1 + glib/tests/error.c | 45 ++++++------ glib/tests/gvariant.c | 56 ++++++++------- glib/tests/mainloop.c | 11 ++- glib/tests/markup-collect.c | 20 +++--- glib/tests/strfuncs.c | 163 ++++++++++++++++++++++---------------------- 6 files changed, 159 insertions(+), 137 deletions(-) commit 25ac137c0a47ccc5214dabeaa41da18dac2b0cee Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:05:08 2012 -0400 gtestutils: add g_text_expect_message() Add g_test_expect_message() and g_test_assert_expected_messages(), to allow tests of warnings, error messages, return-if-fails, etc. https://bugzilla.gnome.org/show_bug.cgi?id=679556 docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 2 + glib/gmessages.c | 466 +++++++++++++++++++++------------- glib/gtestutils.h | 10 + glib/tests/testing.c | 86 +++++++ 5 files changed, 397 insertions(+), 171 deletions(-) commit 78a8aecbb339f620e87711389f56308c219d443f Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 15:32:31 2012 -0400 g_logv: only expand the message once Hoist the g_strdup_printf()'ing out of the loop, since the message is the same for every handler that gets called. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/gmessages.c | 60 +++++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit f78931c4abf217fce0eca890da411c1c1c983d45 Author: Dan Winship <danw@gnome.org> Date: Wed Aug 1 09:49:10 2012 -0400 glib/tests/testing, logging: don't use g_test_undefined() We are verifying the behavior of the test/logging functions here; this is not undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/logging.c | 54 ++++++++++++++++++++-------------------------------- glib/tests/testing.c | 32 ++++++++++--------------------- 2 files changed, 31 insertions(+), 55 deletions(-) commit d9f6314f57cad9940938165421c1efc09636147b Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 02:04:08 2012 +0200 win32: add pipe-io-cancel-test Test that win32 streams can be cancelled. It can even be tested with wine on Linux! https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/tests/win32-streams.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit b9b2cf6a666af907d775a871d76b5b6871b4a6bd Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:02:40 2012 +0200 win32: add pipe-io-concurrent Implement test case suggested by Ryan Lortie on bug: https://bugzilla.gnome.org/show_bug.cgi?id=679288 "There is a potential race here that's really unlikely to happen, but here we go: We are trying to read from the same socket in two threads. Some data comes. That causes the poll() in both threads (above) to finish running. Then the cancellable is checked above. We now find ourselves here. Only one thread will read the data. The other will block on this function. Then the user may cancel the cancellable while we are blocked here, but we will stay blocked...." gio/tests/win32-streams.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 1c1ba8b5122295651400eed3f3fb3b9f69f0ac47 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Aug 20 15:47:15 2012 +0200 win32: add pipe-io-overlap-test gio/tests/win32-streams.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit b9d7b80897d79cb43c4a795c7d9d3d9a24e140cc Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Fri Jul 6 00:46:32 2012 +0200 win32: make gio stream cancellable v2: - fix cancellation of concurrent readers - replace g_assert() usage with g_warn_if_fail() v3: - fix indentation - fix loop code to not leak (silly me) https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 4b5d762d5d73af90de49801ecc1da52d4cd86d6f Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:08:15 2012 +0200 win32: handle ERROR_MORE_DATA If a named pipe is being read in message mode and the next message is longer than the nNumberOfBytesToRead parameter specifies, ReadFile returns FALSE and GetLastError returns ERROR_MORE_DATA. Since the API doesn't allow to return both a GError and the number of bytes read so far, it makes more sense to return nread, and let the client call GetLastError() himself to check if ERROR_MORE_DATA. The current alternative loses the nread information. https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gwin32inputstream.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 23d80a04da43c08f4ea626283607a7546d7a56db Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 2 21:45:41 2012 +0200 win32: use overlapped events for streams Any file handle created with FLAG_OVERLAPPED must have ReadFile()/WriteFile() called with an OVERLAPPED structure. Failing to do so will give unspecified results, invalid read/write or corruption. Without FLAG_OVERLAPPED, it is not possible to read and write concurrently, even with two seperate threads, created by 2 input and output gio streams. Also, only with FLAG_OVERLAPPED may an IO operation be asynchronous and thus be cancellable. We may want to call ReOpenFile() to make sure the FLAG is set, but this API is only available since Vista+. According to MSDN doc, adding the OVERLAPPED argument for IO operation on handles without FLAG_OVERLAPPED is allowed, and indeed the existing test still passes. v2: - update GetLastError() after _g_win32_overlap_wait_result () - split the unrelated ERROR_MORE_DATA handling https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 28 +++++++++++++++++++++++ gio/gasynchelper.h | 11 +++++++++ gio/gwin32inputstream.c | 58 ++++++++++++++++++++++++++++++++++++------------ gio/gwin32outputstream.c | 53 ++++++++++++++++++++++++++++++++----------- 4 files changed, 123 insertions(+), 27 deletions(-) commit 96a0c589eec8e66f0d879c2a0979df6fd2c23dde Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> Date: Mon Aug 20 16:41:42 2012 +0200 gmem.c: array is only paritally filled by memcpy The size of the local_data arrray is too large. It should not be multiplied by the sizeof guint. The memcpy of profile_data to local_data later will only fill a part of the array. Spotted with the PVS-Studio static analyzer https://bugzilla.gnome.org/show_bug.cgi?id=681501 glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248cc2c8858a2c60b9aaaa7706ef3a7f5bce84cc Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Aug 20 14:15:39 2012 +0200 Updated Spanish translation po/es.po | 348 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 190 insertions(+), 158 deletions(-) commit cbf346ce53887e7e40f38c0945f94ff672fa114e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:27:04 2012 -0400 Remove some more 'the the' gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:42 2012 -0400 Improve test coverage for GSocketConnection gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) commit cc5d7ccdba6e46548a1e895db1d8dab3409278b8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:05 2012 -0400 Improve test coverage for unix socket addresses gio/tests/unix-fd.c | 4 ++++ 1 file changed, 4 insertions(+) commit 63eaeb223b9b773e055acc1a8fc7637e4a676b82 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:37 2012 -0400 Improve test coverage for resources gio/tests/resources.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit beea8c5c847a7bf46ae77d834ed7cc3fb6822c5c Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:21 2012 -0400 Improve test coverage for filter streams gio/tests/filter-streams.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit b22f4a2dd2c05038f45485b850f3ba04bf28afb9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:02 2012 -0400 Improve test coverage for unix streams gio/tests/unix-streams.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 3afec2b87282b25233add6bcdfb9af4657f40ddd Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:44 2012 -0400 Improve test coverage for pollable streams gio/tests/pollable.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit eeb4951c47d6a869d50590a9a81afbb99f63b5f3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:04 2012 -0400 Improve GSettings test coverage gio/tests/gsettings.c | 81 +++++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 2 files changed, 83 insertions(+), 1 deletion(-) commit f89e9deaec3bf279eac5073a30d6d3d7b2a1568b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:23:32 2012 -0400 Improve GAppInfo test coverage gio/tests/appinfo-test.desktop | 8 ++++-- gio/tests/appinfo.c | 60 +++++++++++++++++++++++++++++++++++++++++- gio/tests/mimeapps.c | 21 ++++++++++++--- 3 files changed, 83 insertions(+), 6 deletions(-) commit 35bf77445bcce900fa6007290ac8226107763b94 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:59 2012 -0400 Add some GInetAddress tests gio/tests/Makefile.am | 4 + gio/tests/inet-address.c | 365 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) commit 867ad1cebc002d881e9e113277e8ea2e03cdaaf1 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:33 2012 -0400 Add some GPermission tests gio/tests/Makefile.am | 4 ++ gio/tests/permission.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) commit 2687d921e15e4aead3af4867fcd6220088085d7a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:21:02 2012 -0400 Cosmetic change gtk-doc doesn't need <!-- --> anymore to recognize plural forms of links. gio/gpollableinputstream.c | 2 +- gio/gpollableoutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dbcd27eeea8181810c8ddefd116ce474bea8496 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:19:27 2012 -0400 Make GPermission more forgiving It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error. gio/gpermission.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) commit 4a8740d0d23077cf9be99dfd3cf583ba33595279 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:17:47 2012 -0400 It is 'registered', not 'registred' gio/gresource.c | 12 ++++++------ gobject/gparam.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit e27367f341e56bd951ea4b6fb42ef23cd0598c65 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:15:58 2012 -0400 Exterminate 'the the' gio/gdbusprivate.c | 2 +- gio/gioenums.h | 2 +- gio/gproxyaddress.c | 2 +- gio/gzlibcompressor.c | 2 +- glib/gmain.c | 14 +++++++------- glib/gmarkup.c | 2 +- glib/gspawn.h | 2 +- gobject/gvalue.h | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) commit 96ed9e41f436412dbc0628cf45ecd460e9823089 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:42:10 2012 -0400 Improve utils test coverage glib/tests/utils.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit cb8f88ca9fc87a65c7df69164e0ea8a905fc224b Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:48 2012 -0400 Improve uri test coverage glib/tests/uri.c | 3 +++ 1 file changed, 3 insertions(+) commit 2c338e21d6f86bad96283d5388991dc4c4b34361 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:35 2012 -0400 Improve strfuncs tests coverage glib/tests/strfuncs.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 58c7747c50c98331769bc4d68f341652c42063c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:23 2012 -0400 Improve GRegex test coverage glib/tests/regex.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a7e10fa0b6c1772b8be49f17bb3e1eeb3477c26c Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:07 2012 -0400 Improve GPrivate test coverage glib/tests/private.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit aad40b89fe0539eede3a66e2fe2fc8b9c8f5c420 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:33 2012 -0400 Improve file utils test coverage glib/tests/fileutils.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) commit 6e1d205ad30e9a3c031d0660f909dbed8665dee4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:15 2012 -0400 Improve GError test coverage glib/tests/error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e181234fe5bbf80be3973d4803bce68887a771c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:52 2012 -0400 Improve atomic ops test coverage glib/tests/atomic.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06d837b6a3ac59f8e997d9f745136d48b85ecb38 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:28 2012 -0400 Improve array test coverage glib/tests/array-test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 373dcaea567281b977e76d812a73d2ee201d2745 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:38:53 2012 -0400 Improve threadpool test coverage tests/threadpool-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a946892b1e80aabcf33eb9783ce1cacaf6162e97 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 17 23:17:51 2012 +0200 Updated Galician translations po/gl.po | 550 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 276 insertions(+), 274 deletions(-) commit 2360d04e50d744a6db42a0a24418ecd272b45a8e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Thu Aug 16 22:06:45 2012 -0400 Fix problems with CLEANFILES and automake-1.11.1 Running with automake-1.11.1, a couple fixes are needed for CLEANFILES when gtk-doc is not installed. (Found with Amazon Linux AMI release 2012.03) https://bugzilla.gnome.org/show_bug.cgi?id=682067 autogen.sh | 5 ++++- glib/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit fdcdcf4f2f7a382d8b8d00842524bbd9aa82d3e0 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:43:40 2012 +0530 Updated Telugu Translations po/te.po | 104 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 57 deletions(-) commit a53ccea814fa052a7d2aaa543cf2483b4f455cb4 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:22:00 2012 +0530 Updated Telugu Translations po/te.po | 1077 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 628 insertions(+), 449 deletions(-) commit 2954f70d39198e67ff6a364a4f5c275381af1a75 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Fri Aug 17 19:22:43 2012 +0800 Fix build on Visual C++ -glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not be universally available. -gio/gtestdbus.c: Include io.h on Windows for close() gio/gtestdbus.c | 3 +++ glib/gmarkup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 69124b2dc4587f9c978648e38c548c50352ef930 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Fri Aug 17 12:59:44 2012 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 253 +++++++++++++++++++++++++++++++-------------------------- 2 files changed, 278 insertions(+), 228 deletions(-) commit f116437c7e73035a72ce45cb47c4518df604711a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Aug 17 14:22:32 2012 +0530 Assamese translation updated po/as.po | 318 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 147 deletions(-) commit 56e9f896c691cb99ebd4f4d20a507760c0f445fa Author: Sandeep Sheshrao Shedmake <sshedmak@redhat.com> Date: Fri Aug 17 12:24:15 2012 +0530 Updated Marathi Translations po/mr.po | 1372 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 780 insertions(+), 592 deletions(-) commit 86a4fd6fa98de29f7ee05ba655a00e4c42f11756 Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 11:15:08 2012 +0000 docs: Describe GCompletion item memory management https://bugzilla.gnome.org/show_bug.cgi?id=600751 glib/deprecated/gcompletion.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit b13a79aeb45e0630482202372e136ea264a24e5f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 01:14:51 2012 -0400 Adapt schema tests to changed error messages gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 056d39c9f7e058397beaed7b4f5637857510b4e2 Author: Colin Walters <walters@verbum.org> Date: Tue May 29 18:54:58 2012 -0400 GMappedFile: Add g_mapped_file_get_bytes() This is yet another API that has a data/length/refcount combination that one might often want to turn into a GBytes. https://bugzilla.gnome.org/show_bug.cgi?id=677065 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmappedfile.c | 24 ++++++++++++++++++++++++ glib/gmappedfile.h | 2 ++ glib/tests/mappedfile.c | 19 +++++++++++++++++++ 5 files changed, 47 insertions(+) commit b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 00:27:10 2012 -0400 GDateTime: pack the struct better Makes a difference in 32bit. glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 86329ba44fc7662c0bad37955f0ec980a24be495 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:41:19 2012 -0400 gdbus: Use g_markup_collect_known_attributes() in GDBus introspection In order to be able to cope with the introspection XML from the Telepathy specification, which uses attributes like tp:type and tp:name-for-bindings, we need to ignore unknown attributes when parsing. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 100 ++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-) commit 8d40389d15544bdc612989157f80380badce52f7 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:40:08 2012 -0400 gmarkup: Add g_markup_collect_known_attributes() Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmarkup.c | 218 +++++++++++++++++++++++----------- glib/gmarkup.h | 9 ++ glib/tests/markup-collect.c | 125 ++++++++++++------- 5 files changed, 242 insertions(+), 112 deletions(-) commit 21aff13d22257ae786bbf39bd68f24f448205bfc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:23:16 2012 -0400 Fix 'make report' Turns out this doesn't work unless every Makefile.am includes Makefile.decl. gio/gdbus-2.0/codegen/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6bee6dbce53310935dce7cb1de73e0b0be36f988 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:02:41 2012 -0400 Miscellaneous string fixes Typo and punctuation fixes, and some rewording, based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gdbusaddress.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gicon.c | 2 +- gio/glib-compile-schemas.c | 12 ++++++------ gio/gsocket.c | 6 +++--- gio/gsocketclient.c | 4 ++-- gio/gsocks5proxy.c | 4 ++-- glib/gregex.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) commit e4dc223e9d1778f21c8267171dd6562ba82634c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:47:43 2012 -0400 Make capitalisation of "UNIX" consistent in translatable strings Based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 191f09b04409202fc88fc88f5e05c16d4cdfa86c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:23:20 2012 -0400 Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:17:46 2012 -0400 Fix leak in GWinHttpVfs Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/win32/gwinhttpvfs.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ef1e56479db644cff6717a838a8e63a54ce54da Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:15:54 2012 -0400 Fix leak in GFileAttributeInfoList Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/gfileattribute.c | 1 + 1 file changed, 1 insertion(+) commit bf3262dd935ecbe72374311447de1f1c70a43fcc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 20:18:37 2012 -0400 GTest: Improve --help output https://bugzilla.gnome.org/show_bug.cgi?id=550433 glib/gtester.c | 33 +++++++++++++++--------------- glib/gtestutils.c | 61 ++++++++++++++++++++++--------------------------------- 2 files changed, 41 insertions(+), 53 deletions(-) commit 55ca95c2203cb483439aae9b1f282b93f32f621c Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 14:42:58 2012 +0000 docs: Improve G_GNUC_* documentation Mention where the GCC attributes should be placed for functions and arguments. Add an example for G_GNUC_UNUSED. https://bugzilla.gnome.org/show_bug.cgi?id=326931 glib/docs.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 17 deletions(-) commit 2ccf64ba59cfcc472a658b036b8a919aa081ea7f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 18:44:41 2012 -0400 Improve glib-genmarshal man page Expand the example in glib-genmarshal.1 to include the actual commandline invocations, and update the generated function names to match reality. https://bugzilla.gnome.org/show_bug.cgi?id=637460 docs/reference/gobject/glib-genmarshal.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit aa50b8aec31df6951070ed9674ab3b14dc6d2759 Author: Colin Walters <walters@verbum.org> Date: Thu Aug 16 18:31:02 2012 -0400 build: Fix the --disable-man case The manpage listing needs to be inside the conditional. docs/reference/gio/Makefile.am | 8 +++++--- docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/gobject/Makefile.am | 7 +++++-- 3 files changed, 15 insertions(+), 8 deletions(-) commit d7e1d51fc94b79dfa4243f3b9aa6eafbe169ed6f Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 12:57:43 2012 -0400 Add tests for g_file_make_directory_with_parents() Add tests to catch recent regressions with g_file_make_directory_with_parents() https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/tests/live-g-file.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit f899358156a34d1b5258d1fcdeb289e7b2bbf233 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:25:56 2012 -0400 g_file_make_directory_with_parents: clean up logic Simplify logic by only looking at whether we have a GError and not also using return codes. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 5291190f46614c9e1491599af345f9c41c74967e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:20:16 2012 -0400 g_file_make_directory_with_parents(): fix a corner case If g_file_get_parent() unexpectedly failed, we could return FALSE but with no error. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 732470a3594351ffc3d085a755271844c462e9c8 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:00:14 2012 -0400 g_file_make_directory_with_parents: refix error propagation The patch from b0bce4ad triggered segfaults - see: http://redmine.yorba.org/issues/5656 We were clearing the error before dereferencing it in the next go-around of the while loop - this wasn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b60168a5f5b4bcfa8f8ed175cd18a0cfaea96063 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 10:01:47 2012 -0400 Remove man page placeholder generation I don't see a good reason for this - if man page generation is disabled, man pages are not produced, and things like 'make dist' will fail. That is simpler and better. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 15 +-------------- docs/reference/glib/Makefile.am | 15 +-------------- docs/reference/gobject/Makefile.am | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) commit 4cd5a63f12357b6ed6314cfed237965dba0aaeae Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:57:48 2012 -0400 Clean up man pages on 'clean' Follow the automake heuristic that says "if 'make' created it, 'make clean' should remove it". https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ce531302cd3b562a284da24ef425108d3466a7fb Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:55:29 2012 -0400 Make --enable-man and --enable-gtk-doc independent Previously, --enable-man --disable-gtk-doc would silently skip man page generation, because we didn't even desdend into docs/reference. Fix this by always going there. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 317d91d06bc3bcdef91f98a7a75489977aa154e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 17:21:03 2012 -0400 Fix an example Pointed out by Chandni Verma in https://bugzilla.gnome.org/show_bug.cgi?id=682025 docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8a5fc2e2e548e72526b4d69f1c04a78030e47d4 Author: Javier Jardón <jjardon@gnome.org> Date: Wed Aug 15 02:45:10 2012 +0900 Revert "Use upstream gettext instead the glib one" Commited by mistake This reverts commit e930e3b3aac2fe4d62996d8033121a40153f2da3. autogen.sh | 4 - configure.ac | 15 ++- gio/Makefile.am | 1 - glib/Makefile.am | 1 - po/Makefile.in.in | 280 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/Makevars | 66 ------------- 6 files changed, 293 insertions(+), 74 deletions(-) commit 6b201748b5f71f74af02ba8c01fd4c53750f910a Author: Sebastian Geiger <sbastig@gmx.net> Date: Thu Aug 9 23:01:29 2012 +0200 compiling.xml: Add note and fix gcc example Because of the '--as-needed' default option for the linker, the linking will fail, if the file name appears after any of the options or the pkg-config invocation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854 docs/reference/glib/compiling.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e930e3b3aac2fe4d62996d8033121a40153f2da3 Author: Javier Jardón <jjardon@gnome.org> Date: Mon May 16 13:23:47 2011 +0100 Use upstream gettext instead the glib one autogen.sh | 4 + configure.ac | 15 +-- gio/Makefile.am | 1 + glib/Makefile.am | 1 + po/Makefile.in.in | 280 ------------------------------------------------------ po/Makevars | 66 +++++++++++++ 6 files changed, 74 insertions(+), 293 deletions(-) commit f92a3525f79ecb53d470c00797b71c12860eb05b Author: Dirgita <dirgitadevina@yahoo.co.id> Date: Mon Aug 13 06:04:31 2012 +0700 Updated Indonesian translation po/id.po | 6031 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3358 insertions(+), 2673 deletions(-) commit ddfcfa66ae602c11ce9c4bfc426a79d668653278 Author: Colin Walters <walters@verbum.org> Date: Tue Aug 7 17:26:43 2012 -0400 build: Switch back to using AS_IF for conditionals See https://bugzilla.gnome.org/show_bug.cgi?id=674483 https://bugzilla.gnome.org/show_bug.cgi?id=681413 configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e5ad42c6127e0c4c3c5c6567e137305fbeee4fbc Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 7 13:36:35 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 183 ++++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 183 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 180 insertions(+), 186 deletions(-) commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0 Author: Stef Walter <stefw@gnome.org> Date: Mon Aug 6 18:20:48 2012 +0200 gtlscertificate: Add certificate-bytes and private-key-bytes props * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319 gio/gdummytlsbackend.c | 4 +++ gio/gtlscertificate.c | 59 ++++++++++++++++++++++++++++++++++++--------- gio/tests/gtesttlsbackend.c | 6 +++++ 3 files changed, 58 insertions(+), 11 deletions(-) commit 69dd29296e2ff691f7d305ad7686d9c2e0d6e158 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 16:20:36 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b43310ef41cde26978c261cf1c0e2715adf732d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 15:56:26 2012 -0400 GLib 2.33.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55a2a2005cd45932bda56810aecbc5ac784fb4d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:21 2012 -0400 Don't use GIO in GTestDBus setup Using GIO here may cause the gvfs module to be loaded, which in turn gets onto the session bus to talk to gvfsd - not ideal if you are trying to control the session bus life cycle. Instead, just use old-fashioned glib file utils. gio/gtestdbus.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 197ebb3be4fe01ac5da536157a9b6951f2871d01 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:04 2012 -0400 More updates NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cc80ae321fdfdcc90596940c8161861d25b20eed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:55:59 2012 -0400 Solaris build fix for GIO Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h. This commit adds a configure check for this header, and includes it conditionally in gio/gsocket.c. Patch by Fabian Groffen, bug 675524. configure.ac | 2 +- gio/gsocket.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit bd883f8dc75f056c2b25e941fb09422dc5786bbe Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 13:03:38 2012 -0500 gio/tests/g-icon.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 291853bea3881a7eeb0f2c56946d3a1c0ef38c95 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 12:42:10 2012 -0500 gicon: make g_icon_new_for_string() recognize win32 paths (but for compatibility, make it still recognize unix paths on win32 too) https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/gicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26f1e0938eeb61c7f93b651aa316e33f3b0d6292 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:35:26 2012 -0500 gio/tests/file: skip the file monitor tests if using GPollFileMonitor test_create_delete() assumes that if it creates a file and then immediately deletes it, that the file monitor will notice this and record it as a create followed by a delete. But that won't work with GPollFileMonitor, which will just think nothing changed. So skip the test in that case. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/file.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 2793b39ea3de4fdac5cf154c7a12ac7ba82657d2 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:12:02 2012 -0500 gio/tests/g-file.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-file.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 5c91af7e41443252857cdcf6fe0f0dabdc0b5250 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:10:50 2012 -0500 glocalfile: fix g_file_get_parse_name() on win32 When getting the parse name for a file: URI on win32, we were not translating "\" to "/", resulting in incorrect output. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/glocalfile.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit b2ddbd8f556c41f4d076c4cc4788684a9c84e7a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:03:42 2012 -0400 Plug a minor memory leak in GDBusObjectProxy As pointed out by Patrick Ohly in bug 680505, GDBusObjectProxy was forgetting to free its object_path. gio/gdbusobjectproxy.c | 2 ++ 1 file changed, 2 insertions(+) commit be7095980e90a8d8e76e678dc085423d2717c3bd Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 13:12:15 2012 +0100 gobject docs: Remove confusing acronym In the wikipedia disambiguation page[1] the only entry that even remotely makes sense in this context is "and so on". Google searches for "aso memory management" and "aso garbage collection" don't yield anything relevant. [1] http://en.wikipedia.org/wiki/ASO https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcda26a504c58d5ef5c13032c6c29cf3c56c226e Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 10:57:46 2012 +0100 gobject docs: Remove incorrect reference to signals docs The chapter on signals comes after this chapter, not before (see "tut_gobject.xml" in docs/reference/gobject/gobject-docs.xml). https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 10474aca34f8adf7258294d678e56525b7570c70 Author: Brian Koning <gnome.brkoning@gmail.com> Date: Mon Jul 23 11:04:45 2012 -0400 Remove extra newline chars in local g_application_command_line_print/err The extra newline chars in the local implementation of g_application_command_line_print and g_application_command_line_printerr() cause an unwanted newline after printed strings. This patch removes the newline chars to make the functions consistent with their documentation. https://bugzilla.gnome.org/show_bug.cgi?id=680459 gio/gapplicationcommandline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 151b198b93764ac69b5c067afe9fbf7c6c4acea4 Author: Pavel Vasin <rat4vier@gmail.com> Date: Mon Jul 16 15:57:26 2012 +0400 GDBusActionGroup: hold ref until async init done to avoid use-after-free if GDBusActionGroup was finalized https://bugzilla.gnome.org/show_bug.cgi?id=679509 gio/gdbusactiongroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b2d848e3cb83fb096d6337be701cf834defa56b9 Author: Pavel Vasin <rat4vier@gmail.com> Date: Sun Jul 15 14:34:53 2012 +0400 gio/tests/actions: test for bug679509 gio/tests/actions.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit a74749d354a9d5458f664eb67691901e13bfe738 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:51:40 2012 -0400 Deprecated GSlice config API This was marked as 'internal debugging' in the headers, and should have never been made public. As a first step to repair this, deprecate it. https://bugzilla.gnome.org/show_bug.cgi?id=680831 glib/gslice.h | 4 ++++ glib/tests/slice.c | 3 +++ 2 files changed, 7 insertions(+) commit 0b8662635df3e35aacb7d2e7cef517c47869c6ec Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:49:30 2012 -0400 configure.ac: Use AS_HELP_STRING throughout https://bugzilla.gnome.org/show_bug.cgi?id=680831 configure.ac | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 49b35f093034af6ff14df4df2073a6111614c9d0 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 21:51:08 2012 +0200 gtlscertificate: Don't confuse certificate and public key in docs * A certificate sorta acts as a public key, but more specifically it contains a public key (in its subjectPublicKeyInfo) field. * Documentation was confusing and could have read like the certificate and certificate-pem properties were returning the public key part of the certificate. https://bugzilla.gnome.org/show_bug.cgi?id=681158 gio/gtlscertificate.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 278fe0c67f1d3a8731356fdda0e0adfb633cd7c4 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 31 16:47:45 2012 +0200 gchecksum: Add g_compute_checksum_for_bytes() * Add a GBytes based version of g_compute_checksum_for_data() * Add appropriate tests https://bugzilla.gnome.org/show_bug.cgi?id=680912 docs/reference/glib/glib-sections.txt | 1 + glib/gchecksum.c | 30 +++++++++++++++++++++++ glib/gchecksum.h | 5 ++++ glib/glib.symbols | 1 + glib/tests/checksum.c | 45 +++++++++++++++++++++++++++++++---- 5 files changed, 78 insertions(+), 4 deletions(-) commit dd2ecf7488190d7ffd7912f6bf81da3560ad3976 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 18:19:36 2012 +0200 checksum: Use functions instead of macros when building tests * No need for hard to debug and maintain macros here. https://bugzilla.gnome.org/show_bug.cgi?id=681151 glib/tests/checksum.c | 65 +++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 28 deletions(-) commit 0f6a092cc5a1cc82a02b23e9daa15159319f929c Author: Javier Jardón <jjardon@gnome.org> Date: Tue Apr 17 12:59:11 2012 +0100 Make gtk-doc not a hard dependency of GLib Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674314 autogen.sh | 10 ++++++---- configure.ac | 7 ++++++- docs/Makefile.am | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) commit 10fc00b38515bc322d5e497d61a50165b04c3c8d Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Apr 25 14:21:06 2012 +0200 gclosure: do not copy and leak when generically marshalling return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 gobject/gclosure.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 24b9f61ee4b8b7bc755b84398207112c18b4121f Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:59 2012 +0200 tests: add check for leaking signal return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 tests/refcount/Makefile.am | 5 ++++- tests/refcount/signals.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) commit 13a1154b4cf664e486df9fa6a76d279b8090c49e Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:06 2012 +0200 tests: make refcount signals test slightly valgrind cleaner tests/refcount/signals.c | 4 ++++ 1 file changed, 4 insertions(+) commit f1a13b895d71fb9523c65591a7ebb7a8bad0a4d9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 4 17:49:53 2012 -0400 NEWS updates for 2.33.8 NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 08dd0f246a17c5e1fd78ae19c18f52905c47fdbc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:36:25 2012 +0200 docs: Improve man page consistency Make Options sections refsect1 instead of refsect2, and use uppercase for argument names. Also add a product name, and shorten some argument names. docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gdbus.xml | 29 ++- docs/reference/gio/gio-querymodules.xml | 14 +- docs/reference/gio/glib-compile-resources.xml | 83 ++++--- docs/reference/gio/glib-compile-schemas.xml | 29 ++- docs/reference/gio/gresource.xml | 17 +- docs/reference/gio/gsettings.xml | 17 +- docs/reference/glib/glib-gettextize.xml | 23 +- docs/reference/glib/gtester-report.xml | 18 +- docs/reference/glib/gtester.xml | 33 ++- docs/reference/gobject/glib-genmarshal.xml | 237 ++++++++++--------- docs/reference/gobject/glib-mkenums.xml | 315 +++++++++++++------------- docs/reference/gobject/gobject-query.xml | 41 ++-- 13 files changed, 506 insertions(+), 371 deletions(-) commit d241978412144650e73e9b635cf1869f8d4da2b9 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:33:34 2012 +0200 docs: Improve man page generation Use $(AM_V_GEN) for generating man pages, and set some parameters for the XSL stylesheets. Among other things, don't generate AUTHORS and COPYRIGHT sections. docs/reference/gio/Makefile.am | 10 +++++++++- docs/reference/glib/Makefile.am | 10 +++++++++- docs/reference/gobject/Makefile.am | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) commit 9f9ab640306da52127935bd8eab82a1a8dcaaf89 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:52:46 2012 +0200 Rework the man page configury Default to generate man pages if the required tools and stylesheets are found. Error out if --enable-man is given but tools or stylesheets are missing. configure.ac | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) commit e2470ec6db5230c183a4879b5f0c687b699614e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:51:52 2012 +0200 docs: Don't put links in section titles gio/gsettingsschema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6ddf40f301439c01bec24344694074bd9ba5f016 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 10:41:02 2012 +0200 gtlscertificate: Add g_tls_certificate_is_same() function * Certificate equality in PKIX in general is equality between the DER encoding of the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=681116 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gtlscertificate.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gtlscertificate.h | 4 ++++ 4 files changed, 43 insertions(+) commit b913b0c29ed7269a1684ec15f27b59a8ad2ef5e4 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 14:22:53 2012 +0200 gtlsdatabase: Don't complain if no callbacks for async functions https://bugzilla.gnome.org/show_bug.cgi?id=681118 gio/gtlsdatabase.c | 7 ------- 1 file changed, 7 deletions(-) commit aaf6ac8321065b9a81f96070d629bd72b589dfde Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:35:05 2012 +0530 Updated gujarati file po/gu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0b3a656c78c1f14c146464aa50697990db8b88b Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:32:12 2012 +0530 Updated gujarati file po/gu.po | 6025 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3285 insertions(+), 2740 deletions(-) commit 800ca21e555e5e9fe1f07a4a8473d6d24ada6301 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Aug 1 11:57:22 2012 -0400 GDBusError: Fix up G_STATIC_ASSERT guidance This was reported in bug 680994. https://bugzilla.gnome.org/show_bug.cgi?id=680994 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3f96373372771744a5ade73b2e897ec32365182 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 25 14:41:04 2012 -0400 gthreadpool: set default max_unused_threads and max_idle_time values GThreadPool defaulted to 0 for max_unused_threads (meaning thread-pool threads would exit immediately if there was not already another task waiting for them), and 0 for max_idle_time (meaning unused threads would linger forever, though this is only relevant if you changed max_unused_threads). However, GIOScheduler changed the global defaults to 2 and 15*1000, respectively, arguing that these were more useful defaults. And they are, so let's use them. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gioscheduler.c | 6 ------ glib/gthreadpool.c | 9 +++++---- 2 files changed, 5 insertions(+), 10 deletions(-) commit 26056558be4656ee6e891a4fae5d4198de7519cf Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 08:06:57 2012 -0400 gmain: allow g_source_get_context() on destroyed sources g_source_get_context() was checking that the source wasn't destroyed (since a source doesn't hold a ref on its context, and so source->context might point to garbage in that case). However, it's useful to be allowed to call g_source_get_context() on a source that is destroyed-but-currently-running. So instead, let g_source_get_context() return the context whenever it's non-NULL, and clear the source->context of any sources that are still in a context's sources list when the context is freed. Since sources are only removed from the list when the source is freed (not when it is destroyed), this means that now whenever a source has a non-NULL context pointer, then that pointer is valid. This also means that g_source_get_time() will now return-if-fail rather than crashing if it is called on a source whose context has been destroyed. Add tests to glib/tests/mainloop to verify that g_source_get_context() and g_source_get_time() work on destroyed sources. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/gmain.c | 15 ++++++++++++--- glib/tests/mainloop.c | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) commit 6881e743ee37eff154326ef5e0510651c0a14ac4 Author: Dan Winship <danw@gnome.org> Date: Sun Jul 29 13:06:53 2012 -0400 glib/tests/mainloop: test g_source_get_time() Verify that - g_source_get_time() does not change within a single callback (even if the real time does) - g_source_get_time() does not change between different callbacks in the same mainloop iteration - g_source_get_time() does change between iterations if the real time did. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/tests/mainloop.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Mon Jul 30 13:33:05 2012 +0200 g_file_make_directory_with_parents: Fix error propagation When creating a directory fails for some reason other than the parent not existing, don't clear the error before we try to propagate it. To reproduce, run 'ostadmin init' on /ostree or otherwise try to run the function on a directory with a parent directory where the current user is not allowed to write. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d7829ced532a5ffba4c56772a7a4b24e3e228651 Author: Colin Walters <walters@verbum.org> Date: Mon Jul 30 05:11:08 2012 -0400 GFile: Note semantics of g_file_delete() Particularly for someone programming on Unix, this helps them understand that we will unlink symbolic links, and not follow them. gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 14a1c20177eab4d584b29cbd6fe5933f4b2af4de Author: Colin Walters <walters@verbum.org> Date: Sat Jul 28 09:30:22 2012 -0400 GFile: Add g_file_delete_async() This looks like it was stubbed out but not implemented; the vtable entry dates to commit 3781343738de4abddf56982325a77bd70a98cd26 which is just alex's initial merge of gio into glib. I was working on some code that wants an asynchronous rm -rf equivalent, and so yeah, this is desirable. https://bugzilla.gnome.org/show_bug.cgi?id=680760 docs/reference/gio/gio-sections.txt | 2 + gio/gfile.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gfile.h | 27 +++++++-- gio/gio.symbols | 2 + gio/tests/file.c | 43 +++++++++++++ 5 files changed, 188 insertions(+), 4 deletions(-) commit 6b6bef753f2e8f01e01fc8e8f099edcebc9ff8b6 Author: Colin Walters <walters@verbum.org> Date: Sun Jul 29 09:29:03 2012 -0400 Add .dir-locals.el to tell Emacs users not to use tabs for C Requested by Ryan. https://bugzilla.gnome.org/show_bug.cgi?id=680787 .dir-locals.el | 1 + 1 file changed, 1 insertion(+) commit c3154cc48eab8bb3ee6afc661d04cc919d6f9543 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 30 02:42:30 2012 +0200 Updated Galician translations po/gl.po | 344 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 180 insertions(+), 164 deletions(-) commit 8abfe528b75c6aab3a46ec02c4dcca05fceca83b Author: Andrej Žnidaršič <andrej.znidarsic@gmail.com> Date: Sun Jul 29 13:11:18 2012 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad4f780cb427c1c37c0b0d87fac867285926eb16 Author: Lionel Landwerlin <llandwerlin@gmail.com> Date: Fri Jul 27 14:52:17 2012 +0200 glib: fix locale detection on android g_utf8_strup() tries to call setlocale() before starting to compute the length of its first argument. Calling setlocale() can return NULL (as specified in the man page), and obviously that happens on android. https://bugzilla.gnome.org/show_bug.cgi?id=680704 glib/guniprop.c | 3 +++ 1 file changed, 3 insertions(+) commit 3339a395c298a64a9a6056b80230cc1381a6406a Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Wed Jul 25 10:33:27 2012 +0200 Updated Serbian translation po/sr.po | 1283 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 1249 ++++++++++++++++++++++++++---------------------------- 2 files changed, 1191 insertions(+), 1341 deletions(-) commit 72824f2af2a6ae01ede471ef987ee60b9f7cd047 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Tue Jul 24 22:39:15 2012 +0300 Updated Hebrew translation. po/he.po | 1120 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 611 insertions(+), 509 deletions(-) commit 3bb53b14530116eeac1e6bcaabf7a28edb74e877 Author: Tobias Endrigkeit <tobiasendrigkeit@googlemail.com> Date: Mon Jul 23 22:11:53 2012 +0200 [l10n] Updated German translation po/de.po | 300 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 160 insertions(+), 140 deletions(-) commit 0830e10e6f6dab02afdc39b61d9611d7330edad1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Jul 23 11:42:22 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 388 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 196 insertions(+), 192 deletions(-) commit 003e7a70e80d508458c7a9d4cc76b84a1eb35f94 Author: Colin Walters <walters@verbum.org> Date: Fri Jul 20 10:40:56 2012 -0400 Revert unintential IAPI break for g_key_file_load_from_data() The old (length) annotation actually wasn't being read. Changing it to an array was telling g-i that it was an array of utf8, which is clearly not true. We *could* add (element-type guint8), but that would change it to a byte array, as opposed to the original utf8 version. Just removing the annotation should bring us back to where we were, which was fine. https://bugzilla.gnome.org/show_bug.cgi?id=680310 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae7c7d982b3f461dcab178b3d20a04aaa9d9d72 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Jul 19 23:15:59 2012 +0800 gio/Makefile.am: Filter out gcontenttype.c for MSVC builds gcontenttype.c was split into gcontenttype.c and gcontenttype-win32.c in commit 32192ee9 ("Split gcontenttype.c"), so we don't want to include gcontenttype.c in the Visual C++ build as it is no longer a source file meant for Windows. Thanks to Thomas H.P. Anderson for pointing this out. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 23a2136fb5dd860a57a9bd46e61099ea4da99447 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:37:59 2012 -0400 Check for PR_SET_NAME Bug 680148 claims that PR_SET_NAME may not be defined when using an old kernel. Deal with it. glib/gthread-posix.c | 2 ++ 1 file changed, 2 insertions(+) commit 4c255d4602b4c6f65031588ff30342c36e250567 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:32:29 2012 -0400 Be more careful when using xlocale Bug 680074 shows that we may end up in situations where only some of the xlocale functions we need are available. Rather than trying to find the minimal set of required functions for each use, define a global USE_XLOCALE and only use any xlocale functions if we have a full set. glib/gstrfuncs.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit dd098405ad4f7ad2a0029cbfc340ca2e7e2b5633 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:20:10 2012 -0400 Cosmetic: Fix up line endings Somehow a few ^M sneaked in here. glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2357f67b1b7a9448d78e8606f10b472c595c7c90 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 15:08:44 2012 -0400 gmain: handle child sources being destroyed before parent Fix a crash when a child source is destroyed before its parent. Also, add a test case for this and the previous fix. glib/gmain.c | 23 ++++++++++-------- glib/tests/mainloop.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 10 deletions(-) commit ee6e66cb4483d82fcb0657d13faebf844258c70b Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 14:19:36 2012 -0400 g_source_add_child_source: sync blocked state Child sources are supposed to be blocked when their parents are, so when adding a source to a blocked source, block the child too. Fixes a warning when unblocking the parent. glib/gmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2855b827da44144c76b72d8cfec9599a835df4ea Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 16:21:03 2012 -0400 gio/tests/converter-stream: add a new test, rename an old one Add a test that the decompressor input streams handle truncated data correctly. (They do; I wrote the test thinking there was a bug there, but there isn't.) Also, rename the "corruption" tests to "roundtrip", since "corruption" makes it sound like we're testing how the converters deal with corrupted data, as opposed to merely testing that they don't corrupt data themselves. And fix the bug reference. gio/tests/converter-stream.c | 112 ++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 29 deletions(-) commit 09c18537f4e8b3ede066339cc23b76df8a4fc2cc Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 13:17:01 2012 -0400 g_cancellable_source_new: don't use a file descriptor Rather than implementing GCancellableSource by polling on its fd, implement it by just waking its GMainContext up from the "cancelled" signal handler, thereby helping to reduce file descriptor usage. Suggested by Ryan Lortie. https://bugzilla.gnome.org/show_bug.cgi?id=680121 gio/gcancellable.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 0e37822e10626859bcc6cb0452f1c0832e6990fa Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 14:23:08 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffefa544d68972cf5cc7099eb015c35630c5314d Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:50:58 2012 -0400 More updates NEWS | 1 + 1 file changed, 1 insertion(+) commit a0b71839ee27eec27d8b9da24d25c153d6273f42 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 17 18:34:16 2012 +0200 GIOScheduler: Fix access after free in "cancelled" handler * GCancellable can be "cancelled" more than once if g_cancellable_reset() is called. * Don't assume that because the "cancelled" signal fired it won't fire again. https://bugzilla.gnome.org/show_bug.cgi?id=680111 gio/gioscheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e97a4c7e5ef205dea08928f64ee5ba7e222e3b9b Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:00:00 2012 -0400 2.33.6 https://bugzilla.gnome.org/show_bug.cgi?id=680111 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit d90ad1805552aab969f316a1de687efdb71e27fe Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 09:12:39 2012 -0400 GAsyncInitable: partially revert the init_finish changes g_async_initable_real_init_finish() was previously handling all GSimpleAsyncResults, even if they weren't created by g_async_initable_real_init_async(), and libnm-glib accidentally relied on that behavior. So remove the g_simple_async_result_is_valid() check. gio/gasyncinitable.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit cd8ec3359b4b8afd5cce48bf218ecd793f8064eb Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Sun Jul 15 19:10:43 2012 +0200 GVariantType: Add (constructor) annotation for some constructors. This are mistaken by g-ir-scanner as GVariantType's methods, because they take a GVariantType* as a first parameter. https://bugzilla.gnome.org/show_bug.cgi?id=679968 glib/gvarianttype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1b3578ec0beb19639e21c08e560a4fdb010a438a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 16 16:42:49 2012 +0200 Updated Spanish translation po/es.po | 441 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 231 insertions(+), 210 deletions(-) commit bfbfbec91e10ea7f34e43a5d263031abb914dec6 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 04:12:02 2012 +0200 win32: g_getenv() should return "" if variable exists and empty On Windows, GetEnvironmentVariable() returns 0 for empty variables. Checking GetLastError() == ERROR_ENVVAR_NOT_FOUND helps make a difference between a variable that does not exist or an empty one which should return "". https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6007a4b0b109855f8521ba93ed10b3a1d2bf77f2 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 03:54:55 2012 +0200 win32: fix g_get_environ() The current code create the strv array incorrectly, it is too big and leaves invalid holes. This may result in crashes when freeing the returned value. https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 11819933e2d0b8833dfd7a0173f66be989a5a914 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jul 16 06:01:55 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d48bd70853496c5a835e0d3a83136ef23ea778c9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jul 15 20:36:10 2012 -0400 More updates NEWS | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f81c2c753ab0f6cc71866cd3e387a2e2dc857d60 Author: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Date: Sun Jul 15 12:27:03 2012 +0300 Updated Belarusian translation. po/be.po | 1106 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 620 insertions(+), 486 deletions(-) commit ef4bbecce76505abc5ba143f57bae4cba0a76f16 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Sun Jul 15 01:23:25 2012 +0200 Updated Polish translation po/pl.po | 192 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 101 insertions(+), 91 deletions(-) commit 160da82e3943e2a42685d72f54dddb11db80458c Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Sat Jul 14 13:51:12 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 1298 insertions(+), 956 deletions(-) commit c182ee1f7189ea2f547e1af6498b27bd501397fc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:37 2012 -0400 Fix GModule documentation a bit The documentation for g_module_make_resident was for some reason in the doc comment for g_module_name. https://bugzilla.gnome.org/show_bug.cgi?id=679813 gmodule/gmodule.c | 16 +++++++++++++--- gmodule/gmodule.h | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) commit 34b2125edff9d4ce1dc6e2e84e5a816ee14b4791 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:12 2012 -0400 Fix doc build glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3201bcd1b278f335669972cbd991c3a6778a040e Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Jul 13 17:53:45 2012 +0530 Assamese translation updated po/as.po | 447 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 97676046f2764ace8d0ac65df092046044841ac0 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 12 23:40:43 2012 -0400 Update NEWS NEWS | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit d9af4259f779a4e88d9d47a9e99944ad785f4190 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Jul 11 19:41:58 2012 +0200 win32: fix build g_spawn_check_exit_status() with mingw With mingw, only gspawn-win32.c is compiled, but it is missing some new symbols. https://bugzilla.gnome.org/show_bug.cgi?id=679691 glib/gspawn-win32.c | 25 +++++++++++++++++++++++++ glib/gspawn.c | 10 ---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit ce1b50bf2afbbcfd6c560feed00de2df50b7dfba Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu Jul 12 16:09:57 2012 +0200 GRegex, GConvert: Add some missing annotations. Also, removed pointless (allow-none) return annotation. https://bugzilla.gnome.org/show_bug.cgi?id=679762 glib/gconvert.c | 6 +++--- glib/gregex.c | 15 +++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) commit 99f26ab08f777040230fdd81423d1220722cef2f Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Jul 11 20:25:59 2012 -0400 mount-operation: add a Since tag to the show-unmount-progress signal gio/gmountoperation.c | 2 ++ 1 file changed, 2 insertions(+) commit 44375ad7c595884c091056a1955d08a1975c5516 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Fri Jul 6 15:41:47 2012 -0400 mount-operation: add show-unmount-progress signal The actual implementation will be in gvfs. https://bugzilla.gnome.org/show_bug.cgi?id=676111 gio/gmountoperation.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ gio/gmountoperation.h | 6 +++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit 37fbd702d54a471781e853acaf805e0f508fbd3a Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jul 12 02:38:20 2012 +0300 Updated Greek translation po/el.po | 819 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 456 insertions(+), 363 deletions(-) commit eda1735029e01d6391fe8a4cde6c5688727c8183 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:38:34 2012 +0200 GDBusNodeInfo: remove a spurious for loop https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 6f23c33831f69ef111d22491586d1dfdd8ca3693 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:37:56 2012 +0200 GDBusNodeInfo: the XML string must contain exactly one node element Make the documentation clear about this. https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 3 +++ 1 file changed, 3 insertions(+) commit f7abd3ce130ae3a6da8502c2dce8d773d7514464 Author: Colin Walters <walters@verbum.org> Date: Tue Jul 10 11:27:22 2012 -0400 Add g_spawn_check_exit_status() Many (if not "almost all") programs that spawn other programs via g_spawn_sync() or the like simply want to check whether or not the child exited successfully, but doing so requires use of platform-specific functionality and there's actually a fair amount of boilerplate involved. This new API will help drain a *lot* of mostly duplicated code in GNOME, from gnome-session to gdm. And we can see that some bits even inside GLib were doing it wrong; for example checking the exit status on Unix, but ignoring it on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=679691 docs/reference/glib/glib-sections.txt | 1 + gio/gdbusaddress.c | 29 +------- gio/gdesktopappinfo.c | 4 +- gio/glib-compile-resources.c | 14 ++-- gio/tests/gdbus-connection-slow.c | 9 +-- gio/tests/gdbus-connection.c | 2 +- glib/glib.symbols | 2 + glib/gmain.c | 12 ++-- glib/gmain.h | 8 ++- glib/gspawn.c | 128 +++++++++++++++++++++++++++++++--- glib/gspawn.h | 13 ++++ 11 files changed, 158 insertions(+), 64 deletions(-) commit 82d914d808c616d14d489c0272c6d5afc4bfbd5a Author: Dan Winship <danw@gnome.org> Date: Thu May 10 11:09:52 2012 -0400 gio: add g_async_result_is_tagged() Rather than doing a two step first-check-the-GAsyncResult-subtype-then- check-the-tag, add a GAsyncResult-level method so that you can do them both at once, simplifying the code for "short-circuit" async return values where the vmethod never gets called. https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncresult.c | 29 +++++++++++++++++++++++++++++ gio/gasyncresult.h | 7 +++++++ gio/gbufferedinputstream.c | 9 ++------- gio/gfileenumerator.c | 11 +++-------- gio/ginputstream.c | 27 ++++++--------------------- gio/gio.symbols | 1 + gio/giostream.c | 9 ++------- gio/goutputstream.c | 27 ++++++--------------------- gio/gresolver.c | 13 ++++--------- gio/gsimpleasyncresult.c | 8 ++++++++ 11 files changed, 69 insertions(+), 73 deletions(-) commit f8532a13e2054e649f75ca2a58e01604be05549e Author: Dan Winship <danw@gnome.org> Date: Thu May 10 09:00:45 2012 -0400 gio: Add g_async_result_legacy_propagate_error() Finish deprecating the "handle GSimpleAsyncResult errors in the wrapper function" idiom (and protect against future GSimpleAsyncResult deprecation warnings) by adding a "legacy" GAsyncResult method to do it in those classes/methods where it had been traditionally done. (This applies only to wrapper methods; in cases where an _async vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish vmethod still uses g_simple_async_result_propagate_error.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncinitable.c | 8 +- gio/gasyncresult.c | 42 ++++++++ gio/gasyncresult.h | 4 + gio/gbufferedinputstream.c | 5 +- gio/gdrive.c | 44 +++------ gio/gfile.c | 189 ++++++++++-------------------------- gio/gfileenumerator.c | 16 ++- gio/gfileinputstream.c | 9 +- gio/gfileiostream.c | 13 +-- gio/gfileoutputstream.c | 9 +- gio/ginputstream.c | 15 +-- gio/gio.symbols | 1 + gio/giostream.c | 5 +- gio/gloadableicon.c | 10 +- gio/gmount.c | 48 +++------ gio/goutputstream.c | 24 +++-- gio/gresolver.c | 24 ++--- gio/gvolume.c | 24 ++--- 19 files changed, 180 insertions(+), 311 deletions(-) commit 538b2f106de78b7dfeac2a98f3d5594ed0ed2ade Author: Dan Winship <danw@gnome.org> Date: Mon Jun 11 13:44:19 2012 -0400 gio: handle GSimpleAsyncResult errors in _finish vmethods Originally, the standard idiom with GSimpleAsyncResult was to handle all errors in the _finish wrapper function, so that vmethods only had to deal with successful results. But this means that chaining up to a parent _finish vmethod won't work correctly. Fix this by also checking for errors in all the relevant vmethods. (We have to redundantly check in both the vmethod and the wrapper to preserve compatibility.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gasyncinitable.c | 19 ++++++++----------- gio/gbufferedinputstream.c | 3 +++ gio/gfile.c | 42 +++++++++++++++++++++++++++++++++++++++++- gio/gfileenumerator.c | 8 ++++++++ gio/gfileinputstream.c | 3 +++ gio/gfileoutputstream.c | 7 +++++-- gio/ginputstream.c | 12 ++++++++++++ gio/giostream.c | 5 +++++ gio/gloadableicon.c | 3 +++ gio/goutputstream.c | 16 ++++++++++++++++ 10 files changed, 104 insertions(+), 14 deletions(-) commit a98d26c9bbd40b5d00d5a1536402c9196534087c Author: Dan Winship <danw@gnome.org> Date: Tue Apr 17 09:55:33 2012 -0400 GFile: remove some unnecessary code The "mainloop_barrier" in copy_async_thread() is unnecessary, since the g_simple_async_result_complete_in_idle() will be queued after all of the g_io_scheduler_job_send_to_mainloop_async()s, and sources with the same priority will run in the order in which they were queued. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gfile.c | 15 --------------- 1 file changed, 15 deletions(-) commit 4749878f9102d40d072bb5c838f2dd2e8d61d417 Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Mon Jul 9 18:17:01 2012 +0200 goptions: use G_N_ELEMENTS instead of nitems glib/goption.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5a85fe0e37504cea13fe8a587691f72373b18830 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jul 9 12:43:50 2012 -0400 GVariant: fix string validation String validation was done by checking if the string was valid utf8 and ensuring that the first non-utf8 character was the last character (ie: the nul terminator). No check was actually done to make sure that this byte actually contained a nul, however, so it was possible that you could have a string like "hello\xff" with length 6 that would correctly validate. Fix that, and test it. glib/gvariant-serialiser.c | 11 ++++++++++- glib/tests/gvariant.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) commit 3b0f1cc432b546c538d82036bd1a655489d11f35 Author: Stef Walter <stefw@gnome.org> Date: Sat May 5 12:51:16 2012 +0200 Fix up GObject interface documentation * Document how to override interfaces already implemented in a base class, and also call those base class implementations from a derived reimplementation. * Don't recomend people use base_init() style functions to initialize interface signals and properties, use default_init() aka class_init() instead (as G_DEFINE_INTERFACE() uses). * The above solves the interface init called multiple times problem, so remove some needless naysaying about that. * Document default_init() in the interface initialization discussion * Linkify more stuff. * Remove some crud and typos https://bugzilla.gnome.org/show_bug.cgi?id=675504 docs/reference/gobject/tut_gtype.xml | 143 ++++++++++++----- docs/reference/gobject/tut_howto.xml | 303 ++++++++++++++++++++++++----------- 2 files changed, 309 insertions(+), 137 deletions(-) commit 2cf9608d4892690c16332c27b3f5de0276d2f569 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 9 15:05:04 2012 +0200 Updated Galician translations po/gl.po | 403 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 165 deletions(-) commit f9a6a97470583417a26619b5da3d56097a15c6dd Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Sun Jul 8 19:23:18 2012 +0200 OpenBSD: explicitely define nitems nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL condition. glib/goption.c | 4 ++++ 1 file changed, 4 insertions(+) commit a511a706de048dcc779eb09d85f3d2e9329d68cd Author: Torsten Schönfeld <kaffeetisch@gmx.de> Date: Mon May 3 20:33:50 2010 +0200 gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher https://bugzilla.gnome.org/show_bug.cgi?id=616892 gio/gfileattribute.h | 4 +++- gio/gfileinfo.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit c09bf3e6b935d5e5ef0ecf2bb88788537c3ebecd Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Jul 7 17:10:46 2012 -0400 gdbus-codegen: improve casting a tiny wee bit The in commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 for fixing -Wstrict-aliasing warnings was a little too brutal, make it a bit better. Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 53b3175cfabe78b6ce3403f38d59addb218cb61b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:20:39 2012 +0200 regex: Add new GRegexError code from PCRE 8.31 glib/gregex.c | 3 +++ glib/gregex.h | 7 +++++-- glib/tests/regex.c | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) commit 2188a5e59c512668dc3c76607fb8ccad4910cc3c Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:21:16 2012 +0200 regex: Enable fixed test This problem was fixed in PCRE 8.31, so uncomment the test. glib/tests/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 94578330109eb7fb1588c0d0d0bb526bfb0ce9b6 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:15:27 2012 +0200 regex: Import PCRE 8.31 https://bugzilla.gnome.org/show_bug.cgi?id=679193 glib/pcre/pcre.h | 10 +- glib/pcre/pcre_compile.c | 195 ++-- glib/pcre/pcre_dfa_exec.c | 225 +++-- glib/pcre/pcre_exec.c | 331 +++++-- glib/pcre/pcre_fullinfo.c | 4 + glib/pcre/pcre_globals.c | 4 + glib/pcre/pcre_internal.h | 43 +- glib/pcre/pcre_jit_compile.c | 2028 +++++++++++++++++++++++++++--------------- glib/pcre/pcre_study.c | 15 +- glib/pcre/pcre_tables.c | 292 +++--- glib/pcre/ucp.h | 9 +- glib/update-pcre/ucp.patch | 55 +- 12 files changed, 2087 insertions(+), 1124 deletions(-) commit f66052fc87caada2552f651e9a21f1daac86b2a1 Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 17:27:54 2012 -0400 GVariant: support comparing booleans g_variant_compare() is documented as working on booleans but somehow this case was missed. Add it and test it. Problem discovered by Charles Kerr. glib/gvariant.c | 4 ++++ glib/tests/gvariant.c | 5 +++++ 2 files changed, 9 insertions(+) commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:45:09 2012 -0400 gdbus-codegen: neuter warnings when using -Wstrict-aliasing Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d728eae85fbcefb66f9bfc41a52cf315ef84d667 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:43:05 2012 -0400 gdbus-codegen: don't shadow variable This avoids a warning when building with -Wshadow Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed492a5de2a217c08bccd4032b1122fba2f25c6f Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 13:43:17 2012 -0400 GSettings: be more careful about keys names with / Prevent attempts to access keys ending with slashes that exist in the schema file as references to child schemas. Also: don't emit change signals for these same keys. gio/gsettings.c | 20 ++++++++++++++++---- gio/gsettingsschema.c | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) commit 52a6d7022af6dfc597bae97fdabcaf2d24855126 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Fri Jul 6 19:11:26 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 750 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 414 insertions(+), 336 deletions(-) commit ee9aae5dcfe8dd1956e78a52c4e8c53c0f7861fe Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 14:08:22 2012 -0400 Clarify the GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED docs https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 40f0f66151c09a02b6355c7da02af081c30dd586 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 11:08:23 2012 -0400 Deal with GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED being a "future" value If GLIB_VERSION_MIN_REQUIRED or GLIB_VERSION_MAX_ALLOWED was defined to a future value, we were essentially treating it as GLIB_VERSION_0_0. Fix to treat it as being in the future instead. https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 4ac0d78d5ddde773b7abf05e4c5e128a8acb835d Author: Colin Walters <walters@verbum.org> Date: Tue May 29 17:58:41 2012 -0400 GString: Tweak documentation, add g_string_free_to_bytes() The docs for GString should really mention GByteArray, and what makes it different. Drop the comparison to Java which is dated and actually inaccurate (because StringBuffer operates on Unicode). While we're here, add g_string_free_to_bytes(), which further complements the spread of GBytes-based API. For example, one can create a buffer using GString, then send it off via g_output_stream_write_bytes(). https://bugzilla.gnome.org/show_bug.cgi?id=677064 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gstring.c | 48 ++++++++++++++++++++++++++++++----- glib/gstring.h | 3 +++ glib/tests/string.c | 21 +++++++++++++++ 5 files changed, 68 insertions(+), 6 deletions(-) commit d72116d8b7c802895be6b02093342fd9e770813d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 09:19:48 2012 -0400 gdbus-codegen: Don't generate invalid GObject property names For a D-Bus property with name "Type" (fairly common), we used to generate a GObject property with name "type-" and C accessors get_type_() (to avoid clashing with the GType getter), set_type_() (for symmetri). However, the rules for GObject property names are fairly rigid and specifically prohibit names ending in a dash. Therefore change things so the chosen GObject property name is "type" but preserve the naming rules for the C getter and setter (for the same reasons: avoiding name clashing and symmetri). This change does break the API of generated code (but only on the GObject property level, the C symbols are not changed) but strictly speaking the behavior was undefined since "type-" was an invalid GObject property name. Also add a test case for this. Bug 679473. https://bugzilla.gnome.org/show_bug.cgi?id=679473 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/dbustypes.py | 3 ++- gio/tests/gdbus-test-codegen.c | 28 ++++++++++++++++++++++++++++ gio/tests/test-codegen.xml | 4 ++++ 3 files changed, 34 insertions(+), 1 deletion(-) commit 2a87010831db5d4c18905103e9e7d804546552bf Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Wed Mar 7 12:54:04 2012 +0000 Constify collect and lcopy strings in GTypeValueTable This avoids warnings when creating idiomatic value tables, like: static const GTypeValueTable _clutter_shader_float_value_table = { clutter_value_init_shader_float, clutter_value_free_shader_float, clutter_value_copy_shader_float, clutter_value_peek_pointer, "ip", clutter_value_collect_shader_float, "pp", clutter_value_lcopy_shader_float }; Because the strings are literals. And, really: nobody should be using allocated values for the collection and lcopy strings. https://bugzilla.gnome.org/show_bug.cgi?id=671545 gobject/gtype.h | 4 ++-- gobject/gvaluecollector.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit ab4cc22ba5d7a1a9ee72eaccd171ac1fc82bfb5c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 5 22:25:49 2012 -0400 Improve the g_dir_read_name documentation This function can return NULL in error cases as well. Document this, and explain how to discriminate the cases. https://bugzilla.gnome.org/show_bug.cgi?id=639771 glib/gdir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f416ece1039f65ce77df6983a872950c82877e37 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Jul 4 04:25:41 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 04af05fd1f648aca3e2aa805df5a376a992a04d3 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:14:41 2012 -0400 Drop unneeded includes gio/gcharsetconverter.c | 1 - gio/glocalfileinfo.c | 1 - gio/gwin32appinfo.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) commit 32192ee9e4210a12b76ee5cbfbb8b6f2d957d3e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:13:32 2012 -0400 Split gcontenttype.c Instead of a giant #if G_OS_WIN32 #else #endif around the entire file, just split it into gcontenttype.c and gcontenttype-win32.c. gio/Makefile.am | 5 +- gio/gcontenttype-win32.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gcontenttype.c | 353 +------------------------------------------ 3 files changed, 382 insertions(+), 354 deletions(-) commit af3b1674cd65e1d650fb82bc93483391b99feb50 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 20:04:05 2012 +0200 win32: fix build after bug 674452 gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d7fa1c7839dfeb482f549ca9bb3ab7027e9994a Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Jul 3 15:40:35 2012 -0400 GObject docs fixup docs/reference/gobject/Makefile.am | 1 + docs/reference/gobject/gobject-sections.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 72660997bc0b0ee81095b85911992db3c644e5da Author: Rico Tzschichholz <ricotz@t-online.de> Date: Tue Jul 3 21:22:16 2012 +0200 glib/deprecated: Fix some version typos glib/deprecated/gthread-deprecated.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit be249ac6ae461b2f8c3995d7311033f82738827a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jul 3 21:01:17 2012 +0530 Assamese translation updated po/as.po | 388 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 238 insertions(+), 150 deletions(-) commit 45c48bffdd3e684470be38a03dea466f78e184bd Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Jul 3 16:55:12 2012 +0300 Updated Bulgarian translation po/bg.po | 316 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 187 insertions(+), 129 deletions(-) commit 489b947c3be8ea892d415ac1b623e5bfc3445439 Author: Neil Roberts <neil@linux.intel.com> Date: Mon Jul 2 13:41:32 2012 +0100 Fix the 'Since' tag for G_SOURCE_{REMOVE,CONTINUE} The Since tag for these was saying 2.28 but it was actually added in 2.31. It looks like all of the Since tags list stable version numbers so this patch bumps that up to 2.32. https://bugzilla.gnome.org/show_bug.cgi?id=679258 glib/gmain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 938c28b36bf7090c654802d877d76f404d783799 Author: Christian Persch <chpe@gnome.org> Date: Mon Jul 2 17:56:54 2012 +0200 regex: Require PCRE 8.13 Bump the required version for external PCRE to 8.13, to fix the build with external PCRE. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5b1179d3fc04d4ec4fd03e4df852ac7c02d4e00 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:34:59 2012 +0200 Updated Spanish translation po/es.po | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 4b787aa31d8e71d108cbf0a61db3dd7805cf2205 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:29:02 2012 +0200 Updated Spanish translation po/es.po | 373 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 229 insertions(+), 144 deletions(-) commit 1519d6b894c95968fdd13a2004cf0c9d97efe7bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:24:45 2012 +0200 Fixed a a «big bug» in a string ;-) glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7483315f83cac1f54fd72c331e6eff0781b8560f Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing Reorder the toupper/tolower calls when othercaseing, so this function is bug-for-bug compatible with the pcre internal tables. https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 4 ++-- glib/tests/regex.c | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) commit a2f54a3408fcf45cae991b6886f4495fdae1f5ac Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:04:05 2012 +0200 regex: Add FIRSTLINE compile flag This option exists since PCRE 6.0. glib/gregex.c | 2 ++ glib/gregex.h | 5 ++++- glib/tests/regex.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit e99e34f65f6cf66feaccde29e480965d525586ae Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 23:24:07 2012 +0200 regex: Add NOTEMPTY_ATSTART match option Since PCRE 8.00 it supports a variant of PCRE_NOTEMPTY that works similarly except that it only applies to the start of the matched string but permits empty matches further in. glib/gregex.c | 32 +++++++++++++++++--------------- glib/gregex.h | 32 ++++++++++++++++++-------------- glib/tests/regex.c | 15 +++++++++++++-- 3 files changed, 48 insertions(+), 31 deletions(-) commit 1171215014bb9406ff8ae1ea91b1c251b4e7d71b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 22:50:52 2012 +0200 regex: Add PARTIAL_HARD match option Since PCRE 8.00 it supports a new partial matching method PCRE_PARTIAL_HARD. glib/gregex.c | 21 +++++++++++++++++---- glib/gregex.h | 9 ++++++++- glib/tests/regex.c | 11 +++++++++-- 3 files changed, 34 insertions(+), 7 deletions(-) commit 0a2967030af2a5cce9fd6ae916a535f26239bcd3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 20:12:11 2012 +0200 regex: Add JavaScript compat mode Since PCRE 7.7, there's a flag that changes the behaviour to be more JavaScript compatible. Since it's no effort to expose it, just do so. glib/gregex.c | 52 ++++++++++++++++++++++++++++++++-------------------- glib/gregex.h | 8 +++++++- glib/tests/regex.c | 1 + 3 files changed, 40 insertions(+), 21 deletions(-) commit e5550a24db48ce6f67b0f3b8df9dc467087c941b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:11:49 2012 +0200 regex: Don't leak internal PCRE options g_regex_get_compile_get_compile_flags() and g_regex_get_match_flags() were leaking PCRE flags that don't exist in the corresponding public GRegexCompileFlags and GRegexMatchFlags; this change masks these internal flags. glib/gregex.c | 36 +++++++++++++++++++++------ glib/tests/regex.c | 73 +++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 78 insertions(+), 31 deletions(-) commit 26d91ddc08b41533a6952014fd9c19c80865e840 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:52 2012 +0200 regex: Add BSR_ANYCRLF and BSR_ANY match options These flags override the compile option at match time. They use PCRE_BSR_ANYCRLF and PCRE_BSR_UNICODE, resp., which make \R match only CR, LF and CRLF, or any Unicode newline character or character sequences, resp. glib/gregex.c | 6 +++++- glib/gregex.h | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit 88ac3839f5d3d8d05ea7ea391209dff378866f57 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:10 2012 +0200 regex: Add BSR_ANYCRLF compile option When this flag is set, \R only matches CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 86a04a05e6b697361c58b1577c52b4a713bf18d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:42:50 2012 +0200 regex: Fix newline definition for system PCRE While we PCRE_BSR_UNICODE is the default in the internal PCRE, that may not be true for the system one. Force the PCRE_BSR_UNICODE flag on it. glib/gregex.c | 6 ++++++ glib/tests/regex.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 91ba8ae1560d4132e4ed2631b8e69684c3c863d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:07:04 2012 +0200 regex: Don't return from inside a g_once_init_enter/leave block When using the system PCRE, and it was compiled with incompatible options, the code was returning from inside a g_once_init_enter/leave block without calling g_once_init_leave(). glib/gregex.c | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) commit 69a12e3275c6e068929d2ed69ba1af87df0f851b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:57:15 2012 +0200 regex: Add accessor for PCRE_INFO_HASCRORLF This flag is new in PCRE 7.3, and checks whether there is an explicit CR or LF reference in the pattern. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gregex.c | 21 +++++++++++++++++++++ glib/gregex.h | 1 + glib/tests/regex.c | 11 +++++++++++ 5 files changed, 35 insertions(+) commit 7ada9765160ce8a41fae0a0e0435ad00a8037601 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:36:11 2012 +0200 regex: Remove message for unused error code Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore. glib/gregex.c | 2 -- 1 file changed, 2 deletions(-) commit 592531019ede1c6d48304ba8babce0a5470d16d7 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:26:02 2012 +0200 regex: Add NEWLINE_ANYCRLF match option This PCRE option is new in PCRE 7.1. glib/gregex.c | 38 ++++++++++++++++++++------------------ glib/gregex.h | 31 +++++++++++++++++++------------ 2 files changed, 39 insertions(+), 30 deletions(-) commit c8c049b177dc40c0242409389ddccfa59ba88953 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:23:37 2012 +0200 regex: Add NEWLINE_ANYCRLF compile option The PCRE_NEWLINE_ANYCRLF option is new in PCRE 7.1. With it set, the only only newline sequences recognised are CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 21 ++++++++++++++------- glib/tests/regex.c | 2 -- 3 files changed, 17 insertions(+), 10 deletions(-) commit 7e8b5ea442f235f5e272b0fe7a4768bf897b6aad Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 14:48:51 2012 +0200 regex: Assert that our flags values are the same as PCRE's We rely on those flags having the same values as PCRE's (so we can pass them right through), so assert this at compile time. glib/gregex.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 03611f7c0670ea14eedbc121972aed7ce60bb9ee Author: Simon Feltman <s.feltman@gmail.com> Date: Wed Jun 13 23:20:17 2012 -0700 Updated codegen to work with python3. Most changes were just replacing usage of "has_key" with "in". Also updated the sorting function which was simplified and changed to a "key" function instead of "cmp" (which is no longer supported in python3. Verified everything builds with python 2.7 and 3. https://bugzilla.gnome.org/show_bug.cgi?id=678066 gio/gdbus-2.0/codegen/codegen.py | 15 +++++---------- gio/gdbus-2.0/codegen/codegen_docbook.py | 8 +++----- gio/gdbus-2.0/codegen/codegen_main.py | 4 ++-- gio/gdbus-2.0/codegen/parser.py | 22 +++++++++++----------- gio/gdbus-2.0/codegen/utils.py | 17 +++++------------ 5 files changed, 26 insertions(+), 40 deletions(-) commit 6d5484b2962c2a365983e8a37295f298909bca00 Author: Christian Persch <chpe@gnome.org> Date: Fri Jun 8 01:08:10 2012 +0200 regex: Handle PCRE_ERROR_RECURSIONLOOP Was missing from the error conversion routine. glib/gregex.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e5615138af8a5044bb5adac0804a59073d4cb69 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:55:01 2012 +0200 regex: Update GRegexError with newer PCRE error codes Update the GRegexError enum with new PCRE errors up to PCRE 8.30. https://bugzilla.gnome.org/show_bug.cgi?id=677579 glib/gregex.c | 145 +++++++++++++++++++++++++++++++++++------------------ glib/gregex.h | 40 +++++++++++++-- glib/tests/regex.c | 51 +++++++++++++++++-- 3 files changed, 181 insertions(+), 55 deletions(-) commit 3be1d864d838a9015866656764c0a615f63f63ec Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:22:44 2012 +0200 regex: Simplify regex compile tests Use a macro instead of repeating the same code over and over again. glib/tests/regex.c | 106 +++++++++++------------------------------------------ 1 file changed, 22 insertions(+), 84 deletions(-) commit 20ab7e2aea955e4a70be43cbb6e4237afd98bf7b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 19:53:17 2012 +0200 regex: Deprecate an obsolete error code G_REGEX_ERROR_DEFINE_REPETION is dead and never raised by PCRE. glib/gregex.c | 3 --- glib/gregex.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) commit d9e8d3e0f0fc00435b161dd3dfb1b8727922ba00 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:54:08 2012 +0200 regex: Fix PCRE error code conversion Use the shifted error codes for comparisions. https://bugzilla.gnome.org/show_bug.cgi?id=677578 glib/gregex.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 3173fca9cc520785f82e602fe830c220c2d1820f Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:55:26 2012 +0700 Updated Vietnamese translation po/vi.po | 103 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 39 deletions(-) commit 7ddefe3f4b2221147bd77f362760e8fb00f7e624 Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:42:53 2012 +0700 po/vi: import from Damned Lies po/vi.po | 661 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 299 deletions(-) commit 64bfbc2cf074de087c4e195d6409af9c24dc2f28 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 29 13:47:15 2012 -0400 GOptionContext: Don't show headings without options If the only entry in the main group is for the rest args, don't bother printing "Application Options". glib/goption.c | 2 ++ glib/tests/option-context.c | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) commit 08cfcdc81add6f6f2247b1cc82d2c15ad27001f0 Author: Johan Dahlin <johan@gnome.org> Date: Fri Jun 29 11:59:23 2012 -0300 Use the same Python as we found in configure Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions it's actually python 3.x. gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit df319ca49ca1e8caff1a4f17e8e53628b33b8d56 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jun 28 17:44:14 2012 +0300 Updated Greek translation po/el.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 45 deletions(-) commit d023b81a7a261782f2c88df7751f3476bd802b99 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 16:30:38 2012 +0200 Fix /contenttype/guess test After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text and definitively not PowerPoint. It previously worked as g_content_type_guess() was reading beyond the boundary of the data due to specifying -1 as data length. Update that test case to expect a PO template instead, and add two more with a definitive PO template syntax and some binary data. We do not currently have a MIME magic for PowerPoint, so we cannot actually detect it with certainty, but at least make sure that the returned MIME type is correct. https://bugzilla.gnome.org/show_bug.cgi?id=678941 gio/tests/contenttype.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c35106fcc4a736a2cdd3566042da15216dea415b Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 15:38:06 2012 +0200 Fix the mimetype default fix We need to ignore the defaults.list item only when there was a mimetype handler found in a previous mimetype, not if one was found for the same mimetype as the one that is listed in defaults.list (same for the new-style defaults). gio/gdesktopappinfo.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f14c0112d07832b0ae4c75fd8d348e8f15d131d1 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 14:50:37 2012 +0200 Fix default app lookup wrt parent types and defaults.list There was an issue when looking up the default handler for a type where a supertype was listed in defaults.list. We would pick the default for the parent type even if there was a handler for the more specific type. In the case of the new-style defaults marking ( "Default Applications" in mimeapps.list) we were already checking for a more specific handler befor using a default, but we also need to do a similar check for the defaults.list case. https://bugzilla.gnome.org/show_bug.cgi?id=678944 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae30806403e556c8297a16a25a18687d9e80f89 Author: Stef Walter <stefw@gnome.org> Date: Thu Jun 28 14:41:39 2012 +0200 GTlsInteraction: Fix incorrect locking of mutex * Fix incorrect locking of mutex in g_tls_interaction_invoke_ask_password() https://bugzilla.gnome.org/show_bug.cgi?id=678758 gio/gtlsinteraction.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 139c1ce9884a91be167ab9d48d3c4b0df89dd112 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 09:25:37 2012 +0200 gio/tests/contenttype: Call g_content_type_guess() with valid data len g_content_type_guess() requires specifying a valid data length. Fixes a segfault when running the test. Also add an explicit check for this and return XDG_MIME_TYPE_UNKNOWN when data_size is specified as -1, to avoid crashing. https://bugzilla.gnome.org/show_bug.cgi?id=674452 gio/gcontenttype.c | 8 ++++++++ gio/tests/contenttype.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 95f29687e14423ca541cac1c00137375b935168d Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 11:46:28 2012 +0200 /mainloop/timeouts test: Reduce race condition Due to load, particular traits of the architecture, or other circumstances, the /mainloop/timeouts sometimes manages to call the "every 100 ms" timer loop only 9 times in 1050 ms. This is an inherent race-condition in the test; allow it some slack and accept 9 times as well. https://bugzilla.gnome.org/show_bug.cgi?id=678959 glib/tests/mainloop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 240ef2b9e830f2aa92356368902bec813f3c1ef8 Author: Philipp Kern <pkern@debian.org> Date: Wed Jun 27 10:57:50 2012 +0200 valuetransform: Fix definition of ulong_bool On big endian 64 bit machines such as s390x, an uint is too small to hold a ulong_bool; it needs to be an actual ulong. https://bugzilla.gnome.org/show_bug.cgi?id=678949 http://bugs.debian.org/662057 gobject/gvaluetransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e5e95a217dc43a70bd998fce16ed93225e0cfd Author: Alexander Shopov <ash@kambanaria.org> Date: Wed Jun 27 07:17:40 2012 +0300 Updated Bulgarian translation po/bg.po | 391 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 203 insertions(+), 188 deletions(-) commit 72af44cb1249f02cbe56376a751e3ae6d3b39ea8 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 26 18:32:29 2012 +0200 Allow slightly too small poll duration in /socket/timed_wait test Sometimes the poll duration in the /socket/timed_wait test is slightly lower than the requested 100000, causing failures like ERROR:/build/buildd/glib2.0-2.33.2/./gio/tests/socket.c:619:test_timed_wait: assertion failed (poll_duration > = 100000): (99240 >= 100000) FAIL Adjust the test to also allow some jitter in the "too small" direction, similar to the already existing span for "slightly too large". https://bugzilla.gnome.org/show_bug.cgi?id=678881 gio/tests/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6aa3b3bdd9f0fe1d9f2d2eed1d881bc189bcfe8 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 20:46:28 2012 -0400 GTestDBus: Don't call into gvfs https://bugzilla.gnome.org/show_bug.cgi?id=678808 gio/gtestdbus.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 55bac5da0ada8f46824a4d565cdd8ea7e3774a47 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 13:08:13 2012 -0400 GMainContext: reorganize source list to avoid O(n) behavior Rather than having a single priority-ordered list of GSources, store a list of queues of each priority level. This means that adding a source is now O(n) in the number of unique priority levels currently being used, rather than O(n) in the total number of sources. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 28 deletions(-) commit aaaaab91de10445a178e8183a95d98189249e868 Author: Dan Winship <danw@gnome.org> Date: Fri Jun 22 22:21:05 2012 -0400 gmain: add GSourceIter add an explicit iterator for GMainContext sources https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 62 deletions(-) commit 8e65c304315a7f54addd9c2771d20eca007f9d6a Author: Dan Winship <danw@gnome.org> Date: Sat Jun 23 12:01:40 2012 -0400 gmain: rename some variables for clarity https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 532f463eaf48d6a560977fd64479cfa05433162e Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 10:22:45 2012 -0400 gmain: child sources must always have same priority as parent A child source does not have a priority of its own; it must have the same priority as its parent. Enforce this in g_source_set_priority_unlocked(). https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 3 +++ 1 file changed, 3 insertions(+) commit d981d79a4291f76373f7f0e3abec762977133e27 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 30 12:15:04 2011 -0400 GSource: initialise ->priv on construct For efficiency, we waited until setting up child sources to allocate ->priv. Simplify things a bit by allocating it from the start. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) commit 56de38da7dc4ffd1c60c336211806e345dbcaf42 Author: Dan Winship <danw@gnome.org> Date: Sun Jun 24 09:48:10 2012 -0400 tests: add a timing test for adding lots of GSources https://bugzilla.gnome.org/show_bug.cgi?id=619329 tests/.gitignore | 1 + tests/Makefile.am | 2 + tests/sources.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) commit 4780ee5d4a6057312abee9a8fcaad45a9897fe0e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 23:23:36 2012 -0400 glib/: gtk-doc cleanup docs/reference/glib/glib-overrides.txt | 5 +++++ glib/docs.c | 3 +++ glib/gkeyfile.c | 2 +- glib/gunicode.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) commit 130c249eacfba3b77ec110880661386e7945b898 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 19:37:05 2012 -0400 Fix previous commit gio/tests/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b837cdde69fa39ed10aaf8791ab656ad41dedeb0 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 18:14:10 2012 -0400 gio/tests/actions: Plug a memory leak gio/tests/actions.c | 1 + 1 file changed, 1 insertion(+) commit b65194e8dfd3d9c3fabb16a189c0b326c175f9d5 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 17:05:45 2012 -0400 GIOScheduler: Disconnect from cancellable after job completes This was causing crashes when a cancellable was canceled after the job had completed. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) commit 03f2f3b0027e9239fc501539b1c16aefaee863d6 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:55:31 2012 -0400 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5ed95c9ad973e30c1c1938c55ffe60f4a14dab7 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:29:53 2012 -0400 GLib 2.33.3 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) commit 115ca3d8970ca32d824a201a9cc8f1fb24f3155e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 10:37:51 2012 -0400 Revert "GIOScheduler: Avoid constant iteration over pending job list" This reverts commit 2839297686a9305b4fa909b93c337ef1d1a5e94b. Conflicts: gio/gioscheduler.c https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 1354ef25402e0d340aa52521a5f51b1fb387705c Author: Lars Uebernickel <lars@uebernic.de> Date: Mon Jun 25 18:29:01 2012 +0200 GDbusActionGroup: always set strict when _query_action fails gio/gdbusactiongroup.c | 1 + 1 file changed, 1 insertion(+) commit 4b66dc1ca6657171d7d9b45568b3479653a525f8 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jun 25 00:01:07 2012 +0200 Updated Galician translations po/gl.po | 367 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 191 insertions(+), 176 deletions(-) commit bea994199379f4e09091b030c46fd922b304d0d2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 20:55:51 2012 -0400 Mark utf8 performance tests as such glib/tests/utf8-performance.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit c5561ff6992bfbf2b92af401bc6f96317514b4a3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:58:51 2012 -0400 Remove a few redundant ;s gio/gdbusobjectmanagerclient.c | 2 +- gio/gresourcefile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02eed18a4e745b4b4a0f0d5d2892faaecbd2c23d Author: Phil Clayton <phil.clayton@lineone.net> Date: Tue Jun 12 16:09:19 2012 +0100 Add missing annotation to GDBusConnection::closed Add annotation (allow-none) to the parameter error. https://bugzilla.gnome.org/show_bug.cgi?id=677952 gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90f70099d86dbf6c249137f9fbaead1df8002f6e Author: Emmanuele Bassi <ebassi@gnome.org> Date: Thu May 31 23:48:35 2012 +0100 Update the comment in gmarshal.list The current note makes it look like the marshaller code generation has been deprecated in favour of the libffi-based generic marshaller; this is not the case, so we should probably clarify the point a bit. https://bugzilla.gnome.org/show_bug.cgi?id=677235 gobject/gmarshal.list | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c6070a6792b78f44df9746ee96116cbbcc4dd40 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:51:11 2012 -0400 Add a test for G_USER_DIRECTOR_DESKTOP Based on a patch by Marc-Antoine Perennou, https://bugzilla.gnome.org/show_bug.cgi?id=676594 glib/tests/utils.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 53b48dfd3bce21fc6b52128859b01329efa10d52 Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing The old _pcre_ucp_othercase() function was wrong in returning NOTACHAR (0xffffffff) for characters that aren't changed by upper- and lower-casing. This led to PCRE internally using incorrect (or at least inefficient) character classes when using G_REGEX_CASELESS. E.g. [Z-\x{100}] turned into: [Z\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{39c}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{178}z-\x{101}] instead of the expected and efficient [Z\x{39c}\x{178}z-\x{101}] https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 22e9f72a8e23c9469c2891e48e082be664429dac Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:30:10 2012 -0400 Add a note of caution to the g_slist_delete_link() docs glib/gslist.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 905184b3ef04ea6068bd115111354cebe34d3bbc Author: Sasi Bhushan Boddepalli <sasi@swecha.net> Date: Sat Jun 23 10:16:28 2012 +0530 Updated Telugu Translation po/te.po | 540 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 305 insertions(+), 235 deletions(-) commit 991d07d66a8b111131181a8db15abbb042ee7c6d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 11:10:00 2012 -0400 GIOScheduler: Use a GList, not GSList for jobs In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 2839297686a9305b4fa909b93c337ef1d1a5e94b Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 10:20:20 2012 -0400 GIOScheduler: Avoid constant iteration over pending job list The iteration over the list (while holding a mutex) was a serious performance hit for asynchronous I/O. We can just use g_cancellable_connect(). https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit a8ddd52a45ccf1e9a6aa6b5d873e12eda3a205df Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:44:16 2012 -0400 GRand: Check return value of fopen directly This doesn't fix anything, it should just silence some static analysis tools. glib/grand.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 01d8d43d0b66f349a38075a3ebfd82fc9bed084a Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:37:39 2012 -0400 gspawn: Abort if we can't open /dev/null This really "shouldn't happen", but if we have an assertion here, it will help static analysis tools know we're not hitting undefined state. glib/gspawn.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d622157f055d9fb0ae3686f2b7a4fd1952af258 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:33:51 2012 -0400 tests/unix: Ensure buffer is NUL terminated glib/tests/unix.c | 1 + 1 file changed, 1 insertion(+) commit 56411bb67807cb5306f495d41276fe6855cdcee7 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:53 2012 -0400 gsignal: Properly handle NULL nodes gobject/gsignal.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ccd30d6816564db42b2ce13afc6bdf32274206e8 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:33 2012 -0400 gresourcefile.c: Remove stray semicolon gio/gresourcefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1ada372e968db4c5ccdc684d21b2a3e53514b85 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:08:05 2012 -0400 gmenu: Remove stray semicolon in g_menu_clear_item() gio/gmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 598c3d233a560c10133b9a8a426ae87288a98584 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:06:34 2012 -0400 tests: Add missing initializer for return value gio/tests/test-pipe-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f626cb3c16e415a78e21c7b1009e0fb9851fa3b4 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:05:39 2012 -0400 tests: Add missing va_end() gio/tests/gapplication.c | 2 ++ 1 file changed, 2 insertions(+) commit eef6f0add83c9a82b7544b519f292a90d9356a74 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:00:04 2012 -0400 gfileutils: Remove extra fclose() This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jun 14 10:12:46 2011 -0400 Don't leak resources in error cases glib/gfileutils.c | 1 - 1 file changed, 1 deletion(-) commit e756bef2e3b93a09b38a4f793a7b7265584457c8 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Jun 22 13:44:29 2012 +0200 Updated Spanish translation po/es.po | 61 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 29 deletions(-) commit 8ed955ceba9868bff43bdd591a36c12294735ab2 Author: Stef Walter <stefw@gnome.org> Date: Sun May 13 07:44:57 2012 +0200 gresolver: More robust parsing of DNS responses * Handle truncated responses, and invalid names https://bugzilla.gnome.org/show_bug.cgi?id=675966 gio/gresolver.c | 199 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 134 insertions(+), 65 deletions(-) commit 49e50757076b589bd21274221b3f69f7b2b785f3 Author: Matthew Barnes <mbarnes@redhat.com> Date: Thu Jun 21 23:39:14 2012 -0400 Add g_dbus_object_manager_server_is_exported() Returns whether a GDBusObjectSkeleton is exported on a GDBusObjectManagerServer. https://bugzilla.gnome.org/show_bug.cgi?id=678539 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusobjectmanagerserver.c | 34 ++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerserver.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 38 insertions(+) commit aae1633d0f0c75b7d9c2dd7b8c10eb279f70fc0d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 18:32:06 2012 -0400 GUnixVolumeMonitor: Make use of new g_list_copy_deep() gio/gunixvolumemonitor.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 2fd6eb7e1cfc878d011ec0b7e58c5e696186516e Author: Jonh Wendell <jwendell@gnome.org> Date: Thu Jun 21 12:23:23 2012 -0300 Adds g_list_copy_deep and g_slist_copy_deep They make a full (deep) copy of a list. In contrast with g_[s]list_copy(), these functions take a function as a argument to make a copy of each list element, in addition to copying the list container itself. The functions g_[s]list_copy() were reimplemented to just call the new functions with NULL as the function argument, which will behave like current implementation. https://bugzilla.gnome.org/show_bug.cgi?id=675024 docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/glist.c | 48 ++++++++++++++++++++++++++++++++--- glib/glist.h | 7 +++++ glib/gslist.c | 48 ++++++++++++++++++++++++++++++++--- glib/gslist.h | 6 +++++ glib/tests/list.c | 29 +++++++++++++++++++++ 7 files changed, 136 insertions(+), 6 deletions(-) commit e0f4b2b03b877e0360f56836ebfe454aa3a9dca5 Author: Dan Winship <danw@gnome.org> Date: Thu Jun 21 15:13:06 2012 -0400 gio/tests/proxy-test: fix cleanup make sure the proxy threads are in the "waiting for a connection" state when we do the final cleanup, or else there are race conditions involving which thread processes the GCancellable cancellation first. gio/tests/proxy-test.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e9ec1ad0689dfbb1121e1c5fe5b1aedbe2de568f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jun 21 06:11:58 2012 -0400 Install bash completion files in /usr/share/ The bash-completion code nowadays expects completion files to be installed in /usr/share/bash-completion/completions, and expects them to be named like the command they are completing for. https://bugzilla.gnome.org/show_bug.cgi?id=677782 gio/Makefile.am | 8 ++-- gio/completion/gdbus | 33 ++++++++++++++++ gio/completion/gresource | 58 +++++++++++++++++++++++++++ gio/completion/gsettings | 84 ++++++++++++++++++++++++++++++++++++++++ gio/gdbus-bash-completion.sh | 33 ---------------- gio/gresource-bash-completion.sh | 58 --------------------------- gio/gsettings-bash-completion.sh | 84 ---------------------------------------- 7 files changed, 179 insertions(+), 179 deletions(-) commit 80b6074aa27815e3c824f1e01ccb2431b03feec4 Author: Dan Winship <danw@gnome.org> Date: Wed Jun 20 10:14:01 2012 -0400 gio/tests/pollable: add can_poll() assertions Assert that socket streams and socket/pipe-based unix streams are pollable, and file-based unix streams are not. https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/tests/pollable.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 7d0db042234165678f5dfafef3dd96d3af97b56c Author: Dan Winship <danw@gnome.org> Date: Mon Jun 18 15:31:47 2012 -0400 gdbus: fix generated code to not warn under -Wfloat-equal https://bugzilla.gnome.org/show_bug.cgi?id=678333 gio/gdbus-2.0/codegen/codegen.py | 11 +++++++++-- gio/tests/gdbus-test-codegen.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) commit 599d1a430e787f7cda929b8b0188a01f39453e66 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed Jun 20 10:19:14 2012 +0800 msvc_recommended_pragmas.h: Re-enable C4819 warnings Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS locales, so re-enable this. Add a note in the Visual C++ Readme.txt's regarding this. build/win32/vs10/README.txt | 7 +++++++ build/win32/vs9/README.txt | 7 +++++++ msvc_recommended_pragmas.h | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) commit 7cf38c6ad76f5b343614bba9d31f683b7edb0620 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jun 19 18:51:26 2012 +0530 Assamese translation reviewed po/as.po | 1397 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 717 insertions(+), 680 deletions(-) commit 98f201b73b4ba5b5dfd86ebcd524ea8f73855174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 16:35:26 2012 +0800 Bug 678332-gio/gconverterinputstream.c: Fix build Apparently the previous change to this file broke GCC builds, so fix that. gio/gconverterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 875854411a4ea5fdd1d9217d7856858d89090cb9 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 12:04:28 2012 +0800 Bug 678332-GIO: Fix build on Windows/non-GCC -gconverterinputstream.c: Avoid GCCism by not using non-standard pointer arithmetic on void*, but do a cast to char * as that seems to be what the variable was used for. -gtestdbus.c: Don't include unistd.h unconditionally, and use g_usleep() instead of usleep(), as usleep() is not universally available. gio/gconverterinputstream.c | 2 +- gio/gtestdbus.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 08a6f8d27f8d6c059f4c074680218f6bc66f8174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Mon Jun 18 17:09:56 2012 +0800 build/win32/vs9/glib.vsprops: Cosmetics Make it more consistent accross the board by using CopyDir as the output/"install" folder. build/win32/vs9/glib.vsprops | 514 ++++++++++++++++++++++--------------------- 1 file changed, 259 insertions(+), 255 deletions(-) commit b81d7886525ea7d53a0bf7f8e845827eea5cf912 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Jun 18 07:39:23 2012 +0200 Fix g_utf8_validate() out argument transfer mode The "end" argument is unusual in g_utf8_validate(): it's not a classic out argument which gets allocated by the called function, but merely points into one of its input arguments. Thus it is "transfer none". https://bugzilla.gnome.org/show_bug.cgi?id=672889 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1da843cb48de1ef080c20b1c8ebc9bc88688ce6 Author: Dan Winship <danw@gnome.org> Date: Sat Jun 16 10:38:45 2012 -0400 docs: fix an example docs/reference/gio/gdbus-codegen.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit defa25f3d00619947720be0bcda2357bd43e718f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 18:53:09 2012 -0400 GKeyFile: Deal better with blank lines There is no need to store a has_trailing_blank_line boolean for each group, we can just check this at the time we assemble the data. This fixes a problem without roundtrips where we would sometimes add an extra blank line between groups. The testcase here is inspired by https://bugzilla.gnome.org/show_bug.cgi?id=677817 glib/gkeyfile.c | 12 +++--------- glib/tests/keyfile.c | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) commit d0c8895a073625ce87bf1604b9ab72cc7e15c616 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 15:16:13 2012 -0400 GWakeup: Avoid extraneous wakeups We were checking the wrong number here, and waking up unnecessarily. https://bugzilla.gnome.org/show_bug.cgi?id=678052 glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a5b3729ab447dd93ba337fa916067d5af2419dc Author: Paolo Borelli <pborelli@gnome.org> Date: Fri Jun 15 14:41:20 2012 +0200 Improve g_find_program_in_path documentation Document that g_find_program_in_path returns a newly-allocated string glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3647a3dcaaf0c877d0ea9398bbf5d9846a3cacfb Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Jun 15 13:15:48 2012 +0300 Updated Greek translation po/el.po | 1533 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 733 insertions(+), 800 deletions(-) commit 211d50ac7418cd05d8a7828fca388c127e02308a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu Jun 14 13:48:29 2012 +0200 Updated Spanish translation po/es.po | 142 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 77 insertions(+), 65 deletions(-) commit a090a3680b093e7473cc5e760bdf3454f8ca9e9e Author: Khaled Hosny <khaledhosny@eglug.org> Date: Wed Jun 13 21:00:44 2012 +0200 Updated Arabic translation po/ar.po | 5639 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2991 insertions(+), 2648 deletions(-) commit ee19ddcb1423814edc76aa03dd3c2252e9f722b4 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Apr 30 12:51:25 2012 -0400 Update to use XDG cache home for thumbnails https://bugzilla.gnome.org/show_bug.cgi?id=675168 gio/glocalfileinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e5d4af10a344eaa5eee72390858ee3cf374f35ad Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jun 13 14:43:29 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 5ff95679b805f7cc78f0579546700b6d48a35e0d Author: Benjamin Otte <otte@redhat.com> Date: Wed Jun 13 17:33:01 2012 +0200 glib-compile-resources: Forward errors from spawned processes We just grab stderr from gdk-pixbuf-to-csource and xmllint and include it in the error message. It's the best we can do. gio/glib-compile-resources.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 6c1276eb5fcc19921d0a0584aee140bccc3f8488 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Jun 12 20:22:39 2012 +0200 gtype: make these cases fatal. Otherwise we crash with a null-ptr deref in g_object_newv and ever there we should not return null, as we're saying that object creation will not return null. gobject/gtype.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 0866e1ede967e513f09bfb47166d76005e0486b2 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:09:53 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 14eb3d3590b5c08626c4901b16e9695747d43188 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:08:26 2012 -0400 gunixoutputstream: add missing can_poll() implementation https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/gunixoutputstream.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b9ec5699cd27334fdc605875bb0eeb818de64d4a Author: Murray Cumming <murrayc@murrayc.com> Date: Tue Jun 12 10:35:52 2012 +0200 Remove trailing commas from enums gio/gioenums.h | 2 +- glib/gspawn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6f1c4f7f056eddcbf884659ff68240c0784003c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:24:03 2012 -0400 Correct the docs for g_time_zone_adjust_time March 13, 2010 is very ordinary. March 14, 2010 is the special day. glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f47de7ec2c9f79edbb3e03f3112aa8cd1d286309 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:23:42 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) commit d4f885478542ad7356b44e2a9965dc1081ea80dc Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:42 2012 -0400 Cosmetic changes tests/gio-test.c | 25 ++++--------------------- tests/iochannel-test.c | 18 +++++++----------- 2 files changed, 11 insertions(+), 32 deletions(-) commit 6ee10762b5194076a7a9db80d41dbb3aa14fe287 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:14 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 111 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-) commit c5dabac47a3613e742ebfc0c4dec4f91ab796ae8 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:18:29 2012 -0400 Fix a typo It is 'entries', not 'entires'. glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e706ef88b3b433f777e552c85339b901314deaa Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jun 8 13:30:48 2012 -0400 GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal This is useful otherwise we'll fail if a systemd service is masked. See bug 677718 for details. https://bugzilla.gnome.org/show_bug.cgi?id=677718 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbusproxy.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit ea826d7facabbcd05b8343554acc808275881009 Author: Daniel Macks <dmacks@netspace.org> Date: Wed Jun 6 22:40:26 2012 -0400 Fix path to aclocal in output message datadir is defined in terms of datarootdir by default in configure (datadir='${datarootdir}' with ${datarootdir} not expanded), so defining datadir must happen *after* datarootdir is defined in the glib-gettextize shell script. Otherwise ${datarootdir} is null when it is expanded at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=518309 glib-gettextize.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1d4da14d8e69fb60da1a9733ac1d58d0dcd8b2 Author: Martin Jansa <Martin.Jansa@gmail.com> Date: Wed Jun 6 21:38:28 2012 -0400 configure: Add --disable-libelf option See http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch?id=1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b Signed-off-by: Colin Walters <walters@verbum.org> configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 032e8dabd15133952c7c4f9da05605380b17f79f Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jun 6 19:44:39 2012 +0200 gdbus: Implement g_dbus_connection_get_last_serial() This patch brings an ability to retrieve serial number of the last message sent within the current thread. https://bugzilla.gnome.org/show_bug.cgi?id=676825 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 49 ++++++++++++++++++++ gio/gdbusconnection.h | 4 ++ gio/gio.symbols | 1 + gio/tests/gdbus-connection.c | 90 +++++++++++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) commit 7ccfa9ce4b2352277448f66a138cc028f5fe57c8 Author: Colin Walters <walters@verbum.org> Date: Wed Jun 6 07:15:48 2012 -0400 tests/spawn-multithreaded: Decrease parallelism to avoid crashing on OS X https://bugzilla.gnome.org/show_bug.cgi?id=677527 glib/tests/spawn-multithreaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3ff037bd147b7d86f23108660a2fe71df5268a6 Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 19:20:13 2012 -0400 Pass -framework sub-flag without embedded whitespace The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994 configure.ac | 4 ++-- gio/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4690d85607da879e50746db64ea99a273823c25e Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 14:16:24 2012 -0400 configure: Require libelf 0.8.12 Older versions don't have the required API. (Commit message written by Colin Walters <walters@verbum.org>) https://bugzilla.gnome.org/show_bug.cgi?id=673253 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a8f12e770e9483e2b7bf965711a22fad134444 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 5 18:50:36 2012 +0200 g_dbus_gvariant_to_gvalue(): Add missing out annotation gio/gdbusutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdf1660e2856a22aeca6b5927b5756119d6526ec Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 4 13:17:47 2012 -0400 GLib 2.33.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8c5bd2bb0047677223849c2d516df8bd37606e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 13:18:39 2012 -0400 Updates for 2.33.2 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 3e1b972c933bc4a01e8d05f1bb6c6df1ad816579 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:45 2012 -0400 Improve GResource test coverage gio/tests/resources.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 109 insertions(+), 3 deletions(-) commit c7de2dd0e39bf9ef5641490b25c8a6eb17b7863a Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:03 2012 -0400 Improve GSocketAddress test coverage gio/tests/unix-fd.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 721366d0883c39ad31027f0f406ffca9485408ed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:46 2012 -0400 Improve GNetworkMonitor test coverage gio/tests/network-monitor.c | 150 ++++++++++++++++++++++++++++++-------------- 1 file changed, 103 insertions(+), 47 deletions(-) commit 4ad5210b353b685dce0aae9bd7331838f6cc5f92 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:27 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3129bac14c6ac5e991127f8cc51810c28306bbad Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 21:37:32 2012 -0400 Formatting cleanups gio/gvfs.c | 96 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 49 insertions(+), 47 deletions(-) commit eeb5140ad2b318fd5f6a7c02efbd0b33859975c2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:47 2012 -0400 Improve GMenu test coverage gio/tests/gmenumodel.c | 64 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) commit 0a1079d171439d89cd1c825d20c7d766ab3573b5 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:20 2012 -0400 Improve GApplication test coverage gio/tests/basic-application.c | 1 + gio/tests/gapplication.c | 45 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 2 deletions(-) commit 642e89f35678c687d45c204ad095b58f785d6c91 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:05 2012 -0400 Improve GActionGroup test coverage gio/tests/actions.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 11 deletions(-) commit a53a1b65b59577e6332509789a062c6038a085a8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:50:54 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 26a1056bde7f6ef97963b1a4b42d3da3027f555f Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 16:30:58 2012 -0400 Expand GAppInfo tests gio/tests/appinfo.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 51e6edf08b34120e1bb88a28785f3b5e59e1a2b3 Author: Bruno Brouard <annoa.b@gmail.com> Date: Sun Jun 3 13:36:14 2012 +0200 Updated French translation po/fr.po | 324 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 182 insertions(+), 142 deletions(-) commit ce5bd68e26d0e67c24313076b7f634f1dcac81b9 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 21:56:10 2012 +0200 glib: fix g_reload_user_special_dirs_cache We handle a special case for G_USER_DIRECTORY_DESKTOP when we init the values but drop it when we reload them. Fix this by preferring old values to NULL https://bugzilla.gnome.org/show_bug.cgi?id=676594 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/gutils.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2e31166f6a005d2af724942ec3e8f58cecb3a756 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 15:29:31 2012 +0200 Updated Spanish translation po/es.po | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 4f04247a1964457a7493f23d786486df449b3e08 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 13:19:37 2012 +0200 Updated Spanish translation po/es.po | 207 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) commit 69e12cd3d56ae43b188a278b807e517961627ada Author: Dan Winship <danw@gnome.org> Date: Wed May 30 08:30:27 2012 -0400 GConverterInputStream: fix an edge case Reading from a GConverterInputStream with both input_buffer and converted_buffer non-empty would return bogus data (the data from converted_buffer would essentially get skipped over, though the returned nread reflected what the count would be if it hadn't been). This was never noticed before because (a) it can't happen if all of your reads are at least as large as either the internal buffer size or the remaining length of the stream (which covers most real-world use), and (b) it can't happen if all of your reads are 1 byte (which covers most of tests/converter-test). (And (c) it only happens for some converters/input streams.) But this was happening occasionally in libsoup when content-sniffing a gzipped response, because the SoupContentSnifferStream would first read 512 bytes (to sniff), and then pass through larger reads after that. Fixed and added a test to converter-test. https://bugzilla.gnome.org/show_bug.cgi?id=676478 gio/gconverterinputstream.c | 1 + gio/tests/converter-stream.c | 163 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) commit 0fd9863abe218c002327ea993089476a793a99e6 Author: Christian Persch <chpe@gnome.org> Date: Tue May 29 19:10:57 2012 +0200 build: Add missing AM_V_GEN to silence the build gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4979c1d075e08bcdc7a6569afae2052dac5eea81 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 16:52:28 2012 +0200 application: Add dbus register/unregister hooks When the application is using its D-Bus backend, it is useful to be able to export extra D-Bus objects at the right time, i.e. *before* the application tries to own the bus name. This is accomplished here by adding a hook in GApplicationClass for this; and a corresponding hook that will be called on unregistration to undo whatever the register hook did. Bug #675509. gio/gapplication.c | 36 +++++++++++ gio/gapplication.h | 10 ++- gio/gapplicationimpl-dbus.c | 15 ++++- gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-dbushooks.c | 99 ++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 2 deletions(-) commit f642209ef4c7f13f5ff03ca3c315cd237f8f26bb Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sun May 27 22:40:44 2012 +0100 gobject: Document notify signal deduplication with freeze/thaw Expand the documentation for g_object_[freeze|thaw]_notify() to explain that it deduplicates “notify” signals emitted by frozen objects, so that at most one signal is emitted per property. https://bugzilla.gnome.org/show_bug.cgi?id=676937 gobject/gobject.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1637f08ed146bca89049301495a49d8873c2957e Author: Matej Urbančič <mateju@svn.gnome.org> Date: Mon May 28 14:57:02 2012 +0200 Updated Slovenian translation po/sl.po | 313 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 149 deletions(-) commit ae421c9f6ca58ba18494619dc89ed1d2b60948eb Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Apr 27 10:02:54 2012 +0200 Link to gvariant-format-strings-pointers in getter API https://bugzilla.gnome.org/show_bug.cgi?id=674777 glib/gvariant.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 175864b83c076f6b74a822e75990ab3a15ab73bc Author: Colin Walters <walters@verbum.org> Date: Sat May 26 11:53:14 2012 -0400 gappinfo: Fix uninitialized-variable gcc warning gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 151e37816bea6101523cf7dddab4ea1ce55ec909 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 09:22:06 2012 -0400 Annotate API introduced for 2.34 with GLIB_AVAILABLE_IN_2_34 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gdbusauthobserver.h | 1 + gio/gresolver.h | 3 +++ 2 files changed, 4 insertions(+) commit 1cc7162c9560796829db457f7ea5fdd218a0ae46 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:59:09 2012 -0400 Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gactiongroup.h | 1 + gio/gactiongroupexporter.h | 2 ++ gio/gactionmap.h | 3 +-- gio/gappinfo.h | 3 +++ gio/gapplication.h | 2 ++ gio/gdbusactiongroup.h | 1 + gio/gdbusinterface.h | 1 + gio/gdrive.h | 1 + gio/gfile.h | 1 + gio/gfileinfo.h | 1 + gio/ginetaddressmask.h | 3 +++ gio/ginetsocketaddress.h | 2 ++ gio/gmenu.h | 2 ++ gio/gmenuexporter.h | 2 ++ gio/gnetworkmonitor.h | 2 ++ gio/gnetworkmonitorbase.h | 2 ++ gio/gremoteactiongroup.h | 3 +++ gio/gresource.h | 17 +++++++++++++++++ gio/gsettings.h | 2 ++ gio/gsettingsschema.h | 7 +++++++ gio/gsimpleasyncresult.h | 1 + gio/gsocket.h | 11 +++++++++++ gio/gsocketconnection.h | 4 ++++ gio/gunixconnection.h | 4 ++++ gio/gunixmounts.h | 1 + gio/gvolume.h | 1 + 26 files changed, 78 insertions(+), 2 deletions(-) commit a9637126465fba06c1fc73cc70eb5f683ad4e4b3 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:42:50 2012 -0400 Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30 I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gaction.h | 1 + gio/gdatainputstream.h | 2 ++ gio/gdbusconnection.h | 3 +++ glib/gatomic.h | 4 ++++ glib/gfileutils.h | 3 +++ glib/ghash.h | 1 + glib/ghmac.h | 9 +++++++++ glib/glib-unix.h | 6 ++++++ glib/gunicode.h | 1 + glib/gutils.h | 2 ++ glib/gvariant.h | 2 ++ gobject/glib-types.h | 4 ++++ 12 files changed, 38 insertions(+) commit 9c86e1168cad8ae2c2642ffd487d4f6319e1dc04 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Sat May 26 10:34:53 2012 +0200 gio: fix symbol name Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> gio/gio.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 800d6ff1115b27bf0e9cce818a0511048e2f1cc5 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 5 09:19:17 2012 -0400 gio: add GBytes-based input/output stream methods Using a caller-supplied buffer for g_input_stream_read() doesn't translate well to the semantics of many other languages, and using a non-refcounted buffer for read_async() and write_async() makes it impossible to manage the memory correctly currently in garbage-collected languages. Fix both of these issues by adding a new set of methods that work with GBytes objects rather than plain buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671139 docs/reference/gio/gio-sections.txt | 6 ++ gio/ginputstream.c | 174 ++++++++++++++++++++++++++++++++++++ gio/ginputstream.h | 16 ++++ gio/gio.symbols | 6 ++ gio/goutputstream.c | 157 ++++++++++++++++++++++++++++++++ gio/goutputstream.h | 16 ++++ gio/tests/memory-input-stream.c | 26 ++++++ gio/tests/memory-output-stream.c | 27 ++++++ 8 files changed, 428 insertions(+) commit 4b456635e422ea620bfb3feeddac12a7045bd43b Author: Christian Persch <chpe@gnome.org> Date: Thu May 24 17:51:35 2012 +0200 Revert "application: Don't print a critical warning here" This reverts commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee1965b888d070428b88bbcde989e98ce63a5fe4 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:29:44 2012 +0200 application: Save a few bytes in the library There's really no need to put useless whitespace into the .so. gio/gapplicationimpl-dbus.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:26:34 2012 +0200 application: Don't print a critical warning here It's a runtime error, not a programming error. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9217309a5cd1eb59c7881939cdb58bd48e27097e Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 20:38:52 2012 +0200 glib: fix build Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/genviron.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 481191f118a8f8e6505917a985e531137796d8ac Author: Christian Persch <chpe@gnome.org> Date: Sun May 20 00:01:35 2012 +0200 gspawn: Add GSpawnFlag to use the PATH from envp Add a G_SPAWN_SEARCH_PATH_FROM_ENVP flag to GSpawnFlags so that g_spawn_async() etc use the PATH variable from the passed-in child environment to search for the executable. If both this flag and the G_SPAWN_SEARCH_PATH flag are set, the child environment is searched first and only falls back to the PATH from the process environment if it is unset. Bug #676398. glib/gspawn.c | 48 ++++++++++++++++++++++++++++++++++++------------ glib/gspawn.h | 6 +++++- 2 files changed, 41 insertions(+), 13 deletions(-) commit 6969b63827a302604a0566c8889feed33a25d842 Author: Christian Persch <chpe@gnome.org> Date: Sat May 19 23:59:01 2012 +0200 environ: Allow NULL envp https://bugzilla.gnome.org/show_bug.cgi?id=676397 glib/genviron.c | 31 ++++++++++++++++++++----------- glib/tests/environment.c | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 11 deletions(-) commit 44d4990442532dd067ca670a3a4b18109ee6b02c Author: Colin Walters <walters@verbum.org> Date: Fri May 18 10:39:05 2012 -0400 GMemoryOutputStream: Add API to return data as a GBytes Matches the corresponding additions to GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 28 ++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 3 +++ gio/tests/memory-output-stream.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) commit 1bedf248794fe5cf9dad5e40c18329e79f9d855e Author: Colin Walters <walters@verbum.org> Date: Thu May 17 14:36:15 2012 -0400 GMemoryInputStream: Add API to accept GBytes And s/Chunk/GBytes/ internally. GBytes is really a perfect match for GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 2 + gio/gmemoryinputstream.c | 107 ++++++++++++++++++++++++++++++----------------- gio/gmemoryinputstream.h | 6 +++ 3 files changed, 76 insertions(+), 39 deletions(-) commit 6e32f0a6018ab26b2a14c184752913d6f2ecad40 Author: Debarshi Ray <debarshir@gnome.org> Date: Thu May 17 06:43:54 2012 +0200 gio: The tmpl parameter to g_file_new_tmp can be NULL Fixes: https://bugzilla.gnome.org/676208 gio/gfile.c | 1 - 1 file changed, 1 deletion(-) commit 7cadf4f15f952457b5a5440d24d1a93e0a99cdde Author: Dan Winship <danw@gnome.org> Date: Wed Mar 21 09:22:38 2012 -0400 g_utf8_validate: @str shouldn't end up annotated as utf8 In order for this function to have any point, it has to be possible to pass non-UTF-8 data to it, so annotate @str as being array-of-guint8 instead of utf8. https://bugzilla.gnome.org/show_bug.cgi?id=672548 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8df2b96a6910aa557a6db2b1b5e618f3ace70f11 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 12:18:23 2012 -0400 proxy-test: work even when the upstream DNS lies Rather than depending on the host's DNS configuration to properly return an error for a non-existent hostname, just substitute in a dummy GResolver implementation that does it for us. gio/tests/proxy-test.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit 555cd1923fae52a145d527904f4efc0fc6298585 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 08:49:05 2012 -0400 g_app_info_launch_default_for_uri: don't use GFile if we don't have to GFile doesn't handle some "real" URIs, so check if there's a default handler for the URI scheme first, and only use g_file_new_for_uri() and g_file_query_default_handler() if not. Eg, this fixes the case of opening http URIs with "%2F" in the path. https://bugzilla.gnome.org/show_bug.cgi?id=666386 gio/gappinfo.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit 0e6d9df35c948d5e65eae0edb6652a9cce88f557 Author: Holger Berndt <hb@gnome.org> Date: Thu May 17 22:24:10 2012 +0200 Document that g_app_info_create_from_commandline() does unquoting according to fd.o https://bugzilla.gnome.org/show_bug.cgi?id=676277 gio/gdesktopappinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 17e95c59c9f7b1cd023aabb3645c70b9f1f37577 Author: Dan Winship <danw@gnome.org> Date: Thu May 17 13:48:21 2012 -0400 gnetworkmonitornetlink: don't leak the list of networks https://bugzilla.gnome.org/show_bug.cgi?id=676265 gio/gnetworkmonitornetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ecbb0a4045877936d872fb8aaedd49baa4d89ef Author: Dan Winship <danw@gnome.org> Date: Thu May 10 13:29:39 2012 -0400 g_clear_pointer: work around gcc helpfulness gcc gets upset when we do "((GDestroyNotify) destroy) (_p)" because it's non-portable. But we don't care; we already know glib wouldn't work on any platform where different pointer types have different calling conventions. So tweak the code to avoid the warning. https://bugzilla.gnome.org/show_bug.cgi?id=674634 glib/gmem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 787f8087836804c903f8271699e576544426e023 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:44:36 2012 -0400 gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 gio/gsettings-bash-completion.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 431d3adacdd640141f83a6c3496760adc6aba5eb Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:41:33 2012 -0400 Improve libelf configure check system libelf is not sufficient for glib (lacks elf_getshdrstrndx and elf_getshdrnum) so let's make sure we don't define HAVE_LIBELF configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aded15c9d10dbf3ec218e25793e3467240585511 Author: Ravi Sankar Guntur <ravi.g@samsung.com> Date: Mon Mar 19 21:17:32 2012 +0530 glib: fix memory leaks in gutils, protocol, and strfuncs tests https://bugzilla.gnome.org/show_bug.cgi?id=672329 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com> glib/gutils.c | 26 ++++++++++++++++++++------ glib/tests/protocol.c | 6 +++++- glib/tests/strfuncs.c | 42 +++++++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 16 deletions(-) commit 447a25ea50af2349d313c10c46b61104ce4c0391 Author: Dan Winship <danw@gnome.org> Date: Wed May 16 12:00:44 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 0417ddab6fbd2f1cddbb9218e0e300e04da2eda5 Author: Giovanni Campagna <gcampagna@src.gnome.org> Date: Sat Apr 14 19:34:00 2012 +0200 GAppInfo: add a mechanism to query supported content types This essentially adds an accessor for the MimeType field in desktop files, to retrieve the list of all mime types supported by an application. The interface though is part of GAppInfo, so it could be implemented in the future by other backends. https://bugzilla.gnome.org/show_bug.cgi?id=674111 docs/reference/gio/gio-sections.txt | 1 + gio/gappinfo.c | 31 +++++++++++++++++++++++++++++++ gio/gappinfo.h | 4 ++++ gio/gdesktopappinfo.c | 13 +++++++++++++ gio/gio.symbols | 1 + gio/tests/appinfo-test.desktop | 1 + gio/tests/appinfo.c | 16 ++++++++++++++++ 7 files changed, 67 insertions(+) commit e011d2c92162d25a6e6d5f67d462edfeb4af3d7a Author: Dan Winship <danw@gnome.org> Date: Sun Jan 3 14:47:56 2010 -0500 Add g_type_ensure() and use it rather than playing games with volatile https://bugzilla.gnome.org/show_bug.cgi?id=605976 docs/reference/gobject/gobject-sections.txt | 1 + gio/gicon.c | 10 +++---- gio/ginetaddress.c | 4 +-- gio/giomodule.c | 38 ++++++++++++------------- gio/gresolver.c | 5 +--- gio/gsocket.c | 4 +-- gio/gsocketconnection.c | 6 ++-- gio/gsocketcontrolmessage.c | 8 ++---- gio/gunixconnection.c | 5 +--- gobject/gobject.symbols | 1 + gobject/gtype.c | 43 +++++++++++++++++++++++++---- gobject/gtype.h | 2 ++ 12 files changed, 72 insertions(+), 55 deletions(-) commit 2a4235d0f3fe3b3fb007385ee59082c0987158ce Author: Paolo Borelli <pborelli@gnome.org> Date: Tue May 15 17:38:44 2012 +0200 gfile: add g_return_if_fail to g_file_make_directory_with_parents() gio/gfile.c | 2 ++ 1 file changed, 2 insertions(+) commit 5a57144d5749efaf3b5e752db9b041597d4b062f Author: Colin Walters <walters@verbum.org> Date: Fri May 4 10:03:12 2012 -0400 gfile: Plug memory leak in g_file_make_directory_with_parents() The logic here is pretty twisted, but basically we were leaking a ref for each non-existent parent. The clearest way to fix this was to move to more explicit refcounting logic; when a variable is pointing to an object, it holds a ref. https://bugzilla.gnome.org/show_bug.cgi?id=675446 gio/gfile.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit d5d3c7b3a4830a12e155e949345cfc9109236786 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon May 14 16:18:26 2012 -0400 Cover some malloc corner cases in tests glib/tests/utils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 215844b3a64fae95b24e464fe87ab6c3b5cd8daa Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 01:52:37 2012 -0400 Add a test for g_clear_pointer glib/tests/utils.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit e153c8c58b7643d8d823b7a199c3efb19fea3985 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Sun May 13 19:22:24 2012 +0900 [l10n] Update Japanese translation po/ja.po | 637 ++++++++++++++++----------------------------------------------- 1 file changed, 155 insertions(+), 482 deletions(-) commit e3eb137bbb2ebeede6156424e3e0a1aeb8973614 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 00:46:39 2012 -0400 Use non-deprecated api in tests https://bugzilla.gnome.org/show_bug.cgi?id=660851 glib/tests/rec-mutex.c | 4 ++-- glib/tests/rwlock.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 77695437b319c8e1a918c8b3ab892ba8a63fbf63 Author: Jasper St. Pierre <jstpierre@mecheye.net> Date: Wed May 2 12:53:27 2012 -0400 gkeyfile: Fix annotations for g_key_file_load_from_data https://bugzilla.gnome.org/show_bug.cgi?id=675309 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebc3b928a39e8895719a5795a14e13c2cdf3c8bd Author: Lars Uebernickel <lars@uebernic.de> Date: Thu May 10 09:35:03 2012 -0700 docs: reference g_menu_item_new in gmenu convenience menuitem API gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 748f44b12f25717a45477a6e2e74bf6abc7951ba Author: Christian Kirbach <Christian.Kirbach@googlemail.com> Date: Tue May 8 19:16:14 2012 +0200 [l10n] Updated German translation po/de.po | 177 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 82 deletions(-) commit 1b29ea3663501a407b82d83792d47d0941df13b2 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Tue May 8 16:49:53 2012 +0200 Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default glib/gversionmacros.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 744f36bb0685e35aac5fcfcf37cb1e1c9c45786e Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Tue May 8 15:12:42 2012 +0100 version macros: Make MIN_REQUIRED the current stable version So that deprecation warnings will come into effect starting from the stable release, instead of the next. glib/gversionmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb63c73bbe213f5c1ac7ecafdf298c3cb8de23c3 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Tue May 8 20:24:53 2012 +0900 [l10n] Update Japanese translation po/ja.po | 6155 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3275 insertions(+), 2880 deletions(-) commit a365684bf086742763b098feddaf5525bc9581c0 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Mon May 7 10:33:44 2012 +0200 configure.ac: more AS_IF It looks like JH_CHECK_XML_CATALOG has some prerequisite as well Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 54e31ab4f172bbb28434eafc34c9345a93c9ccf5 Author: Colin Walters <walters@verbum.org> Date: Thu May 3 15:18:11 2012 -0400 configure: Use AS_IF almost everywhere Not doing so is an evil trap, sadly. This patch has been compile-checked on Fedora 16, and I've verified that the generated config.status and config.h is exactly the same. https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 246 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 118 insertions(+), 128 deletions(-) commit e30823d93ff643c82d4037c2cf0f509e347f49de Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Thu May 3 08:44:12 2012 +0200 configure.ac: use AS_IF This way any prerequisites for e.g. AC_CHECK_HEADER are always executed before the 'if'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7ba899701566c5941ba93bcd31e0b7ae70a7e69d Author: Yuri Kozlov <yuray@komyakino.ru> Date: Sun May 6 11:35:01 2012 +0400 Updated Russian translation po/ru.po | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit ed1f10bc1c149ac6c317b80b3ba46fda6b545a4e Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu May 3 15:00:14 2012 +0200 docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example. gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa38ae9fb8eed894dcd37baa154967aae7f6c45 Author: Marek Černocký <marek@manet.cz> Date: Fri May 4 09:30:06 2012 +0200 Updated Czech translation po/cs.po | 223 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 140 insertions(+), 83 deletions(-) commit 486d563049a789b0a2f45f1b5564eaf66294f083 Author: Christian Persch <chpe@gnome.org> Date: Wed May 2 20:14:52 2012 +0200 application: Clarification about 'primary instance' For non-unique applications, the 'primary instance' is the current instance. gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f7b61c72b4f2fef3ab21b51b9660973452d22f8d Author: Dimitris Spingos <dmtrs32@gmail.com> Date: Wed May 2 12:00:03 2012 +0300 Updated Greek translation po/el.po | 6433 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3408 insertions(+), 3025 deletions(-) commit 874355de53e7ea7009860c0b67094d919a5daa6f Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed May 2 11:10:23 2012 +0800 Fix GIO/GObject Visual C++ projects -Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL builds, omitting this caused problems to surface due to recent works to make GDBus work on Windows. -Also use the FFI_BULIDING macro for GObject builds as the suggessted workaround for using static LibFFI builds (as we do now)-please see ffi.h(.in). This will fix the build of GObject against LibFFI 3.0.11, but it is probable that this will change at some point for LibFFI. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 83f04afa0b8b66d200ccdc17ac6f5cd0e17b1c15 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 12:57:00 2012 -0400 GLib 2.33.1 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 774074f99bcc6237290e5252faf24581d7fe9932 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:48:52 2012 -0700 slice-color test: don't use non-existent macro G_GUINT64_MODIFIER doesn't exist, but G_GINT64_MODIFIER does (and will be the same as is needed for unsigned). tests/slice-color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b31d872081a70817dc036043fef05cd950c4e86f Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:23:09 2012 -0700 tests: temporarily disable GDBus async proxy test It has never worked properly and, with the new GDBus testing stuff, it's occasionally failing. https://bugzilla.gnome.org/show_bug.cgi?id=672248 gio/tests/gdbus-proxy.c | 2 ++ 1 file changed, 2 insertions(+) commit 56ca8add1088385a874fdb371a6d490926109710 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 15:40:15 2012 -0400 contenttype test: don't pass -1 as length g_content_type_guess() takes a gsize, not a gssize, and -1 does not mean "I am passing a NULL terminated string". gio/tests/contenttype.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8db824e00b69302dafed9ceddd6f34abf5202516 Author: Michael Biebl <biebl@debian.org> Date: Tue May 1 18:42:12 2012 +0200 configure: Reset LIBS after ELF check If action-if-found is not specified, AC_CHECK_LIB will append the library to LIBS. As we don't want to link everything against libelf, reset LIBS after doing the checks. configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit eb5381b8622eda26b6bd86dbac39bd9ed86bf730 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Apr 30 12:20:54 2012 -0400 GApplication: add accessor for DBus information Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249 docs/reference/gio/gio-sections.txt | 3 ++ gio/gapplication.c | 65 ++++++++++++++++++++++++++++++++++++- gio/gapplication.h | 5 +++ gio/gapplicationimpl-dbus.c | 11 +++++++ gio/gapplicationimpl.h | 6 ++++ gio/gio.symbols | 2 ++ 6 files changed, 91 insertions(+), 1 deletion(-) commit 16f92a33aca1161aab3669f39b32f5c8f09fb433 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Mar 3 11:31:05 2012 -0500 GApplication: allow null application_id GApplication application ID is now permitted to be NULL, in which case G_APPLICATION_NON_UNIQUE will be implicitly enabled. https://bugzilla.gnome.org/show_bug.cgi?id=671249 gio/gapplication.c | 57 +++++++++++++++++++++++++++------------------ gio/gapplicationimpl-dbus.c | 6 +++++ gio/gioenums.h | 9 +++---- 3 files changed, 45 insertions(+), 27 deletions(-) commit d959ace72cd07bebe0d87d483613b3285bb3c4f4 Author: Bruno Brouard <annoa.b@gmail.com> Date: Mon Apr 30 21:54:22 2012 +0200 Updated French translation po/fr.po | 171 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 93 insertions(+), 78 deletions(-) commit cbf06d8fa94672496d170c65ed9c328816e7eee0 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 30 17:02:06 2012 +0200 g_clear_pointer: use the same static checks than g_clear_object in glib-2-32 glib/gmem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 19ac408650ffbbff55fa01fe0968242abb7eacc3 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Apr 30 16:14:24 2012 +0200 Updated Galician translations po/gl.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit cf4582fb81108b879f5d017a7b25f26ec2328b6a Author: Luca Ferretti <lferrett@gnome.org> Date: Mon Apr 30 15:41:08 2012 +0200 l10n: Updated Italian translation po/it.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 169 insertions(+), 150 deletions(-) commit 7d4d0668b37476a1dc0f088574e7292fdac7c17c Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:54:05 2012 -0400 Update gio/tests/.gitignore gio/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit c37273dccb183c98ee45f164117f515e4efbff06 Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:31:20 2012 -0400 fix warnings gio/gdbusdaemon.c | 1 - gio/gtestdbus.c | 2 +- gio/tests/buffered-input-stream.c | 2 +- glib/goption.c | 1 - tests/gobject/defaultiface.c | 3 +-- tests/gobject/dynamictype.c | 3 +-- tests/gobject/ifaceinit.c | 2 ++ tests/slice-color.c | 7 ++++--- tests/slice-test.c | 2 +- tests/threadpool-test.c | 16 +++++++++++----- 10 files changed, 22 insertions(+), 17 deletions(-) commit c5285b3abafe2d28f99e0dd0981deee49fa401f1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Apr 30 10:16:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 143 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 98 insertions(+), 45 deletions(-) commit a7bde137c3b66ca1857332fd3a702e80d457731d Author: Jonh Wendell <jwendell@gnome.org> Date: Sat Apr 28 10:11:25 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 375 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 197 insertions(+), 178 deletions(-) commit fd3ec4df87ce05f364799b7eb8b0219420d755c4 Author: Dan Winship <danw@gnome.org> Date: Fri Apr 27 09:27:38 2012 -0400 Fix several recently-introduced bugs in g_output_stream_write_async() g_output_stream_write_async() was not initializing the newly-added members of the WriteData structure, causing various problems. Also, g_input_stream_read_async() was now leaking its cancellable. Fix that as well. https://bugzilla.gnome.org/show_bug.cgi?id=674612 gio/ginputstream.c | 12 ++++++++++-- gio/goutputstream.c | 15 +++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) commit 00285b7517a63a243a5b61b738de5eea957ae767 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 23 17:57:56 2012 +0200 Add g_clear_pointer() Also reimplement g_clear_object() using g_clear_pointer() https://bugzilla.gnome.org/show_bug.cgi?id=674634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmem.c | 39 +++++++++++++++++++++++++++++++++++ glib/gmem.h | 18 ++++++++++++++++ gobject/gobject.c | 13 +----------- gobject/gobject.h | 14 +------------ 6 files changed, 61 insertions(+), 25 deletions(-) commit 3f816dc5d14ce64f89c5e8b16ac7d8c1f3542b0d Author: Debarshi Ray <debarshir@gnome.org> Date: Mon Apr 16 23:00:01 2012 +0200 GAppInfo: overwrite the DISPLAY only if it is set in the launch context If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed306565c0652050665eafff4dfcdf0d8b Fixes: https://bugzilla.gnome.org/672786 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6219767f61fe7b402c9db8fbdaf57ab8ffb25681 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Thu Apr 26 15:29:12 2012 +0300 Updated Hebrew translation. po/he.po | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 79724bf80c414a06f3caf1f2ff614bb3c44a8ba3 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 26 10:05:41 2012 +0200 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 063ec9a75d6f70b45a8e51653608a6e40f948b3c Author: Colin Walters <walters@verbum.org> Date: Wed Apr 25 14:47:01 2012 -0400 build: Fix 'make dist' regression Commit f084b603771f78126bc0b07229a1574b76e776bb incorrectly set DIST_SUBDIRS for the toplevel Makefile.am. In general actually we don't need to set it, because modern automake automatically sets it by looking at conditionals for SUBDIRS. Tested-by: Rico Tzschichholz <ricotz@t-online.de> https://bugzilla.gnome.org/show_bug.cgi?id=667806 gio/Makefile.am | 3 --- glib/Makefile.am | 6 +----- gobject/Makefile.am | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) commit 87cc77a1985efa18bcd8fc3318c90d8557ae9129 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 25 10:44:55 2012 -0400 gsocket: test if family is <= 0, not < 0 If all members of GSocketFamily are supported on the platform, then all of its values will be positive, and so the enum might become unsigned, in which case testing for "family < 0" might cause warnings. But we want to return an error if family == 0 (aka G_SOCKET_FAMILY_INVALID) anyway, so just tweak the test accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=674592 gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56bcba11dd2d2b679efeebcf78f0f5736ba311e1 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Wed Apr 25 09:46:35 2012 +0200 make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the correct alignment. Without a previous AC_CHECK_TYPE for the same type, the alignment is silently set to '0'. This makes sure that configure fails and reports the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit b053f990c91eff334aec8db9519846a041a98999 Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Apr 24 16:39:21 2012 +0200 win32: More srcdir != builddir fixing gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62905cda0b42163bbd582278260f659f94e4d2bf Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:53:49 2012 +0200 win32: Fix build with srcdir != builddir Missed this part in the last commit gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67 Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:03:38 2012 +0200 win32: Fix build of gdbus-daemon-generated.[ch] gdbus-daemon-generated.[ch] failed to build because it depended on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part of the build, however SUBDIRS are done *after* processing BUILT_SOURCES, and these files are in BUILT_SOURCES. The fix is simple, instead of running the gdbus-codegen code we run the gdbus-codegen.in code, which works fine for uninstalled execution. I also removed Makefile from the dependencies to avoid rebuilding the file in tarballs, as Makefiles are written at configure time. We should be able to ship the prebuilt files in the tarballs. When running uninstalled gio/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c0756ea0e118deece4b797d15c2462db48191ed Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Apr 24 07:28:43 2012 +0300 Updated Bulgarian translation po/bg.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 02be039a6cc41bc0e65a336ad76b4c5b14e00e22 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Tue Apr 24 00:29:07 2012 +0200 Updated Galician translations po/gl.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 810a296d4244f061f037445f39b8900fb67ba3e8 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Apr 24 00:03:33 2012 +0800 Visual C++ projects: Clean/fix up Clean/fix up the Preprocessor Definitions for the various projects, where we purge out the unneeded macros and add _DEBUG to the Debug builds of various projects that somehow lacked this. This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro in the release builds will cause a debug entry to appear in its manifest file during the build, which will cause GIO-using applications to fail to run on systems not running Visual C++/Studio 2008 due to its embedding of a badly-generated manifest file. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/glib-genmarshal.vcxproj | 8 ++++---- build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs10/gmodule.vcxproj | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 4 ++-- build/win32/vs10/gspawn-win32-helper.vcxproj | 4 ++-- build/win32/vs10/gthread.vcxproj | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib-genmarshal.vcproj | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 4 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 4 ++-- build/win32/vs9/gthread.vcproj | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) commit 58f0173149d5be9a7fc0810e4bcf7a2fafde1a7f Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:29 2012 -0400 Add tests for signal convenience api gobject/tests/signals.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit e62102dbc5bd9f6fe905775fc19aea894ef7f8d4 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:06 2012 -0400 Add tests for toggle reference and qdata gobject/tests/reference.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) commit 8b618eb7f1eec1632c164053097f3e41150782ce Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:17:40 2012 -0400 Improve test coverage in gobject/tests This is just making sure that we execute property getters/setters. gobject/tests/dynamictests.c | 3 +++ gobject/tests/properties.c | 9 +++++++++ 2 files changed, 12 insertions(+) commit 87832242023e593751b20f6fa90235b32cfe5d4c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:50 2012 -0400 Add some directory getter tests glib/tests/utils.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) commit 1089a0a9f6987b7b1aa8f3f9e4def1b92cdfd11c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:23 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 6214977260f22b41f0e2e407c7fa2a5a3bed5084 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Apr 23 11:40:33 2012 +0200 Updated Spanish translation po/es.po | 141 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 74 insertions(+), 67 deletions(-) commit a44e80198340d7169197fe7627868383dc4df06c Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 02:08:41 2012 +0200 Make GDataOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gdataoutputstream.c | 108 ++++++++++++++++++++++- gio/tests/data-output-stream.c | 194 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+), 3 deletions(-) commit 43895e3089ec1ac7af2f77530fe91678b58a3501 Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 01:50:41 2012 +0200 Make GBufferedOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedoutputstream.c | 132 ++++++++++++++++++++++++- gio/tests/buffered-output-stream.c | 195 +++++++++++++++++++++++++++++++++++++ 2 files changed, 324 insertions(+), 3 deletions(-) commit 90739baec071f4bba19558a3e08a9f330f78070e Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Wed Mar 28 14:12:44 2012 +0200 Make GBufferedInputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedinputstream.c | 138 ++++++++++++++++++++++++++++++++++++-- gio/tests/buffered-input-stream.c | 86 ++++++++++++++++++++++++ 2 files changed, 220 insertions(+), 4 deletions(-) commit 86abe5163fb2fe08ae886b2decc18ba9318b974c Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Apr 23 12:12:27 2012 +0400 Updated Russian translation po/ru.po | 1480 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 779 insertions(+), 701 deletions(-) commit a151c97106948c6bd21b0e2a71b7c18b1f106ce9 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 00:35:37 2012 -0400 Make the child source test work On my machine, this test was failing, because the timeout source for quitting the inner mainloop was triggering repeatedly. Avoid that by explicitly returning G_SOURCE_REMOVE from the callback. glib/tests/mainloop.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit d18a9caf0310c2c6f98e04e15c7a8ca8280846e1 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 02:45:08 2012 +0100 docs: Use latest docbook dtd: 4.5 .../gdbus-object-manager-example-docs.xml | 4 ++-- docs/reference/gio/migrating-gdbus.xml | 4 ++-- docs/reference/glib/building.xml | 4 ++-- docs/reference/glib/changes.xml | 4 ++-- docs/reference/glib/compiling.xml | 4 ++-- docs/reference/glib/cross.xml | 4 ++-- docs/reference/glib/regex-syntax.xml | 4 ++-- docs/reference/glib/resources.xml | 4 ++-- docs/reference/glib/running.xml | 4 ++-- docs/reference/gobject/tut_gobject.xml | 4 ++-- docs/reference/gobject/tut_gsignal.xml | 4 ++-- docs/reference/gobject/tut_gtype.xml | 4 ++-- docs/reference/gobject/tut_howto.xml | 4 ++-- docs/reference/gobject/tut_intro.xml | 4 ++-- docs/reference/gobject/tut_tools.xml | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) commit ee44211f1a44e58bb7c3d93aed6eeee4863d5263 Author: Javier Jardón <jjardon@gnome.org> Date: Sun Apr 22 21:56:07 2012 +0100 docs: rename *-docs.sgml to *-docs.xml We are using xml docbook nowadays docs/reference/gio/gio-docs.xml | 4 +- docs/reference/glib/Makefile.am | 18 +- docs/reference/glib/building.sgml | 538 ------- docs/reference/glib/building.xml | 538 +++++++ docs/reference/glib/changes.sgml | 174 -- docs/reference/glib/changes.xml | 174 ++ docs/reference/glib/compiling.sgml | 121 -- docs/reference/glib/compiling.xml | 121 ++ docs/reference/glib/cross.sgml | 208 --- docs/reference/glib/cross.xml | 208 +++ docs/reference/glib/glib-docs.sgml | 221 --- docs/reference/glib/glib-docs.xml | 221 +++ docs/reference/glib/regex-syntax.sgml | 2531 ------------------------------ docs/reference/glib/regex-syntax.xml | 2531 ++++++++++++++++++++++++++++++ docs/reference/glib/resources.sgml | 115 -- docs/reference/glib/resources.xml | 115 ++ docs/reference/glib/running.sgml | 380 ----- docs/reference/glib/running.xml | 380 +++++ docs/reference/gobject/Makefile.am | 2 +- docs/reference/gobject/gobject-docs.sgml | 170 -- docs/reference/gobject/gobject-docs.xml | 170 ++ 21 files changed, 4470 insertions(+), 4470 deletions(-) commit 3ea31fc0f1d81affaf655f550899fa16cb59201a Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:36:49 2012 +0100 docs: Add index to new api added in 2.34 docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 3 files changed, 12 insertions(+) commit 14a7781873317e24b55984173e2bedf6eaaf0917 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:15:26 2012 +0100 docs: Fix "Since" markup glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a37bc0dc6cc013d01836b45c2eea6b1bd6d80e5 Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:18:50 2012 -0400 gio: add a proxy test program Test GProxy, GProxyResolver, GProxyAddress, and GProxyAddressEnumerator, plus GSocketClient's proxy-resolving codepaths. gio/tests/Makefile.am | 4 + gio/tests/proxy-test.c | 1077 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1081 insertions(+) commit bcaa0a3820dae0ce10fc8329b10b7c963447e6d3 Author: Dan Winship <danw@gnome.org> Date: Sat Apr 21 00:25:53 2012 -0400 gio: Add more information to GProxyAddress Add two new methods to GProxyAddress for recovering information about the destination URI that the proxy was created for (and modify GProxyAddressEnumerator to set that information when creating the GProxyAddress). docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gproxyaddress.c | 116 +++++++++++++++++++++++++++++++++--- gio/gproxyaddress.h | 5 ++ gio/gproxyaddressenumerator.c | 54 ++++++++++------- 5 files changed, 152 insertions(+), 27 deletions(-) commit 8c7025e72320775f915cdd776e09c7cbecd648ac Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:20:14 2012 -0400 gio: fix error handling in async case of GProxyAddressEnumerator In the async case, a failed DNS lookup was causing the proxy resolution to bail out immediately, rather than just moving on to the next potential proxy (which might not need us to do the DNS lookup beforehand). Fix that. gio/gproxyaddressenumerator.c | 95 ++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 37 deletions(-) commit 3cf987e660d0b32e44b2be67352db65f14342f6a Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sun Apr 22 15:34:12 2012 +0200 Updated Galician translations po/gl.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2a5763c412b624cb70fdc858431b5292ff5312e0 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Sun Apr 22 11:13:21 2012 +0200 Updated Spanish translation po/es.po | 147 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 90 insertions(+), 57 deletions(-) commit 1e73a200a6fd13b36c52cf783521ac5a256cec56 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Sun Apr 22 11:41:51 2012 +0300 Updated Hebrew translation. po/he.po | 371 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 207 insertions(+), 164 deletions(-) commit ecdaf357fe230baefefd45ebd3000ab7c37869ac Author: Alexander Shopov <ash@kambanaria.org> Date: Sun Apr 22 09:07:34 2012 +0300 Updated Bulgarian translation po/bg.po | 147 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 94 insertions(+), 53 deletions(-) commit 2adf6b3d6b975130f41fcbbd66ea348d8a10c0e6 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sat Apr 21 16:30:59 2012 +0200 Updated Galician translations po/gl.po | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 8ebea8263402dd4a5778c2febbd4ef891eddd88c Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:46:49 2012 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68629ceb4fab5393448ab4688320eace56d11790 Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:39:22 2012 +0200 Updated Slovenian translation po/sl.po | 180 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 110 insertions(+), 70 deletions(-) commit 5d7e9bfbbd7f993922b09577d775822f63ea5640 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Sat Apr 21 09:26:24 2012 +0200 Updated Serbian translation po/sr.po | 349 ++++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 349 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 392 insertions(+), 306 deletions(-) commit 88f73eef540d107210a0f52de81cb1a2c87cb5d6 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Fri Apr 20 20:50:26 2012 +0200 Updated POTFILES.in po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit 755c1311958f256d60daeb548d1ba4d235d2783b Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Apr 20 17:22:55 2012 +0200 Updated Spanish translation po/es.po | 130 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 57 deletions(-) commit 515a454c39b81f61565f7b41ff26aad7a133f853 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Apr 20 15:12:48 2012 +0200 Updated Galician translations po/gl.po | 120 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 53 deletions(-) commit 5fb44f70dcac16ff6f13d3d36c330ddd617a5d97 Author: Alexander Larsson <alexl@redhat.com> Date: Fri Apr 20 10:23:34 2012 +0200 win32: Implement _g_dbus_get_machine_id using machine guid This is what libdbus uses, so we're compatible. gio/gdbusprivate.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit dccce383670592f12510019e92ea91a618a1810c Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 17:09:37 2012 +0200 win32: Support autolaunching dbus daemon gio/Makefile.am | 8 ++ gio/gdbusaddress.c | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 312 insertions(+), 2 deletions(-) commit bd148e127a5863de4aef260cd879e0eda370c711 Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 16:25:29 2012 +0200 Add _g_io_win32_get_module to get the gio HMODULE gio/giomodule-priv.h | 4 ++++ gio/giomodule.c | 6 ++++++ 2 files changed, 10 insertions(+) commit 74214e2997e51fd96842aac2eee049e6b81a4595 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 19 11:01:24 2012 +0200 GTestDBus: Allow to specify the dbus-daemon binary The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to whatever you want. This is useful to test with gdbus-daemon gio/gtestdbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 0d8b1b14d2d56c92b2b783798a9552eb75d77a29 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:47 2012 +0200 Add gdbus-daemon test app gio/tests/Makefile.am | 4 +++ gio/tests/gdbus-daemon.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit 25581738a8d5ee7db2a6d9ebd908d59b2837cd70 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:04 2012 +0200 Add GDBusDAaemon, an implementation of a message bus This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work. gio/.gitignore | 1 + gio/Makefile.am | 17 +- gio/dbus-daemon.xml | 76 +++ gio/gdbusdaemon.c | 1752 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusdaemon.h | 19 + 5 files changed, 1864 insertions(+), 1 deletion(-) commit b38f1c7aff0bb7388993973f4d8516b95ad593ba Author: Benjamin Otte <otte@redhat.com> Date: Fri Apr 20 14:31:05 2012 +0200 resourcefile: Set display name Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345 gio/gresourcefile.c | 1 + 1 file changed, 1 insertion(+) commit 289e3b9143fe9bd27657ed277dd7ea2e1a690aa3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Apr 19 17:13:52 2012 -0400 More beautiful fix A comma on a line by itself is too ugly to stand. gio/gtestdbus.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
glib2-devel-2.33.12-3.oc00 (21/08/2018)
Repository: Netlabs stable (note: development files, not needed by the end user)
commit 626abfdc108154c3ae149e82580779669fb63881 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Sep 3 15:14:18 2012 -0400 2.33.10 NEWS | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) commit 5d915a4a779e566431d0f268b63904d82e62f5bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:18:23 2012 +0200 Revert "Updated Spanish translation" This reverts commit bc036bf9789556f37b2872baaee3c126af7e6e3f. po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 791 insertions(+), 780 deletions(-) commit bc036bf9789556f37b2872baaee3c126af7e6e3f Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:15:35 2012 +0200 Updated Spanish translation po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 780 insertions(+), 791 deletions(-) commit d68609f9fd22e0e498f13fc7340075022f94ed48 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 10:06:13 2012 -0400 Revert "xdgmime: plug a small leak" This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8. The string actually does get freed somewhere else, at least in some cases. Can be looked at again later if this reintroduces a leak. https://bugzilla.gnome.org/show_bug.cgi?id=683270 gio/xdgmime/xdgmime.c | 1 - 1 file changed, 1 deletion(-) commit 857ac29c1fd785626281709051e4b3850493418c Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:06:57 2012 +0200 Updated Spanish translation po/es.po | 731 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 356 insertions(+), 375 deletions(-) commit 4d1b0d46dbf3f735a8808d66bc2d30baa9bd3947 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 08:56:10 2012 -0400 update .gitignore gobject/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit beb0f9c15058e2249ffed73747f11298e6949b84 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 20:43:54 2012 -0400 gio/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/appinfo.c | 2 ++ gio/tests/contexts.c | 13 ++++++++++++- gio/tests/converter-stream.c | 1 + gio/tests/file.c | 5 ++++- gio/tests/live-g-file.c | 21 +++++++++++++++++---- gio/tests/memory-input-stream.c | 3 +++ gio/tests/mimeapps.c | 1 + gio/tests/network-address.c | 1 + gio/tests/network-monitor.c | 26 +++++++++++++++++++++++++- gio/tests/proxy-test.c | 36 +++++++++++++++++++++++++++--------- gio/tests/unix-streams.c | 1 + 11 files changed, 94 insertions(+), 16 deletions(-) commit 17bb9d542cea2eeb3cb54cb583f671cf5e005631 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:38 2012 -0400 gio/tests/cancellable: fix to still work when running slowly The test was assuming that all cancelled ops would finish within a certain amount of time, but this often failed under valgrind. Instead, just run the loop until all of the ops have actually finished. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/cancellable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 568f7377088ea7836217f0bec917cc77e1210742 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:17 2012 -0400 gio/tests: port some stuff to g_test_expect_message() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/Makefile.am | 2 +- gio/tests/actions.c | 78 +++++++++++++++++++---------------------------- gio/tests/gdbus-message.c | 50 +++++++++++++++++------------- gio/tests/gsettings.c | 52 +++++++++++++++---------------- 4 files changed, 85 insertions(+), 97 deletions(-) commit 039ecf2bc613ea5687d1052a87c982163e506451 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:08:38 2012 -0400 g_file_copy: plug a leak The fallback copy code was leaking the GFileInfo if it didn't have G_FILE_ATTRIBUTE_STANDARD_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gfile.c | 1 + 1 file changed, 1 insertion(+) commit fa58cef826d8f3b6b3eb0cad230b0421ee35f8a2 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:06:46 2012 -0400 GDesktopAppInfo: fix leaks g_desktop_app_info_ensure_saved() was leaking the file contents. _g_desktop_app_info_launch_uris_internal() was leaking the session bus on error. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4e7031f073db2df7297feab35c9d353b0b3977d8 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:03:35 2012 -0400 xdgmime: plug a small leak https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/xdgmime/xdgmime.c | 1 + 1 file changed, 1 insertion(+) commit 03be681e08dc9e706d2d22df01fd4edb004a7577 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 16:53:13 2012 -0400 gobject/tests: plug leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/signals.c | 3 +++ gobject/tests/threadtests.c | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit e0cba35d4116c61035a0cbb403d89a04bbdb8963 Author: Dan Winship <danw@gnome.org> Date: Mon Aug 27 07:45:08 2012 -0400 gobject/tests: use g_test_expect_messages() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/Makefile.am | 3 +++ gobject/tests/ifaceproperties.c | 16 +++++++--------- gobject/tests/param.c | 15 +++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 7972485ca10ef7b45389832f3d8afcf1372c8991 Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Sep 3 10:16:21 2012 +0400 Updated Russian translation po/ru.po | 1522 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 824 insertions(+), 698 deletions(-) commit 7662dbe82b2a4010418586434756ad75169318b3 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Mon Sep 3 01:20:56 2012 +0200 Updated Polish translation po/pl.po | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a30f6a6eb82e896d5b1dc0921d1d8256ed7ec546 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 29 00:01:15 2012 -0400 Add new api to symbol lists and docs https://bugzilla.gnome.org/show_bug.cgi?id=682849 docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/gobject/gobject-sections.txt | 4 ++++ glib/glib.symbols | 2 ++ gobject/gobject.symbols | 4 ++++ 4 files changed, 13 insertions(+) commit d80d70458ad1711f9c1935a58df3eb9e04853464 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Sep 1 00:20:22 2012 -0400 Add a threaded test for g_object_replace_data This is the threaded atomic add test from glib/tests/atomic.c, redone using qdata instead of an atomic int to store the values. gobject/tests/Makefile.am | 1 + gobject/tests/qdata.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) commit 2fa77fb76c452755fe5f2a1ebe10f27583959250 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 23:56:01 2012 -0400 Add some tests for new object data api These are non-threaded, but the do test dup and destroy somewhat. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/tests/reference.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 1254ca716bf64ce97f6b47882493411883a41865 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:45:30 2012 -0400 Add an atomic compare-and-exchange operation for object data This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/gobject.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 30 ++++++++++ 2 files changed, 204 insertions(+), 1 deletion(-) commit 06e3a1d71afb66d573b20f17a575c345fb4b697f Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:44:00 2012 -0400 Add compare-and exchange for data lists Also, make it possible to get a 'new ref' on a datalist member in a race-free way. This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 glib/gdataset.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++------- glib/gdataset.h | 17 ++++- 2 files changed, 214 insertions(+), 26 deletions(-) commit 18e49c30f02da6d0e10a4dc72760cf3f05303588 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org> Date: Sun Sep 2 16:02:50 2012 +0300 Updated Latvian translation po/lv.po | 2467 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1281 insertions(+), 1186 deletions(-) commit b3beac08f592dcdf57181fcbdffd51fd8b9811f7 Author: Aurimas Černius <aurisc4@gmail.com> Date: Sun Sep 2 15:39:16 2012 +0300 Updated Lithuanian translation po/lt.po | 809 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 388 insertions(+), 421 deletions(-) commit 2d85894bc5e45b2a50e5a5784a99e4c31beea7ec Author: Paolo Borelli <pborelli@gnome.org> Date: Sun Sep 2 12:25:50 2012 +0200 Fix gtk-doc for g_app_info_get_supported_types gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724c8a18464cd3e2fb3547235cf1f82400bbf91e Author: Aleksander Morgado <aleksander@lanedo.com> Date: Fri Aug 31 11:41:53 2012 +0200 gdbus-codegen: avoid error when wrong interface is provided to --annotate If the interface given cannot be matched, `iface_obj' was left uninitialized and the iface_obj == None check would end up crashing: Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 41, in <module> sys.exit(codegen_main.codegen_main()) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main apply_annotations(all_ifaces, opts.annotate) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations apply_annotation(iface_list, iface, None, None, None, None, key, value) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation if iface_obj == None: UnboundLocalError: local variable 'iface_obj' referenced before assignment Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683088 gio/gdbus-2.0/codegen/codegen_main.py | 1 + 1 file changed, 1 insertion(+) commit c270b833a631ef5469d0dce787244ecf56386c5d Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 31 23:22:16 2012 -0400 Fix shell tests glib/tests/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e81ba25d396dd5596e242e22c06bbd71d9e17168 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Sat Sep 1 10:42:05 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 643 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 326 insertions(+), 317 deletions(-) commit e2596ba2432a6417df35faa4410f07698c4fbb8a Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:17:05 2012 +0700 Updated Vietnamese translation po/vi.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22eaa16b7f9e7fc5c9eee4b58449fbc6639f6ece Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:16:36 2012 +0700 po/vi: import from Damned Lies po/vi.po | 630 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 302 insertions(+), 328 deletions(-) commit aefcd5922fff0800460570c6521a7456778c93b4 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 31 21:00:52 2012 +0200 Updated Galician translations po/gl.po | 665 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 337 insertions(+), 328 deletions(-) commit 55f7061097c3a7e6a381089dab65b9eed642408c Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Aug 20 06:02:31 2012 +0200 Bump max time in test_method_calls_on_proxy() test On slower platforms, the overhead of the 240 D-BUS Sleep calls is larger than the current maximum of 6 seconds. A run on a Panda board sometimes fails with ERROR:/build/buildd/glib2.0-2.33.8/./gio/tests/gdbus-threading.c:409:test_method_calls_on_proxy: assertion failed (elapsed_msec < 6000): (7365 < 6000) Bump maximum time to 8 seconds to be more resilient to this. https://bugzilla.gnome.org/show_bug.cgi?id=682222 gio/tests/gdbus-threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8297e8a3a0d63a69fd923219031438698a118759 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Aug 31 11:08:42 2012 +0300 Updated Greek translation po/el.po | 1946 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1017 insertions(+), 929 deletions(-) commit eec52a18c029fc4f494e92a59f3cd6665f0f1bbd Author: Piotr Drąg <piotrdrag@gmail.com> Date: Thu Aug 30 17:59:33 2012 +0200 Updated Polish translation po/pl.po | 639 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 323 insertions(+), 316 deletions(-) commit 40b4fae42e8c8ad306a1fab93a1e263354fef3d5 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 19:22:01 2012 -0400 Add ability to get symbolic icon for content type https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 1 + gio/gcontenttype.c | 79 ++++++++++++++++++++++++++++--------- gio/gcontenttype.h | 1 + gio/gio.symbols | 1 + gio/glocalfileinfo.c | 75 ++++++++++++++++++++++------------- 5 files changed, 110 insertions(+), 47 deletions(-) commit a15a071f35f2743451aa98b2b069b7eca975c7ea Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 18:56:53 2012 -0400 Add symbolic icon support to gfileinfo https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 3 ++ gio/gfileinfo-priv.h | 1 + gio/gfileinfo.c | 58 ++++++++++++++++++++++ gio/gfileinfo.h | 14 ++++++ gio/gio.symbols | 2 + gio/glocalfileinfo.c | 97 +++++++++++++++++++++++++++++-------- 6 files changed, 154 insertions(+), 21 deletions(-) commit a2dca48bf75efcc684cfc670b4552a2c5c77d1a2 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 15:37:43 2012 -0400 Add symbolic icon support to drive, volume, and mount We need symbolic icon support for display in Nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 5 +++ gio/gdrive.c | 30 ++++++++++++++++ gio/gdrive.h | 4 +++ gio/gio.symbols | 5 +++ gio/gmount.c | 32 +++++++++++++++++ gio/gmount.h | 3 ++ gio/gunixmount.c | 12 +++++++ gio/gunixmounts.c | 71 +++++++++++++++++++++++++------------ gio/gunixmounts.h | 4 +++ gio/gunixvolume.c | 11 ++++++ gio/gvolume.c | 32 +++++++++++++++++ gio/gvolume.h | 3 ++ gio/gwin32mount.c | 35 +++++++++++++----- 13 files changed, 217 insertions(+), 30 deletions(-) commit 88d181ef18b50018d4645870bc6d0a1283177f68 Author: Rui Matos <tiagomatos@gmail.com> Date: Wed Aug 29 19:18:45 2012 +0200 gdbus-tool: Check return value of strrchr() Fixes a crash when invoking gdbus like: $ gdbus emit --session -o / -s Foo https://bugzilla.gnome.org/show_bug.cgi?id=682965 gio/gdbus-tool.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5328f760ee80ced5dc44ed9c0e388ee00d7bf42d Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Aug 30 17:14:13 2012 +0800 Update gspawn-win*helper* Visual C++ projects Add GLIB_COMPILATION to the preprocessor definitions to fix the build. build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper.vcproj | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 6e4acf44b3a943906432a2bf55223ac107d8e0c2 Author: Dominique Leuenberger <dimstar@opensuse.org> Date: Fri Aug 17 11:10:41 2012 +0200 gshell: Fix parsing of comments in command lines. Fixes bug 562907 glib/gshell.c | 18 ++++++++++++++++++ glib/tests/shell.c | 2 ++ 2 files changed, 20 insertions(+) commit 9bca5bb49f0fc0585335abf476b7082e654878b6 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Aug 29 14:46:11 2012 -0400 appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris The files/uris parameters for these functions can be NULL, so we need an allow-none annotation here. gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e64ba58b90d1d834a6b5f61acec6755e4b80072 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:30:06 2012 -0400 Switch all open() calls to use g_open() Because it now handles EINTR. And we should do so. While most people use Linux, which tries very hard to avoid propagating EINTR back up into userspace, it can still happen. https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/glocalfile.c | 2 +- gio/glocalfileinfo.c | 4 ++-- gio/gresource-tool.c | 3 ++- gio/tests/gdbus-peer.c | 2 +- gio/tests/pollable.c | 3 ++- glib/giounix.c | 8 ++------ glib/gtestutils.c | 3 ++- glib/tests/mappedfile.c | 5 +++-- gobject/glib-genmarshal.c | 3 ++- 9 files changed, 17 insertions(+), 16 deletions(-) commit 2542b6f60492fadfb21f2c4a29976c3494c7e6c5 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:22:26 2012 -0400 xdgmime: Handle EINTR in open() https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/xdgmime/xdgmimecache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 62570a52b179fc521209444926d7945fc31210a4 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:29 2012 -0400 gio: don't quote quark names for G_DEFINE_QUARK gio/gioerror.c | 2 +- gio/gresolver.c | 2 +- gio/gresource.c | 2 +- gio/gtlsconnection.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4b602940e2c46d9f91acf91f67a6cd0b6ea05e13 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:56 2012 -0400 glib: don't quote quark names for G_DEFINE_QUARK glib/gbookmarkfile.c | 2 +- glib/gconvert.c | 2 +- glib/gfileutils.c | 2 +- glib/giochannel.c | 2 +- glib/gkeyfile.c | 2 +- glib/glib-unix.c | 2 +- glib/gmarkup.c | 2 +- glib/goption.c | 2 +- glib/gregex.c | 2 +- glib/gshell.c | 2 +- glib/gspawn-win32.c | 4 ++-- glib/gspawn.c | 4 ++-- glib/gthread.c | 2 +- glib/gvariant-parser.c | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) commit daae12710a890b974e57cc806b275248760ce131 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:14:35 2012 -0400 gquark: clarify G_DEFINE_QUARK docs about the use of quotes Use the term "name" instead of "string" in the documentation, and add a note explaining double quotes shouldn't be used for the quark name. glib/gquark.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 369c7689c24154ac04ac1dd528f99164fafb0541 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 05:52:24 2012 -0400 Add missing includes glib/gmarkup.c | 1 + glib/gshell.c | 1 + glib/gspawn-win32.c | 1 + glib/gspawn.c | 1 + glib/gvariant-parser.c | 1 + 5 files changed, 5 insertions(+) commit 60d2cb665ef4bc751b4a4a940ec2f336f57b5535 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:42:12 2012 -0400 Use G_DEFINE_QUARK for quarks in GIO gio/gioerror.c | 8 ++------ gio/gresolver.c | 7 +------ gio/gresource.c | 6 +----- gio/gtlsconnection.c | 7 +------ 4 files changed, 5 insertions(+), 23 deletions(-) commit b7d1518ce9f337a7ede1a659de31ff81dafcbac5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:37:41 2012 -0400 Fix a typo in a doc comment glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f12f7c029d8a4e7eaca633cb7e71c82a08be28d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:36:42 2012 -0400 Use G_DEFINE_QUARK for GLib's own quarks This commit just deals with glib/. gobject/ and gio/ will be handled in separate commits. glib/gbookmarkfile.c | 10 +--------- glib/gconvert.c | 6 +----- glib/gfileutils.c | 6 +----- glib/giochannel.c | 7 ++----- glib/gkeyfile.c | 7 +------ glib/glib-unix.c | 6 +----- glib/gmarkup.c | 6 +----- glib/goption.c | 7 +------ glib/gregex.c | 11 +---------- glib/gshell.c | 6 +----- glib/gspawn-win32.c | 13 ++----------- glib/gspawn.c | 13 ++----------- glib/gthread.c | 6 +----- glib/gvariant-parser.c | 11 +---------- 14 files changed, 17 insertions(+), 98 deletions(-) commit 702b44886572c657d552f3ec15e9794acd4265e5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:34:30 2012 -0400 Add a G_DEFINE_QUARK macro https://bugzilla.gnome.org/show_bug.cgi?id=627240 docs/reference/glib/glib-sections.txt | 1 + glib/gquark.c | 12 ++++++++++++ glib/gquark.h | 13 +++++++++++++ 3 files changed, 26 insertions(+) commit a1ff18582da002c93150d48f70aeab8b340f73ff Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:16:25 2012 -0400 Put quarks in their own source file Just because I'm too lazy to grep every single time for the other source file in which the quark code is hiding. glib/Makefile.am | 1 + glib/gdataset.c | 299 +---------------------------------------------- glib/gquark.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 349 insertions(+), 298 deletions(-) commit 030ebfb93b4c4c4525341ef81f9c548fcc6d8921 Author: Daiki Ueno <ueno@unixuser.org> Date: Fri Aug 24 15:43:02 2012 +0900 gsettings-tool: make list-recursively really recurse https://bugzilla.gnome.org/show_bug.cgi?id=682586 gio/gsettings-tool.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit a55298941072697324ac34990ebf455271f1b35b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 23:50:09 2012 -0400 GFile: Cosmetic doc changes gio/gfile.c | 5031 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2589 insertions(+), 2442 deletions(-) commit 0149f44f4a3c8874b8327eddcd58561f5707220a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:36:18 2012 -0400 Fix the GDBusProxy async test Patch by Mike Gorse, bug https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 2 -- 1 file changed, 2 deletions(-) commit 7e07ea8189547f7e044c418c914c4bc26f9cf6a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:35:56 2012 -0400 Make async permission tests work gio/tests/permission.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 375943ea215871c0fe6d1d02e970cb2d71c8445c Author: Mike Gorse <mgorse@suse.com> Date: Thu Apr 26 16:06:34 2012 -0500 Fix the gdbus-proxy async test The async test had several problems: - It created a proxy and did not launch a main loop, meaning that its callback would usually not get called, or, if it did get called, the test harness would have taken down the connection already, causing an assertion failure when the proxy had an error. - It was dependent on the proxy test to set up the server and would fail because some properties were modified by that test. https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) commit ce976bcac7294e72b3e94dda17fe5dfb157770d4 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 14:37:21 2012 -0400 gstdio: Harden g_open() against EINTR Noticed by code inspection, when auditing some of my code for EINTR handling. https://bugzilla.gnome.org/show_bug.cgi?id=682819 glib/gstdio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d54e10632a575963790d50661ae75692bb159b37 Author: Colin Walters <walters@verbum.org> Date: Wed Mar 28 13:53:37 2012 -0400 gvariant: Add tests for exact SHA256 checksums I'd like to use GVariant as a data format in my userspace filesystem, and having the actual bits be stable means I can reliably compute cryptographic checksums. This updated patch removes vardict checks, because Ryan wants the flexibility to change them in the future. https://bugzilla.gnome.org/show_bug.cgi?id=673012 glib/tests/gvariant.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 7936af693477f5b8dfeef4e0d90e6fa4531cf395 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 27 16:12:30 2012 -0400 GVariantType: gut g_variant_type_check() This function is causing an insane amount of wasted time on some real-world profiles and it's pretty useless since we already have GVariantType (as a type different from a string) for the purpose of static type safety. Disable it for now. We can possibly turn this back on again if we solve bug #544026. https://bugzilla.gnome.org/show_bug.cgi?id=679835 glib/gvarianttype.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b53e95f3eb98fc7ba1527e225c32bb4ee2892746 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Mon Aug 27 23:39:52 2012 +0530 Implemented FUEL entries to Assamese translation po/as.po | 260 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 130 insertions(+), 130 deletions(-) commit 1a2c5e155deacb7ebeb8d0ca2c800a97a90a7ab9 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:48:49 2012 -0400 glib/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/tests/asyncqueue.c | 4 + glib/tests/bookmarkfile.c | 3 +- glib/tests/checksum.c | 13 +- glib/tests/collate.c | 15 +- glib/tests/cond.c | 9 + glib/tests/convert.c | 1 + glib/tests/dataset.c | 2 + glib/tests/fileutils.c | 2 + glib/tests/gwakeuptest.c | 1 + glib/tests/mainloop.c | 33 +- glib/tests/markup-parse.c | 3 +- glib/tests/option-context.c | 8 +- glib/tests/queue.c | 6 +- glib/tests/regex.c | 963 ++++++++++++++++++++------------------- glib/tests/spawn-multithreaded.c | 7 +- glib/tests/spawn-singlethread.c | 8 +- glib/tests/string.c | 2 + glib/tests/timeout.c | 6 +- glib/tests/unix.c | 4 +- 19 files changed, 596 insertions(+), 494 deletions(-) commit 0c0cdfd9c4a9d57aae0fb50b5e18cab6ba9e1a76 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:29:36 2012 -0400 gtestutils: add g_test_add_data_func_full() Like g_test_add_data_func(), but includes a GDestroyNotify for the test data. https://bugzilla.gnome.org/show_bug.cgi?id=682560 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gtestutils.c | 28 ++++++++++++++++++++++++++++ glib/gtestutils.h | 7 +++++++ 4 files changed, 37 insertions(+) commit 242737822357c9a686df69bdb888b0d42caf1d5c Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:38:17 2012 -0400 gmain: remove unix signal watch if its GSourceFunc returns FALSE g_unix_signal_watch_dispatch() was ignore the callback's return value. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 99c7c951d99c180a5f5832d922b4f3f58380a1cd Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:35:20 2012 -0400 gmain: don't leak child sources that are destroyed before their parents A parent source holds refs on its children, so if the child source is destroyed, we need to drop that ref. Fix, and reorganize to make this all more obvious. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 48a9887eae1058b055994c832b26a8ab9876db57 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:33:43 2012 -0400 gmain: free source_lists when freeing GMainContext If a context was freed with sources still attached, those sources correctly got destroyed, but the corresponding GSourceList structs were being leaked. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b901aaf6731d836b036aa1cee63087aa3fdc0768 Author: Dan Winship <danw@gnome.org> Date: Sun Aug 26 14:40:13 2012 -0400 Update .gitignores gio/tests/.gitignore | 2 ++ tests/.gitignore | 1 + 2 files changed, 3 insertions(+) commit ac7c050d377f6815534074b855cdf74f02cf96b2 Author: Colin Walters <walters@verbum.org> Date: Sat Aug 25 17:13:43 2012 -0400 docs: Ensure CLEANFILES is set before we use += We need to be defensive about this in the case where gtk-doc.make is empty. docs/reference/gio/Makefile.am | 1 + docs/reference/glib/Makefile.am | 1 + docs/reference/gobject/Makefile.am | 1 + 3 files changed, 3 insertions(+) commit dbad8304ff123f7fe242bdd8a8cfcb7eef8afce6 Author: William Jon McCann <jmccann@redhat.com> Date: Fri Aug 24 13:32:25 2012 -0400 Don't crash if set_app_info is called before adding metadata set_mime_type, set_is_private, add_group, set_groups, set_icon, etc all added metadata before using it. If set_app_info was called before any of those it would crash when trying to access the metadata. glib/gbookmarkfile.c | 3 +++ 1 file changed, 3 insertions(+) commit dbf9f7a2882c240fe48ab441de7e015638686ccc Author: OKANO Takayoshi <kano@na.rim.or.jp> Date: Thu Aug 23 19:15:09 2012 +0900 [l10n] Update Japanese translation po/ja.po | 1174 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 680 insertions(+), 494 deletions(-) commit 462c48acad4efe9db5afd3c7d8e3e0342a591bea Author: A S Alam <aalam@users.sf.net> Date: Thu Aug 23 07:57:51 2012 +0530 update Punjabi Translation po/pa.po | 1401 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 764 insertions(+), 637 deletions(-) commit 12494f697ffd2117ec607d62a04c5a97e32e8482 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Aug 22 22:36:15 2012 +0200 Updated Polish translation po/pl.po | 1039 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 585 insertions(+), 454 deletions(-) commit 0b6fdff05cc10f5e639a39dd4b79e01a025ad2d5 Author: Colin Walters <walters@verbum.org> Date: Wed Aug 22 14:48:41 2012 -0400 Fix regression when TMPDIR/TMP are unset We should just be returning /tmp as a default, not calling g_getenv ("/tmp") which makes no sense. https://bugzilla.gnome.org/show_bug.cgi?id=672329 glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad20e074c4aa6492c5334870515f48c3a23e051c Author: Kjartan Maraas <kmaraas@gnome.org> Date: Wed Aug 22 10:29:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 225 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 116 insertions(+), 109 deletions(-) commit e77f3ea0d8194e421fc7dd18032622f8b8a85c2e Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 09:15:00 2012 +0700 Updated Vietnamese translation po/vi.po | 90 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 37 insertions(+), 53 deletions(-) commit eab38232de82ae19cc3c12a67861e0f1d82191ca Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 08:51:44 2012 +0700 po/vi: imported from Damned Lies po/vi.po | 952 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 543 insertions(+), 409 deletions(-) commit 4a89e2ee7d7a46a52272a6b4197cb3af998d0a49 Author: Duarte Loreto <happyguy_pt@hotmail.com> Date: Wed Aug 22 00:54:09 2012 +0100 Updated Portuguese translation po/pt.po | 1260 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 715 insertions(+), 545 deletions(-) commit 221bbd8d76670d00f7b574ac77ca49ef9a9fb4dd Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 21 16:32:17 2012 -0400 *bump* thanks rico :) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3655be2111ee38839fe2a1fd001923d1d4ad7be Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Aug 21 21:10:16 2012 +0200 win32: fix tests/sources.c "make check" was failing on sys/resource.h not being available on win32. Seeing that this test just spews some numbers on stdout whithout really testing anything we can safely replace them with similar enough numbers by relying on g_get_monotonic_time (). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682386 tests/sources.c | 78 +++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) commit 7518f7a674723ded4cbb32d780c594c5d515af70 Author: Stef Walter <stefw@gnome.org> Date: Tue Aug 21 13:26:27 2012 +0200 Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props" * In order to add contstruct properties to an abstract base calls, and retain ABI stability, the base class must add a default implementation of those properties. * We cannot add a default implementation of certificate-bytes or private-key-bytes since certificate and private-key properties are writable on construct-only. This reverts commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0. https://bugzilla.gnome.org/show_bug.cgi?id=682081 gio/gdummytlsbackend.c | 4 --- gio/gtlscertificate.c | 59 +++++++++------------------------------------ gio/tests/gtesttlsbackend.c | 6 ----- 3 files changed, 11 insertions(+), 58 deletions(-) commit a8c784df58b7af490d0b08e74bd6f1085da692df Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 17 10:55:10 2012 +0200 gdbus: Fix double free and use after free of object path * This occurs when the 'g-object-path' property is read on a GDBusObjectSkeleton https://bugzilla.gnome.org/show_bug.cgi?id=682075 gio/gdbusobjectskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2222b657ded5b0c59999f63ff74534726235d7eb Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 21 19:16:27 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 81 +++++++++++++++++++++++++++++-------------------------------- po/zh_TW.po | 81 +++++++++++++++++++++++++++++-------------------------------- 2 files changed, 78 insertions(+), 84 deletions(-) commit 0d8a81b722e18092062f83b7fd8c0b3a5f4d613a Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 20 19:46:33 2012 +0200 mount-op: use gint64 instead of guint64 for time_left and bytes_left Since those can be -1, they need to be signed. https://bugzilla.gnome.org/show_bug.cgi?id=682284 gio/gmountoperation.c | 9 +++++---- gio/gmountoperation.h | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) commit ac8c13d25c86e62f04bbfb7ac21fc9fb6eb02337 Author: Andika Triwidada <andika@gmail.com> Date: Tue Aug 21 13:53:46 2012 +0700 Updated Indonesian translation po/id.po | 90 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 44 deletions(-) commit ed40bf6715763045457cd6123b3882222c818cde Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:25 2012 -0400 NEWS, versions, etc. NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit 59394b3e1e3b3907b4dc18de4067e5476b4c1649 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:46 2012 -0400 Revert the GMarkup attribute collect changes We need to have some more discussion on this topic. This reverts commits 86329ba44fc7662c0bad37955f0ec980a24be495 and 8d40389d15544bdc612989157f80380badce52f7. https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 - gio/gdbusintrospection.c | 100 ++++++++-------- glib/glib.symbols | 1 - glib/gmarkup.c | 218 +++++++++++----------------------- glib/gmarkup.h | 9 -- glib/tests/markup-collect.c | 125 +++++++------------ 6 files changed, 165 insertions(+), 289 deletions(-) commit 850680d751812e3d7fbc4052a8c56ad90e20a3fa Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 17:57:13 2012 -0400 gmarkup test: fix use of message expect API glib/tests/markup-collect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56210220a2c86b099ca7757b67a3ef7fb2366d3d Author: Dan Winship <danw@gnome.org> Date: Mon Aug 20 17:26:45 2012 -0400 tests/protocol: update the messages to reflect G_LOG_DOMAIN being set now glib/tests/protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d06c7a911ea28d9d8019b901f71bd12cfa2dd64d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 16:25:09 2012 -0400 g_test_expect_message: add some g_return_if_fail NULL domain is not supported and some might expect this to work, so make sure they don't get the wrong idea... glib/gmessages.c | 4 ++++ 1 file changed, 4 insertions(+) commit 07fadc7932713145ec429394c9ebf2a87bd09b75 Author: Lars Uebernickel <lars.uebernickel@canonical.com> Date: Mon Aug 20 14:32:14 2012 +0200 GMenuModel: add test for the new GMenuItem API gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6798fcdd0f3c1b96c3c0e8561ea81e9a05f2005f Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:24:46 2012 -0400 GMenuItem: add constructor to copy from model Add g_menu_item_new_from_model() for constructing a GMenuItem that is a copy of a menu item that's in a GMenuModel. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmenu.c | 87 +++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 4 ++ 4 files changed, 93 insertions(+) commit 99478dd893fab44f3672cbacce3c87b6dec3bb58 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:20:59 2012 -0400 GMenuItem: add getter APIs GMenuItem has been write-only up to this point. Add some APIs for reading back values as well. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gmenu.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 13 ++++ 4 files changed, 137 insertions(+) commit ad79b0f8efdb72e9c4b337dffa62521e7fa2a89a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:14:21 2012 -0400 GMenuModel: remove a type safety bug There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it. gio/gmenumodel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 34653169e5653b95d61c461f088e6016f042d08a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:12:55 2012 -0400 GVariant: add g_variant_check_format_string() For some time now people have been asking for a way to check for type compatibility between GVariant instances and format strings. There are several APIs inside of GLib itself that would benefit from this. This patch introduces a way to do that. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 104 ++++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +- glib/tests/gvariant.c | 54 ++++++++++++++++++ 5 files changed, 163 insertions(+), 1 deletion(-) commit 6a6b64ef4d9f2985eaf1cb727398019359b4b4f4 Author: Aurimas Černius <aurisc4@gmail.com> Date: Mon Aug 20 23:10:25 2012 +0300 Updated Lithuanian translation po/lt.po | 1694 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 847 insertions(+), 847 deletions(-) commit cc24dac3c8edbe2068ba15522bb5d937602082dc Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:38:30 2012 -0400 glib/tests: use g_test_expect_message() Replace some tests that used to use g_test_trap_fork() with g_test_expect_message() instead. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/Makefile.am | 1 + glib/tests/error.c | 45 ++++++------ glib/tests/gvariant.c | 56 ++++++++------- glib/tests/mainloop.c | 11 ++- glib/tests/markup-collect.c | 20 +++--- glib/tests/strfuncs.c | 163 ++++++++++++++++++++++---------------------- 6 files changed, 159 insertions(+), 137 deletions(-) commit 25ac137c0a47ccc5214dabeaa41da18dac2b0cee Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:05:08 2012 -0400 gtestutils: add g_text_expect_message() Add g_test_expect_message() and g_test_assert_expected_messages(), to allow tests of warnings, error messages, return-if-fails, etc. https://bugzilla.gnome.org/show_bug.cgi?id=679556 docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 2 + glib/gmessages.c | 466 +++++++++++++++++++++------------- glib/gtestutils.h | 10 + glib/tests/testing.c | 86 +++++++ 5 files changed, 397 insertions(+), 171 deletions(-) commit 78a8aecbb339f620e87711389f56308c219d443f Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 15:32:31 2012 -0400 g_logv: only expand the message once Hoist the g_strdup_printf()'ing out of the loop, since the message is the same for every handler that gets called. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/gmessages.c | 60 +++++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit f78931c4abf217fce0eca890da411c1c1c983d45 Author: Dan Winship <danw@gnome.org> Date: Wed Aug 1 09:49:10 2012 -0400 glib/tests/testing, logging: don't use g_test_undefined() We are verifying the behavior of the test/logging functions here; this is not undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/logging.c | 54 ++++++++++++++++++++-------------------------------- glib/tests/testing.c | 32 ++++++++++--------------------- 2 files changed, 31 insertions(+), 55 deletions(-) commit d9f6314f57cad9940938165421c1efc09636147b Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 02:04:08 2012 +0200 win32: add pipe-io-cancel-test Test that win32 streams can be cancelled. It can even be tested with wine on Linux! https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/tests/win32-streams.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit b9b2cf6a666af907d775a871d76b5b6871b4a6bd Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:02:40 2012 +0200 win32: add pipe-io-concurrent Implement test case suggested by Ryan Lortie on bug: https://bugzilla.gnome.org/show_bug.cgi?id=679288 "There is a potential race here that's really unlikely to happen, but here we go: We are trying to read from the same socket in two threads. Some data comes. That causes the poll() in both threads (above) to finish running. Then the cancellable is checked above. We now find ourselves here. Only one thread will read the data. The other will block on this function. Then the user may cancel the cancellable while we are blocked here, but we will stay blocked...." gio/tests/win32-streams.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 1c1ba8b5122295651400eed3f3fb3b9f69f0ac47 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Aug 20 15:47:15 2012 +0200 win32: add pipe-io-overlap-test gio/tests/win32-streams.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit b9d7b80897d79cb43c4a795c7d9d3d9a24e140cc Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Fri Jul 6 00:46:32 2012 +0200 win32: make gio stream cancellable v2: - fix cancellation of concurrent readers - replace g_assert() usage with g_warn_if_fail() v3: - fix indentation - fix loop code to not leak (silly me) https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 4b5d762d5d73af90de49801ecc1da52d4cd86d6f Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:08:15 2012 +0200 win32: handle ERROR_MORE_DATA If a named pipe is being read in message mode and the next message is longer than the nNumberOfBytesToRead parameter specifies, ReadFile returns FALSE and GetLastError returns ERROR_MORE_DATA. Since the API doesn't allow to return both a GError and the number of bytes read so far, it makes more sense to return nread, and let the client call GetLastError() himself to check if ERROR_MORE_DATA. The current alternative loses the nread information. https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gwin32inputstream.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 23d80a04da43c08f4ea626283607a7546d7a56db Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 2 21:45:41 2012 +0200 win32: use overlapped events for streams Any file handle created with FLAG_OVERLAPPED must have ReadFile()/WriteFile() called with an OVERLAPPED structure. Failing to do so will give unspecified results, invalid read/write or corruption. Without FLAG_OVERLAPPED, it is not possible to read and write concurrently, even with two seperate threads, created by 2 input and output gio streams. Also, only with FLAG_OVERLAPPED may an IO operation be asynchronous and thus be cancellable. We may want to call ReOpenFile() to make sure the FLAG is set, but this API is only available since Vista+. According to MSDN doc, adding the OVERLAPPED argument for IO operation on handles without FLAG_OVERLAPPED is allowed, and indeed the existing test still passes. v2: - update GetLastError() after _g_win32_overlap_wait_result () - split the unrelated ERROR_MORE_DATA handling https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 28 +++++++++++++++++++++++ gio/gasynchelper.h | 11 +++++++++ gio/gwin32inputstream.c | 58 ++++++++++++++++++++++++++++++++++++------------ gio/gwin32outputstream.c | 53 ++++++++++++++++++++++++++++++++----------- 4 files changed, 123 insertions(+), 27 deletions(-) commit 96a0c589eec8e66f0d879c2a0979df6fd2c23dde Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> Date: Mon Aug 20 16:41:42 2012 +0200 gmem.c: array is only paritally filled by memcpy The size of the local_data arrray is too large. It should not be multiplied by the sizeof guint. The memcpy of profile_data to local_data later will only fill a part of the array. Spotted with the PVS-Studio static analyzer https://bugzilla.gnome.org/show_bug.cgi?id=681501 glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248cc2c8858a2c60b9aaaa7706ef3a7f5bce84cc Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Aug 20 14:15:39 2012 +0200 Updated Spanish translation po/es.po | 348 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 190 insertions(+), 158 deletions(-) commit cbf346ce53887e7e40f38c0945f94ff672fa114e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:27:04 2012 -0400 Remove some more 'the the' gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:42 2012 -0400 Improve test coverage for GSocketConnection gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) commit cc5d7ccdba6e46548a1e895db1d8dab3409278b8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:05 2012 -0400 Improve test coverage for unix socket addresses gio/tests/unix-fd.c | 4 ++++ 1 file changed, 4 insertions(+) commit 63eaeb223b9b773e055acc1a8fc7637e4a676b82 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:37 2012 -0400 Improve test coverage for resources gio/tests/resources.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit beea8c5c847a7bf46ae77d834ed7cc3fb6822c5c Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:21 2012 -0400 Improve test coverage for filter streams gio/tests/filter-streams.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit b22f4a2dd2c05038f45485b850f3ba04bf28afb9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:02 2012 -0400 Improve test coverage for unix streams gio/tests/unix-streams.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 3afec2b87282b25233add6bcdfb9af4657f40ddd Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:44 2012 -0400 Improve test coverage for pollable streams gio/tests/pollable.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit eeb4951c47d6a869d50590a9a81afbb99f63b5f3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:04 2012 -0400 Improve GSettings test coverage gio/tests/gsettings.c | 81 +++++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 2 files changed, 83 insertions(+), 1 deletion(-) commit f89e9deaec3bf279eac5073a30d6d3d7b2a1568b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:23:32 2012 -0400 Improve GAppInfo test coverage gio/tests/appinfo-test.desktop | 8 ++++-- gio/tests/appinfo.c | 60 +++++++++++++++++++++++++++++++++++++++++- gio/tests/mimeapps.c | 21 ++++++++++++--- 3 files changed, 83 insertions(+), 6 deletions(-) commit 35bf77445bcce900fa6007290ac8226107763b94 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:59 2012 -0400 Add some GInetAddress tests gio/tests/Makefile.am | 4 + gio/tests/inet-address.c | 365 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) commit 867ad1cebc002d881e9e113277e8ea2e03cdaaf1 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:33 2012 -0400 Add some GPermission tests gio/tests/Makefile.am | 4 ++ gio/tests/permission.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) commit 2687d921e15e4aead3af4867fcd6220088085d7a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:21:02 2012 -0400 Cosmetic change gtk-doc doesn't need <!-- --> anymore to recognize plural forms of links. gio/gpollableinputstream.c | 2 +- gio/gpollableoutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dbcd27eeea8181810c8ddefd116ce474bea8496 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:19:27 2012 -0400 Make GPermission more forgiving It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error. gio/gpermission.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) commit 4a8740d0d23077cf9be99dfd3cf583ba33595279 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:17:47 2012 -0400 It is 'registered', not 'registred' gio/gresource.c | 12 ++++++------ gobject/gparam.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit e27367f341e56bd951ea4b6fb42ef23cd0598c65 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:15:58 2012 -0400 Exterminate 'the the' gio/gdbusprivate.c | 2 +- gio/gioenums.h | 2 +- gio/gproxyaddress.c | 2 +- gio/gzlibcompressor.c | 2 +- glib/gmain.c | 14 +++++++------- glib/gmarkup.c | 2 +- glib/gspawn.h | 2 +- gobject/gvalue.h | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) commit 96ed9e41f436412dbc0628cf45ecd460e9823089 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:42:10 2012 -0400 Improve utils test coverage glib/tests/utils.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit cb8f88ca9fc87a65c7df69164e0ea8a905fc224b Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:48 2012 -0400 Improve uri test coverage glib/tests/uri.c | 3 +++ 1 file changed, 3 insertions(+) commit 2c338e21d6f86bad96283d5388991dc4c4b34361 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:35 2012 -0400 Improve strfuncs tests coverage glib/tests/strfuncs.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 58c7747c50c98331769bc4d68f341652c42063c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:23 2012 -0400 Improve GRegex test coverage glib/tests/regex.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a7e10fa0b6c1772b8be49f17bb3e1eeb3477c26c Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:07 2012 -0400 Improve GPrivate test coverage glib/tests/private.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit aad40b89fe0539eede3a66e2fe2fc8b9c8f5c420 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:33 2012 -0400 Improve file utils test coverage glib/tests/fileutils.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) commit 6e1d205ad30e9a3c031d0660f909dbed8665dee4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:15 2012 -0400 Improve GError test coverage glib/tests/error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e181234fe5bbf80be3973d4803bce68887a771c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:52 2012 -0400 Improve atomic ops test coverage glib/tests/atomic.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06d837b6a3ac59f8e997d9f745136d48b85ecb38 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:28 2012 -0400 Improve array test coverage glib/tests/array-test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 373dcaea567281b977e76d812a73d2ee201d2745 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:38:53 2012 -0400 Improve threadpool test coverage tests/threadpool-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a946892b1e80aabcf33eb9783ce1cacaf6162e97 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 17 23:17:51 2012 +0200 Updated Galician translations po/gl.po | 550 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 276 insertions(+), 274 deletions(-) commit 2360d04e50d744a6db42a0a24418ecd272b45a8e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Thu Aug 16 22:06:45 2012 -0400 Fix problems with CLEANFILES and automake-1.11.1 Running with automake-1.11.1, a couple fixes are needed for CLEANFILES when gtk-doc is not installed. (Found with Amazon Linux AMI release 2012.03) https://bugzilla.gnome.org/show_bug.cgi?id=682067 autogen.sh | 5 ++++- glib/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit fdcdcf4f2f7a382d8b8d00842524bbd9aa82d3e0 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:43:40 2012 +0530 Updated Telugu Translations po/te.po | 104 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 57 deletions(-) commit a53ccea814fa052a7d2aaa543cf2483b4f455cb4 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:22:00 2012 +0530 Updated Telugu Translations po/te.po | 1077 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 628 insertions(+), 449 deletions(-) commit 2954f70d39198e67ff6a364a4f5c275381af1a75 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Fri Aug 17 19:22:43 2012 +0800 Fix build on Visual C++ -glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not be universally available. -gio/gtestdbus.c: Include io.h on Windows for close() gio/gtestdbus.c | 3 +++ glib/gmarkup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 69124b2dc4587f9c978648e38c548c50352ef930 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Fri Aug 17 12:59:44 2012 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 253 +++++++++++++++++++++++++++++++-------------------------- 2 files changed, 278 insertions(+), 228 deletions(-) commit f116437c7e73035a72ce45cb47c4518df604711a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Aug 17 14:22:32 2012 +0530 Assamese translation updated po/as.po | 318 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 147 deletions(-) commit 56e9f896c691cb99ebd4f4d20a507760c0f445fa Author: Sandeep Sheshrao Shedmake <sshedmak@redhat.com> Date: Fri Aug 17 12:24:15 2012 +0530 Updated Marathi Translations po/mr.po | 1372 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 780 insertions(+), 592 deletions(-) commit 86a4fd6fa98de29f7ee05ba655a00e4c42f11756 Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 11:15:08 2012 +0000 docs: Describe GCompletion item memory management https://bugzilla.gnome.org/show_bug.cgi?id=600751 glib/deprecated/gcompletion.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit b13a79aeb45e0630482202372e136ea264a24e5f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 01:14:51 2012 -0400 Adapt schema tests to changed error messages gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 056d39c9f7e058397beaed7b4f5637857510b4e2 Author: Colin Walters <walters@verbum.org> Date: Tue May 29 18:54:58 2012 -0400 GMappedFile: Add g_mapped_file_get_bytes() This is yet another API that has a data/length/refcount combination that one might often want to turn into a GBytes. https://bugzilla.gnome.org/show_bug.cgi?id=677065 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmappedfile.c | 24 ++++++++++++++++++++++++ glib/gmappedfile.h | 2 ++ glib/tests/mappedfile.c | 19 +++++++++++++++++++ 5 files changed, 47 insertions(+) commit b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 00:27:10 2012 -0400 GDateTime: pack the struct better Makes a difference in 32bit. glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 86329ba44fc7662c0bad37955f0ec980a24be495 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:41:19 2012 -0400 gdbus: Use g_markup_collect_known_attributes() in GDBus introspection In order to be able to cope with the introspection XML from the Telepathy specification, which uses attributes like tp:type and tp:name-for-bindings, we need to ignore unknown attributes when parsing. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 100 ++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-) commit 8d40389d15544bdc612989157f80380badce52f7 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:40:08 2012 -0400 gmarkup: Add g_markup_collect_known_attributes() Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmarkup.c | 218 +++++++++++++++++++++++----------- glib/gmarkup.h | 9 ++ glib/tests/markup-collect.c | 125 ++++++++++++------- 5 files changed, 242 insertions(+), 112 deletions(-) commit 21aff13d22257ae786bbf39bd68f24f448205bfc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:23:16 2012 -0400 Fix 'make report' Turns out this doesn't work unless every Makefile.am includes Makefile.decl. gio/gdbus-2.0/codegen/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6bee6dbce53310935dce7cb1de73e0b0be36f988 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:02:41 2012 -0400 Miscellaneous string fixes Typo and punctuation fixes, and some rewording, based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gdbusaddress.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gicon.c | 2 +- gio/glib-compile-schemas.c | 12 ++++++------ gio/gsocket.c | 6 +++--- gio/gsocketclient.c | 4 ++-- gio/gsocks5proxy.c | 4 ++-- glib/gregex.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) commit e4dc223e9d1778f21c8267171dd6562ba82634c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:47:43 2012 -0400 Make capitalisation of "UNIX" consistent in translatable strings Based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 191f09b04409202fc88fc88f5e05c16d4cdfa86c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:23:20 2012 -0400 Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:17:46 2012 -0400 Fix leak in GWinHttpVfs Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/win32/gwinhttpvfs.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ef1e56479db644cff6717a838a8e63a54ce54da Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:15:54 2012 -0400 Fix leak in GFileAttributeInfoList Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/gfileattribute.c | 1 + 1 file changed, 1 insertion(+) commit bf3262dd935ecbe72374311447de1f1c70a43fcc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 20:18:37 2012 -0400 GTest: Improve --help output https://bugzilla.gnome.org/show_bug.cgi?id=550433 glib/gtester.c | 33 +++++++++++++++--------------- glib/gtestutils.c | 61 ++++++++++++++++++++++--------------------------------- 2 files changed, 41 insertions(+), 53 deletions(-) commit 55ca95c2203cb483439aae9b1f282b93f32f621c Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 14:42:58 2012 +0000 docs: Improve G_GNUC_* documentation Mention where the GCC attributes should be placed for functions and arguments. Add an example for G_GNUC_UNUSED. https://bugzilla.gnome.org/show_bug.cgi?id=326931 glib/docs.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 17 deletions(-) commit 2ccf64ba59cfcc472a658b036b8a919aa081ea7f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 18:44:41 2012 -0400 Improve glib-genmarshal man page Expand the example in glib-genmarshal.1 to include the actual commandline invocations, and update the generated function names to match reality. https://bugzilla.gnome.org/show_bug.cgi?id=637460 docs/reference/gobject/glib-genmarshal.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit aa50b8aec31df6951070ed9674ab3b14dc6d2759 Author: Colin Walters <walters@verbum.org> Date: Thu Aug 16 18:31:02 2012 -0400 build: Fix the --disable-man case The manpage listing needs to be inside the conditional. docs/reference/gio/Makefile.am | 8 +++++--- docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/gobject/Makefile.am | 7 +++++-- 3 files changed, 15 insertions(+), 8 deletions(-) commit d7e1d51fc94b79dfa4243f3b9aa6eafbe169ed6f Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 12:57:43 2012 -0400 Add tests for g_file_make_directory_with_parents() Add tests to catch recent regressions with g_file_make_directory_with_parents() https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/tests/live-g-file.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit f899358156a34d1b5258d1fcdeb289e7b2bbf233 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:25:56 2012 -0400 g_file_make_directory_with_parents: clean up logic Simplify logic by only looking at whether we have a GError and not also using return codes. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 5291190f46614c9e1491599af345f9c41c74967e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:20:16 2012 -0400 g_file_make_directory_with_parents(): fix a corner case If g_file_get_parent() unexpectedly failed, we could return FALSE but with no error. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 732470a3594351ffc3d085a755271844c462e9c8 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:00:14 2012 -0400 g_file_make_directory_with_parents: refix error propagation The patch from b0bce4ad triggered segfaults - see: http://redmine.yorba.org/issues/5656 We were clearing the error before dereferencing it in the next go-around of the while loop - this wasn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b60168a5f5b4bcfa8f8ed175cd18a0cfaea96063 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 10:01:47 2012 -0400 Remove man page placeholder generation I don't see a good reason for this - if man page generation is disabled, man pages are not produced, and things like 'make dist' will fail. That is simpler and better. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 15 +-------------- docs/reference/glib/Makefile.am | 15 +-------------- docs/reference/gobject/Makefile.am | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) commit 4cd5a63f12357b6ed6314cfed237965dba0aaeae Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:57:48 2012 -0400 Clean up man pages on 'clean' Follow the automake heuristic that says "if 'make' created it, 'make clean' should remove it". https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ce531302cd3b562a284da24ef425108d3466a7fb Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:55:29 2012 -0400 Make --enable-man and --enable-gtk-doc independent Previously, --enable-man --disable-gtk-doc would silently skip man page generation, because we didn't even desdend into docs/reference. Fix this by always going there. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 317d91d06bc3bcdef91f98a7a75489977aa154e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 17:21:03 2012 -0400 Fix an example Pointed out by Chandni Verma in https://bugzilla.gnome.org/show_bug.cgi?id=682025 docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8a5fc2e2e548e72526b4d69f1c04a78030e47d4 Author: Javier Jardón <jjardon@gnome.org> Date: Wed Aug 15 02:45:10 2012 +0900 Revert "Use upstream gettext instead the glib one" Commited by mistake This reverts commit e930e3b3aac2fe4d62996d8033121a40153f2da3. autogen.sh | 4 - configure.ac | 15 ++- gio/Makefile.am | 1 - glib/Makefile.am | 1 - po/Makefile.in.in | 280 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/Makevars | 66 ------------- 6 files changed, 293 insertions(+), 74 deletions(-) commit 6b201748b5f71f74af02ba8c01fd4c53750f910a Author: Sebastian Geiger <sbastig@gmx.net> Date: Thu Aug 9 23:01:29 2012 +0200 compiling.xml: Add note and fix gcc example Because of the '--as-needed' default option for the linker, the linking will fail, if the file name appears after any of the options or the pkg-config invocation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854 docs/reference/glib/compiling.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e930e3b3aac2fe4d62996d8033121a40153f2da3 Author: Javier Jardón <jjardon@gnome.org> Date: Mon May 16 13:23:47 2011 +0100 Use upstream gettext instead the glib one autogen.sh | 4 + configure.ac | 15 +-- gio/Makefile.am | 1 + glib/Makefile.am | 1 + po/Makefile.in.in | 280 ------------------------------------------------------ po/Makevars | 66 +++++++++++++ 6 files changed, 74 insertions(+), 293 deletions(-) commit f92a3525f79ecb53d470c00797b71c12860eb05b Author: Dirgita <dirgitadevina@yahoo.co.id> Date: Mon Aug 13 06:04:31 2012 +0700 Updated Indonesian translation po/id.po | 6031 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3358 insertions(+), 2673 deletions(-) commit ddfcfa66ae602c11ce9c4bfc426a79d668653278 Author: Colin Walters <walters@verbum.org> Date: Tue Aug 7 17:26:43 2012 -0400 build: Switch back to using AS_IF for conditionals See https://bugzilla.gnome.org/show_bug.cgi?id=674483 https://bugzilla.gnome.org/show_bug.cgi?id=681413 configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e5ad42c6127e0c4c3c5c6567e137305fbeee4fbc Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 7 13:36:35 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 183 ++++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 183 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 180 insertions(+), 186 deletions(-) commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0 Author: Stef Walter <stefw@gnome.org> Date: Mon Aug 6 18:20:48 2012 +0200 gtlscertificate: Add certificate-bytes and private-key-bytes props * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319 gio/gdummytlsbackend.c | 4 +++ gio/gtlscertificate.c | 59 ++++++++++++++++++++++++++++++++++++--------- gio/tests/gtesttlsbackend.c | 6 +++++ 3 files changed, 58 insertions(+), 11 deletions(-) commit 69dd29296e2ff691f7d305ad7686d9c2e0d6e158 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 16:20:36 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b43310ef41cde26978c261cf1c0e2715adf732d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 15:56:26 2012 -0400 GLib 2.33.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55a2a2005cd45932bda56810aecbc5ac784fb4d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:21 2012 -0400 Don't use GIO in GTestDBus setup Using GIO here may cause the gvfs module to be loaded, which in turn gets onto the session bus to talk to gvfsd - not ideal if you are trying to control the session bus life cycle. Instead, just use old-fashioned glib file utils. gio/gtestdbus.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 197ebb3be4fe01ac5da536157a9b6951f2871d01 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:04 2012 -0400 More updates NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cc80ae321fdfdcc90596940c8161861d25b20eed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:55:59 2012 -0400 Solaris build fix for GIO Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h. This commit adds a configure check for this header, and includes it conditionally in gio/gsocket.c. Patch by Fabian Groffen, bug 675524. configure.ac | 2 +- gio/gsocket.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit bd883f8dc75f056c2b25e941fb09422dc5786bbe Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 13:03:38 2012 -0500 gio/tests/g-icon.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 291853bea3881a7eeb0f2c56946d3a1c0ef38c95 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 12:42:10 2012 -0500 gicon: make g_icon_new_for_string() recognize win32 paths (but for compatibility, make it still recognize unix paths on win32 too) https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/gicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26f1e0938eeb61c7f93b651aa316e33f3b0d6292 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:35:26 2012 -0500 gio/tests/file: skip the file monitor tests if using GPollFileMonitor test_create_delete() assumes that if it creates a file and then immediately deletes it, that the file monitor will notice this and record it as a create followed by a delete. But that won't work with GPollFileMonitor, which will just think nothing changed. So skip the test in that case. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/file.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 2793b39ea3de4fdac5cf154c7a12ac7ba82657d2 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:12:02 2012 -0500 gio/tests/g-file.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-file.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 5c91af7e41443252857cdcf6fe0f0dabdc0b5250 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:10:50 2012 -0500 glocalfile: fix g_file_get_parse_name() on win32 When getting the parse name for a file: URI on win32, we were not translating "\" to "/", resulting in incorrect output. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/glocalfile.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit b2ddbd8f556c41f4d076c4cc4788684a9c84e7a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:03:42 2012 -0400 Plug a minor memory leak in GDBusObjectProxy As pointed out by Patrick Ohly in bug 680505, GDBusObjectProxy was forgetting to free its object_path. gio/gdbusobjectproxy.c | 2 ++ 1 file changed, 2 insertions(+) commit be7095980e90a8d8e76e678dc085423d2717c3bd Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 13:12:15 2012 +0100 gobject docs: Remove confusing acronym In the wikipedia disambiguation page[1] the only entry that even remotely makes sense in this context is "and so on". Google searches for "aso memory management" and "aso garbage collection" don't yield anything relevant. [1] http://en.wikipedia.org/wiki/ASO https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcda26a504c58d5ef5c13032c6c29cf3c56c226e Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 10:57:46 2012 +0100 gobject docs: Remove incorrect reference to signals docs The chapter on signals comes after this chapter, not before (see "tut_gobject.xml" in docs/reference/gobject/gobject-docs.xml). https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 10474aca34f8adf7258294d678e56525b7570c70 Author: Brian Koning <gnome.brkoning@gmail.com> Date: Mon Jul 23 11:04:45 2012 -0400 Remove extra newline chars in local g_application_command_line_print/err The extra newline chars in the local implementation of g_application_command_line_print and g_application_command_line_printerr() cause an unwanted newline after printed strings. This patch removes the newline chars to make the functions consistent with their documentation. https://bugzilla.gnome.org/show_bug.cgi?id=680459 gio/gapplicationcommandline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 151b198b93764ac69b5c067afe9fbf7c6c4acea4 Author: Pavel Vasin <rat4vier@gmail.com> Date: Mon Jul 16 15:57:26 2012 +0400 GDBusActionGroup: hold ref until async init done to avoid use-after-free if GDBusActionGroup was finalized https://bugzilla.gnome.org/show_bug.cgi?id=679509 gio/gdbusactiongroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b2d848e3cb83fb096d6337be701cf834defa56b9 Author: Pavel Vasin <rat4vier@gmail.com> Date: Sun Jul 15 14:34:53 2012 +0400 gio/tests/actions: test for bug679509 gio/tests/actions.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit a74749d354a9d5458f664eb67691901e13bfe738 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:51:40 2012 -0400 Deprecated GSlice config API This was marked as 'internal debugging' in the headers, and should have never been made public. As a first step to repair this, deprecate it. https://bugzilla.gnome.org/show_bug.cgi?id=680831 glib/gslice.h | 4 ++++ glib/tests/slice.c | 3 +++ 2 files changed, 7 insertions(+) commit 0b8662635df3e35aacb7d2e7cef517c47869c6ec Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:49:30 2012 -0400 configure.ac: Use AS_HELP_STRING throughout https://bugzilla.gnome.org/show_bug.cgi?id=680831 configure.ac | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 49b35f093034af6ff14df4df2073a6111614c9d0 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 21:51:08 2012 +0200 gtlscertificate: Don't confuse certificate and public key in docs * A certificate sorta acts as a public key, but more specifically it contains a public key (in its subjectPublicKeyInfo) field. * Documentation was confusing and could have read like the certificate and certificate-pem properties were returning the public key part of the certificate. https://bugzilla.gnome.org/show_bug.cgi?id=681158 gio/gtlscertificate.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 278fe0c67f1d3a8731356fdda0e0adfb633cd7c4 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 31 16:47:45 2012 +0200 gchecksum: Add g_compute_checksum_for_bytes() * Add a GBytes based version of g_compute_checksum_for_data() * Add appropriate tests https://bugzilla.gnome.org/show_bug.cgi?id=680912 docs/reference/glib/glib-sections.txt | 1 + glib/gchecksum.c | 30 +++++++++++++++++++++++ glib/gchecksum.h | 5 ++++ glib/glib.symbols | 1 + glib/tests/checksum.c | 45 +++++++++++++++++++++++++++++++---- 5 files changed, 78 insertions(+), 4 deletions(-) commit dd2ecf7488190d7ffd7912f6bf81da3560ad3976 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 18:19:36 2012 +0200 checksum: Use functions instead of macros when building tests * No need for hard to debug and maintain macros here. https://bugzilla.gnome.org/show_bug.cgi?id=681151 glib/tests/checksum.c | 65 +++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 28 deletions(-) commit 0f6a092cc5a1cc82a02b23e9daa15159319f929c Author: Javier Jardón <jjardon@gnome.org> Date: Tue Apr 17 12:59:11 2012 +0100 Make gtk-doc not a hard dependency of GLib Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674314 autogen.sh | 10 ++++++---- configure.ac | 7 ++++++- docs/Makefile.am | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) commit 10fc00b38515bc322d5e497d61a50165b04c3c8d Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Apr 25 14:21:06 2012 +0200 gclosure: do not copy and leak when generically marshalling return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 gobject/gclosure.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 24b9f61ee4b8b7bc755b84398207112c18b4121f Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:59 2012 +0200 tests: add check for leaking signal return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 tests/refcount/Makefile.am | 5 ++++- tests/refcount/signals.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) commit 13a1154b4cf664e486df9fa6a76d279b8090c49e Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:06 2012 +0200 tests: make refcount signals test slightly valgrind cleaner tests/refcount/signals.c | 4 ++++ 1 file changed, 4 insertions(+) commit f1a13b895d71fb9523c65591a7ebb7a8bad0a4d9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 4 17:49:53 2012 -0400 NEWS updates for 2.33.8 NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 08dd0f246a17c5e1fd78ae19c18f52905c47fdbc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:36:25 2012 +0200 docs: Improve man page consistency Make Options sections refsect1 instead of refsect2, and use uppercase for argument names. Also add a product name, and shorten some argument names. docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gdbus.xml | 29 ++- docs/reference/gio/gio-querymodules.xml | 14 +- docs/reference/gio/glib-compile-resources.xml | 83 ++++--- docs/reference/gio/glib-compile-schemas.xml | 29 ++- docs/reference/gio/gresource.xml | 17 +- docs/reference/gio/gsettings.xml | 17 +- docs/reference/glib/glib-gettextize.xml | 23 +- docs/reference/glib/gtester-report.xml | 18 +- docs/reference/glib/gtester.xml | 33 ++- docs/reference/gobject/glib-genmarshal.xml | 237 ++++++++++--------- docs/reference/gobject/glib-mkenums.xml | 315 +++++++++++++------------- docs/reference/gobject/gobject-query.xml | 41 ++-- 13 files changed, 506 insertions(+), 371 deletions(-) commit d241978412144650e73e9b635cf1869f8d4da2b9 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:33:34 2012 +0200 docs: Improve man page generation Use $(AM_V_GEN) for generating man pages, and set some parameters for the XSL stylesheets. Among other things, don't generate AUTHORS and COPYRIGHT sections. docs/reference/gio/Makefile.am | 10 +++++++++- docs/reference/glib/Makefile.am | 10 +++++++++- docs/reference/gobject/Makefile.am | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) commit 9f9ab640306da52127935bd8eab82a1a8dcaaf89 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:52:46 2012 +0200 Rework the man page configury Default to generate man pages if the required tools and stylesheets are found. Error out if --enable-man is given but tools or stylesheets are missing. configure.ac | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) commit e2470ec6db5230c183a4879b5f0c687b699614e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:51:52 2012 +0200 docs: Don't put links in section titles gio/gsettingsschema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6ddf40f301439c01bec24344694074bd9ba5f016 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 10:41:02 2012 +0200 gtlscertificate: Add g_tls_certificate_is_same() function * Certificate equality in PKIX in general is equality between the DER encoding of the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=681116 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gtlscertificate.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gtlscertificate.h | 4 ++++ 4 files changed, 43 insertions(+) commit b913b0c29ed7269a1684ec15f27b59a8ad2ef5e4 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 14:22:53 2012 +0200 gtlsdatabase: Don't complain if no callbacks for async functions https://bugzilla.gnome.org/show_bug.cgi?id=681118 gio/gtlsdatabase.c | 7 ------- 1 file changed, 7 deletions(-) commit aaf6ac8321065b9a81f96070d629bd72b589dfde Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:35:05 2012 +0530 Updated gujarati file po/gu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0b3a656c78c1f14c146464aa50697990db8b88b Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:32:12 2012 +0530 Updated gujarati file po/gu.po | 6025 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3285 insertions(+), 2740 deletions(-) commit 800ca21e555e5e9fe1f07a4a8473d6d24ada6301 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Aug 1 11:57:22 2012 -0400 GDBusError: Fix up G_STATIC_ASSERT guidance This was reported in bug 680994. https://bugzilla.gnome.org/show_bug.cgi?id=680994 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3f96373372771744a5ade73b2e897ec32365182 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 25 14:41:04 2012 -0400 gthreadpool: set default max_unused_threads and max_idle_time values GThreadPool defaulted to 0 for max_unused_threads (meaning thread-pool threads would exit immediately if there was not already another task waiting for them), and 0 for max_idle_time (meaning unused threads would linger forever, though this is only relevant if you changed max_unused_threads). However, GIOScheduler changed the global defaults to 2 and 15*1000, respectively, arguing that these were more useful defaults. And they are, so let's use them. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gioscheduler.c | 6 ------ glib/gthreadpool.c | 9 +++++---- 2 files changed, 5 insertions(+), 10 deletions(-) commit 26056558be4656ee6e891a4fae5d4198de7519cf Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 08:06:57 2012 -0400 gmain: allow g_source_get_context() on destroyed sources g_source_get_context() was checking that the source wasn't destroyed (since a source doesn't hold a ref on its context, and so source->context might point to garbage in that case). However, it's useful to be allowed to call g_source_get_context() on a source that is destroyed-but-currently-running. So instead, let g_source_get_context() return the context whenever it's non-NULL, and clear the source->context of any sources that are still in a context's sources list when the context is freed. Since sources are only removed from the list when the source is freed (not when it is destroyed), this means that now whenever a source has a non-NULL context pointer, then that pointer is valid. This also means that g_source_get_time() will now return-if-fail rather than crashing if it is called on a source whose context has been destroyed. Add tests to glib/tests/mainloop to verify that g_source_get_context() and g_source_get_time() work on destroyed sources. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/gmain.c | 15 ++++++++++++--- glib/tests/mainloop.c | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) commit 6881e743ee37eff154326ef5e0510651c0a14ac4 Author: Dan Winship <danw@gnome.org> Date: Sun Jul 29 13:06:53 2012 -0400 glib/tests/mainloop: test g_source_get_time() Verify that - g_source_get_time() does not change within a single callback (even if the real time does) - g_source_get_time() does not change between different callbacks in the same mainloop iteration - g_source_get_time() does change between iterations if the real time did. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/tests/mainloop.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Mon Jul 30 13:33:05 2012 +0200 g_file_make_directory_with_parents: Fix error propagation When creating a directory fails for some reason other than the parent not existing, don't clear the error before we try to propagate it. To reproduce, run 'ostadmin init' on /ostree or otherwise try to run the function on a directory with a parent directory where the current user is not allowed to write. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d7829ced532a5ffba4c56772a7a4b24e3e228651 Author: Colin Walters <walters@verbum.org> Date: Mon Jul 30 05:11:08 2012 -0400 GFile: Note semantics of g_file_delete() Particularly for someone programming on Unix, this helps them understand that we will unlink symbolic links, and not follow them. gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 14a1c20177eab4d584b29cbd6fe5933f4b2af4de Author: Colin Walters <walters@verbum.org> Date: Sat Jul 28 09:30:22 2012 -0400 GFile: Add g_file_delete_async() This looks like it was stubbed out but not implemented; the vtable entry dates to commit 3781343738de4abddf56982325a77bd70a98cd26 which is just alex's initial merge of gio into glib. I was working on some code that wants an asynchronous rm -rf equivalent, and so yeah, this is desirable. https://bugzilla.gnome.org/show_bug.cgi?id=680760 docs/reference/gio/gio-sections.txt | 2 + gio/gfile.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gfile.h | 27 +++++++-- gio/gio.symbols | 2 + gio/tests/file.c | 43 +++++++++++++ 5 files changed, 188 insertions(+), 4 deletions(-) commit 6b6bef753f2e8f01e01fc8e8f099edcebc9ff8b6 Author: Colin Walters <walters@verbum.org> Date: Sun Jul 29 09:29:03 2012 -0400 Add .dir-locals.el to tell Emacs users not to use tabs for C Requested by Ryan. https://bugzilla.gnome.org/show_bug.cgi?id=680787 .dir-locals.el | 1 + 1 file changed, 1 insertion(+) commit c3154cc48eab8bb3ee6afc661d04cc919d6f9543 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 30 02:42:30 2012 +0200 Updated Galician translations po/gl.po | 344 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 180 insertions(+), 164 deletions(-) commit 8abfe528b75c6aab3a46ec02c4dcca05fceca83b Author: Andrej Žnidaršič <andrej.znidarsic@gmail.com> Date: Sun Jul 29 13:11:18 2012 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad4f780cb427c1c37c0b0d87fac867285926eb16 Author: Lionel Landwerlin <llandwerlin@gmail.com> Date: Fri Jul 27 14:52:17 2012 +0200 glib: fix locale detection on android g_utf8_strup() tries to call setlocale() before starting to compute the length of its first argument. Calling setlocale() can return NULL (as specified in the man page), and obviously that happens on android. https://bugzilla.gnome.org/show_bug.cgi?id=680704 glib/guniprop.c | 3 +++ 1 file changed, 3 insertions(+) commit 3339a395c298a64a9a6056b80230cc1381a6406a Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Wed Jul 25 10:33:27 2012 +0200 Updated Serbian translation po/sr.po | 1283 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 1249 ++++++++++++++++++++++++++---------------------------- 2 files changed, 1191 insertions(+), 1341 deletions(-) commit 72824f2af2a6ae01ede471ef987ee60b9f7cd047 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Tue Jul 24 22:39:15 2012 +0300 Updated Hebrew translation. po/he.po | 1120 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 611 insertions(+), 509 deletions(-) commit 3bb53b14530116eeac1e6bcaabf7a28edb74e877 Author: Tobias Endrigkeit <tobiasendrigkeit@googlemail.com> Date: Mon Jul 23 22:11:53 2012 +0200 [l10n] Updated German translation po/de.po | 300 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 160 insertions(+), 140 deletions(-) commit 0830e10e6f6dab02afdc39b61d9611d7330edad1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Jul 23 11:42:22 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 388 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 196 insertions(+), 192 deletions(-) commit 003e7a70e80d508458c7a9d4cc76b84a1eb35f94 Author: Colin Walters <walters@verbum.org> Date: Fri Jul 20 10:40:56 2012 -0400 Revert unintential IAPI break for g_key_file_load_from_data() The old (length) annotation actually wasn't being read. Changing it to an array was telling g-i that it was an array of utf8, which is clearly not true. We *could* add (element-type guint8), but that would change it to a byte array, as opposed to the original utf8 version. Just removing the annotation should bring us back to where we were, which was fine. https://bugzilla.gnome.org/show_bug.cgi?id=680310 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae7c7d982b3f461dcab178b3d20a04aaa9d9d72 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Jul 19 23:15:59 2012 +0800 gio/Makefile.am: Filter out gcontenttype.c for MSVC builds gcontenttype.c was split into gcontenttype.c and gcontenttype-win32.c in commit 32192ee9 ("Split gcontenttype.c"), so we don't want to include gcontenttype.c in the Visual C++ build as it is no longer a source file meant for Windows. Thanks to Thomas H.P. Anderson for pointing this out. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 23a2136fb5dd860a57a9bd46e61099ea4da99447 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:37:59 2012 -0400 Check for PR_SET_NAME Bug 680148 claims that PR_SET_NAME may not be defined when using an old kernel. Deal with it. glib/gthread-posix.c | 2 ++ 1 file changed, 2 insertions(+) commit 4c255d4602b4c6f65031588ff30342c36e250567 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:32:29 2012 -0400 Be more careful when using xlocale Bug 680074 shows that we may end up in situations where only some of the xlocale functions we need are available. Rather than trying to find the minimal set of required functions for each use, define a global USE_XLOCALE and only use any xlocale functions if we have a full set. glib/gstrfuncs.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit dd098405ad4f7ad2a0029cbfc340ca2e7e2b5633 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:20:10 2012 -0400 Cosmetic: Fix up line endings Somehow a few ^M sneaked in here. glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2357f67b1b7a9448d78e8606f10b472c595c7c90 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 15:08:44 2012 -0400 gmain: handle child sources being destroyed before parent Fix a crash when a child source is destroyed before its parent. Also, add a test case for this and the previous fix. glib/gmain.c | 23 ++++++++++-------- glib/tests/mainloop.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 10 deletions(-) commit ee6e66cb4483d82fcb0657d13faebf844258c70b Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 14:19:36 2012 -0400 g_source_add_child_source: sync blocked state Child sources are supposed to be blocked when their parents are, so when adding a source to a blocked source, block the child too. Fixes a warning when unblocking the parent. glib/gmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2855b827da44144c76b72d8cfec9599a835df4ea Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 16:21:03 2012 -0400 gio/tests/converter-stream: add a new test, rename an old one Add a test that the decompressor input streams handle truncated data correctly. (They do; I wrote the test thinking there was a bug there, but there isn't.) Also, rename the "corruption" tests to "roundtrip", since "corruption" makes it sound like we're testing how the converters deal with corrupted data, as opposed to merely testing that they don't corrupt data themselves. And fix the bug reference. gio/tests/converter-stream.c | 112 ++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 29 deletions(-) commit 09c18537f4e8b3ede066339cc23b76df8a4fc2cc Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 13:17:01 2012 -0400 g_cancellable_source_new: don't use a file descriptor Rather than implementing GCancellableSource by polling on its fd, implement it by just waking its GMainContext up from the "cancelled" signal handler, thereby helping to reduce file descriptor usage. Suggested by Ryan Lortie. https://bugzilla.gnome.org/show_bug.cgi?id=680121 gio/gcancellable.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 0e37822e10626859bcc6cb0452f1c0832e6990fa Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 14:23:08 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffefa544d68972cf5cc7099eb015c35630c5314d Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:50:58 2012 -0400 More updates NEWS | 1 + 1 file changed, 1 insertion(+) commit a0b71839ee27eec27d8b9da24d25c153d6273f42 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 17 18:34:16 2012 +0200 GIOScheduler: Fix access after free in "cancelled" handler * GCancellable can be "cancelled" more than once if g_cancellable_reset() is called. * Don't assume that because the "cancelled" signal fired it won't fire again. https://bugzilla.gnome.org/show_bug.cgi?id=680111 gio/gioscheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e97a4c7e5ef205dea08928f64ee5ba7e222e3b9b Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:00:00 2012 -0400 2.33.6 https://bugzilla.gnome.org/show_bug.cgi?id=680111 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit d90ad1805552aab969f316a1de687efdb71e27fe Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 09:12:39 2012 -0400 GAsyncInitable: partially revert the init_finish changes g_async_initable_real_init_finish() was previously handling all GSimpleAsyncResults, even if they weren't created by g_async_initable_real_init_async(), and libnm-glib accidentally relied on that behavior. So remove the g_simple_async_result_is_valid() check. gio/gasyncinitable.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit cd8ec3359b4b8afd5cce48bf218ecd793f8064eb Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Sun Jul 15 19:10:43 2012 +0200 GVariantType: Add (constructor) annotation for some constructors. This are mistaken by g-ir-scanner as GVariantType's methods, because they take a GVariantType* as a first parameter. https://bugzilla.gnome.org/show_bug.cgi?id=679968 glib/gvarianttype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1b3578ec0beb19639e21c08e560a4fdb010a438a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 16 16:42:49 2012 +0200 Updated Spanish translation po/es.po | 441 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 231 insertions(+), 210 deletions(-) commit bfbfbec91e10ea7f34e43a5d263031abb914dec6 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 04:12:02 2012 +0200 win32: g_getenv() should return "" if variable exists and empty On Windows, GetEnvironmentVariable() returns 0 for empty variables. Checking GetLastError() == ERROR_ENVVAR_NOT_FOUND helps make a difference between a variable that does not exist or an empty one which should return "". https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6007a4b0b109855f8521ba93ed10b3a1d2bf77f2 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 03:54:55 2012 +0200 win32: fix g_get_environ() The current code create the strv array incorrectly, it is too big and leaves invalid holes. This may result in crashes when freeing the returned value. https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 11819933e2d0b8833dfd7a0173f66be989a5a914 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jul 16 06:01:55 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d48bd70853496c5a835e0d3a83136ef23ea778c9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jul 15 20:36:10 2012 -0400 More updates NEWS | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f81c2c753ab0f6cc71866cd3e387a2e2dc857d60 Author: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Date: Sun Jul 15 12:27:03 2012 +0300 Updated Belarusian translation. po/be.po | 1106 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 620 insertions(+), 486 deletions(-) commit ef4bbecce76505abc5ba143f57bae4cba0a76f16 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Sun Jul 15 01:23:25 2012 +0200 Updated Polish translation po/pl.po | 192 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 101 insertions(+), 91 deletions(-) commit 160da82e3943e2a42685d72f54dddb11db80458c Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Sat Jul 14 13:51:12 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 1298 insertions(+), 956 deletions(-) commit c182ee1f7189ea2f547e1af6498b27bd501397fc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:37 2012 -0400 Fix GModule documentation a bit The documentation for g_module_make_resident was for some reason in the doc comment for g_module_name. https://bugzilla.gnome.org/show_bug.cgi?id=679813 gmodule/gmodule.c | 16 +++++++++++++--- gmodule/gmodule.h | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) commit 34b2125edff9d4ce1dc6e2e84e5a816ee14b4791 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:12 2012 -0400 Fix doc build glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3201bcd1b278f335669972cbd991c3a6778a040e Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Jul 13 17:53:45 2012 +0530 Assamese translation updated po/as.po | 447 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 97676046f2764ace8d0ac65df092046044841ac0 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 12 23:40:43 2012 -0400 Update NEWS NEWS | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit d9af4259f779a4e88d9d47a9e99944ad785f4190 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Jul 11 19:41:58 2012 +0200 win32: fix build g_spawn_check_exit_status() with mingw With mingw, only gspawn-win32.c is compiled, but it is missing some new symbols. https://bugzilla.gnome.org/show_bug.cgi?id=679691 glib/gspawn-win32.c | 25 +++++++++++++++++++++++++ glib/gspawn.c | 10 ---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit ce1b50bf2afbbcfd6c560feed00de2df50b7dfba Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu Jul 12 16:09:57 2012 +0200 GRegex, GConvert: Add some missing annotations. Also, removed pointless (allow-none) return annotation. https://bugzilla.gnome.org/show_bug.cgi?id=679762 glib/gconvert.c | 6 +++--- glib/gregex.c | 15 +++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) commit 99f26ab08f777040230fdd81423d1220722cef2f Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Jul 11 20:25:59 2012 -0400 mount-operation: add a Since tag to the show-unmount-progress signal gio/gmountoperation.c | 2 ++ 1 file changed, 2 insertions(+) commit 44375ad7c595884c091056a1955d08a1975c5516 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Fri Jul 6 15:41:47 2012 -0400 mount-operation: add show-unmount-progress signal The actual implementation will be in gvfs. https://bugzilla.gnome.org/show_bug.cgi?id=676111 gio/gmountoperation.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ gio/gmountoperation.h | 6 +++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit 37fbd702d54a471781e853acaf805e0f508fbd3a Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jul 12 02:38:20 2012 +0300 Updated Greek translation po/el.po | 819 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 456 insertions(+), 363 deletions(-) commit eda1735029e01d6391fe8a4cde6c5688727c8183 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:38:34 2012 +0200 GDBusNodeInfo: remove a spurious for loop https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 6f23c33831f69ef111d22491586d1dfdd8ca3693 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:37:56 2012 +0200 GDBusNodeInfo: the XML string must contain exactly one node element Make the documentation clear about this. https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 3 +++ 1 file changed, 3 insertions(+) commit f7abd3ce130ae3a6da8502c2dce8d773d7514464 Author: Colin Walters <walters@verbum.org> Date: Tue Jul 10 11:27:22 2012 -0400 Add g_spawn_check_exit_status() Many (if not "almost all") programs that spawn other programs via g_spawn_sync() or the like simply want to check whether or not the child exited successfully, but doing so requires use of platform-specific functionality and there's actually a fair amount of boilerplate involved. This new API will help drain a *lot* of mostly duplicated code in GNOME, from gnome-session to gdm. And we can see that some bits even inside GLib were doing it wrong; for example checking the exit status on Unix, but ignoring it on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=679691 docs/reference/glib/glib-sections.txt | 1 + gio/gdbusaddress.c | 29 +------- gio/gdesktopappinfo.c | 4 +- gio/glib-compile-resources.c | 14 ++-- gio/tests/gdbus-connection-slow.c | 9 +-- gio/tests/gdbus-connection.c | 2 +- glib/glib.symbols | 2 + glib/gmain.c | 12 ++-- glib/gmain.h | 8 ++- glib/gspawn.c | 128 +++++++++++++++++++++++++++++++--- glib/gspawn.h | 13 ++++ 11 files changed, 158 insertions(+), 64 deletions(-) commit 82d914d808c616d14d489c0272c6d5afc4bfbd5a Author: Dan Winship <danw@gnome.org> Date: Thu May 10 11:09:52 2012 -0400 gio: add g_async_result_is_tagged() Rather than doing a two step first-check-the-GAsyncResult-subtype-then- check-the-tag, add a GAsyncResult-level method so that you can do them both at once, simplifying the code for "short-circuit" async return values where the vmethod never gets called. https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncresult.c | 29 +++++++++++++++++++++++++++++ gio/gasyncresult.h | 7 +++++++ gio/gbufferedinputstream.c | 9 ++------- gio/gfileenumerator.c | 11 +++-------- gio/ginputstream.c | 27 ++++++--------------------- gio/gio.symbols | 1 + gio/giostream.c | 9 ++------- gio/goutputstream.c | 27 ++++++--------------------- gio/gresolver.c | 13 ++++--------- gio/gsimpleasyncresult.c | 8 ++++++++ 11 files changed, 69 insertions(+), 73 deletions(-) commit f8532a13e2054e649f75ca2a58e01604be05549e Author: Dan Winship <danw@gnome.org> Date: Thu May 10 09:00:45 2012 -0400 gio: Add g_async_result_legacy_propagate_error() Finish deprecating the "handle GSimpleAsyncResult errors in the wrapper function" idiom (and protect against future GSimpleAsyncResult deprecation warnings) by adding a "legacy" GAsyncResult method to do it in those classes/methods where it had been traditionally done. (This applies only to wrapper methods; in cases where an _async vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish vmethod still uses g_simple_async_result_propagate_error.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncinitable.c | 8 +- gio/gasyncresult.c | 42 ++++++++ gio/gasyncresult.h | 4 + gio/gbufferedinputstream.c | 5 +- gio/gdrive.c | 44 +++------ gio/gfile.c | 189 ++++++++++-------------------------- gio/gfileenumerator.c | 16 ++- gio/gfileinputstream.c | 9 +- gio/gfileiostream.c | 13 +-- gio/gfileoutputstream.c | 9 +- gio/ginputstream.c | 15 +-- gio/gio.symbols | 1 + gio/giostream.c | 5 +- gio/gloadableicon.c | 10 +- gio/gmount.c | 48 +++------ gio/goutputstream.c | 24 +++-- gio/gresolver.c | 24 ++--- gio/gvolume.c | 24 ++--- 19 files changed, 180 insertions(+), 311 deletions(-) commit 538b2f106de78b7dfeac2a98f3d5594ed0ed2ade Author: Dan Winship <danw@gnome.org> Date: Mon Jun 11 13:44:19 2012 -0400 gio: handle GSimpleAsyncResult errors in _finish vmethods Originally, the standard idiom with GSimpleAsyncResult was to handle all errors in the _finish wrapper function, so that vmethods only had to deal with successful results. But this means that chaining up to a parent _finish vmethod won't work correctly. Fix this by also checking for errors in all the relevant vmethods. (We have to redundantly check in both the vmethod and the wrapper to preserve compatibility.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gasyncinitable.c | 19 ++++++++----------- gio/gbufferedinputstream.c | 3 +++ gio/gfile.c | 42 +++++++++++++++++++++++++++++++++++++++++- gio/gfileenumerator.c | 8 ++++++++ gio/gfileinputstream.c | 3 +++ gio/gfileoutputstream.c | 7 +++++-- gio/ginputstream.c | 12 ++++++++++++ gio/giostream.c | 5 +++++ gio/gloadableicon.c | 3 +++ gio/goutputstream.c | 16 ++++++++++++++++ 10 files changed, 104 insertions(+), 14 deletions(-) commit a98d26c9bbd40b5d00d5a1536402c9196534087c Author: Dan Winship <danw@gnome.org> Date: Tue Apr 17 09:55:33 2012 -0400 GFile: remove some unnecessary code The "mainloop_barrier" in copy_async_thread() is unnecessary, since the g_simple_async_result_complete_in_idle() will be queued after all of the g_io_scheduler_job_send_to_mainloop_async()s, and sources with the same priority will run in the order in which they were queued. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gfile.c | 15 --------------- 1 file changed, 15 deletions(-) commit 4749878f9102d40d072bb5c838f2dd2e8d61d417 Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Mon Jul 9 18:17:01 2012 +0200 goptions: use G_N_ELEMENTS instead of nitems glib/goption.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5a85fe0e37504cea13fe8a587691f72373b18830 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jul 9 12:43:50 2012 -0400 GVariant: fix string validation String validation was done by checking if the string was valid utf8 and ensuring that the first non-utf8 character was the last character (ie: the nul terminator). No check was actually done to make sure that this byte actually contained a nul, however, so it was possible that you could have a string like "hello\xff" with length 6 that would correctly validate. Fix that, and test it. glib/gvariant-serialiser.c | 11 ++++++++++- glib/tests/gvariant.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) commit 3b0f1cc432b546c538d82036bd1a655489d11f35 Author: Stef Walter <stefw@gnome.org> Date: Sat May 5 12:51:16 2012 +0200 Fix up GObject interface documentation * Document how to override interfaces already implemented in a base class, and also call those base class implementations from a derived reimplementation. * Don't recomend people use base_init() style functions to initialize interface signals and properties, use default_init() aka class_init() instead (as G_DEFINE_INTERFACE() uses). * The above solves the interface init called multiple times problem, so remove some needless naysaying about that. * Document default_init() in the interface initialization discussion * Linkify more stuff. * Remove some crud and typos https://bugzilla.gnome.org/show_bug.cgi?id=675504 docs/reference/gobject/tut_gtype.xml | 143 ++++++++++++----- docs/reference/gobject/tut_howto.xml | 303 ++++++++++++++++++++++++----------- 2 files changed, 309 insertions(+), 137 deletions(-) commit 2cf9608d4892690c16332c27b3f5de0276d2f569 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 9 15:05:04 2012 +0200 Updated Galician translations po/gl.po | 403 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 165 deletions(-) commit f9a6a97470583417a26619b5da3d56097a15c6dd Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Sun Jul 8 19:23:18 2012 +0200 OpenBSD: explicitely define nitems nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL condition. glib/goption.c | 4 ++++ 1 file changed, 4 insertions(+) commit a511a706de048dcc779eb09d85f3d2e9329d68cd Author: Torsten Schönfeld <kaffeetisch@gmx.de> Date: Mon May 3 20:33:50 2010 +0200 gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher https://bugzilla.gnome.org/show_bug.cgi?id=616892 gio/gfileattribute.h | 4 +++- gio/gfileinfo.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit c09bf3e6b935d5e5ef0ecf2bb88788537c3ebecd Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Jul 7 17:10:46 2012 -0400 gdbus-codegen: improve casting a tiny wee bit The in commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 for fixing -Wstrict-aliasing warnings was a little too brutal, make it a bit better. Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 53b3175cfabe78b6ce3403f38d59addb218cb61b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:20:39 2012 +0200 regex: Add new GRegexError code from PCRE 8.31 glib/gregex.c | 3 +++ glib/gregex.h | 7 +++++-- glib/tests/regex.c | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) commit 2188a5e59c512668dc3c76607fb8ccad4910cc3c Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:21:16 2012 +0200 regex: Enable fixed test This problem was fixed in PCRE 8.31, so uncomment the test. glib/tests/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 94578330109eb7fb1588c0d0d0bb526bfb0ce9b6 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:15:27 2012 +0200 regex: Import PCRE 8.31 https://bugzilla.gnome.org/show_bug.cgi?id=679193 glib/pcre/pcre.h | 10 +- glib/pcre/pcre_compile.c | 195 ++-- glib/pcre/pcre_dfa_exec.c | 225 +++-- glib/pcre/pcre_exec.c | 331 +++++-- glib/pcre/pcre_fullinfo.c | 4 + glib/pcre/pcre_globals.c | 4 + glib/pcre/pcre_internal.h | 43 +- glib/pcre/pcre_jit_compile.c | 2028 +++++++++++++++++++++++++++--------------- glib/pcre/pcre_study.c | 15 +- glib/pcre/pcre_tables.c | 292 +++--- glib/pcre/ucp.h | 9 +- glib/update-pcre/ucp.patch | 55 +- 12 files changed, 2087 insertions(+), 1124 deletions(-) commit f66052fc87caada2552f651e9a21f1daac86b2a1 Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 17:27:54 2012 -0400 GVariant: support comparing booleans g_variant_compare() is documented as working on booleans but somehow this case was missed. Add it and test it. Problem discovered by Charles Kerr. glib/gvariant.c | 4 ++++ glib/tests/gvariant.c | 5 +++++ 2 files changed, 9 insertions(+) commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:45:09 2012 -0400 gdbus-codegen: neuter warnings when using -Wstrict-aliasing Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d728eae85fbcefb66f9bfc41a52cf315ef84d667 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:43:05 2012 -0400 gdbus-codegen: don't shadow variable This avoids a warning when building with -Wshadow Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed492a5de2a217c08bccd4032b1122fba2f25c6f Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 13:43:17 2012 -0400 GSettings: be more careful about keys names with / Prevent attempts to access keys ending with slashes that exist in the schema file as references to child schemas. Also: don't emit change signals for these same keys. gio/gsettings.c | 20 ++++++++++++++++---- gio/gsettingsschema.c | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) commit 52a6d7022af6dfc597bae97fdabcaf2d24855126 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Fri Jul 6 19:11:26 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 750 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 414 insertions(+), 336 deletions(-) commit ee9aae5dcfe8dd1956e78a52c4e8c53c0f7861fe Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 14:08:22 2012 -0400 Clarify the GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED docs https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 40f0f66151c09a02b6355c7da02af081c30dd586 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 11:08:23 2012 -0400 Deal with GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED being a "future" value If GLIB_VERSION_MIN_REQUIRED or GLIB_VERSION_MAX_ALLOWED was defined to a future value, we were essentially treating it as GLIB_VERSION_0_0. Fix to treat it as being in the future instead. https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 4ac0d78d5ddde773b7abf05e4c5e128a8acb835d Author: Colin Walters <walters@verbum.org> Date: Tue May 29 17:58:41 2012 -0400 GString: Tweak documentation, add g_string_free_to_bytes() The docs for GString should really mention GByteArray, and what makes it different. Drop the comparison to Java which is dated and actually inaccurate (because StringBuffer operates on Unicode). While we're here, add g_string_free_to_bytes(), which further complements the spread of GBytes-based API. For example, one can create a buffer using GString, then send it off via g_output_stream_write_bytes(). https://bugzilla.gnome.org/show_bug.cgi?id=677064 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gstring.c | 48 ++++++++++++++++++++++++++++++----- glib/gstring.h | 3 +++ glib/tests/string.c | 21 +++++++++++++++ 5 files changed, 68 insertions(+), 6 deletions(-) commit d72116d8b7c802895be6b02093342fd9e770813d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 09:19:48 2012 -0400 gdbus-codegen: Don't generate invalid GObject property names For a D-Bus property with name "Type" (fairly common), we used to generate a GObject property with name "type-" and C accessors get_type_() (to avoid clashing with the GType getter), set_type_() (for symmetri). However, the rules for GObject property names are fairly rigid and specifically prohibit names ending in a dash. Therefore change things so the chosen GObject property name is "type" but preserve the naming rules for the C getter and setter (for the same reasons: avoiding name clashing and symmetri). This change does break the API of generated code (but only on the GObject property level, the C symbols are not changed) but strictly speaking the behavior was undefined since "type-" was an invalid GObject property name. Also add a test case for this. Bug 679473. https://bugzilla.gnome.org/show_bug.cgi?id=679473 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/dbustypes.py | 3 ++- gio/tests/gdbus-test-codegen.c | 28 ++++++++++++++++++++++++++++ gio/tests/test-codegen.xml | 4 ++++ 3 files changed, 34 insertions(+), 1 deletion(-) commit 2a87010831db5d4c18905103e9e7d804546552bf Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Wed Mar 7 12:54:04 2012 +0000 Constify collect and lcopy strings in GTypeValueTable This avoids warnings when creating idiomatic value tables, like: static const GTypeValueTable _clutter_shader_float_value_table = { clutter_value_init_shader_float, clutter_value_free_shader_float, clutter_value_copy_shader_float, clutter_value_peek_pointer, "ip", clutter_value_collect_shader_float, "pp", clutter_value_lcopy_shader_float }; Because the strings are literals. And, really: nobody should be using allocated values for the collection and lcopy strings. https://bugzilla.gnome.org/show_bug.cgi?id=671545 gobject/gtype.h | 4 ++-- gobject/gvaluecollector.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit ab4cc22ba5d7a1a9ee72eaccd171ac1fc82bfb5c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 5 22:25:49 2012 -0400 Improve the g_dir_read_name documentation This function can return NULL in error cases as well. Document this, and explain how to discriminate the cases. https://bugzilla.gnome.org/show_bug.cgi?id=639771 glib/gdir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f416ece1039f65ce77df6983a872950c82877e37 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Jul 4 04:25:41 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 04af05fd1f648aca3e2aa805df5a376a992a04d3 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:14:41 2012 -0400 Drop unneeded includes gio/gcharsetconverter.c | 1 - gio/glocalfileinfo.c | 1 - gio/gwin32appinfo.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) commit 32192ee9e4210a12b76ee5cbfbb8b6f2d957d3e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:13:32 2012 -0400 Split gcontenttype.c Instead of a giant #if G_OS_WIN32 #else #endif around the entire file, just split it into gcontenttype.c and gcontenttype-win32.c. gio/Makefile.am | 5 +- gio/gcontenttype-win32.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gcontenttype.c | 353 +------------------------------------------ 3 files changed, 382 insertions(+), 354 deletions(-) commit af3b1674cd65e1d650fb82bc93483391b99feb50 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 20:04:05 2012 +0200 win32: fix build after bug 674452 gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d7fa1c7839dfeb482f549ca9bb3ab7027e9994a Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Jul 3 15:40:35 2012 -0400 GObject docs fixup docs/reference/gobject/Makefile.am | 1 + docs/reference/gobject/gobject-sections.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 72660997bc0b0ee81095b85911992db3c644e5da Author: Rico Tzschichholz <ricotz@t-online.de> Date: Tue Jul 3 21:22:16 2012 +0200 glib/deprecated: Fix some version typos glib/deprecated/gthread-deprecated.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit be249ac6ae461b2f8c3995d7311033f82738827a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jul 3 21:01:17 2012 +0530 Assamese translation updated po/as.po | 388 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 238 insertions(+), 150 deletions(-) commit 45c48bffdd3e684470be38a03dea466f78e184bd Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Jul 3 16:55:12 2012 +0300 Updated Bulgarian translation po/bg.po | 316 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 187 insertions(+), 129 deletions(-) commit 489b947c3be8ea892d415ac1b623e5bfc3445439 Author: Neil Roberts <neil@linux.intel.com> Date: Mon Jul 2 13:41:32 2012 +0100 Fix the 'Since' tag for G_SOURCE_{REMOVE,CONTINUE} The Since tag for these was saying 2.28 but it was actually added in 2.31. It looks like all of the Since tags list stable version numbers so this patch bumps that up to 2.32. https://bugzilla.gnome.org/show_bug.cgi?id=679258 glib/gmain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 938c28b36bf7090c654802d877d76f404d783799 Author: Christian Persch <chpe@gnome.org> Date: Mon Jul 2 17:56:54 2012 +0200 regex: Require PCRE 8.13 Bump the required version for external PCRE to 8.13, to fix the build with external PCRE. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5b1179d3fc04d4ec4fd03e4df852ac7c02d4e00 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:34:59 2012 +0200 Updated Spanish translation po/es.po | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 4b787aa31d8e71d108cbf0a61db3dd7805cf2205 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:29:02 2012 +0200 Updated Spanish translation po/es.po | 373 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 229 insertions(+), 144 deletions(-) commit 1519d6b894c95968fdd13a2004cf0c9d97efe7bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:24:45 2012 +0200 Fixed a a «big bug» in a string ;-) glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7483315f83cac1f54fd72c331e6eff0781b8560f Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing Reorder the toupper/tolower calls when othercaseing, so this function is bug-for-bug compatible with the pcre internal tables. https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 4 ++-- glib/tests/regex.c | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) commit a2f54a3408fcf45cae991b6886f4495fdae1f5ac Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:04:05 2012 +0200 regex: Add FIRSTLINE compile flag This option exists since PCRE 6.0. glib/gregex.c | 2 ++ glib/gregex.h | 5 ++++- glib/tests/regex.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit e99e34f65f6cf66feaccde29e480965d525586ae Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 23:24:07 2012 +0200 regex: Add NOTEMPTY_ATSTART match option Since PCRE 8.00 it supports a variant of PCRE_NOTEMPTY that works similarly except that it only applies to the start of the matched string but permits empty matches further in. glib/gregex.c | 32 +++++++++++++++++--------------- glib/gregex.h | 32 ++++++++++++++++++-------------- glib/tests/regex.c | 15 +++++++++++++-- 3 files changed, 48 insertions(+), 31 deletions(-) commit 1171215014bb9406ff8ae1ea91b1c251b4e7d71b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 22:50:52 2012 +0200 regex: Add PARTIAL_HARD match option Since PCRE 8.00 it supports a new partial matching method PCRE_PARTIAL_HARD. glib/gregex.c | 21 +++++++++++++++++---- glib/gregex.h | 9 ++++++++- glib/tests/regex.c | 11 +++++++++-- 3 files changed, 34 insertions(+), 7 deletions(-) commit 0a2967030af2a5cce9fd6ae916a535f26239bcd3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 20:12:11 2012 +0200 regex: Add JavaScript compat mode Since PCRE 7.7, there's a flag that changes the behaviour to be more JavaScript compatible. Since it's no effort to expose it, just do so. glib/gregex.c | 52 ++++++++++++++++++++++++++++++++-------------------- glib/gregex.h | 8 +++++++- glib/tests/regex.c | 1 + 3 files changed, 40 insertions(+), 21 deletions(-) commit e5550a24db48ce6f67b0f3b8df9dc467087c941b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:11:49 2012 +0200 regex: Don't leak internal PCRE options g_regex_get_compile_get_compile_flags() and g_regex_get_match_flags() were leaking PCRE flags that don't exist in the corresponding public GRegexCompileFlags and GRegexMatchFlags; this change masks these internal flags. glib/gregex.c | 36 +++++++++++++++++++++------ glib/tests/regex.c | 73 +++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 78 insertions(+), 31 deletions(-) commit 26d91ddc08b41533a6952014fd9c19c80865e840 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:52 2012 +0200 regex: Add BSR_ANYCRLF and BSR_ANY match options These flags override the compile option at match time. They use PCRE_BSR_ANYCRLF and PCRE_BSR_UNICODE, resp., which make \R match only CR, LF and CRLF, or any Unicode newline character or character sequences, resp. glib/gregex.c | 6 +++++- glib/gregex.h | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit 88ac3839f5d3d8d05ea7ea391209dff378866f57 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:10 2012 +0200 regex: Add BSR_ANYCRLF compile option When this flag is set, \R only matches CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 86a04a05e6b697361c58b1577c52b4a713bf18d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:42:50 2012 +0200 regex: Fix newline definition for system PCRE While we PCRE_BSR_UNICODE is the default in the internal PCRE, that may not be true for the system one. Force the PCRE_BSR_UNICODE flag on it. glib/gregex.c | 6 ++++++ glib/tests/regex.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 91ba8ae1560d4132e4ed2631b8e69684c3c863d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:07:04 2012 +0200 regex: Don't return from inside a g_once_init_enter/leave block When using the system PCRE, and it was compiled with incompatible options, the code was returning from inside a g_once_init_enter/leave block without calling g_once_init_leave(). glib/gregex.c | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) commit 69a12e3275c6e068929d2ed69ba1af87df0f851b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:57:15 2012 +0200 regex: Add accessor for PCRE_INFO_HASCRORLF This flag is new in PCRE 7.3, and checks whether there is an explicit CR or LF reference in the pattern. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gregex.c | 21 +++++++++++++++++++++ glib/gregex.h | 1 + glib/tests/regex.c | 11 +++++++++++ 5 files changed, 35 insertions(+) commit 7ada9765160ce8a41fae0a0e0435ad00a8037601 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:36:11 2012 +0200 regex: Remove message for unused error code Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore. glib/gregex.c | 2 -- 1 file changed, 2 deletions(-) commit 592531019ede1c6d48304ba8babce0a5470d16d7 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:26:02 2012 +0200 regex: Add NEWLINE_ANYCRLF match option This PCRE option is new in PCRE 7.1. glib/gregex.c | 38 ++++++++++++++++++++------------------ glib/gregex.h | 31 +++++++++++++++++++------------ 2 files changed, 39 insertions(+), 30 deletions(-) commit c8c049b177dc40c0242409389ddccfa59ba88953 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:23:37 2012 +0200 regex: Add NEWLINE_ANYCRLF compile option The PCRE_NEWLINE_ANYCRLF option is new in PCRE 7.1. With it set, the only only newline sequences recognised are CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 21 ++++++++++++++------- glib/tests/regex.c | 2 -- 3 files changed, 17 insertions(+), 10 deletions(-) commit 7e8b5ea442f235f5e272b0fe7a4768bf897b6aad Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 14:48:51 2012 +0200 regex: Assert that our flags values are the same as PCRE's We rely on those flags having the same values as PCRE's (so we can pass them right through), so assert this at compile time. glib/gregex.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 03611f7c0670ea14eedbc121972aed7ce60bb9ee Author: Simon Feltman <s.feltman@gmail.com> Date: Wed Jun 13 23:20:17 2012 -0700 Updated codegen to work with python3. Most changes were just replacing usage of "has_key" with "in". Also updated the sorting function which was simplified and changed to a "key" function instead of "cmp" (which is no longer supported in python3. Verified everything builds with python 2.7 and 3. https://bugzilla.gnome.org/show_bug.cgi?id=678066 gio/gdbus-2.0/codegen/codegen.py | 15 +++++---------- gio/gdbus-2.0/codegen/codegen_docbook.py | 8 +++----- gio/gdbus-2.0/codegen/codegen_main.py | 4 ++-- gio/gdbus-2.0/codegen/parser.py | 22 +++++++++++----------- gio/gdbus-2.0/codegen/utils.py | 17 +++++------------ 5 files changed, 26 insertions(+), 40 deletions(-) commit 6d5484b2962c2a365983e8a37295f298909bca00 Author: Christian Persch <chpe@gnome.org> Date: Fri Jun 8 01:08:10 2012 +0200 regex: Handle PCRE_ERROR_RECURSIONLOOP Was missing from the error conversion routine. glib/gregex.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e5615138af8a5044bb5adac0804a59073d4cb69 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:55:01 2012 +0200 regex: Update GRegexError with newer PCRE error codes Update the GRegexError enum with new PCRE errors up to PCRE 8.30. https://bugzilla.gnome.org/show_bug.cgi?id=677579 glib/gregex.c | 145 +++++++++++++++++++++++++++++++++++------------------ glib/gregex.h | 40 +++++++++++++-- glib/tests/regex.c | 51 +++++++++++++++++-- 3 files changed, 181 insertions(+), 55 deletions(-) commit 3be1d864d838a9015866656764c0a615f63f63ec Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:22:44 2012 +0200 regex: Simplify regex compile tests Use a macro instead of repeating the same code over and over again. glib/tests/regex.c | 106 +++++++++++------------------------------------------ 1 file changed, 22 insertions(+), 84 deletions(-) commit 20ab7e2aea955e4a70be43cbb6e4237afd98bf7b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 19:53:17 2012 +0200 regex: Deprecate an obsolete error code G_REGEX_ERROR_DEFINE_REPETION is dead and never raised by PCRE. glib/gregex.c | 3 --- glib/gregex.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) commit d9e8d3e0f0fc00435b161dd3dfb1b8727922ba00 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:54:08 2012 +0200 regex: Fix PCRE error code conversion Use the shifted error codes for comparisions. https://bugzilla.gnome.org/show_bug.cgi?id=677578 glib/gregex.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 3173fca9cc520785f82e602fe830c220c2d1820f Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:55:26 2012 +0700 Updated Vietnamese translation po/vi.po | 103 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 39 deletions(-) commit 7ddefe3f4b2221147bd77f362760e8fb00f7e624 Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:42:53 2012 +0700 po/vi: import from Damned Lies po/vi.po | 661 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 299 deletions(-) commit 64bfbc2cf074de087c4e195d6409af9c24dc2f28 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 29 13:47:15 2012 -0400 GOptionContext: Don't show headings without options If the only entry in the main group is for the rest args, don't bother printing "Application Options". glib/goption.c | 2 ++ glib/tests/option-context.c | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) commit 08cfcdc81add6f6f2247b1cc82d2c15ad27001f0 Author: Johan Dahlin <johan@gnome.org> Date: Fri Jun 29 11:59:23 2012 -0300 Use the same Python as we found in configure Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions it's actually python 3.x. gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit df319ca49ca1e8caff1a4f17e8e53628b33b8d56 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jun 28 17:44:14 2012 +0300 Updated Greek translation po/el.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 45 deletions(-) commit d023b81a7a261782f2c88df7751f3476bd802b99 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 16:30:38 2012 +0200 Fix /contenttype/guess test After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text and definitively not PowerPoint. It previously worked as g_content_type_guess() was reading beyond the boundary of the data due to specifying -1 as data length. Update that test case to expect a PO template instead, and add two more with a definitive PO template syntax and some binary data. We do not currently have a MIME magic for PowerPoint, so we cannot actually detect it with certainty, but at least make sure that the returned MIME type is correct. https://bugzilla.gnome.org/show_bug.cgi?id=678941 gio/tests/contenttype.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c35106fcc4a736a2cdd3566042da15216dea415b Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 15:38:06 2012 +0200 Fix the mimetype default fix We need to ignore the defaults.list item only when there was a mimetype handler found in a previous mimetype, not if one was found for the same mimetype as the one that is listed in defaults.list (same for the new-style defaults). gio/gdesktopappinfo.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f14c0112d07832b0ae4c75fd8d348e8f15d131d1 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 14:50:37 2012 +0200 Fix default app lookup wrt parent types and defaults.list There was an issue when looking up the default handler for a type where a supertype was listed in defaults.list. We would pick the default for the parent type even if there was a handler for the more specific type. In the case of the new-style defaults marking ( "Default Applications" in mimeapps.list) we were already checking for a more specific handler befor using a default, but we also need to do a similar check for the defaults.list case. https://bugzilla.gnome.org/show_bug.cgi?id=678944 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae30806403e556c8297a16a25a18687d9e80f89 Author: Stef Walter <stefw@gnome.org> Date: Thu Jun 28 14:41:39 2012 +0200 GTlsInteraction: Fix incorrect locking of mutex * Fix incorrect locking of mutex in g_tls_interaction_invoke_ask_password() https://bugzilla.gnome.org/show_bug.cgi?id=678758 gio/gtlsinteraction.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 139c1ce9884a91be167ab9d48d3c4b0df89dd112 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 09:25:37 2012 +0200 gio/tests/contenttype: Call g_content_type_guess() with valid data len g_content_type_guess() requires specifying a valid data length. Fixes a segfault when running the test. Also add an explicit check for this and return XDG_MIME_TYPE_UNKNOWN when data_size is specified as -1, to avoid crashing. https://bugzilla.gnome.org/show_bug.cgi?id=674452 gio/gcontenttype.c | 8 ++++++++ gio/tests/contenttype.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 95f29687e14423ca541cac1c00137375b935168d Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 11:46:28 2012 +0200 /mainloop/timeouts test: Reduce race condition Due to load, particular traits of the architecture, or other circumstances, the /mainloop/timeouts sometimes manages to call the "every 100 ms" timer loop only 9 times in 1050 ms. This is an inherent race-condition in the test; allow it some slack and accept 9 times as well. https://bugzilla.gnome.org/show_bug.cgi?id=678959 glib/tests/mainloop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 240ef2b9e830f2aa92356368902bec813f3c1ef8 Author: Philipp Kern <pkern@debian.org> Date: Wed Jun 27 10:57:50 2012 +0200 valuetransform: Fix definition of ulong_bool On big endian 64 bit machines such as s390x, an uint is too small to hold a ulong_bool; it needs to be an actual ulong. https://bugzilla.gnome.org/show_bug.cgi?id=678949 http://bugs.debian.org/662057 gobject/gvaluetransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e5e95a217dc43a70bd998fce16ed93225e0cfd Author: Alexander Shopov <ash@kambanaria.org> Date: Wed Jun 27 07:17:40 2012 +0300 Updated Bulgarian translation po/bg.po | 391 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 203 insertions(+), 188 deletions(-) commit 72af44cb1249f02cbe56376a751e3ae6d3b39ea8 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 26 18:32:29 2012 +0200 Allow slightly too small poll duration in /socket/timed_wait test Sometimes the poll duration in the /socket/timed_wait test is slightly lower than the requested 100000, causing failures like ERROR:/build/buildd/glib2.0-2.33.2/./gio/tests/socket.c:619:test_timed_wait: assertion failed (poll_duration > = 100000): (99240 >= 100000) FAIL Adjust the test to also allow some jitter in the "too small" direction, similar to the already existing span for "slightly too large". https://bugzilla.gnome.org/show_bug.cgi?id=678881 gio/tests/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6aa3b3bdd9f0fe1d9f2d2eed1d881bc189bcfe8 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 20:46:28 2012 -0400 GTestDBus: Don't call into gvfs https://bugzilla.gnome.org/show_bug.cgi?id=678808 gio/gtestdbus.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 55bac5da0ada8f46824a4d565cdd8ea7e3774a47 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 13:08:13 2012 -0400 GMainContext: reorganize source list to avoid O(n) behavior Rather than having a single priority-ordered list of GSources, store a list of queues of each priority level. This means that adding a source is now O(n) in the number of unique priority levels currently being used, rather than O(n) in the total number of sources. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 28 deletions(-) commit aaaaab91de10445a178e8183a95d98189249e868 Author: Dan Winship <danw@gnome.org> Date: Fri Jun 22 22:21:05 2012 -0400 gmain: add GSourceIter add an explicit iterator for GMainContext sources https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 62 deletions(-) commit 8e65c304315a7f54addd9c2771d20eca007f9d6a Author: Dan Winship <danw@gnome.org> Date: Sat Jun 23 12:01:40 2012 -0400 gmain: rename some variables for clarity https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 532f463eaf48d6a560977fd64479cfa05433162e Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 10:22:45 2012 -0400 gmain: child sources must always have same priority as parent A child source does not have a priority of its own; it must have the same priority as its parent. Enforce this in g_source_set_priority_unlocked(). https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 3 +++ 1 file changed, 3 insertions(+) commit d981d79a4291f76373f7f0e3abec762977133e27 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 30 12:15:04 2011 -0400 GSource: initialise ->priv on construct For efficiency, we waited until setting up child sources to allocate ->priv. Simplify things a bit by allocating it from the start. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) commit 56de38da7dc4ffd1c60c336211806e345dbcaf42 Author: Dan Winship <danw@gnome.org> Date: Sun Jun 24 09:48:10 2012 -0400 tests: add a timing test for adding lots of GSources https://bugzilla.gnome.org/show_bug.cgi?id=619329 tests/.gitignore | 1 + tests/Makefile.am | 2 + tests/sources.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) commit 4780ee5d4a6057312abee9a8fcaad45a9897fe0e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 23:23:36 2012 -0400 glib/: gtk-doc cleanup docs/reference/glib/glib-overrides.txt | 5 +++++ glib/docs.c | 3 +++ glib/gkeyfile.c | 2 +- glib/gunicode.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) commit 130c249eacfba3b77ec110880661386e7945b898 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 19:37:05 2012 -0400 Fix previous commit gio/tests/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b837cdde69fa39ed10aaf8791ab656ad41dedeb0 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 18:14:10 2012 -0400 gio/tests/actions: Plug a memory leak gio/tests/actions.c | 1 + 1 file changed, 1 insertion(+) commit b65194e8dfd3d9c3fabb16a189c0b326c175f9d5 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 17:05:45 2012 -0400 GIOScheduler: Disconnect from cancellable after job completes This was causing crashes when a cancellable was canceled after the job had completed. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) commit 03f2f3b0027e9239fc501539b1c16aefaee863d6 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:55:31 2012 -0400 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5ed95c9ad973e30c1c1938c55ffe60f4a14dab7 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:29:53 2012 -0400 GLib 2.33.3 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) commit 115ca3d8970ca32d824a201a9cc8f1fb24f3155e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 10:37:51 2012 -0400 Revert "GIOScheduler: Avoid constant iteration over pending job list" This reverts commit 2839297686a9305b4fa909b93c337ef1d1a5e94b. Conflicts: gio/gioscheduler.c https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 1354ef25402e0d340aa52521a5f51b1fb387705c Author: Lars Uebernickel <lars@uebernic.de> Date: Mon Jun 25 18:29:01 2012 +0200 GDbusActionGroup: always set strict when _query_action fails gio/gdbusactiongroup.c | 1 + 1 file changed, 1 insertion(+) commit 4b66dc1ca6657171d7d9b45568b3479653a525f8 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jun 25 00:01:07 2012 +0200 Updated Galician translations po/gl.po | 367 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 191 insertions(+), 176 deletions(-) commit bea994199379f4e09091b030c46fd922b304d0d2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 20:55:51 2012 -0400 Mark utf8 performance tests as such glib/tests/utf8-performance.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit c5561ff6992bfbf2b92af401bc6f96317514b4a3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:58:51 2012 -0400 Remove a few redundant ;s gio/gdbusobjectmanagerclient.c | 2 +- gio/gresourcefile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02eed18a4e745b4b4a0f0d5d2892faaecbd2c23d Author: Phil Clayton <phil.clayton@lineone.net> Date: Tue Jun 12 16:09:19 2012 +0100 Add missing annotation to GDBusConnection::closed Add annotation (allow-none) to the parameter error. https://bugzilla.gnome.org/show_bug.cgi?id=677952 gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90f70099d86dbf6c249137f9fbaead1df8002f6e Author: Emmanuele Bassi <ebassi@gnome.org> Date: Thu May 31 23:48:35 2012 +0100 Update the comment in gmarshal.list The current note makes it look like the marshaller code generation has been deprecated in favour of the libffi-based generic marshaller; this is not the case, so we should probably clarify the point a bit. https://bugzilla.gnome.org/show_bug.cgi?id=677235 gobject/gmarshal.list | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c6070a6792b78f44df9746ee96116cbbcc4dd40 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:51:11 2012 -0400 Add a test for G_USER_DIRECTOR_DESKTOP Based on a patch by Marc-Antoine Perennou, https://bugzilla.gnome.org/show_bug.cgi?id=676594 glib/tests/utils.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 53b48dfd3bce21fc6b52128859b01329efa10d52 Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing The old _pcre_ucp_othercase() function was wrong in returning NOTACHAR (0xffffffff) for characters that aren't changed by upper- and lower-casing. This led to PCRE internally using incorrect (or at least inefficient) character classes when using G_REGEX_CASELESS. E.g. [Z-\x{100}] turned into: [Z\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{39c}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{178}z-\x{101}] instead of the expected and efficient [Z\x{39c}\x{178}z-\x{101}] https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 22e9f72a8e23c9469c2891e48e082be664429dac Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:30:10 2012 -0400 Add a note of caution to the g_slist_delete_link() docs glib/gslist.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 905184b3ef04ea6068bd115111354cebe34d3bbc Author: Sasi Bhushan Boddepalli <sasi@swecha.net> Date: Sat Jun 23 10:16:28 2012 +0530 Updated Telugu Translation po/te.po | 540 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 305 insertions(+), 235 deletions(-) commit 991d07d66a8b111131181a8db15abbb042ee7c6d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 11:10:00 2012 -0400 GIOScheduler: Use a GList, not GSList for jobs In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 2839297686a9305b4fa909b93c337ef1d1a5e94b Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 10:20:20 2012 -0400 GIOScheduler: Avoid constant iteration over pending job list The iteration over the list (while holding a mutex) was a serious performance hit for asynchronous I/O. We can just use g_cancellable_connect(). https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit a8ddd52a45ccf1e9a6aa6b5d873e12eda3a205df Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:44:16 2012 -0400 GRand: Check return value of fopen directly This doesn't fix anything, it should just silence some static analysis tools. glib/grand.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 01d8d43d0b66f349a38075a3ebfd82fc9bed084a Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:37:39 2012 -0400 gspawn: Abort if we can't open /dev/null This really "shouldn't happen", but if we have an assertion here, it will help static analysis tools know we're not hitting undefined state. glib/gspawn.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d622157f055d9fb0ae3686f2b7a4fd1952af258 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:33:51 2012 -0400 tests/unix: Ensure buffer is NUL terminated glib/tests/unix.c | 1 + 1 file changed, 1 insertion(+) commit 56411bb67807cb5306f495d41276fe6855cdcee7 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:53 2012 -0400 gsignal: Properly handle NULL nodes gobject/gsignal.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ccd30d6816564db42b2ce13afc6bdf32274206e8 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:33 2012 -0400 gresourcefile.c: Remove stray semicolon gio/gresourcefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1ada372e968db4c5ccdc684d21b2a3e53514b85 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:08:05 2012 -0400 gmenu: Remove stray semicolon in g_menu_clear_item() gio/gmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 598c3d233a560c10133b9a8a426ae87288a98584 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:06:34 2012 -0400 tests: Add missing initializer for return value gio/tests/test-pipe-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f626cb3c16e415a78e21c7b1009e0fb9851fa3b4 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:05:39 2012 -0400 tests: Add missing va_end() gio/tests/gapplication.c | 2 ++ 1 file changed, 2 insertions(+) commit eef6f0add83c9a82b7544b519f292a90d9356a74 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:00:04 2012 -0400 gfileutils: Remove extra fclose() This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jun 14 10:12:46 2011 -0400 Don't leak resources in error cases glib/gfileutils.c | 1 - 1 file changed, 1 deletion(-) commit e756bef2e3b93a09b38a4f793a7b7265584457c8 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Jun 22 13:44:29 2012 +0200 Updated Spanish translation po/es.po | 61 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 29 deletions(-) commit 8ed955ceba9868bff43bdd591a36c12294735ab2 Author: Stef Walter <stefw@gnome.org> Date: Sun May 13 07:44:57 2012 +0200 gresolver: More robust parsing of DNS responses * Handle truncated responses, and invalid names https://bugzilla.gnome.org/show_bug.cgi?id=675966 gio/gresolver.c | 199 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 134 insertions(+), 65 deletions(-) commit 49e50757076b589bd21274221b3f69f7b2b785f3 Author: Matthew Barnes <mbarnes@redhat.com> Date: Thu Jun 21 23:39:14 2012 -0400 Add g_dbus_object_manager_server_is_exported() Returns whether a GDBusObjectSkeleton is exported on a GDBusObjectManagerServer. https://bugzilla.gnome.org/show_bug.cgi?id=678539 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusobjectmanagerserver.c | 34 ++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerserver.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 38 insertions(+) commit aae1633d0f0c75b7d9c2dd7b8c10eb279f70fc0d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 18:32:06 2012 -0400 GUnixVolumeMonitor: Make use of new g_list_copy_deep() gio/gunixvolumemonitor.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 2fd6eb7e1cfc878d011ec0b7e58c5e696186516e Author: Jonh Wendell <jwendell@gnome.org> Date: Thu Jun 21 12:23:23 2012 -0300 Adds g_list_copy_deep and g_slist_copy_deep They make a full (deep) copy of a list. In contrast with g_[s]list_copy(), these functions take a function as a argument to make a copy of each list element, in addition to copying the list container itself. The functions g_[s]list_copy() were reimplemented to just call the new functions with NULL as the function argument, which will behave like current implementation. https://bugzilla.gnome.org/show_bug.cgi?id=675024 docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/glist.c | 48 ++++++++++++++++++++++++++++++++--- glib/glist.h | 7 +++++ glib/gslist.c | 48 ++++++++++++++++++++++++++++++++--- glib/gslist.h | 6 +++++ glib/tests/list.c | 29 +++++++++++++++++++++ 7 files changed, 136 insertions(+), 6 deletions(-) commit e0f4b2b03b877e0360f56836ebfe454aa3a9dca5 Author: Dan Winship <danw@gnome.org> Date: Thu Jun 21 15:13:06 2012 -0400 gio/tests/proxy-test: fix cleanup make sure the proxy threads are in the "waiting for a connection" state when we do the final cleanup, or else there are race conditions involving which thread processes the GCancellable cancellation first. gio/tests/proxy-test.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e9ec1ad0689dfbb1121e1c5fe5b1aedbe2de568f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jun 21 06:11:58 2012 -0400 Install bash completion files in /usr/share/ The bash-completion code nowadays expects completion files to be installed in /usr/share/bash-completion/completions, and expects them to be named like the command they are completing for. https://bugzilla.gnome.org/show_bug.cgi?id=677782 gio/Makefile.am | 8 ++-- gio/completion/gdbus | 33 ++++++++++++++++ gio/completion/gresource | 58 +++++++++++++++++++++++++++ gio/completion/gsettings | 84 ++++++++++++++++++++++++++++++++++++++++ gio/gdbus-bash-completion.sh | 33 ---------------- gio/gresource-bash-completion.sh | 58 --------------------------- gio/gsettings-bash-completion.sh | 84 ---------------------------------------- 7 files changed, 179 insertions(+), 179 deletions(-) commit 80b6074aa27815e3c824f1e01ccb2431b03feec4 Author: Dan Winship <danw@gnome.org> Date: Wed Jun 20 10:14:01 2012 -0400 gio/tests/pollable: add can_poll() assertions Assert that socket streams and socket/pipe-based unix streams are pollable, and file-based unix streams are not. https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/tests/pollable.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 7d0db042234165678f5dfafef3dd96d3af97b56c Author: Dan Winship <danw@gnome.org> Date: Mon Jun 18 15:31:47 2012 -0400 gdbus: fix generated code to not warn under -Wfloat-equal https://bugzilla.gnome.org/show_bug.cgi?id=678333 gio/gdbus-2.0/codegen/codegen.py | 11 +++++++++-- gio/tests/gdbus-test-codegen.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) commit 599d1a430e787f7cda929b8b0188a01f39453e66 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed Jun 20 10:19:14 2012 +0800 msvc_recommended_pragmas.h: Re-enable C4819 warnings Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS locales, so re-enable this. Add a note in the Visual C++ Readme.txt's regarding this. build/win32/vs10/README.txt | 7 +++++++ build/win32/vs9/README.txt | 7 +++++++ msvc_recommended_pragmas.h | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) commit 7cf38c6ad76f5b343614bba9d31f683b7edb0620 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jun 19 18:51:26 2012 +0530 Assamese translation reviewed po/as.po | 1397 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 717 insertions(+), 680 deletions(-) commit 98f201b73b4ba5b5dfd86ebcd524ea8f73855174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 16:35:26 2012 +0800 Bug 678332-gio/gconverterinputstream.c: Fix build Apparently the previous change to this file broke GCC builds, so fix that. gio/gconverterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 875854411a4ea5fdd1d9217d7856858d89090cb9 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 12:04:28 2012 +0800 Bug 678332-GIO: Fix build on Windows/non-GCC -gconverterinputstream.c: Avoid GCCism by not using non-standard pointer arithmetic on void*, but do a cast to char * as that seems to be what the variable was used for. -gtestdbus.c: Don't include unistd.h unconditionally, and use g_usleep() instead of usleep(), as usleep() is not universally available. gio/gconverterinputstream.c | 2 +- gio/gtestdbus.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 08a6f8d27f8d6c059f4c074680218f6bc66f8174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Mon Jun 18 17:09:56 2012 +0800 build/win32/vs9/glib.vsprops: Cosmetics Make it more consistent accross the board by using CopyDir as the output/"install" folder. build/win32/vs9/glib.vsprops | 514 ++++++++++++++++++++++--------------------- 1 file changed, 259 insertions(+), 255 deletions(-) commit b81d7886525ea7d53a0bf7f8e845827eea5cf912 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Jun 18 07:39:23 2012 +0200 Fix g_utf8_validate() out argument transfer mode The "end" argument is unusual in g_utf8_validate(): it's not a classic out argument which gets allocated by the called function, but merely points into one of its input arguments. Thus it is "transfer none". https://bugzilla.gnome.org/show_bug.cgi?id=672889 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1da843cb48de1ef080c20b1c8ebc9bc88688ce6 Author: Dan Winship <danw@gnome.org> Date: Sat Jun 16 10:38:45 2012 -0400 docs: fix an example docs/reference/gio/gdbus-codegen.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit defa25f3d00619947720be0bcda2357bd43e718f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 18:53:09 2012 -0400 GKeyFile: Deal better with blank lines There is no need to store a has_trailing_blank_line boolean for each group, we can just check this at the time we assemble the data. This fixes a problem without roundtrips where we would sometimes add an extra blank line between groups. The testcase here is inspired by https://bugzilla.gnome.org/show_bug.cgi?id=677817 glib/gkeyfile.c | 12 +++--------- glib/tests/keyfile.c | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) commit d0c8895a073625ce87bf1604b9ab72cc7e15c616 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 15:16:13 2012 -0400 GWakeup: Avoid extraneous wakeups We were checking the wrong number here, and waking up unnecessarily. https://bugzilla.gnome.org/show_bug.cgi?id=678052 glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a5b3729ab447dd93ba337fa916067d5af2419dc Author: Paolo Borelli <pborelli@gnome.org> Date: Fri Jun 15 14:41:20 2012 +0200 Improve g_find_program_in_path documentation Document that g_find_program_in_path returns a newly-allocated string glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3647a3dcaaf0c877d0ea9398bbf5d9846a3cacfb Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Jun 15 13:15:48 2012 +0300 Updated Greek translation po/el.po | 1533 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 733 insertions(+), 800 deletions(-) commit 211d50ac7418cd05d8a7828fca388c127e02308a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu Jun 14 13:48:29 2012 +0200 Updated Spanish translation po/es.po | 142 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 77 insertions(+), 65 deletions(-) commit a090a3680b093e7473cc5e760bdf3454f8ca9e9e Author: Khaled Hosny <khaledhosny@eglug.org> Date: Wed Jun 13 21:00:44 2012 +0200 Updated Arabic translation po/ar.po | 5639 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2991 insertions(+), 2648 deletions(-) commit ee19ddcb1423814edc76aa03dd3c2252e9f722b4 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Apr 30 12:51:25 2012 -0400 Update to use XDG cache home for thumbnails https://bugzilla.gnome.org/show_bug.cgi?id=675168 gio/glocalfileinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e5d4af10a344eaa5eee72390858ee3cf374f35ad Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jun 13 14:43:29 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 5ff95679b805f7cc78f0579546700b6d48a35e0d Author: Benjamin Otte <otte@redhat.com> Date: Wed Jun 13 17:33:01 2012 +0200 glib-compile-resources: Forward errors from spawned processes We just grab stderr from gdk-pixbuf-to-csource and xmllint and include it in the error message. It's the best we can do. gio/glib-compile-resources.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 6c1276eb5fcc19921d0a0584aee140bccc3f8488 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Jun 12 20:22:39 2012 +0200 gtype: make these cases fatal. Otherwise we crash with a null-ptr deref in g_object_newv and ever there we should not return null, as we're saying that object creation will not return null. gobject/gtype.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 0866e1ede967e513f09bfb47166d76005e0486b2 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:09:53 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 14eb3d3590b5c08626c4901b16e9695747d43188 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:08:26 2012 -0400 gunixoutputstream: add missing can_poll() implementation https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/gunixoutputstream.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b9ec5699cd27334fdc605875bb0eeb818de64d4a Author: Murray Cumming <murrayc@murrayc.com> Date: Tue Jun 12 10:35:52 2012 +0200 Remove trailing commas from enums gio/gioenums.h | 2 +- glib/gspawn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6f1c4f7f056eddcbf884659ff68240c0784003c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:24:03 2012 -0400 Correct the docs for g_time_zone_adjust_time March 13, 2010 is very ordinary. March 14, 2010 is the special day. glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f47de7ec2c9f79edbb3e03f3112aa8cd1d286309 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:23:42 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) commit d4f885478542ad7356b44e2a9965dc1081ea80dc Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:42 2012 -0400 Cosmetic changes tests/gio-test.c | 25 ++++--------------------- tests/iochannel-test.c | 18 +++++++----------- 2 files changed, 11 insertions(+), 32 deletions(-) commit 6ee10762b5194076a7a9db80d41dbb3aa14fe287 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:14 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 111 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-) commit c5dabac47a3613e742ebfc0c4dec4f91ab796ae8 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:18:29 2012 -0400 Fix a typo It is 'entries', not 'entires'. glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e706ef88b3b433f777e552c85339b901314deaa Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jun 8 13:30:48 2012 -0400 GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal This is useful otherwise we'll fail if a systemd service is masked. See bug 677718 for details. https://bugzilla.gnome.org/show_bug.cgi?id=677718 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbusproxy.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit ea826d7facabbcd05b8343554acc808275881009 Author: Daniel Macks <dmacks@netspace.org> Date: Wed Jun 6 22:40:26 2012 -0400 Fix path to aclocal in output message datadir is defined in terms of datarootdir by default in configure (datadir='${datarootdir}' with ${datarootdir} not expanded), so defining datadir must happen *after* datarootdir is defined in the glib-gettextize shell script. Otherwise ${datarootdir} is null when it is expanded at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=518309 glib-gettextize.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1d4da14d8e69fb60da1a9733ac1d58d0dcd8b2 Author: Martin Jansa <Martin.Jansa@gmail.com> Date: Wed Jun 6 21:38:28 2012 -0400 configure: Add --disable-libelf option See http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch?id=1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b Signed-off-by: Colin Walters <walters@verbum.org> configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 032e8dabd15133952c7c4f9da05605380b17f79f Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jun 6 19:44:39 2012 +0200 gdbus: Implement g_dbus_connection_get_last_serial() This patch brings an ability to retrieve serial number of the last message sent within the current thread. https://bugzilla.gnome.org/show_bug.cgi?id=676825 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 49 ++++++++++++++++++++ gio/gdbusconnection.h | 4 ++ gio/gio.symbols | 1 + gio/tests/gdbus-connection.c | 90 +++++++++++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) commit 7ccfa9ce4b2352277448f66a138cc028f5fe57c8 Author: Colin Walters <walters@verbum.org> Date: Wed Jun 6 07:15:48 2012 -0400 tests/spawn-multithreaded: Decrease parallelism to avoid crashing on OS X https://bugzilla.gnome.org/show_bug.cgi?id=677527 glib/tests/spawn-multithreaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3ff037bd147b7d86f23108660a2fe71df5268a6 Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 19:20:13 2012 -0400 Pass -framework sub-flag without embedded whitespace The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994 configure.ac | 4 ++-- gio/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4690d85607da879e50746db64ea99a273823c25e Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 14:16:24 2012 -0400 configure: Require libelf 0.8.12 Older versions don't have the required API. (Commit message written by Colin Walters <walters@verbum.org>) https://bugzilla.gnome.org/show_bug.cgi?id=673253 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a8f12e770e9483e2b7bf965711a22fad134444 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 5 18:50:36 2012 +0200 g_dbus_gvariant_to_gvalue(): Add missing out annotation gio/gdbusutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdf1660e2856a22aeca6b5927b5756119d6526ec Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 4 13:17:47 2012 -0400 GLib 2.33.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8c5bd2bb0047677223849c2d516df8bd37606e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 13:18:39 2012 -0400 Updates for 2.33.2 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 3e1b972c933bc4a01e8d05f1bb6c6df1ad816579 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:45 2012 -0400 Improve GResource test coverage gio/tests/resources.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 109 insertions(+), 3 deletions(-) commit c7de2dd0e39bf9ef5641490b25c8a6eb17b7863a Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:03 2012 -0400 Improve GSocketAddress test coverage gio/tests/unix-fd.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 721366d0883c39ad31027f0f406ffca9485408ed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:46 2012 -0400 Improve GNetworkMonitor test coverage gio/tests/network-monitor.c | 150 ++++++++++++++++++++++++++++++-------------- 1 file changed, 103 insertions(+), 47 deletions(-) commit 4ad5210b353b685dce0aae9bd7331838f6cc5f92 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:27 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3129bac14c6ac5e991127f8cc51810c28306bbad Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 21:37:32 2012 -0400 Formatting cleanups gio/gvfs.c | 96 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 49 insertions(+), 47 deletions(-) commit eeb5140ad2b318fd5f6a7c02efbd0b33859975c2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:47 2012 -0400 Improve GMenu test coverage gio/tests/gmenumodel.c | 64 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) commit 0a1079d171439d89cd1c825d20c7d766ab3573b5 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:20 2012 -0400 Improve GApplication test coverage gio/tests/basic-application.c | 1 + gio/tests/gapplication.c | 45 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 2 deletions(-) commit 642e89f35678c687d45c204ad095b58f785d6c91 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:05 2012 -0400 Improve GActionGroup test coverage gio/tests/actions.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 11 deletions(-) commit a53a1b65b59577e6332509789a062c6038a085a8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:50:54 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 26a1056bde7f6ef97963b1a4b42d3da3027f555f Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 16:30:58 2012 -0400 Expand GAppInfo tests gio/tests/appinfo.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 51e6edf08b34120e1bb88a28785f3b5e59e1a2b3 Author: Bruno Brouard <annoa.b@gmail.com> Date: Sun Jun 3 13:36:14 2012 +0200 Updated French translation po/fr.po | 324 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 182 insertions(+), 142 deletions(-) commit ce5bd68e26d0e67c24313076b7f634f1dcac81b9 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 21:56:10 2012 +0200 glib: fix g_reload_user_special_dirs_cache We handle a special case for G_USER_DIRECTORY_DESKTOP when we init the values but drop it when we reload them. Fix this by preferring old values to NULL https://bugzilla.gnome.org/show_bug.cgi?id=676594 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/gutils.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2e31166f6a005d2af724942ec3e8f58cecb3a756 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 15:29:31 2012 +0200 Updated Spanish translation po/es.po | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 4f04247a1964457a7493f23d786486df449b3e08 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 13:19:37 2012 +0200 Updated Spanish translation po/es.po | 207 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) commit 69e12cd3d56ae43b188a278b807e517961627ada Author: Dan Winship <danw@gnome.org> Date: Wed May 30 08:30:27 2012 -0400 GConverterInputStream: fix an edge case Reading from a GConverterInputStream with both input_buffer and converted_buffer non-empty would return bogus data (the data from converted_buffer would essentially get skipped over, though the returned nread reflected what the count would be if it hadn't been). This was never noticed before because (a) it can't happen if all of your reads are at least as large as either the internal buffer size or the remaining length of the stream (which covers most real-world use), and (b) it can't happen if all of your reads are 1 byte (which covers most of tests/converter-test). (And (c) it only happens for some converters/input streams.) But this was happening occasionally in libsoup when content-sniffing a gzipped response, because the SoupContentSnifferStream would first read 512 bytes (to sniff), and then pass through larger reads after that. Fixed and added a test to converter-test. https://bugzilla.gnome.org/show_bug.cgi?id=676478 gio/gconverterinputstream.c | 1 + gio/tests/converter-stream.c | 163 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) commit 0fd9863abe218c002327ea993089476a793a99e6 Author: Christian Persch <chpe@gnome.org> Date: Tue May 29 19:10:57 2012 +0200 build: Add missing AM_V_GEN to silence the build gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4979c1d075e08bcdc7a6569afae2052dac5eea81 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 16:52:28 2012 +0200 application: Add dbus register/unregister hooks When the application is using its D-Bus backend, it is useful to be able to export extra D-Bus objects at the right time, i.e. *before* the application tries to own the bus name. This is accomplished here by adding a hook in GApplicationClass for this; and a corresponding hook that will be called on unregistration to undo whatever the register hook did. Bug #675509. gio/gapplication.c | 36 +++++++++++ gio/gapplication.h | 10 ++- gio/gapplicationimpl-dbus.c | 15 ++++- gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-dbushooks.c | 99 ++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 2 deletions(-) commit f642209ef4c7f13f5ff03ca3c315cd237f8f26bb Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sun May 27 22:40:44 2012 +0100 gobject: Document notify signal deduplication with freeze/thaw Expand the documentation for g_object_[freeze|thaw]_notify() to explain that it deduplicates “notify” signals emitted by frozen objects, so that at most one signal is emitted per property. https://bugzilla.gnome.org/show_bug.cgi?id=676937 gobject/gobject.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1637f08ed146bca89049301495a49d8873c2957e Author: Matej Urbančič <mateju@svn.gnome.org> Date: Mon May 28 14:57:02 2012 +0200 Updated Slovenian translation po/sl.po | 313 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 149 deletions(-) commit ae421c9f6ca58ba18494619dc89ed1d2b60948eb Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Apr 27 10:02:54 2012 +0200 Link to gvariant-format-strings-pointers in getter API https://bugzilla.gnome.org/show_bug.cgi?id=674777 glib/gvariant.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 175864b83c076f6b74a822e75990ab3a15ab73bc Author: Colin Walters <walters@verbum.org> Date: Sat May 26 11:53:14 2012 -0400 gappinfo: Fix uninitialized-variable gcc warning gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 151e37816bea6101523cf7dddab4ea1ce55ec909 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 09:22:06 2012 -0400 Annotate API introduced for 2.34 with GLIB_AVAILABLE_IN_2_34 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gdbusauthobserver.h | 1 + gio/gresolver.h | 3 +++ 2 files changed, 4 insertions(+) commit 1cc7162c9560796829db457f7ea5fdd218a0ae46 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:59:09 2012 -0400 Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gactiongroup.h | 1 + gio/gactiongroupexporter.h | 2 ++ gio/gactionmap.h | 3 +-- gio/gappinfo.h | 3 +++ gio/gapplication.h | 2 ++ gio/gdbusactiongroup.h | 1 + gio/gdbusinterface.h | 1 + gio/gdrive.h | 1 + gio/gfile.h | 1 + gio/gfileinfo.h | 1 + gio/ginetaddressmask.h | 3 +++ gio/ginetsocketaddress.h | 2 ++ gio/gmenu.h | 2 ++ gio/gmenuexporter.h | 2 ++ gio/gnetworkmonitor.h | 2 ++ gio/gnetworkmonitorbase.h | 2 ++ gio/gremoteactiongroup.h | 3 +++ gio/gresource.h | 17 +++++++++++++++++ gio/gsettings.h | 2 ++ gio/gsettingsschema.h | 7 +++++++ gio/gsimpleasyncresult.h | 1 + gio/gsocket.h | 11 +++++++++++ gio/gsocketconnection.h | 4 ++++ gio/gunixconnection.h | 4 ++++ gio/gunixmounts.h | 1 + gio/gvolume.h | 1 + 26 files changed, 78 insertions(+), 2 deletions(-) commit a9637126465fba06c1fc73cc70eb5f683ad4e4b3 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:42:50 2012 -0400 Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30 I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gaction.h | 1 + gio/gdatainputstream.h | 2 ++ gio/gdbusconnection.h | 3 +++ glib/gatomic.h | 4 ++++ glib/gfileutils.h | 3 +++ glib/ghash.h | 1 + glib/ghmac.h | 9 +++++++++ glib/glib-unix.h | 6 ++++++ glib/gunicode.h | 1 + glib/gutils.h | 2 ++ glib/gvariant.h | 2 ++ gobject/glib-types.h | 4 ++++ 12 files changed, 38 insertions(+) commit 9c86e1168cad8ae2c2642ffd487d4f6319e1dc04 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Sat May 26 10:34:53 2012 +0200 gio: fix symbol name Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> gio/gio.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 800d6ff1115b27bf0e9cce818a0511048e2f1cc5 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 5 09:19:17 2012 -0400 gio: add GBytes-based input/output stream methods Using a caller-supplied buffer for g_input_stream_read() doesn't translate well to the semantics of many other languages, and using a non-refcounted buffer for read_async() and write_async() makes it impossible to manage the memory correctly currently in garbage-collected languages. Fix both of these issues by adding a new set of methods that work with GBytes objects rather than plain buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671139 docs/reference/gio/gio-sections.txt | 6 ++ gio/ginputstream.c | 174 ++++++++++++++++++++++++++++++++++++ gio/ginputstream.h | 16 ++++ gio/gio.symbols | 6 ++ gio/goutputstream.c | 157 ++++++++++++++++++++++++++++++++ gio/goutputstream.h | 16 ++++ gio/tests/memory-input-stream.c | 26 ++++++ gio/tests/memory-output-stream.c | 27 ++++++ 8 files changed, 428 insertions(+) commit 4b456635e422ea620bfb3feeddac12a7045bd43b Author: Christian Persch <chpe@gnome.org> Date: Thu May 24 17:51:35 2012 +0200 Revert "application: Don't print a critical warning here" This reverts commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee1965b888d070428b88bbcde989e98ce63a5fe4 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:29:44 2012 +0200 application: Save a few bytes in the library There's really no need to put useless whitespace into the .so. gio/gapplicationimpl-dbus.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:26:34 2012 +0200 application: Don't print a critical warning here It's a runtime error, not a programming error. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9217309a5cd1eb59c7881939cdb58bd48e27097e Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 20:38:52 2012 +0200 glib: fix build Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/genviron.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 481191f118a8f8e6505917a985e531137796d8ac Author: Christian Persch <chpe@gnome.org> Date: Sun May 20 00:01:35 2012 +0200 gspawn: Add GSpawnFlag to use the PATH from envp Add a G_SPAWN_SEARCH_PATH_FROM_ENVP flag to GSpawnFlags so that g_spawn_async() etc use the PATH variable from the passed-in child environment to search for the executable. If both this flag and the G_SPAWN_SEARCH_PATH flag are set, the child environment is searched first and only falls back to the PATH from the process environment if it is unset. Bug #676398. glib/gspawn.c | 48 ++++++++++++++++++++++++++++++++++++------------ glib/gspawn.h | 6 +++++- 2 files changed, 41 insertions(+), 13 deletions(-) commit 6969b63827a302604a0566c8889feed33a25d842 Author: Christian Persch <chpe@gnome.org> Date: Sat May 19 23:59:01 2012 +0200 environ: Allow NULL envp https://bugzilla.gnome.org/show_bug.cgi?id=676397 glib/genviron.c | 31 ++++++++++++++++++++----------- glib/tests/environment.c | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 11 deletions(-) commit 44d4990442532dd067ca670a3a4b18109ee6b02c Author: Colin Walters <walters@verbum.org> Date: Fri May 18 10:39:05 2012 -0400 GMemoryOutputStream: Add API to return data as a GBytes Matches the corresponding additions to GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 28 ++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 3 +++ gio/tests/memory-output-stream.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) commit 1bedf248794fe5cf9dad5e40c18329e79f9d855e Author: Colin Walters <walters@verbum.org> Date: Thu May 17 14:36:15 2012 -0400 GMemoryInputStream: Add API to accept GBytes And s/Chunk/GBytes/ internally. GBytes is really a perfect match for GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 2 + gio/gmemoryinputstream.c | 107 ++++++++++++++++++++++++++++++----------------- gio/gmemoryinputstream.h | 6 +++ 3 files changed, 76 insertions(+), 39 deletions(-) commit 6e32f0a6018ab26b2a14c184752913d6f2ecad40 Author: Debarshi Ray <debarshir@gnome.org> Date: Thu May 17 06:43:54 2012 +0200 gio: The tmpl parameter to g_file_new_tmp can be NULL Fixes: https://bugzilla.gnome.org/676208 gio/gfile.c | 1 - 1 file changed, 1 deletion(-) commit 7cadf4f15f952457b5a5440d24d1a93e0a99cdde Author: Dan Winship <danw@gnome.org> Date: Wed Mar 21 09:22:38 2012 -0400 g_utf8_validate: @str shouldn't end up annotated as utf8 In order for this function to have any point, it has to be possible to pass non-UTF-8 data to it, so annotate @str as being array-of-guint8 instead of utf8. https://bugzilla.gnome.org/show_bug.cgi?id=672548 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8df2b96a6910aa557a6db2b1b5e618f3ace70f11 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 12:18:23 2012 -0400 proxy-test: work even when the upstream DNS lies Rather than depending on the host's DNS configuration to properly return an error for a non-existent hostname, just substitute in a dummy GResolver implementation that does it for us. gio/tests/proxy-test.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit 555cd1923fae52a145d527904f4efc0fc6298585 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 08:49:05 2012 -0400 g_app_info_launch_default_for_uri: don't use GFile if we don't have to GFile doesn't handle some "real" URIs, so check if there's a default handler for the URI scheme first, and only use g_file_new_for_uri() and g_file_query_default_handler() if not. Eg, this fixes the case of opening http URIs with "%2F" in the path. https://bugzilla.gnome.org/show_bug.cgi?id=666386 gio/gappinfo.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit 0e6d9df35c948d5e65eae0edb6652a9cce88f557 Author: Holger Berndt <hb@gnome.org> Date: Thu May 17 22:24:10 2012 +0200 Document that g_app_info_create_from_commandline() does unquoting according to fd.o https://bugzilla.gnome.org/show_bug.cgi?id=676277 gio/gdesktopappinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 17e95c59c9f7b1cd023aabb3645c70b9f1f37577 Author: Dan Winship <danw@gnome.org> Date: Thu May 17 13:48:21 2012 -0400 gnetworkmonitornetlink: don't leak the list of networks https://bugzilla.gnome.org/show_bug.cgi?id=676265 gio/gnetworkmonitornetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ecbb0a4045877936d872fb8aaedd49baa4d89ef Author: Dan Winship <danw@gnome.org> Date: Thu May 10 13:29:39 2012 -0400 g_clear_pointer: work around gcc helpfulness gcc gets upset when we do "((GDestroyNotify) destroy) (_p)" because it's non-portable. But we don't care; we already know glib wouldn't work on any platform where different pointer types have different calling conventions. So tweak the code to avoid the warning. https://bugzilla.gnome.org/show_bug.cgi?id=674634 glib/gmem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 787f8087836804c903f8271699e576544426e023 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:44:36 2012 -0400 gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 gio/gsettings-bash-completion.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 431d3adacdd640141f83a6c3496760adc6aba5eb Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:41:33 2012 -0400 Improve libelf configure check system libelf is not sufficient for glib (lacks elf_getshdrstrndx and elf_getshdrnum) so let's make sure we don't define HAVE_LIBELF configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aded15c9d10dbf3ec218e25793e3467240585511 Author: Ravi Sankar Guntur <ravi.g@samsung.com> Date: Mon Mar 19 21:17:32 2012 +0530 glib: fix memory leaks in gutils, protocol, and strfuncs tests https://bugzilla.gnome.org/show_bug.cgi?id=672329 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com> glib/gutils.c | 26 ++++++++++++++++++++------ glib/tests/protocol.c | 6 +++++- glib/tests/strfuncs.c | 42 +++++++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 16 deletions(-) commit 447a25ea50af2349d313c10c46b61104ce4c0391 Author: Dan Winship <danw@gnome.org> Date: Wed May 16 12:00:44 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 0417ddab6fbd2f1cddbb9218e0e300e04da2eda5 Author: Giovanni Campagna <gcampagna@src.gnome.org> Date: Sat Apr 14 19:34:00 2012 +0200 GAppInfo: add a mechanism to query supported content types This essentially adds an accessor for the MimeType field in desktop files, to retrieve the list of all mime types supported by an application. The interface though is part of GAppInfo, so it could be implemented in the future by other backends. https://bugzilla.gnome.org/show_bug.cgi?id=674111 docs/reference/gio/gio-sections.txt | 1 + gio/gappinfo.c | 31 +++++++++++++++++++++++++++++++ gio/gappinfo.h | 4 ++++ gio/gdesktopappinfo.c | 13 +++++++++++++ gio/gio.symbols | 1 + gio/tests/appinfo-test.desktop | 1 + gio/tests/appinfo.c | 16 ++++++++++++++++ 7 files changed, 67 insertions(+) commit e011d2c92162d25a6e6d5f67d462edfeb4af3d7a Author: Dan Winship <danw@gnome.org> Date: Sun Jan 3 14:47:56 2010 -0500 Add g_type_ensure() and use it rather than playing games with volatile https://bugzilla.gnome.org/show_bug.cgi?id=605976 docs/reference/gobject/gobject-sections.txt | 1 + gio/gicon.c | 10 +++---- gio/ginetaddress.c | 4 +-- gio/giomodule.c | 38 ++++++++++++------------- gio/gresolver.c | 5 +--- gio/gsocket.c | 4 +-- gio/gsocketconnection.c | 6 ++-- gio/gsocketcontrolmessage.c | 8 ++---- gio/gunixconnection.c | 5 +--- gobject/gobject.symbols | 1 + gobject/gtype.c | 43 +++++++++++++++++++++++++---- gobject/gtype.h | 2 ++ 12 files changed, 72 insertions(+), 55 deletions(-) commit 2a4235d0f3fe3b3fb007385ee59082c0987158ce Author: Paolo Borelli <pborelli@gnome.org> Date: Tue May 15 17:38:44 2012 +0200 gfile: add g_return_if_fail to g_file_make_directory_with_parents() gio/gfile.c | 2 ++ 1 file changed, 2 insertions(+) commit 5a57144d5749efaf3b5e752db9b041597d4b062f Author: Colin Walters <walters@verbum.org> Date: Fri May 4 10:03:12 2012 -0400 gfile: Plug memory leak in g_file_make_directory_with_parents() The logic here is pretty twisted, but basically we were leaking a ref for each non-existent parent. The clearest way to fix this was to move to more explicit refcounting logic; when a variable is pointing to an object, it holds a ref. https://bugzilla.gnome.org/show_bug.cgi?id=675446 gio/gfile.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit d5d3c7b3a4830a12e155e949345cfc9109236786 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon May 14 16:18:26 2012 -0400 Cover some malloc corner cases in tests glib/tests/utils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 215844b3a64fae95b24e464fe87ab6c3b5cd8daa Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 01:52:37 2012 -0400 Add a test for g_clear_pointer glib/tests/utils.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit e153c8c58b7643d8d823b7a199c3efb19fea3985 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Sun May 13 19:22:24 2012 +0900 [l10n] Update Japanese translation po/ja.po | 637 ++++++++++++++++----------------------------------------------- 1 file changed, 155 insertions(+), 482 deletions(-) commit e3eb137bbb2ebeede6156424e3e0a1aeb8973614 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 00:46:39 2012 -0400 Use non-deprecated api in tests https://bugzilla.gnome.org/show_bug.cgi?id=660851 glib/tests/rec-mutex.c | 4 ++-- glib/tests/rwlock.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 77695437b319c8e1a918c8b3ab892ba8a63fbf63 Author: Jasper St. Pierre <jstpierre@mecheye.net> Date: Wed May 2 12:53:27 2012 -0400 gkeyfile: Fix annotations for g_key_file_load_from_data https://bugzilla.gnome.org/show_bug.cgi?id=675309 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebc3b928a39e8895719a5795a14e13c2cdf3c8bd Author: Lars Uebernickel <lars@uebernic.de> Date: Thu May 10 09:35:03 2012 -0700 docs: reference g_menu_item_new in gmenu convenience menuitem API gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 748f44b12f25717a45477a6e2e74bf6abc7951ba Author: Christian Kirbach <Christian.Kirbach@googlemail.com> Date: Tue May 8 19:16:14 2012 +0200 [l10n] Updated German translation po/de.po | 177 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 82 deletions(-) commit 1b29ea3663501a407b82d83792d47d0941df13b2 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Tue May 8 16:49:53 2012 +0200 Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default glib/gversionmacros.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 744f36bb0685e35aac5fcfcf37cb1e1c9c45786e Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Tue May 8 15:12:42 2012 +0100 version macros: Make MIN_REQUIRED the current stable version So that deprecation warnings will come into effect starting from the stable release, instead of the next. glib/gversionmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb63c73bbe213f5c1ac7ecafdf298c3cb8de23c3 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Tue May 8 20:24:53 2012 +0900 [l10n] Update Japanese translation po/ja.po | 6155 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3275 insertions(+), 2880 deletions(-) commit a365684bf086742763b098feddaf5525bc9581c0 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Mon May 7 10:33:44 2012 +0200 configure.ac: more AS_IF It looks like JH_CHECK_XML_CATALOG has some prerequisite as well Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 54e31ab4f172bbb28434eafc34c9345a93c9ccf5 Author: Colin Walters <walters@verbum.org> Date: Thu May 3 15:18:11 2012 -0400 configure: Use AS_IF almost everywhere Not doing so is an evil trap, sadly. This patch has been compile-checked on Fedora 16, and I've verified that the generated config.status and config.h is exactly the same. https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 246 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 118 insertions(+), 128 deletions(-) commit e30823d93ff643c82d4037c2cf0f509e347f49de Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Thu May 3 08:44:12 2012 +0200 configure.ac: use AS_IF This way any prerequisites for e.g. AC_CHECK_HEADER are always executed before the 'if'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7ba899701566c5941ba93bcd31e0b7ae70a7e69d Author: Yuri Kozlov <yuray@komyakino.ru> Date: Sun May 6 11:35:01 2012 +0400 Updated Russian translation po/ru.po | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit ed1f10bc1c149ac6c317b80b3ba46fda6b545a4e Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu May 3 15:00:14 2012 +0200 docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example. gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa38ae9fb8eed894dcd37baa154967aae7f6c45 Author: Marek Černocký <marek@manet.cz> Date: Fri May 4 09:30:06 2012 +0200 Updated Czech translation po/cs.po | 223 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 140 insertions(+), 83 deletions(-) commit 486d563049a789b0a2f45f1b5564eaf66294f083 Author: Christian Persch <chpe@gnome.org> Date: Wed May 2 20:14:52 2012 +0200 application: Clarification about 'primary instance' For non-unique applications, the 'primary instance' is the current instance. gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f7b61c72b4f2fef3ab21b51b9660973452d22f8d Author: Dimitris Spingos <dmtrs32@gmail.com> Date: Wed May 2 12:00:03 2012 +0300 Updated Greek translation po/el.po | 6433 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3408 insertions(+), 3025 deletions(-) commit 874355de53e7ea7009860c0b67094d919a5daa6f Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed May 2 11:10:23 2012 +0800 Fix GIO/GObject Visual C++ projects -Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL builds, omitting this caused problems to surface due to recent works to make GDBus work on Windows. -Also use the FFI_BULIDING macro for GObject builds as the suggessted workaround for using static LibFFI builds (as we do now)-please see ffi.h(.in). This will fix the build of GObject against LibFFI 3.0.11, but it is probable that this will change at some point for LibFFI. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 83f04afa0b8b66d200ccdc17ac6f5cd0e17b1c15 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 12:57:00 2012 -0400 GLib 2.33.1 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 774074f99bcc6237290e5252faf24581d7fe9932 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:48:52 2012 -0700 slice-color test: don't use non-existent macro G_GUINT64_MODIFIER doesn't exist, but G_GINT64_MODIFIER does (and will be the same as is needed for unsigned). tests/slice-color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b31d872081a70817dc036043fef05cd950c4e86f Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:23:09 2012 -0700 tests: temporarily disable GDBus async proxy test It has never worked properly and, with the new GDBus testing stuff, it's occasionally failing. https://bugzilla.gnome.org/show_bug.cgi?id=672248 gio/tests/gdbus-proxy.c | 2 ++ 1 file changed, 2 insertions(+) commit 56ca8add1088385a874fdb371a6d490926109710 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 15:40:15 2012 -0400 contenttype test: don't pass -1 as length g_content_type_guess() takes a gsize, not a gssize, and -1 does not mean "I am passing a NULL terminated string". gio/tests/contenttype.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8db824e00b69302dafed9ceddd6f34abf5202516 Author: Michael Biebl <biebl@debian.org> Date: Tue May 1 18:42:12 2012 +0200 configure: Reset LIBS after ELF check If action-if-found is not specified, AC_CHECK_LIB will append the library to LIBS. As we don't want to link everything against libelf, reset LIBS after doing the checks. configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit eb5381b8622eda26b6bd86dbac39bd9ed86bf730 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Apr 30 12:20:54 2012 -0400 GApplication: add accessor for DBus information Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249 docs/reference/gio/gio-sections.txt | 3 ++ gio/gapplication.c | 65 ++++++++++++++++++++++++++++++++++++- gio/gapplication.h | 5 +++ gio/gapplicationimpl-dbus.c | 11 +++++++ gio/gapplicationimpl.h | 6 ++++ gio/gio.symbols | 2 ++ 6 files changed, 91 insertions(+), 1 deletion(-) commit 16f92a33aca1161aab3669f39b32f5c8f09fb433 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Mar 3 11:31:05 2012 -0500 GApplication: allow null application_id GApplication application ID is now permitted to be NULL, in which case G_APPLICATION_NON_UNIQUE will be implicitly enabled. https://bugzilla.gnome.org/show_bug.cgi?id=671249 gio/gapplication.c | 57 +++++++++++++++++++++++++++------------------ gio/gapplicationimpl-dbus.c | 6 +++++ gio/gioenums.h | 9 +++---- 3 files changed, 45 insertions(+), 27 deletions(-) commit d959ace72cd07bebe0d87d483613b3285bb3c4f4 Author: Bruno Brouard <annoa.b@gmail.com> Date: Mon Apr 30 21:54:22 2012 +0200 Updated French translation po/fr.po | 171 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 93 insertions(+), 78 deletions(-) commit cbf06d8fa94672496d170c65ed9c328816e7eee0 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 30 17:02:06 2012 +0200 g_clear_pointer: use the same static checks than g_clear_object in glib-2-32 glib/gmem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 19ac408650ffbbff55fa01fe0968242abb7eacc3 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Apr 30 16:14:24 2012 +0200 Updated Galician translations po/gl.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit cf4582fb81108b879f5d017a7b25f26ec2328b6a Author: Luca Ferretti <lferrett@gnome.org> Date: Mon Apr 30 15:41:08 2012 +0200 l10n: Updated Italian translation po/it.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 169 insertions(+), 150 deletions(-) commit 7d4d0668b37476a1dc0f088574e7292fdac7c17c Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:54:05 2012 -0400 Update gio/tests/.gitignore gio/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit c37273dccb183c98ee45f164117f515e4efbff06 Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:31:20 2012 -0400 fix warnings gio/gdbusdaemon.c | 1 - gio/gtestdbus.c | 2 +- gio/tests/buffered-input-stream.c | 2 +- glib/goption.c | 1 - tests/gobject/defaultiface.c | 3 +-- tests/gobject/dynamictype.c | 3 +-- tests/gobject/ifaceinit.c | 2 ++ tests/slice-color.c | 7 ++++--- tests/slice-test.c | 2 +- tests/threadpool-test.c | 16 +++++++++++----- 10 files changed, 22 insertions(+), 17 deletions(-) commit c5285b3abafe2d28f99e0dd0981deee49fa401f1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Apr 30 10:16:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 143 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 98 insertions(+), 45 deletions(-) commit a7bde137c3b66ca1857332fd3a702e80d457731d Author: Jonh Wendell <jwendell@gnome.org> Date: Sat Apr 28 10:11:25 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 375 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 197 insertions(+), 178 deletions(-) commit fd3ec4df87ce05f364799b7eb8b0219420d755c4 Author: Dan Winship <danw@gnome.org> Date: Fri Apr 27 09:27:38 2012 -0400 Fix several recently-introduced bugs in g_output_stream_write_async() g_output_stream_write_async() was not initializing the newly-added members of the WriteData structure, causing various problems. Also, g_input_stream_read_async() was now leaking its cancellable. Fix that as well. https://bugzilla.gnome.org/show_bug.cgi?id=674612 gio/ginputstream.c | 12 ++++++++++-- gio/goutputstream.c | 15 +++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) commit 00285b7517a63a243a5b61b738de5eea957ae767 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 23 17:57:56 2012 +0200 Add g_clear_pointer() Also reimplement g_clear_object() using g_clear_pointer() https://bugzilla.gnome.org/show_bug.cgi?id=674634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmem.c | 39 +++++++++++++++++++++++++++++++++++ glib/gmem.h | 18 ++++++++++++++++ gobject/gobject.c | 13 +----------- gobject/gobject.h | 14 +------------ 6 files changed, 61 insertions(+), 25 deletions(-) commit 3f816dc5d14ce64f89c5e8b16ac7d8c1f3542b0d Author: Debarshi Ray <debarshir@gnome.org> Date: Mon Apr 16 23:00:01 2012 +0200 GAppInfo: overwrite the DISPLAY only if it is set in the launch context If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed306565c0652050665eafff4dfcdf0d8b Fixes: https://bugzilla.gnome.org/672786 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6219767f61fe7b402c9db8fbdaf57ab8ffb25681 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Thu Apr 26 15:29:12 2012 +0300 Updated Hebrew translation. po/he.po | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 79724bf80c414a06f3caf1f2ff614bb3c44a8ba3 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 26 10:05:41 2012 +0200 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 063ec9a75d6f70b45a8e51653608a6e40f948b3c Author: Colin Walters <walters@verbum.org> Date: Wed Apr 25 14:47:01 2012 -0400 build: Fix 'make dist' regression Commit f084b603771f78126bc0b07229a1574b76e776bb incorrectly set DIST_SUBDIRS for the toplevel Makefile.am. In general actually we don't need to set it, because modern automake automatically sets it by looking at conditionals for SUBDIRS. Tested-by: Rico Tzschichholz <ricotz@t-online.de> https://bugzilla.gnome.org/show_bug.cgi?id=667806 gio/Makefile.am | 3 --- glib/Makefile.am | 6 +----- gobject/Makefile.am | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) commit 87cc77a1985efa18bcd8fc3318c90d8557ae9129 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 25 10:44:55 2012 -0400 gsocket: test if family is <= 0, not < 0 If all members of GSocketFamily are supported on the platform, then all of its values will be positive, and so the enum might become unsigned, in which case testing for "family < 0" might cause warnings. But we want to return an error if family == 0 (aka G_SOCKET_FAMILY_INVALID) anyway, so just tweak the test accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=674592 gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56bcba11dd2d2b679efeebcf78f0f5736ba311e1 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Wed Apr 25 09:46:35 2012 +0200 make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the correct alignment. Without a previous AC_CHECK_TYPE for the same type, the alignment is silently set to '0'. This makes sure that configure fails and reports the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit b053f990c91eff334aec8db9519846a041a98999 Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Apr 24 16:39:21 2012 +0200 win32: More srcdir != builddir fixing gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62905cda0b42163bbd582278260f659f94e4d2bf Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:53:49 2012 +0200 win32: Fix build with srcdir != builddir Missed this part in the last commit gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67 Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:03:38 2012 +0200 win32: Fix build of gdbus-daemon-generated.[ch] gdbus-daemon-generated.[ch] failed to build because it depended on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part of the build, however SUBDIRS are done *after* processing BUILT_SOURCES, and these files are in BUILT_SOURCES. The fix is simple, instead of running the gdbus-codegen code we run the gdbus-codegen.in code, which works fine for uninstalled execution. I also removed Makefile from the dependencies to avoid rebuilding the file in tarballs, as Makefiles are written at configure time. We should be able to ship the prebuilt files in the tarballs. When running uninstalled gio/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c0756ea0e118deece4b797d15c2462db48191ed Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Apr 24 07:28:43 2012 +0300 Updated Bulgarian translation po/bg.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 02be039a6cc41bc0e65a336ad76b4c5b14e00e22 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Tue Apr 24 00:29:07 2012 +0200 Updated Galician translations po/gl.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 810a296d4244f061f037445f39b8900fb67ba3e8 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Apr 24 00:03:33 2012 +0800 Visual C++ projects: Clean/fix up Clean/fix up the Preprocessor Definitions for the various projects, where we purge out the unneeded macros and add _DEBUG to the Debug builds of various projects that somehow lacked this. This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro in the release builds will cause a debug entry to appear in its manifest file during the build, which will cause GIO-using applications to fail to run on systems not running Visual C++/Studio 2008 due to its embedding of a badly-generated manifest file. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/glib-genmarshal.vcxproj | 8 ++++---- build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs10/gmodule.vcxproj | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 4 ++-- build/win32/vs10/gspawn-win32-helper.vcxproj | 4 ++-- build/win32/vs10/gthread.vcxproj | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib-genmarshal.vcproj | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 4 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 4 ++-- build/win32/vs9/gthread.vcproj | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) commit 58f0173149d5be9a7fc0810e4bcf7a2fafde1a7f Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:29 2012 -0400 Add tests for signal convenience api gobject/tests/signals.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit e62102dbc5bd9f6fe905775fc19aea894ef7f8d4 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:06 2012 -0400 Add tests for toggle reference and qdata gobject/tests/reference.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) commit 8b618eb7f1eec1632c164053097f3e41150782ce Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:17:40 2012 -0400 Improve test coverage in gobject/tests This is just making sure that we execute property getters/setters. gobject/tests/dynamictests.c | 3 +++ gobject/tests/properties.c | 9 +++++++++ 2 files changed, 12 insertions(+) commit 87832242023e593751b20f6fa90235b32cfe5d4c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:50 2012 -0400 Add some directory getter tests glib/tests/utils.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) commit 1089a0a9f6987b7b1aa8f3f9e4def1b92cdfd11c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:23 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 6214977260f22b41f0e2e407c7fa2a5a3bed5084 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Apr 23 11:40:33 2012 +0200 Updated Spanish translation po/es.po | 141 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 74 insertions(+), 67 deletions(-) commit a44e80198340d7169197fe7627868383dc4df06c Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 02:08:41 2012 +0200 Make GDataOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gdataoutputstream.c | 108 ++++++++++++++++++++++- gio/tests/data-output-stream.c | 194 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+), 3 deletions(-) commit 43895e3089ec1ac7af2f77530fe91678b58a3501 Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 01:50:41 2012 +0200 Make GBufferedOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedoutputstream.c | 132 ++++++++++++++++++++++++- gio/tests/buffered-output-stream.c | 195 +++++++++++++++++++++++++++++++++++++ 2 files changed, 324 insertions(+), 3 deletions(-) commit 90739baec071f4bba19558a3e08a9f330f78070e Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Wed Mar 28 14:12:44 2012 +0200 Make GBufferedInputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedinputstream.c | 138 ++++++++++++++++++++++++++++++++++++-- gio/tests/buffered-input-stream.c | 86 ++++++++++++++++++++++++ 2 files changed, 220 insertions(+), 4 deletions(-) commit 86abe5163fb2fe08ae886b2decc18ba9318b974c Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Apr 23 12:12:27 2012 +0400 Updated Russian translation po/ru.po | 1480 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 779 insertions(+), 701 deletions(-) commit a151c97106948c6bd21b0e2a71b7c18b1f106ce9 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 00:35:37 2012 -0400 Make the child source test work On my machine, this test was failing, because the timeout source for quitting the inner mainloop was triggering repeatedly. Avoid that by explicitly returning G_SOURCE_REMOVE from the callback. glib/tests/mainloop.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit d18a9caf0310c2c6f98e04e15c7a8ca8280846e1 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 02:45:08 2012 +0100 docs: Use latest docbook dtd: 4.5 .../gdbus-object-manager-example-docs.xml | 4 ++-- docs/reference/gio/migrating-gdbus.xml | 4 ++-- docs/reference/glib/building.xml | 4 ++-- docs/reference/glib/changes.xml | 4 ++-- docs/reference/glib/compiling.xml | 4 ++-- docs/reference/glib/cross.xml | 4 ++-- docs/reference/glib/regex-syntax.xml | 4 ++-- docs/reference/glib/resources.xml | 4 ++-- docs/reference/glib/running.xml | 4 ++-- docs/reference/gobject/tut_gobject.xml | 4 ++-- docs/reference/gobject/tut_gsignal.xml | 4 ++-- docs/reference/gobject/tut_gtype.xml | 4 ++-- docs/reference/gobject/tut_howto.xml | 4 ++-- docs/reference/gobject/tut_intro.xml | 4 ++-- docs/reference/gobject/tut_tools.xml | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) commit ee44211f1a44e58bb7c3d93aed6eeee4863d5263 Author: Javier Jardón <jjardon@gnome.org> Date: Sun Apr 22 21:56:07 2012 +0100 docs: rename *-docs.sgml to *-docs.xml We are using xml docbook nowadays docs/reference/gio/gio-docs.xml | 4 +- docs/reference/glib/Makefile.am | 18 +- docs/reference/glib/building.sgml | 538 ------- docs/reference/glib/building.xml | 538 +++++++ docs/reference/glib/changes.sgml | 174 -- docs/reference/glib/changes.xml | 174 ++ docs/reference/glib/compiling.sgml | 121 -- docs/reference/glib/compiling.xml | 121 ++ docs/reference/glib/cross.sgml | 208 --- docs/reference/glib/cross.xml | 208 +++ docs/reference/glib/glib-docs.sgml | 221 --- docs/reference/glib/glib-docs.xml | 221 +++ docs/reference/glib/regex-syntax.sgml | 2531 ------------------------------ docs/reference/glib/regex-syntax.xml | 2531 ++++++++++++++++++++++++++++++ docs/reference/glib/resources.sgml | 115 -- docs/reference/glib/resources.xml | 115 ++ docs/reference/glib/running.sgml | 380 ----- docs/reference/glib/running.xml | 380 +++++ docs/reference/gobject/Makefile.am | 2 +- docs/reference/gobject/gobject-docs.sgml | 170 -- docs/reference/gobject/gobject-docs.xml | 170 ++ 21 files changed, 4470 insertions(+), 4470 deletions(-) commit 3ea31fc0f1d81affaf655f550899fa16cb59201a Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:36:49 2012 +0100 docs: Add index to new api added in 2.34 docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 3 files changed, 12 insertions(+) commit 14a7781873317e24b55984173e2bedf6eaaf0917 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:15:26 2012 +0100 docs: Fix "Since" markup glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a37bc0dc6cc013d01836b45c2eea6b1bd6d80e5 Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:18:50 2012 -0400 gio: add a proxy test program Test GProxy, GProxyResolver, GProxyAddress, and GProxyAddressEnumerator, plus GSocketClient's proxy-resolving codepaths. gio/tests/Makefile.am | 4 + gio/tests/proxy-test.c | 1077 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1081 insertions(+) commit bcaa0a3820dae0ce10fc8329b10b7c963447e6d3 Author: Dan Winship <danw@gnome.org> Date: Sat Apr 21 00:25:53 2012 -0400 gio: Add more information to GProxyAddress Add two new methods to GProxyAddress for recovering information about the destination URI that the proxy was created for (and modify GProxyAddressEnumerator to set that information when creating the GProxyAddress). docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gproxyaddress.c | 116 +++++++++++++++++++++++++++++++++--- gio/gproxyaddress.h | 5 ++ gio/gproxyaddressenumerator.c | 54 ++++++++++------- 5 files changed, 152 insertions(+), 27 deletions(-) commit 8c7025e72320775f915cdd776e09c7cbecd648ac Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:20:14 2012 -0400 gio: fix error handling in async case of GProxyAddressEnumerator In the async case, a failed DNS lookup was causing the proxy resolution to bail out immediately, rather than just moving on to the next potential proxy (which might not need us to do the DNS lookup beforehand). Fix that. gio/gproxyaddressenumerator.c | 95 ++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 37 deletions(-) commit 3cf987e660d0b32e44b2be67352db65f14342f6a Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sun Apr 22 15:34:12 2012 +0200 Updated Galician translations po/gl.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2a5763c412b624cb70fdc858431b5292ff5312e0 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Sun Apr 22 11:13:21 2012 +0200 Updated Spanish translation po/es.po | 147 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 90 insertions(+), 57 deletions(-) commit 1e73a200a6fd13b36c52cf783521ac5a256cec56 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Sun Apr 22 11:41:51 2012 +0300 Updated Hebrew translation. po/he.po | 371 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 207 insertions(+), 164 deletions(-) commit ecdaf357fe230baefefd45ebd3000ab7c37869ac Author: Alexander Shopov <ash@kambanaria.org> Date: Sun Apr 22 09:07:34 2012 +0300 Updated Bulgarian translation po/bg.po | 147 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 94 insertions(+), 53 deletions(-) commit 2adf6b3d6b975130f41fcbbd66ea348d8a10c0e6 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sat Apr 21 16:30:59 2012 +0200 Updated Galician translations po/gl.po | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 8ebea8263402dd4a5778c2febbd4ef891eddd88c Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:46:49 2012 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68629ceb4fab5393448ab4688320eace56d11790 Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:39:22 2012 +0200 Updated Slovenian translation po/sl.po | 180 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 110 insertions(+), 70 deletions(-) commit 5d7e9bfbbd7f993922b09577d775822f63ea5640 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Sat Apr 21 09:26:24 2012 +0200 Updated Serbian translation po/sr.po | 349 ++++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 349 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 392 insertions(+), 306 deletions(-) commit 88f73eef540d107210a0f52de81cb1a2c87cb5d6 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Fri Apr 20 20:50:26 2012 +0200 Updated POTFILES.in po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit 755c1311958f256d60daeb548d1ba4d235d2783b Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Apr 20 17:22:55 2012 +0200 Updated Spanish translation po/es.po | 130 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 57 deletions(-) commit 515a454c39b81f61565f7b41ff26aad7a133f853 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Apr 20 15:12:48 2012 +0200 Updated Galician translations po/gl.po | 120 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 53 deletions(-) commit 5fb44f70dcac16ff6f13d3d36c330ddd617a5d97 Author: Alexander Larsson <alexl@redhat.com> Date: Fri Apr 20 10:23:34 2012 +0200 win32: Implement _g_dbus_get_machine_id using machine guid This is what libdbus uses, so we're compatible. gio/gdbusprivate.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit dccce383670592f12510019e92ea91a618a1810c Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 17:09:37 2012 +0200 win32: Support autolaunching dbus daemon gio/Makefile.am | 8 ++ gio/gdbusaddress.c | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 312 insertions(+), 2 deletions(-) commit bd148e127a5863de4aef260cd879e0eda370c711 Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 16:25:29 2012 +0200 Add _g_io_win32_get_module to get the gio HMODULE gio/giomodule-priv.h | 4 ++++ gio/giomodule.c | 6 ++++++ 2 files changed, 10 insertions(+) commit 74214e2997e51fd96842aac2eee049e6b81a4595 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 19 11:01:24 2012 +0200 GTestDBus: Allow to specify the dbus-daemon binary The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to whatever you want. This is useful to test with gdbus-daemon gio/gtestdbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 0d8b1b14d2d56c92b2b783798a9552eb75d77a29 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:47 2012 +0200 Add gdbus-daemon test app gio/tests/Makefile.am | 4 +++ gio/tests/gdbus-daemon.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit 25581738a8d5ee7db2a6d9ebd908d59b2837cd70 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:04 2012 +0200 Add GDBusDAaemon, an implementation of a message bus This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work. gio/.gitignore | 1 + gio/Makefile.am | 17 +- gio/dbus-daemon.xml | 76 +++ gio/gdbusdaemon.c | 1752 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusdaemon.h | 19 + 5 files changed, 1864 insertions(+), 1 deletion(-) commit b38f1c7aff0bb7388993973f4d8516b95ad593ba Author: Benjamin Otte <otte@redhat.com> Date: Fri Apr 20 14:31:05 2012 +0200 resourcefile: Set display name Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345 gio/gresourcefile.c | 1 + 1 file changed, 1 insertion(+) commit 289e3b9143fe9bd27657ed277dd7ea2e1a690aa3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Apr 19 17:13:52 2012 -0400 More beautiful fix A comma on a line by itself is too ugly to stand. gio/gtestdbus.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
glib2-legacy-2.33.12-2.oc00 (06/07/2016)
Repository: Netlabs stable
commit 626abfdc108154c3ae149e82580779669fb63881 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Sep 3 15:14:18 2012 -0400 2.33.10 NEWS | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) commit 5d915a4a779e566431d0f268b63904d82e62f5bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:18:23 2012 +0200 Revert "Updated Spanish translation" This reverts commit bc036bf9789556f37b2872baaee3c126af7e6e3f. po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 791 insertions(+), 780 deletions(-) commit bc036bf9789556f37b2872baaee3c126af7e6e3f Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:15:35 2012 +0200 Updated Spanish translation po/es.po | 1571 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 780 insertions(+), 791 deletions(-) commit d68609f9fd22e0e498f13fc7340075022f94ed48 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 10:06:13 2012 -0400 Revert "xdgmime: plug a small leak" This reverts commit 4e7031f073db2df7297feab35c9d353b0b3977d8. The string actually does get freed somewhere else, at least in some cases. Can be looked at again later if this reintroduces a leak. https://bugzilla.gnome.org/show_bug.cgi?id=683270 gio/xdgmime/xdgmime.c | 1 - 1 file changed, 1 deletion(-) commit 857ac29c1fd785626281709051e4b3850493418c Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Sep 3 16:06:57 2012 +0200 Updated Spanish translation po/es.po | 731 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 356 insertions(+), 375 deletions(-) commit 4d1b0d46dbf3f735a8808d66bc2d30baa9bd3947 Author: Dan Winship <danw@gnome.org> Date: Mon Sep 3 08:56:10 2012 -0400 update .gitignore gobject/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit beb0f9c15058e2249ffed73747f11298e6949b84 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 20:43:54 2012 -0400 gio/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/appinfo.c | 2 ++ gio/tests/contexts.c | 13 ++++++++++++- gio/tests/converter-stream.c | 1 + gio/tests/file.c | 5 ++++- gio/tests/live-g-file.c | 21 +++++++++++++++++---- gio/tests/memory-input-stream.c | 3 +++ gio/tests/mimeapps.c | 1 + gio/tests/network-address.c | 1 + gio/tests/network-monitor.c | 26 +++++++++++++++++++++++++- gio/tests/proxy-test.c | 36 +++++++++++++++++++++++++++--------- gio/tests/unix-streams.c | 1 + 11 files changed, 94 insertions(+), 16 deletions(-) commit 17bb9d542cea2eeb3cb54cb583f671cf5e005631 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:38 2012 -0400 gio/tests/cancellable: fix to still work when running slowly The test was assuming that all cancelled ops would finish within a certain amount of time, but this often failed under valgrind. Instead, just run the loop until all of the ops have actually finished. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/cancellable.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 568f7377088ea7836217f0bec917cc77e1210742 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:11:17 2012 -0400 gio/tests: port some stuff to g_test_expect_message() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/tests/Makefile.am | 2 +- gio/tests/actions.c | 78 +++++++++++++++++++---------------------------- gio/tests/gdbus-message.c | 50 +++++++++++++++++------------- gio/tests/gsettings.c | 52 +++++++++++++++---------------- 4 files changed, 85 insertions(+), 97 deletions(-) commit 039ecf2bc613ea5687d1052a87c982163e506451 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:08:38 2012 -0400 g_file_copy: plug a leak The fallback copy code was leaking the GFileInfo if it didn't have G_FILE_ATTRIBUTE_STANDARD_TYPE. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gfile.c | 1 + 1 file changed, 1 insertion(+) commit fa58cef826d8f3b6b3eb0cad230b0421ee35f8a2 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:06:46 2012 -0400 GDesktopAppInfo: fix leaks g_desktop_app_info_ensure_saved() was leaking the file contents. _g_desktop_app_info_launch_uris_internal() was leaking the session bus on error. https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4e7031f073db2df7297feab35c9d353b0b3977d8 Author: Dan Winship <danw@gnome.org> Date: Fri Aug 24 17:03:35 2012 -0400 xdgmime: plug a small leak https://bugzilla.gnome.org/show_bug.cgi?id=682560 gio/xdgmime/xdgmime.c | 1 + 1 file changed, 1 insertion(+) commit 03be681e08dc9e706d2d22df01fd4edb004a7577 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 16:53:13 2012 -0400 gobject/tests: plug leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/signals.c | 3 +++ gobject/tests/threadtests.c | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit e0cba35d4116c61035a0cbb403d89a04bbdb8963 Author: Dan Winship <danw@gnome.org> Date: Mon Aug 27 07:45:08 2012 -0400 gobject/tests: use g_test_expect_messages() https://bugzilla.gnome.org/show_bug.cgi?id=682560 gobject/tests/Makefile.am | 3 +++ gobject/tests/ifaceproperties.c | 16 +++++++--------- gobject/tests/param.c | 15 +++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 7972485ca10ef7b45389832f3d8afcf1372c8991 Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Sep 3 10:16:21 2012 +0400 Updated Russian translation po/ru.po | 1522 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 824 insertions(+), 698 deletions(-) commit 7662dbe82b2a4010418586434756ad75169318b3 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Mon Sep 3 01:20:56 2012 +0200 Updated Polish translation po/pl.po | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a30f6a6eb82e896d5b1dc0921d1d8256ed7ec546 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 29 00:01:15 2012 -0400 Add new api to symbol lists and docs https://bugzilla.gnome.org/show_bug.cgi?id=682849 docs/reference/glib/glib-sections.txt | 3 +++ docs/reference/gobject/gobject-sections.txt | 4 ++++ glib/glib.symbols | 2 ++ gobject/gobject.symbols | 4 ++++ 4 files changed, 13 insertions(+) commit d80d70458ad1711f9c1935a58df3eb9e04853464 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Sep 1 00:20:22 2012 -0400 Add a threaded test for g_object_replace_data This is the threaded atomic add test from glib/tests/atomic.c, redone using qdata instead of an atomic int to store the values. gobject/tests/Makefile.am | 1 + gobject/tests/qdata.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) commit 2fa77fb76c452755fe5f2a1ebe10f27583959250 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 23:56:01 2012 -0400 Add some tests for new object data api These are non-threaded, but the do test dup and destroy somewhat. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/tests/reference.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 1254ca716bf64ce97f6b47882493411883a41865 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:45:30 2012 -0400 Add an atomic compare-and-exchange operation for object data This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 gobject/gobject.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++- gobject/gobject.h | 30 ++++++++++ 2 files changed, 204 insertions(+), 1 deletion(-) commit 06e3a1d71afb66d573b20f17a575c345fb4b697f Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 06:44:00 2012 -0400 Add compare-and exchange for data lists Also, make it possible to get a 'new ref' on a datalist member in a race-free way. This is useful when using object data in thread-safe libraries. https://bugzilla.gnome.org/show_bug.cgi?id=682849 glib/gdataset.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++------- glib/gdataset.h | 17 ++++- 2 files changed, 214 insertions(+), 26 deletions(-) commit 18e49c30f02da6d0e10a4dc72760cf3f05303588 Author: Rūdolfs Mazurs <rudolfsm@src.gnome.org> Date: Sun Sep 2 16:02:50 2012 +0300 Updated Latvian translation po/lv.po | 2467 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1281 insertions(+), 1186 deletions(-) commit b3beac08f592dcdf57181fcbdffd51fd8b9811f7 Author: Aurimas Černius <aurisc4@gmail.com> Date: Sun Sep 2 15:39:16 2012 +0300 Updated Lithuanian translation po/lt.po | 809 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 388 insertions(+), 421 deletions(-) commit 2d85894bc5e45b2a50e5a5784a99e4c31beea7ec Author: Paolo Borelli <pborelli@gnome.org> Date: Sun Sep 2 12:25:50 2012 +0200 Fix gtk-doc for g_app_info_get_supported_types gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724c8a18464cd3e2fb3547235cf1f82400bbf91e Author: Aleksander Morgado <aleksander@lanedo.com> Date: Fri Aug 31 11:41:53 2012 +0200 gdbus-codegen: avoid error when wrong interface is provided to --annotate If the interface given cannot be matched, `iface_obj' was left uninitialized and the iface_obj == None check would end up crashing: Traceback (most recent call last): File "/usr/bin/gdbus-codegen", line 41, in <module> sys.exit(codegen_main.codegen_main()) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 175, in codegen_main apply_annotations(all_ifaces, opts.annotate) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 146, in apply_annotations apply_annotation(iface_list, iface, None, None, None, None, key, value) File "/usr/lib64/gdbus-2.0/codegen/codegen_main.py", line 64, in apply_annotation if iface_obj == None: UnboundLocalError: local variable 'iface_obj' referenced before assignment Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683088 gio/gdbus-2.0/codegen/codegen_main.py | 1 + 1 file changed, 1 insertion(+) commit c270b833a631ef5469d0dce787244ecf56386c5d Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 31 23:22:16 2012 -0400 Fix shell tests glib/tests/shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e81ba25d396dd5596e242e22c06bbd71d9e17168 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Sat Sep 1 10:42:05 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 643 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 326 insertions(+), 317 deletions(-) commit e2596ba2432a6417df35faa4410f07698c4fbb8a Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:17:05 2012 +0700 Updated Vietnamese translation po/vi.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22eaa16b7f9e7fc5c9eee4b58449fbc6639f6ece Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Sep 1 13:16:36 2012 +0700 po/vi: import from Damned Lies po/vi.po | 630 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 302 insertions(+), 328 deletions(-) commit aefcd5922fff0800460570c6521a7456778c93b4 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 31 21:00:52 2012 +0200 Updated Galician translations po/gl.po | 665 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 337 insertions(+), 328 deletions(-) commit 55f7061097c3a7e6a381089dab65b9eed642408c Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Aug 20 06:02:31 2012 +0200 Bump max time in test_method_calls_on_proxy() test On slower platforms, the overhead of the 240 D-BUS Sleep calls is larger than the current maximum of 6 seconds. A run on a Panda board sometimes fails with ERROR:/build/buildd/glib2.0-2.33.8/./gio/tests/gdbus-threading.c:409:test_method_calls_on_proxy: assertion failed (elapsed_msec < 6000): (7365 < 6000) Bump maximum time to 8 seconds to be more resilient to this. https://bugzilla.gnome.org/show_bug.cgi?id=682222 gio/tests/gdbus-threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8297e8a3a0d63a69fd923219031438698a118759 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Aug 31 11:08:42 2012 +0300 Updated Greek translation po/el.po | 1946 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1017 insertions(+), 929 deletions(-) commit eec52a18c029fc4f494e92a59f3cd6665f0f1bbd Author: Piotr Drąg <piotrdrag@gmail.com> Date: Thu Aug 30 17:59:33 2012 +0200 Updated Polish translation po/pl.po | 639 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 323 insertions(+), 316 deletions(-) commit 40b4fae42e8c8ad306a1fab93a1e263354fef3d5 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 19:22:01 2012 -0400 Add ability to get symbolic icon for content type https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 1 + gio/gcontenttype.c | 79 ++++++++++++++++++++++++++++--------- gio/gcontenttype.h | 1 + gio/gio.symbols | 1 + gio/glocalfileinfo.c | 75 ++++++++++++++++++++++------------- 5 files changed, 110 insertions(+), 47 deletions(-) commit a15a071f35f2743451aa98b2b069b7eca975c7ea Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 18:56:53 2012 -0400 Add symbolic icon support to gfileinfo https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 3 ++ gio/gfileinfo-priv.h | 1 + gio/gfileinfo.c | 58 ++++++++++++++++++++++ gio/gfileinfo.h | 14 ++++++ gio/gio.symbols | 2 + gio/glocalfileinfo.c | 97 +++++++++++++++++++++++++++++-------- 6 files changed, 154 insertions(+), 21 deletions(-) commit a2dca48bf75efcc684cfc670b4552a2c5c77d1a2 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Aug 28 15:37:43 2012 -0400 Add symbolic icon support to drive, volume, and mount We need symbolic icon support for display in Nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=682101 docs/reference/gio/gio-sections.txt | 5 +++ gio/gdrive.c | 30 ++++++++++++++++ gio/gdrive.h | 4 +++ gio/gio.symbols | 5 +++ gio/gmount.c | 32 +++++++++++++++++ gio/gmount.h | 3 ++ gio/gunixmount.c | 12 +++++++ gio/gunixmounts.c | 71 +++++++++++++++++++++++++------------ gio/gunixmounts.h | 4 +++ gio/gunixvolume.c | 11 ++++++ gio/gvolume.c | 32 +++++++++++++++++ gio/gvolume.h | 3 ++ gio/gwin32mount.c | 35 +++++++++++++----- 13 files changed, 217 insertions(+), 30 deletions(-) commit 88d181ef18b50018d4645870bc6d0a1283177f68 Author: Rui Matos <tiagomatos@gmail.com> Date: Wed Aug 29 19:18:45 2012 +0200 gdbus-tool: Check return value of strrchr() Fixes a crash when invoking gdbus like: $ gdbus emit --session -o / -s Foo https://bugzilla.gnome.org/show_bug.cgi?id=682965 gio/gdbus-tool.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5328f760ee80ced5dc44ed9c0e388ee00d7bf42d Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Aug 30 17:14:13 2012 +0800 Update gspawn-win*helper* Visual C++ projects Add GLIB_COMPILATION to the preprocessor definitions to fix the build. build/win32/vs10/gspawn-win32-helper-console.vcxproj | 8 ++++---- build/win32/vs10/gspawn-win32-helper.vcxproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 8 ++++---- build/win32/vs9/gspawn-win32-helper.vcproj | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 6e4acf44b3a943906432a2bf55223ac107d8e0c2 Author: Dominique Leuenberger <dimstar@opensuse.org> Date: Fri Aug 17 11:10:41 2012 +0200 gshell: Fix parsing of comments in command lines. Fixes bug 562907 glib/gshell.c | 18 ++++++++++++++++++ glib/tests/shell.c | 2 ++ 2 files changed, 20 insertions(+) commit 9bca5bb49f0fc0585335abf476b7082e654878b6 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Aug 29 14:46:11 2012 -0400 appinfo: fix annotations for g_app_info_launch and g_app_info_launch_uris The files/uris parameters for these functions can be NULL, so we need an allow-none annotation here. gio/gappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e64ba58b90d1d834a6b5f61acec6755e4b80072 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:30:06 2012 -0400 Switch all open() calls to use g_open() Because it now handles EINTR. And we should do so. While most people use Linux, which tries very hard to avoid propagating EINTR back up into userspace, it can still happen. https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/glocalfile.c | 2 +- gio/glocalfileinfo.c | 4 ++-- gio/gresource-tool.c | 3 ++- gio/tests/gdbus-peer.c | 2 +- gio/tests/pollable.c | 3 ++- glib/giounix.c | 8 ++------ glib/gtestutils.c | 3 ++- glib/tests/mappedfile.c | 5 +++-- gobject/glib-genmarshal.c | 3 ++- 9 files changed, 17 insertions(+), 16 deletions(-) commit 2542b6f60492fadfb21f2c4a29976c3494c7e6c5 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 18:22:26 2012 -0400 xdgmime: Handle EINTR in open() https://bugzilla.gnome.org/show_bug.cgi?id=682833 gio/xdgmime/xdgmimecache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 62570a52b179fc521209444926d7945fc31210a4 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:29 2012 -0400 gio: don't quote quark names for G_DEFINE_QUARK gio/gioerror.c | 2 +- gio/gresolver.c | 2 +- gio/gresource.c | 2 +- gio/gtlsconnection.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4b602940e2c46d9f91acf91f67a6cd0b6ea05e13 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:15:56 2012 -0400 glib: don't quote quark names for G_DEFINE_QUARK glib/gbookmarkfile.c | 2 +- glib/gconvert.c | 2 +- glib/gfileutils.c | 2 +- glib/giochannel.c | 2 +- glib/gkeyfile.c | 2 +- glib/glib-unix.c | 2 +- glib/gmarkup.c | 2 +- glib/goption.c | 2 +- glib/gregex.c | 2 +- glib/gshell.c | 2 +- glib/gspawn-win32.c | 4 ++-- glib/gspawn.c | 4 ++-- glib/gthread.c | 2 +- glib/gvariant-parser.c | 2 +- 14 files changed, 16 insertions(+), 16 deletions(-) commit daae12710a890b974e57cc806b275248760ce131 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Tue Aug 28 13:14:35 2012 -0400 gquark: clarify G_DEFINE_QUARK docs about the use of quotes Use the term "name" instead of "string" in the documentation, and add a note explaining double quotes shouldn't be used for the quark name. glib/gquark.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 369c7689c24154ac04ac1dd528f99164fafb0541 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Aug 28 05:52:24 2012 -0400 Add missing includes glib/gmarkup.c | 1 + glib/gshell.c | 1 + glib/gspawn-win32.c | 1 + glib/gspawn.c | 1 + glib/gvariant-parser.c | 1 + 5 files changed, 5 insertions(+) commit 60d2cb665ef4bc751b4a4a940ec2f336f57b5535 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:42:12 2012 -0400 Use G_DEFINE_QUARK for quarks in GIO gio/gioerror.c | 8 ++------ gio/gresolver.c | 7 +------ gio/gresource.c | 6 +----- gio/gtlsconnection.c | 7 +------ 4 files changed, 5 insertions(+), 23 deletions(-) commit b7d1518ce9f337a7ede1a659de31ff81dafcbac5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:37:41 2012 -0400 Fix a typo in a doc comment glib/gthread-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f12f7c029d8a4e7eaca633cb7e71c82a08be28d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:36:42 2012 -0400 Use G_DEFINE_QUARK for GLib's own quarks This commit just deals with glib/. gobject/ and gio/ will be handled in separate commits. glib/gbookmarkfile.c | 10 +--------- glib/gconvert.c | 6 +----- glib/gfileutils.c | 6 +----- glib/giochannel.c | 7 ++----- glib/gkeyfile.c | 7 +------ glib/glib-unix.c | 6 +----- glib/gmarkup.c | 6 +----- glib/goption.c | 7 +------ glib/gregex.c | 11 +---------- glib/gshell.c | 6 +----- glib/gspawn-win32.c | 13 ++----------- glib/gspawn.c | 13 ++----------- glib/gthread.c | 6 +----- glib/gvariant-parser.c | 11 +---------- 14 files changed, 17 insertions(+), 98 deletions(-) commit 702b44886572c657d552f3ec15e9794acd4265e5 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:34:30 2012 -0400 Add a G_DEFINE_QUARK macro https://bugzilla.gnome.org/show_bug.cgi?id=627240 docs/reference/glib/glib-sections.txt | 1 + glib/gquark.c | 12 ++++++++++++ glib/gquark.h | 13 +++++++++++++ 3 files changed, 26 insertions(+) commit a1ff18582da002c93150d48f70aeab8b340f73ff Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 27 23:16:25 2012 -0400 Put quarks in their own source file Just because I'm too lazy to grep every single time for the other source file in which the quark code is hiding. glib/Makefile.am | 1 + glib/gdataset.c | 299 +---------------------------------------------- glib/gquark.c | 347 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 349 insertions(+), 298 deletions(-) commit 030ebfb93b4c4c4525341ef81f9c548fcc6d8921 Author: Daiki Ueno <ueno@unixuser.org> Date: Fri Aug 24 15:43:02 2012 +0900 gsettings-tool: make list-recursively really recurse https://bugzilla.gnome.org/show_bug.cgi?id=682586 gio/gsettings-tool.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit a55298941072697324ac34990ebf455271f1b35b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 23:50:09 2012 -0400 GFile: Cosmetic doc changes gio/gfile.c | 5031 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2589 insertions(+), 2442 deletions(-) commit 0149f44f4a3c8874b8327eddcd58561f5707220a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:36:18 2012 -0400 Fix the GDBusProxy async test Patch by Mike Gorse, bug https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 2 -- 1 file changed, 2 deletions(-) commit 7e07ea8189547f7e044c418c914c4bc26f9cf6a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 18:35:56 2012 -0400 Make async permission tests work gio/tests/permission.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 375943ea215871c0fe6d1d02e970cb2d71c8445c Author: Mike Gorse <mgorse@suse.com> Date: Thu Apr 26 16:06:34 2012 -0500 Fix the gdbus-proxy async test The async test had several problems: - It created a proxy and did not launch a main loop, meaning that its callback would usually not get called, or, if it did get called, the test harness would have taken down the connection already, causing an assertion failure when the proxy had an error. - It was dependent on the proxy test to set up the server and would fail because some properties were modified by that test. https://bugzilla.gnome.org/show_bug.cgi?id=674805 gio/tests/gdbus-proxy.c | 47 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 41 insertions(+), 6 deletions(-) commit ce976bcac7294e72b3e94dda17fe5dfb157770d4 Author: Colin Walters <walters@verbum.org> Date: Mon Aug 27 14:37:21 2012 -0400 gstdio: Harden g_open() against EINTR Noticed by code inspection, when auditing some of my code for EINTR handling. https://bugzilla.gnome.org/show_bug.cgi?id=682819 glib/gstdio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d54e10632a575963790d50661ae75692bb159b37 Author: Colin Walters <walters@verbum.org> Date: Wed Mar 28 13:53:37 2012 -0400 gvariant: Add tests for exact SHA256 checksums I'd like to use GVariant as a data format in my userspace filesystem, and having the actual bits be stable means I can reliably compute cryptographic checksums. This updated patch removes vardict checks, because Ryan wants the flexibility to change them in the future. https://bugzilla.gnome.org/show_bug.cgi?id=673012 glib/tests/gvariant.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) commit 7936af693477f5b8dfeef4e0d90e6fa4531cf395 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 27 16:12:30 2012 -0400 GVariantType: gut g_variant_type_check() This function is causing an insane amount of wasted time on some real-world profiles and it's pretty useless since we already have GVariantType (as a type different from a string) for the purpose of static type safety. Disable it for now. We can possibly turn this back on again if we solve bug #544026. https://bugzilla.gnome.org/show_bug.cgi?id=679835 glib/gvarianttype.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b53e95f3eb98fc7ba1527e225c32bb4ee2892746 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Mon Aug 27 23:39:52 2012 +0530 Implemented FUEL entries to Assamese translation po/as.po | 260 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 130 insertions(+), 130 deletions(-) commit 1a2c5e155deacb7ebeb8d0ca2c800a97a90a7ab9 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:48:49 2012 -0400 glib/tests: fix leaks https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/tests/asyncqueue.c | 4 + glib/tests/bookmarkfile.c | 3 +- glib/tests/checksum.c | 13 +- glib/tests/collate.c | 15 +- glib/tests/cond.c | 9 + glib/tests/convert.c | 1 + glib/tests/dataset.c | 2 + glib/tests/fileutils.c | 2 + glib/tests/gwakeuptest.c | 1 + glib/tests/mainloop.c | 33 +- glib/tests/markup-parse.c | 3 +- glib/tests/option-context.c | 8 +- glib/tests/queue.c | 6 +- glib/tests/regex.c | 963 ++++++++++++++++++++------------------- glib/tests/spawn-multithreaded.c | 7 +- glib/tests/spawn-singlethread.c | 8 +- glib/tests/string.c | 2 + glib/tests/timeout.c | 6 +- glib/tests/unix.c | 4 +- 19 files changed, 596 insertions(+), 494 deletions(-) commit 0c0cdfd9c4a9d57aae0fb50b5e18cab6ba9e1a76 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:29:36 2012 -0400 gtestutils: add g_test_add_data_func_full() Like g_test_add_data_func(), but includes a GDestroyNotify for the test data. https://bugzilla.gnome.org/show_bug.cgi?id=682560 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gtestutils.c | 28 ++++++++++++++++++++++++++++ glib/gtestutils.h | 7 +++++++ 4 files changed, 37 insertions(+) commit 242737822357c9a686df69bdb888b0d42caf1d5c Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:38:17 2012 -0400 gmain: remove unix signal watch if its GSourceFunc returns FALSE g_unix_signal_watch_dispatch() was ignore the callback's return value. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 99c7c951d99c180a5f5832d922b4f3f58380a1cd Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:35:20 2012 -0400 gmain: don't leak child sources that are destroyed before their parents A parent source holds refs on its children, so if the child source is destroyed, we need to drop that ref. Fix, and reorganize to make this all more obvious. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 48a9887eae1058b055994c832b26a8ab9876db57 Author: Dan Winship <danw@gnome.org> Date: Thu Aug 23 12:33:43 2012 -0400 gmain: free source_lists when freeing GMainContext If a context was freed with sources still attached, those sources correctly got destroyed, but the corresponding GSourceList structs were being leaked. https://bugzilla.gnome.org/show_bug.cgi?id=682560 glib/gmain.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b901aaf6731d836b036aa1cee63087aa3fdc0768 Author: Dan Winship <danw@gnome.org> Date: Sun Aug 26 14:40:13 2012 -0400 Update .gitignores gio/tests/.gitignore | 2 ++ tests/.gitignore | 1 + 2 files changed, 3 insertions(+) commit ac7c050d377f6815534074b855cdf74f02cf96b2 Author: Colin Walters <walters@verbum.org> Date: Sat Aug 25 17:13:43 2012 -0400 docs: Ensure CLEANFILES is set before we use += We need to be defensive about this in the case where gtk-doc.make is empty. docs/reference/gio/Makefile.am | 1 + docs/reference/glib/Makefile.am | 1 + docs/reference/gobject/Makefile.am | 1 + 3 files changed, 3 insertions(+) commit dbad8304ff123f7fe242bdd8a8cfcb7eef8afce6 Author: William Jon McCann <jmccann@redhat.com> Date: Fri Aug 24 13:32:25 2012 -0400 Don't crash if set_app_info is called before adding metadata set_mime_type, set_is_private, add_group, set_groups, set_icon, etc all added metadata before using it. If set_app_info was called before any of those it would crash when trying to access the metadata. glib/gbookmarkfile.c | 3 +++ 1 file changed, 3 insertions(+) commit dbf9f7a2882c240fe48ab441de7e015638686ccc Author: OKANO Takayoshi <kano@na.rim.or.jp> Date: Thu Aug 23 19:15:09 2012 +0900 [l10n] Update Japanese translation po/ja.po | 1174 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 680 insertions(+), 494 deletions(-) commit 462c48acad4efe9db5afd3c7d8e3e0342a591bea Author: A S Alam <aalam@users.sf.net> Date: Thu Aug 23 07:57:51 2012 +0530 update Punjabi Translation po/pa.po | 1401 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 764 insertions(+), 637 deletions(-) commit 12494f697ffd2117ec607d62a04c5a97e32e8482 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Aug 22 22:36:15 2012 +0200 Updated Polish translation po/pl.po | 1039 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 585 insertions(+), 454 deletions(-) commit 0b6fdff05cc10f5e639a39dd4b79e01a025ad2d5 Author: Colin Walters <walters@verbum.org> Date: Wed Aug 22 14:48:41 2012 -0400 Fix regression when TMPDIR/TMP are unset We should just be returning /tmp as a default, not calling g_getenv ("/tmp") which makes no sense. https://bugzilla.gnome.org/show_bug.cgi?id=672329 glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad20e074c4aa6492c5334870515f48c3a23e051c Author: Kjartan Maraas <kmaraas@gnome.org> Date: Wed Aug 22 10:29:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 225 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 116 insertions(+), 109 deletions(-) commit e77f3ea0d8194e421fc7dd18032622f8b8a85c2e Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 09:15:00 2012 +0700 Updated Vietnamese translation po/vi.po | 90 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 37 insertions(+), 53 deletions(-) commit eab38232de82ae19cc3c12a67861e0f1d82191ca Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Wed Aug 22 08:51:44 2012 +0700 po/vi: imported from Damned Lies po/vi.po | 952 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 543 insertions(+), 409 deletions(-) commit 4a89e2ee7d7a46a52272a6b4197cb3af998d0a49 Author: Duarte Loreto <happyguy_pt@hotmail.com> Date: Wed Aug 22 00:54:09 2012 +0100 Updated Portuguese translation po/pt.po | 1260 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 715 insertions(+), 545 deletions(-) commit 221bbd8d76670d00f7b574ac77ca49ef9a9fb4dd Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 21 16:32:17 2012 -0400 *bump* thanks rico :) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3655be2111ee38839fe2a1fd001923d1d4ad7be Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Aug 21 21:10:16 2012 +0200 win32: fix tests/sources.c "make check" was failing on sys/resource.h not being available on win32. Seeing that this test just spews some numbers on stdout whithout really testing anything we can safely replace them with similar enough numbers by relying on g_get_monotonic_time (). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=682386 tests/sources.c | 78 +++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) commit 7518f7a674723ded4cbb32d780c594c5d515af70 Author: Stef Walter <stefw@gnome.org> Date: Tue Aug 21 13:26:27 2012 +0200 Revert "gtlscertificate: Add certificate-bytes and private-key-bytes props" * In order to add contstruct properties to an abstract base calls, and retain ABI stability, the base class must add a default implementation of those properties. * We cannot add a default implementation of certificate-bytes or private-key-bytes since certificate and private-key properties are writable on construct-only. This reverts commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0. https://bugzilla.gnome.org/show_bug.cgi?id=682081 gio/gdummytlsbackend.c | 4 --- gio/gtlscertificate.c | 59 +++++++++------------------------------------ gio/tests/gtesttlsbackend.c | 6 ----- 3 files changed, 11 insertions(+), 58 deletions(-) commit a8c784df58b7af490d0b08e74bd6f1085da692df Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 17 10:55:10 2012 +0200 gdbus: Fix double free and use after free of object path * This occurs when the 'g-object-path' property is read on a GDBusObjectSkeleton https://bugzilla.gnome.org/show_bug.cgi?id=682075 gio/gdbusobjectskeleton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2222b657ded5b0c59999f63ff74534726235d7eb Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 21 19:16:27 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 81 +++++++++++++++++++++++++++++-------------------------------- po/zh_TW.po | 81 +++++++++++++++++++++++++++++-------------------------------- 2 files changed, 78 insertions(+), 84 deletions(-) commit 0d8a81b722e18092062f83b7fd8c0b3a5f4d613a Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 20 19:46:33 2012 +0200 mount-op: use gint64 instead of guint64 for time_left and bytes_left Since those can be -1, they need to be signed. https://bugzilla.gnome.org/show_bug.cgi?id=682284 gio/gmountoperation.c | 9 +++++---- gio/gmountoperation.h | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) commit ac8c13d25c86e62f04bbfb7ac21fc9fb6eb02337 Author: Andika Triwidada <andika@gmail.com> Date: Tue Aug 21 13:53:46 2012 +0700 Updated Indonesian translation po/id.po | 90 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 44 deletions(-) commit ed40bf6715763045457cd6123b3882222c818cde Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:25 2012 -0400 NEWS, versions, etc. NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit 59394b3e1e3b3907b4dc18de4067e5476b4c1649 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 18:32:46 2012 -0400 Revert the GMarkup attribute collect changes We need to have some more discussion on this topic. This reverts commits 86329ba44fc7662c0bad37955f0ec980a24be495 and 8d40389d15544bdc612989157f80380badce52f7. https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 - gio/gdbusintrospection.c | 100 ++++++++-------- glib/glib.symbols | 1 - glib/gmarkup.c | 218 +++++++++++----------------------- glib/gmarkup.h | 9 -- glib/tests/markup-collect.c | 125 +++++++------------ 6 files changed, 165 insertions(+), 289 deletions(-) commit 850680d751812e3d7fbc4052a8c56ad90e20a3fa Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 17:57:13 2012 -0400 gmarkup test: fix use of message expect API glib/tests/markup-collect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56210220a2c86b099ca7757b67a3ef7fb2366d3d Author: Dan Winship <danw@gnome.org> Date: Mon Aug 20 17:26:45 2012 -0400 tests/protocol: update the messages to reflect G_LOG_DOMAIN being set now glib/tests/protocol.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d06c7a911ea28d9d8019b901f71bd12cfa2dd64d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 20 16:25:09 2012 -0400 g_test_expect_message: add some g_return_if_fail NULL domain is not supported and some might expect this to work, so make sure they don't get the wrong idea... glib/gmessages.c | 4 ++++ 1 file changed, 4 insertions(+) commit 07fadc7932713145ec429394c9ebf2a87bd09b75 Author: Lars Uebernickel <lars.uebernickel@canonical.com> Date: Mon Aug 20 14:32:14 2012 +0200 GMenuModel: add test for the new GMenuItem API gio/tests/gmenumodel.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6798fcdd0f3c1b96c3c0e8561ea81e9a05f2005f Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:24:46 2012 -0400 GMenuItem: add constructor to copy from model Add g_menu_item_new_from_model() for constructing a GMenuItem that is a copy of a menu item that's in a GMenuModel. docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gmenu.c | 87 +++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 4 ++ 4 files changed, 93 insertions(+) commit 99478dd893fab44f3672cbacce3c87b6dec3bb58 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:20:59 2012 -0400 GMenuItem: add getter APIs GMenuItem has been write-only up to this point. Add some APIs for reading back values as well. docs/reference/gio/gio-sections.txt | 3 + gio/gio.symbols | 3 + gio/gmenu.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gmenu.h | 13 ++++ 4 files changed, 137 insertions(+) commit ad79b0f8efdb72e9c4b337dffa62521e7fa2a89a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:14:21 2012 -0400 GMenuModel: remove a type safety bug There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it. gio/gmenumodel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 34653169e5653b95d61c461f088e6016f042d08a Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Aug 18 14:12:55 2012 -0400 GVariant: add g_variant_check_format_string() For some time now people have been asking for a way to check for type compatibility between GVariant instances and format strings. There are several APIs inside of GLib itself that would benefit from this. This patch introduces a way to do that. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gvariant.c | 104 ++++++++++++++++++++++++++++++++++ glib/gvariant.h | 4 +- glib/tests/gvariant.c | 54 ++++++++++++++++++ 5 files changed, 163 insertions(+), 1 deletion(-) commit 6a6b64ef4d9f2985eaf1cb727398019359b4b4f4 Author: Aurimas Černius <aurisc4@gmail.com> Date: Mon Aug 20 23:10:25 2012 +0300 Updated Lithuanian translation po/lt.po | 1694 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 847 insertions(+), 847 deletions(-) commit cc24dac3c8edbe2068ba15522bb5d937602082dc Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:38:30 2012 -0400 glib/tests: use g_test_expect_message() Replace some tests that used to use g_test_trap_fork() with g_test_expect_message() instead. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/Makefile.am | 1 + glib/tests/error.c | 45 ++++++------ glib/tests/gvariant.c | 56 ++++++++------- glib/tests/mainloop.c | 11 ++- glib/tests/markup-collect.c | 20 +++--- glib/tests/strfuncs.c | 163 ++++++++++++++++++++++---------------------- 6 files changed, 159 insertions(+), 137 deletions(-) commit 25ac137c0a47ccc5214dabeaa41da18dac2b0cee Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 16:05:08 2012 -0400 gtestutils: add g_text_expect_message() Add g_test_expect_message() and g_test_assert_expected_messages(), to allow tests of warnings, error messages, return-if-fails, etc. https://bugzilla.gnome.org/show_bug.cgi?id=679556 docs/reference/glib/glib-sections.txt | 4 + glib/glib.symbols | 2 + glib/gmessages.c | 466 +++++++++++++++++++++------------- glib/gtestutils.h | 10 + glib/tests/testing.c | 86 +++++++ 5 files changed, 397 insertions(+), 171 deletions(-) commit 78a8aecbb339f620e87711389f56308c219d443f Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 15:32:31 2012 -0400 g_logv: only expand the message once Hoist the g_strdup_printf()'ing out of the loop, since the message is the same for every handler that gets called. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/gmessages.c | 60 +++++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit f78931c4abf217fce0eca890da411c1c1c983d45 Author: Dan Winship <danw@gnome.org> Date: Wed Aug 1 09:49:10 2012 -0400 glib/tests/testing, logging: don't use g_test_undefined() We are verifying the behavior of the test/logging functions here; this is not undefined behavior. https://bugzilla.gnome.org/show_bug.cgi?id=679556 glib/tests/logging.c | 54 ++++++++++++++++++++-------------------------------- glib/tests/testing.c | 32 ++++++++++--------------------- 2 files changed, 31 insertions(+), 55 deletions(-) commit d9f6314f57cad9940938165421c1efc09636147b Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 02:04:08 2012 +0200 win32: add pipe-io-cancel-test Test that win32 streams can be cancelled. It can even be tested with wine on Linux! https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/tests/win32-streams.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit b9b2cf6a666af907d775a871d76b5b6871b4a6bd Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:02:40 2012 +0200 win32: add pipe-io-concurrent Implement test case suggested by Ryan Lortie on bug: https://bugzilla.gnome.org/show_bug.cgi?id=679288 "There is a potential race here that's really unlikely to happen, but here we go: We are trying to read from the same socket in two threads. Some data comes. That causes the poll() in both threads (above) to finish running. Then the cancellable is checked above. We now find ourselves here. Only one thread will read the data. The other will block on this function. Then the user may cancel the cancellable while we are blocked here, but we will stay blocked...." gio/tests/win32-streams.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 1c1ba8b5122295651400eed3f3fb3b9f69f0ac47 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Aug 20 15:47:15 2012 +0200 win32: add pipe-io-overlap-test gio/tests/win32-streams.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit b9d7b80897d79cb43c4a795c7d9d3d9a24e140cc Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Fri Jul 6 00:46:32 2012 +0200 win32: make gio stream cancellable v2: - fix cancellation of concurrent readers - replace g_assert() usage with g_warn_if_fail() v3: - fix indentation - fix loop code to not leak (silly me) https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) commit 4b5d762d5d73af90de49801ecc1da52d4cd86d6f Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Aug 8 01:08:15 2012 +0200 win32: handle ERROR_MORE_DATA If a named pipe is being read in message mode and the next message is longer than the nNumberOfBytesToRead parameter specifies, ReadFile returns FALSE and GetLastError returns ERROR_MORE_DATA. Since the API doesn't allow to return both a GError and the number of bytes read so far, it makes more sense to return nread, and let the client call GetLastError() himself to check if ERROR_MORE_DATA. The current alternative loses the nread information. https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gwin32inputstream.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 23d80a04da43c08f4ea626283607a7546d7a56db Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 2 21:45:41 2012 +0200 win32: use overlapped events for streams Any file handle created with FLAG_OVERLAPPED must have ReadFile()/WriteFile() called with an OVERLAPPED structure. Failing to do so will give unspecified results, invalid read/write or corruption. Without FLAG_OVERLAPPED, it is not possible to read and write concurrently, even with two seperate threads, created by 2 input and output gio streams. Also, only with FLAG_OVERLAPPED may an IO operation be asynchronous and thus be cancellable. We may want to call ReOpenFile() to make sure the FLAG is set, but this API is only available since Vista+. According to MSDN doc, adding the OVERLAPPED argument for IO operation on handles without FLAG_OVERLAPPED is allowed, and indeed the existing test still passes. v2: - update GetLastError() after _g_win32_overlap_wait_result () - split the unrelated ERROR_MORE_DATA handling https://bugzilla.gnome.org/show_bug.cgi?id=679288 gio/gasynchelper.c | 28 +++++++++++++++++++++++ gio/gasynchelper.h | 11 +++++++++ gio/gwin32inputstream.c | 58 ++++++++++++++++++++++++++++++++++++------------ gio/gwin32outputstream.c | 53 ++++++++++++++++++++++++++++++++----------- 4 files changed, 123 insertions(+), 27 deletions(-) commit 96a0c589eec8e66f0d879c2a0979df6fd2c23dde Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> Date: Mon Aug 20 16:41:42 2012 +0200 gmem.c: array is only paritally filled by memcpy The size of the local_data arrray is too large. It should not be multiplied by the sizeof guint. The memcpy of profile_data to local_data later will only fill a part of the array. Spotted with the PVS-Studio static analyzer https://bugzilla.gnome.org/show_bug.cgi?id=681501 glib/gmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248cc2c8858a2c60b9aaaa7706ef3a7f5bce84cc Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Aug 20 14:15:39 2012 +0200 Updated Spanish translation po/es.po | 348 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 190 insertions(+), 158 deletions(-) commit cbf346ce53887e7e40f38c0945f94ff672fa114e Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:27:04 2012 -0400 Remove some more 'the the' gio/tests/gdbus-test-codegen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit efd822bb07c50e68d3cbe4c7f7a3d816a0ab7808 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:42 2012 -0400 Improve test coverage for GSocketConnection gio/tests/proxy-test.c | 5 +++++ 1 file changed, 5 insertions(+) commit cc5d7ccdba6e46548a1e895db1d8dab3409278b8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:26:05 2012 -0400 Improve test coverage for unix socket addresses gio/tests/unix-fd.c | 4 ++++ 1 file changed, 4 insertions(+) commit 63eaeb223b9b773e055acc1a8fc7637e4a676b82 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:37 2012 -0400 Improve test coverage for resources gio/tests/resources.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit beea8c5c847a7bf46ae77d834ed7cc3fb6822c5c Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:21 2012 -0400 Improve test coverage for filter streams gio/tests/filter-streams.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit b22f4a2dd2c05038f45485b850f3ba04bf28afb9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:25:02 2012 -0400 Improve test coverage for unix streams gio/tests/unix-streams.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 3afec2b87282b25233add6bcdfb9af4657f40ddd Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:44 2012 -0400 Improve test coverage for pollable streams gio/tests/pollable.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit eeb4951c47d6a869d50590a9a81afbb99f63b5f3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:24:04 2012 -0400 Improve GSettings test coverage gio/tests/gsettings.c | 81 +++++++++++++++++++++++++++++++++++++- gio/tests/org.gtk.test.gschema.xml | 3 ++ 2 files changed, 83 insertions(+), 1 deletion(-) commit f89e9deaec3bf279eac5073a30d6d3d7b2a1568b Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:23:32 2012 -0400 Improve GAppInfo test coverage gio/tests/appinfo-test.desktop | 8 ++++-- gio/tests/appinfo.c | 60 +++++++++++++++++++++++++++++++++++++++++- gio/tests/mimeapps.c | 21 ++++++++++++--- 3 files changed, 83 insertions(+), 6 deletions(-) commit 35bf77445bcce900fa6007290ac8226107763b94 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:59 2012 -0400 Add some GInetAddress tests gio/tests/Makefile.am | 4 + gio/tests/inet-address.c | 365 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 369 insertions(+) commit 867ad1cebc002d881e9e113277e8ea2e03cdaaf1 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:22:33 2012 -0400 Add some GPermission tests gio/tests/Makefile.am | 4 ++ gio/tests/permission.c | 106 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) commit 2687d921e15e4aead3af4867fcd6220088085d7a Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:21:02 2012 -0400 Cosmetic change gtk-doc doesn't need <!-- --> anymore to recognize plural forms of links. gio/gpollableinputstream.c | 2 +- gio/gpollableoutputstream.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4dbcd27eeea8181810c8ddefd116ce474bea8496 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Aug 19 02:19:27 2012 -0400 Make GPermission more forgiving It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error. gio/gpermission.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 3 deletions(-) commit 4a8740d0d23077cf9be99dfd3cf583ba33595279 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:17:47 2012 -0400 It is 'registered', not 'registred' gio/gresource.c | 12 ++++++------ gobject/gparam.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit e27367f341e56bd951ea4b6fb42ef23cd0598c65 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 23:15:58 2012 -0400 Exterminate 'the the' gio/gdbusprivate.c | 2 +- gio/gioenums.h | 2 +- gio/gproxyaddress.c | 2 +- gio/gzlibcompressor.c | 2 +- glib/gmain.c | 14 +++++++------- glib/gmarkup.c | 2 +- glib/gspawn.h | 2 +- gobject/gvalue.h | 6 +++--- 8 files changed, 16 insertions(+), 16 deletions(-) commit 96ed9e41f436412dbc0628cf45ecd460e9823089 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:42:10 2012 -0400 Improve utils test coverage glib/tests/utils.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit cb8f88ca9fc87a65c7df69164e0ea8a905fc224b Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:48 2012 -0400 Improve uri test coverage glib/tests/uri.c | 3 +++ 1 file changed, 3 insertions(+) commit 2c338e21d6f86bad96283d5388991dc4c4b34361 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:35 2012 -0400 Improve strfuncs tests coverage glib/tests/strfuncs.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 58c7747c50c98331769bc4d68f341652c42063c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:23 2012 -0400 Improve GRegex test coverage glib/tests/regex.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a7e10fa0b6c1772b8be49f17bb3e1eeb3477c26c Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:41:07 2012 -0400 Improve GPrivate test coverage glib/tests/private.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit aad40b89fe0539eede3a66e2fe2fc8b9c8f5c420 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:33 2012 -0400 Improve file utils test coverage glib/tests/fileutils.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 148 insertions(+), 1 deletion(-) commit 6e1d205ad30e9a3c031d0660f909dbed8665dee4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:40:15 2012 -0400 Improve GError test coverage glib/tests/error.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e181234fe5bbf80be3973d4803bce68887a771c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:52 2012 -0400 Improve atomic ops test coverage glib/tests/atomic.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06d837b6a3ac59f8e997d9f745136d48b85ecb38 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:39:28 2012 -0400 Improve array test coverage glib/tests/array-test.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 373dcaea567281b977e76d812a73d2ee201d2745 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 18 14:38:53 2012 -0400 Improve threadpool test coverage tests/threadpool-test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a946892b1e80aabcf33eb9783ce1cacaf6162e97 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Aug 17 23:17:51 2012 +0200 Updated Galician translations po/gl.po | 550 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 276 insertions(+), 274 deletions(-) commit 2360d04e50d744a6db42a0a24418ecd272b45a8e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Thu Aug 16 22:06:45 2012 -0400 Fix problems with CLEANFILES and automake-1.11.1 Running with automake-1.11.1, a couple fixes are needed for CLEANFILES when gtk-doc is not installed. (Found with Amazon Linux AMI release 2012.03) https://bugzilla.gnome.org/show_bug.cgi?id=682067 autogen.sh | 5 ++++- glib/Makefile.am | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit fdcdcf4f2f7a382d8b8d00842524bbd9aa82d3e0 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:43:40 2012 +0530 Updated Telugu Translations po/te.po | 104 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 47 insertions(+), 57 deletions(-) commit a53ccea814fa052a7d2aaa543cf2483b4f455cb4 Author: Krishnababu Krothapalli <kkrothap@redhat.com> Date: Fri Aug 17 19:22:00 2012 +0530 Updated Telugu Translations po/te.po | 1077 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 628 insertions(+), 449 deletions(-) commit 2954f70d39198e67ff6a364a4f5c275381af1a75 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Fri Aug 17 19:22:43 2012 +0800 Fix build on Visual C++ -glib/gmarkup.c: Use G_VA_COPY() instead of va_copy() as va_copy() may not be universally available. -gio/gtestdbus.c: Include io.h on Windows for close() gio/gtestdbus.c | 3 +++ glib/gmarkup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 69124b2dc4587f9c978648e38c548c50352ef930 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Fri Aug 17 12:59:44 2012 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 253 +++++++++++++++++++++++++++++++-------------------------- 2 files changed, 278 insertions(+), 228 deletions(-) commit f116437c7e73035a72ce45cb47c4518df604711a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Aug 17 14:22:32 2012 +0530 Assamese translation updated po/as.po | 318 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 171 insertions(+), 147 deletions(-) commit 56e9f896c691cb99ebd4f4d20a507760c0f445fa Author: Sandeep Sheshrao Shedmake <sshedmak@redhat.com> Date: Fri Aug 17 12:24:15 2012 +0530 Updated Marathi Translations po/mr.po | 1372 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 780 insertions(+), 592 deletions(-) commit 86a4fd6fa98de29f7ee05ba655a00e4c42f11756 Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 11:15:08 2012 +0000 docs: Describe GCompletion item memory management https://bugzilla.gnome.org/show_bug.cgi?id=600751 glib/deprecated/gcompletion.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit b13a79aeb45e0630482202372e136ea264a24e5f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 01:14:51 2012 -0400 Adapt schema tests to changed error messages gio/tests/gschema-compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 056d39c9f7e058397beaed7b4f5637857510b4e2 Author: Colin Walters <walters@verbum.org> Date: Tue May 29 18:54:58 2012 -0400 GMappedFile: Add g_mapped_file_get_bytes() This is yet another API that has a data/length/refcount combination that one might often want to turn into a GBytes. https://bugzilla.gnome.org/show_bug.cgi?id=677065 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmappedfile.c | 24 ++++++++++++++++++++++++ glib/gmappedfile.h | 2 ++ glib/tests/mappedfile.c | 19 +++++++++++++++++++ 5 files changed, 47 insertions(+) commit b0d8498ee31ab9e3a0ad4c747d1816dd6d4758f5 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 17 00:27:10 2012 -0400 GDateTime: pack the struct better Makes a difference in 32bit. glib/gdatetime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 86329ba44fc7662c0bad37955f0ec980a24be495 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:41:19 2012 -0400 gdbus: Use g_markup_collect_known_attributes() in GDBus introspection In order to be able to cope with the introspection XML from the Telepathy specification, which uses attributes like tp:type and tp:name-for-bindings, we need to ignore unknown attributes when parsing. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=665634 gio/gdbusintrospection.c | 100 ++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 53 deletions(-) commit 8d40389d15544bdc612989157f80380badce52f7 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:40:08 2012 -0400 gmarkup: Add g_markup_collect_known_attributes() Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmarkup.c | 218 +++++++++++++++++++++++----------- glib/gmarkup.h | 9 ++ glib/tests/markup-collect.c | 125 ++++++++++++------- 5 files changed, 242 insertions(+), 112 deletions(-) commit 21aff13d22257ae786bbf39bd68f24f448205bfc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:23:16 2012 -0400 Fix 'make report' Turns out this doesn't work unless every Makefile.am includes Makefile.decl. gio/gdbus-2.0/codegen/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6bee6dbce53310935dce7cb1de73e0b0be36f988 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 23:02:41 2012 -0400 Miscellaneous string fixes Typo and punctuation fixes, and some rewording, based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gdbusaddress.c | 4 ++-- gio/gdbusmethodinvocation.c | 4 ++-- gio/gicon.c | 2 +- gio/glib-compile-schemas.c | 12 ++++++------ gio/gsocket.c | 6 +++--- gio/gsocketclient.c | 4 ++-- gio/gsocks5proxy.c | 4 ++-- glib/gregex.c | 2 +- 8 files changed, 19 insertions(+), 19 deletions(-) commit e4dc223e9d1778f21c8267171dd6562ba82634c3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:47:43 2012 -0400 Make capitalisation of "UNIX" consistent in translatable strings Based on a patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/gunixsocketaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 191f09b04409202fc88fc88f5e05c16d4cdfa86c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:23:20 2012 -0400 Change "dash" to "hyphen" in translatable strings GSchemas use hyphens, not dashes. Patch by Philip Withnall, bug https://bugzilla.gnome.org/review?bug=628193 gio/glib-compile-schemas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e55bebb7aaaf2bdd635db691ad6524dd9e893f8 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:17:46 2012 -0400 Fix leak in GWinHttpVfs Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/win32/gwinhttpvfs.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ef1e56479db644cff6717a838a8e63a54ce54da Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 22:15:54 2012 -0400 Fix leak in GFileAttributeInfoList Patch by Ole André Vadla Ravnås, bug https://bugzilla.gnome.org/show_bug.cgi?id=627423 gio/gfileattribute.c | 1 + 1 file changed, 1 insertion(+) commit bf3262dd935ecbe72374311447de1f1c70a43fcc Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 20:18:37 2012 -0400 GTest: Improve --help output https://bugzilla.gnome.org/show_bug.cgi?id=550433 glib/gtester.c | 33 +++++++++++++++--------------- glib/gtestutils.c | 61 ++++++++++++++++++++++--------------------------------- 2 files changed, 41 insertions(+), 53 deletions(-) commit 55ca95c2203cb483439aae9b1f282b93f32f621c Author: David King <amigadave@amigadave.com> Date: Fri Feb 17 14:42:58 2012 +0000 docs: Improve G_GNUC_* documentation Mention where the GCC attributes should be placed for functions and arguments. Add an example for G_GNUC_UNUSED. https://bugzilla.gnome.org/show_bug.cgi?id=326931 glib/docs.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 77 insertions(+), 17 deletions(-) commit 2ccf64ba59cfcc472a658b036b8a919aa081ea7f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 18:44:41 2012 -0400 Improve glib-genmarshal man page Expand the example in glib-genmarshal.1 to include the actual commandline invocations, and update the generated function names to match reality. https://bugzilla.gnome.org/show_bug.cgi?id=637460 docs/reference/gobject/glib-genmarshal.xml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit aa50b8aec31df6951070ed9674ab3b14dc6d2759 Author: Colin Walters <walters@verbum.org> Date: Thu Aug 16 18:31:02 2012 -0400 build: Fix the --disable-man case The manpage listing needs to be inside the conditional. docs/reference/gio/Makefile.am | 8 +++++--- docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/gobject/Makefile.am | 7 +++++-- 3 files changed, 15 insertions(+), 8 deletions(-) commit d7e1d51fc94b79dfa4243f3b9aa6eafbe169ed6f Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 12:57:43 2012 -0400 Add tests for g_file_make_directory_with_parents() Add tests to catch recent regressions with g_file_make_directory_with_parents() https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/tests/live-g-file.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) commit f899358156a34d1b5258d1fcdeb289e7b2bbf233 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:25:56 2012 -0400 g_file_make_directory_with_parents: clean up logic Simplify logic by only looking at whether we have a GError and not also using return codes. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 5291190f46614c9e1491599af345f9c41c74967e Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:20:16 2012 -0400 g_file_make_directory_with_parents(): fix a corner case If g_file_get_parent() unexpectedly failed, we could return FALSE but with no error. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 732470a3594351ffc3d085a755271844c462e9c8 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Tue Aug 14 11:00:14 2012 -0400 g_file_make_directory_with_parents: refix error propagation The patch from b0bce4ad triggered segfaults - see: http://redmine.yorba.org/issues/5656 We were clearing the error before dereferencing it in the next go-around of the while loop - this wasn't necessary. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b60168a5f5b4bcfa8f8ed175cd18a0cfaea96063 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 10:01:47 2012 -0400 Remove man page placeholder generation I don't see a good reason for this - if man page generation is disabled, man pages are not produced, and things like 'make dist' will fail. That is simpler and better. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 15 +-------------- docs/reference/glib/Makefile.am | 15 +-------------- docs/reference/gobject/Makefile.am | 15 +-------------- 3 files changed, 3 insertions(+), 42 deletions(-) commit 4cd5a63f12357b6ed6314cfed237965dba0aaeae Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:57:48 2012 -0400 Clean up man pages on 'clean' Follow the automake heuristic that says "if 'make' created it, 'make clean' should remove it". https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/reference/gio/Makefile.am | 2 +- docs/reference/glib/Makefile.am | 2 +- docs/reference/gobject/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit ce531302cd3b562a284da24ef425108d3466a7fb Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Aug 8 09:55:29 2012 -0400 Make --enable-man and --enable-gtk-doc independent Previously, --enable-man --disable-gtk-doc would silently skip man page generation, because we didn't even desdend into docs/reference. Fix this by always going there. https://bugzilla.gnome.org/show_bug.cgi?id=681336 docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 317d91d06bc3bcdef91f98a7a75489977aa154e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 16 17:21:03 2012 -0400 Fix an example Pointed out by Chandni Verma in https://bugzilla.gnome.org/show_bug.cgi?id=682025 docs/reference/glib/gvariant-varargs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8a5fc2e2e548e72526b4d69f1c04a78030e47d4 Author: Javier Jardón <jjardon@gnome.org> Date: Wed Aug 15 02:45:10 2012 +0900 Revert "Use upstream gettext instead the glib one" Commited by mistake This reverts commit e930e3b3aac2fe4d62996d8033121a40153f2da3. autogen.sh | 4 - configure.ac | 15 ++- gio/Makefile.am | 1 - glib/Makefile.am | 1 - po/Makefile.in.in | 280 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ po/Makevars | 66 ------------- 6 files changed, 293 insertions(+), 74 deletions(-) commit 6b201748b5f71f74af02ba8c01fd4c53750f910a Author: Sebastian Geiger <sbastig@gmx.net> Date: Thu Aug 9 23:01:29 2012 +0200 compiling.xml: Add note and fix gcc example Because of the '--as-needed' default option for the linker, the linking will fail, if the file name appears after any of the options or the pkg-config invocation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681854 docs/reference/glib/compiling.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e930e3b3aac2fe4d62996d8033121a40153f2da3 Author: Javier Jardón <jjardon@gnome.org> Date: Mon May 16 13:23:47 2011 +0100 Use upstream gettext instead the glib one autogen.sh | 4 + configure.ac | 15 +-- gio/Makefile.am | 1 + glib/Makefile.am | 1 + po/Makefile.in.in | 280 ------------------------------------------------------ po/Makevars | 66 +++++++++++++ 6 files changed, 74 insertions(+), 293 deletions(-) commit f92a3525f79ecb53d470c00797b71c12860eb05b Author: Dirgita <dirgitadevina@yahoo.co.id> Date: Mon Aug 13 06:04:31 2012 +0700 Updated Indonesian translation po/id.po | 6031 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3358 insertions(+), 2673 deletions(-) commit ddfcfa66ae602c11ce9c4bfc426a79d668653278 Author: Colin Walters <walters@verbum.org> Date: Tue Aug 7 17:26:43 2012 -0400 build: Switch back to using AS_IF for conditionals See https://bugzilla.gnome.org/show_bug.cgi?id=674483 https://bugzilla.gnome.org/show_bug.cgi?id=681413 configure.ac | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit e5ad42c6127e0c4c3c5c6567e137305fbeee4fbc Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Tue Aug 7 13:36:35 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 183 ++++++++++++++++++++++++++++++------------------------------ po/zh_TW.po | 183 ++++++++++++++++++++++++++++++------------------------------ 2 files changed, 180 insertions(+), 186 deletions(-) commit 541c985869fe9f2c0a858c0a91b4eb60f99d19f0 Author: Stef Walter <stefw@gnome.org> Date: Mon Aug 6 18:20:48 2012 +0200 gtlscertificate: Add certificate-bytes and private-key-bytes props * These properties contain the same data as certificate and private-key, but as GBytes https://bugzilla.gnome.org/show_bug.cgi?id=681319 gio/gdummytlsbackend.c | 4 +++ gio/gtlscertificate.c | 59 ++++++++++++++++++++++++++++++++++++--------- gio/tests/gtesttlsbackend.c | 6 +++++ 3 files changed, 58 insertions(+), 11 deletions(-) commit 69dd29296e2ff691f7d305ad7686d9c2e0d6e158 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 16:20:36 2012 -0400 bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b43310ef41cde26978c261cf1c0e2715adf732d Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Aug 6 15:56:26 2012 -0400 GLib 2.33.8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55a2a2005cd45932bda56810aecbc5ac784fb4d Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:21 2012 -0400 Don't use GIO in GTestDBus setup Using GIO here may cause the gvfs module to be loaded, which in turn gets onto the session bus to talk to gvfsd - not ideal if you are trying to control the session bus life cycle. Instead, just use old-fashioned glib file utils. gio/gtestdbus.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 197ebb3be4fe01ac5da536157a9b6951f2871d01 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 12:08:04 2012 -0400 More updates NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cc80ae321fdfdcc90596940c8161861d25b20eed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:55:59 2012 -0400 Solaris build fix for GIO Solaris/OpenSolaris/OpenIndiana define FIONREAD in sys/filio.h. This commit adds a configure check for this header, and includes it conditionally in gio/gsocket.c. Patch by Fabian Groffen, bug 675524. configure.ac | 2 +- gio/gsocket.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit bd883f8dc75f056c2b25e941fb09422dc5786bbe Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 13:03:38 2012 -0500 gio/tests/g-icon.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-icon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 291853bea3881a7eeb0f2c56946d3a1c0ef38c95 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 12:42:10 2012 -0500 gicon: make g_icon_new_for_string() recognize win32 paths (but for compatibility, make it still recognize unix paths on win32 too) https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/gicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26f1e0938eeb61c7f93b651aa316e33f3b0d6292 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:35:26 2012 -0500 gio/tests/file: skip the file monitor tests if using GPollFileMonitor test_create_delete() assumes that if it creates a file and then immediately deletes it, that the file monitor will notice this and record it as a create followed by a delete. But that won't work with GPollFileMonitor, which will just think nothing changed. So skip the test in that case. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/file.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 2793b39ea3de4fdac5cf154c7a12ac7ba82657d2 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:12:02 2012 -0500 gio/tests/g-file.c: fix some path checks on win32 Some of the tests needed to be modified to use G_DIR_SEPARATOR_S rather than hardcoded "/"s. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/tests/g-file.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 5c91af7e41443252857cdcf6fe0f0dabdc0b5250 Author: Dan Winship <danw@gnome.org> Date: Fri Feb 3 11:10:50 2012 -0500 glocalfile: fix g_file_get_parse_name() on win32 When getting the parse name for a file: URI on win32, we were not translating "\" to "/", resulting in incorrect output. https://bugzilla.gnome.org/show_bug.cgi?id=669331 gio/glocalfile.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit b2ddbd8f556c41f4d076c4cc4788684a9c84e7a2 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 11:03:42 2012 -0400 Plug a minor memory leak in GDBusObjectProxy As pointed out by Patrick Ohly in bug 680505, GDBusObjectProxy was forgetting to free its object_path. gio/gdbusobjectproxy.c | 2 ++ 1 file changed, 2 insertions(+) commit be7095980e90a8d8e76e678dc085423d2717c3bd Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 13:12:15 2012 +0100 gobject docs: Remove confusing acronym In the wikipedia disambiguation page[1] the only entry that even remotely makes sense in this context is "and so on". Google searches for "aso memory management" and "aso garbage collection" don't yield anything relevant. [1] http://en.wikipedia.org/wiki/ASO https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bcda26a504c58d5ef5c13032c6c29cf3c56c226e Author: David Rothlisberger <david@rothlis.net> Date: Mon Jul 16 10:57:46 2012 +0100 gobject docs: Remove incorrect reference to signals docs The chapter on signals comes after this chapter, not before (see "tut_gobject.xml" in docs/reference/gobject/gobject-docs.xml). https://bugzilla.gnome.org/show_bug.cgi?id=679996 docs/reference/gobject/tut_gobject.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 10474aca34f8adf7258294d678e56525b7570c70 Author: Brian Koning <gnome.brkoning@gmail.com> Date: Mon Jul 23 11:04:45 2012 -0400 Remove extra newline chars in local g_application_command_line_print/err The extra newline chars in the local implementation of g_application_command_line_print and g_application_command_line_printerr() cause an unwanted newline after printed strings. This patch removes the newline chars to make the functions consistent with their documentation. https://bugzilla.gnome.org/show_bug.cgi?id=680459 gio/gapplicationcommandline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 151b198b93764ac69b5c067afe9fbf7c6c4acea4 Author: Pavel Vasin <rat4vier@gmail.com> Date: Mon Jul 16 15:57:26 2012 +0400 GDBusActionGroup: hold ref until async init done to avoid use-after-free if GDBusActionGroup was finalized https://bugzilla.gnome.org/show_bug.cgi?id=679509 gio/gdbusactiongroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b2d848e3cb83fb096d6337be701cf834defa56b9 Author: Pavel Vasin <rat4vier@gmail.com> Date: Sun Jul 15 14:34:53 2012 +0400 gio/tests/actions: test for bug679509 gio/tests/actions.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit a74749d354a9d5458f664eb67691901e13bfe738 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:51:40 2012 -0400 Deprecated GSlice config API This was marked as 'internal debugging' in the headers, and should have never been made public. As a first step to repair this, deprecate it. https://bugzilla.gnome.org/show_bug.cgi?id=680831 glib/gslice.h | 4 ++++ glib/tests/slice.c | 3 +++ 2 files changed, 7 insertions(+) commit 0b8662635df3e35aacb7d2e7cef517c47869c6ec Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Aug 6 08:49:30 2012 -0400 configure.ac: Use AS_HELP_STRING throughout https://bugzilla.gnome.org/show_bug.cgi?id=680831 configure.ac | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 49b35f093034af6ff14df4df2073a6111614c9d0 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 21:51:08 2012 +0200 gtlscertificate: Don't confuse certificate and public key in docs * A certificate sorta acts as a public key, but more specifically it contains a public key (in its subjectPublicKeyInfo) field. * Documentation was confusing and could have read like the certificate and certificate-pem properties were returning the public key part of the certificate. https://bugzilla.gnome.org/show_bug.cgi?id=681158 gio/gtlscertificate.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 278fe0c67f1d3a8731356fdda0e0adfb633cd7c4 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 31 16:47:45 2012 +0200 gchecksum: Add g_compute_checksum_for_bytes() * Add a GBytes based version of g_compute_checksum_for_data() * Add appropriate tests https://bugzilla.gnome.org/show_bug.cgi?id=680912 docs/reference/glib/glib-sections.txt | 1 + glib/gchecksum.c | 30 +++++++++++++++++++++++ glib/gchecksum.h | 5 ++++ glib/glib.symbols | 1 + glib/tests/checksum.c | 45 +++++++++++++++++++++++++++++++---- 5 files changed, 78 insertions(+), 4 deletions(-) commit dd2ecf7488190d7ffd7912f6bf81da3560ad3976 Author: Stef Walter <stefw@gnome.org> Date: Fri Aug 3 18:19:36 2012 +0200 checksum: Use functions instead of macros when building tests * No need for hard to debug and maintain macros here. https://bugzilla.gnome.org/show_bug.cgi?id=681151 glib/tests/checksum.c | 65 +++++++++++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 28 deletions(-) commit 0f6a092cc5a1cc82a02b23e9daa15159319f929c Author: Javier Jardón <jjardon@gnome.org> Date: Tue Apr 17 12:59:11 2012 +0100 Make gtk-doc not a hard dependency of GLib Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674314 autogen.sh | 10 ++++++---- configure.ac | 7 ++++++- docs/Makefile.am | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) commit 10fc00b38515bc322d5e497d61a50165b04c3c8d Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Apr 25 14:21:06 2012 +0200 gclosure: do not copy and leak when generically marshalling return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 gobject/gclosure.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 24b9f61ee4b8b7bc755b84398207112c18b4121f Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:59 2012 +0200 tests: add check for leaking signal return value https://bugzilla.gnome.org/show_bug.cgi?id=674800 tests/refcount/Makefile.am | 5 ++++- tests/refcount/signals.c | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) commit 13a1154b4cf664e486df9fa6a76d279b8090c49e Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Thu Jul 19 16:38:06 2012 +0200 tests: make refcount signals test slightly valgrind cleaner tests/refcount/signals.c | 4 ++++ 1 file changed, 4 insertions(+) commit f1a13b895d71fb9523c65591a7ebb7a8bad0a4d9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Aug 4 17:49:53 2012 -0400 NEWS updates for 2.33.8 NEWS | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 08dd0f246a17c5e1fd78ae19c18f52905c47fdbc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:36:25 2012 +0200 docs: Improve man page consistency Make Options sections refsect1 instead of refsect2, and use uppercase for argument names. Also add a product name, and shorten some argument names. docs/reference/gio/gdbus-codegen.xml | 21 +- docs/reference/gio/gdbus.xml | 29 ++- docs/reference/gio/gio-querymodules.xml | 14 +- docs/reference/gio/glib-compile-resources.xml | 83 ++++--- docs/reference/gio/glib-compile-schemas.xml | 29 ++- docs/reference/gio/gresource.xml | 17 +- docs/reference/gio/gsettings.xml | 17 +- docs/reference/glib/glib-gettextize.xml | 23 +- docs/reference/glib/gtester-report.xml | 18 +- docs/reference/glib/gtester.xml | 33 ++- docs/reference/gobject/glib-genmarshal.xml | 237 ++++++++++--------- docs/reference/gobject/glib-mkenums.xml | 315 +++++++++++++------------- docs/reference/gobject/gobject-query.xml | 41 ++-- 13 files changed, 506 insertions(+), 371 deletions(-) commit d241978412144650e73e9b635cf1869f8d4da2b9 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Aug 3 00:33:34 2012 +0200 docs: Improve man page generation Use $(AM_V_GEN) for generating man pages, and set some parameters for the XSL stylesheets. Among other things, don't generate AUTHORS and COPYRIGHT sections. docs/reference/gio/Makefile.am | 10 +++++++++- docs/reference/glib/Makefile.am | 10 +++++++++- docs/reference/gobject/Makefile.am | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) commit 9f9ab640306da52127935bd8eab82a1a8dcaaf89 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:52:46 2012 +0200 Rework the man page configury Default to generate man pages if the required tools and stylesheets are found. Error out if --enable-man is given but tools or stylesheets are missing. configure.ac | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) commit e2470ec6db5230c183a4879b5f0c687b699614e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Aug 2 23:51:52 2012 +0200 docs: Don't put links in section titles gio/gsettingsschema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6ddf40f301439c01bec24344694074bd9ba5f016 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 10:41:02 2012 +0200 gtlscertificate: Add g_tls_certificate_is_same() function * Certificate equality in PKIX in general is equality between the DER encoding of the certificates. https://bugzilla.gnome.org/show_bug.cgi?id=681116 docs/reference/gio/gio-sections.txt | 1 + gio/gio.symbols | 1 + gio/gtlscertificate.c | 37 +++++++++++++++++++++++++++++++++++++ gio/gtlscertificate.h | 4 ++++ 4 files changed, 43 insertions(+) commit b913b0c29ed7269a1684ec15f27b59a8ad2ef5e4 Author: Stef Walter <stefw@gnome.org> Date: Wed Aug 1 14:22:53 2012 +0200 gtlsdatabase: Don't complain if no callbacks for async functions https://bugzilla.gnome.org/show_bug.cgi?id=681118 gio/gtlsdatabase.c | 7 ------- 1 file changed, 7 deletions(-) commit aaf6ac8321065b9a81f96070d629bd72b589dfde Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:35:05 2012 +0530 Updated gujarati file po/gu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0b3a656c78c1f14c146464aa50697990db8b88b Author: Sweta Kothari <swkothar@redhat.com> Date: Fri Aug 3 13:32:12 2012 +0530 Updated gujarati file po/gu.po | 6025 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 3285 insertions(+), 2740 deletions(-) commit 800ca21e555e5e9fe1f07a4a8473d6d24ada6301 Author: David Zeuthen <zeuthen@gmail.com> Date: Wed Aug 1 11:57:22 2012 -0400 GDBusError: Fix up G_STATIC_ASSERT guidance This was reported in bug 680994. https://bugzilla.gnome.org/show_bug.cgi?id=680994 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3f96373372771744a5ade73b2e897ec32365182 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 25 14:41:04 2012 -0400 gthreadpool: set default max_unused_threads and max_idle_time values GThreadPool defaulted to 0 for max_unused_threads (meaning thread-pool threads would exit immediately if there was not already another task waiting for them), and 0 for max_idle_time (meaning unused threads would linger forever, though this is only relevant if you changed max_unused_threads). However, GIOScheduler changed the global defaults to 2 and 15*1000, respectively, arguing that these were more useful defaults. And they are, so let's use them. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gioscheduler.c | 6 ------ glib/gthreadpool.c | 9 +++++---- 2 files changed, 5 insertions(+), 10 deletions(-) commit 26056558be4656ee6e891a4fae5d4198de7519cf Author: Dan Winship <danw@gnome.org> Date: Mon Jul 30 08:06:57 2012 -0400 gmain: allow g_source_get_context() on destroyed sources g_source_get_context() was checking that the source wasn't destroyed (since a source doesn't hold a ref on its context, and so source->context might point to garbage in that case). However, it's useful to be allowed to call g_source_get_context() on a source that is destroyed-but-currently-running. So instead, let g_source_get_context() return the context whenever it's non-NULL, and clear the source->context of any sources that are still in a context's sources list when the context is freed. Since sources are only removed from the list when the source is freed (not when it is destroyed), this means that now whenever a source has a non-NULL context pointer, then that pointer is valid. This also means that g_source_get_time() will now return-if-fail rather than crashing if it is called on a source whose context has been destroyed. Add tests to glib/tests/mainloop to verify that g_source_get_context() and g_source_get_time() work on destroyed sources. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/gmain.c | 15 ++++++++++++--- glib/tests/mainloop.c | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) commit 6881e743ee37eff154326ef5e0510651c0a14ac4 Author: Dan Winship <danw@gnome.org> Date: Sun Jul 29 13:06:53 2012 -0400 glib/tests/mainloop: test g_source_get_time() Verify that - g_source_get_time() does not change within a single callback (even if the real time does) - g_source_get_time() does not change between different callbacks in the same mainloop iteration - g_source_get_time() does change between iterations if the real time did. https://bugzilla.gnome.org/show_bug.cgi?id=661767 glib/tests/mainloop.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97 Author: Owen W. Taylor <otaylor@fishsoup.net> Date: Mon Jul 30 13:33:05 2012 +0200 g_file_make_directory_with_parents: Fix error propagation When creating a directory fails for some reason other than the parent not existing, don't clear the error before we try to propagate it. To reproduce, run 'ostadmin init' on /ostree or otherwise try to run the function on a directory with a parent directory where the current user is not allowed to write. https://bugzilla.gnome.org/show_bug.cgi?id=680823 gio/gfile.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d7829ced532a5ffba4c56772a7a4b24e3e228651 Author: Colin Walters <walters@verbum.org> Date: Mon Jul 30 05:11:08 2012 -0400 GFile: Note semantics of g_file_delete() Particularly for someone programming on Unix, this helps them understand that we will unlink symbolic links, and not follow them. gio/gfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 14a1c20177eab4d584b29cbd6fe5933f4b2af4de Author: Colin Walters <walters@verbum.org> Date: Sat Jul 28 09:30:22 2012 -0400 GFile: Add g_file_delete_async() This looks like it was stubbed out but not implemented; the vtable entry dates to commit 3781343738de4abddf56982325a77bd70a98cd26 which is just alex's initial merge of gio into glib. I was working on some code that wants an asynchronous rm -rf equivalent, and so yeah, this is desirable. https://bugzilla.gnome.org/show_bug.cgi?id=680760 docs/reference/gio/gio-sections.txt | 2 + gio/gfile.c | 118 ++++++++++++++++++++++++++++++++++++ gio/gfile.h | 27 +++++++-- gio/gio.symbols | 2 + gio/tests/file.c | 43 +++++++++++++ 5 files changed, 188 insertions(+), 4 deletions(-) commit 6b6bef753f2e8f01e01fc8e8f099edcebc9ff8b6 Author: Colin Walters <walters@verbum.org> Date: Sun Jul 29 09:29:03 2012 -0400 Add .dir-locals.el to tell Emacs users not to use tabs for C Requested by Ryan. https://bugzilla.gnome.org/show_bug.cgi?id=680787 .dir-locals.el | 1 + 1 file changed, 1 insertion(+) commit c3154cc48eab8bb3ee6afc661d04cc919d6f9543 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 30 02:42:30 2012 +0200 Updated Galician translations po/gl.po | 344 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 180 insertions(+), 164 deletions(-) commit 8abfe528b75c6aab3a46ec02c4dcca05fceca83b Author: Andrej Žnidaršič <andrej.znidarsic@gmail.com> Date: Sun Jul 29 13:11:18 2012 +0200 Updated Slovenian translation po/sl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad4f780cb427c1c37c0b0d87fac867285926eb16 Author: Lionel Landwerlin <llandwerlin@gmail.com> Date: Fri Jul 27 14:52:17 2012 +0200 glib: fix locale detection on android g_utf8_strup() tries to call setlocale() before starting to compute the length of its first argument. Calling setlocale() can return NULL (as specified in the man page), and obviously that happens on android. https://bugzilla.gnome.org/show_bug.cgi?id=680704 glib/guniprop.c | 3 +++ 1 file changed, 3 insertions(+) commit 3339a395c298a64a9a6056b80230cc1381a6406a Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Wed Jul 25 10:33:27 2012 +0200 Updated Serbian translation po/sr.po | 1283 ++++++++++++++++++++++++++------------------------------ po/sr@latin.po | 1249 ++++++++++++++++++++++++++---------------------------- 2 files changed, 1191 insertions(+), 1341 deletions(-) commit 72824f2af2a6ae01ede471ef987ee60b9f7cd047 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Tue Jul 24 22:39:15 2012 +0300 Updated Hebrew translation. po/he.po | 1120 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 611 insertions(+), 509 deletions(-) commit 3bb53b14530116eeac1e6bcaabf7a28edb74e877 Author: Tobias Endrigkeit <tobiasendrigkeit@googlemail.com> Date: Mon Jul 23 22:11:53 2012 +0200 [l10n] Updated German translation po/de.po | 300 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 160 insertions(+), 140 deletions(-) commit 0830e10e6f6dab02afdc39b61d9611d7330edad1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Jul 23 11:42:22 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 388 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 196 insertions(+), 192 deletions(-) commit 003e7a70e80d508458c7a9d4cc76b84a1eb35f94 Author: Colin Walters <walters@verbum.org> Date: Fri Jul 20 10:40:56 2012 -0400 Revert unintential IAPI break for g_key_file_load_from_data() The old (length) annotation actually wasn't being read. Changing it to an array was telling g-i that it was an array of utf8, which is clearly not true. We *could* add (element-type guint8), but that would change it to a byte array, as opposed to the original utf8 version. Just removing the annotation should bring us back to where we were, which was fine. https://bugzilla.gnome.org/show_bug.cgi?id=680310 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae7c7d982b3f461dcab178b3d20a04aaa9d9d72 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Thu Jul 19 23:15:59 2012 +0800 gio/Makefile.am: Filter out gcontenttype.c for MSVC builds gcontenttype.c was split into gcontenttype.c and gcontenttype-win32.c in commit 32192ee9 ("Split gcontenttype.c"), so we don't want to include gcontenttype.c in the Visual C++ build as it is no longer a source file meant for Windows. Thanks to Thomas H.P. Anderson for pointing this out. gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 23a2136fb5dd860a57a9bd46e61099ea4da99447 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:37:59 2012 -0400 Check for PR_SET_NAME Bug 680148 claims that PR_SET_NAME may not be defined when using an old kernel. Deal with it. glib/gthread-posix.c | 2 ++ 1 file changed, 2 insertions(+) commit 4c255d4602b4c6f65031588ff30342c36e250567 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:32:29 2012 -0400 Be more careful when using xlocale Bug 680074 shows that we may end up in situations where only some of the xlocale functions we need are available. Rather than trying to find the minimal set of required functions for each use, define a global USE_XLOCALE and only use any xlocale functions if we have a full set. glib/gstrfuncs.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit dd098405ad4f7ad2a0029cbfc340ca2e7e2b5633 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 19 06:20:10 2012 -0400 Cosmetic: Fix up line endings Somehow a few ^M sneaked in here. glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 2357f67b1b7a9448d78e8606f10b472c595c7c90 Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 15:08:44 2012 -0400 gmain: handle child sources being destroyed before parent Fix a crash when a child source is destroyed before its parent. Also, add a test case for this and the previous fix. glib/gmain.c | 23 ++++++++++-------- glib/tests/mainloop.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 10 deletions(-) commit ee6e66cb4483d82fcb0657d13faebf844258c70b Author: Dan Winship <danw@gnome.org> Date: Wed Jul 18 14:19:36 2012 -0400 g_source_add_child_source: sync blocked state Child sources are supposed to be blocked when their parents are, so when adding a source to a blocked source, block the child too. Fixes a warning when unblocking the parent. glib/gmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2855b827da44144c76b72d8cfec9599a835df4ea Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 16:21:03 2012 -0400 gio/tests/converter-stream: add a new test, rename an old one Add a test that the decompressor input streams handle truncated data correctly. (They do; I wrote the test thinking there was a bug there, but there isn't.) Also, rename the "corruption" tests to "roundtrip", since "corruption" makes it sound like we're testing how the converters deal with corrupted data, as opposed to merely testing that they don't corrupt data themselves. And fix the bug reference. gio/tests/converter-stream.c | 112 ++++++++++++++++++++++++++++++++----------- 1 file changed, 83 insertions(+), 29 deletions(-) commit 09c18537f4e8b3ede066339cc23b76df8a4fc2cc Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 13:17:01 2012 -0400 g_cancellable_source_new: don't use a file descriptor Rather than implementing GCancellableSource by polling on its fd, implement it by just waking its GMainContext up from the "cancelled" signal handler, thereby helping to reduce file descriptor usage. Suggested by Ryan Lortie. https://bugzilla.gnome.org/show_bug.cgi?id=680121 gio/gcancellable.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 0e37822e10626859bcc6cb0452f1c0832e6990fa Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 14:23:08 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffefa544d68972cf5cc7099eb015c35630c5314d Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:50:58 2012 -0400 More updates NEWS | 1 + 1 file changed, 1 insertion(+) commit a0b71839ee27eec27d8b9da24d25c153d6273f42 Author: Stef Walter <stefw@gnome.org> Date: Tue Jul 17 18:34:16 2012 +0200 GIOScheduler: Fix access after free in "cancelled" handler * GCancellable can be "cancelled" more than once if g_cancellable_reset() is called. * Don't assume that because the "cancelled" signal fired it won't fire again. https://bugzilla.gnome.org/show_bug.cgi?id=680111 gio/gioscheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e97a4c7e5ef205dea08928f64ee5ba7e222e3b9b Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 17 13:00:00 2012 -0400 2.33.6 https://bugzilla.gnome.org/show_bug.cgi?id=680111 NEWS | 14 ++++++++++++++ configure.ac | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) commit d90ad1805552aab969f316a1de687efdb71e27fe Author: Dan Winship <danw@gnome.org> Date: Tue Jul 17 09:12:39 2012 -0400 GAsyncInitable: partially revert the init_finish changes g_async_initable_real_init_finish() was previously handling all GSimpleAsyncResults, even if they weren't created by g_async_initable_real_init_async(), and libnm-glib accidentally relied on that behavior. So remove the g_simple_async_result_is_valid() check. gio/gasyncinitable.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit cd8ec3359b4b8afd5cce48bf218ecd793f8064eb Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Sun Jul 15 19:10:43 2012 +0200 GVariantType: Add (constructor) annotation for some constructors. This are mistaken by g-ir-scanner as GVariantType's methods, because they take a GVariantType* as a first parameter. https://bugzilla.gnome.org/show_bug.cgi?id=679968 glib/gvarianttype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1b3578ec0beb19639e21c08e560a4fdb010a438a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 16 16:42:49 2012 +0200 Updated Spanish translation po/es.po | 441 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 231 insertions(+), 210 deletions(-) commit bfbfbec91e10ea7f34e43a5d263031abb914dec6 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 04:12:02 2012 +0200 win32: g_getenv() should return "" if variable exists and empty On Windows, GetEnvironmentVariable() returns 0 for empty variables. Checking GetLastError() == ERROR_ENVVAR_NOT_FOUND helps make a difference between a variable that does not exist or an empty one which should return "". https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6007a4b0b109855f8521ba93ed10b3a1d2bf77f2 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Mon Jul 9 03:54:55 2012 +0200 win32: fix g_get_environ() The current code create the strv array incorrectly, it is too big and leaves invalid holes. This may result in crashes when freeing the returned value. https://bugzilla.gnome.org/show_bug.cgi?id=679617 glib/genviron.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 11819933e2d0b8833dfd7a0173f66be989a5a914 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jul 16 06:01:55 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d48bd70853496c5a835e0d3a83136ef23ea778c9 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jul 15 20:36:10 2012 -0400 More updates NEWS | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f81c2c753ab0f6cc71866cd3e387a2e2dc857d60 Author: Ihar Hrachyshka <ihar.hrachyshka@gmail.com> Date: Sun Jul 15 12:27:03 2012 +0300 Updated Belarusian translation. po/be.po | 1106 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 620 insertions(+), 486 deletions(-) commit ef4bbecce76505abc5ba143f57bae4cba0a76f16 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Sun Jul 15 01:23:25 2012 +0200 Updated Polish translation po/pl.po | 192 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 101 insertions(+), 91 deletions(-) commit 160da82e3943e2a42685d72f54dddb11db80458c Author: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> Date: Sat Jul 14 13:51:12 2012 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- po/zh_TW.po | 1127 ++++++++++++++++++++++++++++++++++------------------------- 2 files changed, 1298 insertions(+), 956 deletions(-) commit c182ee1f7189ea2f547e1af6498b27bd501397fc Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:37 2012 -0400 Fix GModule documentation a bit The documentation for g_module_make_resident was for some reason in the doc comment for g_module_name. https://bugzilla.gnome.org/show_bug.cgi?id=679813 gmodule/gmodule.c | 16 +++++++++++++--- gmodule/gmodule.h | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) commit 34b2125edff9d4ce1dc6e2e84e5a816ee14b4791 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jul 13 17:37:12 2012 -0400 Fix doc build glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3201bcd1b278f335669972cbd991c3a6778a040e Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Fri Jul 13 17:53:45 2012 +0530 Assamese translation updated po/as.po | 447 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 97676046f2764ace8d0ac65df092046044841ac0 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 12 23:40:43 2012 -0400 Update NEWS NEWS | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit d9af4259f779a4e88d9d47a9e99944ad785f4190 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Wed Jul 11 19:41:58 2012 +0200 win32: fix build g_spawn_check_exit_status() with mingw With mingw, only gspawn-win32.c is compiled, but it is missing some new symbols. https://bugzilla.gnome.org/show_bug.cgi?id=679691 glib/gspawn-win32.c | 25 +++++++++++++++++++++++++ glib/gspawn.c | 10 ---------- 2 files changed, 25 insertions(+), 10 deletions(-) commit ce1b50bf2afbbcfd6c560feed00de2df50b7dfba Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu Jul 12 16:09:57 2012 +0200 GRegex, GConvert: Add some missing annotations. Also, removed pointless (allow-none) return annotation. https://bugzilla.gnome.org/show_bug.cgi?id=679762 glib/gconvert.c | 6 +++--- glib/gregex.c | 15 +++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) commit 99f26ab08f777040230fdd81423d1220722cef2f Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Wed Jul 11 20:25:59 2012 -0400 mount-operation: add a Since tag to the show-unmount-progress signal gio/gmountoperation.c | 2 ++ 1 file changed, 2 insertions(+) commit 44375ad7c595884c091056a1955d08a1975c5516 Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Fri Jul 6 15:41:47 2012 -0400 mount-operation: add show-unmount-progress signal The actual implementation will be in gvfs. https://bugzilla.gnome.org/show_bug.cgi?id=676111 gio/gmountoperation.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ gio/gmountoperation.h | 6 +++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit 37fbd702d54a471781e853acaf805e0f508fbd3a Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jul 12 02:38:20 2012 +0300 Updated Greek translation po/el.po | 819 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 456 insertions(+), 363 deletions(-) commit eda1735029e01d6391fe8a4cde6c5688727c8183 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:38:34 2012 +0200 GDBusNodeInfo: remove a spurious for loop https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 6f23c33831f69ef111d22491586d1dfdd8ca3693 Author: Rui Matos <tiagomatos@gmail.com> Date: Tue Jul 10 11:37:56 2012 +0200 GDBusNodeInfo: the XML string must contain exactly one node element Make the documentation clear about this. https://bugzilla.gnome.org/show_bug.cgi?id=679671 gio/gdbusintrospection.c | 3 +++ 1 file changed, 3 insertions(+) commit f7abd3ce130ae3a6da8502c2dce8d773d7514464 Author: Colin Walters <walters@verbum.org> Date: Tue Jul 10 11:27:22 2012 -0400 Add g_spawn_check_exit_status() Many (if not "almost all") programs that spawn other programs via g_spawn_sync() or the like simply want to check whether or not the child exited successfully, but doing so requires use of platform-specific functionality and there's actually a fair amount of boilerplate involved. This new API will help drain a *lot* of mostly duplicated code in GNOME, from gnome-session to gdm. And we can see that some bits even inside GLib were doing it wrong; for example checking the exit status on Unix, but ignoring it on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=679691 docs/reference/glib/glib-sections.txt | 1 + gio/gdbusaddress.c | 29 +------- gio/gdesktopappinfo.c | 4 +- gio/glib-compile-resources.c | 14 ++-- gio/tests/gdbus-connection-slow.c | 9 +-- gio/tests/gdbus-connection.c | 2 +- glib/glib.symbols | 2 + glib/gmain.c | 12 ++-- glib/gmain.h | 8 ++- glib/gspawn.c | 128 +++++++++++++++++++++++++++++++--- glib/gspawn.h | 13 ++++ 11 files changed, 158 insertions(+), 64 deletions(-) commit 82d914d808c616d14d489c0272c6d5afc4bfbd5a Author: Dan Winship <danw@gnome.org> Date: Thu May 10 11:09:52 2012 -0400 gio: add g_async_result_is_tagged() Rather than doing a two step first-check-the-GAsyncResult-subtype-then- check-the-tag, add a GAsyncResult-level method so that you can do them both at once, simplifying the code for "short-circuit" async return values where the vmethod never gets called. https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncresult.c | 29 +++++++++++++++++++++++++++++ gio/gasyncresult.h | 7 +++++++ gio/gbufferedinputstream.c | 9 ++------- gio/gfileenumerator.c | 11 +++-------- gio/ginputstream.c | 27 ++++++--------------------- gio/gio.symbols | 1 + gio/giostream.c | 9 ++------- gio/goutputstream.c | 27 ++++++--------------------- gio/gresolver.c | 13 ++++--------- gio/gsimpleasyncresult.c | 8 ++++++++ 11 files changed, 69 insertions(+), 73 deletions(-) commit f8532a13e2054e649f75ca2a58e01604be05549e Author: Dan Winship <danw@gnome.org> Date: Thu May 10 09:00:45 2012 -0400 gio: Add g_async_result_legacy_propagate_error() Finish deprecating the "handle GSimpleAsyncResult errors in the wrapper function" idiom (and protect against future GSimpleAsyncResult deprecation warnings) by adding a "legacy" GAsyncResult method to do it in those classes/methods where it had been traditionally done. (This applies only to wrapper methods; in cases where an _async vmethod explicitly uses GSimpleAsyncResult, its corresponding _finish vmethod still uses g_simple_async_result_propagate_error.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 docs/reference/gio/gio-sections.txt | 1 + gio/gasyncinitable.c | 8 +- gio/gasyncresult.c | 42 ++++++++ gio/gasyncresult.h | 4 + gio/gbufferedinputstream.c | 5 +- gio/gdrive.c | 44 +++------ gio/gfile.c | 189 ++++++++++-------------------------- gio/gfileenumerator.c | 16 ++- gio/gfileinputstream.c | 9 +- gio/gfileiostream.c | 13 +-- gio/gfileoutputstream.c | 9 +- gio/ginputstream.c | 15 +-- gio/gio.symbols | 1 + gio/giostream.c | 5 +- gio/gloadableicon.c | 10 +- gio/gmount.c | 48 +++------ gio/goutputstream.c | 24 +++-- gio/gresolver.c | 24 ++--- gio/gvolume.c | 24 ++--- 19 files changed, 180 insertions(+), 311 deletions(-) commit 538b2f106de78b7dfeac2a98f3d5594ed0ed2ade Author: Dan Winship <danw@gnome.org> Date: Mon Jun 11 13:44:19 2012 -0400 gio: handle GSimpleAsyncResult errors in _finish vmethods Originally, the standard idiom with GSimpleAsyncResult was to handle all errors in the _finish wrapper function, so that vmethods only had to deal with successful results. But this means that chaining up to a parent _finish vmethod won't work correctly. Fix this by also checking for errors in all the relevant vmethods. (We have to redundantly check in both the vmethod and the wrapper to preserve compatibility.) https://bugzilla.gnome.org/show_bug.cgi?id=667375 https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gasyncinitable.c | 19 ++++++++----------- gio/gbufferedinputstream.c | 3 +++ gio/gfile.c | 42 +++++++++++++++++++++++++++++++++++++++++- gio/gfileenumerator.c | 8 ++++++++ gio/gfileinputstream.c | 3 +++ gio/gfileoutputstream.c | 7 +++++-- gio/ginputstream.c | 12 ++++++++++++ gio/giostream.c | 5 +++++ gio/gloadableicon.c | 3 +++ gio/goutputstream.c | 16 ++++++++++++++++ 10 files changed, 104 insertions(+), 14 deletions(-) commit a98d26c9bbd40b5d00d5a1536402c9196534087c Author: Dan Winship <danw@gnome.org> Date: Tue Apr 17 09:55:33 2012 -0400 GFile: remove some unnecessary code The "mainloop_barrier" in copy_async_thread() is unnecessary, since the g_simple_async_result_complete_in_idle() will be queued after all of the g_io_scheduler_job_send_to_mainloop_async()s, and sources with the same priority will run in the order in which they were queued. https://bugzilla.gnome.org/show_bug.cgi?id=661767 gio/gfile.c | 15 --------------- 1 file changed, 15 deletions(-) commit 4749878f9102d40d072bb5c838f2dd2e8d61d417 Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Mon Jul 9 18:17:01 2012 +0200 goptions: use G_N_ELEMENTS instead of nitems glib/goption.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5a85fe0e37504cea13fe8a587691f72373b18830 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jul 9 12:43:50 2012 -0400 GVariant: fix string validation String validation was done by checking if the string was valid utf8 and ensuring that the first non-utf8 character was the last character (ie: the nul terminator). No check was actually done to make sure that this byte actually contained a nul, however, so it was possible that you could have a string like "hello\xff" with length 6 that would correctly validate. Fix that, and test it. glib/gvariant-serialiser.c | 11 ++++++++++- glib/tests/gvariant.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) commit 3b0f1cc432b546c538d82036bd1a655489d11f35 Author: Stef Walter <stefw@gnome.org> Date: Sat May 5 12:51:16 2012 +0200 Fix up GObject interface documentation * Document how to override interfaces already implemented in a base class, and also call those base class implementations from a derived reimplementation. * Don't recomend people use base_init() style functions to initialize interface signals and properties, use default_init() aka class_init() instead (as G_DEFINE_INTERFACE() uses). * The above solves the interface init called multiple times problem, so remove some needless naysaying about that. * Document default_init() in the interface initialization discussion * Linkify more stuff. * Remove some crud and typos https://bugzilla.gnome.org/show_bug.cgi?id=675504 docs/reference/gobject/tut_gtype.xml | 143 ++++++++++++----- docs/reference/gobject/tut_howto.xml | 303 ++++++++++++++++++++++++----------- 2 files changed, 309 insertions(+), 137 deletions(-) commit 2cf9608d4892690c16332c27b3f5de0276d2f569 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jul 9 15:05:04 2012 +0200 Updated Galician translations po/gl.po | 403 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 165 deletions(-) commit f9a6a97470583417a26619b5da3d56097a15c6dd Author: Antoine Jacoutot <ajacoutot@gnome.org> Date: Sun Jul 8 19:23:18 2012 +0200 OpenBSD: explicitely define nitems nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL condition. glib/goption.c | 4 ++++ 1 file changed, 4 insertions(+) commit a511a706de048dcc779eb09d85f3d2e9329d68cd Author: Torsten Schönfeld <kaffeetisch@gmx.de> Date: Mon May 3 20:33:50 2010 +0200 gio: Add type macros for GFileAttributeInfoList and GFileAttributeMatcher https://bugzilla.gnome.org/show_bug.cgi?id=616892 gio/gfileattribute.h | 4 +++- gio/gfileinfo.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit c09bf3e6b935d5e5ef0ecf2bb88788537c3ebecd Author: David Zeuthen <zeuthen@gmail.com> Date: Sat Jul 7 17:10:46 2012 -0400 gdbus-codegen: improve casting a tiny wee bit The in commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 for fixing -Wstrict-aliasing warnings was a little too brutal, make it a bit better. Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 53b3175cfabe78b6ce3403f38d59addb218cb61b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:20:39 2012 +0200 regex: Add new GRegexError code from PCRE 8.31 glib/gregex.c | 3 +++ glib/gregex.h | 7 +++++-- glib/tests/regex.c | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) commit 2188a5e59c512668dc3c76607fb8ccad4910cc3c Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 28 23:21:16 2012 +0200 regex: Enable fixed test This problem was fixed in PCRE 8.31, so uncomment the test. glib/tests/regex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 94578330109eb7fb1588c0d0d0bb526bfb0ce9b6 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:15:27 2012 +0200 regex: Import PCRE 8.31 https://bugzilla.gnome.org/show_bug.cgi?id=679193 glib/pcre/pcre.h | 10 +- glib/pcre/pcre_compile.c | 195 ++-- glib/pcre/pcre_dfa_exec.c | 225 +++-- glib/pcre/pcre_exec.c | 331 +++++-- glib/pcre/pcre_fullinfo.c | 4 + glib/pcre/pcre_globals.c | 4 + glib/pcre/pcre_internal.h | 43 +- glib/pcre/pcre_jit_compile.c | 2028 +++++++++++++++++++++++++++--------------- glib/pcre/pcre_study.c | 15 +- glib/pcre/pcre_tables.c | 292 +++--- glib/pcre/ucp.h | 9 +- glib/update-pcre/ucp.patch | 55 +- 12 files changed, 2087 insertions(+), 1124 deletions(-) commit f66052fc87caada2552f651e9a21f1daac86b2a1 Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 17:27:54 2012 -0400 GVariant: support comparing booleans g_variant_compare() is documented as working on booleans but somehow this case was missed. Add it and test it. Problem discovered by Charles Kerr. glib/gvariant.c | 4 ++++ glib/tests/gvariant.c | 5 +++++ 2 files changed, 9 insertions(+) commit b79fbc5c3fc8d7093919dde2dc244d26a97596c3 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:45:09 2012 -0400 gdbus-codegen: neuter warnings when using -Wstrict-aliasing Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d728eae85fbcefb66f9bfc41a52cf315ef84d667 Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 13:43:05 2012 -0400 gdbus-codegen: don't shadow variable This avoids a warning when building with -Wshadow Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed492a5de2a217c08bccd4032b1122fba2f25c6f Author: Ryan Lortie <desrt@desrt.ca> Date: Fri Jul 6 13:43:17 2012 -0400 GSettings: be more careful about keys names with / Prevent attempts to access keys ending with slashes that exist in the schema file as references to child schemas. Also: don't emit change signals for these same keys. gio/gsettings.c | 20 ++++++++++++++++---- gio/gsettingsschema.c | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) commit 52a6d7022af6dfc597bae97fdabcaf2d24855126 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Fri Jul 6 19:11:26 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 750 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 414 insertions(+), 336 deletions(-) commit ee9aae5dcfe8dd1956e78a52c4e8c53c0f7861fe Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 14:08:22 2012 -0400 Clarify the GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED docs https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 40f0f66151c09a02b6355c7da02af081c30dd586 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 26 11:08:23 2012 -0400 Deal with GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED being a "future" value If GLIB_VERSION_MIN_REQUIRED or GLIB_VERSION_MAX_ALLOWED was defined to a future value, we were essentially treating it as GLIB_VERSION_0_0. Fix to treat it as being in the future instead. https://bugzilla.gnome.org/show_bug.cgi?id=674898 glib/gversionmacros.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 4ac0d78d5ddde773b7abf05e4c5e128a8acb835d Author: Colin Walters <walters@verbum.org> Date: Tue May 29 17:58:41 2012 -0400 GString: Tweak documentation, add g_string_free_to_bytes() The docs for GString should really mention GByteArray, and what makes it different. Drop the comparison to Java which is dated and actually inaccurate (because StringBuffer operates on Unicode). While we're here, add g_string_free_to_bytes(), which further complements the spread of GBytes-based API. For example, one can create a buffer using GString, then send it off via g_output_stream_write_bytes(). https://bugzilla.gnome.org/show_bug.cgi?id=677064 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gstring.c | 48 ++++++++++++++++++++++++++++++----- glib/gstring.h | 3 +++ glib/tests/string.c | 21 +++++++++++++++ 5 files changed, 68 insertions(+), 6 deletions(-) commit d72116d8b7c802895be6b02093342fd9e770813d Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jul 6 09:19:48 2012 -0400 gdbus-codegen: Don't generate invalid GObject property names For a D-Bus property with name "Type" (fairly common), we used to generate a GObject property with name "type-" and C accessors get_type_() (to avoid clashing with the GType getter), set_type_() (for symmetri). However, the rules for GObject property names are fairly rigid and specifically prohibit names ending in a dash. Therefore change things so the chosen GObject property name is "type" but preserve the naming rules for the C getter and setter (for the same reasons: avoiding name clashing and symmetri). This change does break the API of generated code (but only on the GObject property level, the C symbols are not changed) but strictly speaking the behavior was undefined since "type-" was an invalid GObject property name. Also add a test case for this. Bug 679473. https://bugzilla.gnome.org/show_bug.cgi?id=679473 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbus-2.0/codegen/dbustypes.py | 3 ++- gio/tests/gdbus-test-codegen.c | 28 ++++++++++++++++++++++++++++ gio/tests/test-codegen.xml | 4 ++++ 3 files changed, 34 insertions(+), 1 deletion(-) commit 2a87010831db5d4c18905103e9e7d804546552bf Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Wed Mar 7 12:54:04 2012 +0000 Constify collect and lcopy strings in GTypeValueTable This avoids warnings when creating idiomatic value tables, like: static const GTypeValueTable _clutter_shader_float_value_table = { clutter_value_init_shader_float, clutter_value_free_shader_float, clutter_value_copy_shader_float, clutter_value_peek_pointer, "ip", clutter_value_collect_shader_float, "pp", clutter_value_lcopy_shader_float }; Because the strings are literals. And, really: nobody should be using allocated values for the collection and lcopy strings. https://bugzilla.gnome.org/show_bug.cgi?id=671545 gobject/gtype.h | 4 ++-- gobject/gvaluecollector.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit ab4cc22ba5d7a1a9ee72eaccd171ac1fc82bfb5c Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jul 5 22:25:49 2012 -0400 Improve the g_dir_read_name documentation This function can return NULL in error cases as well. Document this, and explain how to discriminate the cases. https://bugzilla.gnome.org/show_bug.cgi?id=639771 glib/gdir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f416ece1039f65ce77df6983a872950c82877e37 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Wed Jul 4 04:25:41 2012 +0200 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 04af05fd1f648aca3e2aa805df5a376a992a04d3 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:14:41 2012 -0400 Drop unneeded includes gio/gcharsetconverter.c | 1 - gio/glocalfileinfo.c | 1 - gio/gwin32appinfo.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) commit 32192ee9e4210a12b76ee5cbfbb8b6f2d957d3e9 Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jul 3 21:13:32 2012 -0400 Split gcontenttype.c Instead of a giant #if G_OS_WIN32 #else #endif around the entire file, just split it into gcontenttype.c and gcontenttype-win32.c. gio/Makefile.am | 5 +- gio/gcontenttype-win32.c | 378 +++++++++++++++++++++++++++++++++++++++++++++++ gio/gcontenttype.c | 353 +------------------------------------------ 3 files changed, 382 insertions(+), 354 deletions(-) commit af3b1674cd65e1d650fb82bc93483391b99feb50 Author: Marc-André Lureau <marcandre.lureau@gmail.com> Date: Tue Jul 3 20:04:05 2012 +0200 win32: fix build after bug 674452 gio/gcontenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d7fa1c7839dfeb482f549ca9bb3ab7027e9994a Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Jul 3 15:40:35 2012 -0400 GObject docs fixup docs/reference/gobject/Makefile.am | 1 + docs/reference/gobject/gobject-sections.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) commit 72660997bc0b0ee81095b85911992db3c644e5da Author: Rico Tzschichholz <ricotz@t-online.de> Date: Tue Jul 3 21:22:16 2012 +0200 glib/deprecated: Fix some version typos glib/deprecated/gthread-deprecated.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit be249ac6ae461b2f8c3995d7311033f82738827a Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jul 3 21:01:17 2012 +0530 Assamese translation updated po/as.po | 388 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 238 insertions(+), 150 deletions(-) commit 45c48bffdd3e684470be38a03dea466f78e184bd Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Jul 3 16:55:12 2012 +0300 Updated Bulgarian translation po/bg.po | 316 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 187 insertions(+), 129 deletions(-) commit 489b947c3be8ea892d415ac1b623e5bfc3445439 Author: Neil Roberts <neil@linux.intel.com> Date: Mon Jul 2 13:41:32 2012 +0100 Fix the 'Since' tag for G_SOURCE_{REMOVE,CONTINUE} The Since tag for these was saying 2.28 but it was actually added in 2.31. It looks like all of the Since tags list stable version numbers so this patch bumps that up to 2.32. https://bugzilla.gnome.org/show_bug.cgi?id=679258 glib/gmain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 938c28b36bf7090c654802d877d76f404d783799 Author: Christian Persch <chpe@gnome.org> Date: Mon Jul 2 17:56:54 2012 +0200 regex: Require PCRE 8.13 Bump the required version for external PCRE to 8.13, to fix the build with external PCRE. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5b1179d3fc04d4ec4fd03e4df852ac7c02d4e00 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:34:59 2012 +0200 Updated Spanish translation po/es.po | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 4b787aa31d8e71d108cbf0a61db3dd7805cf2205 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:29:02 2012 +0200 Updated Spanish translation po/es.po | 373 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 229 insertions(+), 144 deletions(-) commit 1519d6b894c95968fdd13a2004cf0c9d97efe7bd Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Jul 2 17:24:45 2012 +0200 Fixed a a «big bug» in a string ;-) glib/gregex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7483315f83cac1f54fd72c331e6eff0781b8560f Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing Reorder the toupper/tolower calls when othercaseing, so this function is bug-for-bug compatible with the pcre internal tables. https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 4 ++-- glib/tests/regex.c | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) commit a2f54a3408fcf45cae991b6886f4495fdae1f5ac Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 14 22:04:05 2012 +0200 regex: Add FIRSTLINE compile flag This option exists since PCRE 6.0. glib/gregex.c | 2 ++ glib/gregex.h | 5 ++++- glib/tests/regex.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) commit e99e34f65f6cf66feaccde29e480965d525586ae Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 23:24:07 2012 +0200 regex: Add NOTEMPTY_ATSTART match option Since PCRE 8.00 it supports a variant of PCRE_NOTEMPTY that works similarly except that it only applies to the start of the matched string but permits empty matches further in. glib/gregex.c | 32 +++++++++++++++++--------------- glib/gregex.h | 32 ++++++++++++++++++-------------- glib/tests/regex.c | 15 +++++++++++++-- 3 files changed, 48 insertions(+), 31 deletions(-) commit 1171215014bb9406ff8ae1ea91b1c251b4e7d71b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 22:50:52 2012 +0200 regex: Add PARTIAL_HARD match option Since PCRE 8.00 it supports a new partial matching method PCRE_PARTIAL_HARD. glib/gregex.c | 21 +++++++++++++++++---- glib/gregex.h | 9 ++++++++- glib/tests/regex.c | 11 +++++++++-- 3 files changed, 34 insertions(+), 7 deletions(-) commit 0a2967030af2a5cce9fd6ae916a535f26239bcd3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 20:12:11 2012 +0200 regex: Add JavaScript compat mode Since PCRE 7.7, there's a flag that changes the behaviour to be more JavaScript compatible. Since it's no effort to expose it, just do so. glib/gregex.c | 52 ++++++++++++++++++++++++++++++++-------------------- glib/gregex.h | 8 +++++++- glib/tests/regex.c | 1 + 3 files changed, 40 insertions(+), 21 deletions(-) commit e5550a24db48ce6f67b0f3b8df9dc467087c941b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:11:49 2012 +0200 regex: Don't leak internal PCRE options g_regex_get_compile_get_compile_flags() and g_regex_get_match_flags() were leaking PCRE flags that don't exist in the corresponding public GRegexCompileFlags and GRegexMatchFlags; this change masks these internal flags. glib/gregex.c | 36 +++++++++++++++++++++------ glib/tests/regex.c | 73 +++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 78 insertions(+), 31 deletions(-) commit 26d91ddc08b41533a6952014fd9c19c80865e840 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:52 2012 +0200 regex: Add BSR_ANYCRLF and BSR_ANY match options These flags override the compile option at match time. They use PCRE_BSR_ANYCRLF and PCRE_BSR_UNICODE, resp., which make \R match only CR, LF and CRLF, or any Unicode newline character or character sequences, resp. glib/gregex.c | 6 +++++- glib/gregex.h | 13 ++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit 88ac3839f5d3d8d05ea7ea391209dff378866f57 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:44:10 2012 +0200 regex: Add BSR_ANYCRLF compile option When this flag is set, \R only matches CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 86a04a05e6b697361c58b1577c52b4a713bf18d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:42:50 2012 +0200 regex: Fix newline definition for system PCRE While we PCRE_BSR_UNICODE is the default in the internal PCRE, that may not be true for the system one. Force the PCRE_BSR_UNICODE flag on it. glib/gregex.c | 6 ++++++ glib/tests/regex.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 91ba8ae1560d4132e4ed2631b8e69684c3c863d3 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 16:07:04 2012 +0200 regex: Don't return from inside a g_once_init_enter/leave block When using the system PCRE, and it was compiled with incompatible options, the code was returning from inside a g_once_init_enter/leave block without calling g_once_init_leave(). glib/gregex.c | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) commit 69a12e3275c6e068929d2ed69ba1af87df0f851b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:57:15 2012 +0200 regex: Add accessor for PCRE_INFO_HASCRORLF This flag is new in PCRE 7.3, and checks whether there is an explicit CR or LF reference in the pattern. docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gregex.c | 21 +++++++++++++++++++++ glib/gregex.h | 1 + glib/tests/regex.c | 11 +++++++++++ 5 files changed, 35 insertions(+) commit 7ada9765160ce8a41fae0a0e0435ad00a8037601 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:36:11 2012 +0200 regex: Remove message for unused error code Since PCRE 7.3 the PCRE_ERROR_NULLWSLIMIT error is not returned anymore. glib/gregex.c | 2 -- 1 file changed, 2 deletions(-) commit 592531019ede1c6d48304ba8babce0a5470d16d7 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:26:02 2012 +0200 regex: Add NEWLINE_ANYCRLF match option This PCRE option is new in PCRE 7.1. glib/gregex.c | 38 ++++++++++++++++++++------------------ glib/gregex.h | 31 +++++++++++++++++++------------ 2 files changed, 39 insertions(+), 30 deletions(-) commit c8c049b177dc40c0242409389ddccfa59ba88953 Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 15:23:37 2012 +0200 regex: Add NEWLINE_ANYCRLF compile option The PCRE_NEWLINE_ANYCRLF option is new in PCRE 7.1. With it set, the only only newline sequences recognised are CR, LF and CRLF. glib/gregex.c | 4 +++- glib/gregex.h | 21 ++++++++++++++------- glib/tests/regex.c | 2 -- 3 files changed, 17 insertions(+), 10 deletions(-) commit 7e8b5ea442f235f5e272b0fe7a4768bf897b6aad Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 14:48:51 2012 +0200 regex: Assert that our flags values are the same as PCRE's We rely on those flags having the same values as PCRE's (so we can pass them right through), so assert this at compile time. glib/gregex.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 03611f7c0670ea14eedbc121972aed7ce60bb9ee Author: Simon Feltman <s.feltman@gmail.com> Date: Wed Jun 13 23:20:17 2012 -0700 Updated codegen to work with python3. Most changes were just replacing usage of "has_key" with "in". Also updated the sorting function which was simplified and changed to a "key" function instead of "cmp" (which is no longer supported in python3. Verified everything builds with python 2.7 and 3. https://bugzilla.gnome.org/show_bug.cgi?id=678066 gio/gdbus-2.0/codegen/codegen.py | 15 +++++---------- gio/gdbus-2.0/codegen/codegen_docbook.py | 8 +++----- gio/gdbus-2.0/codegen/codegen_main.py | 4 ++-- gio/gdbus-2.0/codegen/parser.py | 22 +++++++++++----------- gio/gdbus-2.0/codegen/utils.py | 17 +++++------------ 5 files changed, 26 insertions(+), 40 deletions(-) commit 6d5484b2962c2a365983e8a37295f298909bca00 Author: Christian Persch <chpe@gnome.org> Date: Fri Jun 8 01:08:10 2012 +0200 regex: Handle PCRE_ERROR_RECURSIONLOOP Was missing from the error conversion routine. glib/gregex.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e5615138af8a5044bb5adac0804a59073d4cb69 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:55:01 2012 +0200 regex: Update GRegexError with newer PCRE error codes Update the GRegexError enum with new PCRE errors up to PCRE 8.30. https://bugzilla.gnome.org/show_bug.cgi?id=677579 glib/gregex.c | 145 +++++++++++++++++++++++++++++++++++------------------ glib/gregex.h | 40 +++++++++++++-- glib/tests/regex.c | 51 +++++++++++++++++-- 3 files changed, 181 insertions(+), 55 deletions(-) commit 3be1d864d838a9015866656764c0a615f63f63ec Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 18:22:44 2012 +0200 regex: Simplify regex compile tests Use a macro instead of repeating the same code over and over again. glib/tests/regex.c | 106 +++++++++++------------------------------------------ 1 file changed, 22 insertions(+), 84 deletions(-) commit 20ab7e2aea955e4a70be43cbb6e4237afd98bf7b Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 7 19:53:17 2012 +0200 regex: Deprecate an obsolete error code G_REGEX_ERROR_DEFINE_REPETION is dead and never raised by PCRE. glib/gregex.c | 3 --- glib/gregex.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) commit d9e8d3e0f0fc00435b161dd3dfb1b8727922ba00 Author: Christian Persch <chpe@gnome.org> Date: Wed Jun 6 21:54:08 2012 +0200 regex: Fix PCRE error code conversion Use the shifted error codes for comparisions. https://bugzilla.gnome.org/show_bug.cgi?id=677578 glib/gregex.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 3173fca9cc520785f82e602fe830c220c2d1820f Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:55:26 2012 +0700 Updated Vietnamese translation po/vi.po | 103 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 39 deletions(-) commit 7ddefe3f4b2221147bd77f362760e8fb00f7e624 Author: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Date: Sat Jun 30 09:42:53 2012 +0700 po/vi: import from Damned Lies po/vi.po | 661 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 299 deletions(-) commit 64bfbc2cf074de087c4e195d6409af9c24dc2f28 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 29 13:47:15 2012 -0400 GOptionContext: Don't show headings without options If the only entry in the main group is for the rest args, don't bother printing "Application Options". glib/goption.c | 2 ++ glib/tests/option-context.c | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) commit 08cfcdc81add6f6f2247b1cc82d2c15ad27001f0 Author: Johan Dahlin <johan@gnome.org> Date: Fri Jun 29 11:59:23 2012 -0300 Use the same Python as we found in configure Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions it's actually python 3.x. gio/gdbus-2.0/codegen/Makefile.am | 2 +- gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit df319ca49ca1e8caff1a4f17e8e53628b33b8d56 Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Thu Jun 28 17:44:14 2012 +0300 Updated Greek translation po/el.po | 94 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 45 deletions(-) commit d023b81a7a261782f2c88df7751f3476bd802b99 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 16:30:38 2012 +0200 Fix /contenttype/guess test After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text and definitively not PowerPoint. It previously worked as g_content_type_guess() was reading beyond the boundary of the data due to specifying -1 as data length. Update that test case to expect a PO template instead, and add two more with a definitive PO template syntax and some binary data. We do not currently have a MIME magic for PowerPoint, so we cannot actually detect it with certainty, but at least make sure that the returned MIME type is correct. https://bugzilla.gnome.org/show_bug.cgi?id=678941 gio/tests/contenttype.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c35106fcc4a736a2cdd3566042da15216dea415b Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 15:38:06 2012 +0200 Fix the mimetype default fix We need to ignore the defaults.list item only when there was a mimetype handler found in a previous mimetype, not if one was found for the same mimetype as the one that is listed in defaults.list (same for the new-style defaults). gio/gdesktopappinfo.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f14c0112d07832b0ae4c75fd8d348e8f15d131d1 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Jun 28 14:50:37 2012 +0200 Fix default app lookup wrt parent types and defaults.list There was an issue when looking up the default handler for a type where a supertype was listed in defaults.list. We would pick the default for the parent type even if there was a handler for the more specific type. In the case of the new-style defaults marking ( "Default Applications" in mimeapps.list) we were already checking for a more specific handler befor using a default, but we also need to do a similar check for the defaults.list case. https://bugzilla.gnome.org/show_bug.cgi?id=678944 gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ae30806403e556c8297a16a25a18687d9e80f89 Author: Stef Walter <stefw@gnome.org> Date: Thu Jun 28 14:41:39 2012 +0200 GTlsInteraction: Fix incorrect locking of mutex * Fix incorrect locking of mutex in g_tls_interaction_invoke_ask_password() https://bugzilla.gnome.org/show_bug.cgi?id=678758 gio/gtlsinteraction.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 139c1ce9884a91be167ab9d48d3c4b0df89dd112 Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 09:25:37 2012 +0200 gio/tests/contenttype: Call g_content_type_guess() with valid data len g_content_type_guess() requires specifying a valid data length. Fixes a segfault when running the test. Also add an explicit check for this and return XDG_MIME_TYPE_UNKNOWN when data_size is specified as -1, to avoid crashing. https://bugzilla.gnome.org/show_bug.cgi?id=674452 gio/gcontenttype.c | 8 ++++++++ gio/tests/contenttype.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 95f29687e14423ca541cac1c00137375b935168d Author: Martin Pitt <martinpitt@gnome.org> Date: Wed Jun 27 11:46:28 2012 +0200 /mainloop/timeouts test: Reduce race condition Due to load, particular traits of the architecture, or other circumstances, the /mainloop/timeouts sometimes manages to call the "every 100 ms" timer loop only 9 times in 1050 ms. This is an inherent race-condition in the test; allow it some slack and accept 9 times as well. https://bugzilla.gnome.org/show_bug.cgi?id=678959 glib/tests/mainloop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 240ef2b9e830f2aa92356368902bec813f3c1ef8 Author: Philipp Kern <pkern@debian.org> Date: Wed Jun 27 10:57:50 2012 +0200 valuetransform: Fix definition of ulong_bool On big endian 64 bit machines such as s390x, an uint is too small to hold a ulong_bool; it needs to be an actual ulong. https://bugzilla.gnome.org/show_bug.cgi?id=678949 http://bugs.debian.org/662057 gobject/gvaluetransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5e5e95a217dc43a70bd998fce16ed93225e0cfd Author: Alexander Shopov <ash@kambanaria.org> Date: Wed Jun 27 07:17:40 2012 +0300 Updated Bulgarian translation po/bg.po | 391 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 203 insertions(+), 188 deletions(-) commit 72af44cb1249f02cbe56376a751e3ae6d3b39ea8 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 26 18:32:29 2012 +0200 Allow slightly too small poll duration in /socket/timed_wait test Sometimes the poll duration in the /socket/timed_wait test is slightly lower than the requested 100000, causing failures like ERROR:/build/buildd/glib2.0-2.33.2/./gio/tests/socket.c:619:test_timed_wait: assertion failed (poll_duration > = 100000): (99240 >= 100000) FAIL Adjust the test to also allow some jitter in the "too small" direction, similar to the already existing span for "slightly too large". https://bugzilla.gnome.org/show_bug.cgi?id=678881 gio/tests/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6aa3b3bdd9f0fe1d9f2d2eed1d881bc189bcfe8 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 20:46:28 2012 -0400 GTestDBus: Don't call into gvfs https://bugzilla.gnome.org/show_bug.cgi?id=678808 gio/gtestdbus.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 55bac5da0ada8f46824a4d565cdd8ea7e3774a47 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 13:08:13 2012 -0400 GMainContext: reorganize source list to avoid O(n) behavior Rather than having a single priority-ordered list of GSources, store a list of queues of each priority level. This means that adding a source is now O(n) in the number of unique priority levels currently being used, rather than O(n) in the total number of sources. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 126 insertions(+), 28 deletions(-) commit aaaaab91de10445a178e8183a95d98189249e868 Author: Dan Winship <danw@gnome.org> Date: Fri Jun 22 22:21:05 2012 -0400 gmain: add GSourceIter add an explicit iterator for GMainContext sources https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 154 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 92 insertions(+), 62 deletions(-) commit 8e65c304315a7f54addd9c2771d20eca007f9d6a Author: Dan Winship <danw@gnome.org> Date: Sat Jun 23 12:01:40 2012 -0400 gmain: rename some variables for clarity https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 532f463eaf48d6a560977fd64479cfa05433162e Author: Dan Winship <danw@gnome.org> Date: Wed Apr 11 10:22:45 2012 -0400 gmain: child sources must always have same priority as parent A child source does not have a priority of its own; it must have the same priority as its parent. Enforce this in g_source_set_priority_unlocked(). https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 3 +++ 1 file changed, 3 insertions(+) commit d981d79a4291f76373f7f0e3abec762977133e27 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue Aug 30 12:15:04 2011 -0400 GSource: initialise ->priv on construct For efficiency, we waited until setting up child sources to allocate ->priv. Simplify things a bit by allocating it from the start. https://bugzilla.gnome.org/show_bug.cgi?id=619329 glib/gmain.c | 39 ++++++++++++++------------------------- 1 file changed, 14 insertions(+), 25 deletions(-) commit 56de38da7dc4ffd1c60c336211806e345dbcaf42 Author: Dan Winship <danw@gnome.org> Date: Sun Jun 24 09:48:10 2012 -0400 tests: add a timing test for adding lots of GSources https://bugzilla.gnome.org/show_bug.cgi?id=619329 tests/.gitignore | 1 + tests/Makefile.am | 2 + tests/sources.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 192 insertions(+) commit 4780ee5d4a6057312abee9a8fcaad45a9897fe0e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 23:23:36 2012 -0400 glib/: gtk-doc cleanup docs/reference/glib/glib-overrides.txt | 5 +++++ glib/docs.c | 3 +++ glib/gkeyfile.c | 2 +- glib/gunicode.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) commit 130c249eacfba3b77ec110880661386e7945b898 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 19:37:05 2012 -0400 Fix previous commit gio/tests/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b837cdde69fa39ed10aaf8791ab656ad41dedeb0 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 18:14:10 2012 -0400 gio/tests/actions: Plug a memory leak gio/tests/actions.c | 1 + 1 file changed, 1 insertion(+) commit b65194e8dfd3d9c3fabb16a189c0b326c175f9d5 Author: Colin Walters <walters@verbum.org> Date: Mon Jun 25 17:05:45 2012 -0400 GIOScheduler: Disconnect from cancellable after job completes This was causing crashes when a cancellable was canceled after the job had completed. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) commit 03f2f3b0027e9239fc501539b1c16aefaee863d6 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:55:31 2012 -0400 *bump* configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5ed95c9ad973e30c1c1938c55ffe60f4a14dab7 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 16:29:53 2012 -0400 GLib 2.33.3 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) commit 115ca3d8970ca32d824a201a9cc8f1fb24f3155e Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 25 10:37:51 2012 -0400 Revert "GIOScheduler: Avoid constant iteration over pending job list" This reverts commit 2839297686a9305b4fa909b93c337ef1d1a5e94b. Conflicts: gio/gioscheduler.c https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 1354ef25402e0d340aa52521a5f51b1fb387705c Author: Lars Uebernickel <lars@uebernic.de> Date: Mon Jun 25 18:29:01 2012 +0200 GDbusActionGroup: always set strict when _query_action fails gio/gdbusactiongroup.c | 1 + 1 file changed, 1 insertion(+) commit 4b66dc1ca6657171d7d9b45568b3479653a525f8 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Jun 25 00:01:07 2012 +0200 Updated Galician translations po/gl.po | 367 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 191 insertions(+), 176 deletions(-) commit bea994199379f4e09091b030c46fd922b304d0d2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 20:55:51 2012 -0400 Mark utf8 performance tests as such glib/tests/utf8-performance.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit c5561ff6992bfbf2b92af401bc6f96317514b4a3 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:58:51 2012 -0400 Remove a few redundant ;s gio/gdbusobjectmanagerclient.c | 2 +- gio/gresourcefile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02eed18a4e745b4b4a0f0d5d2892faaecbd2c23d Author: Phil Clayton <phil.clayton@lineone.net> Date: Tue Jun 12 16:09:19 2012 +0100 Add missing annotation to GDBusConnection::closed Add annotation (allow-none) to the parameter error. https://bugzilla.gnome.org/show_bug.cgi?id=677952 gio/gdbusconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90f70099d86dbf6c249137f9fbaead1df8002f6e Author: Emmanuele Bassi <ebassi@gnome.org> Date: Thu May 31 23:48:35 2012 +0100 Update the comment in gmarshal.list The current note makes it look like the marshaller code generation has been deprecated in favour of the libffi-based generic marshaller; this is not the case, so we should probably clarify the point a bit. https://bugzilla.gnome.org/show_bug.cgi?id=677235 gobject/gmarshal.list | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1c6070a6792b78f44df9746ee96116cbbcc4dd40 Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:51:11 2012 -0400 Add a test for G_USER_DIRECTOR_DESKTOP Based on a patch by Marc-Antoine Perennou, https://bugzilla.gnome.org/show_bug.cgi?id=676594 glib/tests/utils.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 53b48dfd3bce21fc6b52128859b01329efa10d52 Author: Christian Persch <chpe@gnome.org> Date: Sun Jun 17 22:51:44 2012 +0200 regex: Fix unicode othercasing The old _pcre_ucp_othercase() function was wrong in returning NOTACHAR (0xffffffff) for characters that aren't changed by upper- and lower-casing. This led to PCRE internally using incorrect (or at least inefficient) character classes when using G_REGEX_CASELESS. E.g. [Z-\x{100}] turned into: [Z\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{39c}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{178}z-\x{101}] instead of the expected and efficient [Z\x{39c}\x{178}z-\x{101}] https://bugzilla.gnome.org/show_bug.cgi?id=678273 glib/pcre/pcre_tables.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 22e9f72a8e23c9469c2891e48e082be664429dac Author: Matthias Clasen <mclasen@redhat.com> Date: Sat Jun 23 17:30:10 2012 -0400 Add a note of caution to the g_slist_delete_link() docs glib/gslist.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 905184b3ef04ea6068bd115111354cebe34d3bbc Author: Sasi Bhushan Boddepalli <sasi@swecha.net> Date: Sat Jun 23 10:16:28 2012 +0530 Updated Telugu Translation po/te.po | 540 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 305 insertions(+), 235 deletions(-) commit 991d07d66a8b111131181a8db15abbb042ee7c6d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 11:10:00 2012 -0400 GIOScheduler: Use a GList, not GSList for jobs In general, code using g_slist_delete_link() is broken, because it potentially requires an O(n) traversal. Just switch to GList in this case. The performance hit here was exacerbated by the fact that we were holding a mutex that needed to be accessed by all threads. https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 2839297686a9305b4fa909b93c337ef1d1a5e94b Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 10:20:20 2012 -0400 GIOScheduler: Avoid constant iteration over pending job list The iteration over the list (while holding a mutex) was a serious performance hit for asynchronous I/O. We can just use g_cancellable_connect(). https://bugzilla.gnome.org/show_bug.cgi?id=678576 gio/gioscheduler.c | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit a8ddd52a45ccf1e9a6aa6b5d873e12eda3a205df Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:44:16 2012 -0400 GRand: Check return value of fopen directly This doesn't fix anything, it should just silence some static analysis tools. glib/grand.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 01d8d43d0b66f349a38075a3ebfd82fc9bed084a Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:37:39 2012 -0400 gspawn: Abort if we can't open /dev/null This really "shouldn't happen", but if we have an assertion here, it will help static analysis tools know we're not hitting undefined state. glib/gspawn.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d622157f055d9fb0ae3686f2b7a4fd1952af258 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 15:33:51 2012 -0400 tests/unix: Ensure buffer is NUL terminated glib/tests/unix.c | 1 + 1 file changed, 1 insertion(+) commit 56411bb67807cb5306f495d41276fe6855cdcee7 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:53 2012 -0400 gsignal: Properly handle NULL nodes gobject/gsignal.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ccd30d6816564db42b2ce13afc6bdf32274206e8 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:12:33 2012 -0400 gresourcefile.c: Remove stray semicolon gio/gresourcefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1ada372e968db4c5ccdc684d21b2a3e53514b85 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:08:05 2012 -0400 gmenu: Remove stray semicolon in g_menu_clear_item() gio/gmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 598c3d233a560c10133b9a8a426ae87288a98584 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:06:34 2012 -0400 tests: Add missing initializer for return value gio/tests/test-pipe-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f626cb3c16e415a78e21c7b1009e0fb9851fa3b4 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:05:39 2012 -0400 tests: Add missing va_end() gio/tests/gapplication.c | 2 ++ 1 file changed, 2 insertions(+) commit eef6f0add83c9a82b7544b519f292a90d9356a74 Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 12:00:04 2012 -0400 gfileutils: Remove extra fclose() This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Jun 14 10:12:46 2011 -0400 Don't leak resources in error cases glib/gfileutils.c | 1 - 1 file changed, 1 deletion(-) commit e756bef2e3b93a09b38a4f793a7b7265584457c8 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Jun 22 13:44:29 2012 +0200 Updated Spanish translation po/es.po | 61 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 29 deletions(-) commit 8ed955ceba9868bff43bdd591a36c12294735ab2 Author: Stef Walter <stefw@gnome.org> Date: Sun May 13 07:44:57 2012 +0200 gresolver: More robust parsing of DNS responses * Handle truncated responses, and invalid names https://bugzilla.gnome.org/show_bug.cgi?id=675966 gio/gresolver.c | 199 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 134 insertions(+), 65 deletions(-) commit 49e50757076b589bd21274221b3f69f7b2b785f3 Author: Matthew Barnes <mbarnes@redhat.com> Date: Thu Jun 21 23:39:14 2012 -0400 Add g_dbus_object_manager_server_is_exported() Returns whether a GDBusObjectSkeleton is exported on a GDBusObjectManagerServer. https://bugzilla.gnome.org/show_bug.cgi?id=678539 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusobjectmanagerserver.c | 34 ++++++++++++++++++++++++++++++++++ gio/gdbusobjectmanagerserver.h | 2 ++ gio/gio.symbols | 1 + 4 files changed, 38 insertions(+) commit aae1633d0f0c75b7d9c2dd7b8c10eb279f70fc0d Author: Colin Walters <walters@verbum.org> Date: Thu Jun 21 18:32:06 2012 -0400 GUnixVolumeMonitor: Make use of new g_list_copy_deep() gio/gunixvolumemonitor.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 2fd6eb7e1cfc878d011ec0b7e58c5e696186516e Author: Jonh Wendell <jwendell@gnome.org> Date: Thu Jun 21 12:23:23 2012 -0300 Adds g_list_copy_deep and g_slist_copy_deep They make a full (deep) copy of a list. In contrast with g_[s]list_copy(), these functions take a function as a argument to make a copy of each list element, in addition to copying the list container itself. The functions g_[s]list_copy() were reimplemented to just call the new functions with NULL as the function argument, which will behave like current implementation. https://bugzilla.gnome.org/show_bug.cgi?id=675024 docs/reference/glib/glib-sections.txt | 2 ++ glib/glib.symbols | 2 ++ glib/glist.c | 48 ++++++++++++++++++++++++++++++++--- glib/glist.h | 7 +++++ glib/gslist.c | 48 ++++++++++++++++++++++++++++++++--- glib/gslist.h | 6 +++++ glib/tests/list.c | 29 +++++++++++++++++++++ 7 files changed, 136 insertions(+), 6 deletions(-) commit e0f4b2b03b877e0360f56836ebfe454aa3a9dca5 Author: Dan Winship <danw@gnome.org> Date: Thu Jun 21 15:13:06 2012 -0400 gio/tests/proxy-test: fix cleanup make sure the proxy threads are in the "waiting for a connection" state when we do the final cleanup, or else there are race conditions involving which thread processes the GCancellable cancellation first. gio/tests/proxy-test.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e9ec1ad0689dfbb1121e1c5fe5b1aedbe2de568f Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Jun 21 06:11:58 2012 -0400 Install bash completion files in /usr/share/ The bash-completion code nowadays expects completion files to be installed in /usr/share/bash-completion/completions, and expects them to be named like the command they are completing for. https://bugzilla.gnome.org/show_bug.cgi?id=677782 gio/Makefile.am | 8 ++-- gio/completion/gdbus | 33 ++++++++++++++++ gio/completion/gresource | 58 +++++++++++++++++++++++++++ gio/completion/gsettings | 84 ++++++++++++++++++++++++++++++++++++++++ gio/gdbus-bash-completion.sh | 33 ---------------- gio/gresource-bash-completion.sh | 58 --------------------------- gio/gsettings-bash-completion.sh | 84 ---------------------------------------- 7 files changed, 179 insertions(+), 179 deletions(-) commit 80b6074aa27815e3c824f1e01ccb2431b03feec4 Author: Dan Winship <danw@gnome.org> Date: Wed Jun 20 10:14:01 2012 -0400 gio/tests/pollable: add can_poll() assertions Assert that socket streams and socket/pipe-based unix streams are pollable, and file-based unix streams are not. https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/tests/pollable.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 7d0db042234165678f5dfafef3dd96d3af97b56c Author: Dan Winship <danw@gnome.org> Date: Mon Jun 18 15:31:47 2012 -0400 gdbus: fix generated code to not warn under -Wfloat-equal https://bugzilla.gnome.org/show_bug.cgi?id=678333 gio/gdbus-2.0/codegen/codegen.py | 11 +++++++++-- gio/tests/gdbus-test-codegen.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) commit 599d1a430e787f7cda929b8b0188a01f39453e66 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed Jun 20 10:19:14 2012 +0800 msvc_recommended_pragmas.h: Re-enable C4819 warnings Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS locales, so re-enable this. Add a note in the Visual C++ Readme.txt's regarding this. build/win32/vs10/README.txt | 7 +++++++ build/win32/vs9/README.txt | 7 +++++++ msvc_recommended_pragmas.h | 3 --- 3 files changed, 14 insertions(+), 3 deletions(-) commit 7cf38c6ad76f5b343614bba9d31f683b7edb0620 Author: Nilamdyuti Goswami <nilamdyuti@gmail.com> Date: Tue Jun 19 18:51:26 2012 +0530 Assamese translation reviewed po/as.po | 1397 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 717 insertions(+), 680 deletions(-) commit 98f201b73b4ba5b5dfd86ebcd524ea8f73855174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 16:35:26 2012 +0800 Bug 678332-gio/gconverterinputstream.c: Fix build Apparently the previous change to this file broke GCC builds, so fix that. gio/gconverterinputstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 875854411a4ea5fdd1d9217d7856858d89090cb9 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Jun 19 12:04:28 2012 +0800 Bug 678332-GIO: Fix build on Windows/non-GCC -gconverterinputstream.c: Avoid GCCism by not using non-standard pointer arithmetic on void*, but do a cast to char * as that seems to be what the variable was used for. -gtestdbus.c: Don't include unistd.h unconditionally, and use g_usleep() instead of usleep(), as usleep() is not universally available. gio/gconverterinputstream.c | 2 +- gio/gtestdbus.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 08a6f8d27f8d6c059f4c074680218f6bc66f8174 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Mon Jun 18 17:09:56 2012 +0800 build/win32/vs9/glib.vsprops: Cosmetics Make it more consistent accross the board by using CopyDir as the output/"install" folder. build/win32/vs9/glib.vsprops | 514 ++++++++++++++++++++++--------------------- 1 file changed, 259 insertions(+), 255 deletions(-) commit b81d7886525ea7d53a0bf7f8e845827eea5cf912 Author: Martin Pitt <martinpitt@gnome.org> Date: Mon Jun 18 07:39:23 2012 +0200 Fix g_utf8_validate() out argument transfer mode The "end" argument is unusual in g_utf8_validate(): it's not a classic out argument which gets allocated by the called function, but merely points into one of its input arguments. Thus it is "transfer none". https://bugzilla.gnome.org/show_bug.cgi?id=672889 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1da843cb48de1ef080c20b1c8ebc9bc88688ce6 Author: Dan Winship <danw@gnome.org> Date: Sat Jun 16 10:38:45 2012 -0400 docs: fix an example docs/reference/gio/gdbus-codegen.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit defa25f3d00619947720be0bcda2357bd43e718f Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 18:53:09 2012 -0400 GKeyFile: Deal better with blank lines There is no need to store a has_trailing_blank_line boolean for each group, we can just check this at the time we assemble the data. This fixes a problem without roundtrips where we would sometimes add an extra blank line between groups. The testcase here is inspired by https://bugzilla.gnome.org/show_bug.cgi?id=677817 glib/gkeyfile.c | 12 +++--------- glib/tests/keyfile.c | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) commit d0c8895a073625ce87bf1604b9ab72cc7e15c616 Author: Matthias Clasen <mclasen@redhat.com> Date: Fri Jun 15 15:16:13 2012 -0400 GWakeup: Avoid extraneous wakeups We were checking the wrong number here, and waking up unnecessarily. https://bugzilla.gnome.org/show_bug.cgi?id=678052 glib/gmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a5b3729ab447dd93ba337fa916067d5af2419dc Author: Paolo Borelli <pborelli@gnome.org> Date: Fri Jun 15 14:41:20 2012 +0200 Improve g_find_program_in_path documentation Document that g_find_program_in_path returns a newly-allocated string glib/gutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3647a3dcaaf0c877d0ea9398bbf5d9846a3cacfb Author: Tom Tryfonidis <tomtryf@gmail.com> Date: Fri Jun 15 13:15:48 2012 +0300 Updated Greek translation po/el.po | 1533 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 733 insertions(+), 800 deletions(-) commit 211d50ac7418cd05d8a7828fca388c127e02308a Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu Jun 14 13:48:29 2012 +0200 Updated Spanish translation po/es.po | 142 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 77 insertions(+), 65 deletions(-) commit a090a3680b093e7473cc5e760bdf3454f8ca9e9e Author: Khaled Hosny <khaledhosny@eglug.org> Date: Wed Jun 13 21:00:44 2012 +0200 Updated Arabic translation po/ar.po | 5639 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2991 insertions(+), 2648 deletions(-) commit ee19ddcb1423814edc76aa03dd3c2252e9f722b4 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Apr 30 12:51:25 2012 -0400 Update to use XDG cache home for thumbnails https://bugzilla.gnome.org/show_bug.cgi?id=675168 gio/glocalfileinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e5d4af10a344eaa5eee72390858ee3cf374f35ad Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Jun 13 14:43:29 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 5ff95679b805f7cc78f0579546700b6d48a35e0d Author: Benjamin Otte <otte@redhat.com> Date: Wed Jun 13 17:33:01 2012 +0200 glib-compile-resources: Forward errors from spawned processes We just grab stderr from gdk-pixbuf-to-csource and xmllint and include it in the error message. It's the best we can do. gio/glib-compile-resources.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 6c1276eb5fcc19921d0a0584aee140bccc3f8488 Author: Stefan Sauer <ensonic@users.sf.net> Date: Tue Jun 12 20:22:39 2012 +0200 gtype: make these cases fatal. Otherwise we crash with a null-ptr deref in g_object_newv and ever there we should not return null, as we're saying that object creation will not return null. gobject/gtype.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 0866e1ede967e513f09bfb47166d76005e0486b2 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:09:53 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 14eb3d3590b5c08626c4901b16e9695747d43188 Author: Dan Winship <danw@gnome.org> Date: Tue Jun 12 07:08:26 2012 -0400 gunixoutputstream: add missing can_poll() implementation https://bugzilla.gnome.org/show_bug.cgi?id=677770 gio/gunixoutputstream.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b9ec5699cd27334fdc605875bb0eeb818de64d4a Author: Murray Cumming <murrayc@murrayc.com> Date: Tue Jun 12 10:35:52 2012 +0200 Remove trailing commas from enums gio/gioenums.h | 2 +- glib/gspawn.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6f1c4f7f056eddcbf884659ff68240c0784003c6 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:24:03 2012 -0400 Correct the docs for g_time_zone_adjust_time March 13, 2010 is very ordinary. March 14, 2010 is the special day. glib/gtimezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f47de7ec2c9f79edbb3e03f3112aa8cd1d286309 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 10:23:42 2012 -0400 Improve GTimeZone test coverage glib/tests/gdatetime.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) commit d4f885478542ad7356b44e2a9965dc1081ea80dc Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:42 2012 -0400 Cosmetic changes tests/gio-test.c | 25 ++++--------------------- tests/iochannel-test.c | 18 +++++++----------- 2 files changed, 11 insertions(+), 32 deletions(-) commit 6ee10762b5194076a7a9db80d41dbb3aa14fe287 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:19:14 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 111 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-) commit c5dabac47a3613e742ebfc0c4dec4f91ab796ae8 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 11 07:18:29 2012 -0400 Fix a typo It is 'entries', not 'entires'. glib/goption.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e706ef88b3b433f777e552c85339b901314deaa Author: David Zeuthen <zeuthen@gmail.com> Date: Fri Jun 8 13:30:48 2012 -0400 GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal This is useful otherwise we'll fail if a systemd service is masked. See bug 677718 for details. https://bugzilla.gnome.org/show_bug.cgi?id=677718 Signed-off-by: David Zeuthen <zeuthen@gmail.com> gio/gdbusproxy.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit ea826d7facabbcd05b8343554acc808275881009 Author: Daniel Macks <dmacks@netspace.org> Date: Wed Jun 6 22:40:26 2012 -0400 Fix path to aclocal in output message datadir is defined in terms of datarootdir by default in configure (datadir='${datarootdir}' with ${datarootdir} not expanded), so defining datadir must happen *after* datarootdir is defined in the glib-gettextize shell script. Otherwise ${datarootdir} is null when it is expanded at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=518309 glib-gettextize.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1d4da14d8e69fb60da1a9733ac1d58d0dcd8b2 Author: Martin Jansa <Martin.Jansa@gmail.com> Date: Wed Jun 6 21:38:28 2012 -0400 configure: Add --disable-libelf option See http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch?id=1f73485a143f0aa6cd87636f3d36a7d1dfc40a3b Signed-off-by: Colin Walters <walters@verbum.org> configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 032e8dabd15133952c7c4f9da05605380b17f79f Author: Tomas Bzatek <tbzatek@redhat.com> Date: Wed Jun 6 19:44:39 2012 +0200 gdbus: Implement g_dbus_connection_get_last_serial() This patch brings an ability to retrieve serial number of the last message sent within the current thread. https://bugzilla.gnome.org/show_bug.cgi?id=676825 docs/reference/gio/gio-sections.txt | 1 + gio/gdbusconnection.c | 49 ++++++++++++++++++++ gio/gdbusconnection.h | 4 ++ gio/gio.symbols | 1 + gio/tests/gdbus-connection.c | 90 +++++++++++++++++++++++++++++++++++++ 5 files changed, 145 insertions(+) commit 7ccfa9ce4b2352277448f66a138cc028f5fe57c8 Author: Colin Walters <walters@verbum.org> Date: Wed Jun 6 07:15:48 2012 -0400 tests/spawn-multithreaded: Decrease parallelism to avoid crashing on OS X https://bugzilla.gnome.org/show_bug.cgi?id=677527 glib/tests/spawn-multithreaded.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3ff037bd147b7d86f23108660a2fe71df5268a6 Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 19:20:13 2012 -0400 Pass -framework sub-flag without embedded whitespace The "-framework" linker flag takes a second word as a parameter. If they are passed separated with whitespace, some flag-handling routines may not know to keep the two words together as a single unit. Use -Wl,, to pass multiple words without embedded whitespace. https://bugzilla.gnome.org/show_bug.cgi?id=566994 configure.ac | 4 ++-- gio/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4690d85607da879e50746db64ea99a273823c25e Author: Daniel Macks <dmacks@netspace.org> Date: Tue Jun 5 14:16:24 2012 -0400 configure: Require libelf 0.8.12 Older versions don't have the required API. (Commit message written by Colin Walters <walters@verbum.org>) https://bugzilla.gnome.org/show_bug.cgi?id=673253 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a8f12e770e9483e2b7bf965711a22fad134444 Author: Martin Pitt <martinpitt@gnome.org> Date: Tue Jun 5 18:50:36 2012 +0200 g_dbus_gvariant_to_gvalue(): Add missing out annotation gio/gdbusutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdf1660e2856a22aeca6b5927b5756119d6526ec Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Jun 4 13:17:47 2012 -0400 GLib 2.33.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8c5bd2bb0047677223849c2d516df8bd37606e4 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 13:18:39 2012 -0400 Updates for 2.33.2 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 3e1b972c933bc4a01e8d05f1bb6c6df1ad816579 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:45 2012 -0400 Improve GResource test coverage gio/tests/resources.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 109 insertions(+), 3 deletions(-) commit c7de2dd0e39bf9ef5641490b25c8a6eb17b7863a Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 06:00:03 2012 -0400 Improve GSocketAddress test coverage gio/tests/unix-fd.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 721366d0883c39ad31027f0f406ffca9485408ed Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:46 2012 -0400 Improve GNetworkMonitor test coverage gio/tests/network-monitor.c | 150 ++++++++++++++++++++++++++++++-------------- 1 file changed, 103 insertions(+), 47 deletions(-) commit 4ad5210b353b685dce0aae9bd7331838f6cc5f92 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Jun 4 05:59:27 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3129bac14c6ac5e991127f8cc51810c28306bbad Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 21:37:32 2012 -0400 Formatting cleanups gio/gvfs.c | 96 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 49 insertions(+), 47 deletions(-) commit eeb5140ad2b318fd5f6a7c02efbd0b33859975c2 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:47 2012 -0400 Improve GMenu test coverage gio/tests/gmenumodel.c | 64 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) commit 0a1079d171439d89cd1c825d20c7d766ab3573b5 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:20 2012 -0400 Improve GApplication test coverage gio/tests/basic-application.c | 1 + gio/tests/gapplication.c | 45 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 2 deletions(-) commit 642e89f35678c687d45c204ad095b58f785d6c91 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:51:05 2012 -0400 Improve GActionGroup test coverage gio/tests/actions.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 11 deletions(-) commit a53a1b65b59577e6332509789a062c6038a085a8 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 19:50:54 2012 -0400 Improve GIcon test coverage gio/tests/g-icon.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 26a1056bde7f6ef97963b1a4b42d3da3027f555f Author: Matthias Clasen <mclasen@redhat.com> Date: Sun Jun 3 16:30:58 2012 -0400 Expand GAppInfo tests gio/tests/appinfo.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 51e6edf08b34120e1bb88a28785f3b5e59e1a2b3 Author: Bruno Brouard <annoa.b@gmail.com> Date: Sun Jun 3 13:36:14 2012 +0200 Updated French translation po/fr.po | 324 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 182 insertions(+), 142 deletions(-) commit ce5bd68e26d0e67c24313076b7f634f1dcac81b9 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 21:56:10 2012 +0200 glib: fix g_reload_user_special_dirs_cache We handle a special case for G_USER_DIRECTORY_DESKTOP when we init the values but drop it when we reload them. Fix this by preferring old values to NULL https://bugzilla.gnome.org/show_bug.cgi?id=676594 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/gutils.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2e31166f6a005d2af724942ec3e8f58cecb3a756 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 15:29:31 2012 +0200 Updated Spanish translation po/es.po | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 4f04247a1964457a7493f23d786486df449b3e08 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Thu May 31 13:19:37 2012 +0200 Updated Spanish translation po/es.po | 207 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 105 deletions(-) commit 69e12cd3d56ae43b188a278b807e517961627ada Author: Dan Winship <danw@gnome.org> Date: Wed May 30 08:30:27 2012 -0400 GConverterInputStream: fix an edge case Reading from a GConverterInputStream with both input_buffer and converted_buffer non-empty would return bogus data (the data from converted_buffer would essentially get skipped over, though the returned nread reflected what the count would be if it hadn't been). This was never noticed before because (a) it can't happen if all of your reads are at least as large as either the internal buffer size or the remaining length of the stream (which covers most real-world use), and (b) it can't happen if all of your reads are 1 byte (which covers most of tests/converter-test). (And (c) it only happens for some converters/input streams.) But this was happening occasionally in libsoup when content-sniffing a gzipped response, because the SoupContentSnifferStream would first read 512 bytes (to sniff), and then pass through larger reads after that. Fixed and added a test to converter-test. https://bugzilla.gnome.org/show_bug.cgi?id=676478 gio/gconverterinputstream.c | 1 + gio/tests/converter-stream.c | 163 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+) commit 0fd9863abe218c002327ea993089476a793a99e6 Author: Christian Persch <chpe@gnome.org> Date: Tue May 29 19:10:57 2012 +0200 build: Add missing AM_V_GEN to silence the build gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4979c1d075e08bcdc7a6569afae2052dac5eea81 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 16:52:28 2012 +0200 application: Add dbus register/unregister hooks When the application is using its D-Bus backend, it is useful to be able to export extra D-Bus objects at the right time, i.e. *before* the application tries to own the bus name. This is accomplished here by adding a hook in GApplicationClass for this; and a corresponding hook that will be called on unregistration to undo whatever the register hook did. Bug #675509. gio/gapplication.c | 36 +++++++++++ gio/gapplication.h | 10 ++- gio/gapplicationimpl-dbus.c | 15 ++++- gio/tests/Makefile.am | 4 ++ gio/tests/gapplication-example-dbushooks.c | 99 ++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 2 deletions(-) commit f642209ef4c7f13f5ff03ca3c315cd237f8f26bb Author: Philip Withnall <philip@tecnocode.co.uk> Date: Sun May 27 22:40:44 2012 +0100 gobject: Document notify signal deduplication with freeze/thaw Expand the documentation for g_object_[freeze|thaw]_notify() to explain that it deduplicates “notify” signals emitted by frozen objects, so that at most one signal is emitted per property. https://bugzilla.gnome.org/show_bug.cgi?id=676937 gobject/gobject.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1637f08ed146bca89049301495a49d8873c2957e Author: Matej Urbančič <mateju@svn.gnome.org> Date: Mon May 28 14:57:02 2012 +0200 Updated Slovenian translation po/sl.po | 313 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 149 deletions(-) commit ae421c9f6ca58ba18494619dc89ed1d2b60948eb Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Apr 27 10:02:54 2012 +0200 Link to gvariant-format-strings-pointers in getter API https://bugzilla.gnome.org/show_bug.cgi?id=674777 glib/gvariant.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 175864b83c076f6b74a822e75990ab3a15ab73bc Author: Colin Walters <walters@verbum.org> Date: Sat May 26 11:53:14 2012 -0400 gappinfo: Fix uninitialized-variable gcc warning gio/gappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 151e37816bea6101523cf7dddab4ea1ce55ec909 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 09:22:06 2012 -0400 Annotate API introduced for 2.34 with GLIB_AVAILABLE_IN_2_34 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gdbusauthobserver.h | 1 + gio/gresolver.h | 3 +++ 2 files changed, 4 insertions(+) commit 1cc7162c9560796829db457f7ea5fdd218a0ae46 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:59:09 2012 -0400 Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32 https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gactiongroup.h | 1 + gio/gactiongroupexporter.h | 2 ++ gio/gactionmap.h | 3 +-- gio/gappinfo.h | 3 +++ gio/gapplication.h | 2 ++ gio/gdbusactiongroup.h | 1 + gio/gdbusinterface.h | 1 + gio/gdrive.h | 1 + gio/gfile.h | 1 + gio/gfileinfo.h | 1 + gio/ginetaddressmask.h | 3 +++ gio/ginetsocketaddress.h | 2 ++ gio/gmenu.h | 2 ++ gio/gmenuexporter.h | 2 ++ gio/gnetworkmonitor.h | 2 ++ gio/gnetworkmonitorbase.h | 2 ++ gio/gremoteactiongroup.h | 3 +++ gio/gresource.h | 17 +++++++++++++++++ gio/gsettings.h | 2 ++ gio/gsettingsschema.h | 7 +++++++ gio/gsimpleasyncresult.h | 1 + gio/gsocket.h | 11 +++++++++++ gio/gsocketconnection.h | 4 ++++ gio/gunixconnection.h | 4 ++++ gio/gunixmounts.h | 1 + gio/gvolume.h | 1 + 26 files changed, 78 insertions(+), 2 deletions(-) commit a9637126465fba06c1fc73cc70eb5f683ad4e4b3 Author: Colin Walters <walters@verbum.org> Date: Fri May 25 08:42:50 2012 -0400 Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30 I didn't do this comprehensively, since there's a lot of it, mainly due to the GDBus object manager stuff, but anyone trying to use that would fail fast due to lack of the gdbus code generator. My main goal was to get API additions to existing classes like g_data_input_stream_read_line_utf8(), as well as the lower level new API like glib-unix.h. https://bugzilla.gnome.org/show_bug.cgi?id=676816 gio/gaction.h | 1 + gio/gdatainputstream.h | 2 ++ gio/gdbusconnection.h | 3 +++ glib/gatomic.h | 4 ++++ glib/gfileutils.h | 3 +++ glib/ghash.h | 1 + glib/ghmac.h | 9 +++++++++ glib/glib-unix.h | 6 ++++++ glib/gunicode.h | 1 + glib/gutils.h | 2 ++ glib/gvariant.h | 2 ++ gobject/glib-types.h | 4 ++++ 12 files changed, 38 insertions(+) commit 9c86e1168cad8ae2c2642ffd487d4f6319e1dc04 Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Sat May 26 10:34:53 2012 +0200 gio: fix symbol name Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> gio/gio.symbols | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 800d6ff1115b27bf0e9cce818a0511048e2f1cc5 Author: Dan Winship <danw@gnome.org> Date: Thu Apr 5 09:19:17 2012 -0400 gio: add GBytes-based input/output stream methods Using a caller-supplied buffer for g_input_stream_read() doesn't translate well to the semantics of many other languages, and using a non-refcounted buffer for read_async() and write_async() makes it impossible to manage the memory correctly currently in garbage-collected languages. Fix both of these issues by adding a new set of methods that work with GBytes objects rather than plain buffers. https://bugzilla.gnome.org/show_bug.cgi?id=671139 docs/reference/gio/gio-sections.txt | 6 ++ gio/ginputstream.c | 174 ++++++++++++++++++++++++++++++++++++ gio/ginputstream.h | 16 ++++ gio/gio.symbols | 6 ++ gio/goutputstream.c | 157 ++++++++++++++++++++++++++++++++ gio/goutputstream.h | 16 ++++ gio/tests/memory-input-stream.c | 26 ++++++ gio/tests/memory-output-stream.c | 27 ++++++ 8 files changed, 428 insertions(+) commit 4b456635e422ea620bfb3feeddac12a7045bd43b Author: Christian Persch <chpe@gnome.org> Date: Thu May 24 17:51:35 2012 +0200 Revert "application: Don't print a critical warning here" This reverts commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee1965b888d070428b88bbcde989e98ce63a5fe4 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:29:44 2012 +0200 application: Save a few bytes in the library There's really no need to put useless whitespace into the .so. gio/gapplicationimpl-dbus.c | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) commit 1541478bac6fed26bcb77ebae5e50bb7a76954f7 Author: Christian Persch <chpe@gnome.org> Date: Sat May 5 17:26:34 2012 +0200 application: Don't print a critical warning here It's a runtime error, not a programming error. gio/gapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9217309a5cd1eb59c7881939cdb58bd48e27097e Author: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> Date: Tue May 22 20:38:52 2012 +0200 glib: fix build Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> glib/genviron.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 481191f118a8f8e6505917a985e531137796d8ac Author: Christian Persch <chpe@gnome.org> Date: Sun May 20 00:01:35 2012 +0200 gspawn: Add GSpawnFlag to use the PATH from envp Add a G_SPAWN_SEARCH_PATH_FROM_ENVP flag to GSpawnFlags so that g_spawn_async() etc use the PATH variable from the passed-in child environment to search for the executable. If both this flag and the G_SPAWN_SEARCH_PATH flag are set, the child environment is searched first and only falls back to the PATH from the process environment if it is unset. Bug #676398. glib/gspawn.c | 48 ++++++++++++++++++++++++++++++++++++------------ glib/gspawn.h | 6 +++++- 2 files changed, 41 insertions(+), 13 deletions(-) commit 6969b63827a302604a0566c8889feed33a25d842 Author: Christian Persch <chpe@gnome.org> Date: Sat May 19 23:59:01 2012 +0200 environ: Allow NULL envp https://bugzilla.gnome.org/show_bug.cgi?id=676397 glib/genviron.c | 31 ++++++++++++++++++++----------- glib/tests/environment.c | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 11 deletions(-) commit 44d4990442532dd067ca670a3a4b18109ee6b02c Author: Colin Walters <walters@verbum.org> Date: Fri May 18 10:39:05 2012 -0400 GMemoryOutputStream: Add API to return data as a GBytes Matches the corresponding additions to GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 1 + gio/gmemoryoutputstream.c | 28 ++++++++++++++++++++++++++++ gio/gmemoryoutputstream.h | 3 +++ gio/tests/memory-output-stream.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+) commit 1bedf248794fe5cf9dad5e40c18329e79f9d855e Author: Colin Walters <walters@verbum.org> Date: Thu May 17 14:36:15 2012 -0400 GMemoryInputStream: Add API to accept GBytes And s/Chunk/GBytes/ internally. GBytes is really a perfect match for GMemoryInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=672102 gio/gio.symbols | 2 + gio/gmemoryinputstream.c | 107 ++++++++++++++++++++++++++++++----------------- gio/gmemoryinputstream.h | 6 +++ 3 files changed, 76 insertions(+), 39 deletions(-) commit 6e32f0a6018ab26b2a14c184752913d6f2ecad40 Author: Debarshi Ray <debarshir@gnome.org> Date: Thu May 17 06:43:54 2012 +0200 gio: The tmpl parameter to g_file_new_tmp can be NULL Fixes: https://bugzilla.gnome.org/676208 gio/gfile.c | 1 - 1 file changed, 1 deletion(-) commit 7cadf4f15f952457b5a5440d24d1a93e0a99cdde Author: Dan Winship <danw@gnome.org> Date: Wed Mar 21 09:22:38 2012 -0400 g_utf8_validate: @str shouldn't end up annotated as utf8 In order for this function to have any point, it has to be possible to pass non-UTF-8 data to it, so annotate @str as being array-of-guint8 instead of utf8. https://bugzilla.gnome.org/show_bug.cgi?id=672548 glib/gutf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8df2b96a6910aa557a6db2b1b5e618f3ace70f11 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 12:18:23 2012 -0400 proxy-test: work even when the upstream DNS lies Rather than depending on the host's DNS configuration to properly return an error for a non-existent hostname, just substitute in a dummy GResolver implementation that does it for us. gio/tests/proxy-test.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit 555cd1923fae52a145d527904f4efc0fc6298585 Author: Dan Winship <danw@gnome.org> Date: Fri May 18 08:49:05 2012 -0400 g_app_info_launch_default_for_uri: don't use GFile if we don't have to GFile doesn't handle some "real" URIs, so check if there's a default handler for the URI scheme first, and only use g_file_new_for_uri() and g_file_query_default_handler() if not. Eg, this fixes the case of opening http URIs with "%2F" in the path. https://bugzilla.gnome.org/show_bug.cgi?id=666386 gio/gappinfo.c | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) commit 0e6d9df35c948d5e65eae0edb6652a9cce88f557 Author: Holger Berndt <hb@gnome.org> Date: Thu May 17 22:24:10 2012 +0200 Document that g_app_info_create_from_commandline() does unquoting according to fd.o https://bugzilla.gnome.org/show_bug.cgi?id=676277 gio/gdesktopappinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 17e95c59c9f7b1cd023aabb3645c70b9f1f37577 Author: Dan Winship <danw@gnome.org> Date: Thu May 17 13:48:21 2012 -0400 gnetworkmonitornetlink: don't leak the list of networks https://bugzilla.gnome.org/show_bug.cgi?id=676265 gio/gnetworkmonitornetlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ecbb0a4045877936d872fb8aaedd49baa4d89ef Author: Dan Winship <danw@gnome.org> Date: Thu May 10 13:29:39 2012 -0400 g_clear_pointer: work around gcc helpfulness gcc gets upset when we do "((GDestroyNotify) destroy) (_p)" because it's non-portable. But we don't care; we already know glib wouldn't work on any platform where different pointer types have different calling conventions. So tweak the code to avoid the warning. https://bugzilla.gnome.org/show_bug.cgi?id=674634 glib/gmem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 787f8087836804c903f8271699e576544426e023 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:44:36 2012 -0400 gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 gio/gsettings-bash-completion.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 431d3adacdd640141f83a6c3496760adc6aba5eb Author: Matthias Clasen <mclasen@redhat.com> Date: Thu May 17 00:41:33 2012 -0400 Improve libelf configure check system libelf is not sufficient for glib (lacks elf_getshdrstrndx and elf_getshdrnum) so let's make sure we don't define HAVE_LIBELF configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aded15c9d10dbf3ec218e25793e3467240585511 Author: Ravi Sankar Guntur <ravi.g@samsung.com> Date: Mon Mar 19 21:17:32 2012 +0530 glib: fix memory leaks in gutils, protocol, and strfuncs tests https://bugzilla.gnome.org/show_bug.cgi?id=672329 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com> glib/gutils.c | 26 ++++++++++++++++++++------ glib/tests/protocol.c | 6 +++++- glib/tests/strfuncs.c | 42 +++++++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 16 deletions(-) commit 447a25ea50af2349d313c10c46b61104ce4c0391 Author: Dan Winship <danw@gnome.org> Date: Wed May 16 12:00:44 2012 -0400 update .gitignore gio/tests/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 0417ddab6fbd2f1cddbb9218e0e300e04da2eda5 Author: Giovanni Campagna <gcampagna@src.gnome.org> Date: Sat Apr 14 19:34:00 2012 +0200 GAppInfo: add a mechanism to query supported content types This essentially adds an accessor for the MimeType field in desktop files, to retrieve the list of all mime types supported by an application. The interface though is part of GAppInfo, so it could be implemented in the future by other backends. https://bugzilla.gnome.org/show_bug.cgi?id=674111 docs/reference/gio/gio-sections.txt | 1 + gio/gappinfo.c | 31 +++++++++++++++++++++++++++++++ gio/gappinfo.h | 4 ++++ gio/gdesktopappinfo.c | 13 +++++++++++++ gio/gio.symbols | 1 + gio/tests/appinfo-test.desktop | 1 + gio/tests/appinfo.c | 16 ++++++++++++++++ 7 files changed, 67 insertions(+) commit e011d2c92162d25a6e6d5f67d462edfeb4af3d7a Author: Dan Winship <danw@gnome.org> Date: Sun Jan 3 14:47:56 2010 -0500 Add g_type_ensure() and use it rather than playing games with volatile https://bugzilla.gnome.org/show_bug.cgi?id=605976 docs/reference/gobject/gobject-sections.txt | 1 + gio/gicon.c | 10 +++---- gio/ginetaddress.c | 4 +-- gio/giomodule.c | 38 ++++++++++++------------- gio/gresolver.c | 5 +--- gio/gsocket.c | 4 +-- gio/gsocketconnection.c | 6 ++-- gio/gsocketcontrolmessage.c | 8 ++---- gio/gunixconnection.c | 5 +--- gobject/gobject.symbols | 1 + gobject/gtype.c | 43 +++++++++++++++++++++++++---- gobject/gtype.h | 2 ++ 12 files changed, 72 insertions(+), 55 deletions(-) commit 2a4235d0f3fe3b3fb007385ee59082c0987158ce Author: Paolo Borelli <pborelli@gnome.org> Date: Tue May 15 17:38:44 2012 +0200 gfile: add g_return_if_fail to g_file_make_directory_with_parents() gio/gfile.c | 2 ++ 1 file changed, 2 insertions(+) commit 5a57144d5749efaf3b5e752db9b041597d4b062f Author: Colin Walters <walters@verbum.org> Date: Fri May 4 10:03:12 2012 -0400 gfile: Plug memory leak in g_file_make_directory_with_parents() The logic here is pretty twisted, but basically we were leaking a ref for each non-existent parent. The clearest way to fix this was to move to more explicit refcounting logic; when a variable is pointing to an object, it holds a ref. https://bugzilla.gnome.org/show_bug.cgi?id=675446 gio/gfile.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit d5d3c7b3a4830a12e155e949345cfc9109236786 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon May 14 16:18:26 2012 -0400 Cover some malloc corner cases in tests glib/tests/utils.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 215844b3a64fae95b24e464fe87ab6c3b5cd8daa Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 01:52:37 2012 -0400 Add a test for g_clear_pointer glib/tests/utils.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit e153c8c58b7643d8d823b7a199c3efb19fea3985 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Sun May 13 19:22:24 2012 +0900 [l10n] Update Japanese translation po/ja.po | 637 ++++++++++++++++----------------------------------------------- 1 file changed, 155 insertions(+), 482 deletions(-) commit e3eb137bbb2ebeede6156424e3e0a1aeb8973614 Author: Matthias Clasen <mclasen@redhat.com> Date: Sun May 13 00:46:39 2012 -0400 Use non-deprecated api in tests https://bugzilla.gnome.org/show_bug.cgi?id=660851 glib/tests/rec-mutex.c | 4 ++-- glib/tests/rwlock.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 77695437b319c8e1a918c8b3ab892ba8a63fbf63 Author: Jasper St. Pierre <jstpierre@mecheye.net> Date: Wed May 2 12:53:27 2012 -0400 gkeyfile: Fix annotations for g_key_file_load_from_data https://bugzilla.gnome.org/show_bug.cgi?id=675309 glib/gkeyfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebc3b928a39e8895719a5795a14e13c2cdf3c8bd Author: Lars Uebernickel <lars@uebernic.de> Date: Thu May 10 09:35:03 2012 -0700 docs: reference g_menu_item_new in gmenu convenience menuitem API gio/gmenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 748f44b12f25717a45477a6e2e74bf6abc7951ba Author: Christian Kirbach <Christian.Kirbach@googlemail.com> Date: Tue May 8 19:16:14 2012 +0200 [l10n] Updated German translation po/de.po | 177 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 82 deletions(-) commit 1b29ea3663501a407b82d83792d47d0941df13b2 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Tue May 8 16:49:53 2012 +0200 Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default glib/gversionmacros.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 744f36bb0685e35aac5fcfcf37cb1e1c9c45786e Author: Emmanuele Bassi <ebassi@linux.intel.com> Date: Tue May 8 15:12:42 2012 +0100 version macros: Make MIN_REQUIRED the current stable version So that deprecation warnings will come into effect starting from the stable release, instead of the next. glib/gversionmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb63c73bbe213f5c1ac7ecafdf298c3cb8de23c3 Author: Jiro Matsuzawa <jmatsuzawa@gnome.org> Date: Tue May 8 20:24:53 2012 +0900 [l10n] Update Japanese translation po/ja.po | 6155 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3275 insertions(+), 2880 deletions(-) commit a365684bf086742763b098feddaf5525bc9581c0 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Mon May 7 10:33:44 2012 +0200 configure.ac: more AS_IF It looks like JH_CHECK_XML_CATALOG has some prerequisite as well Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 54e31ab4f172bbb28434eafc34c9345a93c9ccf5 Author: Colin Walters <walters@verbum.org> Date: Thu May 3 15:18:11 2012 -0400 configure: Use AS_IF almost everywhere Not doing so is an evil trap, sadly. This patch has been compile-checked on Fedora 16, and I've verified that the generated config.status and config.h is exactly the same. https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 246 ++++++++++++++++++++++++++++------------------------------- 1 file changed, 118 insertions(+), 128 deletions(-) commit e30823d93ff643c82d4037c2cf0f509e347f49de Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Thu May 3 08:44:12 2012 +0200 configure.ac: use AS_IF This way any prerequisites for e.g. AC_CHECK_HEADER are always executed before the 'if'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7ba899701566c5941ba93bcd31e0b7ae70a7e69d Author: Yuri Kozlov <yuray@komyakino.ru> Date: Sun May 6 11:35:01 2012 +0400 Updated Russian translation po/ru.po | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit ed1f10bc1c149ac6c317b80b3ba46fda6b545a4e Author: Krzesimir Nowak <qdlacz@gmail.com> Date: Thu May 3 15:00:14 2012 +0200 docs: Fix typo in G_DEFINE_DYNAMIC_TYPE_EXTENDED example. gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa38ae9fb8eed894dcd37baa154967aae7f6c45 Author: Marek Černocký <marek@manet.cz> Date: Fri May 4 09:30:06 2012 +0200 Updated Czech translation po/cs.po | 223 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 140 insertions(+), 83 deletions(-) commit 486d563049a789b0a2f45f1b5564eaf66294f083 Author: Christian Persch <chpe@gnome.org> Date: Wed May 2 20:14:52 2012 +0200 application: Clarification about 'primary instance' For non-unique applications, the 'primary instance' is the current instance. gio/gapplication.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f7b61c72b4f2fef3ab21b51b9660973452d22f8d Author: Dimitris Spingos <dmtrs32@gmail.com> Date: Wed May 2 12:00:03 2012 +0300 Updated Greek translation po/el.po | 6433 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3408 insertions(+), 3025 deletions(-) commit 874355de53e7ea7009860c0b67094d919a5daa6f Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Wed May 2 11:10:23 2012 +0800 Fix GIO/GObject Visual C++ projects -Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL builds, omitting this caused problems to surface due to recent works to make GDBus work on Windows. -Also use the FFI_BULIDING macro for GObject builds as the suggessted workaround for using static LibFFI builds (as we do now)-please see ffi.h(.in). This will fix the build of GObject against LibFFI 3.0.11, but it is probable that this will change at some point for LibFFI. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 83f04afa0b8b66d200ccdc17ac6f5cd0e17b1c15 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 12:57:00 2012 -0400 GLib 2.33.1 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 774074f99bcc6237290e5252faf24581d7fe9932 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:48:52 2012 -0700 slice-color test: don't use non-existent macro G_GUINT64_MODIFIER doesn't exist, but G_GINT64_MODIFIER does (and will be the same as is needed for unsigned). tests/slice-color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b31d872081a70817dc036043fef05cd950c4e86f Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 13:23:09 2012 -0700 tests: temporarily disable GDBus async proxy test It has never worked properly and, with the new GDBus testing stuff, it's occasionally failing. https://bugzilla.gnome.org/show_bug.cgi?id=672248 gio/tests/gdbus-proxy.c | 2 ++ 1 file changed, 2 insertions(+) commit 56ca8add1088385a874fdb371a6d490926109710 Author: Ryan Lortie <desrt@desrt.ca> Date: Tue May 1 15:40:15 2012 -0400 contenttype test: don't pass -1 as length g_content_type_guess() takes a gsize, not a gssize, and -1 does not mean "I am passing a NULL terminated string". gio/tests/contenttype.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8db824e00b69302dafed9ceddd6f34abf5202516 Author: Michael Biebl <biebl@debian.org> Date: Tue May 1 18:42:12 2012 +0200 configure: Reset LIBS after ELF check If action-if-found is not specified, AC_CHECK_LIB will append the library to LIBS. As we don't want to link everything against libelf, reset LIBS after doing the checks. configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit eb5381b8622eda26b6bd86dbac39bd9ed86bf730 Author: Ryan Lortie <desrt@desrt.ca> Date: Mon Apr 30 12:20:54 2012 -0400 GApplication: add accessor for DBus information Provide public access to the GDBusConnect and object path that GApplication is using. Prevents others from having to guess these things for themselves based on the application ID. https://bugzilla.gnome.org/show_bug.cgi?id=671249 docs/reference/gio/gio-sections.txt | 3 ++ gio/gapplication.c | 65 ++++++++++++++++++++++++++++++++++++- gio/gapplication.h | 5 +++ gio/gapplicationimpl-dbus.c | 11 +++++++ gio/gapplicationimpl.h | 6 ++++ gio/gio.symbols | 2 ++ 6 files changed, 91 insertions(+), 1 deletion(-) commit 16f92a33aca1161aab3669f39b32f5c8f09fb433 Author: Ryan Lortie <desrt@desrt.ca> Date: Sat Mar 3 11:31:05 2012 -0500 GApplication: allow null application_id GApplication application ID is now permitted to be NULL, in which case G_APPLICATION_NON_UNIQUE will be implicitly enabled. https://bugzilla.gnome.org/show_bug.cgi?id=671249 gio/gapplication.c | 57 +++++++++++++++++++++++++++------------------ gio/gapplicationimpl-dbus.c | 6 +++++ gio/gioenums.h | 9 +++---- 3 files changed, 45 insertions(+), 27 deletions(-) commit d959ace72cd07bebe0d87d483613b3285bb3c4f4 Author: Bruno Brouard <annoa.b@gmail.com> Date: Mon Apr 30 21:54:22 2012 +0200 Updated French translation po/fr.po | 171 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 93 insertions(+), 78 deletions(-) commit cbf06d8fa94672496d170c65ed9c328816e7eee0 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 30 17:02:06 2012 +0200 g_clear_pointer: use the same static checks than g_clear_object in glib-2-32 glib/gmem.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 19ac408650ffbbff55fa01fe0968242abb7eacc3 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Mon Apr 30 16:14:24 2012 +0200 Updated Galician translations po/gl.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit cf4582fb81108b879f5d017a7b25f26ec2328b6a Author: Luca Ferretti <lferrett@gnome.org> Date: Mon Apr 30 15:41:08 2012 +0200 l10n: Updated Italian translation po/it.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 169 insertions(+), 150 deletions(-) commit 7d4d0668b37476a1dc0f088574e7292fdac7c17c Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:54:05 2012 -0400 Update gio/tests/.gitignore gio/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit c37273dccb183c98ee45f164117f515e4efbff06 Author: Dan Winship <danw@gnome.org> Date: Mon Apr 30 06:31:20 2012 -0400 fix warnings gio/gdbusdaemon.c | 1 - gio/gtestdbus.c | 2 +- gio/tests/buffered-input-stream.c | 2 +- glib/goption.c | 1 - tests/gobject/defaultiface.c | 3 +-- tests/gobject/dynamictype.c | 3 +-- tests/gobject/ifaceinit.c | 2 ++ tests/slice-color.c | 7 ++++--- tests/slice-test.c | 2 +- tests/threadpool-test.c | 16 +++++++++++----- 10 files changed, 22 insertions(+), 17 deletions(-) commit c5285b3abafe2d28f99e0dd0981deee49fa401f1 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Mon Apr 30 10:16:16 2012 +0200 Updated Norwegian bokmål translation po/nb.po | 143 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 98 insertions(+), 45 deletions(-) commit a7bde137c3b66ca1857332fd3a702e80d457731d Author: Jonh Wendell <jwendell@gnome.org> Date: Sat Apr 28 10:11:25 2012 -0300 Updated Brazilian Portuguese translation po/pt_BR.po | 375 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 197 insertions(+), 178 deletions(-) commit fd3ec4df87ce05f364799b7eb8b0219420d755c4 Author: Dan Winship <danw@gnome.org> Date: Fri Apr 27 09:27:38 2012 -0400 Fix several recently-introduced bugs in g_output_stream_write_async() g_output_stream_write_async() was not initializing the newly-added members of the WriteData structure, causing various problems. Also, g_input_stream_read_async() was now leaking its cancellable. Fix that as well. https://bugzilla.gnome.org/show_bug.cgi?id=674612 gio/ginputstream.c | 12 ++++++++++-- gio/goutputstream.c | 15 +++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) commit 00285b7517a63a243a5b61b738de5eea957ae767 Author: Xavier Claessens <xavier.claessens@collabora.co.uk> Date: Mon Apr 23 17:57:56 2012 +0200 Add g_clear_pointer() Also reimplement g_clear_object() using g_clear_pointer() https://bugzilla.gnome.org/show_bug.cgi?id=674634 docs/reference/glib/glib-sections.txt | 1 + glib/glib.symbols | 1 + glib/gmem.c | 39 +++++++++++++++++++++++++++++++++++ glib/gmem.h | 18 ++++++++++++++++ gobject/gobject.c | 13 +----------- gobject/gobject.h | 14 +------------ 6 files changed, 61 insertions(+), 25 deletions(-) commit 3f816dc5d14ce64f89c5e8b16ac7d8c1f3542b0d Author: Debarshi Ray <debarshir@gnome.org> Date: Mon Apr 16 23:00:01 2012 +0200 GAppInfo: overwrite the DISPLAY only if it is set in the launch context If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed306565c0652050665eafff4dfcdf0d8b Fixes: https://bugzilla.gnome.org/672786 gio/gdesktopappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6219767f61fe7b402c9db8fbdaf57ab8ffb25681 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Thu Apr 26 15:29:12 2012 +0300 Updated Hebrew translation. po/he.po | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 79724bf80c414a06f3caf1f2ff614bb3c44a8ba3 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 26 10:05:41 2012 +0200 Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir gio/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 063ec9a75d6f70b45a8e51653608a6e40f948b3c Author: Colin Walters <walters@verbum.org> Date: Wed Apr 25 14:47:01 2012 -0400 build: Fix 'make dist' regression Commit f084b603771f78126bc0b07229a1574b76e776bb incorrectly set DIST_SUBDIRS for the toplevel Makefile.am. In general actually we don't need to set it, because modern automake automatically sets it by looking at conditionals for SUBDIRS. Tested-by: Rico Tzschichholz <ricotz@t-online.de> https://bugzilla.gnome.org/show_bug.cgi?id=667806 gio/Makefile.am | 3 --- glib/Makefile.am | 6 +----- gobject/Makefile.am | 3 --- 3 files changed, 1 insertion(+), 11 deletions(-) commit 87cc77a1985efa18bcd8fc3318c90d8557ae9129 Author: Dan Winship <danw@gnome.org> Date: Wed Apr 25 10:44:55 2012 -0400 gsocket: test if family is <= 0, not < 0 If all members of GSocketFamily are supported on the platform, then all of its values will be positive, and so the enum might become unsigned, in which case testing for "family < 0" might cause warnings. But we want to return an error if family == 0 (aka G_SOCKET_FAMILY_INVALID) anyway, so just tweak the test accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=674592 gio/gsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56bcba11dd2d2b679efeebcf78f0f5736ba311e1 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Wed Apr 25 09:46:35 2012 +0200 make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment When cross-compiling with gcc >= 4.5 AC_CHECK_ALIGNOF fails to detect the correct alignment. Without a previous AC_CHECK_TYPE for the same type, the alignment is silently set to '0'. This makes sure that configure fails and reports the problem. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> https://bugzilla.gnome.org/show_bug.cgi?id=674483 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit b053f990c91eff334aec8db9519846a041a98999 Author: Dieter Verfaillie <dieterv@optionexplicit.be> Date: Tue Apr 24 16:39:21 2012 +0200 win32: More srcdir != builddir fixing gio/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62905cda0b42163bbd582278260f659f94e4d2bf Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:53:49 2012 +0200 win32: Fix build with srcdir != builddir Missed this part in the last commit gio/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88bfc9b289e2b40bd7bff94dcdb06eb0b7b53f67 Author: Alexander Larsson <alexl@redhat.com> Date: Tue Apr 24 14:03:38 2012 +0200 win32: Fix build of gdbus-daemon-generated.[ch] gdbus-daemon-generated.[ch] failed to build because it depended on gdbus-2.0/codegen/gdbus-codegen which was build during the SUBDIRS part of the build, however SUBDIRS are done *after* processing BUILT_SOURCES, and these files are in BUILT_SOURCES. The fix is simple, instead of running the gdbus-codegen code we run the gdbus-codegen.in code, which works fine for uninstalled execution. I also removed Makefile from the dependencies to avoid rebuilding the file in tarballs, as Makefiles are written at configure time. We should be able to ship the prebuilt files in the tarballs. When running uninstalled gio/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c0756ea0e118deece4b797d15c2462db48191ed Author: Alexander Shopov <ash@kambanaria.org> Date: Tue Apr 24 07:28:43 2012 +0300 Updated Bulgarian translation po/bg.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 02be039a6cc41bc0e65a336ad76b4c5b14e00e22 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Tue Apr 24 00:29:07 2012 +0200 Updated Galician translations po/gl.po | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 810a296d4244f061f037445f39b8900fb67ba3e8 Author: Chun-wei Fan <fanchunwei@src.gnome.org> Date: Tue Apr 24 00:03:33 2012 +0800 Visual C++ projects: Clean/fix up Clean/fix up the Preprocessor Definitions for the various projects, where we purge out the unneeded macros and add _DEBUG to the Debug builds of various projects that somehow lacked this. This will also fix the GIO build under Visual C++ 2008, as the _DEBUG macro in the release builds will cause a debug entry to appear in its manifest file during the build, which will cause GIO-using applications to fail to run on systems not running Visual C++/Studio 2008 due to its embedding of a badly-generated manifest file. build/win32/vs10/gio.vcxprojin | 8 ++++---- build/win32/vs10/glib-genmarshal.vcxproj | 8 ++++---- build/win32/vs10/glib.vcxprojin | 16 ++++++++-------- build/win32/vs10/gmodule.vcxproj | 8 ++++---- build/win32/vs10/gobject.vcxprojin | 8 ++++---- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 4 ++-- build/win32/vs10/gspawn-win32-helper.vcxproj | 4 ++-- build/win32/vs10/gthread.vcxproj | 8 ++++---- build/win32/vs9/gio.vcprojin | 8 ++++---- build/win32/vs9/glib-genmarshal.vcproj | 8 ++++---- build/win32/vs9/glib.vcprojin | 16 ++++++++-------- build/win32/vs9/gmodule.vcproj | 8 ++++---- build/win32/vs9/gobject.vcprojin | 8 ++++---- build/win32/vs9/gspawn-win32-helper-console.vcproj | 4 ++-- build/win32/vs9/gspawn-win32-helper.vcproj | 4 ++-- build/win32/vs9/gthread.vcproj | 8 ++++---- 16 files changed, 64 insertions(+), 64 deletions(-) commit 58f0173149d5be9a7fc0810e4bcf7a2fafde1a7f Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:29 2012 -0400 Add tests for signal convenience api gobject/tests/signals.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit e62102dbc5bd9f6fe905775fc19aea894ef7f8d4 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:19:06 2012 -0400 Add tests for toggle reference and qdata gobject/tests/reference.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) commit 8b618eb7f1eec1632c164053097f3e41150782ce Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:17:40 2012 -0400 Improve test coverage in gobject/tests This is just making sure that we execute property getters/setters. gobject/tests/dynamictests.c | 3 +++ gobject/tests/properties.c | 9 +++++++++ 2 files changed, 12 insertions(+) commit 87832242023e593751b20f6fa90235b32cfe5d4c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:50 2012 -0400 Add some directory getter tests glib/tests/utils.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) commit 1089a0a9f6987b7b1aa8f3f9e4def1b92cdfd11c Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 08:16:23 2012 -0400 Improve GOptionContext test coverage glib/tests/option-context.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 6214977260f22b41f0e2e407c7fa2a5a3bed5084 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Mon Apr 23 11:40:33 2012 +0200 Updated Spanish translation po/es.po | 141 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 74 insertions(+), 67 deletions(-) commit a44e80198340d7169197fe7627868383dc4df06c Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 02:08:41 2012 +0200 Make GDataOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gdataoutputstream.c | 108 ++++++++++++++++++++++- gio/tests/data-output-stream.c | 194 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 299 insertions(+), 3 deletions(-) commit 43895e3089ec1ac7af2f77530fe91678b58a3501 Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Thu Mar 29 01:50:41 2012 +0200 Make GBufferedOutputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedoutputstream.c | 132 ++++++++++++++++++++++++- gio/tests/buffered-output-stream.c | 195 +++++++++++++++++++++++++++++++++++++ 2 files changed, 324 insertions(+), 3 deletions(-) commit 90739baec071f4bba19558a3e08a9f330f78070e Author: Maciej Piechotka <uzytkownik2@gmail.com> Date: Wed Mar 28 14:12:44 2012 +0200 Make GBufferedInputStream implement GSeekable https://bugzilla.gnome.org/show_bug.cgi?id=673034 gio/gbufferedinputstream.c | 138 ++++++++++++++++++++++++++++++++++++-- gio/tests/buffered-input-stream.c | 86 ++++++++++++++++++++++++ 2 files changed, 220 insertions(+), 4 deletions(-) commit 86abe5163fb2fe08ae886b2decc18ba9318b974c Author: Yuri Kozlov <yuray@komyakino.ru> Date: Mon Apr 23 12:12:27 2012 +0400 Updated Russian translation po/ru.po | 1480 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 779 insertions(+), 701 deletions(-) commit a151c97106948c6bd21b0e2a71b7c18b1f106ce9 Author: Matthias Clasen <mclasen@redhat.com> Date: Mon Apr 23 00:35:37 2012 -0400 Make the child source test work On my machine, this test was failing, because the timeout source for quitting the inner mainloop was triggering repeatedly. Avoid that by explicitly returning G_SOURCE_REMOVE from the callback. glib/tests/mainloop.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit d18a9caf0310c2c6f98e04e15c7a8ca8280846e1 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 02:45:08 2012 +0100 docs: Use latest docbook dtd: 4.5 .../gdbus-object-manager-example-docs.xml | 4 ++-- docs/reference/gio/migrating-gdbus.xml | 4 ++-- docs/reference/glib/building.xml | 4 ++-- docs/reference/glib/changes.xml | 4 ++-- docs/reference/glib/compiling.xml | 4 ++-- docs/reference/glib/cross.xml | 4 ++-- docs/reference/glib/regex-syntax.xml | 4 ++-- docs/reference/glib/resources.xml | 4 ++-- docs/reference/glib/running.xml | 4 ++-- docs/reference/gobject/tut_gobject.xml | 4 ++-- docs/reference/gobject/tut_gsignal.xml | 4 ++-- docs/reference/gobject/tut_gtype.xml | 4 ++-- docs/reference/gobject/tut_howto.xml | 4 ++-- docs/reference/gobject/tut_intro.xml | 4 ++-- docs/reference/gobject/tut_tools.xml | 4 ++-- 15 files changed, 30 insertions(+), 30 deletions(-) commit ee44211f1a44e58bb7c3d93aed6eeee4863d5263 Author: Javier Jardón <jjardon@gnome.org> Date: Sun Apr 22 21:56:07 2012 +0100 docs: rename *-docs.sgml to *-docs.xml We are using xml docbook nowadays docs/reference/gio/gio-docs.xml | 4 +- docs/reference/glib/Makefile.am | 18 +- docs/reference/glib/building.sgml | 538 ------- docs/reference/glib/building.xml | 538 +++++++ docs/reference/glib/changes.sgml | 174 -- docs/reference/glib/changes.xml | 174 ++ docs/reference/glib/compiling.sgml | 121 -- docs/reference/glib/compiling.xml | 121 ++ docs/reference/glib/cross.sgml | 208 --- docs/reference/glib/cross.xml | 208 +++ docs/reference/glib/glib-docs.sgml | 221 --- docs/reference/glib/glib-docs.xml | 221 +++ docs/reference/glib/regex-syntax.sgml | 2531 ------------------------------ docs/reference/glib/regex-syntax.xml | 2531 ++++++++++++++++++++++++++++++ docs/reference/glib/resources.sgml | 115 -- docs/reference/glib/resources.xml | 115 ++ docs/reference/glib/running.sgml | 380 ----- docs/reference/glib/running.xml | 380 +++++ docs/reference/gobject/Makefile.am | 2 +- docs/reference/gobject/gobject-docs.sgml | 170 -- docs/reference/gobject/gobject-docs.xml | 170 ++ 21 files changed, 4470 insertions(+), 4470 deletions(-) commit 3ea31fc0f1d81affaf655f550899fa16cb59201a Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:36:49 2012 +0100 docs: Add index to new api added in 2.34 docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.sgml | 4 ++++ docs/reference/gobject/gobject-docs.sgml | 4 ++++ 3 files changed, 12 insertions(+) commit 14a7781873317e24b55984173e2bedf6eaaf0917 Author: Javier Jardón <jjardon@gnome.org> Date: Mon Apr 23 01:15:26 2012 +0100 docs: Fix "Since" markup glib/gdatetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a37bc0dc6cc013d01836b45c2eea6b1bd6d80e5 Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:18:50 2012 -0400 gio: add a proxy test program Test GProxy, GProxyResolver, GProxyAddress, and GProxyAddressEnumerator, plus GSocketClient's proxy-resolving codepaths. gio/tests/Makefile.am | 4 + gio/tests/proxy-test.c | 1077 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1081 insertions(+) commit bcaa0a3820dae0ce10fc8329b10b7c963447e6d3 Author: Dan Winship <danw@gnome.org> Date: Sat Apr 21 00:25:53 2012 -0400 gio: Add more information to GProxyAddress Add two new methods to GProxyAddress for recovering information about the destination URI that the proxy was created for (and modify GProxyAddressEnumerator to set that information when creating the GProxyAddress). docs/reference/gio/gio-sections.txt | 2 + gio/gio.symbols | 2 + gio/gproxyaddress.c | 116 +++++++++++++++++++++++++++++++++--- gio/gproxyaddress.h | 5 ++ gio/gproxyaddressenumerator.c | 54 ++++++++++------- 5 files changed, 152 insertions(+), 27 deletions(-) commit 8c7025e72320775f915cdd776e09c7cbecd648ac Author: Dan Winship <danw@gnome.org> Date: Sun Apr 22 15:20:14 2012 -0400 gio: fix error handling in async case of GProxyAddressEnumerator In the async case, a failed DNS lookup was causing the proxy resolution to bail out immediately, rather than just moving on to the next potential proxy (which might not need us to do the DNS lookup beforehand). Fix that. gio/gproxyaddressenumerator.c | 95 ++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 37 deletions(-) commit 3cf987e660d0b32e44b2be67352db65f14342f6a Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sun Apr 22 15:34:12 2012 +0200 Updated Galician translations po/gl.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2a5763c412b624cb70fdc858431b5292ff5312e0 Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Sun Apr 22 11:13:21 2012 +0200 Updated Spanish translation po/es.po | 147 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 90 insertions(+), 57 deletions(-) commit 1e73a200a6fd13b36c52cf783521ac5a256cec56 Author: Yaron Shahrabani <sh.yaron@gmail.com> Date: Sun Apr 22 11:41:51 2012 +0300 Updated Hebrew translation. po/he.po | 371 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 207 insertions(+), 164 deletions(-) commit ecdaf357fe230baefefd45ebd3000ab7c37869ac Author: Alexander Shopov <ash@kambanaria.org> Date: Sun Apr 22 09:07:34 2012 +0300 Updated Bulgarian translation po/bg.po | 147 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 94 insertions(+), 53 deletions(-) commit 2adf6b3d6b975130f41fcbbd66ea348d8a10c0e6 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Sat Apr 21 16:30:59 2012 +0200 Updated Galician translations po/gl.po | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 8ebea8263402dd4a5778c2febbd4ef891eddd88c Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:46:49 2012 +0200 Updated Slovenian translation po/sl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68629ceb4fab5393448ab4688320eace56d11790 Author: Matej Urbančič <mateju@svn.gnome.org> Date: Sat Apr 21 12:39:22 2012 +0200 Updated Slovenian translation po/sl.po | 180 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 110 insertions(+), 70 deletions(-) commit 5d7e9bfbbd7f993922b09577d775822f63ea5640 Author: Мирослав Николић <miroslavnikolic@rocketmail.com> Date: Sat Apr 21 09:26:24 2012 +0200 Updated Serbian translation po/sr.po | 349 ++++++++++++++++++++++++++++++++------------------------- po/sr@latin.po | 349 ++++++++++++++++++++++++++++++++------------------------- 2 files changed, 392 insertions(+), 306 deletions(-) commit 88f73eef540d107210a0f52de81cb1a2c87cb5d6 Author: Piotr Drąg <piotrdrag@gmail.com> Date: Fri Apr 20 20:50:26 2012 +0200 Updated POTFILES.in po/POTFILES.in | 2 ++ 1 file changed, 2 insertions(+) commit 755c1311958f256d60daeb548d1ba4d235d2783b Author: Daniel Mustieles <daniel.mustieles@gmail.com> Date: Fri Apr 20 17:22:55 2012 +0200 Updated Spanish translation po/es.po | 130 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 57 deletions(-) commit 515a454c39b81f61565f7b41ff26aad7a133f853 Author: Fran Diéguez <fran.dieguez@mabishu.com> Date: Fri Apr 20 15:12:48 2012 +0200 Updated Galician translations po/gl.po | 120 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 53 deletions(-) commit 5fb44f70dcac16ff6f13d3d36c330ddd617a5d97 Author: Alexander Larsson <alexl@redhat.com> Date: Fri Apr 20 10:23:34 2012 +0200 win32: Implement _g_dbus_get_machine_id using machine guid This is what libdbus uses, so we're compatible. gio/gdbusprivate.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit dccce383670592f12510019e92ea91a618a1810c Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 17:09:37 2012 +0200 win32: Support autolaunching dbus daemon gio/Makefile.am | 8 ++ gio/gdbusaddress.c | 306 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 312 insertions(+), 2 deletions(-) commit bd148e127a5863de4aef260cd879e0eda370c711 Author: Alexander Larsson <alexl@redhat.com> Date: Wed Apr 18 16:25:29 2012 +0200 Add _g_io_win32_get_module to get the gio HMODULE gio/giomodule-priv.h | 4 ++++ gio/giomodule.c | 6 ++++++ 2 files changed, 10 insertions(+) commit 74214e2997e51fd96842aac2eee049e6b81a4595 Author: Alexander Larsson <alexl@redhat.com> Date: Thu Apr 19 11:01:24 2012 +0200 GTestDBus: Allow to specify the dbus-daemon binary The env var G_TEST_DBUS_DAEMON lets you change dbus-daemon to whatever you want. This is useful to test with gdbus-daemon gio/gtestdbus.c | 3 +++ 1 file changed, 3 insertions(+) commit 0d8b1b14d2d56c92b2b783798a9552eb75d77a29 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:47 2012 +0200 Add gdbus-daemon test app gio/tests/Makefile.am | 4 +++ gio/tests/gdbus-daemon.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit 25581738a8d5ee7db2a6d9ebd908d59b2837cd70 Author: Alexander Larsson <alexl@redhat.com> Date: Mon Apr 16 10:16:04 2012 +0200 Add GDBusDAaemon, an implementation of a message bus This is mostly complete, sans support for activation. However, its not as picky as the libdbus implementation in terms like validation and limits checking, nor is it as tested. Its can be useful to test gdbus if dbus-daemon is not availible, but its main reason for existance is to implement a default session bus on win32 so that e.g. GApplication is guaranteed to work. gio/.gitignore | 1 + gio/Makefile.am | 17 +- gio/dbus-daemon.xml | 76 +++ gio/gdbusdaemon.c | 1752 +++++++++++++++++++++++++++++++++++++++++++++++++++ gio/gdbusdaemon.h | 19 + 5 files changed, 1864 insertions(+), 1 deletion(-) commit b38f1c7aff0bb7388993973f4d8516b95ad593ba Author: Benjamin Otte <otte@redhat.com> Date: Fri Apr 20 14:31:05 2012 +0200 resourcefile: Set display name Fixes resource filenames not being printed in CSS warnings for GTK. https://bugzilla.gnome.org/show_bug.cgi?id=674345 gio/gresourcefile.c | 1 + 1 file changed, 1 insertion(+) commit 289e3b9143fe9bd27657ed277dd7ea2e1a690aa3 Author: Matthias Clasen <mclasen@redhat.com> Date: Thu Apr 19 17:13:52 2012 -0400 More beautiful fix A comma on a line by itself is too ugly to stand. gio/gtestdbus.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)

Manual installation

Available both as ZIP and WarpIN package:

  • download the ZIP package to temporary directory and unpack it to destination folder;
  • the WarpIN package is self-installing.

See below for download link(s).

You can install the prerequisites with rpm running the following string in a command line:

yum install libc libcx libgcc1 libssp libstdc++6 libstdc++ libsupc++6 libsupc++ libgcc-fwd emxrt

Online documentation:

Following ones are the download links for manual installation:

Glib2 v. 2.25.15 (21/3/2013) Readme/What's new
GLib2 2.25.15 build 4. GLib2 runtime libraries.
 hobbes.nmsu.edu/download/pub/os2/dev/x11/gtk/GLib2-2-25-15-4.wpi
Glib2 v. 2.25.14 (8/8/2012) Readme/What's new
GLib2 2.25.14 build 4. GLib2 runtime libraries.
 hobbes.nmsu.edu/download/pub/os2/dev/x11/gtk/GLib2-2-25-14-4.WPI
Glib v. 2.12.4rc1 (21/12/2006) Readme/What's new
GLib 2.12.4 rc1 21.12.2006 --------------------------- This is a thread enabled version on GLib. Not too much testing went into it. It was configured using: configure --enable-gc-friendly=yes --with-threads=posix No warranties, no nothing... - Cinc How to compile -------------- You need gcc 3.3.5 and klibc. If in doubt get it from ftp://ftp.netlabs.org/pub. The usual unix tools must be installed like mv, cp, test... You need GNU Make 3.81rc1 1. Get the source archive from www.gtk.org. 2. Untar into a dir on the drive with your unix tree 3. Exchange the follwing files with the ones from this zip: ./configure ./install-sh ./glib/gslice.c ./glib/gunicollate ./tests/Makefile.in 4. put makefile.os2 in the root of the source tree 5. ./configure --enable-gc-friendly=yes --with-threads=posix 6. make -f makefile.os2 For installation run make install For your convenience I included a current pthread package. Credits go to Yuri Dario for maintaining it. Contact ------- I can be reached on the #netlabs channel on irc.netlabs.org
 ftp.netlabs.org/pub/gcc/contrib/libs/glib-2.12.4-rc1-multithreaded.zip
Glib v. 2.6.5 (3/8/2005) Readme/What's new
Low level core library for projects like Gtk+ and GNOME. Requires OS/2 Warp, EMX, gettext-runtime-0.14.5.
 www.os2site.com/sw/xfree86/gtk/glib-2.6.5.zip
Glib v. 1.2.8 (29/10/2001) Readme/What's new
* This is glib-1.2.8 ported to EMX/OS2 (compiled with emx0.9df2). * The libraries are named as glib12.* to avoid conflict with gtk+-1.0.x. For the same reason, the header files are located in a different directory, %X11ROOT%\XFree86\include\glib12. * Thread library is used now. If you have problems mail pla@cland.ru
 www.os2site.com/sw/xfree86/gtk/glib128.zip
Glib v. 1.2.7 (28/2/2000) Readme/What's new
GLib v1.2.7 runtime libraries. * This is glib-1.2.7 ported to EMX/OS2 (compiled with emx0.9df2). * The libraries are named as glib12.* to avoid conflict with gtk+-1.0.x. For the same reason, the header files are located in a different directory, %X11ROOT%\XFree86\include\glib12. * Thread library is used now. If you have problems mail pla@cland.ru
 www.os2site.com/sw/xfree86/gtk/glib127.zip
Glib v. 1.2.5 (28/9/1999) Readme/What's new
GLib v1.2.5 runtime libraries. * This is glib-1.2.5 ported to EMX/OS2 (compiled with emx0.9df2). * The libraries are named as glib12.* to avoid conflict with gtk+-1.0.x. For the same reason, the header files are located in a different directory, %X11ROOT%\XFree86\include\glib12. * NO thread library is used now. Both pthread and nspr have unknown problems. They can't pass some tests.
 www.os2site.com/sw/xfree86/gtk/glib125.zip
Glib v. 1.2.2 (27/4/1999) Readme/What's new
GLib v1.2.2, a library with many useful routines for C * This is glib-1.2.2 ported to EMX/OS2 (compiled with emx0.9c). * The libraries are named as glib12.* to avoid conflict with gtk+-1.0.x. For the same reason, the header files are located in a different directory, %X11ROOT%\XFree86\include\glib12. * NO thread library is used now. Both pthread and nspr have unknown problems. They can't pass some tests.
 www.os2site.com/sw/xfree86/gtk/glib122.zip
Record updated last time on: 16/12/2021 - 20:02

Translate to...

Add new comment