summaryrefslogtreecommitdiff
path: root/json-glib/json-builder.c
Commit message (Collapse)AuthorAgeFilesLines
* builder: Add missing (transfer) annotation to json_builder_add_value()Philip Withnall2015-01-251-1/+3
| | | | | | | Document and annotate the fact that json_builder_add_value() takes ownership of the JsonNode passed in to it. https://bugzilla.gnome.org/show_bug.cgi?id=743475
* Remove conditional inclusion of config.hEmmanuele Bassi2014-03-181-2/+0
| | | | All the platforms and build system we support have a config.h header.
* docs: Port to MarkDownEmmanuele Bassi2014-03-181-1/+1
| | | | | Drop the DocBook documentation, and move everything to the MarkDown format used by modern gtk-doc.
* Drop some more pointless GET_PRIVATE macrosEmmanuele Bassi2013-08-221-5/+3
| | | | We can use the autogenerated get_instance_private() function.
* Remove compile time GLib version checkEmmanuele Bassi2013-08-211-13/+1
| | | | | We depend on a new version of GLib, so we can remove a bunch of old version checks.
* Use new macros when compiling against new GLibEmmanuele Bassi2013-07-201-3/+12
| | | | | | | | If we're being compiled against a newer version of GLib, we should use the new macros that add instance private data. Since this is a stable branch, we cannot bump the GLib requirement; so we use version checks to conditionally compile the new code.
* builder: Conform to the coding styleEmmanuele Bassi2012-10-261-6/+14
| | | | Function arguments should be aligned on different lines.
* builder: Initialize state fieldsEmmanuele Bassi2011-05-281-0/+1
| | | | | | | If we're calling g_free() on a field we better make sure that it's either NULL or contains valid data. https://bugzilla.gnome.org/show_bug.cgi?id=651271
* docs: Add transfer none annotation to JsonBuilder return values.Luca Bruno2010-08-151-11/+11
|
* docs: Add JsonBuilder to the API referenceEmmanuele Bassi2010-06-161-1/+2
| | | | | And silence gtk-doc-scanner by removing an undefined argument from json_builder_add_null_value().
* builder: Add convenience API for building JSON trees.Luca Bruno2010-06-161-0/+682
https://bugzilla.gnome.org/show_bug.cgi?id=621141 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>