| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If the app has an AppData file with org.gnome.Gimp.appdata.xml that contains
<id>org.gnome.Gimp</id> and also a org.gnome.Gimp.desktop then the second gets
added as a new component as the .desktop suffix is optional, but allowed for
compatibility.
Just rename the .desktop component ID in this case to force the app to be
subsumed rather than added.
|
|
|
|
|
| |
This allows us to have an appdata file with <id>org.gnome.Gimp</id> without
being forced to rename the gimp.desktop file.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This enables a lot of software to comply with the GDPR and also allows us to
show translated warning and EULA text to unsuspecting users.
|
|
|
|
|
|
| |
Only switch to the string comparison after the numeric part has been used.
Fixes https://github.com/hughsie/appstream-glib/issues/231
|
|
|
|
|
|
|
|
| |
If the guessing fails, we fall back to the arch/rpm/deb-derived name but we
don't want to show weird things in the logs.
Fixes https://github.com/hughsie/appstream-glib/issues/228, many thanks to
Andrew Gunnerson for the initial patch.
|
|
|
|
| |
This allows us to whitelist the sections that have to match.
|
| |
|
| |
|
|
|
|
|
| |
... to match with what the shell extensions plugin in gnome-software
does.
|
| |
|
|
|
|
|
| |
Padding is no longer being used as it makes the software center look bad.
Lets make the application author look bad instead so they can fix the icon.
|
|
|
|
| |
This will of course make it look blurry in most cases.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Althought the correct way to do this would be to construct a GTree structure,
splitting on AND and brackets, and having children of OR, I don't have a
spare weekend to implement this and then write all the tests.
This simplistic parser will correctly validate more files and that's good
enough for now.
Fixes https://github.com/hughsie/appstream-glib/issues/226
|
|
|
|
|
|
|
|
|
| |
The SPDX team have decided to rename quite a few common tags (with the '-only'
and '-or-later') suffixes and this unfortunately breaks the world.
Convert the new-style v3 style IDs to the v2 style and thus accept both forms.
Fixes https://github.com/hughsie/appstream-glib/issues/225
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/224
|
|
|
|
|
| |
Sometimes it returns a return code 25088 (which is 0x6200) which isn't an error
code in rwpng.h -- we can't really trust pngquant so just log the warning.
|
| |
|
|
|
|
|
| |
... and convert the appstream ID to be compatible with what gnome-tweaks
uses (@'s replaced with _ and no .shell-extension at the end).
|
|
|
|
|
|
|
|
| |
If we use the same metainfo.xml file for unstable and stable releases we can't
sort by 'version' *and* 'timestamp'. Pick the former so versions from the same
branch can be grouped together.
Fixes https://github.com/hughsie/appstream-glib/issues/222
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/223
|
| |
|
| |
|
|
|
|
| |
Fixes: https://github.com/hughsie/lvfs-website/issues/33
|
|
|
|
| |
These are used to identify development or stable release information.
|
|
|
|
|
|
|
|
| |
Using GObject Introspection we were creating an object using GLib.Bytes.new(buf)
where buf was a python str object. This created a GBytes object with no
trailing NUL char but we were expecting a NUL-terminated string when both doing
fnmatch() and also processing the XML. Support this by guarding fnmatch and
also by using the string length when using the GMarkupParseContext.
|
|
|
|
|
| |
Malformed .desktop files might causes crashes when
returned lists are NULL.
|
| |
|
| |
|
|
|
|
|
| |
The size of an enum is undefined for most compilers (although, GCC normally does
something sensible) but be explicit to avoid changing ABI accidentally.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/218
|
| |
|
| |
|
| |
|
|
|
|
| |
This allows us to parse an AsApp object from a blob of memory.
|
|
|
|
| |
More than one component in an AppStream file may define the same provide.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/210
|
|
|
|
|
|
| |
The .desktop suffix is now optional in the AppStream component <id>.
Fixes: https://github.com/hughsie/appstream-glib/issues/209
|
|
|
|
| |
Languages may have been pre-added based on the information in `metainfo.xml` files, so just because we didn’t auto-detect a language doesn’t mean that none are present. Fixes #207.
|