Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release version 0.6.5appstream_glib_0_6_5 | Richard Hughes | 2016-11-07 | 2 | -0/+23 |
| | |||||
* | trivial: Add API to set the smallest recorded delay time | Richard Hughes | 2016-11-07 | 2 | -1/+20 |
| | | | | | This makes profiling short-lived tasks possible with a fast machine, although does blow up the size of the saved trace. | ||||
* | trivial: Restore behaviour compatibility to fix self tests | Richard Hughes | 2016-11-04 | 1 | -0/+1 |
| | |||||
* | Allow the client to control what search fields are indexed | Richard Hughes | 2016-11-03 | 6 | -42/+114 |
| | | | | | | | This can be used to improve load speed in GNOME Software. By default everything is indexed, which includes the multi-paragraph long description. Omitting this information makes a huge difference to the creation time of the search token cache. | ||||
* | trivial: Only load native languages from desktop files when the flag is set | Richard Hughes | 2016-11-03 | 3 | -8/+26 |
| | | | | This saves 40ms from the AsStore startup time. | ||||
* | Only load native languages when parsing AppStream data | Richard Hughes | 2016-11-03 | 6 | -12/+43 |
| | | | | | | | This adds an optional flag that allows the node parser to ignore any nodes that do not match the native languages of the user. This increases startup speed of gnome-software by ~40ms but also drops the RSS by a massive 12Mb for the Fedora AppStream file. | ||||
* | trivial: Speed up checking token validity by a few ms | Richard Hughes | 2016-11-03 | 1 | -9/+9 |
| | |||||
* | trivial: Show threaded tasks in bold in the profile output | Richard Hughes | 2016-11-02 | 3 | -2/+35 |
| | |||||
* | Use multiple threads to load the search cache | Richard Hughes | 2016-11-02 | 1 | -3/+15 |
| | | | | This speeds up loading the token cache by 30ms on x64. | ||||
* | Load the search token blacklist into a hash table | Richard Hughes | 2016-11-02 | 5 | -27/+74 |
| | | | | This speeds up loading the token cache by 55ms on x64 and a lot more on ARM. | ||||
* | trivial: Unsingleton AsStemmer and use a shared instance in AsStore | Richard Hughes | 2016-11-02 | 4 | -13/+33 |
| | | | | This allows us to test the stemming functionality with different locales. | ||||
* | Add as_store_load_search_cache() | Richard Hughes | 2016-11-02 | 3 | -0/+36 |
| | | | | This is really only useful for profiling startup speed. | ||||
* | trivial: Output profiling infomation to stderr | Richard Hughes | 2016-11-02 | 1 | -8/+8 |
| | |||||
* | Only transliterate when the locale requires it | Richard Hughes | 2016-11-02 | 1 | -1/+14 |
| | | | | This speeds up loading the token cache by 50ms on x64 and a lot more on ARM. | ||||
* | trivial: Allocate less strings when generating the token cache | Richard Hughes | 2016-11-02 | 1 | -10/+2 |
| | | | | This speeds up loading the token cache by 12ms on x64 and a lot more on ARM. | ||||
* | trivial: Allow priming the search cache using a NULL search value | Richard Hughes | 2016-11-01 | 1 | -4/+4 |
| | |||||
* | trivial: Allow the stemmer to be disabled at runtime for testing | Richard Hughes | 2016-11-01 | 1 | -1/+3 |
| | |||||
* | Add app-removed, app-added and app-changed signals to AsStore | Richard Hughes | 2016-10-31 | 4 | -4/+124 |
| | | | | This allows us to invalidate things built from the AsApp objects. | ||||
* | Merge also the metadata when merging two apps | Joaquim Rocha | 2016-10-21 | 1 | -0/+1 |
| | | | | | This patch adds the missing metadata flag to AS_APP_SUBSUME_FLAG_MERGE so when two apps are merged they are merge their metadata. | ||||
* | Always copy the installed state when replacing AppData with AppStream | Richard Hughes | 2016-10-19 | 1 | -0/+2 |
| | | | | This only appears to happen on Debian for some reason. | ||||
* | Ensure the component scope is set when loading yaml files | Richard Hughes | 2016-10-19 | 1 | -3/+9 |
| | |||||
* | Revert "trivial: Restrict the bundle kind when parsing local files" | Richard Hughes | 2016-10-19 | 1 | -7/+0 |
| | | | | | | | | This reverts commit 9b36119e1ed8ae7c2bec341143c343a9d73dcdd8 as it causes a crash in gnome-software 3-22 when a component is available locally as an addon but not in the appstream yaml or xml files. The commit is clearly wrong, I guess the original author was crazy. | ||||
* | Monitor missing AppStream directories | Richard Hughes | 2016-10-19 | 3 | -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-util | Richard Hughes | 2016-10-19 | 1 | -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 directories | Richard Hughes | 2016-10-19 | 1 | -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 changes | Joaquim Rocha | 2016-10-17 | 2 | -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 file | Richard Hughes | 2016-10-17 | 1 | -1/+6 |
| | |||||
* | trivial: post release version bump | Richard Hughes | 2016-10-12 | 2 | -5/+5 |
| | |||||
* | Release version 0.6.4appstream_glib_0_6_4 | Richard Hughes | 2016-10-12 | 8 | -37/+61 |
| | |||||
* | Allow filtering applications based on merge type | Richard Hughes | 2016-10-12 | 2 | -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 store | Richard Hughes | 2016-10-12 | 2 | -10/+21 |
| | | | | Sometimes we just want the 'extra' files rather than the distro-supplied ones. | ||||
* | Add functions to build and validate an AppStream ID | Richard Hughes | 2016-10-12 | 3 | -0/+79 |
| | |||||
* | Fix a small memory leak when parsing yaml files | Richard Hughes | 2016-09-28 | 5 | -23/+43 |
| | |||||
* | Don't show a critical warning on invalid yaml file | Richard Hughes | 2016-09-28 | 1 | -2/+13 |
| | | | | | | | This is surely invalid, but we should do better than a critical: Categories: - '' | ||||
* | Never inhierit Name and Comment when using appstream-compose | Richard Hughes | 2016-09-28 | 1 | -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 -Wundef | Richard Hughes | 2016-09-28 | 2 | -8/+8 |
| | |||||
* | Fix setting the origin for Flatpak user reposwip/jrocha/fix-user-repos | Joaquim Rocha | 2016-09-27 | 1 | -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 Hughes | 2016-09-21 | 3 | -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 calculation | Richard Hughes | 2016-09-21 | 2 | -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 tests | Richard Hughes | 2016-09-20 | 1 | -8/+23 |
| | |||||
* | trivial: Fix two potential deadlocks in the AsProfile code | Richard Hughes | 2016-09-17 | 1 | -96/+108 |
| | | | | This fixes a very-rare bug in gnome-software. | ||||
* | trivial: Fix building AppStream metadata when using local files | Richard Hughes | 2016-09-15 | 2 | -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() threadsafe | Richard Hughes | 2016-09-14 | 1 | -0/+1 |
| | |||||
* | Add as_profile_set_autoprune() for automatically limiting the profiling output | Richard Hughes | 2016-09-14 | 2 | -0/+23 |
| | |||||
* | Add as_profile_prune() for limiting the profiling output | Richard Hughes | 2016-09-14 | 2 | -0/+34 |
| | |||||
* | trivial: Make as_profile_clear() threadsafe | Richard Hughes | 2016-09-14 | 1 | -0/+1 |
| | |||||
* | trivial: Allow detailed profiling when using as_store_from_file() | Richard Hughes | 2016-09-14 | 1 | -8/+5 |
| | |||||
* | Add as_store_add_apps() | Richard Hughes | 2016-09-13 | 2 | -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 content | Richard Hughes | 2016-09-13 | 1 | -22/+35 |
| | | | | Only disable multiarch packages if a native package of the same name exists. | ||||
* | Add support for AppImage bundles | Richard Hughes | 2016-09-12 | 2 | -0/+6 |
| |