Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not use an 'enable' prefix for meson argumentswip/hughsie/new-style-meson-args | Richard Hughes | 2017-12-17 | 14 | -89/+84 |
| | |||||
* | 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 |
| | |||||
* | Trivial: Set minimal required version for pngquant in the sample .spec file | Dominique Leuenberger | 2017-11-16 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | Use pngquant to make the application icons take up less space | Richard Hughes | 2017-11-14 | 4 | -0/+42 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/203 | ||||
* | Do not try to extract duplicate files in the icon theme packages | Richard Hughes | 2017-11-13 | 1 | -0/+5 |
| | | | | Fixes an extraction issue when using OpenSUSE. | ||||
* | Fix the arithmetic when fitting an image in 16:9 | Joaquim Rocha | 2017-11-10 | 1 | -1/+3 |
| | | | | | | | | | | | | 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). | ||||
* | trivial: post release version bump | Richard Hughes | 2017-11-09 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.4appstream_glib_0_7_4 | Richard Hughes | 2017-11-09 | 1 | -0/+10 |
| | |||||
* | trivial: Disable the fonts self tests in the builder | Richard Hughes | 2017-11-03 | 1 | -2/+19 |
| | |||||
* | Only try to set the file permissions on regular files | Richard Hughes | 2017-11-03 | 1 | -1/+4 |
| | | | | Fixes a build error with the mcomix package in openSUSE. | ||||
* | trivial: Show a useful error message if decompressing a package fails | Richard Hughes | 2017-11-03 | 2 | -2/+4 |
| | |||||
* | Add the 'hardware' requires type | Richard Hughes | 2017-10-31 | 3 | -1/+13 |
| | |||||
* | trivial: post release version bump | Richard Hughes | 2017-10-23 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.3appstream_glib_0_7_3 | Richard Hughes | 2017-10-23 | 27 | -50/+68 |
| | |||||
* | Add support for URL launchable types | Richard Hughes | 2017-10-23 | 2 | -0/+6 |
| | |||||
* | trivial: Fix up the documentation for the SERVICE launchable types | Richard Hughes | 2017-10-23 | 1 | -2/+4 |
| | |||||
* | Prefer /usr/share/metainfo as default path for metainfo files | Jeremy Bicha | 2017-10-23 | 1 | -1/+1 |
| | | | | follow-up from commit 9df56f2 | ||||
* | Fix the inode mode to be sane on extracted files | Richard Hughes | 2017-10-20 | 1 | -0/+1 |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/190 | ||||
* | Add new launchable types from the 0.11 series of the spec | Marius Vollmer | 2017-10-16 | 2 | -0/+10 |
| | |||||
* | trivial: Use a helper macro to make the bit-shifting easier to read | Richard Hughes | 2017-10-13 | 1 | -3/+5 |
| | |||||
* | Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version strings | Richard Hughes | 2017-10-12 | 3 | -0/+26 |
| | |||||
* | Add as_app_get_screenshot_default() | Richard Hughes | 2017-10-09 | 3 | -1/+21 |
| | |||||
* | Write XML for newer AppStream specification versions | Richard Hughes | 2017-10-09 | 6 | -53/+32 |
| | | | | | | | | | Any XML parser should ignore the extra tags or attributes, and so it serves no purpose to artificailly hide these when building metadata for older versions of the specification. This also fixes a bug on i386 where 0.6 != 0.6 and I didn't want to use fabs() all over the place for basically no reason. | ||||
* | trivial: Fix a possible out-of-bounds read in as_markup_import() | Richard Hughes | 2017-10-09 | 1 | -3/+4 |
| | |||||
* | lib/app-validate: Fix typo in variable name | Philip Withnall | 2017-10-02 | 1 | -4/+4 |
| | | | | Signed-off-by: Philip Withnall <withnall@endlessm.com> | ||||
* | Add as_app_get_release_by_version() | Richard Hughes | 2017-09-14 | 3 | -0/+30 |
| | |||||
* | trivial: Fix the path replacement in the installed tests | Richard Hughes | 2017-09-14 | 1 | -2/+9 |
| | |||||
* | Do not assign "flatpak" as an app's origin when no origin was found | Joaquim Rocha | 2017-09-06 | 1 | -2/+5 |
| | | | | | | | | This fallback mechanism is useful when it comes to PackageKit type apps, but for Flatpak ones will result in GNOME Software trying to look for a remote called "flatpak" and: 1) if it exists, the app is associated with it erroneously, or 2) if it doesn't exist, an error banner will be shown in the UI. | ||||
* | trivial: post release version bump | Richard Hughes | 2017-08-21 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.2appstream_glib_0_7_2 | Richard Hughes | 2017-08-21 | 2 | -5/+17 |
| | |||||
* | libappstream-glib/self-test: Add some additional checks | Philip Withnall | 2017-08-20 | 1 | -1/+3 |
| | | | | | | | | | A few more assertions in the tests, as suggested by Coverity, covering return values which aren’t currently checked. Coverity CIDs: 1454186, 1454188 Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> | ||||
* | libappstream-builder/utils: Drop an unreachable branch | Philip Withnall | 2017-08-20 | 1 | -4/+0 |
| | | | | | | | | | There’s a precondition check for (search != NULL), so the function will hit an assertion failure before this branch. Coverity CID: 1454189 Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> | ||||
* | libappstream-glib: Use g_ascii_strcasecmp() instead of strcasecmp() | Philip Withnall | 2017-08-15 | 1 | -1/+1 |
| | | | | | | | | 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> | ||||
* | build: Define _XOPEN_SOURCE in order to expose realpath() in headers | Philip Withnall | 2017-08-15 | 1 | -0/+3 |
| | | | | | | | We need realpath() for libappstream-builder, which needs the _XOPEN_SOURCE feature test macro. Define it. Signed-off-by: Philip Withnall <withnall@endlessm.com> | ||||
* | build: Enable C99 support in meson.build | Philip Withnall | 2017-08-15 | 1 | -1/+1 |
| | | | | | | | | | We use C99 features (various places in as-app-validate.c), so need to explicitly enable them in meson.build, as some compilers will not enable them automatically, and will instead error when they encounter usage of C99. Signed-off-by: Philip Withnall <withnall@endlessm.com> | ||||
* | Prefer /usr/share/metainfo as default path for metainfo files | Matthias Klumpp | 2017-08-08 | 2 | -2/+2 |
| | | | | | | | | This makes asglib align with the AppStream spec, which sees /usr/share/metainfo as the canonical location for storing metadata, and /usr/share/appdata as legacy (but still must-be-supported) location. Signed-off-by: Richard Hughes <richard@hughsie.com> | ||||
* | trivial: Only run the speed tests when doing the slow self tests | Richard Hughes | 2017-08-06 | 1 | -5/+7 |
| | | | | Fixes: https://github.com/hughsie/appstream-glib/issues/187 | ||||
* | trivial: Fix the self tests from the last commit | Richard Hughes | 2017-08-06 | 1 | -8/+4 |
| | | | | Of course this was going to change the number of warnings... coffee time... | ||||
* | Do not check the suffix of <id> tags | Richard Hughes | 2017-08-06 | 1 | -41/+6 |
| | | | | | | | We now have <launchable> which means the <id> is less constrained for desktop components. The checks for the other types are somewhat dubious too. Fixes: https://github.com/hughsie/appstream-glib/issues/146 | ||||
* | Allow remote icon types for desktop AppData files | Richard Hughes | 2017-08-04 | 1 | -5/+8 |
| | | | | | | If the icon is not redistributable we have to download the icon at runtime. Fixes: https://github.com/flathub/buildbot-config/issues/9 | ||||
* | trivial: post release version bump | Richard Hughes | 2017-08-03 | 2 | -5/+5 |
| | |||||
* | Release version 0.7.1appstream_glib_0_7_1 | Richard Hughes | 2017-08-03 | 28 | -52/+76 |
| |