| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
generator: ensure valid output double exponential notation
Closes #67
See merge request GNOME/json-glib!57
|
|/
|
|
| |
Fixes #67
|
|\
| |
| |
| |
| | |
Document behaviour for deserializing `construct-only` properties
See merge request GNOME/json-glib!48
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Replace g_print with g_test_message
See merge request GNOME/json-glib!56
|
|/ /
| |
| |
| |
| |
| |
| | |
The test suite for JSON-GLib was written back when we only had
gtester-report and freeform verbose test output. These days, we expect
everything to conform to the Test Anything Protocol (TAP), which has
specific constraints on the output format.
|
|\ \
| | |
| | |
| | |
| | | |
fix deserialize data memory leak
See merge request GNOME/json-glib!51
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
builder: Don't leak memory if json_builder_get_root fails sanity check
See merge request GNOME/json-glib!46
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Coverity noticed a leak in json_builder_get_root that can't happen
in practice. Namely, if internal state gets screwed up and runtime checks
are enabled, json_builder_get_root may return NULL without freeing a copy of the
builder root it just made.
This is because of a g_return_val_if_fail call to bail early if an
internal consistency sanity check fails.
This commit addresses the coverity complaint by using g_assert instead
of g_return_val_if_fail for this sanity check, and other similar
sanity checks, in the code.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Make xgettext optional
See merge request GNOME/json-glib!50
|
| | | | |
| | | | |
| | | | |
| | | | | |
This copies the same logic and option from glib.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add new api json_reader_get_current_node
Closes #9
See merge request GNOME/json-glib!52
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Being explicit on setup args and add compile argument for building
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This can be useful to extract a sub json structure
during parsing of another (for example when we don't
know in advance the format of this sub json and just
want to pass it to another consumer).
Closes #9
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Open 1.8 development cycle
See merge request GNOME/json-glib!55
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Use `gnu99` as the C standard, and let Meson deal with the fallback
when using non-GNU-compatible toolchains
- Use warning level 2, to catch more annoying C warnings
- Use SPDX license identifier for the license field
- Require a newer version of Meson
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoid compiler warnings.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoid compiler warnings when running with `-Wunused-parameter`.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When running with `-Wsign-compare` we're raising a lot of
signed/unsigned comparison warnings.
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Drop usage of raw g_assert in reader test in favor of g_assert_*()
See merge request GNOME/json-glib!54
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will give more informative message in case of fail assertions.
Moreover GLib (when compiling with G_DISABLE_ASSERT) disable g_assert
totally, that would make these tests no-op
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
| | | | |
|
|/ / / |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Delete an extra word in comment section
See merge request GNOME/json-glib!49
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Delete an extra word
Line: 55
Word: root
|
| |/
|/| |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
set node->data pointer to null when unset
See merge request GNOME/json-glib!37
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The tarball artifact is in the root directory, but we're exploding it
into the "public" directory.
|
|\ \
| | |
| | |
| | |
| | | |
ci: Use a separate template for the reference job
See merge request GNOME/json-glib!45
|
| | | |
|
|/ /
| |
| |
| |
| | |
We want to extract the API reference build to its own template, so we
can share it across projects using gi-docgen.
|