summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add AsRequire as a way to store runtime requirementswip/hughsie/AsRequireRichard Hughes2016-12-2111-0/+834
| | | | | | This can be used by fwupd to prevent incompatible firmware being installed on devices, and GNOME Software for limiting artificial fake components to supported plugin versions.
* trivial: Don't ever write an empty component ID valueRichard Hughes2016-12-211-1/+2
|
* trivial: Add AS_APP_QUIRK_REMOVABLE_HARDWARERichard Hughes2016-12-201-0/+2
|
* trivial: post release version bumpRichard Hughes2016-12-152-5/+5
|
* Release version 0.6.6appstream_glib_0_6_6Richard Hughes2016-12-1528-1956/+2497
|
* trivial: Add some asserts to shut up clangRichard Hughes2016-12-152-0/+9
|
* trivial: Output the release state if the export is trustedRichard Hughes2016-12-151-0/+5
|
* Subsume the AppData releases into AppStream itemsRichard Hughes2016-12-151-0/+2
| | | | | This preserves the 'installed' state of the AsRelease which gnome-software is using for the update description logic.
* Add as_release_state_to_string()Richard Hughes2016-12-152-0/+43
|
* Add AS_APP_QUIRK_IS_PROXYRichard Hughes2016-12-141-0/+2
| | | | | | A proxy application is an application that operates on the behalf of other applications. Is is designed so that we can have a virtual application that can update one or more applications at the same time.
* Add Geary to the app id fallbacks (#141)Niels De Graef2016-12-091-0/+1
| | | | | Geary recently renamed its app id to follow flatpak conventions. Adding a fallback to appstream. More info, see [bug 766196](https://bugzilla.gnome.org/show_bug.cgi?id=766196) on GNOME bugzilla.
* trivial: Don't include trailing whitespace from AppData filesRichard Hughes2016-12-074-9/+10
| | | | | Translators sometimes leave extra whitespace, so if we're parsing without AS_NODE_FROM_XML_FLAG_LITERAL_TEXT then just swallow the trailing spaces.
* trivial: Remove a tiny compiler warningRichard Hughes2016-12-071-1/+0
|
* trivial: Remove an ununsed variableRichard Hughes2016-12-061-1/+0
|
* Do not absorb core addons into the main applicationRichard Hughes2016-12-063-178/+15
| | | | | Adding this to the metadata means we do not have to look up the metadata source using the package manager.
* Don't add <releases> for addonsRichard Hughes2016-12-061-3/+5
|
* Don't add <provides> for addonsRichard Hughes2016-12-061-0/+4
|
* Don't add <kudos> for addonsRichard Hughes2016-12-061-0/+4
|
* Don't add <languages> for addonsRichard Hughes2016-12-061-0/+4
|
* Don't regenerate .pot files with every buildKalev Lember2016-12-061-1/+1
| | | | | | The pot files are checked into git and regenerating them makes it difficult to work on the code, littering commits with unrelated .pot file changes.
* Fix one more thread safety issue with AsRefStringKalev Lember2016-12-021-8/+4
|
* Make AsRefString thread safeRichard Hughes2016-11-281-15/+25
| | | | This was crashing in the heavily multithreaded gnome-software.
* trivial: Use -WunusedRichard Hughes2016-11-281-0/+1
|
* trivial: Fix unused variable warningsKalev Lember2016-11-261-4/+0
|
* Set a better icon for codecsKalev Lember2016-11-261-1/+1
| | | | As per Jakub's guidance.
* trivial: Fix a tiny memory leak when escaping cdataRichard Hughes2016-11-261-4/+1
|
* Enable the stack protection in local buildsRichard Hughes2016-11-231-0/+2
| | | | This means we crash just the same way as the distro packages.
* Use full RELRO in the client executablesRichard Hughes2016-11-232-0/+8
| | | | We could be handling untrusted content, so this seems like a good idea.
* Add support for ONLY_NATIVE_LANGS when parsing yaml filesRichard Hughes2016-11-215-24/+110
| | | | This saves ~20Mb of RSS on a typical desktop Debian install.
* Cache the stemmer results in a hash tableRichard Hughes2016-11-215-22/+50
| | | | This reduces the time it takes to populate the token cache by 60%.
* trivial: Use a finer threshold when performing massifRichard Hughes2016-11-211-2/+4
|
* Allocate the release sizes at runtimeRichard Hughes2016-11-211-17/+29
| | | | Saves 81Kb of RSS.
* trivial: Add as_ref_string_new_static()Richard Hughes2016-11-215-4/+24
| | | | This reduces the number of common duplicate strings like 'C'.
* trivial: Add as_ref_string_debug()Richard Hughes2016-11-213-0/+119
| | | | This allows us to debug the reference counted string functionality.
* Lazy load the screenshot captions storageRichard Hughes2016-11-211-5/+19
| | | | This saves 0.8Mb RSS when using the Fedora AppStream file.
* Use refcounted strings as the localised keyRichard Hughes2016-11-211-2/+4
| | | | Saves 0.02Mb RSS.
* Lazy load structures in AsReleaseRichard Hughes2016-11-211-12/+50
| | | | This saves another 0.8Mb of RSS.
* trivial: Don't split the text every time in the XML parsing hot pathRichard Hughes2016-11-211-0/+8
| | | | This speeds up parsing to as good as pre-refcounted string time.
* Use refcounted strings in all objectsRichard Hughes2016-11-2116-483/+492
| | | | | This drops the RSS by ~1Mb and has the potential to do much more drastic things if this is used in GNOME Software.
* Add a refcounted overloaded C string objectRichard Hughes2016-11-214-0/+345
|
* trivial: Show a total process time when using appstream-util --profileRichard Hughes2016-11-181-0/+3
|
* Don't export NULL tags from AppData fileRichard Hughes2016-11-181-1/+3
| | | | | If we're ignoring the non-native languages when parsing (but keeping the tree) then make sure we don't try exporting null text tags from the empty tree nodes.
* Detect invalid files in the libyaml read handlerRichard Hughes2016-11-181-6/+8
| | | | | | | | | | | | | If non-gzipped files are saved as .yml.gz they are seeked by the GInputStream GZlibDecompressor which fails. This can happen when the user is connected to a badly configured captive portal and the downloaded 'gzipped yaml file' is actually the captive portal HTML login page. Detect this and handle the error the best we can given the libyaml API constraints. This probably fixes bugs like https://github.com/hughsie/fwupd/issues/70 and similar bugs in gnome-software.
* Dedupliate nonstandard tag names using a hash tableRichard Hughes2016-11-151-51/+68
| | | | This saves another 100k of RSS.
* trivial: Fix the self tests now we're stemming the tag cacheRichard Hughes2016-11-141-4/+0
|
* Deduplicate common AsNode cdata sections for some tag typesRichard Hughes2016-11-141-3/+60
| | | | This saves yet another 1Mb of RSS when loading the Fedora AppStream file.
* Deduplicate the AsNode attribute key and value using a hash tableRichard Hughes2016-11-142-31/+96
| | | | This saves about 1Mb of RSS when loading the Fedora AppStream file.
* Don't recommend use of DISTCHECK_CONFIGURE_FLAGS (#139)Michael Catanzaro2016-11-101-1/+1
| | | DISTCHECK_CONFIGURE_FLAGS is only for users to override AM_DISTCHECK_CONFIGURE_FLAGS. It's not possible to do if Automake files stomp on that.
* trivial: Do not attempt to parse unknown tags when convertingRichard Hughes2016-11-101-0/+4
| | | | This is fallout from the previous patch but logically correct on it's own.
* Do not save the XML attributes if the node or parent node is being ignoredRichard Hughes2016-11-101-11/+19
| | | | | This makes things a bit quicker to load and saves over 5Mb RSS on the giant Fedora AppStream file.