| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
This fixes showing local apps in GNOME Software without AppStream information.
|
|
|
|
| |
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/236
|
|
|
|
| |
This allows us to drop some hacky code in GNOME Software.
|
|
|
|
| |
See https://blogs.gnome.org/hughsie/2017/07/05/using-a-reverse-style-application-ids-in-your-application/
|
|
|
|
|
|
|
|
|
| |
Apps that have OnlyShowIn= are equivalent to NoDisplay=True (gnome-shell
doesn't show them). Veto such apps to avoid them inadvertently showing
up in gnome-software and to match gnome-shell behaviour.
https://bugzilla.redhat.com/show_bug.cgi?id=1567689
https://gitlab.gnome.org/GNOME/gnome-software/issues/367
|
|
|
|
|
| |
Malformed .desktop files might causes crashes when
returned lists are NULL.
|
|
|
|
|
|
|
|
| |
I don’t want to have to think about the right GNU feature test macro to
get strcasecmp() to stop hiding in the system headers. Also, we only
care about ASCII here because we’re dealing with config files.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
|
|
|
|
|
| |
... so that Epiphany itself wouldn't get classified as one.
https://bugzilla.gnome.org/show_bug.cgi?id=776860
|
| |
|
|
|
|
| |
This saves 40ms from the AsStore startup time.
|
|
|
|
|
|
| |
For building we want ->CACHED, for parsing local files we want ->STOCK.
Fixes the other half of https://github.com/hughsie/appstream-glib/pull/128
|
|
|
|
|
|
|
| |
Using the old logic we could have created a LOCAL icon with just the name set,
which is further confused by using LOCAL for the fallback name case.
Fixes half of https://github.com/hughsie/appstream-glib/pull/128
|
|
|
|
| |
This reverts commit 714e78b188872e9866956db95f22efe4e37189c5.
|
|
|
|
|
|
|
|
|
|
|
| |
AsIcon documents that STOCK icons should have the name set; and that
LOCAL icons should have the filename set. The previous approach to
extracting these properties from as_app_parse_file_key() could sometimes
result in a LOCAL icon with no filename set, if tmp was not an icon name
and not a fallback icon name. Now, we assume that (as long as tmp is not
an absolute path) this means it's an icon name for an icon which is not
installed, and hence the AsIcon type should be STOCK.
Signed-off-by: Philip Withnall <philip.withnall@collabora.co.uk>
|
|
|
|
| |
Continue to load them at runtime from installed desktop files.
|
|
|
|
|
| |
While cleaning up some cosmetic issues I managed to exclude some
important parts of the changes...
|
|
|
|
|
| |
This is helpful for use-cases where those keys are needed by users of
the library.
|
|
|
|
| |
We already check the whitelist, so nothing changes really.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This has not been an ID kind since spec version 0.5, and it's confusing to have
two things in GNOME Software.
The old symbols and enumerated types are left to maintain ABI compatibility.
|
|
|
|
|
|
|
|
|
| |
At the moment the blacklist list is being used to filter applications that have
an AppData file, and also installed desktop files.
I agree it's wrong to filter applications with valid AppData files from the
metadata, and the various runtime blacklist entries are better suited to the
front-end application which can adjust it as the design dictates.
|
| |
|
|
|
|
| |
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=754313
|
| |
|
|
|
|
|
|
|
| |
It's a common mistake in desktop files to list icons with extension,
such as 'filename.png'. Try harder to handle them and special case
common extensions; also while at this, make sure to handle icons
with full path as well.
|
| |
|
| |
|
|
|
|
|
|
|
| |
We still have a few types that don't support g_autoptr(), but very very
close to having everything ported over.
This also bumps gdk-pixbuf dep to 2.31.5 for the cleanup macro support.
|
|
|
|
|
|
| |
Using the length of -1 for 'unknown' breaks the GIR-generated bindings.
This breaks API and ABI and the soname has been updated to reflect this.
|
| |
|
|
|
|
|
| |
This could be, for example, using the desktop GenericName in the place of
Comment or <summary> for a one line summary.
|
| |
|
|
No logic changes other than the moved code.
|