summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add two hash functions specifically for unique-idswip/hughsie/unique-id-hashRichard Hughes2016-08-253-0/+140
|
* Ignore system datadirs that are actually per-userRichard Hughes2016-08-251-0/+4
| | | | When running in jhbuild this is somehow set incorrectly.
* trivial: Don't show some applications as installed when they are notRichard Hughes2016-08-251-2/+4
| | | | Only deduplicate AppStream::AppData when the appdata file has system scope.
* trivial: Add a query-installed command to appstream-utilRichard Hughes2016-08-251-0/+59
|
* trivial: Do not hang when using 'appstream-util search foo --verbose'Richard Hughes2016-08-251-2/+1
|
* trivial: Show the installed state in the appstream-util search outputRichard Hughes2016-08-231-3/+12
|
* trivial: Restrict the bundle kind when parsing local filesRichard Hughes2016-08-231-0/+7
| | | | This means we don't wildcard match against user non-package apps.
* trivial: Restrict the scope when parsing local filesRichard Hughes2016-08-231-0/+1
| | | | This means we don't wildcard match against user non-package apps.
* trivial: Use correct autoptr cleanup on yaml error when loading from a file. ↵Mario Limonciello2016-08-221-1/+1
| | | | (#133)
* Don't require an icon from LOCALIZATION kindRichard Hughes2016-08-221-0/+1
|
* trivial: lower requirement for appstream-glib (#132)Mario Limonciello2016-08-221-1/+1
| | | This allows easier compilation on Ubuntu 16.04
* Remove the inf parsing from appstream-glibRichard Hughes2016-08-2210-1523/+35
| | | | | | | | | | | I don't want to maintain this large chunk of complex code in the main library, especially as it's basically unused except for the validation of .cab files. The latter has a python implmentation as used on the LVFS, so it's really just dead code now. Move the (unused) implementation to libginf for archival, but leave stubs in to avoid upsetting the API/ABI checkers. We can remove the symbols when we next break soname.
* Revert "as-app-desktop: Fix association between icon names and types (#128)"Richard Hughes2016-08-221-7/+27
| | | | This reverts commit 714e78b188872e9866956db95f22efe4e37189c5.
* as-app-desktop: Fix association between icon names and types (#128)Philip Withnall2016-08-221-27/+7
| | | | | | | | | | | AsIcon documents that STOCK icons should have the name set; and that LOCAL icons should have the filename set. The previous approach to extracting these properties from as_app_parse_file_key() could sometimes result in a LOCAL icon with no filename set, if tmp was not an icon name and not a fallback icon name. Now, we assume that (as long as tmp is not an absolute path) this means it's an icon name for an icon which is not installed, and hence the AsIcon type should be STOCK. Signed-off-by: Philip Withnall <philip.withnall@collabora.co.uk>
* trivial: Fix several -Wsign-conversion issues on ARMRichard Hughes2016-08-227-24/+27
|
* trivial: Fix a -Wcast-align issue on ARMRichard Hughes2016-08-221-7/+8
|
* Don't use the prefix check when parsing YAMLRichard Hughes2016-08-211-15/+0
| | | | | We don't do this for the from_file() version, and we can reliably depend on libyaml for error checking now.
* trivial: Use the correct autoptr cleanup on yaml errorRichard Hughes2016-08-211-1/+1
|
* Make upgrade check for SPDX license string (#131)Kai Willadsen2016-08-211-2/+2
| | | | | The project license can be any valid SPDX license string, so instead of checking for a single license, the upgrade command should treat e.g., dual licenses as valid.
* Add AS_BUNDLE_KIND_CABINETRichard Hughes2016-08-192-0/+6
|
* as-app-validate: Check if icon_name is NULL (#130)Justin J. Kim2016-08-191-2/+4
| | | | | When 'as_icon_get_{file}name' return NULL, 'as_app_validate_icons' function will show Critical Warning by calling 'g_str_has_prefix'. But it wouldn't be a critical and sometimes, it could be NULL.
* trivial: Fix some introspection markupRichard Hughes2016-08-181-1/+1
|
* Invalidate the unique-id if any of the parts are changedRichard Hughes2016-08-181-1/+25
|
* trivial: Add another quirk for firmwareRichard Hughes2016-08-181-0/+2
|
* Return proper warnings when using libyamlRichard Hughes2016-08-182-18/+163
|
* trivial: Fix a small memory leak in as_markup_import()Richard Hughes2016-08-181-1/+1
|
* trivial: Fix a small memory leak in AsStoreRichard Hughes2016-08-181-1/+1
|
* trivial: Fix a small memory leak in AsReviewRichard Hughes2016-08-181-0/+1
|
* Pay attention to errors from yaml_parser_parse (#129)Anders Kaseorg2016-08-171-2/+1
| | | | | | | | | | | | The previous commit message blames libyaml for spinning forever on invalid input. This is not the case. libyaml is correctly returning an error code, but as_node_yaml_process_layer was ignoring it and spinning forever calling back into libyaml as if expecting the error to disappear by itself. The code should probably be audited for other ignored error codes, but this fixes the immediate problem. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* Sanity check YAML files before parsingRichard Hughes2016-08-172-0/+33
| | | | | | | | | | It seems as_node_yaml_process_layer() just spins if you pass it data with an invalid header. If we can't trust libyaml, try to check the first line and return an error if it doesn't match what we expect. Works around https://bugs.launchpad.net/ubuntu/+source/fwupd/+bug/1591868 although the real bugs lie both in libyaml for spinning forever on invalid input, *and* whatever project wrote that invalid DEP-11 file.
* trivial: Add some more search debugging when run with --verboseRichard Hughes2016-08-171-0/+22
|
* Fix gcc shift warnings on 32 bit platformsKalev Lember2016-08-171-35/+35
| | | | | | | | | | | | | | Unsure if > 32 bit enums actually work on 32 bit platforms, but let's try and fix the shift overflow first. Fix suggested by mclasen on irc. as-app.h:162:44: warning: left shift count >= width of type [-Wshift-count-overflow] AS_APP_SUBSUME_FLAG_PROJECT_LICENSE = 1lu << 32, /* Since: 0.6.1 */ ^~ as-app.h:163:42: warning: left shift count >= width of type [-Wshift-count-overflow] AS_APP_SUBSUME_FLAG_PROJECT_GROUP = 1lu << 33, /* Since: 0.6.1 */ ^~ as-app.h:164:41: warning: left shift count >= width of type [-Wshift-count-overflow] AS_APP_SUBSUME_FLAG_SOURCE_KIND = 1lu << 34, /* Since: 0.6.1 */
* trivial: Don't require screenshots for valid langpacksRichard Hughes2016-08-151-1/+2
|
* Don't merge LangPack entriesRichard Hughes2016-08-151-3/+11
| | | | Be more careful removing suffixes in components.
* trivial: Fix a harmless compile warning on ARMRichard Hughes2016-08-121-1/+1
|
* trivial: Merge some gtk-doc fixupsRichard Hughes2016-08-122-3/+3
|
* trivial: post release version bumpRichard Hughes2016-08-122-6/+6
|
* Release version 0.6.1appstream_glib_0.6.1Richard Hughes2016-08-1229-334/+2728
|
* trivial: Fix validation of console-application componentsRichard Hughes2016-08-111-4/+1
|
* Add console-app component typeMatthias Klumpp2016-08-112-0/+5
| | | | See #127
* yaml: Read all component types, not just desktop-appsMatthias Klumpp2016-08-111-3/+3
|
* Make asglib read current component-type namesMatthias Klumpp2016-08-111-2/+11
|
* Add support for application suggestionsRichard Hughes2016-08-1111-0/+556
|
* Support AppStream merge componentsRichard Hughes2016-08-114-2/+119
| | | | These are components that should be merged into matching entries.
* Ensure predictable output order of XML attributesRichard Hughes2016-08-103-70/+94
|
* trivial: Don't add a duplicate <developer_name> when it exists alreadyRichard Hughes2016-08-101-0/+2
| | | | This is _optionally_ translated.
* trivial: Allow setting the output trusted mode using an environment variableRichard Hughes2016-08-101-0/+6
|
* Print max caption length when validatingRichard Hughes2016-08-101-2/+6
| | | | Fixes: https://github.com/hughsie/appstream-glib/issues/110
* trivial: Fix the comment text for 'help' when upgradingRichard Hughes2016-08-101-2/+2
|
* trivial: Be a bit more helpful when reporting validation warningsRichard Hughes2016-08-091-80/+87
|