summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Bulgarian translationHEADmasterAlexander Shopov2023-03-311-2/+2
|
* Merge branch 'valid-double-exponential' into 'master'Emmanuele Bassi2023-02-062-1/+34
|\ | | | | | | | | | | | | generator: ensure valid output double exponential notation Closes #67 See merge request GNOME/json-glib!57
| * generator: ensure valid output double exponential notationMark Nauwelaerts2023-01-262-1/+34
|/ | | | Fixes #67
* Merge branch 'serializable-docs' into 'master'Emmanuele Bassi2022-10-181-0/+3
|\ | | | | | | | | Document behaviour for deserializing `construct-only` properties See merge request GNOME/json-glib!48
| * serializable: Improve wording of `construct-only` properties commentEmmanuele Bassi2022-10-121-1/+2
| |
| * serializable: Document behaviour for `construct-only` propertiesMatt Jakeman2022-02-061-0/+2
| |
* | Merge branch 'ebassi/test-message' into 'master'Emmanuele Bassi2022-10-1810-443/+212
|\ \ | | | | | | | | | | | | Replace g_print with g_test_message See merge request GNOME/json-glib!56
| * | Replace g_print with g_test_messageEmmanuele Bassi2022-10-1310-443/+212
|/ / | | | | | | | | | | | | 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.
* | Merge branch 'fix-deserialize-data-memory-leak' into 'master'Emmanuele Bassi2022-10-111-1/+4
|\ \ | | | | | | | | | | | | fix deserialize data memory leak See merge request GNOME/json-glib!51
| * | fix deserialize data memory leakGeoffrey Van Landeghem2022-10-111-1/+4
| | |
* | | Merge branch 'coverity-leak' into 'master'Emmanuele Bassi2022-10-112-9/+9
|\ \ \ | | | | | | | | | | | | | | | | builder: Don't leak memory if json_builder_get_root fails sanity check See merge request GNOME/json-glib!46
| * | | builder,parser: Use g_assert for sanity checksRay Strode2021-10-192-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'nls' into 'master'Emmanuele Bassi2022-10-112-1/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Make xgettext optional See merge request GNOME/json-glib!50
| * | | | Make xgettext optionalXavier Claessens2022-04-242-1/+9
| | | | | | | | | | | | | | | | | | | | This copies the same logic and option from glib.
* | | | | Merge branch 'feature/json-node-accessor' into 'master'Emmanuele Bassi2022-10-114-2/+62
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new api json_reader_get_current_node Closes #9 See merge request GNOME/json-glib!52
| * | | | | Update the README.md for build command exampleFrederic Martinsons2022-10-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Being explicit on setup args and add compile argument for building Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
| * | | | | Add new api json_reader_get_current_nodeFrederic Martinsons2022-10-113-0/+60
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2022-10-1119-130/+159
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Open 1.8 development cycle See merge request GNOME/json-glib!55
| * | | | | ci: Update the version of MesonEmmanuele Bassi2022-10-111-2/+2
| | | | | |
| * | | | | build: Modernise the project() declarationEmmanuele Bassi2022-10-111-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | | | Initialise all missing struct fieldsEmmanuele Bassi2022-10-112-38/+52
| | | | | | | | | | | | | | | | | | | | | | | | Avoid compiler warnings.
| * | | | | Drop or mark unused parametersEmmanuele Bassi2022-10-119-24/+29
| | | | | | | | | | | | | | | | | | | | | | | | Avoid compiler warnings when running with `-Wunused-parameter`.
| * | | | | Fix sign comparison warningsEmmanuele Bassi2022-10-1110-58/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running with `-Wsign-compare` we're raising a lot of signed/unsigned comparison warnings.
| * | | | | Add 1.8 version macrosEmmanuele Bassi2022-10-111-0/+32
| | | | | |
| * | | | | Post-branch version bump to 1.7.1Emmanuele Bassi2022-10-111-1/+1
|/ / / / /
* | | | | Merge branch 'feature/drop_raw_g_assert' into 'master'json-glib-1-6Emmanuele Bassi2022-10-1114-163/+164
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Drop usage of raw g_assert in reader test in favor of g_assert_*() See merge request GNOME/json-glib!54
| * | | | | Drop usage of raw g_assert in reader test in favor of g_assert_*()Frederic Martinsons2022-10-1114-163/+164
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Update Georgian translationZurab Kargareteli2022-09-231-4/+4
| | | | |
* | | | | Add Georgian translationZurab Kargareteli2022-09-232-0/+277
| | | | |
* | | | | Update Turkish translationSabri Ünal2022-09-181-49/+39
|/ / / /
* | | | Update Abkhazian translationNart Tlisha2022-07-291-279/+270
| | | |
* | | | Update Hebrew translationYosef Or Boczko2022-07-141-100/+145
|/ / /
* | | Update French translationCharles Monzat2022-04-091-12/+12
| | |
* | | Update Bulgarian translationAlexander Shopov2022-03-241-67/+189
| | |
* | | Merge branch 'json-builder-edit-comment' into 'master'Emmanuele Bassi2022-02-151-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Delete an extra word in comment section See merge request GNOME/json-glib!49
| * | | json-glib/json-builder.c:Farzin2022-02-151-1/+1
|/ / / | | | | | | | | | | | | | | | Delete an extra word Line: 55 Word: root
* | | Add Abkhazian translationNaala Nanba2022-02-142-0/+280
| |/ |/|
* | Fix API reference link in README.mdEmmanuele Bassi2021-11-171-1/+1
| |
* | Update Occitan translationQuentin PAGÈS2021-11-101-70/+58
|/
* Merge branch 'safe-node-init' into 'master'Emmanuele Bassi2021-10-092-6/+20
|\ | | | | | | | | set node->data pointer to null when unset See merge request GNOME/json-glib!37
| * applied suggest changetallua2021-10-101-2/+0
| |
| * Apply 2 suggestion(s) to 1 file(s)Emmanuele Bassi2021-10-091-6/+2
| |
| * Apply 1 suggestion(s) to 1 file(s)Emmanuele Bassi2021-10-091-1/+1
| |
| * remove/add whitespace for coding conventiontallua2021-10-101-2/+1
| |
| * uncomment codetallua2021-04-061-1/+1
| |
| * set node->data pointer to null when unsettallua2021-04-062-0/+21
| |
* | ci: Use the right path for the docs archiveEmmanuele Bassi2021-08-251-1/+1
| | | | | | | | | | The tarball artifact is in the root directory, but we're exploding it into the "public" directory.
* | Merge branch 'docs-template' into 'master'Emmanuele Bassi2021-08-251-23/+29
|\ \ | | | | | | | | | | | | ci: Use a separate template for the reference job See merge request GNOME/json-glib!45
| * | ci: Publis the pages once againEmmanuele Bassi2021-08-251-1/+13
| | |
| * | ci: Use a separate template for the reference jobEmmanuele Bassi2021-08-251-33/+27
|/ / | | | | | | | | We want to extract the API reference build to its own template, so we can share it across projects using gi-docgen.