Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add two hash functions specifically for unique-idswip/hughsie/unique-id-hash | Richard Hughes | 2016-08-25 | 3 | -0/+140 |
| | |||||
* | Ignore system datadirs that are actually per-user | Richard Hughes | 2016-08-25 | 1 | -0/+4 |
| | | | | When running in jhbuild this is somehow set incorrectly. | ||||
* | trivial: Don't show some applications as installed when they are not | Richard Hughes | 2016-08-25 | 1 | -2/+4 |
| | | | | Only deduplicate AppStream::AppData when the appdata file has system scope. | ||||
* | trivial: Add a query-installed command to appstream-util | Richard Hughes | 2016-08-25 | 1 | -0/+59 |
| | |||||
* | trivial: Do not hang when using 'appstream-util search foo --verbose' | Richard Hughes | 2016-08-25 | 1 | -2/+1 |
| | |||||
* | trivial: Show the installed state in the appstream-util search output | Richard Hughes | 2016-08-23 | 1 | -3/+12 |
| | |||||
* | trivial: Restrict the bundle kind when parsing local files | Richard Hughes | 2016-08-23 | 1 | -0/+7 |
| | | | | This means we don't wildcard match against user non-package apps. | ||||
* | trivial: Restrict the scope when parsing local files | Richard Hughes | 2016-08-23 | 1 | -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 Limonciello | 2016-08-22 | 1 | -1/+1 |
| | | | | (#133) | ||||
* | Don't require an icon from LOCALIZATION kind | Richard Hughes | 2016-08-22 | 1 | -0/+1 |
| | |||||
* | trivial: lower requirement for appstream-glib (#132) | Mario Limonciello | 2016-08-22 | 1 | -1/+1 |
| | | | This allows easier compilation on Ubuntu 16.04 | ||||
* | Remove the inf parsing from appstream-glib | Richard Hughes | 2016-08-22 | 10 | -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 Hughes | 2016-08-22 | 1 | -7/+27 |
| | | | | This reverts commit 714e78b188872e9866956db95f22efe4e37189c5. | ||||
* | as-app-desktop: Fix association between icon names and types (#128) | Philip Withnall | 2016-08-22 | 1 | -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 ARM | Richard Hughes | 2016-08-22 | 7 | -24/+27 |
| | |||||
* | trivial: Fix a -Wcast-align issue on ARM | Richard Hughes | 2016-08-22 | 1 | -7/+8 |
| | |||||
* | Don't use the prefix check when parsing YAML | Richard Hughes | 2016-08-21 | 1 | -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 error | Richard Hughes | 2016-08-21 | 1 | -1/+1 |
| | |||||
* | Make upgrade check for SPDX license string (#131) | Kai Willadsen | 2016-08-21 | 1 | -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_CABINET | Richard Hughes | 2016-08-19 | 2 | -0/+6 |
| | |||||
* | as-app-validate: Check if icon_name is NULL (#130) | Justin J. Kim | 2016-08-19 | 1 | -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 markup | Richard Hughes | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Invalidate the unique-id if any of the parts are changed | Richard Hughes | 2016-08-18 | 1 | -1/+25 |
| | |||||
* | trivial: Add another quirk for firmware | Richard Hughes | 2016-08-18 | 1 | -0/+2 |
| | |||||
* | Return proper warnings when using libyaml | Richard Hughes | 2016-08-18 | 2 | -18/+163 |
| | |||||
* | trivial: Fix a small memory leak in as_markup_import() | Richard Hughes | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | trivial: Fix a small memory leak in AsStore | Richard Hughes | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | trivial: Fix a small memory leak in AsReview | Richard Hughes | 2016-08-18 | 1 | -0/+1 |
| | |||||
* | Pay attention to errors from yaml_parser_parse (#129) | Anders Kaseorg | 2016-08-17 | 1 | -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 parsing | Richard Hughes | 2016-08-17 | 2 | -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 --verbose | Richard Hughes | 2016-08-17 | 1 | -0/+22 |
| | |||||
* | Fix gcc shift warnings on 32 bit platforms | Kalev Lember | 2016-08-17 | 1 | -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 langpacks | Richard Hughes | 2016-08-15 | 1 | -1/+2 |
| | |||||
* | Don't merge LangPack entries | Richard Hughes | 2016-08-15 | 1 | -3/+11 |
| | | | | Be more careful removing suffixes in components. | ||||
* | trivial: Fix a harmless compile warning on ARM | Richard Hughes | 2016-08-12 | 1 | -1/+1 |
| | |||||
* | trivial: Merge some gtk-doc fixups | Richard Hughes | 2016-08-12 | 2 | -3/+3 |
| | |||||
* | trivial: post release version bump | Richard Hughes | 2016-08-12 | 2 | -6/+6 |
| | |||||
* | Release version 0.6.1appstream_glib_0.6.1 | Richard Hughes | 2016-08-12 | 29 | -334/+2728 |
| | |||||
* | trivial: Fix validation of console-application components | Richard Hughes | 2016-08-11 | 1 | -4/+1 |
| | |||||
* | Add console-app component type | Matthias Klumpp | 2016-08-11 | 2 | -0/+5 |
| | | | | See #127 | ||||
* | yaml: Read all component types, not just desktop-apps | Matthias Klumpp | 2016-08-11 | 1 | -3/+3 |
| | |||||
* | Make asglib read current component-type names | Matthias Klumpp | 2016-08-11 | 1 | -2/+11 |
| | |||||
* | Add support for application suggestions | Richard Hughes | 2016-08-11 | 11 | -0/+556 |
| | |||||
* | Support AppStream merge components | Richard Hughes | 2016-08-11 | 4 | -2/+119 |
| | | | | These are components that should be merged into matching entries. | ||||
* | Ensure predictable output order of XML attributes | Richard Hughes | 2016-08-10 | 3 | -70/+94 |
| | |||||
* | trivial: Don't add a duplicate <developer_name> when it exists already | Richard Hughes | 2016-08-10 | 1 | -0/+2 |
| | | | | This is _optionally_ translated. | ||||
* | trivial: Allow setting the output trusted mode using an environment variable | Richard Hughes | 2016-08-10 | 1 | -0/+6 |
| | |||||
* | Print max caption length when validating | Richard Hughes | 2016-08-10 | 1 | -2/+6 |
| | | | | Fixes: https://github.com/hughsie/appstream-glib/issues/110 | ||||
* | trivial: Fix the comment text for 'help' when upgrading | Richard Hughes | 2016-08-10 | 1 | -2/+2 |
| | |||||
* | trivial: Be a bit more helpful when reporting validation warnings | Richard Hughes | 2016-08-09 | 1 | -80/+87 |
| |