summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Meson: Add glib fallbackXavier Claessens2019-01-073-4/+9
|/
* Update French translationCharles Monzat2018-12-291-12/+11
|
* Replace Bugzilla by Gitlab URL in DOAP fileAndre Klapper2018-12-151-1/+1
|
* Update Basque translationIñaki Larrañaga Murgoitio2018-11-171-70/+58
|
* Update Serbian translationМарко Костић2018-09-291-71/+59
|
* Updated Danish translationAsk Hjorth Larsen2018-09-011-49/+67
|
* Update Latvian translationRūdolfs Mazurs2018-08-311-69/+57
|
* Update Galician translationFran Dieguez2018-08-291-70/+58
|
* Update Italian translationMilo Casagrande2018-08-271-46/+58
|
* Update Korean translationSeong-ho Cho2018-08-251-45/+57
|
* Update Brazilian Portuguese translationRicardo Silva Veloso2018-08-161-70/+58
|
* Update Turkish translationEmin Tufan Çetin2018-08-121-76/+65
|
* Updated Lithuanian translationAurimas Černius2018-08-111-69/+57
|
* Update German translationMario Blättermann2018-08-041-54/+57
|
* Update Catalan translationJordi Mas2018-06-301-20/+32
|
* Update Greek translationEfstathios Iosifidis2018-06-221-69/+56
|
* Update Chinese (Taiwan) translationYi-Jyun Pan2018-06-131-18/+31
|
* Update French translationCharles Monzat2018-05-311-59/+75
|
* Update Chinese (China) translationMingcong Bai2018-05-211-21/+34
|
* Update Swedish translationAnders Jonsson2018-05-201-44/+56
|
* Update Indonesian translationKukuh Syafaat2018-05-061-45/+57
|
* Updated Spanish translationDaniel Mustieles2018-04-251-69/+57
|
* Updated Czech translationMarek Cernocky2018-04-241-46/+58
|
* Added Slovenian translationMatej Urbančič2018-04-231-45/+57
|
* Update Friulian translationFabio Tomat2018-04-231-44/+56
|
* Update Romanian translationDaniel Șerbănescu2018-04-171-17/+30
|
* Update Croatian translationgogo2018-04-161-18/+31
|
* Update Romanian translationDaniel Șerbănescu2018-04-091-89/+94
| | | | (cherry picked from commit 8b52960e83328b68e01639f0f112cc3a2d1529e2)
* Add Croatian translationgogo2018-03-162-0/+265
| | | | (cherry picked from commit 3d7952f80d70b138ce5fadab34449b573742d34a)
* Update Hungarian translationBalázs Úr2018-03-151-70/+57
|
* Merge branch 'wip/rishi/24-doc-fix' into 'master'Emmanuele Bassi2018-03-141-14/+24
|\ | | | | | | | | | | | | docs: Clarify some expections of the json_object_get_*_member APIs Closes #24 See merge request GNOME/json-glib!9
| * docs: Clarify some expections of the json_object_get_*_member APIsDebarshi Ray2018-03-141-14/+24
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | It is an error to use the following with a missing member: • json_object_get_int_member • json_object_get_double_member • json_object_get_boolean_member • json_object_get_null_member • json_object_get_string_member • json_object_get_array_member • json_object_get_object_member Doing so will lead to CRITICALs like these: Json-CRITICAL **: json_object_get_string_member: assertion 'node != NULL' failed Instead one of these should be used to determine the existence of the member: • json_object_get_member • json_object_has_member Or, when available, one can use the corresponding json_object_get_<type>_member_with_default. https://gitlab.gnome.org/GNOME/json-glib/issues/24
* Update Polish translationPiotr Drąg2018-03-131-46/+58
|
* ci: Add redhat-rpm-config to the dependenciesEmmanuele Bassi2018-03-131-1/+1
| | | | | Otherwise gobject-introspection will fail to build because Python's distutils are terrible.
* ci: Add a dist jobEmmanuele Bassi2018-03-131-0/+15
| | | | | | | | | Whenever we push a tag, we want to create a distributable archive for json-glib; this will automate the release process. Ideally, in the future, we'll have the ability to upload the release archive straight to download.gnome.org, but for now store the archive and the generated API reference as CI artefacts.
* ci: Update the build jobEmmanuele Bassi2018-03-131-6/+13
| | | | | | | | | Improve the CI environment for json-glib: - build the documentation - use `meson test` instead of `ninja test` - store the logs on failure - do not install the result
* docs: Remove mention of `mesontest`Emmanuele Bassi2018-03-131-1/+1
| | | | The `mesontest` binary is deprecated, and replaced by `meson test`.
* Refresh the build systemEmmanuele Bassi2018-03-135-131/+151
| | | | | | | | | | We should use more idiomatic Meson: - improve the coding style - ensure that the `json_glib_dep` dependency object also includes the introspection data, if enabled - add a separate option for the man page generation - ensure that json-glib can be used as a subproject
* Remove unnecessary release scriptEmmanuele Bassi2018-03-131-19/+0
| | | | Meson generates a `dist` target, now.
* Drop unnecessary build-api wrapperEmmanuele Bassi2018-03-131-156/+0
| | | | All the build environments know how to build with Meson, now.
* Add `--output` option to json-glib-formatEmmanuele Bassi2018-03-132-11/+49
| | | | | | We should allow redirecting the output of the format utility to a file, instead of dumping everything on the standard output. This makes it easier to use json-glib-format inside a build system or a CI pipeline.
* Update Chinese (Taiwan) translationChao-Hsiung Liao2018-03-101-75/+81
|
* Remove po/MakevarsPiotr Drąg2018-02-211-9/+0
| | | | Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
* Update Occitan translationCédric Valmary2018-01-281-132/+163
|
* ci: Update the build instructions…Emmanuele Bassi2017-12-152-1/+3
| | | | … And show a fancy badge.
* Merge branch 'get-with-default' into 'master'Emmanuele Bassi2017-12-157-90/+211
|\ | | | | | | | | | | | | Add JsonObject getters with fallback value Closes #4 See merge request GNOME/json-glib!4
| * Add with_default() variant for JsonObject gettersEmmanuele Bassi2017-11-144-89/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the typed getters for JsonObject, the existing API will automatically fail if the member requested is not present. This is generally good practice, because JSON data typically does not have a schema, and thus is has to be validated "on the go"; a JSON object member that contains `null`, or `0`, or `false`, is indistinguishable from a JSON object member that does not exist, so we cannot simply return a scalar value and be done with it. We can provide an escape hatch, though, for the crowd writing parsers for JSON data; by using Python as the model, we can add methods that take a default value as a parameter, and return it as a fallback value if the requested object member does not exist, or if it's set to `null`.
| * Open the development cycle towards 1.6Emmanuele Bassi2017-11-143-1/+25
| |
* | Merge branch 'leak-fix' into 'master'Emmanuele Bassi2017-12-154-1/+7
|\ \ | | | | | | | | | | | | Leak fix See merge request GNOME/json-glib!6
| * | tests: Fix some memory leaks in the testsPhilip Withnall2017-12-153-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can’t do this by porting to g_autoptr(), because json-glib needs to be buildable using MSVC. Sad panda. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/json-glib/issues/30