Documentation: - basic_json_view::contains: basic_json::contains(json_pointer) never throws either; drop the claim that it does. - std::format support is dated 3.13.0 in the serialization feature page; std::optional is supported since 3.12.0 and std::filesystem::path since 3.10.5 in type_recipes.md. - basic_json_view::source_offset: also -1 for values written by an edit and arrays/objects whose elements an edit added or removed. - basic_json_view::items: const auto& works (binds to the temporary); by value is recommended, non-const auto& does not compile. - basic_json_view::operator==/!=: document the overload that compares a read-only with an editable view. - basic_json_document::erase: out_of_range.404 also for a last token "-". - json_editable_document/json_editable_view: mention insert and erase. - basic_json::swap/std::swap: describe the conditional noexcept (only a throwing move of json_base_class_t can make it throw) and that the std::swap specialization is not provided with C++20 (ADL swap is). - exceptions.md: out_of_range.405 also from front/pop_front and from basic_json_document::erase with an empty pointer; other_error.502 also for non-empty binary values in UBJSON/BJData Draft 2, as the writer does. - Macro pages: fix highlighted lines. Tests: - unit-unicode.cpp: enable the "incorrect sequences" sections that were disabled with #if 0 since 2017 without a reason. They pass; the reason was the runtime of the quadratic high/low surrogate sweep (1024 * 64512 parses, not finished after 3 CPU minutes). That sweep is thinned to all high surrogates against boundary code units, plus one high surrogate against every code unit with accept(). The sections are merged into the existing "incorrect sequences" section of the same name. Repository: - labeler.yml: match the moved json_view feature docs folder. - check_amalgamation.yml: take config_json_view.json from develop's tools. - FILES.md: list json_view_benchmarks.yml. - cmake/ci.cmake: remove the unused targets ci_test_amalgamation (a duplicate of make check-amalgamation), ci_benchmarks and ci_clean, and the .gitignore entry of the first. - make clean and .gitignore cover all tests/*_fuzzer binaries. - hedley_undef.hpp: regenerate with make update_hedley_undef (one line moves into sorted order); regenerate the amalgamation. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
90 lines
2.3 KiB
YAML
90 lines
2.3 KiB
YAML
version: 1
|
|
|
|
labels:
|
|
- label: "documentation"
|
|
files:
|
|
- "README.md"
|
|
|
|
- label: "documentation"
|
|
files:
|
|
- "docs/.*"
|
|
|
|
- label: "tests"
|
|
files:
|
|
- "tests/.*"
|
|
|
|
- label: "CMake"
|
|
files:
|
|
- ".*CMakeLists.txt"
|
|
|
|
- label: "CMake"
|
|
files:
|
|
- "cmake/.*"
|
|
|
|
# other build systems
|
|
- label: "CMake"
|
|
files:
|
|
- "(meson\\.build|meson_options\\.txt|BUILD\\.bazel|MODULE\\.bazel|Package\\.swift)"
|
|
|
|
- label: "documentation"
|
|
files:
|
|
- ".github/ISSUE_TEMPLATE/.*"
|
|
- ".github/config\\.yml"
|
|
- ".github/(CONTRIBUTING|SECURITY|CODE_OF_CONDUCT|PULL_REQUEST_TEMPLATE)\\.md"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/workflows/.*"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/external_ci/.*"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/(dependabot|labeler)\\.yml"
|
|
|
|
- label: "aspect: binary formats"
|
|
files:
|
|
- "include/nlohmann/detail/input/binary_reader\\.hpp"
|
|
- "include/nlohmann/detail/output/binary_writer\\.hpp"
|
|
- "tests/src/unit-(bson|cbor|msgpack|ubjson|bjdata|bon8|binary_formats)"
|
|
- "tests/src/fuzzer-parse_(bson|cbor|msgpack|ubjson|bjdata|bon8)"
|
|
- "docs/mkdocs/docs/features/binary_formats/"
|
|
- "docs/mkdocs/docs/(api/basic_json|examples)/(to|from)_(bson|cbor|msgpack|ubjson|bjdata|bon8)"
|
|
|
|
- label: "aspect: binary formats"
|
|
title: "(?i)(bson|cbor|msgpack|messagepack|ubjson|bjdata|bon8|binary format)"
|
|
|
|
- label: "aspect: json_view"
|
|
files:
|
|
- "include/nlohmann/json_view\\.hpp"
|
|
- "include/nlohmann/detail/view/.*"
|
|
- "single_include/nlohmann/json_view\\.hpp"
|
|
- "tests/src/unit-json_view.*"
|
|
- "tests/src/json_view_test_helpers\\.hpp"
|
|
- "tests/src/fuzzer-(parse_json_view|json_view_image)\\.cpp"
|
|
- "tests/benchmarks/json_view/.*"
|
|
- "tools/amalgamate/config_json_view\\.json"
|
|
- "docs/mkdocs/docs/features/json_view/.*"
|
|
- "docs/mkdocs/docs/api/basic_json_(document|view)/.*"
|
|
- "docs/mkdocs/docs/api/(ordered_)?json_(editable_)?(document|view)\\.md"
|
|
- "docs/mkdocs/docs/examples/(basic_json_(document|view)__|(ordered_)?json_(editable_)?(document|view)).*"
|
|
- "tests/benchmarks/src/benchmarks_view\\.cpp"
|
|
|
|
- label: "aspect: json_view"
|
|
title: "(?i)(json_view|json_document|zero-copy)"
|
|
|
|
- label: "python"
|
|
files:
|
|
- "\\.py$"
|
|
- "requirements[^/]*\\.txt$"
|
|
|
|
- label: "S"
|
|
size-below: 10
|
|
- label: "M"
|
|
size-above: 9
|
|
size-below: 100
|
|
- label: "L"
|
|
size-above: 100
|