head 1.8; access; symbols pkgsrc-2026Q1:1.7.0.14 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.12 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.10 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.8 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.6 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.4 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.2 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.6.0.22 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.20 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.18 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.16 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.14 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.12 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.10 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.8 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.6 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.4 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.2 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.5.0.8 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.6 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.4 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.2 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.4.0.4 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.2 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.4 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.2.0.2 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.1.0.2 pkgsrc-2019Q2-base:1.1; locks; strict; comment @# @; 1.8 date 2026.03.26.13.40.47; author wiz; state Exp; branches; next 1.7; commitid f4U9ymjutTlnnuzG; 1.7 date 2024.09.12.06.42.32; author adam; state Exp; branches; next 1.6; commitid pEoNVdJv45zM3upF; 1.6 date 2021.11.03.20.52.23; author adam; state Exp; branches; next 1.5; commitid pGNXzsyfxnrXjofD; 1.5 date 2020.09.29.16.49.15; author adam; state Exp; branches; next 1.4; commitid SHg1yzMkoouJPXpC; 1.4 date 2020.05.30.06.09.47; author adam; state Exp; branches; next 1.3; commitid sK99VXMOhw7tdeaC; 1.3 date 2019.11.27.22.25.21; author adam; state Exp; branches; next 1.2; commitid rcqfeQsylcpQyxMB; 1.2 date 2019.07.08.18.42.19; author adam; state Exp; branches; next 1.1; commitid uX6kZRDQ9CqgTguB; 1.1 date 2019.04.09.06.48.18; author wiz; state Exp; branches; next ; commitid P39Bu3XFSZNMPDiB; desc @@ 1.8 log @jsoncpp: update to 1.9.7. Fixes PreventInSourceBuilds.cmake to work with add_subdirectory by @@morbo84 in #1383 json_value.cpp bug in the edges of uint/int by @@YaalLek in #1519 Release 1.9.6 and move versions to 1.9.7 by @@baylesj in #1566 Fixed work secure_allocator on old compiers by @@TsynkPavel in #1478 Fix flag -DJSONCPP_USE_SECURE_MEMORY:BOOL=TRUE by @@tfc in #1567 fix(build): remove check_required_components for meson build by @@chenrui333 in #1570 the cgi module was removed from Python3.13 by @@a-detiste in #1578 Fix name of static library when targeting MinGW. by @@mmuetzel in #1579 Fix comparison warnings caused by 54fc4e2 by @@JensMertelmeyer in #1575 Drop pre-C++11 alternatives by @@BillyDonahue in #1593 feat: support std::string_view in Value API by @@evalon32 in #1584 Added Value::findType with String key by @@SwintonStreet in #1574 Set up for Bazel module builds. by @@bcsgh in #1597 Add a BUILD.bazel file for //example. by @@bcsgh in #1602 Fix "include what you use" issue by @@victorvianna in #1625 Make the build configuration under Bazel more correct. by @@bcsgh in #1600 Add Bazel tests by @@bcsgh in #1601 Return false in Reader::readValue when stack limit is exceeded by @@xuhdev in #1619 Remove deprecated/removed clang-tidy key AnalyzeTemporaryDtors (#1614) by @@bmagistro in #1615 [docs] Consuming JSONCpp via Conan package manager by @@uilianries in #1622 Cleanup README.md, fix broken link. by @@baylesj in #1633 Add gcovr.cfg to fix CI coverage merge errors by @@baylesj in #1635 Remove build directory exclusion from gcovr config by @@baylesj in #1640 Add test for allowDroppedNullPlaceholders by @@baylesj in #1648 Prevent test colision when running in parallel via RESOURCE_LOCK by @@marty1885 in #1637 fixup project version updater by @@baylesj in #1649 Update README with project status and focus by @@baylesj in #1639 Adding a cmake option to exclude the jsoncpp files from install. by @@nv-jdeligiannis in #1596 Change stack depth limit to 256 by @@baylesj in #1657 Fix uninitialized CMake variable in version.in by @@baylesj in #1658 Fix CMake deprecation warning for compatibility with CMake < 3.10 by @@baylesj in #1659 Scope JSON_DLL_BUILD to shared lib target only by @@baylesj in #1660 Fix number parsing failing under non-C locales by @@baylesj in #1662 Reject unescaped control characters in JSON strings by @@baylesj in #1663 Fix MSAN issue in #1626 by @@baylesj in #1654 Fix string_view ABI mismatch between library and consumers by @@baylesj in #1661 Revert "Fix number parsing failing under non-C locales" by @@baylesj in #1664 Fix use-after-free in Reader::parse(std::istream&) by @@baylesj in #1665 Update bazel config for 9.x by @@keith in #1655 @ text @$NetBSD: patch-CMakeLists.txt,v 1.7 2024/09/12 06:42:32 adam Exp $ Make so version match symlink versions. --- CMakeLists.txt.orig 2024-09-10 03:18:29.000000000 +0000 +++ CMakeLists.txt @@@@ -66,7 +66,7 @@@@ project(jsoncpp LANGUAGES CXX) message(STATUS "JsonCpp Version: ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") -set(PROJECT_SOVERSION 27) +set(PROJECT_SOVERSION ${PROJECT_VERSION_MAJOR}) include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInSourceBuilds.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInBuildInstalls.cmake) @ 1.7 log @jsoncpp: updated to 1.9.6 1.9.6: Bugfixes Parse large floats as infinity Fix various typos Use default rather than hard-coded 8 for maximum aggregate member alignment Fix wrong usage of doxygen groups feat: adds front and back methods to Value type Avoid using cmake glob vars if we are a subproject v2 Create meson_build_and_run Fix clang format issues Delete .travis.yml Delete .travis_scripts directory add comment space directive Clang format updates Update meson.yml Fix a parser bug where tokens are misidentified as commas. Fix out-of-bounds read. Fix asserts in Value::setComment add a valueToQuotedString overload Add code coverage Update meson.yml build(meson): use find_program('python3') Bump CMake policy version to avoid deprecation warning Update link in amalgamate.py to GitHub CharReader: Add StructuredError Fix configure Clang on Windows Fixed setting JSONCPP_USE_SECURE_MEMORY definition Update readFromString.cpp print error Add security policy CMake: remove ccache micro management Create cmake.yml Update meson.yml Move removeIndex's result instead of copying Use current source / binary dir when assuring out of source builds Opportunistically take advantage of C++20 move-in/out-of stringstream Protect target JsonCpp::JsonCpp against multi-include Don't use build dir build interfaces - Fix use with CMake FetchContent Create a jsoncppConfig.cmake file, even if building under meson include/json/value.h is changed meson.build: fix the version number Introduce CharReaderBuilder::ecma404Mode cmake export configuration: allow repeating find_package(jsoncpp) calls Added Value::find with String key Don't use build dir build interfaces @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2021/11/03 20:52:23 adam Exp $ d11 1 a11 1 -set(PROJECT_SOVERSION 26) @ 1.6 log @jsoncpp: updated to 1.9.5 1.9.5: Minor bug-fixes (including for cmake) Support for Bazel Dropped compile-time deprecation warnings @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2020/09/29 16:49:15 adam Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2021-11-03 17:53:28.000000000 +0000 d7 1 a7 1 @@@@ -76,7 +76,7 @@@@ project(jsoncpp d11 1 a11 1 -set(PROJECT_SOVERSION 25) @ 1.5 log @jsoncpp: updated to 1.9.4 1.9.4: Security and build system fixes @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2020/05/30 06:09:47 adam Exp $ a3 1 Remove -Werror=conversion. d5 1 a5 1 --- CMakeLists.txt.orig 2020-09-26 02:19:16.000000000 +0000 d7 1 a7 1 @@@@ -73,7 +73,7 @@@@ project(jsoncpp d11 1 a11 1 -set(PROJECT_SOVERSION 24) d14 2 a15 11 option(JSONCPP_WITH_TESTS "Compile and (for jsoncpp_check) run JsonCpp test executables" ON) option(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" ON) @@@@ -124,7 +124,7 @@@@ endif() if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") # using regular Clang or AppleClang - add_compile_options(-Wall -Wconversion -Wshadow -Werror=conversion -Werror=sign-compare) + add_compile_options(-Wall -Wconversion -Wshadow -Werror=sign-compare) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # using GCC add_compile_options(-Wall -Wconversion -Wshadow -Wextra) @ 1.4 log @jsoncpp: updated to 1.9.3 v1.9.3: Bug fixes, optimizations, cleanup This release includes several important bug fixes for unblocking some consumer's use cases. Fixes to JSON_USE_EXCEPTION--some bugs creeped in breaking this flag in pre-release. Fixes to build system--improvements have been make for code correctness. Compile errors for various platforms have been resolved. Fuzzing has been fixed. Various bugs in the Reader and Writer code have been corrected. CPPTL support has been dropped. Various code improvements and optimizations. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2019/11/27 22:25:21 adam Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2020-05-29 13:50:26.000000000 +0000 d8 1 a8 1 @@@@ -71,7 +71,7 @@@@ project(JSONCPP d11 3 a13 3 message(STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR}.${JSONCPP_VERSION_MINOR}.${JSONCPP_VERSION_PATCH}") -set(JSONCPP_SOVERSION 24) +set(JSONCPP_SOVERSION ${JSONCPP_VERSION_MAJOR}) d17 1 a17 1 @@@@ -120,7 +120,7 @@@@ endif() @ 1.3 log @jsoncpp: updated to 1.9.2 1.9.2: Medium size pre-release containing lots of build fixes. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2019/07/08 18:42:19 adam Exp $ a4 1 Do not build examples. d6 1 a6 1 --- CMakeLists.txt.orig 2019-11-12 07:16:54.000000000 +0000 d8 1 a8 1 @@@@ -74,7 +74,7 @@@@ project(JSONCPP d12 2 a13 2 -set( JSONCPP_SOVERSION 22 ) +set( JSONCPP_SOVERSION ${JSONCPP_VERSION_MAJOR} ) d17 2 a18 1 @@@@ -141,9 +141,9 @@@@ endif() d21 2 a22 7 if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12.0) - add_compile_options(-Wall -Wconversion -Wshadow -Werror=conversion -Werror=sign-compare) + add_compile_options(-Wall -Wconversion -Wshadow -Werror=sign-compare) else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wconversion -Wshadow -Werror=conversion -Werror=sign-compare") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wconversion -Wshadow -Werror=sign-compare") endif() d25 1 a25 6 @@@@ -227,5 +227,3 @@@@ add_subdirectory( src ) #install the includes add_subdirectory( include ) -#install the example -add_subdirectory( example ) @ 1.2 log @jsoncpp: updated to 1.9.0 1.9.0: It's been ~2 years since the last release, so this has quite a few changes. Some highlights: Build optimizations and updates. Now needs at least Meson 0.50.0, bot support for VS 2013 dropped in favor of VS 2017 Lots of bug fixes Lots of enhancements Lots of cleanup @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2019/04/09 06:48:18 wiz Exp $ d4 2 d7 1 a7 1 --- CMakeLists.txt.orig 2019-07-08 12:02:29.000000000 +0000 d9 1 a9 1 @@@@ -67,7 +67,7 @@@@ project(JSONCPP d13 1 a13 1 -set( JSONCPP_SOVERSION 21 ) d18 18 @ 1.1 log @jsoncpp: build shared library Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2017-12-20 21:07:10.000000000 +0000 d7 2 a8 7 @@@@ -64,7 +64,7 @@@@ jsoncpp_parse_version( ${JSONCPP_VERSION #IF(NOT JSONCPP_VERSION_FOUND) # MESSAGE(FATAL_ERROR "Failed to parse version string properly. Expect X.Y.Z") #ENDIF(NOT JSONCPP_VERSION_FOUND) -SET( JSONCPP_SOVERSION 19 ) +SET( JSONCPP_SOVERSION ${JSONCPP_VERSION_MAJOR} ) SET( JSONCPP_USE_SECURE_MEMORY "0" CACHE STRING "-D...=1 to use memory-wiping allocator for STL" ) d10 6 a15 1 MESSAGE(STATUS "JsonCpp Version: ${JSONCPP_VERSION_MAJOR}.${JSONCPP_VERSION_MINOR}.${JSONCPP_VERSION_PATCH}") @