summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Monitor missing AppStream directoriesRichard Hughes2016-10-193-51/+53
| | | | | | | Monitor some locations so that if they are created after the AsStore is loaded we correctly detect and load the new AppStream XML files Inspired by a patch by Joaquim Rocha <jrocha@endlessm.com>, many thanks.
* Add a 'watch' command to appstream-utilRichard Hughes2016-10-191-0/+76
| | | | | This allows the user to observe components being removed and added as files are moved or created.
* Handle files being moved into monitored AppStream directoriesRichard Hughes2016-10-191-0/+7
| | | | | | This handles the case where we 'mv' a file to or from a monitored directory, rather than creating it and ensures the file gets parsed or invalidated correctly.
* Process file changes when an attribute changesJoaquim Rocha2016-10-172-6/+8
| | | | | | | | | | | | When a file's permissions are changed this may mean that a file that was previously unreadable can now be parsed so we should process files attribute changes. Also, when a file was changed, no processing of it occurred until a different event type happened to the file (deletion, renaming, etc.). This could prevent important changes to be processed. Update the tests for both issues. Signed-off-by: Richard Hughes <richard@hughsie.com>
* Do not sent a REMOVED signal when deleting a transient temp fileRichard Hughes2016-10-171-1/+6
|
* trivial: post release version bumpRichard Hughes2016-10-122-5/+5
|
* Release version 0.6.4appstream_glib_0_6_4Richard Hughes2016-10-128-37/+61
|
* Allow filtering applications based on merge typeRichard Hughes2016-10-122-1/+19
| | | | | This allows us to load only merge-type components, which we might want when sharing per-system or per-user overrides.
* Add flag to only load uncompressed files into a storeRichard Hughes2016-10-122-10/+21
| | | | Sometimes we just want the 'extra' files rather than the distro-supplied ones.
* Add functions to build and validate an AppStream IDRichard Hughes2016-10-123-0/+79
|
* Fix a small memory leak when parsing yaml filesRichard Hughes2016-09-285-23/+43
|
* Don't show a critical warning on invalid yaml fileRichard Hughes2016-09-281-2/+13
| | | | | | | This is surely invalid, but we should do better than a critical: Categories: - ''
* Never inhierit Name and Comment when using appstream-composeRichard Hughes2016-09-281-0/+4
| | | | | This has been deprecated for some time now and causes problems when we're using a non-localised prefix on the installed desktop files.
* trivial: Fix a couple of warnings with -WundefRichard Hughes2016-09-282-8/+8
|
* Fix setting the origin for Flatpak user reposwip/jrocha/fix-user-reposJoaquim Rocha2016-09-271-1/+1
| | | | | | | | | | The origin was being stripped the first 8 characters so it would discard the "flatpak:" prefix. However, when on a user installation the prefix is "user-flatpak:" so the origin would erroneously be set to "tpak:gnome-apps". These changes discard the completely profile after checking for the prefix's delimiter.
* Add as_content_rating_get_value()Richard Hughes2016-09-213-0/+32
| | | | | This allows us to get the specific enumerated value for a classification ID which we can use in gnome-software to explain the rating to the user.
* Fix the CSM rating age calculationRichard Hughes2016-09-212-3/+4
| | | | We want to return the *largest* minimum age for all the classification IDs.
* trivial: Add some sanity checks to the unique-id hash testsRichard Hughes2016-09-201-8/+23
|
* trivial: Fix two potential deadlocks in the AsProfile codeRichard Hughes2016-09-171-96/+108
| | | | This fixes a very-rare bug in gnome-software.
* trivial: Fix building AppStream metadata when using local filesRichard Hughes2016-09-152-3/+14
| | | | | Since we fixed the icon kind issue we just have to be a bit more careful when reading out what name to use.
* trivial: Make as_profile_dump() threadsafeRichard Hughes2016-09-141-0/+1
|
* Add as_profile_set_autoprune() for automatically limiting the profiling outputRichard Hughes2016-09-142-0/+23
|
* Add as_profile_prune() for limiting the profiling outputRichard Hughes2016-09-142-0/+34
|
* trivial: Make as_profile_clear() threadsafeRichard Hughes2016-09-141-0/+1
|
* trivial: Allow detailed profiling when using as_store_from_file()Richard Hughes2016-09-141-8/+5
|
* Add as_store_add_apps()Richard Hughes2016-09-132-0/+33
| | | | This allows us to add lots of apps without issuing a 'changed' signal for each.
* Fix building metadata on repos with mixed architecture contentRichard Hughes2016-09-131-22/+35
| | | | Only disable multiarch packages if a native package of the same name exists.
* Add support for AppImage bundlesRichard Hughes2016-09-122-0/+6
|
* trivial: post release version bumpRichard Hughes2016-09-062-5/+5
|
* Release version 0.6.3appstream_glib_0_6_3Richard Hughes2016-09-0627-1273/+1419
|
* trivial: Fix up tests after the -lang auto-dep commitRichard Hughes2016-09-061-4/+5
|
* Add an easy way to add a language to an existing fileRichard Hughes2016-09-061-0/+48
|
* Add an easy way to add a modalias to an existing fileRichard Hughes2016-09-051-0/+57
|
* Add -lang package as a dependency in order to properly detect translations ↵Dominique Leuenberger2016-09-051-0/+4
| | | | | | | | | | (#135) In openSUSE, the -lang package is 'only' recommended, so that users CAN save the space if they don't need them (and using bundles there is also a method to only install one language instead of all supported ones). Unfortunately, with this technique, gnome-software keeps on pretending that no application is localized in openSUSE.
* Convert the built unknown icons to the correct kind depending on the actionRichard Hughes2016-09-053-2/+21
| | | | | | For building we want ->CACHED, for parsing local files we want ->STOCK. Fixes the other half of https://github.com/hughsie/appstream-glib/pull/128
* trivial: Do not write <icon type=unknown> for unknown typesRichard Hughes2016-09-051-3/+5
|
* Refactor the desktop file icon loading codeRichard Hughes2016-09-041-26/+46
| | | | | | | Using the old logic we could have created a LOCAL icon with just the name set, which is further confused by using LOCAL for the fallback name case. Fixes half of https://github.com/hughsie/appstream-glib/pull/128
* Add a component kind of 'driver'Richard Hughes2016-09-024-0/+8
|
* trivial: Sync example spec file with downstreamRichard Hughes2016-09-021-4/+14
|
* Support components with merge=replace rulesRichard Hughes2016-09-024-31/+146
| | | | This allows components to replace parts of the app without just appending.
* trivial: Fix a -Wundef compiler warningKalev Lember2016-08-311-2/+2
|
* trivial: post release version bumpRichard Hughes2016-08-292-5/+5
|
* Release version 0.6.2appstream_glib_0.6.2Richard Hughes2016-08-2928-1484/+1640
|
* trivial: Actually apply the warning flagsRichard Hughes2016-08-272-1/+2
|
* Add a hash function specifically designed for unique-idsRichard Hughes2016-08-253-1/+112
|
* trivial: Fix the self tests after the dedupe fix in 7cd80fbRichard Hughes2016-08-251-0/+2
|
* 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
|