summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Do not use an 'enable' prefix for meson argumentswip/hughsie/new-style-meson-argsRichard Hughes2017-12-1714-89/+84
|
* Add as_app_parse_data()Richard Hughes2017-12-152-37/+63
| | | | This allows us to parse an AsApp object from a blob of memory.
* Add as_store_get_apps_by_provide()Richard Hughes2017-12-143-0/+55
| | | | More than one component in an AppStream file may define the same provide.
* Fix compile with GCab v1.0Richard Hughes2017-12-142-1/+4
|
* trivial: Check for duplicate content ratings sections with the same kindRichard Hughes2017-12-093-0/+19
|
* Support OARS v1.1 additionsRichard Hughes2017-12-091-1/+35
|
* Never change the default screenshot when processing AppDataRichard Hughes2017-12-092-0/+31
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/210
* Fix appstream-compose when using new-style desktop IDsRichard Hughes2017-12-071-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 Oliver2017-11-301-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 Oliver2017-11-211-0/+2
|
* Trivial: Set minimal required version for pngquant in the sample .spec fileDominique Leuenberger2017-11-161-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 spaceRichard Hughes2017-11-144-0/+42
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/203
* Do not try to extract duplicate files in the icon theme packagesRichard Hughes2017-11-131-0/+5
| | | | Fixes an extraction issue when using OpenSUSE.
* Fix the arithmetic when fitting an image in 16:9Joaquim Rocha2017-11-101-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 bumpRichard Hughes2017-11-092-5/+5
|
* Release version 0.7.4appstream_glib_0_7_4Richard Hughes2017-11-091-0/+10
|
* trivial: Disable the fonts self tests in the builderRichard Hughes2017-11-031-2/+19
|
* Only try to set the file permissions on regular filesRichard Hughes2017-11-031-1/+4
| | | | Fixes a build error with the mcomix package in openSUSE.
* trivial: Show a useful error message if decompressing a package failsRichard Hughes2017-11-032-2/+4
|
* Add the 'hardware' requires typeRichard Hughes2017-10-313-1/+13
|
* trivial: post release version bumpRichard Hughes2017-10-232-5/+5
|
* Release version 0.7.3appstream_glib_0_7_3Richard Hughes2017-10-2327-50/+68
|
* Add support for URL launchable typesRichard Hughes2017-10-232-0/+6
|
* trivial: Fix up the documentation for the SERVICE launchable typesRichard Hughes2017-10-231-2/+4
|
* Prefer /usr/share/metainfo as default path for metainfo filesJeremy Bicha2017-10-231-1/+1
| | | | follow-up from commit 9df56f2
* Fix the inode mode to be sane on extracted filesRichard Hughes2017-10-201-0/+1
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/190
* Add new launchable types from the 0.11 series of the specMarius Vollmer2017-10-162-0/+10
|
* trivial: Use a helper macro to make the bit-shifting easier to readRichard Hughes2017-10-131-3/+5
|
* Add AS_VERSION_PARSE_FLAG_USE_BCD when formatting version stringsRichard Hughes2017-10-123-0/+26
|
* Add as_app_get_screenshot_default()Richard Hughes2017-10-093-1/+21
|
* Write XML for newer AppStream specification versionsRichard Hughes2017-10-096-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 Hughes2017-10-091-3/+4
|
* lib/app-validate: Fix typo in variable namePhilip Withnall2017-10-021-4/+4
| | | | Signed-off-by: Philip Withnall <withnall@endlessm.com>
* Add as_app_get_release_by_version()Richard Hughes2017-09-143-0/+30
|
* trivial: Fix the path replacement in the installed testsRichard Hughes2017-09-141-2/+9
|
* Do not assign "flatpak" as an app's origin when no origin was foundJoaquim Rocha2017-09-061-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 bumpRichard Hughes2017-08-212-5/+5
|
* Release version 0.7.2appstream_glib_0_7_2Richard Hughes2017-08-212-5/+17
|
* libappstream-glib/self-test: Add some additional checksPhilip Withnall2017-08-201-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 branchPhilip Withnall2017-08-201-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 Withnall2017-08-151-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 headersPhilip Withnall2017-08-151-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.buildPhilip Withnall2017-08-151-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 filesMatthias Klumpp2017-08-082-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 testsRichard Hughes2017-08-061-5/+7
| | | | Fixes: https://github.com/hughsie/appstream-glib/issues/187
* trivial: Fix the self tests from the last commitRichard Hughes2017-08-061-8/+4
| | | | Of course this was going to change the number of warnings... coffee time...
* Do not check the suffix of <id> tagsRichard Hughes2017-08-061-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 filesRichard Hughes2017-08-041-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 bumpRichard Hughes2017-08-032-5/+5
|
* Release version 0.7.1appstream_glib_0_7_1Richard Hughes2017-08-0328-52/+76
|