Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | trivial: Use the unique ID in the dedupe logs | Richard Hughes | 2016-08-03 | 1 | -11/+25 | |
| | ||||||
* | Use an array of application objects in the ID hash | Richard Hughes | 2016-08-03 | 1 | -25/+37 | |
| | | | | | This speeds up matching the addons by over 150ms per store load which recently regressed with the addition of AS_STORE_ADD_FLAG_USE_UNIQUE_ID. | |||||
* | as_store_from_file_internal: set up path data for the file itself | Simon McVittie | 2016-08-02 | 1 | -8/+4 | |
| | | | | | | | | | | | Otherwise, when it changes we'll just emit As-WARNING **: no path data for /.../xmls and not actually update its contents. Closes: #124 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
* | as_store_from_file_internal: don't redundantly monitor files | Simon McVittie | 2016-08-02 | 1 | -1/+12 | |
| | | | | | | | | | We only need to monitor the file if we are not already monitoring (or intending to monitor) its parent directory, as we are in as_store_watch_source_added() and as_store_load_app_info_file(), but not as_store_from_file(). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
* | Allow multiple components with the same AppStream ID in the AsStore | Richard Hughes | 2016-08-01 | 1 | -23/+48 | |
| | | | | | | By using the 'unique-id' to de-duplicate the objects in the store we can support cases where there are multiple flatpak remotes providing the same app, or where a remote provides two different branches of the same application. | |||||
* | Include the version in the equality check | Richard Hughes | 2016-08-01 | 1 | -1/+5 | |
| | ||||||
* | Restrict addons to the same scope and bundle kind | Richard Hughes | 2016-08-01 | 1 | -20/+32 | |
| | ||||||
* | Add as_store_get_app_by_unique_id() | Richard Hughes | 2016-07-31 | 1 | -0/+98 | |
| | ||||||
* | trivial: Fix the flatpak scope when using the symlink name | Richard Hughes | 2016-07-31 | 1 | -0/+5 | |
| | ||||||
* | trivial: Fix the origin name when using the symlink name | Richard Hughes | 2016-07-31 | 1 | -3/+7 | |
| | ||||||
* | Include the scope in the equality check | Richard Hughes | 2016-07-31 | 1 | -46/+47 | |
| | ||||||
* | Remove specific support for flatpak | Richard Hughes | 2016-07-29 | 1 | -230/+2 | |
| | | | | It's expected something will create the required symlinks at user-runtime. | |||||
* | Add two new GCC warnings and fix up signed/unsigned issues | Richard Hughes | 2016-07-25 | 1 | -4/+4 | |
| | ||||||
* | trivial: Add two more renamed desktop IDs | Richard Hughes | 2016-07-25 | 1 | -0/+2 | |
| | ||||||
* | Do not save the 'X-' prefixed keys to the AppStream metadata | Richard Hughes | 2016-07-15 | 1 | -0/+3 | |
| | | | | Continue to load them at runtime from installed desktop files. | |||||
* | store: Don't emit a warning when flatpak user directory doesn't exist | Kalev Lember | 2016-07-06 | 1 | -0/+5 | |
| | ||||||
* | trivial: Get rid of useless internal-only gtk-doc markup | Richard Hughes | 2016-06-28 | 1 | -120/+0 | |
| | ||||||
* | Load metainfo files if present | Richard Hughes | 2016-06-13 | 1 | -0/+9 | |
| | | | | | | /usr/share/appdata is the old location, but will be supported for a long time. Replaces https://github.com/hughsie/appstream-glib/pull/112 | |||||
* | trivial: Fix several issues to ensure changed signal are sent | Richard Hughes | 2016-06-11 | 1 | -1/+6 | |
| | ||||||
* | Correctly detect new AppStream applications in new directories | Richard Hughes | 2016-06-08 | 1 | -7/+32 | |
| | | | | Only add directories to the monitor hash, not all filenames. | |||||
* | Allow setting the id prefix and origin using a symlink file name | Richard Hughes | 2016-06-08 | 1 | -11/+72 | |
| | | | | | | | | | | | | | The idea is to encode the scope and user-specified origin in the filename as flatpak remotes have metadata with the filename `appstream.xml.gz` that have origin harcoded to 'flatpak'. We can't set a custom origin when generating the metadata as the remote name is set client side and can be any string the user chooses. It's also expected that something like gnome-software will keep the symlink cache up to date. I'm using ~/.local/share/app-info/xmls at the moment, but if we decide that the data is actually gnome-software specific then it can move. | |||||
* | Save the ID prefix in more places | Richard Hughes | 2016-05-18 | 1 | -44/+77 | |
| | | | | | Also, fix a potential crash when the path-data wasn't set before the callback was fired. | |||||
* | Correctly set the architecture on newly discovered applications | Richard Hughes | 2016-05-18 | 1 | -11/+30 | |
| | ||||||
* | Set the architecture of discovered Flatpak apps | Richard Hughes | 2016-05-18 | 1 | -6/+20 | |
| | ||||||
* | Add all applications for all architectures when loading Flatpak | Richard Hughes | 2016-05-18 | 1 | -59/+34 | |
| | ||||||
* | Always add /var/lib/flatpak/appstream as a possible Flatpak path | Richard Hughes | 2016-05-18 | 1 | -0/+7 | |
| | | | | | Deal with the case where the user installs flatpak system-wide and appstream-glib and gnome-software are built in jhbuild with a different prefix. | |||||
* | Revert "trivial: Add some support for flatpak self tests" | Richard Hughes | 2016-05-14 | 1 | -15/+0 | |
| | | | | This reverts commit a852822fe2037c6b9c43984b5bd38c952f3a6abe. | |||||
* | Merge pull request #107 from DimStar77/show-appname | Richard Hughes | 2016-05-13 | 1 | -1/+2 | |
|\ | | | | | Show the app name when complaining about missing description in the m… | |||||
| * | Show the app name when complaining about missing description in the metadata | Dominique Leuenberger | 2016-05-13 | 1 | -1/+2 | |
| | | ||||||
* | | Addons can have duplcate names | Dominique Leuenberger | 2016-05-13 | 1 | -16/+18 | |
|/ | | | | | It's not uncommon for addons to be called after the functionality they provide to the application they extend (e.g. "Spell checker"). | |||||
* | trivial: Add some support for flatpak self tests | Richard Hughes | 2016-05-12 | 1 | -0/+15 | |
| | ||||||
* | Rename the xdg-app support to the new name: Flatpak | Richard Hughes | 2016-05-11 | 1 | -48/+55 | |
| | ||||||
* | trivial: Add some more debugging to debug an issue | Richard Hughes | 2016-05-11 | 1 | -0/+2 | |
| | ||||||
* | trivial: Add three more apps to the ID fallback table | Richard Hughes | 2016-04-27 | 1 | -0/+3 | |
| | ||||||
* | Ignore files with invalid suffixes when building installed stores | Richard Hughes | 2016-04-25 | 1 | -1/+17 | |
| | | | | Fixes https://github.com/hughsie/appstream-glib/issues/99 | |||||
* | trivial: Fix critical warning when validing broken AppStream files | Richard Hughes | 2016-04-13 | 1 | -16/+21 | |
| | ||||||
* | Search /usr/share/metainfo for local files | Richard Hughes | 2016-04-12 | 1 | -0/+7 | |
| | | | | This is for non-application metainfo files. | |||||
* | Fall back to searching in as_store_get_app_by_pkgname() | Richard Hughes | 2016-04-07 | 1 | -1/+37 | |
| | | | | | | | | | | If the user does: - as_store_load() - as_store_get_app_by_id() - as_app_add_pkgname() - as_store_get_app_by_pkgname() Then we don't return the app. This is probably not what the user expects. | |||||
* | Do not hardcode x86_64 when searching for xdg-app metadata | Richard Hughes | 2016-04-01 | 1 | -1/+52 | |
| | ||||||
* | trivial: Only remove apps with a veto when specified | Richard Hughes | 2016-03-31 | 1 | -1/+2 | |
| | ||||||
* | Add as_store_remove_apps_with_veto() | Richard Hughes | 2016-03-31 | 1 | -1/+12 | |
| | | | | This might be useful to libappstream-builder and gnome-software. | |||||
* | Enforce the requirement of AppData for 'Categories=DesktopSettings' | Richard Hughes | 2016-03-31 | 1 | -0/+70 | |
| | | | | | | This is enforced for both generation of AppStream metadata, and the display of installed apps. If your system settings program disappears, just write an AppData file! | |||||
* | Also filter YAML apps before adding to the store | Richard Hughes | 2016-03-31 | 1 | -0/+7 | |
| | | | | This stops fwupd showing a *huge* number of devices. | |||||
* | Merge duplicate AppStream component entries | Richard Hughes | 2016-03-27 | 1 | -10/+1 | |
| | ||||||
* | Add as_store_get_apps_by_id() | Richard Hughes | 2016-03-23 | 1 | -0/+34 | |
| | ||||||
* | Add as_store_get_app_by_id_ignore_prefix() | Richard Hughes | 2016-03-23 | 1 | -0/+30 | |
| | | | | | This allows applications to be fetched from the store when we don't care what the prefix is. | |||||
* | Implement DEP-11 MediaBaseUrl support | Robert Ancell | 2016-03-04 | 1 | -1/+5 | |
| | ||||||
* | Fix ordering of parameters to as_store_search_app_info | Robert Ancell | 2016-03-01 | 1 | -2/+2 | |
| | | | | | This was causing system appstream loading to fail and was introduced in commit 8abd003c. | |||||
* | trivial: Fix critical warning for xdg-app bundles | Richard Hughes | 2016-02-26 | 1 | -1/+2 | |
| | ||||||
* | Support loading XML files using as_store_from_bytes() | Richard Hughes | 2016-02-26 | 1 | -4/+28 | |
| |