| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Apps that have OnlyShowIn= are equivalent to NoDisplay=True. Veto such
apps to avoid them inadvertently showing up.
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.
|
| |
|
|
|
|
|
| |
commit 562772 introduced the usage of pngquant (by calling out to the binary)
and makes use of the --strip parameter, which was introduced in version 2.8 of pngquant.
|
|
|
|
| |
Fixes https://github.com/hughsie/appstream-glib/issues/203
|
|
|
|
| |
Fixes an extraction issue when using OpenSUSE.
|
|
|
|
|
|
|
|
|
|
|
|
| |
When saving a 16:9 pixbuf and the image parameter is not 16:9 we create
a transparent pixbuf with this ratio and fit the image in it. However,
this calculation was not correctly done due to an integer division so
the result is that the width/height of the pixbuf's area to be copied
was bigger than what the dimensions of the pixbuf; so no image was
copied and we'd be left with a trasnparent pixbuf.
This patch fixes this problem by using multiplications instead of
a division in the mentioned code (as they avoid imprecision problems).
|