| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Original patch by: Thibault Saunier <tsaunier@gnome.org>
|
|
|
|
| |
They need to be exactly one line above a string to show up in .po files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add reference counting semantics to JsonNode, in addition to the
existing init/unset and alloc/free semantics.
json_node_free() must only be used with nodes allocated using
json_node_alloc(). json_node_unref() may be used with all nodes (if
correctly paired; it may be paired with json_node_alloc()).
It is not valid to call json_node_free() on a node whose reference count
is not 1.
https://bugzilla.gnome.org/show_bug.cgi?id=756121
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
All the platforms and build system we support have a config.h header.
|
|
|
|
|
| |
Drop the DocBook documentation, and move everything to the MarkDown
format used by modern gtk-doc.
|
|
|
|
|
| |
Only include the necessary headers, and use a single-header inclusion
guard to prevent people from including only json-gvariant.h.
|
|
|
|
|
|
|
|
|
| |
Consider the following JSON: ["123"]
Trying to convert it to GVariant with signature "(i)" would previously fail,
as string-to-number conversions weren't implemented. This patch implements
string-to-number and string-to-boolean conversions.
https://bugzilla.gnome.org/show_bug.cgi?id=707382
|
|
|
|
|
| |
The returned GVariant when deserializing from JSON has a floating
reference that needs to be sunk.
|
|
|
|
| |
Fix casting issue in Gvariant creation on some architectures.
|
|
|
|
| |
These errors might find their way into a UI.
|
|
|
|
| |
We need to translate the GError messages.
|
|
|
|
|
|
|
| |
The 'signature' arguments of the json_gvariant_deserialize functions are
optional.
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
|
|
|
|
|
|
|
|
| |
Some small internal change from passing the signature to a pointer to
the signature down the call chain caused all the checks for
signature==NULL to fail.
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
G_VARIANT_CLASS_DICTIONARY is a define; GCC complais loudly when trying
to use a switch() on an enumeration type with case values not from the
enumeration.
Plus: coding style in JSON-GLib is mostly the same as GTK+ and Clutter,
so we should adhere to it.
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=632940
|