summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release version 0.6.5appstream_glib_0_6_5Richard Hughes2016-11-072-0/+23
|
* trivial: Add API to set the smallest recorded delay timeRichard Hughes2016-11-072-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 testsRichard Hughes2016-11-041-0/+1
|
* Allow the client to control what search fields are indexedRichard Hughes2016-11-036-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 setRichard Hughes2016-11-033-8/+26
| | | | This saves 40ms from the AsStore startup time.
* Only load native languages when parsing AppStream dataRichard Hughes2016-11-036-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 msRichard Hughes2016-11-031-9/+9
|
* trivial: Show threaded tasks in bold in the profile outputRichard Hughes2016-11-023-2/+35
|
* Use multiple threads to load the search cacheRichard Hughes2016-11-021-3/+15
| | | | This speeds up loading the token cache by 30ms on x64.
* Load the search token blacklist into a hash tableRichard Hughes2016-11-025-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 AsStoreRichard Hughes2016-11-024-13/+33
| | | | This allows us to test the stemming functionality with different locales.
* Add as_store_load_search_cache()Richard Hughes2016-11-023-0/+36
| | | | This is really only useful for profiling startup speed.
* trivial: Output profiling infomation to stderrRichard Hughes2016-11-021-8/+8
|
* Only transliterate when the locale requires itRichard Hughes2016-11-021-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 cacheRichard Hughes2016-11-021-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 valueRichard Hughes2016-11-011-4/+4
|
* trivial: Allow the stemmer to be disabled at runtime for testingRichard Hughes2016-11-011-1/+3
|
* Add app-removed, app-added and app-changed signals to AsStoreRichard Hughes2016-10-314-4/+124
| | | | This allows us to invalidate things built from the AsApp objects.
* Merge also the metadata when merging two appsJoaquim Rocha2016-10-211-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 AppStreamRichard Hughes2016-10-191-0/+2
| | | | This only appears to happen on Debian for some reason.
* Ensure the component scope is set when loading yaml filesRichard Hughes2016-10-191-3/+9
|
* Revert "trivial: Restrict the bundle kind when parsing local files"Richard Hughes2016-10-191-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 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
|