summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node-private.h
Commit message (Collapse)AuthorAgeFilesLines
* Consider AppStream version as a stringCorentin Noël2021-08-031-2/+2
| | | | | | Always store the AppStream metadata version as a string and compare it like any other version. This allows to have 0.10 > 0.8 for instance.
* Use '#pragma once' to avoid a lot of boilerplateRichard Hughes2019-02-091-6/+2
|
* Use the SPDX-License-Identifier in all source filesRichard Hughes2019-02-091-15/+1
|
* trivial: Store the locale as an interned stringRichard Hughes2018-05-211-0/+2
|
* Fix compile with -Wdiscarded-qualifiersRichard Hughes2017-03-151-1/+5
| | | | Some distros helpfully force this on for some reason.
* as-node: Add back as_node_context_{get,set}_source_kind (#157)Iain Lane2017-02-281-0/+7
| | | | | | | 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.
* trivial: Rename some non exported symbols to use AsFormatRichard Hughes2017-02-271-3/+3
|
* trivial: Use the new AsFormatKind definesRichard Hughes2017-02-271-4/+4
| | | | No code changes, and ensure we don't break API/ABI by using #define's.
* Use refcounted strings in all objectsRichard Hughes2016-11-211-4/+2
| | | | | This drops the RSS by ~1Mb and has the potential to do much more drastic things if this is used in GNOME Software.
* Fix a small memory leak when parsing yaml filesRichard Hughes2016-09-281-0/+3
|
* Implement DEP-11 MediaBaseUrl supportRobert Ancell2016-03-041-0/+3
|
* Allow update_contact to be output in very limited conditionsRichard Hughes2015-11-261-0/+3
|
* Do not ever store the KDE x-test locale dataRichard Hughes2015-09-161-0/+1
|
* Add the source-only tags when outputting AppData filesRichard Hughes2015-03-301-0/+3
|
* Create a AsNodeContext object for parsing stateRichard Hughes2015-01-211-0/+10
| | | | | | | We've relied on version number heuristics for too long, and now we're in a position where we need the source kind to parse files correctly. All the functions are private, no API bump required.
* trivial: Export some more useful API from AsNodeRichard Hughes2014-06-181-15/+0
|
* Add as_node_get_comment()Richard Hughes2014-05-231-0/+3
| | | | | | | | | | Comments are stored as internal attributes to avoid growing the size of AsNodeData beyond 32 bits, although there is a performance penalty for this. As comments are not often encountered in documents (and not at all in the AppStream metadata fast path) this is probably okay. By default comments are not loaded from the document, use %AS_NODE_FROM_XML_FLAG_KEEP_COMMENTS when loading to enable this.
* Add as_node_set_name() internal methodRichard Hughes2014-04-211-0/+2
|
* Add as_node_reflow_text() to reflow XML text properlyRichard Hughes2014-04-111-0/+2
| | | | The previous simple method did not work well for AppData files.
* Add as_node_take_attribute() to reduce allocations during parseRichard Hughes2014-03-241-0/+2
| | | | | This speeds up parsing by a couple of ms, but reduces the memory footprint by a few kb.
* Support the 'origin' attribute on the root nodeRichard Hughes2014-03-191-0/+8
|
* Unexport things we don't want to keep stableRichard Hughes2014-03-181-0/+40