commit 1341598c80b8149059e2485c843d62e52b21b3ab Author: Matthias Clasen Date: Thu May 26 16:30:25 2016 -0400 2.49.1 NEWS | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 6bd94863d0228465731c827e66f1bf9050f351a6 Author: Chun-wei Fan Date: Wed May 25 14:13:33 2016 +0800 glib/gnulib/printf-parse.c: Fix build on Visual Studio 2008 Visual Studio 2008 does not come with stdint.h, so define intmax_t instead on Visual Studio 2008 so that the code will continue to build. This was previously unnoticed as building GTK+ since 3.16 requires an implementation of stdint.h (such as msinttypes), and it took care of the need of including the stdint.h header here, but people could be very well using GLib without using GTK+ 3.x. glib/gnulib/printf-parse.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit f3c029978c064976ca2033c0b38f47553094b425 Author: Piotr Drąg Date: Mon May 23 18:19:51 2016 +0200 Updated POTFILES.in po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) commit b7145a1d7227c7ddfea8051bef5d2e8a6301ad42 Author: Tom Tromey Date: Mon May 23 10:45:55 2016 -0400 Rename gdb macros with `_gdb` suffix to avoid ns clashes glib installs a gdb helper file named `glib.py`. Then the "hook" file updates `sys.path` and does `import glib`. This will fail if glib has already been imported into gdb, say using `from gi.repository import GLib`. This is due to a namespace clash. One fix would be to rename the gdb helper files to not clash with other Python modules. This should be done for all such helper files. https://bugzilla.gnome.org/show_bug.cgi?id=760186 glib/Makefile.am | 2 +- glib/glib.py | 261 -------------------------------------- glib/glib_gdb.py | 261 ++++++++++++++++++++++++++++++++++++++ glib/libglib-gdb.py.in | 2 +- gobject/Makefile.am | 2 +- gobject/gobject.py | 295 ------------------------------------------- gobject/gobject_gdb.py | 295 +++++++++++++++++++++++++++++++++++++++++++ gobject/libgobject-gdb.py.in | 2 +- 8 files changed, 560 insertions(+), 560 deletions(-) commit 0ffb21d355bde6ac11e7871dc0bf79009a6471c3 Author: Muhammet Kara Date: Fri May 20 19:32:08 2016 +0000 Updated Turkish translation (cherry picked from commit 67ce4d8c7bca3a73df881d492b201377f74d3495) po/tr.po | 493 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 260 insertions(+), 233 deletions(-) commit 17e5281ca938f334abceee920759bc2329daa1f0 Author: Ondrej Holy Date: Fri May 20 12:27:12 2016 +0200 Fix ABI compatibility Commit 7b3f6da broke ABI compatibility, because of newly added vfunc. Move the vfunc to the end to ensure ABI compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=765924 gio/gdrive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 931483aa258e4cba2df009c9b0a7bb7cb5904c75 Author: Ondrej Holy Date: Fri May 20 10:34:15 2016 +0200 build: Bump version to 2.49.1 So that early adopters of new API have a version number to target. https://bugzilla.gnome.org/show_bug.cgi?id=765900 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b3f6da30718c443d64169813b4ae1b3a28ba934 Author: Ondrej Holy Date: Fri Apr 29 17:14:57 2016 +0200 gio: Add g_drive_is_removable() support Nautilus wants to show entries in the sidebar only for removable devices. It uses currently sort of conditions to determine which devices should be shown. Those condition fails in some cases unfortunatelly. Lets provide g_drive_is_removable() which uses udisks Removable property to determine which devices should be shown. It should return true for all drives with removable media, or flash media, or drives on usb and firewire buses. https://bugzilla.gnome.org/show_bug.cgi?id=765900 docs/reference/gio/gio-sections.txt | 1 + gio/gdrive.c | 25 +++++++++++++++++++++++++ gio/gdrive.h | 4 ++++ 3 files changed, 30 insertions(+) commit 098f19bcedc2235f4ee0999b772f9713a1544beb Author: Philip Withnall Date: Thu May 19 10:06:36 2016 +0100 docs: Replace references to GVFS hal modules with udisks2 Since hal is dead and buried, and has been superseded by the udisks2 modules in GVFS. docs/reference/gio/overview.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 19689af0916fa2aad5d6026b42c1615657dfc025 Author: Rico Tzschichholz Date: Wed May 18 13:29:41 2016 +0200 docs: Add index for 2.50 api docs/reference/gio/gio-docs.xml | 4 ++++ docs/reference/glib/glib-docs.xml | 4 ++++ 2 files changed, 8 insertions(+) commit 8f2d18185844dbf0e095d83f4cd8a7adfce25260 Author: Philip Withnall Date: Tue May 17 18:08:17 2016 +0100 build: Fix a misnamed variable in glib-tap.mk This was causing anything listed in $(installed_test_extra_scripts) to not be installed. https://bugzilla.gnome.org/show_bug.cgi?id=766570 glib-tap.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a1e8e8fa70fdd734b79ae3b5e2bf9ab64a31c90 Author: Руслан Ижбулатов Date: Sat May 7 17:02:55 2016 +0000 g_date_time_format_locale: ensure locale encoding is used Fallback code for g_date_time_format_locale() fetches translated strings (such as day and month names) from .mo catalogues via gettext. These strings always come in UTF-8 encoding, because that is the encoding that glib sets when it initializes gettext for itself. However, the non-fallback code uses nl_langinfo() and expects its results to be in locale-dependent encoding. This mismatch can result in UTF-8 strings being converted to UTF-8, producing gibberish. Fix this by converting UTF-8 strings to locale-dependent encoding before using them. Also fix the code that was already doing the locale->UTF-8 conversion to not convert the strings when they are already UTF-8-encoded. https://bugzilla.gnome.org/show_bug.cgi?id=766092 glib/gdatetime.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 98 insertions(+), 13 deletions(-) commit 6055954a094ec0434c9a954659170871816e1819 Author: Tiago Santos Date: Sun May 15 19:45:51 2016 +0000 Updated Portuguese translation po/pt.po | 376 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 197 insertions(+), 179 deletions(-) commit 2aa73388755846b46adfbd39d65816f56b7add89 Author: Руслан Ижбулатов Date: Sat May 14 01:18:56 2016 +0000 testsuite: override check-TESTS target in gio tests subdir This prevents testsuite from trying to build any TESTS in that subdirectory, which will fail, because there are no TESTS defined in that Makefile.am. This happens when user runs make check TESTS=... https://bugzilla.gnome.org/show_bug.cgi?id=766407 gio/tests/gdbus-object-manager-example/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit e88796cad09a22ccd05672a86403e92fc5bafd70 Author: Руслан Ижбулатов Date: Sat May 14 01:18:22 2016 +0000 testsuite: don't forget -DPCRE_STATIC when PCRE is static https://bugzilla.gnome.org/show_bug.cgi?id=766407 glib/tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36c47f2a55aacca160c5b93170bd71996070859b Author: Руслан Ижбулатов Date: Sat May 14 01:17:26 2016 +0000 testsuite: include pthread.h in thread testfile https://bugzilla.gnome.org/show_bug.cgi?id=766407 glib/tests/thread.c | 4 ++++ 1 file changed, 4 insertions(+) commit 89d8dc979b363dea363a0a03999ddcc17f21798f Author: Krzesimir Nowak Date: Wed May 11 09:37:21 2016 +0200 docs: Clarify clearing the builder after ending the build process There is no need to call g_variant_builder_clear() after the g_variant_builder_end(). This is mentioned in docs of the former function, but not in the docs of the latter one. Add them there too. glib/gvariant.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit bcbd8d73cecdd2050670fab6502fab8c84d8cec5 Author: Iain Lane Date: Tue May 10 09:46:06 2016 +0100 Fix the upper bound in g_unichar_iswide_bsearch asan noticed an array out of bound access in this function, which was because we were accessing G_N_ELEMENTS + 1. https://bugzilla.gnome.org/show_bug.cgi?id=766211 glib/guniprop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a865020ca119ea89fbbd836eeff4b374394152d Author: Matthias Clasen Date: Tue May 10 22:42:08 2016 -0400 Add a few more test cases for g_unichar_iswide glib/tests/unicode.c | 2 ++ 1 file changed, 2 insertions(+) commit c494ae06b7bb3ba6225e485452d3acd6e458c815 Author: Garrett Regier Date: Tue May 19 06:20:35 2015 -0700 gsequence: Improve is_end() Instead of finding the GSequence, just walk up the tree and determine if the iter is the end node. https://bugzilla.gnome.org/show_bug.cgi?id=749583 Signed-off-by: Garrett Regier glib/gsequence.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 1249e10b8ea8ead5b40917dfb8bef8ff4fa75c1d Author: Cédric Valmary Date: Sun May 8 19:38:56 2016 +0000 Updated Occitan translation po/oc.po | 841 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 399 insertions(+), 442 deletions(-) commit a340a5ef442c774fb04f0e14c86443d8d8ddb58d Author: Aleksander Morgado Date: Sun Apr 17 13:05:54 2016 +0200 docs: improve g_main_context_push_thread_default() documentation Explicitly suggest to use g_main_context_pop_thread_default() when there's no user control on the life cycle of the thread being used. https://bugzilla.gnome.org/show_bug.cgi?id=765173 glib/gmain.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit a17bbbc8a33740ed8722c1739d20ef0f5ff90ed6 Author: Matthias Clasen Date: Sat May 7 12:38:09 2016 -0400 doc: Update a few links to the Unicode Standard glib/gunicode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98f86beed6d087f08004de7a4360f983bb5272bb Author: Matthias Clasen Date: Tue May 3 18:11:09 2016 -0400 gdbus-codegen: Only generate autocleanup when instructed to This adds a new --c-generate-autocleanup option to gdbus-codegen which can be used to instruct gdbus-codegen about what autocleanup definitions to emit. Doing this unconditionally was found to interfere with existing code out in the wild. The new option takes an argument that can be none, objects or all; to indicate whether to generate no autocleanup functions, only do it for object types, or do it for interface types as well. The default is 'objects', which matches the unconditional behavior of gdbus-codegen on the 2.48 branch. https://bugzilla.gnome.org/show_bug.cgi?id=763379 docs/reference/gio/gdbus-codegen.xml | 16 ++++++++++ gio/gdbus-2.0/codegen/codegen.py | 58 +++++++++++++++++++---------------- gio/gdbus-2.0/codegen/codegen_main.py | 3 ++ 3 files changed, 51 insertions(+), 26 deletions(-) commit 2ca496a2e79bf4d9832e9f788f09ed4fee6e1ff7 Author: Chun-wei Fan Date: Wed May 4 00:27:32 2016 +0800