- 15 Dec, 2020 2 commits
-
-
Jordan Bayles authored
-
Lei authored
* Fix a precision bug of valueToString, prevent to give an error result on input of wanted precision 0 and a double value which end of zero before decimal point ,such as 1230.01,12300.1; Add test cases for double valueToString with precision 0; * Delete a test case with platform differences in the previous commit * Fix clang-format. * Fix clang-format! Co-authored-by:
lilei <dlilei@126.com>
-
- 01 Dec, 2020 1 commit
-
-
Chen authored
-
- 16 Nov, 2020 1 commit
-
-
Chen authored
-
- 09 Nov, 2020 1 commit
-
-
Jordan Bayles authored
-
- 06 Nov, 2020 4 commits
-
-
Hans Johnson authored
* ENH: Prevent cmake in source builds Building directly inside the root of the source tree can cause problems where the build intermediate files overwrite or conflict with the intended source code files. This modification identifies this problem and issues failure messages and suggestions to over come the problem with more robust build suggestion. Co-authored-by:
Jordan Bayles <jophba@chromium.org>
-
Jordan Bayles authored
-
Marcel Opprecht authored
* Fix clang-tidy warnings Signed-off-by:
Marcel Opprecht <marcel.opprecht@scandit.com> * Fixup/clang-format Co-authored-by:
Marcel Opprecht <marcel.opprecht@scandit.com> Co-authored-by:
Jordan Bayles <jophba@chromium.org>
-
Jordan Bayles authored
-
- 04 Nov, 2020 1 commit
-
-
Chen authored
-
- 02 Nov, 2020 1 commit
-
-
Christian Ledergerber authored
-
- 10 Oct, 2020 4 commits
-
-
Christopher Dunn authored
Try meson/ninja from pypi
-
Christopher Dunn authored
-
Christopher Dunn authored
This lets us simplify linux a little. However, we still want to test cmake, so there is only so much we can simplify. For OSX, we still need `clang-format` from homebrew. * Add PYTHONUSERBASE/bin to PATH for linux
-
Christopher Dunn authored
-
- 04 Oct, 2020 2 commits
-
-
Ben Boeckel authored
-
Ben Boeckel authored
Fixes: #1224
-
- 26 Sep, 2020 1 commit
-
-
Jordan Bayles authored
-
- 02 Sep, 2020 1 commit
-
-
Daniel Engberg authored
Not all distributions provide Python as python3 and as Meson already depends on 3.5+ just use what Meson uses. References: https://mesonbuild.com/Getting-meson.html https://mesonbuild.com/Python-module.html#find_installation Signed-off-by:
Daniel Engberg <daniel.engberg.lists@pyret.net>
-
- 20 Jul, 2020 1 commit
-
-
Ben Wolsieffer authored
-
- 14 Jul, 2020 1 commit
-
-
Chen authored
Fix #1197
-
- 13 Jul, 2020 1 commit
-
-
Chen authored
* BUILD_TYPE corresponds to Release/Debug but LIB_TYPE corresponds to shared/static. * Add support to build shared, static and object lib at the same time.
-
- 23 Jun, 2020 1 commit
-
-
nathanruiz authored
This patch adds an explicit ctor with a std::nullptr_t argument, that is `delete`-d. This keeps Json::Value from exposing a coding error when automatically promoted to a const char* type.
-
- 11 Jun, 2020 2 commits
-
-
Billy Donahue authored
* avoid isprint `std::isprint` is locale-specific and the JSON-spec is not. In particular, isprint('\t') is true in Windows CP1252. Has bitten others, e.g. https://github.com/laurikari/tre/issues/64 Fixes #1187 * semicolon (rookie mistake!) * Windows tab escape testing with custom locale (#1190) Co-authored-by:
Nikolay Baklicharov <thestorm.nik@gmail.com>
-
Billy Donahue authored
* avoid isprint `std::isprint` is locale-specific and the JSON-spec is not. In particular, isprint('\t') is true in Windows CP1252. Has bitten others, e.g. https://github.com/laurikari/tre/issues/64 Fixes #1187 * semicolon (rookie mistake!)
-
- 31 May, 2020 1 commit
-
-
Jordan Bayles authored
This patch fixes a fuzzing bug by resolving a bad fallthrough in the setComment logic. The result is that we get a proper error instead of an assert, making the library friendlier to use and less likely to cause issue for consumers. See related Chromium project bug: https://bugs.chromium.org/p/chromium/issues/detail?id=989851 Issue: 1182
-
- 29 May, 2020 1 commit
-
-
kabeer27 authored
* Fix heap-buffer-overflow in json_reader
-
- 21 May, 2020 1 commit
-
-
Billy Donahue authored
* Escape control chars even if emitting UTF8 See #1176 Fixes #1175 * review comments * fix test by stopping early enough to punt on utf8-input.
-
- 13 May, 2020 1 commit
-
-
Billy Donahue authored
-
- 12 May, 2020 1 commit
-
-
Rosen Penev authored
* [clang-tidy] change functions to static Found with readability-convert-member-functions-to-static Signed-off-by:
Rosen Penev <rosenp@gmail.com> * optimize JsonWriter::validate #1171 * do the same for json_reader Signed-off-by:
Rosen Penev <rosenp@gmail.com> * use std::any_of Also simplified two loops. Signed-off-by:
Rosen Penev <rosenp@gmail.com> Co-authored-by:
Billy Donahue <billy.donahue@gmail.com>
-
- 08 May, 2020 1 commit
-
-
Edward Brey authored
The `./` is needed before `vcpkg install jsoncpp` when installing with PowerShell.
-
- 30 Apr, 2020 3 commits
- 29 Apr, 2020 1 commit
-
-
Christopher Dunn authored
Improve CMake correctness and handling
-
- 28 Apr, 2020 5 commits
-
-
Joel Johnson authored
This is already covered by the toplevel CMake, which also serves to provide a consistent minimum version.
-
Joel Johnson authored
-
Joel Johnson authored
Commit aebc7faa added version checks for CMake compatibility. In reality, only the add_compile_definitions need the check - add_compile_options itself has been supported since 3.0. Tested and confirmed built successfully with CMake 3.8.0.
-
Joel Johnson authored
EXTRA_CXX_FLAGS is never defined, making this a noop. Further, COMPILE_OPTIONS is invalid to set as a DIRECTORY property.
-
Joel Johnson authored
-