Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add AsRequire as a way to store runtime requirementswip/hughsie/AsRequire | Richard Hughes | 2016-12-21 | 11 | -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 value | Richard Hughes | 2016-12-21 | 1 | -1/+2 |
| | |||||
* | trivial: Add AS_APP_QUIRK_REMOVABLE_HARDWARE | Richard Hughes | 2016-12-20 | 1 | -0/+2 |
| | |||||
* | trivial: post release version bump | Richard Hughes | 2016-12-15 | 2 | -5/+5 |
| | |||||
* | Release version 0.6.6appstream_glib_0_6_6 | Richard Hughes | 2016-12-15 | 28 | -1956/+2497 |
| | |||||
* | trivial: Add some asserts to shut up clang | Richard Hughes | 2016-12-15 | 2 | -0/+9 |
| | |||||
* | trivial: Output the release state if the export is trusted | Richard Hughes | 2016-12-15 | 1 | -0/+5 |
| | |||||
* | Subsume the AppData releases into AppStream items | Richard Hughes | 2016-12-15 | 1 | -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 Hughes | 2016-12-15 | 2 | -0/+43 |
| | |||||
* | Add AS_APP_QUIRK_IS_PROXY | Richard Hughes | 2016-12-14 | 1 | -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 Graef | 2016-12-09 | 1 | -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 files | Richard Hughes | 2016-12-07 | 4 | -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 warning | Richard Hughes | 2016-12-07 | 1 | -1/+0 |
| | |||||
* | trivial: Remove an ununsed variable | Richard Hughes | 2016-12-06 | 1 | -1/+0 |
| | |||||
* | Do not absorb core addons into the main application | Richard Hughes | 2016-12-06 | 3 | -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 addons | Richard Hughes | 2016-12-06 | 1 | -3/+5 |
| | |||||
* | Don't add <provides> for addons | Richard Hughes | 2016-12-06 | 1 | -0/+4 |
| | |||||
* | Don't add <kudos> for addons | Richard Hughes | 2016-12-06 | 1 | -0/+4 |
| | |||||
* | Don't add <languages> for addons | Richard Hughes | 2016-12-06 | 1 | -0/+4 |
| | |||||
* | Don't regenerate .pot files with every build | Kalev Lember | 2016-12-06 | 1 | -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 AsRefString | Kalev Lember | 2016-12-02 | 1 | -8/+4 |
| | |||||
* | Make AsRefString thread safe | Richard Hughes | 2016-11-28 | 1 | -15/+25 |
| | | | | This was crashing in the heavily multithreaded gnome-software. | ||||
* | trivial: Use -Wunused | Richard Hughes | 2016-11-28 | 1 | -0/+1 |
| | |||||
* | trivial: Fix unused variable warnings | Kalev Lember | 2016-11-26 | 1 | -4/+0 |
| | |||||
* | Set a better icon for codecs | Kalev Lember | 2016-11-26 | 1 | -1/+1 |
| | | | | As per Jakub's guidance. | ||||
* | trivial: Fix a tiny memory leak when escaping cdata | Richard Hughes | 2016-11-26 | 1 | -4/+1 |
| | |||||
* | Enable the stack protection in local builds | Richard Hughes | 2016-11-23 | 1 | -0/+2 |
| | | | | This means we crash just the same way as the distro packages. | ||||
* | Use full RELRO in the client executables | Richard Hughes | 2016-11-23 | 2 | -0/+8 |
| | | | | We could be handling untrusted content, so this seems like a good idea. | ||||
* | Add support for ONLY_NATIVE_LANGS when parsing yaml files | Richard Hughes | 2016-11-21 | 5 | -24/+110 |
| | | | | This saves ~20Mb of RSS on a typical desktop Debian install. | ||||
* | Cache the stemmer results in a hash table | Richard Hughes | 2016-11-21 | 5 | -22/+50 |
| | | | | This reduces the time it takes to populate the token cache by 60%. | ||||
* | trivial: Use a finer threshold when performing massif | Richard Hughes | 2016-11-21 | 1 | -2/+4 |
| | |||||
* | Allocate the release sizes at runtime | Richard Hughes | 2016-11-21 | 1 | -17/+29 |
| | | | | Saves 81Kb of RSS. | ||||
* | trivial: Add as_ref_string_new_static() | Richard Hughes | 2016-11-21 | 5 | -4/+24 |
| | | | | This reduces the number of common duplicate strings like 'C'. | ||||
* | trivial: Add as_ref_string_debug() | Richard Hughes | 2016-11-21 | 3 | -0/+119 |
| | | | | This allows us to debug the reference counted string functionality. | ||||
* | Lazy load the screenshot captions storage | Richard Hughes | 2016-11-21 | 1 | -5/+19 |
| | | | | This saves 0.8Mb RSS when using the Fedora AppStream file. | ||||
* | Use refcounted strings as the localised key | Richard Hughes | 2016-11-21 | 1 | -2/+4 |
| | | | | Saves 0.02Mb RSS. | ||||
* | Lazy load structures in AsRelease | Richard Hughes | 2016-11-21 | 1 | -12/+50 |
| | | | | This saves another 0.8Mb of RSS. | ||||
* | trivial: Don't split the text every time in the XML parsing hot path | Richard Hughes | 2016-11-21 | 1 | -0/+8 |
| | | | | This speeds up parsing to as good as pre-refcounted string time. | ||||
* | Use refcounted strings in all objects | Richard Hughes | 2016-11-21 | 16 | -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 object | Richard Hughes | 2016-11-21 | 4 | -0/+345 |
| | |||||
* | trivial: Show a total process time when using appstream-util --profile | Richard Hughes | 2016-11-18 | 1 | -0/+3 |
| | |||||
* | Don't export NULL tags from AppData file | Richard Hughes | 2016-11-18 | 1 | -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 handler | Richard Hughes | 2016-11-18 | 1 | -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 table | Richard Hughes | 2016-11-15 | 1 | -51/+68 |
| | | | | This saves another 100k of RSS. | ||||
* | trivial: Fix the self tests now we're stemming the tag cache | Richard Hughes | 2016-11-14 | 1 | -4/+0 |
| | |||||
* | Deduplicate common AsNode cdata sections for some tag types | Richard Hughes | 2016-11-14 | 1 | -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 table | Richard Hughes | 2016-11-14 | 2 | -31/+96 |
| | | | | This saves about 1Mb of RSS when loading the Fedora AppStream file. | ||||
* | Don't recommend use of DISTCHECK_CONFIGURE_FLAGS (#139) | Michael Catanzaro | 2016-11-10 | 1 | -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 converting | Richard Hughes | 2016-11-10 | 1 | -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 ignored | Richard Hughes | 2016-11-10 | 1 | -11/+19 |
| | | | | | This makes things a bit quicker to load and saves over 5Mb RSS on the giant Fedora AppStream file. |