gnome-software:wip/jrocha/avoid-deref-cherry-picks

Last commit made on 2018-02-27
Get this branch:
git clone -b wip/jrocha/avoid-deref-cherry-picks https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
wip/jrocha/avoid-deref-cherry-picks
Repository:
lp:gnome-software

Recent commits

a6026f9... by Kalev Lember <email address hidden> on 2018-01-12

GsPlugin: Avoid dereferencing self pointer before g_return_if_fail checks

a6f5265... by Kalev Lember <email address hidden> on 2018-01-12

GsAppList: Avoid dereferencing self pointer before g_return_if_fail checks

f08dfe3... by Kalev Lember <email address hidden> on 2018-01-11

GsApp: Avoid dereferencing priv before g_return_if_fail checks

We had a common pattern throughout the file to do:

  GsAppPrivate *priv = gs_app_get_instance_private (app);
  g_autoptr(GMutexLocker) locker = g_mutex_locker_new (&priv->mutex);
  g_return_if_fail (GS_IS_APP (app));

... which led to crashes when app was NULL, as g_return_if_fail was
never reached in that case. This commit reorders this so that we first
do the g_return_if_fail check and only then dereference priv.

49593fa... by Richard Hughes on 2017-09-05

trivial: allow dist'ing with no gnome-software installed

Fixes:

    GLib-GIO-ERROR **: Settings schema 'org.gnome.software' does not contain a
    key named 'external-appstream-system-wide'

0d00765... by Joaquim Rocha <email address hidden> on 2017-09-20

build: Install gnome-software-install-appstream in the correct dir

It needs to be installed in the libexecdir that's given as an option.

8f5b765... by Joaquim Rocha <email address hidden> on 2017-09-18

appstream: Use a special metadata key for controlling the not-launchable quirk

The key is GnomeSoftware::quirks::not-launchable and is useful if we
want to override this quirk more directly than using the component type
and the inexistence of the launchable tag.

0c45b97... by Joaquim Rocha <email address hidden> on 2017-09-18

trivial: Make the updates refresh minimum age only 10 secs

It used to be 10 minutes which can be too much for some users.

4a8e7ae... by Georges Basile Stavracas Neto on 2016-08-08

details: enable horizontal scroll when needed

The Details page uses a fixed size frame, which doesn't
scale down when running on low resolution devices. This
renders the main window way too big on low resolution
displays.

Fix that by making the Details page scroll horizontally
when needed.

https://phabricator.endlessm.com/T11698

5762ea7... by Joaquim Rocha <email address hidden> on 2017-09-12

external-appstream: Fix build

Meson was not well configured for this plugin and thus building it was
failing.

82de215... by Joaquim Rocha <email address hidden> on 2017-09-13

dummy: Fix wildcard tests

It was calling GET_POPULAR with no refine flags, which effectively
ends up performing no refine at all after getting the popular apps
(and this left the apps invalid and thus not considered).