summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fwip/hughsie/mesonRichard Hughes2016-12-073-4/+13
|
* Implement meson buildsystem as experimentRichard Hughes2016-12-0612-3/+613
| | | | With lots of help from Igor Gnatenko, many thanks.
* 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.
* trivial: Do not leak the entry if the file cannot be readRichard Hughes2016-11-091-2/+4
| | | | I'm not sure how you can hit this, but it was noticed by Coverity.
* Check the return value of the stat callRichard Hughes2016-11-091-1/+2
| | | | Found using Coverity.
* trivial: Use g_autoptr to avoid a Coverity warningRichard Hughes2016-11-091-18/+10
|
* trivial: Remove two unused variablesKalev Lember2016-11-072-2/+0
|
* trivial: post release version bumpRichard Hughes2016-11-072-5/+5
|
* 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.