gnome-software:wip/1472-rework-threading-model

Last commit made on 2024-03-21
Get this branch:
git clone -b wip/1472-rework-threading-model https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/1472-rework-threading-model
Repository:
lp:gnome-software

Recent commits

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

plugins: Set GsPluginEvent::action property on plugin events

The event's action property allows to fine-tune error messages
in the GUI, thus set it, if possible.

3938f21... by Milan Crha <email address hidden>

gs-plugin-event: Remove 'job' property

It is never set, the plugins do not know what GsPluginJob instance
they are running for, thus reading the property always leads to get
a NULL pointer.

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

lib: Set GsPluginJob::action property in the descendants

Set the property on all where a corresponding plugin action exists.

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

lib: Add GS_PLUGIN_ACTION_REFRESH_METADATA

To correspond to the GsPluginJobRefreshMetadata job.

6599c20... by Milan Crha <email address hidden>

flatpak: Set "interactive" flag on GsPluginEvent

The event cannot know otherwise whether it's from an interactive
or non-interactive job.

00b6420... by Milan Crha <email address hidden>

gs-cmd: All refine flags are `GS_PLUGIN_REFINE_FLAGS_MASK`

It's not signed int32, especially when it covered all 32 bits.
Use the constant, to ensure correctness.

0a10a33... by Milan Crha <email address hidden>

lib: Reorder GsPluginRefineFlags

To not have gaps in the numbers, showing there are some free flags.
This would require plugin API bump, but it already happened, thus
should be fine.

9b2a925... by Milan Crha <email address hidden>

gs-plugin-job: Replace 'interactive' property with virtual function

The descendants know whether they are run interactive or not, thus
ask them instead of having its own property, which is already unused.

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

src: Stop using obsolete gs_plugin_job_set_interactive()

This is not needed since every job has a flag for the same.

8c0465f... by Milan Crha <email address hidden>

gs-plugin: Remove unused GsPluginFlags