gnome-software:wip/kalev/plugin_loader_cancellable

Last commit made on 2017-12-12
Get this branch:
git clone -b wip/kalev/plugin_loader_cancellable https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/kalev/plugin_loader_cancellable
Repository:
lp:gnome-software

Recent commits

2cc9a46... by Kalev Lember <email address hidden> on 2017-12-12

plugin loader: Fix converting gio errors in async _finish() functions

ca1fc8a... by Kalev Lember <email address hidden> on 2017-12-12

plugin loader: Fix a race with thread cancelling

In our UI code, a common pattern is to cancel async operation
cancellables in dispose, and then rely on the callbacks to return
immediately with CANCELLED error code. This pattern makes it easy to
short circuit when CANCELLED is set and avoid accessing private data
that has been released in dispose.

Commit fa7216c1284d957acbf266f879a99ffcff06abee regressed this by
changing the tasks created in the plugin loader to not have
return-on-cancel set, which causes the async operations to not return
synchronously, breaking this UI pattern.

This commit changes it back so that plugin loader async operations
return synchronously when the caller cancels the cancellable.

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

4d2793b... by Kalev Lember <email address hidden> on 2017-12-12

plugin loader: Simplify task cancellable tracking

Pass the GTask around and use g_task_get_cancellable() instead of
keeping track of it ourselves in a custom struct.

e3c5acd... by Fabio Tomat <email address hidden> on 2017-12-12

Update Friulian translation

8f259e5... by Kukuh Syafaat on 2017-12-12

Update Indonesian translation

e7ea390... by Daniel Mustieles on 2017-12-12

Update Spanish translation

78e0f28... by Richard Hughes on 2017-12-11

trivial: Fix example spec file

8ccb7f3... by Richard Hughes on 2017-12-11

fwupd: Prepend the vendor name to the device name if not included

This makes it show a sensible thing in the GsAppRow

82ee0ec... by Richard Hughes on 2017-12-10

Add translated strings for the new OARS v1.1 additions

6c06d31... by Richard Hughes on 2017-12-10

trivial: Sync the string descriptions for OARSv1.0