Jonas Wittbrodt
|
48d130d575
|
add <limits>
|
2021-08-25 15:50:59 +02:00 |
|
Jonas Wittbrodt
|
3dce62b5f7
|
fix clang-tidy else after return
+ add test case that triggers fallthrough in from_json
+ re-amalgamate
|
2021-08-25 15:31:09 +02:00 |
|
Jonas Wittbrodt
|
7085630ad0
|
fix fallthrough warnings
|
2021-08-25 14:27:53 +02:00 |
|
Jonas Wittbrodt
|
0f0be71952
|
amalgamated
|
2021-08-25 13:53:28 +02:00 |
|
Jonas Wittbrodt
|
7c1bfbe735
|
switch signaling<>quiet NaN
and add LCOV_EXCL to the architecture dependent branch
|
2021-08-25 13:25:18 +02:00 |
|
Jonas Wittbrodt
|
5c3738b9b1
|
add explicit conversion of null into float NaN
|
2021-08-25 12:53:49 +02:00 |
|
Pierre Hallot
|
433604843d
|
Fix extra ";" clang warnings
|
2021-08-19 17:04:34 +02:00 |
|
Ferry Huberts
|
44d60f8d14
|
All: fix warnings when compiling with -Wswitch-enum
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
|
2021-08-12 16:33:50 +02:00 |
|
Niels Lohmann
|
e20f3f95eb
|
🚨 guard GCC pragmas #2924
|
2021-08-11 23:55:46 +02:00 |
|
Sven Fink
|
353d59717e
|
Add more suppressions on float comparisons
|
2021-08-04 08:34:53 +02:00 |
|
Niels Lohmann
|
ecaac22656
|
💡 add comment to describe j.m_value.destroy(j.m_type) calls
|
2021-07-15 20:34:50 +02:00 |
|
Niels Lohmann
|
f6863e062c
|
🐛 fix leak for all types
|
2021-07-15 20:32:37 +02:00 |
|
Niels Lohmann
|
0011cd1b72
|
🐛 fix leak for strings
|
2021-07-15 13:12:21 +02:00 |
|
Niels Lohmann
|
c1298e69a6
|
🐛 fix leak for strings
|
2021-07-15 12:52:17 +02:00 |
|
Niels Lohmann
|
6cbdc83994
|
🐛 fix leak for strings
|
2021-07-15 12:47:15 +02:00 |
|
Anthony VH
|
2b865131d8
|
Fixing CI errors.
|
2021-03-24 23:33:21 +01:00 |
|
Anthony VH
|
333612ce35
|
Merge remote-tracking branch 'upstream/develop' into non_default_constructable_stl_containers
|
2021-03-24 12:33:57 +01:00 |
|
Niels Lohmann
|
6f551930e5
|
🚨 add new CI and fix warnings (#2561)
* ⚗️ move CI targets to CMake
* ♻️ add target for cpplint
* ♻️ add target for self-contained binaries
* ♻️ add targets for iwyu and infer
* 🔊 add version output
* ♻️ add target for oclint
* 🚨 fix warnings
* ♻️ rename targets
* ♻️ use iwyu properly
* 🚨 fix warnings
* ♻️ use iwyu properly
* ♻️ add target for benchmarks
* ♻️ add target for CMake flags
* 👷 use GitHub Actions
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ add clang analyze target
* 🔥 remove Google Benchmark
* ⬆️ Google Benchmark 1.5.2
* 🔥 use fetchcontent
* 🐧 add target to download a Linux version of CMake
* 🔨 fix dependency
* 🚨 fix includes
* 🚨 fix comment
* 🔧 adjust flags for GCC 11.0.0 20210110 (experimental)
* 🐳 user Docker image to run CI
* 🔧 add target for Valgrind
* 👷 add target for Valgrind tests
* ⚗️ add Dart
* ⏪ remove Dart
* ⚗️ do not call ctest in test subdirectory
* ⚗️ download test data explicitly
* ⚗️ only execute Valgrind tests
* ⚗️ fix labels
* 🔥 remove unneeded jobs
* 🔨 cleanup
* 🐛 fix OCLint call
* ✅ add targets for offline and git-independent tests
* ✅ add targets for C++ language versions and reproducible tests
* 🔨 clean up
* 👷 add CI steps for cppcheck and cpplint
* 🚨 fix warnings from Clang-Tidy
* 👷 add CI steps for Clang-Tidy
* 🚨 fix warnings
* 🔧 select proper binary
* 🚨 fix warnings
* 🚨 suppress some unhelpful warnings
* 🚨 fix warnings
* 🎨 fix format
* 🚨 fix warnings
* 👷 add CI steps for Sanitizers
* 🚨 fix warnings
* ⚡ add optimization to sanitizer build
* 🚨 fix warnings
* 🚨 add missing header
* 🚨 fix warnings
* 👷 add CI step for coverage
* 👷 add CI steps for disabled exceptions and implicit conversions
* 🚨 fix warnings
* 👷 add CI steps for checking indentation
* 🐛 fix variable use
* 💚 fix build
* ➖ remove CircleCI
* 👷 add CI step for diagnostics
* 🚨 fix warning
* 🔥 clean Travis
|
2021-03-24 07:15:18 +01:00 |
|
Niels Lohmann
|
4917e7c259
|
Merge branch 'develop' of https://github.com/nlohmann/json into diagnostics
Conflicts:
include/nlohmann/detail/input/parser.hpp
single_include/nlohmann/json.hpp
|
2021-02-07 17:45:09 +01:00 |
|
Niels Lohmann
|
ffdeb77468
|
🚨 fix warnings #2615
|
2021-01-27 12:54:46 +01:00 |
|
Niels Lohmann
|
74cc0ab470
|
♻️ remove diagnostics_t class
|
2021-01-25 13:47:50 +01:00 |
|
Niels Lohmann
|
0d1fb383b7
|
👌 address comment
|
2021-01-14 22:05:08 +01:00 |
|
Niels Lohmann
|
b9d3aa4067
|
♻️ split set_parent function
|
2021-01-14 21:55:49 +01:00 |
|
Anthony VH
|
d7c0f157c5
|
Merged from_json for pair and tuple to try to fix C2995 error in old MSVC versions.
|
2021-01-13 20:47:03 +01:00 |
|
Anthony VH
|
6278f31d23
|
Simplify from_json overloads.
|
2021-01-12 18:28:29 +01:00 |
|
Anthony VH
|
672e8bfc1d
|
Fixed std::pair trying to deserialize via array functions.
|
2021-01-11 18:16:15 +01:00 |
|
Niels Lohmann
|
ff57bdcc8b
|
🐛 fix invariants
|
2021-01-10 22:40:50 +01:00 |
|
Anthony VH
|
23f462b598
|
Reduced code duplication, renamed tag to identity_tag.
|
2021-01-10 19:23:32 +01:00 |
|
Niels Lohmann
|
e160749003
|
♻️ move diagnostic code in header
|
2021-01-09 19:21:18 +01:00 |
|
Anthony VH
|
c0a8b45bbb
|
Renamed template parameter and added some comments.
|
2021-01-09 17:45:56 +01:00 |
|
Anthony VH
|
1e825e4f92
|
Add support for deserialization of STL containers of non-default constructable types (fixes #2574).
|
2021-01-09 00:08:27 +01:00 |
|
Niels Lohmann
|
7b047861b0
|
🚧 add diagnostics to exceptions
|
2021-01-02 13:44:41 +01:00 |
|
Théo DELRIEU
|
74b446f5fd
|
add a switch to enable implicit conversions (defaults to true)
wrap implicit conversions tests around the JSON_USE_IMPLICIT_CONVERSIONS
macro
|
2020-07-22 10:49:01 +02:00 |
|
Niels Lohmann
|
8d295235a5
|
🔥 remove unused boolean_operators.hpp header
|
2020-07-11 19:20:44 +02:00 |
|
Niels Lohmann
|
dc06f100be
|
Merge branch 'develop' of https://github.com/nlohmann/json into clang_windows
Conflicts:
include/nlohmann/detail/input/binary_reader.hpp
include/nlohmann/detail/input/json_sax.hpp
include/nlohmann/detail/input/lexer.hpp
include/nlohmann/detail/input/parser.hpp
include/nlohmann/detail/json_pointer.hpp
include/nlohmann/detail/output/serializer.hpp
include/nlohmann/json.hpp
single_include/nlohmann/json.hpp
|
2020-07-11 14:04:40 +02:00 |
|
Niels Lohmann
|
98b1c6d302
|
🚩 use JSON_ASSERT(x) instead of assert(x)
|
2020-07-06 12:22:31 +02:00 |
|
Niels Lohmann
|
0498202a03
|
🎨 replace alternative operators (and, not, or)
|
2020-06-03 14:20:36 +02:00 |
|
Niels Lohmann
|
904642f261
|
♻️ rename internal_binary_t with binary_t
|
2020-05-17 22:50:27 +02:00 |
|
Niels Lohmann
|
ab6e76dd05
|
Merge branches 'binary_type' and 'develop' of https://github.com/nlohmann/json into binary_type
|
2020-05-17 12:27:58 +02:00 |
|
Niels Lohmann
|
daf2d296dd
|
♻️ move wrapped binary type to separate file
|
2020-05-15 14:12:32 +02:00 |
|
Niels Lohmann
|
9adb1c0235
|
🏁 do not include <ciso646> unless old MSVC is used #2089
|
2020-05-07 09:43:41 +02:00 |
|
Niels Lohmann
|
4fb0795ec1
|
🚨 fix compiler warnings #2049
|
2020-04-19 13:01:36 +02:00 |
|
Niels Lohmann
|
69ac336042
|
Merge pull request #1967 from dota17/dota17-disable
Fix C26451 warnnings in to_chars.hpp
|
2020-04-17 10:08:21 +02:00 |
|
Michael Reilly
|
012c9665ac
|
Add binary type support to all binary file formats, as well as an internally represented binary type
|
2020-04-14 10:22:45 -04:00 |
|
chenguoping
|
0a8216890d
|
fix C26451 warnnings in to_chars.hpp
|
2020-03-23 15:27:35 +08:00 |
|
Niels Lohmann
|
62dada05ca
|
🐛 fix conversion to std::valarray
closes #1824
|
2019-11-05 19:28:00 +01:00 |
|
Camille Bégué
|
8b686b30eb
|
Add restriction for tuple specialization of to_json
This commit fix the issue #1825
Signed-off-by: Camille Bégué <c.begue@samsung.com>
|
2019-11-04 09:57:16 +01:00 |
|
Niels Lohmann
|
a1828bbf57
|
Merge pull request #1806 from cbegue/develop
Fix issue #1805
|
2019-11-01 19:46:19 +01:00 |
|
Camille Bégué
|
794a3d411a
|
Fix issue #1805
* Add some restriction on pair partial specialization of to_json
Signed-off-by: Camille Bégué <camille.begue.pro@gmail.com>
|
2019-10-31 18:04:15 +01:00 |
|
Florian Pigorsch
|
b93d414a35
|
Fix some spelling errors - mostly in comments & documentation.
I did not touch the Changelog file and any third party stuff.
additonal -> additional (1)
apppend -> append (2)
constuctor -> constructor (2)
contect -> context (2)
dobulequote -> doublequote (1)
elemnts -> elements (1)
exakt -> exact (2)
exluded -> exclude (1)
explicitely -> explicitly (2)
narcissic -> narcissistic (1)
ocurred -> occurred (1)
occuring -> occurring (2)
preceeds -> preceded (1)
ot -> to (2)
wehther -> whether (2)
|
2019-10-19 11:59:51 +02:00 |
|