glib 2.55.0



About GLib
==========

GLib is the low-level core library that forms the basis for projects
such as GTK+ and GNOME. It provides data structure handling for C,
portability wrappers, and interfaces for such runtime functionality as
an event loop, threads, dynamic loading, and an object system.

ChangeLog
=========

commit b2a0057c145c24b432fd08c61f591ee77a69d796
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 15 22:00:13 2017 -0500

    2.55.0

 NEWS | 145
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 145 insertions(+)

commit d4f07f21fbb346588e17c96fad045fb8ec6f5afd
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Nov 15 13:08:11 2017 +0000

    glocalfile: Fix leak of FS type on some platforms

    fstype is a const char*, and is passed to
    g_file_info_set_attribute_string(), which takes a copy of
    it. There’s no
    need to g_strdup() the FS type from various statfs/statvfs buffers
    beforehand, given that the buffers are valid for the duration of this
    function.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=679347

 gio/glocalfile.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c64b6da33c4d2401dc01329dcac7b32e2274fbfd
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Jun 6 12:15:22 2014 -0400

    gsignal: add assert on closure invalidate path

    It's theoretically possible that we could have a case where this would
    actually return NULL, but it's difficult to imagine a valid program
    that
    would contain such a case.

    Add an explicit assert here to quiet up static analysis.

    See the bug for more discussion.

    Coverity CID: 1159477

    https://bugzilla.gnome.org/show_bug.cgi?id=730296

 gobject/gsignal.c | 2 ++
 1 file changed, 2 insertions(+)

commit ed78f30c5e15997a184afa11419c14eb559d1fc2
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 14 01:40:44 2017 -0800

    file: add tests for g_file_load_bytes()

    This adds a test for both g_file_load_bytes() and the
    asynchronous form g_file_load_bytes_async().

    https://bugzilla.gnome.org/show_bug.cgi?id=790272

 gio/tests/file.c | 87
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)

commit 2227918dfd0bd13d52191538016e88f1344cc196
Author: Christian Hergert <chergert redhat com>
Date:   Sun Nov 12 19:55:52 2017 -0800

    file: add g_file_load_bytes()

    This adds g_file_load_bytes() to make it more convenient to
    load the contents of a GFile as GBytes.

    It includes a special casing for gresources to increase the
    chances that the GBytes directly references the embedded data
    instead of copying to the heap.

    https://bugzilla.gnome.org/show_bug.cgi?id=790272

 docs/reference/gio/gio-sections.txt |   3 +
 gio/gfile.c                         | 188
 ++++++++++++++++++++++++++++++++++++
 gio/gfile.h                         |  16 +++
 3 files changed, 207 insertions(+)

commit 5464461e4c0eac948a81a8aae6a3ef6774ebe6bb
Author: Christian Hergert <chergert redhat com>
Date:   Sun Nov 12 23:04:12 2017 -0800

    gresource: avoid allocations in enumerate_children()

    In the vast majority of cases, we can avoid temporary
    allocations for paths in g_resources_enumerate_children().

    In the case we need to add a suffix "/", we can usually just
    build the path on the stack. In other cases, we can completely
    avoid the strdup, which appears to only have been added for
    readability. If the path is really long, we fallback to doing
    what we did before, and use g_strconcat().

    In the case of Builder, this saved 5.3mb of temporary
    allocations in the process of showing the first application
    window.

    https://bugzilla.gnome.org/show_bug.cgi?id=790275

 gio/gresource.c       | 40 +++++++++++++++++++++++++++++++++++-----
 gio/tests/resources.c | 26 ++++++++++++++++++++++++++
 2 files changed, 61 insertions(+), 5 deletions(-)

commit 38ffcd298c2613a8934b46ee363f61c1e0cb50c3
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 13 21:42:20 2017 -0800

    gresourcefile: simplify path canonicalization

    Previously, the path canonicalization for resources had liberal use of
    strlen() and memmove() while walking through the path. This patch
    avoids
    any secondary strlen() and removes all use of memmove().

    A single allocation is created up front as we should only ever
    need one
    additional byte more than then length of the incoming path string.

    To keep the implementation readable, the mechanics are kept in
    external
    functions. memrchr() was not used due to its lack of portability.

    This is faster in every test case I've tested. Paths that contain
    relative ../ have the most speedup.

    https://bugzilla.gnome.org/show_bug.cgi?id=790310

 gio/gresourcefile.c   | 125
 ++++++++++++++++++++++++++++++--------------------
 gio/tests/resources.c |  44 ++++++++++++++++++
 2 files changed, 118 insertions(+), 51 deletions(-)

commit 7b60708204354da877f7eda5150631223bba42f2
Author: Sebastian Dröge <sebastian centricular com>
Date:   Mon Nov 13 11:47:06 2017 +0100

    GResource – Create an internal copy of the GBytes if it is not
    pointer aligned

    https://bugzilla.gnome.org/show_bug.cgi?id=790030

 gio/gresource.c       | 14 +++++++++++++-
 gio/tests/resources.c | 31 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)

commit 3c9c01e3ce1f2f28ed828238072e835e6bf12ddb
Author: Sebastian Dröge <sebastian centricular com>
Date:   Mon Nov 13 11:43:09 2017 +0100

    GResource – Add note to documentation that the memory must be at
    least pointer aligned

    https://bugzilla.gnome.org/show_bug.cgi?id=790030

 gio/gresource.c | 3 +++
 1 file changed, 3 insertions(+)

commit 880f07f94cdee87b66543b64acad9540060e5d38
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Nov 13 10:37:11 2017 +0000

    gstrfuncs: Use curly quotes in a documentation comment

    Nobody can argue with this: the documentation comment is about, and
    contains, Unicode accents.

    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gstrfuncs.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit e61c3c628daab8cafabce818d3539ffbf743f351
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Nov 13 10:35:41 2017 +0000

    gstrfuncs: Fix a typo in a documentation comment

    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gstrfuncs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c68f66c19e41f4188587a63bd74419a1f2c3085b
Author: Stefan Sauer <ensonic users sf net>
Date:   Sun Nov 12 20:55:05 2017 +0100

    docs: fix 'emphasis' tag

    There is no 'em' tag in docbook. Use 'emphasis'. This would also
    require
    to enable --xml-mode in MKDB_OPTIONS, but that requires more cleanups.

 gio/gappinfo.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 2812219adb2d3e1208943f4bddf54b3a1c1e1ed3
Author: Stefan Sauer <ensonic users sf net>
Date:   Fri Nov 10 22:18:20 2017 +0100

    docs: add missing '*' chars at start of doc-comments

 gio/gdbusconnection.c | 2 +-
 gio/gfileenumerator.c | 2 +-
 gio/gvolume.c         | 2 +-
 glib/gbytes.c         | 6 +++---
 glib/gconvert.c       | 5 ++---
 glib/ghook.c          | 2 +-
 glib/gkeyfile.c       | 2 +-
 glib/gmain.c          | 2 +-
 glib/gmain.h          | 2 +-
 glib/gslice.c         | 2 +-
 glib/gstdio.c         | 2 +-
 glib/gtestutils.c     | 1 -
 glib/gthread-posix.c  | 2 +-
 gobject/gsignal.c     | 2 +-
 14 files changed, 16 insertions(+), 18 deletions(-)

commit e7adf0a1a34f48213ceb90b33c0859c75341fc79
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sat Nov 11 17:09:32 2017 +0100

    Updated Norwegian bokmål translation.

 po/nb.po | 860
 ++++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 487 insertions(+), 373 deletions(-)

commit 1897e66dce271027512497bd9db70f155d9bf9d7
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 10 00:54:36 2017 +0000

    build: Drop data-to-c.pl in favour of data-to-c.py

    The Python version was added for the Meson build, but we might as well
    use it from autotools too, since it does exactly the same thing as the
    Perl version (modulo not including a trailing linebreak, but that
    doesn’t matter).

    Works fine with Python 2.7 or Python 3.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790147

 gio/Makefile.am  |  6 +++---
 gio/data-to-c.pl | 37 -------------------------------------
 gio/data-to-c.py |  2 +-
 3 files changed, 4 insertions(+), 41 deletions(-)

commit 63e9d109fd3705067ef3b6a73062965856802bde
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 10 10:26:01 2017 +0000

    gmessages: Give examples of G_DEBUG with gdb in the documentation

    Some of the documentation linked to information about G_DEBUG already,
    but most of it didn’t, and there were no examples. People need
    obvious
    examples.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790157

 glib/gmessages.c | 18 ++++++++++++++++--
 glib/gmessages.h | 17 +++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)

commit b778ba3e644d0e75597207d3c89eb5f3eedff8c6
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 10 10:13:50 2017 +0000

    gmessages: Improve formatting of a #define in the docs

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790157

 glib/gmessages.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7f9b886c9b48840d37d17c021209863fce4ffc0d
Author: Tim-Philipp Müller <tim centricular com>
Date:   Fri Nov 10 01:01:46 2017 +0100

    meson: dist python script used also in autotools-generated tarball

    https://bugzilla.gnome.org/show_bug.cgi?id=790126

 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit b9b7a1d03920c3ba719a3223b20bae12c97b7eb2
Author: Christian Kellner <christian kellner me>
Date:   Wed Nov 8 21:16:37 2017 +0100

    gio-tool: fix inverted logic in monitor tool

    The tool should refuse to work if none of the locations to watch
    are set, not if *any* of them are unset.

    https://bugzilla.gnome.org/show_bug.cgi?id=790093

 gio/gio-tool-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 74c5e785d3528437fe3e98181b75b07b81efa479
Author: Steve Lhomme <robux4 gmail com>
Date:   Wed Nov 8 13:06:29 2017 +0000

    gmessages: Mark non-varargs log functions as static inline

    Certain compilers warn about unused functions if they are declared in
    the header but are not inline. We require `static inline` support from
    all compilers now.

    Typically, this code will not be used, as the compilers we care about
    implement vararg macro support; but this code path can still be hit on
    some compilers (probably; unverified).

    (Commit message by Philip Withnall.)

    https://bugzilla.gnome.org/show_bug.cgi?id=483341

 glib/gmessages.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit cd0bbbf1ef3d8ff273dee80c1039157c1474715d
Author: Sanjeev <sanjeev1 k samsung com>
Date:   Wed Nov 8 12:36:26 2017 +0000

    gvariant: Fix minor memory leak on error handling path

    (Commit message by Philip Withnall.)

    https://bugzilla.gnome.org/show_bug.cgi?id=760022

 glib/gvariant-parser.c | 2 ++
 1 file changed, 2 insertions(+)

commit 5ebd8f6e88734c2a1c8574ff4af681a2eb9c74a5
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Sat Sep 30 21:09:37 2017 -0700

    gmain: add g_clear_handle_id API

    It's a very common pattern to see code that looks like this in
    dispose() or finalize() implementations:

    if (priv->source_id > 0)
      {
        g_source_remove (priv->source_id);
        priv->source_id = 0;
      }

    This API allows to accomplish the same goal with a single line:

    g_clear_handle_id (&priv->source_id, (GClearHandleFunc)
    g_source_remove);

    Thanks to Emmanuele Bassi <ebassi gnome org> for making the patch
    generic.

    https://bugzilla.gnome.org/show_bug.cgi?id=788489

 docs/reference/glib/glib-sections.txt |  2 ++
 glib/gmain.c                          | 34
 ++++++++++++++++++++++++++++++++++
 glib/gmain.h                          | 32
 ++++++++++++++++++++++++++++++++
 glib/tests/utils.c                    | 26 ++++++++++++++++++++++++++
 4 files changed, 94 insertions(+)

commit 44d6052584af4fa9aadf972dbb5e40ed1cdb9a1e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 4 11:50:38 2017 -0700

    gfile: add g_file_new_build_filename()

    This is a convenience C API that combines g_build_filename() with
    g_file_new_for_path().

    https://bugzilla.gnome.org/show_bug.cgi?id=788488

 docs/reference/gio/gio-sections.txt |  1 +
 gio/gfile.c                         | 36
 ++++++++++++++++++++++++++++++++++++
 gio/gfile.h                         |  3 +++
 gio/tests/file.c                    | 31 ++++++++++++++++++++++++++-----
 4 files changed, 66 insertions(+), 5 deletions(-)

commit 374ade1b6837a53555a617118b9696aa123f3bc3
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Mon Nov 6 12:02:40 2017 -0800

    glib: add g_build_filename_valist()

    A new public API convenience to build a filename from a va_list.

    https://bugzilla.gnome.org/show_bug.cgi?id=788488

 docs/reference/glib/glib-sections.txt |  1 +
 glib/gfileutils.c                     | 22 ++++++++++++++++++++++
 glib/gfileutils.h                     |  3 +++
 3 files changed, 26 insertions(+)

commit 68d62c33fdcbea1c0e6a70ff733d213c62a1f5c3
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 4 11:40:13 2017 -0700

    gfileutils: factor out g_build_filename_va()

    This will be used in a later commit.

    https://bugzilla.gnome.org/show_bug.cgi?id=788488

 glib/gfileutils.c | 32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

commit 8e8f4e6486c1578ae15d63835acd06f237324a6d
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 13:38:58 2017 +0000

    docs: Fix various minor syntax errors in gtk-doc comments

    This will fix a few broken links in the documentation, and shut up a
    load of gtk-doc warnings (but certainly not all of them).

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790015

 gio/gappinfo.c             | 2 +-
 gio/gbufferedinputstream.c | 2 +-
 gio/gcancellable.c         | 4 ++--
 gio/gdbusaddress.c         | 6 +++---
 gio/gdbusnamewatching.h    | 2 +-
 gio/gdtlsconnection.c      | 4 ++--
 gio/gioenums.h             | 2 +-
 gio/gmount.c               | 4 ++--
 gio/gsettingsbackend.c     | 4 ++--
 gio/gtask.c                | 2 +-
 gio/gtlsdatabase.c         | 4 ++--
 gio/gunixmounts.c          | 2 +-
 glib/docs.c                | 2 ++
 glib/glib-unix.c           | 2 +-
 glib/goption.c             | 4 ++--
 glib/gpoll.c               | 8 ++++----
 glib/gspawn.c              | 4 ++--
 glib/gtestutils.c          | 2 +-
 glib/gunicode.h            | 8 ++++----
 19 files changed, 35 insertions(+), 33 deletions(-)

commit 249d74fcf6499a543807fa4158bef26426dd39de
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 13:35:51 2017 +0000

    docs: Make argument names in GAppInfo consistent

    This fixes a mismatch between some of the gtk-doc comments and
    reality.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790015

 gio/gappinfo.c | 12 ++++++------
 gio/gappinfo.h | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

commit a12fbd227f4c03919e3f0df139e22c593be3c365
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 13:33:40 2017 +0000

    docs: Add version and deprecation decorators to gtk-doc ignore list

    This allows gtk-doc to recognise a whole lot more API than it could
    before. Maintaining the lists between 6 build files is going to be
    a bit
    of a pain, but they only need to be modified once a cycle.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=789087

    https://bugzilla.gnome.org/show_bug.cgi?id=790015

 docs/reference/gio/Makefile.am     |  5 ++--
 docs/reference/gio/meson.build     | 58
 +++++++++++++++++++++++++++++++++++++-
 docs/reference/glib/Makefile.am    |  4 ++-
 docs/reference/glib/meson.build    | 57
 ++++++++++++++++++++++++++++++++++++-
 docs/reference/gobject/Makefile.am |  5 ++--
 docs/reference/gobject/meson.build | 57
 ++++++++++++++++++++++++++++++++++++-
 6 files changed, 178 insertions(+), 8 deletions(-)

commit f33ca578b1343e2970eb45d10edfcc0f47e91bb8
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 13:26:44 2017 +0000

    docs: Add 2.56 to the API version reference in glib-docs.xml

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790015

 docs/reference/glib/glib-docs.xml | 4 ++++
 1 file changed, 4 insertions(+)

commit 6546d87e4a4e32e6422823264be358bce7ccdeeb
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 13:26:27 2017 +0000

    docs: Add recent version check macros to glib-sections.txt

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=790015

 docs/reference/glib/glib-sections.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 796599a705cf49bed28df0b86eb76a38a59b27d0
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Feb 24 15:33:11 2017 +0100

    gio-tool: Do not alter uris before use

    Uris may be altered by the following code, which breaks xdg-open:
    file = g_file_new_for_commandline_arg (arg[i])
    uri = g_file_get_uri (file);

    Examples of possible uri changes:
    mailto:email -> mailto:///email
    magnet:?xt=urn:hash -> magnet:///?xt=urn:hash
    ssh://user@host -> sftp://user@host

    This patch causes that uris aren't preprocessed for locations with
    scheme, however absolute and relative paths are still preprocessed.

    https://bugzilla.gnome.org/show_bug.cgi?id=779182

 gio/gio-tool-open.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

commit fac219adf83212e7f46de812e145ca9964c6e888
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 11:45:53 2017 +0000

    tests: Fix a couple of bug base URIs

    bugs.gnome.org doesn’t redirect properly any more (and isn’t
    HTTPS).

    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/tests/array-test.c | 2 +-
 glib/tests/bytes.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit cfe41f4cedfec6de09561411246529886ec9e7cc
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Nov 7 11:45:29 2017 +0000

    build: Fix a broken link in an error message from configure.ac

    Spotted in bug #742548.

    Signed-off-by: Philip Withnall <withnall endlessm com>

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 90d8058f7aa3b3838d286d459c2f34045e67140b
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Mon Nov 6 13:56:36 2017 +0100

    Updated Norwegian bokmål translation.

 po/nb.po | 1951
 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 1075 insertions(+), 876 deletions(-)

commit cb8bfa758fd14794ffeb9cf62fe2a51886b5a6ac
Author: Colin Walters <walters verbum org>
Date:   Tue Oct 31 12:51:09 2017 -0400

    gdbus-codegen: Call abspath() earlier

    The previous change from
    https://bugzilla.gnome.org/show_bug.cgi?id=786785
    didn't actually work (for me at least) in the `/bin/gdbus-codegen`
    case
    as the relative `/bin/../share` path works, but then
    `os.path.abspath()`
    breaks it (as it's not doing `realpath()`, and let's not go there).

    Fix this by doing the `abspath` first.

    Downstream: https://bugzilla.redhat.com/show_bug.cgi?id=1507661

    https://bugzilla.gnome.org/show_bug.cgi?id=789723

 gio/gdbus-2.0/codegen/gdbus-codegen.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 0d49cd1b11b1bd0bae2671da9ddd83a6227eb947
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Nov 6 10:31:52 2017 +0000

    gutils: Fix minor memory leak on error path

    Introduced in commit d011223085063ff23589fb92c7e68bcfb50fdd02.

    Coverity CID: 1382472

    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gutils.c | 2 ++
 1 file changed, 2 insertions(+)

commit df66b25301a6b5b2481375bbf246d4c69ded5e99
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Nov 4 20:05:37 2017 +0100

    GSeekable: Fix g_seekable_truncate invoker reference

    https://bugzilla.gnome.org/show_bug.cgi?id=573251

 gio/gseekable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0091f7f21216a63e0c4cfc420512ebf4c936f593
Author: Daniel Macks <dmacks netspace org>
Date:   Fri Jun 13 15:16:51 2014 -0400

    Use __APPLE__ token to control OSX-specific tests

    The carbon framework is deprecated and not really related to OSX's
    printf features. Directly test compiler-defined token for the platform
    itself rather than that autodetected framework as a proxy.

    https://bugzilla.gnome.org/show_bug.cgi?id=731625

 glib/tests/gdatetime.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit d88d90c3c83f9d62655963834ad0c423f87dd7a9
Author: Daniel Macks <dmacks netspace org>
Date:   Mon Jun 16 02:59:56 2014 -0400

    Exec=true (seach via PATH) instead of hardcoding /bin/true

    ...otherwise this .desktop is omitted on platforms that have it
    elsewhere.

    https://bugzilla.gnome.org/show_bug.cgi?id=731705

 ...-for-toronto-island-9c6a4e022b17686306243dada811d550d25eb1fb.desktop |
 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 029cfa9109ffa639de17264b39113241044b246f
Author: Martin <martin lispworks com>
Date:   Fri Nov 3 20:11:56 2017 +0000

    build: Ensure .py files are generated at build time not install time

    Otherwise installing with `sudo make install` fails.

    https://bugzilla.gnome.org/show_bug.cgi?id=706667

 glib/Makefile.am    | 1 +
 gobject/Makefile.am | 1 +
 2 files changed, 2 insertions(+)

commit 5448ef53266befdcff7c2606cc97acbd722e9f4c
Author: Uwe Helm <uwe helm gmail com>
Date:   Thu Nov 27 22:37:00 2014 +0000

    gio: Add FS magic number for FUSE

    https://bugzilla.gnome.org/show_bug.cgi?id=740826

 gio/glocalfile.c | 2 ++
 1 file changed, 2 insertions(+)

commit fc817eb38af6381c8c439a1460c61a91774def53
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Nov 3 15:24:44 2017 +0000

    gthread: Emit a critical if g_rw_lock_reader_lock() fails

    It can only fail if there’s been a leak or programmer error,
    so this is
    really unlikely to happen. At least make it obvious something has gone
    wrong, though, rather than silently carrying on and returning as
    if the
    reader lock has been acquired.

    Do the same for g_rw_lock_writer_lock().

    It should be safe to use g_critical() for reporting the problems,
    since
    GRWLock is not used in gmessages.c, and printing a critical seems
    better
    than aborting, just in case we do hit the ‘maximum number of reader
    locks’ error code.

    Signed-off-by: Philip Withnall <withnall endlessm com>

    https://bugzilla.gnome.org/show_bug.cgi?id=756430

 glib/gthread-posix.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit f5e229c76db42a2ce9432ccb941a636b17d46a90
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sat Jun 4 15:15:37 2016 +0200

    convert: Fix tautological comparisons in tests

    https://bugzilla.gnome.org/show_bug.cgi?id=767239

 glib/tests/convert.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit ea2901abf834259f6d96709d071c6ef3e7a6f912
Author: Tomas Kotal <tomas kotal gmail com>
Date:   Fri Nov 3 14:36:41 2017 +0100

    gio: GPollFileMonitor is not cleaning up correctly

    https://bugzilla.gnome.org/show_bug.cgi?id=789820

 gio/gpollfilemonitor.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit a6fc4daeb9e91223d0200ddc85eca7556a9edd4e
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Sat Aug 13 17:34:58 2016 +0200

    gmessages: Add timestamp to g_log_writer_format_fields()

    Since journald adds a timestamp, it would be useful to add one to the
    stdout/stderr output too — we do not want it to miss out on the
    timestamping fun.

    Make it blue, because we can.

    https://bugzilla.gnome.org/show_bug.cgi?id=769846

 glib/gmessages.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit df957fa81a020d3a8d8e62ab87eea78bc3d9de98
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Fri Nov 3 12:56:09 2017 +0000

    Update Spanish translation

 po/es.po | 921
 ++++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 528 insertions(+), 393 deletions(-)

commit 9bcd7800a122c22b7c2684fa50bd93ecd3c936f9
Author: Jiří Techet <techet gmail com>
Date:   Sun Oct 22 12:12:59 2017 +0200

    gio: Eliminate warnings in cstring conversion on OS X

    create_cstr_from_cfstring_with_fallback() is allowed to be called
    when str == NULL
    but create_cstr_from_cfstring() isn't which leads to warnings in
    the console.
    Fix this by adding NULL checks into
    create_cstr_from_cfstring_with_fallback().

    https://bugzilla.gnome.org/show_bug.cgi?id=788936

 gio/gosxcontenttype.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 6acaca8831c4c34845b860100effead0f37a8d7c
Author: Jiří Techet <techet gmail com>
Date:   Fri Oct 27 23:45:14 2017 +0200

    gio: Show icons based on file's mime type on OS X

    The patch basically just grabs the implementation of
    g_content_type_get_icon_internal()
    from gcontenttype.c - the only difference is that it first converts
    UTI to MIME using
    g_content_type_get_mime_type() and at the end frees this temporary
    MIME type.

    https://bugzilla.gnome.org/show_bug.cgi?id=788936

 gio/gosxcontenttype.c   | 60
 ++++++++++++++++++++++++++++++++++++++-----------
 gio/tests/contenttype.c | 17 +++++++++++++-
 2 files changed, 63 insertions(+), 14 deletions(-)

commit fc031daa33e5becbda9cc6196d6f0385ea26c462
Author: Marek Cernocky <marek_cernocky conel cz>
Date:   Fri Nov 3 12:39:23 2017 +0100

    Updated Czech translation

 po/cs.po | 379
 ++++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 228 insertions(+), 151 deletions(-)

commit 6b9636469d447ea90a06fef606fdb7302fdd2615
Author: Mario Blättermann <mario blaettermann gmail com>
Date:   Thu Nov 2 19:15:11 2017 +0000

    Update German translation

 po/de.po | 391
 +++++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 241 insertions(+), 150 deletions(-)

commit 719edde63b1f4756c61c325e8457c7d033be8194
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date:   Mon Jan 16 11:39:49 2017 +0530

    GModule win32: disable error dialog popup

    When loading a module on win32, a blocking error dialog pops up
    whenever
    the module could not be loaded. This is particularly annoying when
    module loading failure is a harmless and expected event...

    This patch temporarily disables these error dialogs from popping up.

    https://bugzilla.gnome.org/show_bug.cgi?id=777308

 gmodule/gmodule-win32.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 54f6c562354d9c988c0ed9eea672d1bce23b20c4
Author: Benoît Dejean <bdejean gmail com>
Date:   Fri Oct 20 17:43:36 2017 +0200

    utils: Add new G_FORMAT_SIZE_BITS flag for g_format_size_full()

    It will return sizes in bits, rather than bytes.

    https://bugzilla.gnome.org/show_bug.cgi?id=789170

 glib/gutils.c          | 66
 ++++++++++++++++++++++++++++++++++++++++----------
 glib/gutils.h          |  3 ++-
 glib/tests/fileutils.c | 30 +++++++++++++++++++++++
 3 files changed, 85 insertions(+), 14 deletions(-)

commit 6036d400730d625b69a7bf1160bad854245d6a3b
Author: Colin Walters <walters verbum org>
Date:   Wed Nov 1 10:20:03 2017 -0400

    build: Work with automake 1.13.3

    In https://git.gnome.org/browse/glib/commit/?id=5c13bf9bcf0 we jumped
    all the
    way from `1.11` to `1.14`, but `1.13.3` is what's in RHEL7.4 today,
    and the build
    seems to work fine for me with it.

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 953a51d97bc07418fb9d1a5f3a5336d3c9022793
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Thu Nov 2 10:22:39 2017 +0530

    meson: Fix installation of gdb autoload scripts v2

    `install:` is not a valid keyword argument for configure_file()

 glib/meson.build    | 17 +++++++++++------
 gobject/meson.build |  7 +------
 2 files changed, 12 insertions(+), 12 deletions(-)

commit 625bfa0b36380b97205fa7df0e07f8eca13d616e
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Thu Nov 2 10:03:22 2017 +0530

    meson: Fix comment explaining gdb hacks

    https://bugzilla.gnome.org/show_bug.cgi?id=788772

 glib/meson.build    | 7 +++++--
 gobject/meson.build | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

commit 430e2dd3f54734cfa87d6643f2370604abcf959d
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date:   Tue Oct 24 16:29:49 2017 +0200

    meson: Fix GDB scripts install_dir for *nix

    Disable installation on Windows for now as this would use a colon
    in the
    directory name.

    https://bugzilla.gnome.org/show_bug.cgi?id=788772

 glib/meson.build    | 5 +++--
 gobject/meson.build | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit 96ebcee8c4d555805e6aa6cf5ea6fcb16299dc81
Author: Colin Walters <walters verbum org>
Date:   Wed Nov 1 10:21:34 2017 -0400

    Build with old libmount too

    Downstream: https://bugzilla.redhat.com/show_bug.cgi?id=1508056

    This is an easy change, and lets us build with RHEL7's libmount.

    See also
    https://github.com/ostreedev/ostree/commit/cee57a0268334d51cd312c6cdcf367bedfd3e30d

 configure.ac      | 6 ++++--
 gio/gunixmounts.c | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit d011223085063ff23589fb92c7e68bcfb50fdd02
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date:   Wed Nov 1 09:52:29 2017 +0000

    g_get_host_name: ensure hostname has UTF8 encoding on Windows

    Ensures that the hostname returned by g_get_host_name is always
    UTF8 encoded.
    Previously, on Windows, the returned string would be encoded in the
    current codepage, if it contained non-ASCII characters.

    The unit test for g_get_host_name was updated with a check to ensure
    that the hostname is indeed at UTF-8 string.

    https://bugzilla.gnome.org/show_bug.cgi?id=789755

 glib/gutils.c      | 19 ++++++++++++++-----
 glib/tests/utils.c |  1 +
 2 files changed, 15 insertions(+), 5 deletions(-)

commit 41112ef00ddbf85ff377ddc330dd7ab28034259d
Author: Will Thompson <wjt endlessm com>
Date:   Wed Nov 1 14:41:00 2017 +0000

    GSeekable: improve g_seekable_[can_]truncate docs

    I was not born next to a PDP-11, either, but I think this is
    marginally more informative!

    https://bugzilla.gnome.org/show_bug.cgi?id=573251

 gio/gseekable.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 663a5cc95fd78953a2ab6ee436033d9282169a69
Author: Tom Schoonjans <Tom Schoonjans diamond ac uk>
Date:   Mon Jan 16 14:20:01 2017 +0530

    gio/gasynchelper.c: fix cast from pointer to smaller int type on win64

    https://bugzilla.gnome.org/show_bug.cgi?id=777310

 gio/gasynchelper.c | 4 ++++
 1 file changed, 4 insertions(+)

commit 53bd6a359f2c48e7729f89902097c892c8aa6fea
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Fri Sep 29 10:14:41 2017 +0000

    W32: Add a stat() implementation for private use

    This commit adds new W32-only functions to gstdio.c,
    and a new header file, gstdioprivate.h.
    These functions are:
    g_win32_stat_utf8()
    g_win32_lstat_utf8()
    g_win32_fstat()
    and they fill a private structure, GWin32PrivateStat,
    which has all the fields that normal stat has, as well as some
    extras.

    These functions are then used throughout glib and gio to get better
    data about the system. Specifically:
    * Full, 64-bit size, guaranteed (g_stat() is forced to use 32-bit
    st_size)
    * Full, 64-bit file identifier (st_ino is 0 when normal stat()
    is used, and still is)
    * W32 File attributes (which stat() doesn't report); in particular,
    this allows
      symlinks to be correctly identified
    * Full, 64-bit time, guaranteed (g_stat() uses 32-bit st_*time on
    32-bit Windows)
    * Allocated file size (as a W32 replacement for the missing st_blocks)

    st_mode remains unchanged (thus, no S_ISLNK), so when these are
    given back to
    glib users (via g_stat(), for example, which is now implemented by
    calling g_win32_stat_utf8),
    this field does not contain anything unexpected.

    g_lstat() now calls g_win32_lstat_utf8(), which works on symlinks
    the way it's supposed to.

    Also adds the g_win32_readlink_utf8() function, which behaves like
    readlink()
    (including its inability to return 0-terminated strings and inability
    to say how large
    the output buffer should be; these limitations are purely for
    compatibility with
    existing glib code).

    Thus, symlink support should now be much better, although far from
    being complete.

    A new W32-only test in gio/tests/file.c highlights the following
    features:
    * allocated size
    * 64-bit time
    * unique file IDs

    https://bugzilla.gnome.org/show_bug.cgi?id=788180

 gio/glocalfile.c             |  46 ++--
 gio/glocalfileinfo.c         |  97 +++----
 gio/glocalfileinfo.h         |   5 +-
 gio/glocalfileoutputstream.c |   8 +-
 gio/tests/g-file-info.c      | 367 +++++++++++++++++++++++++++
 glib/Makefile.am             |   1 +
 glib/gfileutils.c            |   7 +-
 glib/glib-private.c          |   7 +
 glib/glib-private.h          |  18 ++
 glib/gstdio.c                | 588
 +++++++++++++++++++++++++++++++++++++++++--
 glib/gstdioprivate.h         |  65 +++++
 11 files changed, 1106 insertions(+), 103 deletions(-)

commit c74ab4a1db1e92a717f92d4c4b86e28661a966e7
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Nov 1 11:13:27 2017 +0000

    gobject: Fix typo in documentation for
    g_param_spec_get_default_value()

    Signed-off-by: Philip Withnall <withnall endlessm com>

 gobject/gparam.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 69b2b5f262e8ddcacf20fa0518e83b9679b6db82
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date:   Tue Oct 31 04:11:42 2017 +0100

    meson: Fix libmount support

    The define was still missing.

    https://bugzilla.gnome.org/show_bug.cgi?id=789681

 config.h.meson | 3 +++
 meson.build    | 1 +
 2 files changed, 4 insertions(+)

commit 34148fc9b9edd8501ed2b0d483d0b8c942ac28ab
Author: Sam Spilsbury <sam endlessm com>
Date:   Fri Oct 27 21:42:46 2017 +0800

    mkenums: Don't raise when unlinking a file that does not exist

    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=789637

 gobject/glib-mkenums.in | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit d31a7516a9817c0961675b2c18be74aaba124af8
Author: Marek Cernocky <marek_cernocky conel cz>
Date:   Mon Oct 30 22:13:11 2017 +0100

    Updated Czech translation

 po/cs.po | 609
 +++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 320 insertions(+), 289 deletions(-)

commit 868ea19699c070ba34fbae7bf826b8e1647fd799


Download
========
https://download.gnome.org/sources/glib/2.55/glib-2.55.0.tar.xz (7.54M)
  sha256sum: 13fc009e68ca490f986f21a7d5d3a429486fb28a1f4e06298c9ac976067518f5



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]