Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trivial: Fix up some GObjectIntrospection markup | Richard Hughes | 2014-06-20 | 1 | -1/+1 |
| | |||||
* | Allow as_node_get_attribute_as_int() to parse negative numbers | Richard Hughes | 2014-06-13 | 1 | -2/+2 |
| | | | | | | | | | This was failing as the gint64 value was being pushed into a guint64, so negative numbers were being pushed above G_MAXINT and hence an error was being returned. Additionally, return G_MAXINT rather than G_MAXUINT, else we can't actually parse the '-1' value. | ||||
* | trivial: Use systemd-style cleanup functions | Richard Hughes | 2014-06-04 | 1 | -5/+5 |
| | | | | There's no point creating yet another format... | ||||
* | trivial: Use a common style where the _cleanup is done last in the block | Richard Hughes | 2014-06-03 | 1 | -2/+2 |
| | |||||
* | Use __attribute__(cleanup) to simplify memory cleanup | Richard Hughes | 2014-06-01 | 1 | -32/+16 |
| | |||||
* | Add as_image_get_basename() | Richard Hughes | 2014-05-16 | 1 | -0/+43 |
| | |||||
* | Add as_image_save_pixbuf() | Richard Hughes | 2014-05-16 | 1 | -40/+63 |
| | |||||
* | Add as_image_load_filename() | Richard Hughes | 2014-05-14 | 1 | -0/+47 |
| | |||||
* | Update the image size when using as_image_set_pixbuf() | Richard Hughes | 2014-05-14 | 1 | -0/+2 |
| | |||||
* | Add as_image_get_md5() | Richard Hughes | 2014-05-13 | 1 | -0/+27 |
| | | | | This is not supposed to be a secure hash. | ||||
* | Add as_image_save_filename() | Richard Hughes | 2014-05-13 | 1 | -0/+87 |
| | |||||
* | Add as_image_set_pixbuf() | Richard Hughes | 2014-05-13 | 1 | -0/+38 |
| | | | | This allows us to store image data in the object directly. | ||||
* | Add an 'api-version' property to AsStore to generate old-style metadata | Richard Hughes | 2014-03-20 | 1 | -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 documentation | Richard Hughes | 2014-03-18 | 1 | -0/+13 |
| | |||||
* | Unexport things we don't want to keep stable | Richard Hughes | 2014-03-18 | 1 | -3/+3 |
| | |||||
* | Add a lot of Gtk-Doc markup and generate a valid GIR file | Richard Hughes | 2014-03-17 | 1 | -11/+101 |
| | |||||
* | trivial: Never use atoi() | Richard Hughes | 2014-03-17 | 1 | -9/+8 |
| | |||||
* | Reduce the amount of string copying when parsing a GNode tree | Richard Hughes | 2014-03-17 | 1 | -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 copy | Richard Hughes | 2014-03-13 | 1 | -5/+3 |
| | |||||
* | Add functions to parse from and to insert a GNode | Richard Hughes | 2014-03-13 | 1 | -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 AsImage | Richard Hughes | 2014-03-12 | 1 | -0/+188 |