commit af3f141c091fe6b03fcb27e0cd680beac96e5ccd Author: Matthias Clasen Date: Mon May 22 14:01:31 2017 -0400 2.53.2 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 6673d4caf694521044d88f411f619ef10431e90e Author: Balázs Meskó Date: Mon May 22 13:34:05 2017 +0000 Update Hungarian translation po/hu.po | 11121 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 5609 insertions(+), 5512 deletions(-) commit a0ed9bc8d627ee2022dcd492809aed951bcbc18f Author: Colin Walters Date: Fri May 19 16:08:20 2017 -0400 gdbus: Init more types to work around gtype thread issue See https://bugzilla.gnome.org/show_bug.cgi?id=674885#c85 In this pass I also went through and added more types from GDBusConnection. gio/gdbusprivate.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 151d3b01e68e80f110e561f9336efd609f5a191b Author: Ryan Hendrickson Date: Fri May 19 15:44:14 2017 -0400 gsettings: check $XDG_DATA_HOME for schemas Add $XDG_DATA_HOME/glib-2.0/schemas as a schema source, after (higher priority than) $XDG_DATA_DIRS/glib-2.0/schemas but before $GSETTINGS_SCHEMA_DIR. This is per the XDG Base Directory Specification, which states that user specific versions of data in $XDG_DATA_DIRS can be created in $XDG_DATA_HOME. https://bugzilla.gnome.org/show_bug.cgi?id=741335 gio/gsettingsschema.c | 16 ++++++++++------ gio/tests/gsettings.c | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) commit 3de1fac3925c9bce1e142c813a829521a5052a01 Author: Philip Withnall Date: Wed May 17 13:40:06 2017 +0100 docs: Fix a trivial typo in GMount documentation Signed-off-by: Philip Withnall gio/gmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f8ae236a76cf2b03e959d887504a381d5934ec5 Author: Philip Withnall Date: Wed May 17 13:37:02 2017 +0100 docs: Fix a trivial typo in GMount documentation Signed-off-by: Philip Withnall gio/gmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5faaaac92cfdfe2fc40d79a5a7f420ba09beb03d Author: Emmanuele Bassi Date: Sun May 14 20:33:00 2017 +0100 Check for a recent enough libmount We need mnt_unref_table() in order to use libmount, but we also need to keep the fallback code for installations of libmount without a pkg-config file. https://bugzilla.gnome.org/show_bug.cgi?id=782628 configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit 9ba17d511e325eec1e0c1c27cb4d37de4f12ac1e Author: Emmanuele Bassi Date: Thu May 4 15:05:07 2017 +0100 mkenums: Support public/private trigraph It is possible, when using GTK-Doc, to mark sections of an enumeration type as "private": the values are there, but they are not documented, and GTK-Doc won't complain about missing symbols: typedef enum { /*< private >*/ MY_FOO_PRIVATE, /*< public >*/ MY_FOO_VALUE_A, MY_FOO_VALUE_B, /*< private >*/ MY_FOO_VALUE_C, MY_FOO_VALUE_D } MyFooValue; The glib-mkenums parser also allows skipping enumeration values, using a slightly different syntax: typedef enum P MY_BAR_PRIVATE, /*< skip >*/ MY_BAR_VALUE_A, MY_BAR_VALUE_B } MyBarValue; The annotation must sit on the same line as the enumeration value. Both GTK-Doc and glib-mkenum use the same trigraph syntax, but slightly different keys. This makes combining them slightly redundant, but feasible. All would be well and good, except that glib-mkenum will generate a warning for lines it does not understand — and that includes the GTK-Doc annotation trigraph, which, when confronted with the MyFooValue enumeration above, will result in a warning like: glib-mkenums: myfoo.h:2: Failed to parse ` /*< private >*/ ' glib-mkenums: myfoo.h:5: Failed to parse ` /*< public >*/ ' glib-mkenums: myfoo.h:9: Failed to parse ` /*< private >*/ ' Of course, we could make glib-mkenum ignore any trigraph comment on a stand alone line, but it would probably be better to ensure that both glib-mkenums and gtk-doc behave consistently with each other, and especially with the maintainer's intent of hiding some values from the user, and reserving them for internal use. So we should ensure that glib-mkenums automatically skips all the enumeration values after a "private" flag has been set, until it reaches a "public" stanza. https://bugzilla.gnome.org/show_bug.cgi?id=782162 gobject/glib-mkenums.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 274f336f6a0330ec444e171134455d74979199a1 Author: Mohammed Sadiq Date: Tue May 2 18:57:54 2017 +0530 docs: Trivial typo fixes The presence of space was resulting in wrongly rendered documentation in devhelp (and probably in other documentations). https://bugzilla.gnome.org/show_bug.cgi?id=782068 gio/gdbusobject.c | 2 +- gobject/gobject.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eb7b796bd206c31e336c89fb828a8a343ffb34ba Author: Alexandru Pandelea Date: Wed May 10 19:09:35 2017 +0300 xdgmime: fix special case for mime_type_subclass Currently, all mime types are considered subclasses of application/octet-stream, but according to the freedesktop standard, everything but the inode/* types is a subclass of application/octet-stream. Update the special case for application/octet-stream so that all types but inode/* will match with it and add unit test for it. https://bugzilla.gnome.org/show_bug.cgi?id=782311 gio/tests/contenttype.c | 18 ++++++++++++++++++ gio/xdgmime/xdgmime.c | 3 ++- gio/xdgmime/xdgmimecache.c | 3 ++- 3 files changed, 22 insertions(+), 2 deletions(-) commit ac40b56ecb3ba17c43f6a888da877bf977d2849a Author: Kukuh Syafaat Date: Mon May 15 05:40:59 2017 +0000 Update Indonesian translation po/id.po | 279 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 149 insertions(+), 130 deletions(-) commit 0776e02be215caf153caedb9d9ba477972d0d6ab Author: Emmanuele Bassi Date: Sun May 14 20:36:20 2017 +0100 Remove unused ignore file We're keeping the tmpl directory alive even if we don't need it. docs/reference/gobject/tmpl/.gitignore | 15 --------------- 1 file changed, 15 deletions(-) commit 0751ccd31505cd2774053553263466c6933b3c42 Author: Lars Uebernickel Date: Thu Jan 28 15:39:18 2016 +0100 gdbus: fix use-after-free g_dbus_connection_call_internal() accesses the user data it passes to g_dbus_connection_send_message_with_reply() after the call. That data might be freed already in the case that the callback is called immediately. Fix this by removing the 'serial' field from the user data altogether and fetch the serial from the message in the callback. https://bugzilla.gnome.org/show_bug.cgi?id=748263 gio/gdbusconnection.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 783e12e86cc1c6dfc25575ead1b0b6ddbf2a0bb7 Author: Mario Blättermann Date: Fri May 12 15:23:12 2017 +0000 Update German translation po/de.po | 288 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 138 insertions(+), 150 deletions(-) commit 8a12fb47ce931f5be4e1cfc026e1ef77fcf507fb Author: Daniel Boles Date: Fri May 12 10:05:56 2017 +0100 array-test: Fix a comment glib/tests/array-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8222c334318a2fce87a32bcd321580623eb00be Author: Krzesimir Nowak Date: Wed May 10 16:03:20 2017 +0200 gstrfuncs: Fix translation issues The tool that extracts the translatable strings to .po files does not cope with the G_GUINTX_FORMAT macros, so we preformat the numbers to strings and use the strings in the translatable error messages. glib/gstrfuncs.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 6b19907a4f664bed5477ed4cf9fe6ab3cdc825a6 Author: Piotr Drąg Date: Wed May 10 13:33:26 2017 +0200 Update POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit b89fed057c09534c14475bcedf0940149b56942a Author: Krzesimir Nowak Date: Wed May 10 12:44:57 2017 +0200 docs: Fix typos Something I spotted by accident with git log. gio/gnetworkmonitor.c | 2 +- gio/gproxyresolver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ce7e02193b568d2006edbbeb09055f45557ac6e6 Author: Krzesimir Nowak Date: Thu Apr 27 21:28:48 2017 +0200 docs: Add index for 2.54 api docs/reference/glib/glib-docs.xml | 4 ++++ 1 file changed, 4 insertions(+) commit 4fe89b0437db0a4997d548929eec07b8c579fff2 Author: Krzesimir Nowak Date: Thu Apr 27 12:53:51 2017 +0200 gstrfuncs: Add replacement for string-to-number functions Very often when we want to convert a string to number, we assume that the string contains only a number. We have g_ascii_strto* family of functions to do the conversion but they are awkward to use - one has to check if errno is zero, end_ptr is not NULL and *end_ptr points to the terminating nul and then do the bounds checking. Many projects need this kind of functionality, so it gets reimplemented all the time. This commit adds some replacement functions that convert a string to a signed or unsigned number that also follows the usual way of error reporting - returning FALSE on failure and filling an error output parameter. docs/reference/glib/glib-sections.txt | 9 ++ glib/gstrfuncs.c | 210 ++++++++++++++++++++++++++++++++ glib/gstrfuncs.h | 47 ++++++++ glib/tests/strfuncs.c | 220 ++++++++++++++++++++++++++++++++++ 4 files changed, 486 insertions(+) commit 58ecc57ca79efa7486aab9a7d183b4a5f3dd5dbd Author: Chun-wei Fan Date: Tue May 9 18:17:29 2017 -0700 win32/replace.py: Fix replacing items in files with UTF-8 content Some files that this script will process might have UTF-8 items in there, which can cause problems on Python 3.x as it is more strict and careful on unicode issues. Fix this by: -Doing what we did before on Python 2.x -Open the file with encoding='utf-8' on Python 3.x win32/replace.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 0d81bb4e318b97780c70a55605cacf7e5b3fcaf7 Author: Sebastian Dröge Date: Wed Feb 8 16:27:34 2017 +0200 gmodule – Don't use RTLD_DEFAULT on Android for g_module_self() on Android 64 bit On 64 bit Android this is #defined to 0, which is considered an invalid library handle in all other cases. RTLD_DEFAULT is only supposed to be used with dlsym() it seems, and the usage here was just an "optimization" before. By dlopen'ing NULL, we get the same on all 64 bit Android variants and it actually works instead of erroring out. On 32 bit Android, dlopen() of NULL unfortunately usually gives us something useless that finds no symbols whatsoever. https://bugzilla.gnome.org/show_bug.cgi?id=776876 gmodule/gmodule-dl.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit cc5e9f2362e2f0088766d150f3149afac29f0d95 Author: Sebastian Dröge Date: Wed Jan 4 21:39:48 2017 +0200 gmodule – Check for RTLD_LAZY and others in configure They are no #defines on Android but enum values, and on 64 bit Android they have different values than what we would otherwise fall-back to. https://bugzilla.gnome.org/show_bug.cgi?id=776876 configure.ac | 10 ++++++++++ gmodule/gmodule-dl.c | 7 ++++--- 2 files changed, 14 insertions(+), 3 deletions(-) commit 83c1b881fb6402db71d1d2754e883efa457255b9 Author: Ondrej Holy Date: Fri May 5 12:42:39 2017 +0200 gunixmounts: Prevent unwanted automount requests mnt_table_is_fs_mounted causes unwanted automount requests due to canonicalization of source and target. It might be replaced by mnt_table_find_source as per the documentation in order to prevent the automounts, but it is redundant. All mtab entries should be already mounted and thus mnt_table_is_fs_mounted result is always true (it basically checks that the fs from mtab is in mtab). Let's remove the check at all. https://bugzilla.gnome.org/show_bug.cgi?id=781867 gio/gunixmounts.c | 3 --- 1 file changed, 3 deletions(-) commit 53ed1804e255c78dd4938fe53d27edf90844bdf1 Author: Ondrej Holy Date: Fri May 5 12:33:58 2017 +0200 gunixmounts: Speed up mtab processing with libmount libmnt_context is useless. It contains cache which is useful for searching, but it isn't used in our case. Let's use mnt_context_parse_mtab instead directly and the mtab processing will be faster. https://bugzilla.gnome.org/show_bug.cgi?id=781867 gio/gunixmounts.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit b7ffc07d9893949b218d4057d896e7ba943c1b8b Author: Philip Withnall Date: Mon May 8 11:19:46 2017 +0100 tests: Improve error handling for fileutils test The test_stdio_wrappers() test will spuriously fail if the mkdir-test directory already exists and is non-empty, which can happen if a previous test run has failed and left a coredump file in the directory. Tighten up the error checking around the pre-test rmdir() call to catch this failure. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=782237 glib/tests/fileutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5c1e85669a90e8ffc4a2c3bf2b2fec71eb35014d Author: Philip Withnall Date: Sun May 7 20:17:34 2017 +0100 tests: Update g_assert()s in fileutils test to be more descriptive Use the new g_assert_{non,}null(), g_assert_cmpint(), g_assert_true(), etc., to get more descriptive output when the tests fail. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=782237 glib/tests/fileutils.c | 134 ++++++++++++++++++++++++------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) commit f9a6a9ba53ee4cf93de5ce28b2a9b8345c406f9e Author: Philip Withnall Date: Tue May 2 15:53:13 2017 +0100 gtimer: Handle gmtime() failure in g_time_val_to_iso8601() g_time_val_to_iso8601() has a limit to the future dates it can convert, imposed by what gmtime() can fit in its year field. If gmtime() fails, gracefully return NULL from g_time_val_to_iso8601() rather than trying to dereference the NULL structure and crashing. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=782075 glib/gtimer.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 9374ecc3cb7f45d47fde150c537402ab9ca9d4af Author: Philip Withnall Date: Tue May 2 23:33:23 2017 +0100 gdatetime: Fix overflow checks when constructing from timestamps GDateTime does overflow checks to see if the timestamp being passed in is too big to be represented. However, it only does those after converting from a timestamp to an interval, which involves some multiplications and additions — and hence can overflow, and cause the later bounds check to erroneously succeed. This results in a non-NULL GDateTime being returned which represents completely the wrong date. Fix the overflow checks (do them earlier) and add some unit tests. Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=782089 glib/gdatetime.c | 9 ++++++ glib/tests/gdatetime.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) commit 17395d79ebe8f42e1df9c72e649ccdd24cd2797b Author: Rico Tzschichholz Date: Sun Apr 30 19:35:16 2017 +0200 Revert "ginputstream: Add missing (out) annotations to read() functions" This reverts commit 8446ee8c2039f233c084f0321f52f664941e4186. gio/ginputstream.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit fff6fc02b9d153ffd41a827ae9827ee34550f13a Author: Jonh Wendell Date: Thu May 4 11:03:48 2017 -0300 build: Bump version to 2.53.2 So that early adopters of new API have a version number to target. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b1cd3378fb107bb7807482298dbef361a591a084 Author: Philip Withnall Date: Sat Jun 21 10:27:27 2014 +0100 gdatetime: Remove an unnecessary NULL pointer check datetime->tz can never be NULL, so this pointer check is unnecessary and confusing, and messes up static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=732000 glib/gdatetime.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 404c2d24542d5306aa579cfc43470e789306866e Author: Philip Withnall Date: Thu Mar 2 10:26:26 2017 +0000 ghash: Document that GHashTable is not suitable for static hash tables Instead, gperf should be used for that kind of thing. Inspired by http://stackoverflow.com/q/42372382/2931197. Signed-off-by: Philip Withnall glib/ghash.c | 4 ++++ 1 file changed, 4 insertions(+) commit f6f6b3d83c2abae8aac55c59339adcee919ab6e5 Author: Philip Withnall Date: Mon Apr 15 15:04:34 2013 +0200 garray: Add g_ptr_array_find[_with_equal_func]() Partially based on telepathy-glib’s tp_g_ptr_array_contains(), and a patch by Xavier Claessens . Test cases included. https://bugzilla.gnome.org/show_bug.cgi?id=698064 docs/reference/glib/glib-sections.txt | 2 + glib/garray.c | 76 +++++++++++++++++++++++++++++++++++ glib/garray.h | 9 +++++ glib/tests/array-test.c | 55 +++++++++++++++++++++++++ 4 files changed, 142 insertions(+) commit 42a8e952ef5b16cc4fa16c82e2d3c4c33f824dd8 Author: Philip Withnall Date: Tue May 2 15:59:59 2017 +0100 gtimer: Whitespace fixes Signed-off-by: Philip Withnall glib/gtimer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 070383ca36a32aee4635ad63f5365b9db245c83f Author: Krzesimir Nowak Date: Tue May 2 14:27:14 2017 +0200 gvariant: Fix the max unsigned 64-bit integer value It should be 2^64-1, not just 2^64. Reviewed-by: Philip Withnall glib/gvarianttype.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6ddfd516e6acf9582eafd02874525a26281765de Author: Matthias Clasen Date: Tue May 2 07:23:32 2017 -0400 Small documentation additions The GNetworkMonitor docs were talking about one implementation, omitting the others. While fixing that, add a bit about implementations to the GProxyResolver docs too. gio/gnetworkmonitor.c | 7 +++++-- gio/gproxyresolver.c | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) commit f3403548614a8b0c378f7c39ff4321b0a118ebb1 Author: Matthias Clasen Date: Tue May 2 06:28:22 2017 -0400 portal support: Raise the priority for network monitor When we are inside a sandbox, we want to use the portal implementation, since it is the only one that has a chance of working. This is safe to do, since the portal implementation will just fail initialization when loaded outside a sandbox. gio/gnetworkmonitorportal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5993c0e5d7405739f415187c90160040ff119ec Author: Philip Withnall Date: Mon May 1 19:34:51 2017 +0100 gportalsupport: Fix compilation failure from previous commit Igor says: Thith code did not path the compilation check. Signed-off-by: Philip Withnall gio/gportalsupport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 82e31de04dcf4670f869dd2606244ffcadd7c9ac Author: Matthias Clasen Date: Thu Apr 27 07:22:18 2017 -0400 portal support: Read /.flatpak-info The flatpak-info file was moved to a different location a while ago, we should read it from there instead of relying on the compat symlink. One advantage is that this is a fixed, short path, we don't have to construct one dynamically. https://bugzilla.gnome.org/show_bug.cgi?id=781826 gio/gportalsupport.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 84134c64ed4b2896044d239cd36899cf7e36ed03 Author: Philip Withnall Date: Sun Apr 30 22:04:17 2017 +0100 docs: Remove some extraneous words from g_settings_sync() documentation Looks like the author started typing one thing, then changed their mind about how to phrase the sentence, and typed something else. Signed-off-by: Philip Withnall gio/gsettings.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d21fb0ed3cce87ef01fceeacb033fc838b03615f Author: Philip Withnall Date: Sun Apr 30 09:41:35 2017 +0100 docs: Add an example for using the g_spawn_*() APIs And clarify that you must add a child watch or *not* use the G_SPAWN_DO_NOT_REAP_CHILD flag, otherwise your child will become a zombie on exit, and will not be reaped until the parent process exits. Signed-off-by: Philip Withnall glib/gspawn.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 4 deletions(-) commit 3e2187975d4d620630cc8c655d36a92ec423c632 Author: Timm Bäder Date: Sat Apr 29 14:25:36 2017 +0200 gappinfo: Clear previously set error before calling portal Otherwise, we might end up returning TRUE from g_app_info_launch_default_for_uri but with a set error parameter. This will lead to confusing results depending on how the caller checks for errors. Checking error != NULL indicats the call failed but checking the return value indicates that it succeeded. gio/gappinfo.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit cbcf10411c367c873dbeb4ea029c080099322596 Author: Patrick Griffis Date: Sat Apr 29 03:44:42 2017 -0400 tests: Fix g_content_type_is_mime_type() test on OSX It should be passed a mime type not a content type. https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/tests/contenttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17a3c782db6d55717c13ef164570801bbcea7384 Author: Emmanuele Bassi Date: Wed Apr 26 13:59:18 2017 +0100 genmarshal: Always generate the prototypes in the body This way code that does not manually include the generated marshallers header and wishes to build with `-Wmissing-prototypes` will not generate a compiler warning. https://bugzilla.gnome.org/show_bug.cgi?id=781755 gobject/glib-genmarshal.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 616cff7c8700c70f6fcc50001cb6889ec181df10 Author: Emmanuele Bassi Date: Wed Apr 26 13:48:36 2017 +0100 genmarshal: Use fewer magic numbers https://bugzilla.gnome.org/show_bug.cgi?id=781755 gobject/glib-genmarshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a8b5192d16fe3456bb0a27258688628ad9eda8b6 Author: Emmanuele Bassi Date: Wed Apr 26 13:45:55 2017 +0100 genmarshal: Constify global variables https://bugzilla.gnome.org/show_bug.cgi?id=781755 gobject/glib-genmarshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1ffad8fed9a48c0ccd893eb47cce18278c73e6cd Author: Emmanuele Bassi Date: Wed Apr 26 13:41:41 2017 +0100 genmarshal: Conform --help output to conventions The convention for arguments taking a value is: --argument=VALUE with the `VALUE` in caps. https://bugzilla.gnome.org/show_bug.cgi?id=781755 gobject/glib-genmarshal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aefffa3fbc3901315fdc5f9957890926fc6eab54 Author: declan Date: Fri Apr 28 15:34:57 2017 +0200 gdbusmessage: Don’t use major()/minor() if they’re unavailable https://bugzilla.gnome.org/show_bug.cgi?id=777030 gio/gdbusmessage.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b63469d7261a3d98207647a7f05167f21f22dbc1 Author: Philip Withnall Date: Fri Apr 28 12:29:44 2017 +0100 docs: Fix (nullable) (optional) annotations There are a few places where commit 18a33f72 replaced valid (nullable) (optional) annotations with just (optional). That has a different meaning. (nullable) (optional) can only be applied to gpointer* parameters, and means that both the gpointer* and returned gpointer can be NULL. i.e. The caller can pass in NULL to ignore the return value; and the returned value can be NULL. (optional) can be applied to anything* parameters, and means that the anything* can be NULL. i.e. The caller can pass in NULL to ignore the return value. The return value cannot be NULL. Signed-off-by: Philip Withnall gio/gsocket.c | 4 ++-- gio/gsocketlistener.c | 8 ++++---- gio/gwin32registrykey.c | 8 ++++---- glib/gconvert.c | 2 +- glib/gerror.c | 2 +- glib/ghash.c | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) commit 88ad0dab214799f17f0ddc463d10f44c00587dbf Author: Philip Withnall Date: Fri Apr 28 12:05:42 2017 +0100 gdbusconnection: Add some comments about object ownership Some annotations I made while trying to debug bug #781847. They introduce no behavioural changes. Signed-off-by: Philip Withnall gio/gdbusconnection.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit ea586b47a306a1e9b5edd6fc94eb872342a87024 Author: Daniel Macks Date: Mon Apr 24 01:52:27 2017 -0400 Implement g_content_type_is_mime_type() (clone of win32's) Add missing function, copying from gcontenttype-win32.c per Patrick Griffis (Comment #55 of bug report) https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/gosxcontenttype.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit ecc27a0cbaaa0ec87e0ac362d2ada17dab519a42 Author: Daniel Macks Date: Mon Apr 24 01:40:51 2017 -0400 Add test-case for g_content_type_is_mime_type() Verify presence of new interface. https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/tests/contenttype.c | 1 + 1 file changed, 1 insertion(+) commit 643c722f1e5c021aeec7ba758d5fbf5a83e0069f Author: Rafal Luzynski Date: Fri Mar 31 01:52:33 2017 +0200 gosxappinfo: fix typo in g_osx_app_info_launch_internal Correct error domain is G_IO_ERROR. https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/gosxappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0c4dd4a8020044fc7ba8196e0fccdd66e287fb97 Author: Patrick Griffis Date: Thu Mar 30 19:49:21 2017 -0400 gosxappinfo: Special case x-scheme-handler This is the only way they are exposed on Unix so we need to handle it https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/gosxappinfo.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit fac83e09d63b71a51bddf2165fb29b62effe380e Author: Patrick Griffis Date: Thu Mar 30 19:37:13 2017 -0400 gosxappinfo: Fix get_default_for_type() on 10.10+ https://bugzilla.gnome.org/show_bug.cgi?id=734946 gio/gosxappinfo.c | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) commit d4bfee1e7abe8be6506eadee21f08f5167df5f1b Author: Patrick Griffis Date: Thu Mar 30 17:13:41 2017 -0400 build: Don't build dbus-appinfo on OSX https://bugzilla.gnome.org/show_bug.cgi?id=780309 gio/tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 75cd848ea861a2278e90d8ee9810e91dc49240a6 Author: Krzesimir Nowak Date: Wed Apr 26 11:58:58 2017 +0200 gvariant: Fix some typos in documentation Reformatted the docs for G_VARIANT_TYPE_UINT64 to avoid having a number in the beginning of the line, because apparently gtk-doc treats that as a first element of the numbered list. The number being that big probably makes gtk-doc to treat it as 1. Fixed the g_variant_new_fixed_array documentation - it was partially copy-pasted from the g_variant_get_fixed_array documentation. The rest should be quite obvious. https://bugzilla.gnome.org/show_bug.cgi?id=781830 glib/gvariant.c | 15 +++++++-------- glib/gvarianttype.c | 2 +- glib/gvarianttype.h | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) commit f3321da4624eb638a8e8cdd51d9026029a85df74 Author: Patrick Griffis Date: Thu Mar 30 19:28:12 2017 -0400 gosxappinfo: Fix typo in ifdef https://bugzilla.gnome.org/show_bug.cgi?id=780300 gio/gosxappinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 42c4a72e292d9d19ac15ce634b6e9a71569c63fd Author: Daniel Mustieles Date: Wed Apr 26 08:16:54 2017 +0000 Update Spanish translation po/es.po | 1212 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 634 insertions(+), 578 deletions(-)