commit 780a6771007d23af3ad6be8a2c1255b9c5915d76 Author: Matthias Clasen Date: Sat Jul 14 17:44:17 2012 -0400 Updates for 2.32.4 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit be0bef91de9598df5e1883a62078a96a7e80ba42 Author: Matthias Clasen Date: Sat Jul 14 18:02:15 2012 -0400 GApplication: remove reference to non-existing example There's no example called gapplication-example-menu.c in the gio/tests/ directory. gio/gapplication.c | 8 -------- 1 file changed, 8 deletions(-) commit ddd7f7475a3ddffa04bdbac1e34569660bb9a0f8 Author: Matthias Clasen Date: Sat Jul 14 16:50:35 2012 -0400 Fix contenttype tests gio/tests/contenttype.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 069f4299900e3cc0ffa73539e7d41a781f98ce9b Author: Matthias Clasen 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 aa6239d9998995a69cb65c6ea9ad2723a39e1cf8 Author: Rui Matos 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 f0fe7d5ec9d2a13b22db93a2e7a1b079f45ff979 Author: Rui Matos 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 3f0ed5c26b6adbda0d5384c897a3b3d6e9858536 Author: Ryan Lortie 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 c9b399365fa6da2341b28912b29e2053f6fe62db Author: Antoine Jacoutot 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 9e0ea405371c24cbcf0af4228e141bef4e8a2fbf Author: Antoine Jacoutot 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 f6b98fe7a7213ac53d166298740eec68e2dbba43 Author: Ryan Lortie 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 e6f659a898595ba944bd02f0509b14694d1c26e7 Author: Ryan Lortie 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 6f2b9223be0919d4ea7dfde89c1877c6acba7843 Author: Emmanuele Bassi 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 89c5e035b3f0c6eea4467b4dac881ef3d6cdae5e Author: Matthias Clasen 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 1eea903dcf1a11da8ab462d796e499af0ff5cc64 Author: Neil Roberts 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 33f886995a11bac353e15a9ed20caccfc9798fbf Author: Simon Feltman 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 c147bd5b1a0462fc9b107d1718826c6cad2a8ba5 Author: Johan Dahlin 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 4b8c6f9d026c343a7381c1004364bfa0175e1281 Author: Martin Pitt 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 e58a2996ba6f0c46862f2bcd24b0796e1cf48454 Author: Alexander Larsson 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 8d0f19de81aa125231507cc44597c41a73ab7dd2 Author: Alexander Larsson 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 5bf587caa061aad77d046c170a822c5b1e0624dd Author: Stef Walter 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 c1aac005d208d1a3225b8011169c857916006a6f Author: Martin Pitt 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 7f3295b3b3c8b00ff7ec007fe139da318cf043ab Author: Martin Pitt 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 567f4d0d120a75cc6208e36c3a606492efbed0a8 Author: Philipp Kern 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 2e76d87bead9bce4bcd55fb7e113a9c04cbbfdd2 Author: Martin Pitt 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 1da11292daf96ddeb2c9ac899b2b04ecc9554781 Author: Lars Uebernickel 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 086603c602ff823940d750ec24d506513c31b948 Author: Matthias Clasen 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 e0281b2762cdaa118ed3b003d90537ee0bba0ef4 Author: Phil Clayton 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 945b507d6da34179a3aee273b8827859f0d9b8b0 Author: Emmanuele Bassi 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 5468b7a59de14316e37bee81f604905c788d0add Author: Christian Persch 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 09aa6d3668956339d5b6217c0c2f77e348a57bd3 Author: Colin Walters 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 fd8056b5328e3b399561d55985e27e2a0c47c656 Author: Colin Walters 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 2143e799f4f55c8bc9eca2ff1e5650bc09b74d0f Author: Colin Walters 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 6fe87988d18542f31bbac289276981b76161c838 Author: Colin Walters 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 94201b9ba859c86e9a3839a24cd5887038c6c053 Author: Colin Walters 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 773f515220c8ce93041c624f5b9477793d963826 Author: Colin Walters 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 cbe331450f9e1f07caaad160633d3e5880568ad3 Author: Colin Walters 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 9f45f340ed9c66edbdf0b9fe8be0476427c2b33d Author: Colin Walters 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 e713de67807a0d4bf90f99f334a31a378842c5ce Author: Colin Walters Date: Thu Jun 21 12:00:04 2012 -0400 gfileutils: Remove extra fclose() This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd Author: Matthias Clasen 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 894cf926505c595c96d96d0c2345417e9eeefd4c Author: Matthias Clasen 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 6a9668af931799d1c13aff65b22c479bd277c311 Author: Dan Winship 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 8f46e27c35613e03109616a19c3928b28506cdd9 Author: Martin Pitt 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 7934d64837dcba1d94a46ded76b5ef2cdd8534a3 Author: Dan Winship 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 f03dbdc365b7d95637570f1e3fe80597654501ab Author: Matthias Clasen 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 747e651697e1bd31225b8fa49c06db840912dca0 Author: Matthias Clasen 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 45ff6099c68a6a58e4e6aba491e4182253ff0ee3 Author: Paolo Borelli 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 d98eed087d62a4633a2fe3c4fb4fa55b67d48d82 Author: Benjamin Otte 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 0a22710d67714bc0d438f952283851aa6e9fea06 Author: Matthias Clasen 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 654125685941febfeac25453c1c6808ac7e8d94e Author: Matthias Clasen 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 c6a5b5d71922e7cfc9545d16f910c20580e25555 Author: Daniel Macks 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 ) https://bugzilla.gnome.org/show_bug.cgi?id=673253 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c149b7ecb0bbb9f80312999adfcfcba863e53227 Author: Martin Pitt 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 57214e812d6279490d794902d44180bf25d877da Author: Marc-Antoine Perennou 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 glib/gutils.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit d43c89c286df794e9e73b9f58c91912dd4b68046 Author: Christian Persch 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 8dbf5a86e17783848bd5cd4980cf76f0ad1bd02e Author: Guillaume Desmottes 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 9851202b159f507bc4fac0624d310df4bcb4eefc Author: Colin Walters 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 9b9e99e6c8113b8bb319c58453dd570cab7dbc0a Author: Colin Walters 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 c1faabde814d39a428dd3d5eae0fef5189cfac4a Author: Colin Walters 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 98ae46c618feb0a534575d1d67d82c539273bdbf Author: Christian Persch 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 8906b1f66b96d6895095560f026cf43aeabfca37 Author: Marc-Antoine Perennou Date: Tue May 22 20:38:52 2012 +0200 glib: fix build Signed-off-by: Marc-Antoine Perennou glib/genviron.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 47fdbf894847cd7df814e4d1fcdb7fd518399421 Author: Christian Persch 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 3d35cbfae9ea1a923f88581ec9a6c7304ddefbc1 Author: Dan Winship 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 12ac7ddd6da475be2215af1f39ffab2f64d2f4a0 Author: Dan Winship 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 fcdf7790169b108941c9890ad2acc31b81416ee1 Author: Holger Berndt 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 a9435d59b4878f0bed744de6b61aeb867b15d5a7 Author: Dan Winship 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 e5ca9ed5c9d753c223e6f960e3ce7f7bae1fdf7f Author: Matthias Clasen 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 421a44711fb947c17f51ec0a92b32229ec21c554 Author: Ravi Sankar Guntur 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 glib/gutils.c | 26 ++++++++++++++++++++------ glib/tests/protocol.c | 6 +++++- glib/tests/strfuncs.c | 42 +++++++++++++++++++++++++++++++++--------- 3 files changed, 58 insertions(+), 16 deletions(-) commit d1f1389649890b25c44d08b6b32e9e79c395b543 Author: Paolo Borelli 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 cd49c0973ddb91c749693f7c1852d9b2fd138d1b Author: Colin Walters 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 a2fd72d95844a3f74d43491a724b99e2bd8f8ff5 Author: Matthias Clasen 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 146343054cf298509956268db72c6f54ebdd2633 Author: Jasper St. Pierre 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 4e718cf4cf7a33e57cbb17898644216976329c86 Author: Lars Uebernickel 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 fd8d17726f8a16f50b6afe6e6bb58958daf64c1b Author: Chun-wei Fan 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 09e28631b0729efe202de45bde68f02513754006 Author: Nilamdyuti Goswami Date: Tue Jun 19 18:41:23 2012 +0530 Assamese translation reviewed po/as.po | 1139 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 565 insertions(+), 574 deletions(-) commit 667284a19de10618cd37f88ad25f1cb0a7dac517 Author: David Zeuthen 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 gio/gdbusproxy.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit deccfdc2569214da81b2c76a6c5102bbb6f4129b Author: RÅ«dolfs Mazurs Date: Tue Jun 5 17:27:15 2012 +0300 Updated Latvian translation po/lv.po | 479 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 211 insertions(+), 268 deletions(-) commit 200b390d83d160ec95f8305ac7362e2a302ba1c9 Author: Debarshi Ray 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 90d9567c993cd3c5dbe5ca637f57c05fd0d71edf Author: Daniel Nylander Date: Fri May 18 10:02:20 2012 +0200 Updated Swedish translation po/sv.po | 324 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 172 insertions(+), 152 deletions(-) commit 83c58bfe77a53f4f6cd55548afb28dae322e4120 Author: Matthias Clasen Date: Mon May 14 19:52:34 2012 -0400 bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)