~vcs-imports/gnome-settings-daemon/+git/gnome-settings-daemon:wip/hughsie/subman

Last commit made on 2019-06-28
Get this branch:
git clone -b wip/hughsie/subman https://git.launchpad.net/~vcs-imports/gnome-settings-daemon/+git/gnome-settings-daemon

Branch merges

Branch information

Recent commits

298355d... by Kalev Lember <email address hidden>

subman: Increase RHSM dbus call timeouts

Increase the dbus timeouts to 5 minutes as the register/unregister calls
seem to routinely take more than a minute.

ca35861... by Kalev Lember <email address hidden>

subman: Add InstalledProducts dbus property for g-c-c

3635202... by Kalev Lember <email address hidden>

subman: trivial: Fix typo

b35d9c7... by Richard Hughes

f

7da0857... by Richard Hughes

subman: Add a new plugin to provide system subscription information

4935cbc... by Marek Kašík

smartcard: Cancel cancellable when stopping

self->cancellable in GsdSmartcardManager is not cancelled
at gsd_smartcard_manager_stop() and hence some callbacks are
still called after unload_nss() which clears SECMODListLock
which is used by SECMOD_GetReadLock() / SECMOD_ReleaseReadLock().

This leads to crashes in NSSRWLock_LockRead_Util() and
NSSRWLock_UnlockRead_Util() probably.

Also check for return value of g_cancellable_connect().

See https://bugzilla.redhat.com/show_bug.cgi?id=1646359,
https://bugzilla.redhat.com/show_bug.cgi?id=1688791 and
their duplicates for additional info.

18095f4... by Benjamin Berg <email address hidden>

power: Only disable Suspend/Hibernate actions inside VM

While we theoretically only want a different default value inside a VM,
we currently hack this by never doing a suspend action inside VMs.
However, that also breaks automatic logout, which is an unintended side
effect.

Move the check to not install the corresponding timeout (preventing
sleep warnings from being displayed) and also only enforce the VM
specific hack for the Suspend and Hibernate actions.

(cherry picked from commit c07ea84b54964ef95461047c53d358f4570e8808)

89f678a... by Benjamin Berg <email address hidden>

color: Add test for always on and shortened smearing time

a101e96... by Benjamin Berg <email address hidden>

color: Allow night light to be always on

Currently if the user configures the "from" and "to" times for the night
light schedule to be close together or equal, g-s-d gets confused as it
still tries to smear the transition over a full hour period.

To fix this, first make sure that the smearing period is short enough to
fit between sunrise and sunset. Also redefine equal start/end times when
calculating whether a time falls into a range as the full 24h period.

This effectively means that we will smear over the full day or night
time when the sunrise and sunset are closer than an hour to each other.
It also means that we always enable night light when the times are
equal.

Based on a patch by Matthew Leeds <email address hidden>.

5bd33c8... by Benjamin Berg <email address hidden>

Fix MPRIS issues with disconnecting clients

When clients disconnected and they were not the active client they would
not be removed from the list. This caused the controller to create a
proxy for non-existing clients, causing a bad state. The "connecting"
boolean was also not reset, meaning that a new MPRIS client would never
be used.

Also, there seems to have been a race caused by the fact that we
destroyed the DBus proxy from the vanished signal. Change the DBus proxy
to be removed when its g-name-owner property becomes NULL.

Fixes #45

(cherry picked from commit 162379ed515a7af7601207b664b7003c4ca6fe02)