summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-image.c
Commit message (Collapse)AuthorAgeFilesLines
* Add an 'api-version' property to AsStore to generate old-style metadataRichard Hughes2014-03-201-1/+2
| | | | | This allows us to keep up with the latest API and still write metadata compatible with old applications not using libappstream-glib or libappstream.
* Add gtk-doc file headers and flesh out the documentationRichard Hughes2014-03-181-0/+13
|
* Unexport things we don't want to keep stableRichard Hughes2014-03-181-3/+3
|
* Add a lot of Gtk-Doc markup and generate a valid GIR fileRichard Hughes2014-03-171-11/+101
|
* trivial: Never use atoi()Richard Hughes2014-03-171-9/+8
|
* Reduce the amount of string copying when parsing a GNode treeRichard Hughes2014-03-171-3/+8
| | | | | | By introducing as_node_take_data() we can take ownership of the string data, and avoid an extra g_strdup/g_free for each tag processed. This speeds up reading the sample data by ~5%.
* Use strndup so we can use expat-type parsers without an additional copyRichard Hughes2014-03-131-5/+3
|
* Add functions to parse from and to insert a GNodeRichard Hughes2014-03-131-0/+57
| | | | | | This allows us to trivially serialize objects to XML and back. NOTE: as this uses a DOM parser, it's certainly not quick. Use something manual like expat or GMarkupParser to do this more efficiently and with less memory.
* Add AsImageRichard Hughes2014-03-121-0/+188