commit 6b43310ef41cde26978c261cf1c0e2715adf732d Author: Ryan Lortie 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 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 Date: Mon Aug 6 12:08:04 2012 -0400 More updates NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cc80ae321fdfdcc90596940c8161861d25b20eed Author: Matthias Clasen 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 gio/gdbuserror.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3f96373372771744a5ade73b2e897ec32365182 Author: Dan Winship 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 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 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 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 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 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 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 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č 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 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: Мирослав Николић 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 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 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 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 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 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 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 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 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 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 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 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 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 Date: Tue Jul 17 14:23:08 2012 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)