~3v1n0/ubuntu/+source/glib2.0:upstream/2.56.x

Last commit made on 2018-08-17
Get this branch:
git clone -b upstream/2.56.x https://git.launchpad.net/~3v1n0/ubuntu/+source/glib2.0
Only Marco Trevisan (Treviño) can upload to this branch. If you are Marco Trevisan (Treviño) please log in for upload directions.

Branch merges

Branch information

Name:
upstream/2.56.x
Repository:
lp:~3v1n0/ubuntu/+source/glib2.0

Recent commits

9a88e65... by Simon McVittie

New upstream version 2.56.2

d4b6039... by Matthias Clasen <email address hidden>

2.56.2

d0f6a59... by Matthias Clasen <email address hidden>

network monitor portal: update properties initially

With version 2, we need to query the values explicitly.
The properties made this automatic.

7ddd1de... by Matthias Clasen <email address hidden>

network monitor: Update portal implementation

The network monitor portal interface is changing.
Version 2 is no longer using properties, but getters
instead (this lets the portal apply access control
and avoid sending information to non-networked
sandboxes).

To support both version 1 and 2 of the interface,
we stop using generated code and instead deal with
the api differences in our own code, which is not
too difficult.

Support version 1 as well

edcce31... by Milan Crha <email address hidden>

gnetworkmonitor: Fix use-after-free when using from another thread

When using g_network_monitor_get_default() from another thread, it’s
possible for network-changed events to be processed after an instance of
GNetworkMonitor has been disposed, causing use-after-free problems.

Fix that by moving some of the initialisation into the GInitable.init()
chain, rather than in a main context idle callback.

This includes a unit test which probabilistically reproduces the bug
(but can’t do so deterministically due to it being a race condition).

Commit amended by Philip Withnall <email address hidden> before
pushing.

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

0b4e821... by Ondrej Holy

Merge branch 'cherry-pick-volume-mount-2-56' into 'glib-2-56'

Cherry pick GVolumeMonitor mount changes to glib-2-56 from issue #1458

See merge request GNOME/glib!224

d338fda... by Philip Withnall

Merge branch '1452-backport-glib-2-56' into 'glib-2-56'

Backport GFileInfo win32 fixes to glib-2-56

See merge request GNOME/glib!237

7fa2ad5... by LRN

W32: consider NTFS mounpoints to be symlinks

While mountpoints are *not* symlinks, strictly speaking,
they works in a similar enough way, so consider them to be
symlinks for the purpose of querying local file info.

9f56652... by LRN

W32: correctly use st_ctime

On Windows st_ctime field is the file creation time.
POSIX mandates that field to be the file state change time.
Naturally, glib code interpreted st_ctime as POSIX suggested,
and the result was bad.
Fix this by introducing special W32-only logic for setting
attributes from st_ctime field.

Fixes issue #1452.

2c1aee1... by Ondrej Holy

gio-tool: Hold GVolumeMonitor reference during operations

Releasing GVolumeMonitor before g_volume_mount finish cause that
g_volume_get_mount returns NULL, because the mount is not correctly
propagated to the volume.

(Backported from commit 88b8ebb5dde0512fd1e098efe4c217111876d252 with
minor merge conflicts.)

https://gitlab.gnome.org/GNOME/glib/issues/1458