summaryrefslogtreecommitdiff
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Always resize AppStream icons to fit the destination sizeRichard Hughes2018-03-091-0/+2
| | | | | Padding is no longer being used as it makes the software center look bad. Lets make the application author look bad instead so they can fix the icon.
* Do not use an 'enable' prefix for meson argumentsRichard Hughes2017-12-181-1/+1
|
* Fix appstream-compose when using new-style desktop IDsRichard Hughes2017-12-071-6/+10
| | | | | | The .desktop suffix is now optional in the AppStream component <id>. Fixes: https://github.com/hughsie/appstream-glib/issues/209
* Prefer /usr/share/metainfo as default path for metainfo filesMatthias Klumpp2017-08-081-1/+1
| | | | | | | | This makes asglib align with the AppStream spec, which sees /usr/share/metainfo as the canonical location for storing metadata, and /usr/share/appdata as legacy (but still must-be-supported) location. Signed-off-by: Richard Hughes <richard@hughsie.com>
* Do not write a timestamp when using news-to-appdataRichard Hughes2017-06-161-2/+4
|
* trivial: Fix an error message in news-to-appdataRichard Hughes2017-06-161-1/+1
|
* Do not add the GNOME-Software-specific categories or icons by defaultRichard Hughes2017-06-071-0/+4
| | | | | This is better done client side. Add a build flag so we can still build metadata for old versions of Fedora.
* Remove functionality processing an old metadata fileRichard Hughes2017-06-011-1/+2
| | | | Without the CacheID it's no longer useful.
* trivial: Remove the ability to run threadedRichard Hughes2017-06-011-9/+5
| | | | This leads to just too many crashes; librpm is just not thread safe enough to do this.
* Remove the cache-id functionalityRichard Hughes2017-05-161-1/+1
| | | | | | | | | The results when using the partial update were not always the same as doing a fresh run (some components depend on other components) and even I'm not using this functionality anymore when running appstream-builder on the whole Fedora, achive, even across on all branches. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1426166
* Switch to the meson build system.Richard Hughes2017-05-102-77/+64
|
* Add a 'check-component' command to appstream-utilRichard Hughes2017-05-031-0/+117
| | | | | | | | | | | | | | | | | This allows us to sanity check installed applications to find out why they are not showing in software centers like GNOME Software. $ appstream-util check-component firefox.desktop google-chrome.desktop Using system/*/*/desktop/firefox.desktop/* for firefox.desktop Checking source: /usr/share/applications/firefox.desktop Checking source: /usr/share/appdata/firefox.appdata.xml Using system/*/*/desktop/google-chrome.desktop/* for google-chrome.desktop Checking source: /usr/share/applications/google-chrome.desktop • google-chrome.desktop has no AppData file Failed to check component, 1 problems detected
* trivial: Add a regex command to appstream-util for testing firmware versionsRichard Hughes2017-05-031-0/+29
|
* Support non-numeric version numbers correctlyRichard Hughes2017-05-021-0/+40
| | | | | Fall back to strcmp when both sections are non-numeric. Also add a 'vercmp' command to appstream-util to allow us to use this on the command line.
* Allow using the app origin as a search keywordRichard Hughes2017-04-151-0/+1
|
* Fix a problem with appstream-compose with older AppData filesRichard Hughes2017-03-081-4/+8
| | | | | Do not remove the desktop-provided 'Name' and 'Comment' if there is no AppData-provided version.
* Deprecate app_set_source_file() and app_set_source_kind()Richard Hughes2017-02-271-4/+6
| | | | | | | | | | | | | | | | | | | | Implement these in terms of AsFormat objects to maintain API compatibility. This allows us to have multiple 'formats' that make up an AsApp, for instance, an application might be referenced in: * The .desktop file (for the icon) * The AppData file (for the installed long description) * The AppStream XML file (for the origin information) Doing this allows us to keep track of all formats that make up an AsApp, and this allows us to update the state as each type is removed and added. This allows us to remove the need to "promote" apps to different types, which was unreliable and was the source of several bugs where the AsApp was removed from the AsStore before all the sources had been removed. With this commit, GNOME Software again works reliably.
* trivial: Use the new AsFormatKind definesRichard Hughes2017-02-271-28/+26
| | | | No code changes, and ensure we don't break API/ABI by using #define's.
* util: Add a dummy update_contact to appdata-from-desktopKalev Lember2017-02-011-0/+1
|
* appstream-compose: Support appdata with no desktop filesAlexander Larsson2017-01-181-22/+26
| | | | For instance, this happens for the runtimes
* Support reading metainfo.xml files when using appstream-composeRichard Hughes2017-01-161-18/+25
|
* trivial: Fix a crash when doing validate-root on an app with no iconRichard Hughes2017-01-081-3/+13
|
* trivial: Fix unused variable warningsKalev Lember2016-11-261-4/+0
|
* Use full RELRO in the client executablesRichard Hughes2016-11-231-0/+3
| | | | We could be handling untrusted content, so this seems like a good idea.
* trivial: Add as_ref_string_debug()Richard Hughes2016-11-211-0/+7
| | | | This allows us to debug the reference counted string functionality.
* trivial: Show a total process time when using appstream-util --profileRichard Hughes2016-11-181-0/+3
|
* trivial: Use g_autoptr to avoid a Coverity warningRichard Hughes2016-11-091-18/+10
|
* Allow the client to control what search fields are indexedRichard Hughes2016-11-031-0/+7
| | | | | | | 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.
* Only load native languages when parsing AppStream dataRichard Hughes2016-11-031-0/+1
| | | | | | | 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.
* Add as_store_load_search_cache()Richard Hughes2016-11-021-0/+3
| | | | This is really only useful for profiling startup speed.
* Add app-removed, app-added and app-changed signals to AsStoreRichard Hughes2016-10-311-0/+27
| | | | This allows us to invalidate things built from the AsApp objects.
* 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.
* 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.
* 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
|
* 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
|
* trivial: Show the installed state in the appstream-util search outputRichard Hughes2016-08-231-3/+12
|
* trivial: Fix several -Wsign-conversion issues on ARMRichard Hughes2016-08-221-1/+1
|
* Make upgrade check for SPDX license string (#131)Kai Willadsen2016-08-211-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.
* trivial: Add some more search debugging when run with --verboseRichard Hughes2016-08-171-0/+22
|
* trivial: Don't add a duplicate <developer_name> when it exists alreadyRichard Hughes2016-08-101-0/+2
| | | | This is _optionally_ translated.
* trivial: Fix the comment text for 'help' when upgradingRichard Hughes2016-08-101-2/+2
|
* Add the TRANSLATE URL kindRichard Hughes2016-08-091-0/+20
|
* Support merge componentsRichard Hughes2016-08-041-1/+61
| | | | | This allows us to match soon-to-be-specified merge components to every component in the store.
* Allow multiple components with the same AppStream ID in the AsStoreRichard Hughes2016-08-011-0/+1
| | | | | | 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.
* trivial: Show the unique ID when using 'appstream-util search'Richard Hughes2016-07-311-1/+1
|
* Be more careful choosing warning flagsRichard Hughes2016-07-251-3/+3
|
* Add two new GCC warnings and fix up signed/unsigned issuesRichard Hughes2016-07-253-23/+23
|
* trivial: Get rid of useless internal-only gtk-doc markupRichard Hughes2016-06-283-223/+0
|