Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | XXXwip/hughsie/new-style-id-fix | Richard Hughes | 2018-04-18 | 1 | -0/+7 |
| | |||||
* | trivial: Do not show a critical warning using appstream-compose on an unknown ID | Richard Hughes | 2018-04-18 | 1 | -1/+8 |
| | |||||
* | Never add more than one component to the AppStream store when composing | Richard Hughes | 2018-04-18 | 1 | -0/+6 |
| | | | | | | | | | | 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. | ||||
* | If the launchable is specified don't guess it when composing | Richard Hughes | 2018-04-16 | 1 | -6/+13 |
| | | | | | This allows us to have an appdata file with <id>org.gnome.Gimp</id> without being forced to rename the gimp.desktop file. | ||||
* | Add as_store_get_app_by_launchable() | Richard Hughes | 2018-04-16 | 2 | -0/+40 |
| | |||||
* | trivial: Add the missing <requires> enum types | Richard Hughes | 2018-04-12 | 2 | -0/+18 |
| | |||||
* | Add support for component agreements | Richard Hughes | 2018-04-11 | 18 | -2/+1562 |
| | | | | | 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. | ||||
* | Correctly compare version numbers like '1.2.3' and '1.2.3a' | Richard Hughes | 2018-04-09 | 2 | -33/+28 |
| | | | | | | Only switch to the string comparison after the numeric part has been used. Fixes https://github.com/hughsie/appstream-glib/issues/231 | ||||
* | Don't include the path component in the name when parsing the package filename | Richard Hughes | 2018-03-27 | 2 | -5/+17 |
| | | | | | | | | 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. | ||||
* | Add as_utils_unique_id_match() | Richard Hughes | 2018-03-15 | 3 | -7/+78 |
| | | | | This allows us to whitelist the sections that have to match. | ||||
* | trivial: post release version bump | Richard Hughes | 2018-03-13 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.7appstream_glib_0_7_7 | Richard Hughes | 2018-03-13 | 30 | -552/+1080 |
| | |||||
* | Use shell-extensions::uuid for custom shell extensions metadata key | Kalev Lember | 2018-03-13 | 1 | -1/+1 |
| | | | | | ... to match with what the shell extensions plugin in gnome-software does. | ||||
* | trivial: Fix the introspection for as_app_get_metadata() | Richard Hughes | 2018-03-12 | 1 | -1/+1 |
| | |||||
* | Always resize AppStream icons to fit the destination size | Richard Hughes | 2018-03-09 | 2 | -1/+3 |
| | | | | | 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. | ||||
* | Add AS_IMAGE_LOAD_FLAG_ALWAYS_RESIZE to always resize the pixbuf | Richard Hughes | 2018-03-09 | 2 | -0/+13 |
| | | | | This will of course make it look blurry in most cases. | ||||
* | trivial: Fix up a build warning from a recent commit | Richard Hughes | 2018-03-08 | 1 | -1/+1 |
| | |||||
* | Correctly validate files using OR in the metadata_license | Richard Hughes | 2018-03-08 | 1 | -10/+38 |
| | | | | | | | | | | | 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 | ||||
* | Update the SPDX license list to v3.0 | Richard Hughes | 2018-03-08 | 3 | -116/+164 |
| | | | | | | | | | 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 | ||||
* | trivial: Add missing 'fur' translation | Richard Hughes | 2018-03-01 | 1 | -0/+1 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/224 | ||||
* | Don't abort the build if pngquant fails | Richard Hughes | 2018-03-01 | 2 | -4/+9 |
| | | | | | 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. | ||||
* | trivial: Never add duplicated <requires> nodes for components | Richard Hughes | 2018-02-23 | 3 | -0/+46 |
| | |||||
* | Add custom metadata key for shell extension uuid | Kalev Lember | 2018-02-22 | 1 | -1/+2 |
| | | | | | ... and convert the appstream ID to be compatible with what gnome-tweaks uses (@'s replaced with _ and no .shell-extension at the end). | ||||
* | Do not fail to validate if the timestamps are out of order | Richard Hughes | 2018-02-21 | 2 | -24/+2 |
| | | | | | | | | 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 | ||||
* | Treat pngquant exit code of 98 (nothing done) as success | Richard Hughes | 2018-02-21 | 1 | -1/+1 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/223 | ||||
* | trivial: post release version bump | Richard Hughes | 2018-02-09 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.6appstream_glib_0_7_6 | Richard Hughes | 2018-02-09 | 2 | -1/+13 |
| | |||||
* | Never include '&' in attribute values | Richard Hughes | 2018-01-30 | 2 | -4/+9 |
| | | | | Fixes: https://github.com/hughsie/lvfs-website/issues/33 | ||||
* | Add support for release types | Richard Hughes | 2018-01-25 | 3 | -4/+115 |
| | | | | These are used to identify development or stable release information. | ||||
* | Fix an invalid read when using as_app_parse_data() from Python | Richard Hughes | 2018-01-24 | 4 | -22/+79 |
| | | | | | | | | 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. | ||||
* | as-app-desktop: don't deference invalid lists | Marco Trevisan (Treviño) | 2018-01-23 | 1 | -4/+4 |
| | | | | | Malformed .desktop files might causes crashes when returned lists are NULL. | ||||
* | trivial: post release version bump | Richard Hughes | 2018-01-22 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.5appstream_glib_0_7_5 | Richard Hughes | 2018-01-22 | 28 | -174/+711 |
| | |||||
* | Don't expect an enum when really passing a bitfield | Richard Hughes | 2018-01-22 | 5 | -77/+71 |
| | | | | | The size of an enum is undefined for most compilers (although, GCC normally does something sensible) but be explicit to avoid changing ABI accidentally. | ||||
* | Add more GObject Introspection annotations for Python | Richard Hughes | 2018-01-22 | 4 | -20/+20 |
| | |||||
* | Fix a crash when calling as_release_add_location() directly | Richard Hughes | 2018-01-22 | 1 | -0/+1 |
| | |||||
* | trivial: Add missing types from the Introspection | Richard Hughes | 2018-01-22 | 1 | -0/+2 |
| | |||||
* | Explicitly require a new enough json-glib | Richard Hughes | 2018-01-15 | 1 | -1/+1 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/218 | ||||
* | trivial: Fix regression when parsing XML AppData files | Richard Hughes | 2017-12-19 | 1 | -1/+1 |
| | |||||
* | Do not use an 'enable' prefix for meson arguments | Richard Hughes | 2017-12-18 | 14 | -89/+84 |
| | |||||
* | Describe connection problems/HTTP errors when validating images | suve | 2017-12-17 | 1 | -3/+11 |
| | |||||
* | Add as_app_parse_data() | Richard Hughes | 2017-12-15 | 2 | -37/+63 |
| | | | | This allows us to parse an AsApp object from a blob of memory. | ||||
* | Add as_store_get_apps_by_provide() | Richard Hughes | 2017-12-14 | 3 | -0/+55 |
| | | | | More than one component in an AppStream file may define the same provide. | ||||
* | Fix compile with GCab v1.0 | Richard Hughes | 2017-12-14 | 2 | -1/+4 |
| | |||||
* | trivial: Check for duplicate content ratings sections with the same kind | Richard Hughes | 2017-12-09 | 3 | -0/+19 |
| | |||||
* | Support OARS v1.1 additions | Richard Hughes | 2017-12-09 | 1 | -1/+35 |
| | |||||
* | Never change the default screenshot when processing AppData | Richard Hughes | 2017-12-09 | 2 | -0/+31 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/210 | ||||
* | Fix appstream-compose when using new-style desktop IDs | Richard Hughes | 2017-12-07 | 1 | -6/+10 |
| | | | | | | The .desktop suffix is now optional in the AppStream component <id>. Fixes: https://github.com/hughsie/appstream-glib/issues/209 | ||||
* | Don’t fall back to en if other languages are available. | Peter Oliver | 2017-11-30 | 1 | -3/+1 |
| | | | | 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. | ||||
* | Generate icons and samples for emoji fonts. | Peter Oliver | 2017-11-21 | 1 | -0/+2 |
| |