summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nlohmann-json
Commit message (Collapse)AuthorAgeFilesLines
* nlohmann-json: Avoid usage of nobranch=1Sourav Pramanik2023-08-211-1/+1
| | | | | | | | | The usage of nobranch=1 in SRC_URI allows using unprotected branches. This change updates the real branch name in place of nobranch=1. Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: Allow empty main package for SDKTom Hochstein2023-02-091-1/+1
| | | | | | | | | | | | | | | The header-only package cannot be included in the SDK without marking the main package with ALLOW_EMPTY. Fixes rootfs problem: ``` The following packages have unmet dependencies: imx-gpu-sdk : Depends: nlohmann-json but it is not installable E: Unable to correct problems, you have held broken packages. ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.10.5 -> 3.11.2Wang Mingyu2022-08-151-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: Set CVE_PRODUCT according to NVDJulian Haller2022-03-111-0/+2
| | | | | | | | NVD uses 'json-for-modern-cpp' as product name for nlohmann-json. See https://nvd.nist.gov/products/cpe/detail/394565?namingFormat=2.3&orderBy=CPEURI&keyword=json-for-modern-cpp&status=FINAL Signed-off-by: Julian Haller <julian.haller@philips.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.10.4 -> 3.10.5wangmy2022-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: year updated to 2022. Changelog: ========= Bug fixes --------- Make sure C++17 filesystem conversions are only used if the compiler supports it. Furthermore, add defines JSON_HAS_FILESYSTEM and JSON_HAS_EXPERIMENTAL_FILESYSTEM which can be set to 0 to avoid using filesystem support altogether.std::filesystem. #3090 #3097 #3101 #3156 #3203 Fix a compilation error with Nvidia CUDA Compiler (NVCC). #3013 #3234 Warnings --------- Fix a warning for shadowed variables. #3188 #3193 Fix a warning on a pointless comparison. #3227 #2712 #2676 #1390 #755 Improvements ------------ Add a parameter to the update function to recursively merge objects with common keys. #3006 #3069 Extend std::hash and std::swap to work on any nlohmann::basic_json specializations rather than just nlohmann::json. #3121 Further Changes -------------- Tests and CI Update CI to use Clang 14, GCC 6, and Clang-Tidy 14. #3088 Update cpplint. #3225 Add build step for the Nvidia CUDA Compiler (NVCC). #3227 Remove Travis CI. #3087 #3233 Compile and execute the test suite with C++17. #3101 Documentation -------------- The mkdocs-based documentation in doc/mkdocs has been totally overworked. It now has a unified structure, more examples, and contains all information from the previous Doxygen-based documentation. The single source of truth is now the documentation on https://json.nlohmann.me and in particular the API Documentation. #3071 Removed Wandbox online examples. #3071 Fix typos, links, and parameter names in the documentation. Add more examples. #3071 #3100 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.10.2 -> 3.10.4zhengruoqin2021-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note you can support this project via GitHub sponsors or PayPal. Bug Fixes Fix regression bug introduced in release 3.10.0 which broke compilation for types with an explicit default constructor with default arguments. #3077 #3079 Fix regression bug introduced in release 3.10.0 which treated the return values of std::find and std::remove as pointers which could break compilation. #3081 #3082 Fix converting std::filesystem::path to JSON. Before release 3.10.3, such a conversion would trigger a stack overflow. Release 3.10.3 then further broke compilation on Windows. #3070 #3073 Deprecated functions Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}). The following functions have been deprecated in earlier versions and will be removed in the next major version (i.e., 4.0.0): Function iterator_wrapper are deprecated. Please use the member function items() instead. Functions friend std::istream& operator<<(basic_json&, std::istream&) and friend std::ostream& operator>>(const basic_json&, std::ostream&) are deprecated. Please use friend std::istream& operator>>(std::istream&, basic_json&) and friend operator<<(std::ostream&, const basic_json&) instead. All deprecations are annotated with HEDLEY_DEPRECATED_FOR to report which function to use instead. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.9.1 -> 3.10.2wangmy2021-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release date: 2021-08-26 SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp) 61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip) Summary This release is made days after the 3.10.1 release due to a bug in the release script: The 3.10.1 release at GitHub contained the correct files, but the associated tag v3.10.1 points to the wrong commit. This release is made with a fixed build script. All changes are backward-compatible. Improvements Fix the release scripts to correctly tag releases. https://github.com/nlohmann/json/issues/2973 Fix some -Wunused warnings on JSON_DIAGNOSTICS when the library is built without CMake. https://github.com/nlohmann/json/issues/2975 https://github.com/nlohmann/json/pull/2976 Deprecated functions Passing iterator pairs or pointer/length pairs to parsing functions (basic_json::parse, basic_json::accept, basic_json::sax_parse, basic_json::from_cbor, basic_json::from_msgpack, basic_json::from_ubjson, basic_json::from_bson) via initializer lists is deprecated. Instead, pass two iterators; for instance, call basic_json::from_cbor(ptr, ptr+len) instead of basic_json::from_cbor({ptr, len}). -License-Update: Copyright year updated to 2021. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nlohmann-json: upgrade 3.9.0 -> 3.9.1Zang Ruochen2020-08-211-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.7.3 -> 3.9.0Zang Ruochen2020-07-313-146/+2
| | | | | | | | | | | -License-Update: Copyright year updated to 2020. -0001-Templatize-basic_json-ctor-from-json_ref.patch -0001-typo-fix.patch Removed since these are included in 3.9.0 Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: backport gcc10 fixAndrew Geissler2020-05-173-1/+146
| | | | | | | | | | | | | The following issue and PR describe an issue with nlohmann-json and GCC10. https://github.com/nlohmann/json/issues/1920 https://github.com/nlohmann/json/pull/2034 Confirmed that this fixed the issue seen in OpenBMC when pulling in the latest upstream meta-openembedded. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: Upgrade to 3.7.3Khem Raj2019-12-161-4/+2
| | | | | | Rename recipe to express PV Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: upgrade 3.3.0 -> 3.7.0David Roman2019-10-251-3/+3
|
* nlohmann-json: Add symlink to json.hpp and update to 3.3.0James Feist2018-10-111-2/+8
| | | | | | | | | | | | nlohmann-json has examples in their repo that refer to the header as json.hpp directly, as such many packages that require nlohmann-json expect json.hpp and not nlohmann/json.hpp as the cmake file installs. Create symlink so that access is available by either option. Also update to release 3.3.0. Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nlohmann-json: Add recipeJames Feist2018-10-041-0/+23
nlohmann-json is a c++ header-only json library. Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>