summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add the 'hardware' requires typewip/hughsie/requires-hardwareRichard 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
|
* Fail to validate if AppData screenshots are duplicatedRichard Hughes2017-08-033-1/+10
| | | | | | | | | | | | As as_app_parse_file() uses %AS_APP_TRUST_FLAG_CHECK_DUPLICATES our existing validation rule checker to work. Add this to the AsAppProblems bitfield and check this for a validation failure. Now: • tag-invalid : <screenshot> content was duplicated Fixes: https://github.com/hughsie/appstream-glib/issues/185
* build: Make gperf dependency fully requiredPhilip Withnall2017-08-032-18/+14
| | | | | | | | | | | Commit 081ced436 made the gperf dependency mandatory, but that seems to have been partially lost in the migration to Meson. If building without gperf available, Meson configure would succeed, but then build would fail due to as-tag-private.h not being generated. Fix that by removing the conditions for gperf in the meson.build files. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* meson: Install appdata-xml.m4Jeremy Bicha2017-07-291-0/+1
| | | | | | Accidentally dropped when ported to meson Fixes: https://github.com/hughsie/appstream-glib/issues/183
* meson: introspection optionalPatrick Ohly2017-07-263-34/+39
| | | | | | | | | | | | | | | | Calling g-ir-scanner when cross-compiling with bitbake/OpenEmbedded fails because it calls the wrong ld (the one from the host). More work will be needed in meson.bbclass and/or gobject-introspection.bbclass to make it work. In the meantime, having an option to turn of introspection is useful perhaps also in other cases where the extra work is not needed. For example, fwupd works fine also when it is off. The name of the new meson option matches the --disable-introspection that is used by some autotools-based projects. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
* meson: avoid unnecessary gdk dependencyPatrick Ohly2017-07-261-1/+1
| | | | | | | | | | gdk is only needed by the asb_plugin_font, which only gets built when both appstream-build and fonts are enabled. Therefore checking for the dependency should also be limited to that case, otherwise gdk has to be provided during compilation also in cases where it is not used at all. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
* Have plugins link with asglib along with asbuilderNeal Gompa2017-07-241-6/+6
| | | | This fixes the build for appstream-glib on Mageia.
* Support CompulsoryForDesktops in YAMLIain Lane2017-07-101-0/+11
| | | | | | So that software centres don't present them as removable. Closes #175
* Update the SPDX license list to 2.6Richard Hughes2017-07-051-1/+6
|
* Skip loading desktop data from Snap directory.Robert Ancell2017-06-281-0/+4
| | | | Don't load data from the snap directory, this information is provided by snapd.
* Add <id> kinds for application providesRichard Hughes2017-06-272-0/+6
| | | | | This allows us to make reviews work when upstream moves or changes company, e.g. com.github.ColorHug -> com.hughski.ColorHug.
* Validate the <id> format according to the specRichard Hughes2017-06-273-3/+40
|
* trivial: post release version bumpRichard Hughes2017-06-222-6/+6
|
* Release version 0.7.0appstream_glib_0_7_0Richard Hughes2017-06-2228-2219/+2648
|
* trivial: Fix up several small memory leaksRichard Hughes2017-06-223-9/+11
|
* trivial: Ensure every app has format set before adding to storeRichard Hughes2017-06-221-0/+7
|
* Do not write a timestamp when using news-to-appdataRichard Hughes2017-06-161-2/+4
|
* trivial: Fix an error message in news-to-appdataRichard Hughes2017-06-161-1/+1
|
* as-app-builder: Don't cast gsize to guint32 when getting file lengthIain Lane2017-06-161-2/+2
| | | | One some CPU architectures this doesn't work.
* Fix regression when building component types without iconsRichard Hughes2017-06-141-0/+3
| | | | These components are allowed to have no icon since b5b4a855.