summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* trivial: Fix a -Wpointer-sign warning0_6_XRichard Hughes2017-05-091-1/+1
|
* trivial: post release version bumpRichard Hughes2017-05-082-5/+5
|
* Release version 0.6.13appstream_glib_0_6_13Richard Hughes2017-05-081-0/+17
|
* Add as_app_remove_kudo()Richard Hughes2017-05-042-0/+24
| | | | This allows us to remove previously-added kudos.
* Add as_app_remove_category()Richard Hughes2017-05-042-0/+23
| | | | This allows us to remove previously-added categories.
* 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
|
* Casefold all stemmed entriesRichard Hughes2017-05-022-7/+18
| | | | | | | The idea for the stemmer is to input a string and to return a more generic version of it. We already casefold the search parameters which means we can reduce the duplication in the stemmer cache and also match more types of mixed-case search values.
* trivial: Do not store the .shell-extension prefix in the search cacheRichard Hughes2017-05-021-0/+1
|
* Support non-numeric version numbers correctlyRichard Hughes2017-05-023-9/+70
| | | | | 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.
* Add as_utils_guid_from_data()Richard Hughes2017-04-262-31/+70
| | | | This allows us to pass binary data, as well as choosing a custom namespace.
* Add support for icon scalingRichard Hughes2017-04-213-6/+119
|
* trivial: Fix up some broken links in the generated documentationRichard Hughes2017-04-214-2/+5
|
* Add support for <launchable>Richard Hughes2017-04-2111-4/+663
|
* trivial: Use the new custom tag in the self testsRichard Hughes2017-04-211-3/+3
|
* Allow using the app origin as a search keywordRichard Hughes2017-04-153-0/+9
|
* Add functions for getting the AsStore search matchRichard Hughes2017-04-152-1/+20
|
* Add functions for getting the AsApp search matchRichard Hughes2017-04-153-3/+29
|
* trivial: post release version bumpRichard Hughes2017-04-122-5/+5
|
* Release version 0.6.12appstream_glib_0_6_12Richard Hughes2017-04-123-34/+48
|
* trivial: Fix the last warning with -Wdiscarded-qualifiersRichard Hughes2017-04-121-1/+1
|
* Fix the predicate comparison when using globs in metainfo filesRichard Hughes2017-04-122-13/+48
| | | | | The arguments were the wrong way around; the predicate has the pattern and the version is what has been set from the hardware.
* Validate kudos in AppData and AppStream filesRichard Hughes2017-04-031-0/+27
| | | | Fixes https://github.com/hughsie/appstream-glib/issues/162
* Copy hash table keys from AsApp to avoid them being used after they've been ↵Robert Ancell2017-03-302-6/+44
| | | | | | | | | | | | | | | | | | | freed The hash tables currently reference the keys in the AsApp object, however this fails in two cases: 1. If you insert two apps with the same ID into the same table the second app replaces the first but the key is from the original one (confirmed in glib source code). The first app is unreffed leaving the table to contain an invalid key (or may occur later if a reference is held elsewhere). 2. There are two tables that contain GPtrArrays of apps. If AsApp in the array that was used as the key is unreffed then the hash table again contains a freed key. I'm assuming these keys weren't copied to save memory, if that is important then the keys will have to be reference counted or atoms used.
* trivial: post release version bumpRichard Hughes2017-03-202-5/+5
|
* Release version 0.6.11appstream_glib_0_6_11Richard Hughes2017-03-203-18/+36
|
* Add initial support for Mozilla .xpi translationsRichard Hughes2017-03-172-0/+76
|
* trivial: Find .pak translations in all libdirsRichard Hughes2017-03-171-17/+20
|
* trivial: Split out some common functionalityRichard Hughes2017-03-171-9/+11
|
* Parse small version numbers correctlyRichard Hughes2017-03-172-3/+6
| | | | Based on a patch by Tim Chen <tim.chen119@canonical.com>
* Fix compile with -Wdiscarded-qualifiersRichard Hughes2017-03-1519-77/+117
| | | | Some distros helpfully force this on for some reason.
* trivial: Report the archive filename if it cannot be openedRichard Hughes2017-03-151-1/+2
|
* Show a warning if a desktop file is not found when requiredRichard Hughes2017-03-151-0/+12
| | | | This would have helped some head scratching this morning...
* Revert "Enable the stack protection in local builds"Kalev Lember2017-03-101-2/+0
| | | | | | | | | This made it difficult to do local debug builds with -O0, causing make to emit hundreds of: warning: #warning _FORTIFY_SOURCE requires compiling with optimization This reverts commit d156942f23b80137740c0781a14a9f05f5fe497c.
* trivial: Update app ID rename listKalev Lember2017-03-101-0/+4
|
* Make content_rating a requirement for any component with the 'Game' categoryRichard Hughes2017-03-093-2/+18
| | | | This can be relaxed using the validate-relax command.
* 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.
* Don't crash when using 'appstream-util show-search-tokens'Richard Hughes2017-03-081-3/+3
| | | | The private as_app_get_search_tokens() method needs to be AsRefString aware.
* trivial: post release version bumpRichard Hughes2017-03-062-5/+5
|
* Release version 0.6.10appstream_glib_0_6_10Richard Hughes2017-03-061-0/+9
|
* as-node: Add back as_node_context_{get,set}_source_kind (#157)Iain Lane2017-02-282-0/+40
| | | | | | | These were renamed to …_format_kind in 0.9.6. This is a bit of a technicality, but the functions were formally part of the ABI before 0.9.6, and so should be retained to keep strict compatibility.
* its: add <developer_name> to tags extracted for translation (#156)Piotr Drąg2017-02-271-0/+1
|
* Ignore <p></p> in AppStream markupRichard Hughes2017-02-272-1/+5
|
* trivial: post release version bumpRichard Hughes2017-02-272-6/+6
|
* Release version 0.6.9appstream_glib_0_6_9Richard Hughes2017-02-273-14/+28
|
* Deprecate app_set_source_file() and app_set_source_kind()Richard Hughes2017-02-276-137/+272
| | | | | | | | | | | | | | | | | | | | 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.
* Recalculate the state when formats are added or removed from a AsAppRichard Hughes2017-02-271-0/+34
|
* Do not set the AsApp state using the AsRelease stateRichard Hughes2017-02-271-11/+3
| | | | Although sometimes useful, this leads to bugs when applications are removed.
* Add new API to GsApp to handle AsFormat objectsRichard Hughes2017-02-272-0/+142
|
* trivial: Rename some non exported symbols to use AsFormatRichard Hughes2017-02-275-21/+21
|