summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* reader: Clarify use of json_reader_end_[element|member]() with errorsPhilip Withnall2015-08-181-2/+29
| | | | | | | | Include an example showing that the end function must be called on both code paths (success and failure) if the reader object is to be used afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=744100
* array: Do not create a null node for empty stringsEmmanuele Bassi2015-08-181-1/+1
| | | | | | The two are fairly different, and JsonObject does not behave this way. https://bugzilla.gnome.org/show_bug.cgi?id=730803
* Updated Swedish translationAnders Jonsson2015-08-091-44/+45
|
* Updated Portuguese translationPedro Albuquerque2015-07-011-49/+53
|
* parser: Port to GTaskEmmanuele Bassi2015-06-091-118/+62
| | | | | GSimpleAsyncResult is deprecated in GLib 2.46, so we should drop its use, and simplify the code in the process.
* docs: Add 1.2 symbols indexEmmanuele Bassi2015-06-091-0/+5
|
* docs: Add missing symbolsEmmanuele Bassi2015-06-091-1/+5
|
* Add simple JSON/string utilitiesEmmanuele Bassi2015-06-097-0/+173
| | | | | Wrap JsonParser and JsonGenerator in simple, easy to call functions that manage the objects for you.
* Bump up version to 1.1.1Emmanuele Bassi2015-06-091-3/+3
| | | | New development cycle, for new API.
* Added Occitan translationCédric Valmary2015-05-211-0/+235
|
* Post-release version bump to 1.0.5Emmanuele Bassi2015-03-151-2/+2
|
* Release JSON-GLib 1.0.41.0.4Emmanuele Bassi2015-03-151-2/+2
|
* build: Enable subdir-objectsEmmanuele Bassi2015-03-155-51/+68
| | | | | | | We need to remove the path specification inside the sources listing, and modify the enumeration type and marshallers generation rules to cope with it (by adding the $(srcdir) when needed). This is similar to the changes there were made to Clutter.
* Added Bosnian translationSamir Ribic2015-03-131-0/+252
|
* build: Enable gtkdoc-checkEmmanuele Bassi2015-03-132-14/+13
| | | | | We can verify that the documentation is correct and up to date every time we distcheck by turning on the gtk-doc check tool.
* build: Clean up gtk-doc stanzasEmmanuele Bassi2015-03-132-40/+2
| | | | | | | | We need to ensure that gtk-doc looks into both the srcdir and the builddir in order to find all annotations. We also don't need to have the .types file under revision control: gtk-doc is perfectly capable of rebuilding it by itself.
* docs: Add missing symbol indicesEmmanuele Bassi2015-03-131-0/+10
|
* docs: Add missing annotationsEmmanuele Bassi2015-03-131-2/+26
|
* configure: test(1) uses = to test for string equalityPatrick Welche2015-03-131-1/+1
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=711600 https://bugzilla.gnome.org/show_bug.cgi?id=746143
* Updated Slovak translationDušan Kazik2015-03-091-36/+138
|
* MSVC Builds: Rename "Install" ProjectsChun-wei Fan2015-03-066-7/+7
| | | | | | Rename the install projects as json-glib-install, so that it would be easier for one to integrate the project set in a grand solution that can be used to build the entire stack, such as for Clutter.
* MSVC Builds: "Install" the .pdb FilesChun-wei Fan2015-03-062-4/+6
| | | | | | "Install" the .pdb files for the json-glib DLL and the tools to ease debugging people developing or using json-glib, as the .pdb files are already generated for all builds.
* MSVC 2010 Projects: Clean Up "Installation"Chun-wei Fan2015-03-061-21/+0
| | | | | The empty lines in the property sheets are not really needed, so remove them.
* MSVC Builds: Speed Up Release BuildsChun-wei Fan2015-03-062-0/+3
| | | | | | | | | Use the multiprocessor compilation (/MP) option, which can cut down release build times by quite a bit. This will emit a brief warning on debug builds, but otherwise the build will proceed as normal. Also use the /d2Zi+ option for MSVC 2010 (and later) builds so that more useful information can be logged to the .pdb files for the release builds.
* json-gvariant: Parse json doubles that are whole numbersStef Walter2015-01-262-1/+9
| | | | | | | | | The json gvariant serializer encodes whole number doubles without a dot. The deserializer needs to be able to parse these as well. Fix problem, and add test cases. https://bugzilla.gnome.org/show_bug.cgi?id=724319
* 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
* reader: Maintain a stack of member namesPhilip Withnall2015-01-252-13/+29
| | | | | | | | | | | | | | | | | | | | | This fixes the case where, with nested objects, we call: json_reader_read_member (reader, "outer"); // json_reader_get_member_name (reader) == "outer" json_reader_read_member (reader, "inner"); // json_reader_get_member_name (reader) == "inner" // do something useful json_reader_end_member (reader); but at the end, the following assertion no longer holds: // json_reader_get_member_name (reader) == "outer" even though the JsonReader state should have been reset after ending the inner node. Fix it by maintaining a stack of member names. This works with both json_reader_read_member() and json_reader_read_element(). Updates to the unit tests are included. https://bugzilla.gnome.org/show_bug.cgi?id=741824
* Handle serialization/deserialization of glong gulong and guint64Tristan Van Berkom2014-12-301-0/+28
| | | | | | | | Long and unsigned long was properly serialized but not deserialized, guint64 handling is not ideal as the type is cast into a gint64, however this is better than not handling the fundamental type at all. https://bugzilla.gnome.org/show_bug.cgi?id=725972
* Drop unnecessary '_' prefix from json_marshalEmmanuele Bassi2014-12-302-10/+10
| | | | | It's not public API anyway, and we use annotations instead of the '_' prefix.
* Updated Turkish translationYaşar Şentürk2014-12-041-53/+152
|
* Updated Swedish translationSebastian Rasmussen2014-09-181-84/+177
|
* Updated Assamese translationngoswami2014-08-201-40/+140
|
* Updated German translationWolfgang Stöggl2014-08-141-6/+6
|
* doap category coreOlav Vitters2014-07-301-1/+1
|
* Clean up the enumeration type templateEmmanuele Bassi2014-07-251-3/+3
|
* Include "config.h" in the enum types templateEmmanuele Bassi2014-07-251-0/+1
| | | | Expands the symbol annotation correctly.
* Updated Greek translationTom Tryfonidis2014-07-091-40/+40
|
* MSVC 2010+ Projects: Update "Installation" ProcessChun-wei Fan2014-06-092-16/+32
| | | | | | | | | | | | | | | Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development.
* [l10n] Update Catalan translationGil Forcada2014-06-031-37/+139
|
* Post-release version bump to 1.0.3Emmanuele Bassi2014-05-291-2/+2
|
* Release JSON-GLib 1.0.21.0.2Emmanuele Bassi2014-05-291-2/+2
|
* build: Include enum-types.[ch] in the introspection sourcesEmmanuele Bassi2014-05-291-1/+8
| | | | | | | Otherwise g-ir-scanner won't pick the types up, and will not notice that the error enumerations have an associated error domain. https://bugzilla.gnome.org/show_bug.cgi?id=730917
* generator: Add tests for updated string escaping routineStef Walter2014-05-211-0/+47
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=730425
* generator: Escape the control characters correctlyStef Walter2014-05-211-26/+47
| | | | | | | Escaping these as octals is out of the JSON spec completely, so roll our own string encoder. https://bugzilla.gnome.org/show_bug.cgi?id=730425
* generator: Escape Object key names correctlyStef Walter2014-05-201-8/+11
| | | | | | Also fix empty keys, which are now encoded properly. https://bugzilla.gnome.org/show_bug.cgi?id=727593
* Updated German translationChristian Kirbach2014-04-281-37/+138
|
* Updated Ukrainian translationDaniel Korostil2014-04-211-57/+168
|
* json-parser: use length parameter when validating utf-8djcb2014-04-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=727755
* tests: Add more checks to the parser stream unitEmmanuele Bassi2014-04-171-6/+16
|
* parser: Use the right length for parsing the stream contentsEmmanuele Bassi2014-04-171-2/+2
| | | | | | | The ByteArray we use to buffer the contents of a stream in order to pass them to the parser may have a bigger length. We should use the cursor position that we use to put a '\0' in the buffer instead. We could also use -1, but this saves us a strlen() later on.