openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
December 2021
- 1 participants
- 2461 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package julia for openSUSE:Factory checked in at 2021-11-30 23:15:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/julia (Old)
and /work/SRC/openSUSE:Factory/.julia.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "julia"
Tue Nov 30 23:15:59 2021 rev:49 rq:934615 version:1.6.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/julia/julia.changes 2021-10-26 20:14:18.646029362 +0200
+++ /work/SRC/openSUSE:Factory/.julia.new.31177/julia.changes 2021-12-02 02:15:03.442698707 +0100
@@ -1,0 +2,5 @@
+Wed Nov 24 08:19:54 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Do not try to link to libquadmath for aarch64 and armv6/7
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ julia.spec ++++++
--- /var/tmp/diff_new_pack.O0vj5u/_old 2021-12-02 02:15:04.938694145 +0100
+++ /var/tmp/diff_new_pack.O0vj5u/_new 2021-12-02 02:15:04.942694133 +0100
@@ -185,6 +185,10 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%ifarch aarch64 %{arm}
+# https://github.com/JuliaLang/julia/issues/41613#issuecomment-976535193
+sed -i 's#$(eval $(call symlink_system_library,CSL,libquadmath,0))##' base/Makefile
+%endif
# remove .gitignore
find . -name ".git*" -exec rm {} \;
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package jsoncpp for openSUSE:Factory checked in at 2021-12-01 20:46:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jsoncpp (Old)
and /work/SRC/openSUSE:Factory/.jsoncpp.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jsoncpp"
Wed Dec 1 20:46:46 2021 rev:29 rq:934477 version:1.9.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/jsoncpp/jsoncpp.changes 2020-10-26 16:07:46.302465441 +0100
+++ /work/SRC/openSUSE:Factory/.jsoncpp.new.31177/jsoncpp.changes 2021-12-02 02:15:01.802703708 +0100
@@ -1,0 +2,8 @@
+Sat Nov 27 12:32:49 UTC 2021 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 1.9.5:
+ * Minor bug-fixes (including for cmake)
+ * Support for Bazel
+ * Dropped compile-time deprecation warnings
+
+-------------------------------------------------------------------
Old:
----
jsoncpp-1.9.4.tar.gz
New:
----
jsoncpp-1.9.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jsoncpp.spec ++++++
--- /var/tmp/diff_new_pack.D4R3GP/_old 2021-12-02 02:15:02.254702330 +0100
+++ /var/tmp/diff_new_pack.D4R3GP/_new 2021-12-02 02:15:02.258702318 +0100
@@ -1,7 +1,7 @@
#
# spec file for package jsoncpp
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,15 @@
#
-%define sover 24
+%define sover 25
Name: jsoncpp
-Version: 1.9.4
+Version: 1.9.5
Release: 0
Summary: C++ library that allows manipulating with JSON
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/open-source-parsers/jsoncpp
-Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%…
+Source0: https://github.com/open-source-parsers/%{name}/archive/refs/tags/%{version}…
BuildRequires: gcc-c++
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
++++++ jsoncpp-1.9.4.tar.gz -> jsoncpp-1.9.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.clang-tidy new/jsoncpp-1.9.5/.clang-tidy
--- old/jsoncpp-1.9.4/.clang-tidy 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.clang-tidy 2021-11-03 18:53:28.000000000 +0100
@@ -4,7 +4,7 @@
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
-CheckOptions:
+CheckOptions:
- key: modernize-use-using.IgnoreMacros
value: '0'
...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.gitignore new/jsoncpp-1.9.5/.gitignore
--- old/jsoncpp-1.9.4/.gitignore 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.gitignore 2021-11-03 18:53:28.000000000 +0100
@@ -10,6 +10,7 @@
/libs/
/doc/doxyfile
/dist/
+/.cache/
# MSVC project files:
*.sln
@@ -30,6 +31,7 @@
CMakeFiles/
/pkg-config/jsoncpp.pc
jsoncpp_lib_static.dir/
+compile_commands.json
# In case someone runs cmake in the root-dir:
/CMakeCache.txt
@@ -50,3 +52,6 @@
# DS_Store
.DS_Store
+
+# temps
+/version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis.yml new/jsoncpp-1.9.5/.travis.yml
--- old/jsoncpp-1.9.4/.travis.yml 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis.yml 2021-11-03 18:53:28.000000000 +0100
@@ -1,5 +1,5 @@
# Build matrix / environment variables are explained on:
-# http://about.travis-ci.org/docs/user/build-configuration/
+# http://about.travis-ci.com/docs/user/build-configuration/
# This file can be validated on: http://www.yamllint.com/
# Or using the Ruby based travel command line tool:
# gem install travis --no-rdoc --no-ri
@@ -22,8 +22,6 @@
- clang-8
- valgrind
matrix:
- allow_failures:
- - os: osx
include:
- name: Mac clang meson static release testing
os: osx
@@ -44,6 +42,8 @@
CC="clang"
LIB_TYPE=static
BUILD_TYPE=release
+ PYTHONUSERBASE="$(pwd)/LOCAL"
+ PATH="$PYTHONUSERBASE/bin:$PATH"
# before_install and install steps only needed for linux meson builds
before_install:
- source ./.travis_scripts/travis.before_install.${TRAVIS_OS_NAME}.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis_scripts/meson_builder.sh new/jsoncpp-1.9.5/.travis_scripts/meson_builder.sh
--- old/jsoncpp-1.9.4/.travis_scripts/meson_builder.sh 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis_scripts/meson_builder.sh 2021-11-03 18:53:28.000000000 +0100
@@ -64,7 +64,7 @@
_COMPILER_NAME=`basename ${CXX}`
_BUILD_DIR_NAME="build-${BUILD_TYPE}_${LIB_TYPE}_${_COMPILER_NAME}"
-./.travis_scripts/run-clang-format.sh
+#./.travis_scripts/run-clang-format.sh
meson --fatal-meson-warnings --werror --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . "${_BUILD_DIR_NAME}"
ninja -v -j 2 -C "${_BUILD_DIR_NAME}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis_scripts/run-clang-format.py new/jsoncpp-1.9.5/.travis_scripts/run-clang-format.py
--- old/jsoncpp-1.9.4/.travis_scripts/run-clang-format.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis_scripts/run-clang-format.py 2021-11-03 18:53:28.000000000 +0100
@@ -353,4 +353,4 @@
if __name__ == '__main__':
- sys.exit(main())
\ No newline at end of file
+ sys.exit(main())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis_scripts/run-clang-format.sh new/jsoncpp-1.9.5/.travis_scripts/run-clang-format.sh
--- old/jsoncpp-1.9.4/.travis_scripts/run-clang-format.sh 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis_scripts/run-clang-format.sh 2021-11-03 18:53:28.000000000 +0100
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
-python $DIR/run-clang-format.py -r $DIR/../src/**/ $DIR/../include/**/
\ No newline at end of file
+python $DIR/run-clang-format.py -r $DIR/../src/**/ $DIR/../include/**/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis_scripts/travis.before_install.osx.sh new/jsoncpp-1.9.5/.travis_scripts/travis.before_install.osx.sh
--- old/jsoncpp-1.9.4/.travis_scripts/travis.before_install.osx.sh 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis_scripts/travis.before_install.osx.sh 2021-11-03 18:53:28.000000000 +0100
@@ -1 +0,0 @@
-# NOTHING TO DO HERE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/.travis_scripts/travis.install.linux.sh new/jsoncpp-1.9.5/.travis_scripts/travis.install.linux.sh
--- old/jsoncpp-1.9.4/.travis_scripts/travis.install.linux.sh 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/.travis_scripts/travis.install.linux.sh 2021-11-03 18:53:28.000000000 +0100
@@ -1,10 +1,5 @@
set -vex
-wget https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-linux.z…
-unzip -q ninja-linux.zip -d build
-
-pip3 install meson
-echo ${PATH}
-ls /usr/local
-ls /usr/local/bin
-export PATH="${PWD}"/build:/usr/local/bin:/usr/bin:${PATH}
+pip3 install --user meson ninja
+which meson
+which ninja
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/BUILD.bazel new/jsoncpp-1.9.5/BUILD.bazel
--- old/jsoncpp-1.9.4/BUILD.bazel 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/BUILD.bazel 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,37 @@
+licenses(["unencumbered"]) # Public Domain or MIT
+
+exports_files(["LICENSE"])
+
+cc_library(
+ name = "jsoncpp",
+ srcs = [
+ "src/lib_json/json_reader.cpp",
+ "src/lib_json/json_tool.h",
+ "src/lib_json/json_value.cpp",
+ "src/lib_json/json_writer.cpp",
+ ],
+ hdrs = [
+ "include/json/allocator.h",
+ "include/json/assertions.h",
+ "include/json/config.h",
+ "include/json/json_features.h",
+ "include/json/forwards.h",
+ "include/json/json.h",
+ "include/json/reader.h",
+ "include/json/value.h",
+ "include/json/version.h",
+ "include/json/writer.h",
+ ],
+ copts = [
+ "-DJSON_USE_EXCEPTION=0",
+ "-DJSON_HAS_INT64",
+ ],
+ includes = ["include"],
+ visibility = ["//visibility:public"],
+ deps = [":private"],
+)
+
+cc_library(
+ name = "private",
+ textual_hdrs = ["src/lib_json/json_valueiterator.inl"],
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/CMakeLists.txt new/jsoncpp-1.9.5/CMakeLists.txt
--- old/jsoncpp-1.9.4/CMakeLists.txt 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/CMakeLists.txt 2021-11-03 18:53:28.000000000 +0100
@@ -22,6 +22,9 @@
set(JSONCPP_CMAKE_POLICY_VERSION "${JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION}")
endif()
cmake_policy(VERSION ${JSONCPP_CMAKE_POLICY_VERSION})
+if(POLICY CMP0091)
+ cmake_policy(SET CMP0091 NEW)
+endif()
#
# Now enumerate specific policies newer than JSONCPP_NEWEST_VALIDATED_POLICIES_VERSION
# that may need to be individually set to NEW/OLD
@@ -69,11 +72,14 @@
# 2. ./include/json/version.h
# 3. ./CMakeLists.txt
# IMPORTANT: also update the PROJECT_SOVERSION!!
- VERSION 1.9.4 # <major>[.<minor>[.<patch>[.<tweak>]]]
+ VERSION 1.9.5 # <major>[.<minor>[.<patch>[.<tweak>]]]
LANGUAGES CXX)
message(STATUS "JsonCpp Version: ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
-set(PROJECT_SOVERSION 24)
+set(PROJECT_SOVERSION 25)
+
+include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInSourceBuilds.cmake)
+include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInBuildInstalls.cmake)
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)
@@ -82,6 +88,7 @@
option(JSONCPP_WITH_PKGCONFIG_SUPPORT "Generate and install .pc files" ON)
option(JSONCPP_WITH_CMAKE_PACKAGE "Generate and install cmake package files" ON)
option(JSONCPP_WITH_EXAMPLE "Compile JsonCpp example" OFF)
+option(JSONCPP_STATIC_WINDOWS_RUNTIME "Use static (MT/MTd) Windows runtime" OFF)
option(BUILD_SHARED_LIBS "Build jsoncpp_lib as a shared library." ON)
option(BUILD_STATIC_LIBS "Build jsoncpp_lib as a static library." ON)
option(BUILD_OBJECT_LIBS "Build jsoncpp_lib as a object library." ON)
@@ -120,11 +127,18 @@
# Only enabled in debug because some old versions of VS STL generate
# unreachable code warning when compiled in release configuration.
add_compile_options($<$<CONFIG:Debug>:/W4>)
+ if (JSONCPP_STATIC_WINDOWS_RUNTIME)
+ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
+ endif()
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)
+
+ if(JSONCPP_WITH_WARNING_AS_ERROR)
+ add_compile_options(-Werror=conversion -Werror=sign-compare)
+ endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# using GCC
add_compile_options(-Wall -Wconversion -Wshadow -Wextra)
@@ -138,9 +152,11 @@
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
#��using Intel compiler
- add_compile_options(-Wall -Wconversion -Wshadow -Wextra -Werror=conversion)
+ add_compile_options(-Wall -Wconversion -Wshadow -Wextra)
- if(JSONCPP_WITH_STRICT_ISO AND NOT JSONCPP_WITH_WARNING_AS_ERROR)
+ if(JSONCPP_WITH_WARNING_AS_ERROR)
+ add_compile_options(-Werror=conversion)
+ elseif(JSONCPP_WITH_STRICT_ISO)
add_compile_options(-Wpedantic)
endif()
endif()
@@ -167,11 +183,16 @@
include(CMakePackageConfigHelpers)
install(EXPORT jsoncpp
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/jsoncpp
- FILE jsoncppConfig.cmake)
+ FILE jsoncpp-targets.cmake)
+ configure_package_config_file(jsoncppConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/jsoncppConfig.cmake
+ INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/jsoncpp)
+
write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/jsoncppConfigVersion.cmake"
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jsoncppConfigVersion.cmake
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/jsoncppConfigVersion.cmake ${CMAKE_CURRENT_BINARY_DIR}/jsoncppConfig.cmake
+ ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp-namespaced-targets.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/jsoncpp)
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/CONTRIBUTING.md new/jsoncpp-1.9.5/CONTRIBUTING.md
--- old/jsoncpp-1.9.4/CONTRIBUTING.md 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/CONTRIBUTING.md 2021-11-03 18:53:28.000000000 +0100
@@ -19,7 +19,7 @@
DESTDIR=/path/to/install/dir
Then,
-
+```sh
cd jsoncpp/
BUILD_TYPE=debug
#BUILD_TYPE=release
@@ -35,6 +35,7 @@
#meson test --no-rebuild --print-errorlogs
sudo ninja install
+```
## Building and testing with other build systems
See https://github.com/open-source-parsers/jsoncpp/wiki/Building
@@ -143,7 +144,9 @@
```
Before submitting your code, ensure that you meet the versioning requirements above, follow the style guide of the file you are modifying (or the above rules for new files), and run clang format. Meson exposes clang format with the following command:
-
```
ninja -v -C build-${LIB_TYPE}/ clang-format
```
+
+For convenience, you can also run the `reformat.sh` script located in the root directory.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/LICENSE new/jsoncpp-1.9.5/LICENSE
--- old/jsoncpp-1.9.4/LICENSE 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/LICENSE 2021-11-03 18:53:28.000000000 +0100
@@ -1,25 +1,25 @@
-The JsonCpp library's source code, including accompanying documentation,
+The JsonCpp library's source code, including accompanying documentation,
tests and demonstration applications, are licensed under the following
conditions...
-Baptiste Lepilleur and The JsonCpp Authors explicitly disclaim copyright in all
-jurisdictions which recognize such a disclaimer. In such jurisdictions,
+Baptiste Lepilleur and The JsonCpp Authors explicitly disclaim copyright in all
+jurisdictions which recognize such a disclaimer. In such jurisdictions,
this software is released into the Public Domain.
In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur and
The JsonCpp Authors, and is released under the terms of the MIT License (see below).
-In jurisdictions which recognize Public Domain property, the user of this
-software may choose to accept it either as 1) Public Domain, 2) under the
-conditions of the MIT License (see below), or 3) under the terms of dual
+In jurisdictions which recognize Public Domain property, the user of this
+software may choose to accept it either as 1) Public Domain, 2) under the
+conditions of the MIT License (see below), or 3) under the terms of dual
Public Domain/MIT License conditions described here, as they choose.
The MIT License is about as close to Public Domain as a license can get, and is
described in clear, concise terms at:
http://en.wikipedia.org/wiki/MIT_License
-
+
The full text of the MIT License follows:
========================================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/appveyor.yml new/jsoncpp-1.9.5/appveyor.yml
--- old/jsoncpp-1.9.4/appveyor.yml 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/appveyor.yml 2021-11-03 18:53:28.000000000 +0100
@@ -1,6 +1,7 @@
clone_folder: c:\projects\jsoncpp
environment:
+
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_GENERATOR: Visual Studio 14 2015
@@ -13,11 +14,15 @@
build_script:
- cmake --version
- - cd c:\projects\jsoncpp
- - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON .
+ # The build script starts in root.
+ - set JSONCPP_FOLDER=%cd%
+ - set JSONCPP_BUILD_FOLDER=%JSONCPP_FOLDER%\build\release
+ - mkdir -p %JSONCPP_BUILD_FOLDER%
+ - cd %JSONCPP_BUILD_FOLDER%
+ - cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX:PATH=%CD:\=/%/install -DBUILD_SHARED_LIBS:BOOL=ON %JSONCPP_FOLDER%
# Use ctest to make a dashboard build:
# - ctest -D Experimental(Start|Update|Configure|Build|Test|Coverage|MemCheck|Submit)
- # NOTE: Testing on window is not yet finished:
+ # NOTE: Testing on windows is not yet finished:
# - ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalTest -D ExperimentalSubmit
- ctest -C Release -D ExperimentalStart -D ExperimentalConfigure -D ExperimentalBuild -D ExperimentalSubmit
# Final step is to verify that installation succeeds
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/dev.makefile new/jsoncpp-1.9.5/dev.makefile
--- old/jsoncpp-1.9.4/dev.makefile 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/dev.makefile 2021-11-03 18:53:28.000000000 +0100
@@ -1,9 +1,11 @@
# This is only for jsoncpp developers/contributors.
# We use this to sign releases, generate documentation, etc.
-VER?=$(shell cat version.txt)
+VER?=$(shell cat version)
default:
@echo "VER=${VER}"
+update-version:
+ perl get_version.pl meson.build >| version
sign: jsoncpp-${VER}.tar.gz
gpg --armor --detach-sign $<
gpg --verify $<.asc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/devtools/antglob.py new/jsoncpp-1.9.5/devtools/antglob.py
--- old/jsoncpp-1.9.4/devtools/antglob.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/devtools/antglob.py 2021-11-03 18:53:28.000000000 +0100
@@ -146,7 +146,7 @@
entry_type = is_file and FILE_LINK or DIR_LINK
else:
entry_type = is_file and FILE or DIR
-## print '=> type: %d' % entry_type,
+## print '=> type: %d' % entry_type,
if (entry_type & entry_type_filter) != 0:
## print ' => KEEP'
yield os.path.join(dir_path, entry)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/devtools/fixeol.py new/jsoncpp-1.9.5/devtools/fixeol.py
--- old/jsoncpp-1.9.4/devtools/fixeol.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/devtools/fixeol.py 2021-11-03 18:53:28.000000000 +0100
@@ -32,8 +32,8 @@
if verbose:
print(is_dry_run and ' NEED FIX' or ' FIXED')
return True
-##
-##
+##
+##
##
##def _do_fix(is_dry_run = True):
## from waftools import antglob
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/devtools/licenseupdater.py new/jsoncpp-1.9.5/devtools/licenseupdater.py
--- old/jsoncpp-1.9.4/devtools/licenseupdater.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/devtools/licenseupdater.py 2021-11-03 18:53:28.000000000 +0100
@@ -20,7 +20,7 @@
dry_run: if True, just print the path of the file that would be updated,
but don't change it.
show_diff: if True, print the path of the file that would be modified,
- as well as the change made to the file.
+ as well as the change made to the file.
"""
with open(path, 'rt') as fin:
original_text = fin.read().replace('\r\n','\n')
@@ -51,7 +51,7 @@
dry_run: if True, just print the path of the file that would be updated,
but don't change it.
show_diff: if True, print the path of the file that would be modified,
- as well as the change made to the file.
+ as well as the change made to the file.
"""
from devtools import antglob
prune_dirs = antglob.prune_dirs + 'scons-local* ./build* ./libs ./dist'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/doxybuild.py new/jsoncpp-1.9.5/doxybuild.py
--- old/jsoncpp-1.9.4/doxybuild.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/doxybuild.py 2021-11-03 18:53:28.000000000 +0100
@@ -46,7 +46,7 @@
with open(sourcefile, 'r') as f:
contents = f.read()
for (k,v) in list(dict.items()):
- v = v.replace('\\','\\\\')
+ v = v.replace('\\','\\\\')
contents = re.sub(k, v, contents)
with open(targetfile, 'w') as f:
f.write(contents)
@@ -158,7 +158,7 @@
Generates doxygen documentation in build/doxygen.
Optionally makes a tarball of the documentation to dist/.
- Must be started in the project top directory.
+ Must be started in the project top directory.
"""
from optparse import OptionParser
parser = OptionParser(usage=usage)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/example/README.md new/jsoncpp-1.9.5/example/README.md
--- old/jsoncpp-1.9.4/example/README.md 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/example/README.md 2021-11-03 18:53:28.000000000 +0100
@@ -1,8 +1,8 @@
-***NOTE***
+***NOTE***
If you get linker errors about undefined references to symbols that involve types in the `std::__cxx11` namespace or the tag
`[abi:cxx11]` then it probably indicates that you are trying to link together object files that were compiled with different
-values for the _GLIBCXX_USE_CXX11_ABI marco. This commonly happens when linking to a third-party library that was compiled with
+values for the _GLIBCXX_USE_CXX11_ABI marco. This commonly happens when linking to a third-party library that was compiled with
an older version of GCC. If the third-party library cannot be rebuilt with the new ABI, then you need to recompile your code with
the old ABI,just like:
**g++ stringWrite.cpp -ljsoncpp -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -o stringWrite**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/example/readFromString/readFromString.cpp new/jsoncpp-1.9.5/example/readFromString/readFromString.cpp
--- old/jsoncpp-1.9.4/example/readFromString/readFromString.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/example/readFromString/readFromString.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -1,5 +1,6 @@
#include "json/json.h"
#include <iostream>
+#include <memory>
/**
* \brief Parse a raw string into Value object using the CharReaderBuilder
* class, or the legacy Reader class.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/example/streamWrite/streamWrite.cpp new/jsoncpp-1.9.5/example/streamWrite/streamWrite.cpp
--- old/jsoncpp-1.9.4/example/streamWrite/streamWrite.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/example/streamWrite/streamWrite.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -1,5 +1,6 @@
#include "json/json.h"
#include <iostream>
+#include <memory>
/** \brief Write the Value object to a stream.
* Example Usage:
* $g++ streamWrite.cpp -ljsoncpp -std=c++11 -o streamWrite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/get_version.pl new/jsoncpp-1.9.5/get_version.pl
--- old/jsoncpp-1.9.4/get_version.pl 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/get_version.pl 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,5 @@
+while (<>) {
+ if (/version : '(.+)',/) {
+ print "$1";
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/PreventInBuildInstalls.cmake new/jsoncpp-1.9.5/include/PreventInBuildInstalls.cmake
--- old/jsoncpp-1.9.4/include/PreventInBuildInstalls.cmake 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/include/PreventInBuildInstalls.cmake 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,9 @@
+string(TOLOWER "${CMAKE_INSTALL_PREFIX}" _PREFIX)
+string(TOLOWER "${ITK_BINARY_DIR}" _BUILD)
+if("${_PREFIX}" STREQUAL "${_BUILD}")
+ message(FATAL_ERROR
+ "The current CMAKE_INSTALL_PREFIX points at the build tree:\n"
+ " ${CMAKE_INSTALL_PREFIX}\n"
+ "This is not supported."
+ )
+endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/PreventInSourceBuilds.cmake new/jsoncpp-1.9.5/include/PreventInSourceBuilds.cmake
--- old/jsoncpp-1.9.4/include/PreventInSourceBuilds.cmake 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/include/PreventInSourceBuilds.cmake 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,45 @@
+#
+# This function will prevent in-source builds
+function(AssureOutOfSourceBuilds)
+ # make sure the user doesn't play dirty with symlinks
+ get_filename_component(srcdir "${CMAKE_SOURCE_DIR}" REALPATH)
+ get_filename_component(bindir "${CMAKE_BINARY_DIR}" REALPATH)
+
+ # disallow in-source builds
+ if("${srcdir}" STREQUAL "${bindir}")
+ message("######################################################")
+ message("# jsoncpp should not be configured & built in the jsoncpp source directory")
+ message("# You must run cmake in a build directory.")
+ message("# For example:")
+ message("# mkdir jsoncpp-Sandbox ; cd jsoncpp-sandbox")
+ message("# git clone https://github.com/open-source-parsers/jsoncpp.git # or download & unpack the source tarball")
+ message("# mkdir jsoncpp-build")
+ message("# this will create the following directory structure")
+ message("#")
+ message("# jsoncpp-Sandbox")
+ message("# +--jsoncpp")
+ message("# +--jsoncpp-build")
+ message("#")
+ message("# Then you can proceed to configure and build")
+ message("# by using the following commands")
+ message("#")
+ message("# cd jsoncpp-build")
+ message("# cmake ../jsoncpp # or ccmake, or cmake-gui ")
+ message("# make")
+ message("#")
+ message("# NOTE: Given that you already tried to make an in-source build")
+ message("# CMake have already created several files & directories")
+ message("# in your source tree. run 'git status' to find them and")
+ message("# remove them by doing:")
+ message("#")
+ message("# cd jsoncpp-Sandbox/jsoncpp")
+ message("# git clean -n -d")
+ message("# git clean -f -d")
+ message("# git checkout --")
+ message("#")
+ message("######################################################")
+ message(FATAL_ERROR "Quitting configuration")
+ endif()
+endfunction()
+
+AssureOutOfSourceBuilds()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/json/allocator.h new/jsoncpp-1.9.5/include/json/allocator.h
--- old/jsoncpp-1.9.4/include/json/allocator.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/include/json/allocator.h 2021-11-03 18:53:28.000000000 +0100
@@ -35,11 +35,10 @@
* Release memory which was allocated for N items at pointer P.
*
* The memory block is filled with zeroes before being released.
- * The pointer argument is tagged as "volatile" to prevent the
- * compiler optimizing out this critical step.
*/
- void deallocate(volatile pointer p, size_type n) {
- std::memset(p, 0, n * sizeof(T));
+ void deallocate(pointer p, size_type n) {
+ // memset_s is used because memset may be optimized away by the compiler
+ memset_s(p, n * sizeof(T), 0, n * sizeof(T));
// free using "global operator delete"
::operator delete(p);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/json/reader.h new/jsoncpp-1.9.5/include/json/reader.h
--- old/jsoncpp-1.9.4/include/json/reader.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/include/json/reader.h 2021-11-03 18:53:28.000000000 +0100
@@ -33,8 +33,7 @@
* \deprecated Use CharReader and CharReaderBuilder.
*/
-class JSONCPP_DEPRECATED(
- "Use CharReader and CharReaderBuilder instead.") JSON_API Reader {
+class JSON_API Reader {
public:
using Char = char;
using Location = const Char*;
@@ -51,13 +50,13 @@
};
/** \brief Constructs a Reader allowing all features for parsing.
+ * \deprecated Use CharReader and CharReaderBuilder.
*/
- JSONCPP_DEPRECATED("Use CharReader and CharReaderBuilder instead")
Reader();
/** \brief Constructs a Reader allowing the specified feature set for parsing.
+ * \deprecated Use CharReader and CharReaderBuilder.
*/
- JSONCPP_DEPRECATED("Use CharReader and CharReaderBuilder instead")
Reader(const Features& features);
/** \brief Read a Value from a <a HREF="http://www.json.org">JSON</a>
@@ -324,6 +323,9 @@
* - `"allowSpecialFloats": false or true`
* - If true, special float values (NaNs and infinities) are allowed and
* their values are lossfree restorable.
+ * - `"skipBom": false or true`
+ * - If true, if the input starts with the Unicode byte order mark (BOM),
+ * it is skipped.
*
* You can examine 'settings_` yourself to see the defaults. You can also
* write and read them just like any JSON Value.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/json/value.h new/jsoncpp-1.9.5/include/json/value.h
--- old/jsoncpp-1.9.4/include/json/value.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/include/json/value.h 2021-11-03 18:53:28.000000000 +0100
@@ -50,7 +50,7 @@
// be used by...
#if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)
#pragma warning(push)
-#pragma warning(disable : 4251)
+#pragma warning(disable : 4251 4275)
#endif // if defined(JSONCPP_DISABLE_DLL_INTERFACE_WARNING)
#pragma pack(push, 8)
@@ -263,10 +263,10 @@
CZString(ArrayIndex index);
CZString(char const* str, unsigned length, DuplicationPolicy allocate);
CZString(CZString const& other);
- CZString(CZString&& other);
+ CZString(CZString&& other) noexcept;
~CZString();
CZString& operator=(const CZString& other);
- CZString& operator=(CZString&& other);
+ CZString& operator=(CZString&& other) noexcept;
bool operator<(CZString const& other) const;
bool operator==(CZString const& other) const;
@@ -344,13 +344,13 @@
Value(bool value);
Value(std::nullptr_t ptr) = delete;
Value(const Value& other);
- Value(Value&& other);
+ Value(Value&& other) noexcept;
~Value();
/// \note Overwrite existing comments. To preserve comments, use
/// #swapPayload().
Value& operator=(const Value& other);
- Value& operator=(Value&& other);
+ Value& operator=(Value&& other) noexcept;
/// Swap everything.
void swap(Value& other);
@@ -635,9 +635,9 @@
public:
Comments() = default;
Comments(const Comments& that);
- Comments(Comments&& that);
+ Comments(Comments&& that) noexcept;
Comments& operator=(const Comments& that);
- Comments& operator=(Comments&& that);
+ Comments& operator=(Comments&& that) noexcept;
bool has(CommentPlacement slot) const;
String get(CommentPlacement slot) const;
void set(CommentPlacement slot, String comment);
@@ -918,8 +918,8 @@
* because the returned references/pointers can be used
* to change state of the base class.
*/
- reference operator*() { return deref(); }
- pointer operator->() { return &deref(); }
+ reference operator*() const { return const_cast<reference>(deref()); }
+ pointer operator->() const { return const_cast<pointer>(&deref()); }
};
inline void swap(Value& a, Value& b) { a.swap(b); }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/json/version.h new/jsoncpp-1.9.5/include/json/version.h
--- old/jsoncpp-1.9.4/include/json/version.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/include/json/version.h 2021-11-03 18:53:28.000000000 +0100
@@ -9,10 +9,10 @@
// 3. /CMakeLists.txt
// IMPORTANT: also update the SOVERSION!!
-#define JSONCPP_VERSION_STRING "1.9.4"
+#define JSONCPP_VERSION_STRING "1.9.5"
#define JSONCPP_VERSION_MAJOR 1
#define JSONCPP_VERSION_MINOR 9
-#define JSONCPP_VERSION_PATCH 3
+#define JSONCPP_VERSION_PATCH 5
#define JSONCPP_VERSION_QUALIFIER
#define JSONCPP_VERSION_HEXA \
((JSONCPP_VERSION_MAJOR << 24) | (JSONCPP_VERSION_MINOR << 16) | \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/include/json/writer.h new/jsoncpp-1.9.5/include/json/writer.h
--- old/jsoncpp-1.9.4/include/json/writer.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/include/json/writer.h 2021-11-03 18:53:28.000000000 +0100
@@ -110,6 +110,8 @@
* - Number of precision digits for formatting of real values.
* - "precisionType": "significant"(default) or "decimal"
* - Type of precision for formatting of real values.
+ * - "emitUTF8": false or true
+ * - If true, outputs raw UTF8 strings instead of escaping them.
* You can examine 'settings_` yourself
* to see the defaults. You can also write and read them just like any
@@ -145,7 +147,7 @@
/** \brief Abstract class for writers.
* \deprecated Use StreamWriter. (And really, this is an implementation detail.)
*/
-class JSONCPP_DEPRECATED("Use StreamWriter instead") JSON_API Writer {
+class JSON_API Writer {
public:
virtual ~Writer();
@@ -165,7 +167,7 @@
#pragma warning(push)
#pragma warning(disable : 4996) // Deriving from deprecated class
#endif
-class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API FastWriter
+class JSON_API FastWriter
: public Writer {
public:
FastWriter();
@@ -225,7 +227,7 @@
#pragma warning(push)
#pragma warning(disable : 4996) // Deriving from deprecated class
#endif
-class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API
+class JSON_API
StyledWriter : public Writer {
public:
StyledWriter();
@@ -294,7 +296,7 @@
#pragma warning(push)
#pragma warning(disable : 4996) // Deriving from deprecated class
#endif
-class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API
+class JSON_API
StyledStreamWriter {
public:
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/jsoncpp-namespaced-targets.cmake new/jsoncpp-1.9.5/jsoncpp-namespaced-targets.cmake
--- old/jsoncpp-1.9.4/jsoncpp-namespaced-targets.cmake 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/jsoncpp-namespaced-targets.cmake 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,7 @@
+if (TARGET jsoncpp_static)
+ add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
+ set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_static")
+elseif (TARGET jsoncpp_lib)
+ add_library(JsonCpp::JsonCpp INTERFACE IMPORTED)
+ set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib")
+endif ()
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/jsoncppConfig.cmake.in new/jsoncpp-1.9.5/jsoncppConfig.cmake.in
--- old/jsoncpp-1.9.4/jsoncppConfig.cmake.in 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/jsoncppConfig.cmake.in 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1,11 @@
+cmake_policy(PUSH)
+cmake_policy(VERSION 3.0)
+
+@PACKAGE_INIT@
+
+include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-targets.cmake" )
+include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-namespaced-targets.cmake" )
+
+check_required_components(JsonCpp)
+
+cmake_policy(POP)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/meson.build new/jsoncpp-1.9.5/meson.build
--- old/jsoncpp-1.9.4/meson.build 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/meson.build 2021-11-03 18:53:28.000000000 +0100
@@ -50,7 +50,7 @@
'src/lib_json/json_value.cpp',
'src/lib_json/json_writer.cpp',
]),
- soversion : 24,
+ soversion : 25,
install : true,
include_directories : jsoncpp_include_directories,
cpp_args: dll_export_flag)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/pkg-config/jsoncpp.pc.in new/jsoncpp-1.9.5/pkg-config/jsoncpp.pc.in
--- old/jsoncpp-1.9.4/pkg-config/jsoncpp.pc.in 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/pkg-config/jsoncpp.pc.in 2021-11-03 18:53:28.000000000 +0100
@@ -5,7 +5,7 @@
Name: jsoncpp
Description: A C++ library for interacting with JSON
-Version: @JSONCPP_VERSION@
+Version: @PROJECT_VERSION@
URL: https://github.com/open-source-parsers/jsoncpp
Libs: -L${libdir} -ljsoncpp
Cflags: -I${includedir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/reformat.sh new/jsoncpp-1.9.5/reformat.sh
--- old/jsoncpp-1.9.4/reformat.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/jsoncpp-1.9.5/reformat.sh 2021-11-03 18:53:28.000000000 +0100
@@ -0,0 +1 @@
+find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/jsontestrunner/main.cpp new/jsoncpp-1.9.5/src/jsontestrunner/main.cpp
--- old/jsoncpp-1.9.4/src/jsontestrunner/main.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/jsontestrunner/main.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -335,6 +335,7 @@
std::cerr << "Unhandled exception:" << std::endl << e.what() << std::endl;
return 1;
}
+ return 0;
}
#if defined(__GNUC__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/lib_json/CMakeLists.txt new/jsoncpp-1.9.5/src/lib_json/CMakeLists.txt
--- old/jsoncpp-1.9.4/src/lib_json/CMakeLists.txt 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/lib_json/CMakeLists.txt 2021-11-03 18:53:28.000000000 +0100
@@ -11,20 +11,10 @@
check_include_file_cxx(clocale HAVE_CLOCALE)
check_cxx_symbol_exists(localeconv clocale HAVE_LOCALECONV)
-if(CMAKE_VERSION VERSION_LESS 3.0.0)
- # The "LANGUAGE CXX" parameter is not supported in CMake versions below 3,
- # so the C compiler and header has to be used.
- check_include_file(locale.h HAVE_LOCALE_H)
- set(CMAKE_EXTRA_INCLUDE_FILES locale.h)
- check_type_size("struct lconv" LCONV_SIZE)
- unset(CMAKE_EXTRA_INCLUDE_FILES)
- check_struct_has_member("struct lconv" decimal_point locale.h HAVE_DECIMAL_POINT)
-else()
- set(CMAKE_EXTRA_INCLUDE_FILES clocale)
- check_type_size(lconv LCONV_SIZE LANGUAGE CXX)
- unset(CMAKE_EXTRA_INCLUDE_FILES)
- check_struct_has_member(lconv decimal_point clocale HAVE_DECIMAL_POINT LANGUAGE CXX)
-endif()
+set(CMAKE_EXTRA_INCLUDE_FILES clocale)
+check_type_size(lconv LCONV_SIZE LANGUAGE CXX)
+unset(CMAKE_EXTRA_INCLUDE_FILES)
+check_struct_has_member(lconv decimal_point clocale HAVE_DECIMAL_POINT LANGUAGE CXX)
if(NOT (HAVE_CLOCALE AND HAVE_LCONV_SIZE AND HAVE_DECIMAL_POINT AND HAVE_LOCALECONV))
message(WARNING "Locale functionality is not supported")
@@ -129,7 +119,7 @@
OUTPUT_NAME jsoncpp
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_SOVERSION}
- POSITION_INDEPENDENT_CODE ON
+ POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS}
)
# Set library's runtime search path on OSX
@@ -139,13 +129,11 @@
target_compile_features(${SHARED_LIB} PUBLIC ${REQUIRED_FEATURES})
- if(NOT CMAKE_VERSION VERSION_LESS 2.8.11)
- target_include_directories(${SHARED_LIB} PUBLIC
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
- $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
- )
- endif()
+ target_include_directories(${SHARED_LIB} PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
+ $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
+ )
list(APPEND CMAKE_TARGETS ${SHARED_LIB})
endif()
@@ -156,7 +144,11 @@
# avoid name clashes on windows as the shared import lib is alse named jsoncpp.lib
if(NOT DEFINED STATIC_SUFFIX AND BUILD_SHARED_LIBS)
- set(STATIC_SUFFIX "_static")
+ if (MSVC)
+ set(STATIC_SUFFIX "_static")
+ else()
+ set(STATIC_SUFFIX "")
+ endif()
endif()
set_target_properties(${STATIC_LIB} PROPERTIES
@@ -171,13 +163,11 @@
target_compile_features(${STATIC_LIB} PUBLIC ${REQUIRED_FEATURES})
- if(NOT CMAKE_VERSION VERSION_LESS 2.8.11)
- target_include_directories(${STATIC_LIB} PUBLIC
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
- $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
- )
- endif()
+ target_include_directories(${STATIC_LIB} PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
+ $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
+ )
list(APPEND CMAKE_TARGETS ${STATIC_LIB})
endif()
@@ -190,7 +180,7 @@
OUTPUT_NAME jsoncpp
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_SOVERSION}
- POSITION_INDEPENDENT_CODE ON
+ POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS}
)
# Set library's runtime search path on OSX
@@ -200,13 +190,11 @@
target_compile_features(${OBJECT_LIB} PUBLIC ${REQUIRED_FEATURES})
- if(NOT CMAKE_VERSION VERSION_LESS 2.8.11)
- target_include_directories(${OBJECT_LIB} PUBLIC
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
- $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
- )
- endif()
+ target_include_directories(${OBJECT_LIB} PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/${JSONCPP_INCLUDE_DIR}>
+ $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include/json>
+ )
list(APPEND CMAKE_TARGETS ${OBJECT_LIB})
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/lib_json/json_reader.cpp new/jsoncpp-1.9.5/src/lib_json/json_reader.cpp
--- old/jsoncpp-1.9.4/src/lib_json/json_reader.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/lib_json/json_reader.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -104,8 +104,7 @@
// Since String is reference-counted, this at least does not
// create an extra copy.
- String doc;
- std::getline(is, doc, static_cast<char> EOF);
+ String doc(std::istreambuf_iterator<char>(is), {});
return parse(doc.data(), doc.data() + doc.size(), root, collectComments);
}
@@ -1921,7 +1920,7 @@
if (valid_keys.count(key))
continue;
if (invalid)
- (*invalid)[std::move(key)] = *si;
+ (*invalid)[key] = *si;
else
return false;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/lib_json/json_tool.h new/jsoncpp-1.9.5/src/lib_json/json_tool.h
--- old/jsoncpp-1.9.4/src/lib_json/json_tool.h 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/lib_json/json_tool.h 2021-11-03 18:53:28.000000000 +0100
@@ -116,14 +116,18 @@
* Return iterator that would be the new end of the range [begin,end), if we
* were to delete zeros in the end of string, but not the last zero before '.'.
*/
-template <typename Iter> Iter fixZerosInTheEnd(Iter begin, Iter end) {
+template <typename Iter>
+Iter fixZerosInTheEnd(Iter begin, Iter end, unsigned int precision) {
for (; begin != end; --end) {
if (*(end - 1) != '0') {
return end;
}
// Don't delete the last zero before the decimal point.
- if (begin != (end - 1) && *(end - 2) == '.') {
- return end;
+ if (begin != (end - 1) && begin != (end - 2) && *(end - 2) == '.') {
+ if (precision) {
+ return end;
+ }
+ return end - 2;
}
}
return end;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/lib_json/json_value.cpp new/jsoncpp-1.9.5/src/lib_json/json_value.cpp
--- old/jsoncpp-1.9.4/src/lib_json/json_value.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/lib_json/json_value.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -259,7 +259,7 @@
storage_.length_ = other.storage_.length_;
}
-Value::CZString::CZString(CZString&& other)
+Value::CZString::CZString(CZString&& other) noexcept
: cstr_(other.cstr_), index_(other.index_) {
other.cstr_ = nullptr;
}
@@ -285,7 +285,7 @@
return *this;
}
-Value::CZString& Value::CZString::operator=(CZString&& other) {
+Value::CZString& Value::CZString::operator=(CZString&& other) noexcept {
cstr_ = other.cstr_;
index_ = other.index_;
other.cstr_ = nullptr;
@@ -433,7 +433,7 @@
dupMeta(other);
}
-Value::Value(Value&& other) {
+Value::Value(Value&& other) noexcept {
initBasic(nullValue);
swap(other);
}
@@ -448,7 +448,7 @@
return *this;
}
-Value& Value::operator=(Value&& other) {
+Value& Value::operator=(Value&& other) noexcept {
other.swap(*this);
return *this;
}
@@ -912,7 +912,8 @@
if (newSize == 0)
clear();
else if (newSize > oldSize)
- this->operator[](newSize - 1);
+ for (ArrayIndex i = oldSize; i < newSize; ++i)
+ (*this)[i];
else {
for (ArrayIndex index = newSize; index < oldSize; ++index) {
value_.map_->erase(index);
@@ -1373,14 +1374,15 @@
Value::Comments::Comments(const Comments& that)
: ptr_{cloneUnique(that.ptr_)} {}
-Value::Comments::Comments(Comments&& that) : ptr_{std::move(that.ptr_)} {}
+Value::Comments::Comments(Comments&& that) noexcept
+ : ptr_{std::move(that.ptr_)} {}
Value::Comments& Value::Comments::operator=(const Comments& that) {
ptr_ = cloneUnique(that.ptr_);
return *this;
}
-Value::Comments& Value::Comments::operator=(Comments&& that) {
+Value::Comments& Value::Comments::operator=(Comments&& that) noexcept {
ptr_ = std::move(that.ptr_);
return *this;
}
@@ -1396,13 +1398,11 @@
}
void Value::Comments::set(CommentPlacement slot, String comment) {
- if (!ptr_) {
+ if (slot >= CommentPlacement::numberOfCommentPlacement)
+ return;
+ if (!ptr_)
ptr_ = std::unique_ptr<Array>(new Array());
- }
- // check comments array boundry.
- if (slot < CommentPlacement::numberOfCommentPlacement) {
- (*ptr_)[slot] = std::move(comment);
- }
+ (*ptr_)[slot] = std::move(comment);
}
void Value::setComment(String comment, CommentPlacement placement) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/lib_json/json_writer.cpp new/jsoncpp-1.9.5/src/lib_json/json_writer.cpp
--- old/jsoncpp-1.9.4/src/lib_json/json_writer.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/lib_json/json_writer.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -68,7 +68,7 @@
#if !defined(isnan)
// IEEE standard states that NaN values will not compare to themselves
-#define isnan(x) (x != x)
+#define isnan(x) ((x) != (x))
#endif
#if !defined(__APPLE__)
@@ -154,16 +154,18 @@
buffer.erase(fixNumericLocale(buffer.begin(), buffer.end()), buffer.end());
- // strip the zero padding from the right
- if (precisionType == PrecisionType::decimalPlaces) {
- buffer.erase(fixZerosInTheEnd(buffer.begin(), buffer.end()), buffer.end());
- }
-
// try to ensure we preserve the fact that this was given to us as a double on
// input
if (buffer.find('.') == buffer.npos && buffer.find('e') == buffer.npos) {
buffer += ".0";
}
+
+ // strip the zero padding from the right
+ if (precisionType == PrecisionType::decimalPlaces) {
+ buffer.erase(fixZerosInTheEnd(buffer.begin(), buffer.end(), precision),
+ buffer.end());
+ }
+
return buffer;
}
} // namespace
@@ -270,7 +272,7 @@
result.append("\\u").append(toHex16Bit(ch));
}
-static String valueToQuotedStringN(const char* value, unsigned length,
+static String valueToQuotedStringN(const char* value, size_t length,
bool emitUTF8 = false) {
if (value == nullptr)
return "";
@@ -348,7 +350,7 @@
}
String valueToQuotedString(const char* value) {
- return valueToQuotedStringN(value, static_cast<unsigned int>(strlen(value)));
+ return valueToQuotedStringN(value, strlen(value));
}
// Class Writer
@@ -397,7 +399,7 @@
char const* end;
bool ok = value.getString(&str, &end);
if (ok)
- document_ += valueToQuotedStringN(str, static_cast<unsigned>(end - str));
+ document_ += valueToQuotedStringN(str, static_cast<size_t>(end - str));
break;
}
case booleanValue:
@@ -420,8 +422,7 @@
const String& name = *it;
if (it != members.begin())
document_ += ',';
- document_ += valueToQuotedStringN(name.data(),
- static_cast<unsigned>(name.length()));
+ document_ += valueToQuotedStringN(name.data(), name.length());
document_ += yamlCompatibilityEnabled_ ? ": " : ":";
writeValue(value[name]);
}
@@ -466,7 +467,7 @@
char const* end;
bool ok = value.getString(&str, &end);
if (ok)
- pushValue(valueToQuotedStringN(str, static_cast<unsigned>(end - str)));
+ pushValue(valueToQuotedStringN(str, static_cast<size_t>(end - str)));
else
pushValue("");
break;
@@ -507,7 +508,7 @@
}
void StyledWriter::writeArrayValue(const Value& value) {
- unsigned size = value.size();
+ size_t size = value.size();
if (size == 0)
pushValue("[]");
else {
@@ -516,7 +517,7 @@
writeWithIndent("[");
indent();
bool hasChildValue = !childValues_.empty();
- unsigned index = 0;
+ ArrayIndex index = 0;
for (;;) {
const Value& childValue = value[index];
writeCommentBeforeValue(childValue);
@@ -539,7 +540,7 @@
{
assert(childValues_.size() == size);
document_ += "[ ";
- for (unsigned index = 0; index < size; ++index) {
+ for (size_t index = 0; index < size; ++index) {
if (index > 0)
document_ += ", ";
document_ += childValues_[index];
@@ -684,7 +685,7 @@
char const* end;
bool ok = value.getString(&str, &end);
if (ok)
- pushValue(valueToQuotedStringN(str, static_cast<unsigned>(end - str)));
+ pushValue(valueToQuotedStringN(str, static_cast<size_t>(end - str)));
else
pushValue("");
break;
@@ -958,8 +959,8 @@
char const* end;
bool ok = value.getString(&str, &end);
if (ok)
- pushValue(valueToQuotedStringN(str, static_cast<unsigned>(end - str),
- emitUTF8_));
+ pushValue(
+ valueToQuotedStringN(str, static_cast<size_t>(end - str), emitUTF8_));
else
pushValue("");
break;
@@ -982,8 +983,8 @@
String const& name = *it;
Value const& childValue = value[name];
writeCommentBeforeValue(childValue);
- writeWithIndent(valueToQuotedStringN(
- name.data(), static_cast<unsigned>(name.length()), emitUTF8_));
+ writeWithIndent(
+ valueToQuotedStringN(name.data(), name.length(), emitUTF8_));
*sout_ << colonSymbol_;
writeValue(childValue);
if (++it == members.end()) {
@@ -1217,7 +1218,7 @@
if (valid_keys.count(key))
continue;
if (invalid)
- (*invalid)[std::move(key)] = *si;
+ (*invalid)[key] = *si;
else
return false;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/src/test_lib_json/main.cpp new/jsoncpp-1.9.5/src/test_lib_json/main.cpp
--- old/jsoncpp-1.9.4/src/test_lib_json/main.cpp 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/src/test_lib_json/main.cpp 2021-11-03 18:53:28.000000000 +0100
@@ -12,6 +12,7 @@
#include "fuzz.h"
#include "jsontest.h"
+#include <algorithm>
#include <cmath>
#include <cstring>
#include <functional>
@@ -24,6 +25,7 @@
#include <memory>
#include <sstream>
#include <string>
+#include <vector>
using CharReaderPtr = std::unique_ptr<Json::CharReader>;
@@ -347,6 +349,17 @@
JSONTEST_ASSERT_EQUAL(array.size(), 0);
}
}
+
+JSONTEST_FIXTURE_LOCAL(ValueTest, resizePopulatesAllMissingElements) {
+ Json::ArrayIndex n = 10;
+ Json::Value v;
+ v.resize(n);
+ JSONTEST_ASSERT_EQUAL(n, v.size());
+ JSONTEST_ASSERT_EQUAL(n, std::distance(v.begin(), v.end()));
+ for (const Json::Value& e : v)
+ JSONTEST_ASSERT_EQUAL(e, Json::Value{});
+}
+
JSONTEST_FIXTURE_LOCAL(ValueTest, getArrayValue) {
Json::Value array;
for (Json::ArrayIndex i = 0; i < 5; i++)
@@ -2005,6 +2018,34 @@
result = Json::writeString(b, v);
JSONTEST_ASSERT_STRING_EQUAL(expected, result);
+ b.settings_["precision"] = 0;
+ b.settings_["precisionType"] = "decimal";
+ v = 123.56345694873740545068;
+ expected = "124";
+ result = Json::writeString(b, v);
+ JSONTEST_ASSERT_STRING_EQUAL(expected, result);
+
+ b.settings_["precision"] = 1;
+ b.settings_["precisionType"] = "decimal";
+ v = 1230.001;
+ expected = "1230.0";
+ result = Json::writeString(b, v);
+ JSONTEST_ASSERT_STRING_EQUAL(expected, result);
+
+ b.settings_["precision"] = 0;
+ b.settings_["precisionType"] = "decimal";
+ v = 1230.001;
+ expected = "1230";
+ result = Json::writeString(b, v);
+ JSONTEST_ASSERT_STRING_EQUAL(expected, result);
+
+ b.settings_["precision"] = 0;
+ b.settings_["precisionType"] = "decimal";
+ v = 1231.5;
+ expected = "1232";
+ result = Json::writeString(b, v);
+ JSONTEST_ASSERT_STRING_EQUAL(expected, result);
+
b.settings_["precision"] = 10;
b.settings_["precisionType"] = "decimal";
v = 0.23300000;
@@ -3916,6 +3957,15 @@
}
}
+class VersionTest : public JsonTest::TestCase {};
+
+JSONTEST_FIXTURE_LOCAL(VersionTest, VersionNumbersMatch) {
+ std::ostringstream vstr;
+ vstr << JSONCPP_VERSION_MAJOR << '.' << JSONCPP_VERSION_MINOR << '.'
+ << JSONCPP_VERSION_PATCH;
+ JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
+}
+
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_array_06.json new/jsoncpp-1.9.5/test/data/legacy_test_array_06.json
--- old/jsoncpp-1.9.4/test/data/legacy_test_array_06.json 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_array_06.json 2021-11-03 18:53:28.000000000 +0100
@@ -1,4 +1,4 @@
-[ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
+[ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"ccccccccccccccccccccccc",
"dddddddddddddddddddddddddddddddddddddddddddddddddddd" ]
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_complex_01.json new/jsoncpp-1.9.5/test/data/legacy_test_complex_01.json
--- old/jsoncpp-1.9.4/test/data/legacy_test_complex_01.json 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_complex_01.json 2021-11-03 18:53:28.000000000 +0100
@@ -1,17 +1,17 @@
-{
+{
"count" : 1234,
"name" : { "aka" : "T.E.S.T.", "id" : 123987 },
- "attribute" : [
- "random",
- "short",
- "bold",
- 12,
- { "height" : 7, "width" : 64 }
+ "attribute" : [
+ "random",
+ "short",
+ "bold",
+ 12,
+ { "height" : 7, "width" : 64 }
],
- "test": { "1" :
- { "2" :
- { "3" : { "coord" : [ 1,2] }
- }
+ "test": { "1" :
+ { "2" :
+ { "3" : { "coord" : [ 1,2] }
+ }
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_object_03.json new/jsoncpp-1.9.5/test/data/legacy_test_object_03.json
--- old/jsoncpp-1.9.4/test/data/legacy_test_object_03.json 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_object_03.json 2021-11-03 18:53:28.000000000 +0100
@@ -1,4 +1,4 @@
-{
+{
"count" : 1234,
"name" : "test",
"attribute" : "random"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_object_04.json new/jsoncpp-1.9.5/test/data/legacy_test_object_04.json
--- old/jsoncpp-1.9.4/test/data/legacy_test_object_04.json 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_object_04.json 2021-11-03 18:53:28.000000000 +0100
@@ -1,3 +1,3 @@
-{
+{
"" : 1234
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_preserve_comment_01.expected new/jsoncpp-1.9.5/test/data/legacy_test_preserve_comment_01.expected
--- old/jsoncpp-1.9.4/test/data/legacy_test_preserve_comment_01.expected 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_preserve_comment_01.expected 2021-11-03 18:53:28.000000000 +0100
@@ -6,6 +6,6 @@
/* Comment before 'second'
*/
.second=2
-/* A comment at
+/* A comment at
the end of the file.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/data/legacy_test_preserve_comment_01.json new/jsoncpp-1.9.5/test/data/legacy_test_preserve_comment_01.json
--- old/jsoncpp-1.9.4/test/data/legacy_test_preserve_comment_01.json 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/data/legacy_test_preserve_comment_01.json 2021-11-03 18:53:28.000000000 +0100
@@ -9,6 +9,6 @@
"second" : 2
}
-/* A comment at
+/* A comment at
the end of the file.
*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jsoncpp-1.9.4/test/pyjsontestrunner.py new/jsoncpp-1.9.5/test/pyjsontestrunner.py
--- old/jsoncpp-1.9.4/test/pyjsontestrunner.py 2020-09-26 04:19:16.000000000 +0200
+++ new/jsoncpp-1.9.5/test/pyjsontestrunner.py 2021-11-03 18:53:28.000000000 +0100
@@ -15,7 +15,7 @@
if len(sys.argv) != 2:
print("Usage: %s input-json-file", sys.argv[0])
sys.exit(3)
-
+
input_path = sys.argv[1]
base_path = os.path.splitext(input_path)[0]
actual_path = base_path + '.actual'
@@ -23,7 +23,7 @@
rewrite_actual_path = base_path + '.actual-rewrite'
def valueTreeToString(fout, value, path = '.'):
- ty = type(value)
+ ty = type(value)
if ty is types.DictType:
fout.write('%s={}\n' % path)
suffix = path[-1] != '.' and '.' or ''
@@ -49,7 +49,7 @@
fout.write('%s=null\n' % path)
else:
assert False and "Unexpected value type"
-
+
def parseAndSaveValueTree(input, actual_path):
root = json.loads(input)
fout = file(actual_path, 'wt')
@@ -62,7 +62,7 @@
#rewrite = rewrite[1:-1] # Somehow the string is quoted ! jsonpy bug ?
file(rewrite_path, 'wt').write(rewrite + '\n')
return rewrite
-
+
input = file(input_path, 'rt').read()
root = parseAndSaveValueTree(input, actual_path)
rewrite = rewriteValueTree(json.write(root), rewrite_path)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package iso-codes for openSUSE:Factory checked in at 2021-11-29 17:28:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iso-codes (Old)
and /work/SRC/openSUSE:Factory/.iso-codes.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iso-codes"
Mon Nov 29 17:28:17 2021 rev:87 rq:934068 version:4.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/iso-codes/iso-codes.changes 2021-10-20 20:23:26.633346948 +0200
+++ /work/SRC/openSUSE:Factory/.iso-codes.new.31177/iso-codes.changes 2021-12-02 02:14:46.538750262 +0100
@@ -1,0 +2,23 @@
+Wed Nov 24 20:59:54 UTC 2021 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 4.8.0:
+ * ISO 3166-1: Add flag emoji to countries. Thanks to Pander
+ for the suggestion. Fixes #19
+ * ISO 639-5: New translation for Chinese (Simplified)
+ * ISO 3166-2: Major update of data.
+ Thanks to the script of Kevin Kaiser, which enables
+ the download of ISO pages and parses the data.
+ Fixes #15, #16, #27
+ * Rename ChangeLog.md to CHANGELOG.md and follow the suggestions
+ from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
+ * Move all CHANGELOG entries from versions before 4.0 to an
+ archive file (CHANGELOG-PRE-4.0.md) in order to reduce the
+ massive size of this CHANGELOG.
+ * Translation updates for ISO 3166-1
+ * Translation updates for ISO 3166-2
+ * Translation updates for ISO 639-2
+ * Translation updates for ISO 639-3
+ * Translation updates for ISO 639-5
+ * Translation updates for ISO 15924
+
+-------------------------------------------------------------------
Old:
----
iso-codes-iso-codes-4.7.0.tar.bz2
New:
----
iso-codes-v4.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ iso-codes.spec ++++++
--- /var/tmp/diff_new_pack.eEkrcO/_old 2021-12-02 02:14:47.014748809 +0100
+++ /var/tmp/diff_new_pack.eEkrcO/_new 2021-12-02 02:14:47.018748798 +0100
@@ -17,12 +17,12 @@
Name: iso-codes
-Version: 4.7.0
+Version: 4.8.0
Release: 0
Summary: ISO Code Lists and Translations
License: LGPL-2.1-or-later
URL: https://salsa.debian.org/iso-codes-team/iso-codes
-Source0: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/iso-codes-%{ver…
+Source0: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v%{version}/iso…
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-lxml
@@ -45,7 +45,7 @@
%lang_package
%prep
-%setup -q -n %{name}-%{name}-%{version}
+%setup -q -n %{name}-v%{version}
%build
%configure
@@ -68,7 +68,7 @@
%find_lang iso_15924 %{name}.lang
%files
-%doc ChangeLog.md README.md TODO
+%doc CHANGELOG.md README.md TODO
%{_datadir}/xml/iso-codes/
%{_datadir}/iso-codes/
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package intel-media-driver for openSUSE:Factory checked in at 2021-11-30 23:15:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/intel-media-driver (Old)
and /work/SRC/openSUSE:Factory/.intel-media-driver.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-media-driver"
Tue Nov 30 23:15:56 2021 rev:18 rq:934604 version:21.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/intel-media-driver/intel-media-driver.changes 2021-10-28 18:31:44.544425938 +0200
+++ /work/SRC/openSUSE:Factory/.intel-media-driver.new.31177/intel-media-driver.changes 2021-12-02 02:14:41.962764218 +0100
@@ -1,0 +2,7 @@
+Mon Nov 29 15:49:47 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Update to version 21.3.5:
+ * Enabled vaCopy by GPU HW
+ * Added 0YUV decode output format support
+
+-------------------------------------------------------------------
Old:
----
intel-media-21.3.4.tar.gz
New:
----
intel-media-21.3.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ intel-media-driver.spec ++++++
--- /var/tmp/diff_new_pack.mHq0oS/_old 2021-12-02 02:14:42.498762582 +0100
+++ /var/tmp/diff_new_pack.mHq0oS/_new 2021-12-02 02:14:42.502762571 +0100
@@ -19,13 +19,13 @@
%define so_ver 7
Name: intel-media-driver
-Version: 21.3.4
+Version: 21.3.5
Release: 0
Summary: Intel Media Driver for VAAPI
License: BSD-3-Clause AND MIT
Group: System/Libraries
URL: https://github.com/intel/media-driver
-Source: https://github.com/intel/media-driver/archive/intel-media-%{version}.tar.gz
+Source: %{url}/archive/intel-media-%{version}.tar.gz
Source1: generate-supplements.sh
Source2: supplements.inc
Source3: baselibs.conf
++++++ intel-media-21.3.4.tar.gz -> intel-media-21.3.5.tar.gz ++++++
/work/SRC/openSUSE:Factory/intel-media-driver/intel-media-21.3.4.tar.gz /work/SRC/openSUSE:Factory/.intel-media-driver.new.31177/intel-media-21.3.5.tar.gz differ: char 15, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package inkscape for openSUSE:Factory checked in at 2021-12-01 20:46:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inkscape (Old)
and /work/SRC/openSUSE:Factory/.inkscape.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inkscape"
Wed Dec 1 20:46:28 2021 rev:116 rq:934862 version:1.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/inkscape/inkscape.changes 2021-09-28 19:16:22.992175544 +0200
+++ /work/SRC/openSUSE:Factory/.inkscape.new.31177/inkscape.changes 2021-12-02 02:14:39.346772195 +0100
@@ -1,0 +2,12 @@
+Tue Nov 30 19:02:50 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Ensure we download the same tarball every time. Also add sig and
+ keyring as sources and verify that we have the right one.
+
+-------------------------------------------------------------------
+Tue Nov 23 17:14:23 UTC 2021 - Bj��rn Lie <bjorn.lie(a)gmail.com>
+
+- Add ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch: Fix build
+ with poppler 21.11.0, patch from upstream git.
+
+-------------------------------------------------------------------
New:
----
ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch
inkscape-1.1.1_2021-09-20_3bf5ae0d25.tar.xz.sig
inkscape.keyring
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ inkscape.spec ++++++
--- /var/tmp/diff_new_pack.KBKpq0/_old 2021-12-02 02:14:39.994770220 +0100
+++ /var/tmp/diff_new_pack.KBKpq0/_new 2021-12-02 02:14:39.998770207 +0100
@@ -24,10 +24,17 @@
Summary: Vector Illustration Program
License: GPL-3.0-only
URL: https://inkscape.org/
-Source: https://inkscape.org/gallery/item/29255/inkscape-%{_version}.tar.xz
+
+Source: https://inkscape.org/gallery/item/29255/inkscape-%{version}.tar.xz#/inkscap…
# openSUSE palette file
Source1: openSUSE.gpl
Source2: inkscape-split-extensions-extra.py
+Source98: https://media.inkscape.org/media/resources/sigs/inkscape-%{_version}.tar.xz…
+Source99: https://inkscape.org/~MarcJeanmougin/gpg#/%name.keyring
+
+# PATCH-FIX-UPSTREAM ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch -- Fix build with poppler 21.11.0
+Patch0: https://gitlab.com/inkscape/inkscape/-/commit/ebc4de4bfe34d6c5f2e27da47f5d6…
+
BuildRequires: cmake
BuildRequires: double-conversion-devel
BuildRequires: fdupes
++++++ ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd.patch ++++++
From ebc4de4bfe34d6c5f2e27da47f5d62e4de0394fd Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evangelos(a)foutrelis.com>
Date: Mon, 1 Nov 2021 21:45:38 +0200
Subject: [PATCH] Fix build with poppler 21.11.0
GfxFont::tag is now of type std::string instead of GooString *.
(cherry picked from commit 5724c21b9cb7b6176a7b36ca24068b148c817e82)
---
src/extension/internal/pdfinput/pdf-parser.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp
index e3d04d544b..feecefa043 100644
--- a/src/extension/internal/pdfinput/pdf-parser.cpp
+++ b/src/extension/internal/pdfinput/pdf-parser.cpp
@@ -2169,7 +2169,11 @@ void PdfParser::opSetFont(Object args[], int /*numArgs*/)
}
if (printCommands) {
printf(" font: tag=%s name='%s' %g\n",
+#if POPPLER_CHECK_VERSION(21,11,0)
+ font->getTag().c_str(),
+#else
font->getTag()->getCString(),
+#endif
font->getName() ? font->getName()->getCString() : "???",
args[1].getNum());
fflush(stdout);
--
GitLab
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ignition for openSUSE:Factory checked in at 2021-12-01 20:47:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ignition (Old)
and /work/SRC/openSUSE:Factory/.ignition.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ignition"
Wed Dec 1 20:47:26 2021 rev:29 rq:934938 version:2.13.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ignition/ignition.changes 2021-08-24 10:55:36.736262187 +0200
+++ /work/SRC/openSUSE:Factory/.ignition.new.31177/ignition.changes 2021-12-02 02:14:34.422787213 +0100
@@ -1,0 +2,42 @@
+Wed Dec 01 09:36:14 UTC 2021 - iforster(a)suse.com
+
+- Update to version 2.13.0:
+ * news: add notes for 2.13.0
+ * config/v3_4_exp: noProxy entries cannot be null
+ * config/v3_4_exp: mark ignition.version as required
+ * docs/supported-platforms: add some description about Nutanix
+ * providers/nutanix: add Nutanix platform
+ * tests: use umountPath as a thin wrapper around umountPartition
+ * internal/providers: refactor handling of unmounting the mount path
+ * tests: address gostatic-check warning
+ * tests: Add base64 decoding test
+ * Dockerfile.validate: build with Fedora 35
+ * go.mod: update dataurl to 1.0.0
+ * ci: give blackbox tests two hours to run
+ * tests/filesystem: fix umountPartition retry loop
+ * templates: skip vendoring the new version in favor of dependabot
+ * go.mod: update vcontext
+ * providers/virtualbox: read config from /Ignition/Config guest property
+ * stages/filesystems: use mkfs.fat instead of mkfs.vfat
+ * docs/supported-platforms: switch to Afterburn docs URL
+ * docs/supported-platforms: drop reference to platform-specific agents
+ * test: ensure all platforms are documented
+ * docs/supported-platforms: add missing platforms
+ * stages/files: rename `relabelDirsForFile` and add docstring
+ * stages/files: make variable name follow Go convention
+ * docs/supported-platforms: update platform names and URLs
+ * docs/supported-platforms: sort by platform ID
+ * docs/supported-platforms: add platform IDs
+ * docs: Remove default layout from front matter
+ * docs: Do not convert -- & --- to en/em-dash
+ * internal/*: change the location of Ignition report
+ * internal/exec/util: rename FindFirstMissingDirForFile and tweak docs
+ * providers/qemu: start reporting progress reading fw_cfg after 10 s
+ * providers/qemu: optimize fw_cfg read size
+ * ci: use coreos-ci-lib helper for kola testiso
+ * *: gofmt 1.17
+ * workflows: bump Go and golangci-lint
+ * config: update versions in comments
+- Removed obsolete ignition-rpmlintrc
+
+-------------------------------------------------------------------
Old:
----
ignition-2.12.0.tar.xz
ignition-rpmlintrc
New:
----
ignition-2.13.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ignition.spec ++++++
--- /var/tmp/diff_new_pack.c2XOgm/_old 2021-12-02 02:14:35.006785432 +0100
+++ /var/tmp/diff_new_pack.c2XOgm/_new 2021-12-02 02:14:35.010785419 +0100
@@ -17,7 +17,7 @@
Name: ignition
-Version: 2.12.0
+Version: 2.13.0
Release: 0
Summary: First boot installer and configuration tool
License: Apache-2.0
@@ -25,7 +25,6 @@
URL: https://github.com/coreos/ignition
Source: %{name}-%{version}.tar.xz
Source1: ignition-mount-initrd-fstab.service
-Source2: ignition-rpmlintrc
Source3: ignition-suse-generator
Source4: module-setup.sh
Source5: 02_ignition_firstboot
++++++ _service ++++++
--- /var/tmp/diff_new_pack.c2XOgm/_old 2021-12-02 02:14:35.054785286 +0100
+++ /var/tmp/diff_new_pack.c2XOgm/_new 2021-12-02 02:14:35.058785273 +0100
@@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
- <param name="version">2.12.0</param>
- <param name="revision">v2.12.0</param>
+ <param name="version">2.13.0</param>
+ <param name="revision">v2.13.0</param>
<param name="url">git://github.com/coreos/ignition.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.c2XOgm/_old 2021-12-02 02:14:35.074785225 +0100
+++ /var/tmp/diff_new_pack.c2XOgm/_new 2021-12-02 02:14:35.074785225 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/coreos/ignition.git</param>
- <param name="changesrevision">02f4e481faf0d5aed0cd173437b3ae7a07a7388c</param>
+ <param name="changesrevision">103783f0d74dafc5fbad38c6de6ff983d0b6aef2</param>
</service>
</servicedata>
\ No newline at end of file
++++++ ignition-2.12.0.tar.xz -> ignition-2.13.0.tar.xz ++++++
++++ 5953 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ibus-typing-booster for openSUSE:Factory checked in at 2021-11-30 23:16:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ibus-typing-booster (Old)
and /work/SRC/openSUSE:Factory/.ibus-typing-booster.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibus-typing-booster"
Tue Nov 30 23:16:02 2021 rev:70 rq:934666 version:2.15.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/ibus-typing-booster/ibus-typing-booster.changes 2021-11-23 22:13:00.402394475 +0100
+++ /work/SRC/openSUSE:Factory/.ibus-typing-booster.new.31177/ibus-typing-booster.changes 2021-12-02 02:14:30.554799009 +0100
@@ -1,0 +2,8 @@
+Mon Nov 28 18:38:04 UTC 2021 - maiku.fabian(a)gmail.com
+
+- Update to 2.15.11
+- Use @functools.lru_cache(maxsize=None) decorator for remove_accents()
+ (Makes everything 30%-40% faster)
+- Add sorting option to tabstatistics
+
+-------------------------------------------------------------------
Old:
----
ibus-typing-booster-2.15.7.tar.gz
New:
----
ibus-typing-booster-2.15.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ibus-typing-booster.spec ++++++
--- /var/tmp/diff_new_pack.3dR6cJ/_old 2021-12-02 02:14:31.074797424 +0100
+++ /var/tmp/diff_new_pack.3dR6cJ/_new 2021-12-02 02:14:31.078797412 +0100
@@ -15,7 +15,7 @@
#
Name: ibus-typing-booster
-Version: 2.15.7
+Version: 2.15.11
Release: 0
Summary: An input completion utility
License: GPL-3.0+
++++++ ibus-typing-booster-2.15.7.tar.gz -> ibus-typing-booster-2.15.11.tar.gz ++++++
/work/SRC/openSUSE:Factory/ibus-typing-booster/ibus-typing-booster-2.15.7.tar.gz /work/SRC/openSUSE:Factory/.ibus-typing-booster.new.31177/ibus-typing-booster-2.15.11.tar.gz differ: char 14, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package hostapd for openSUSE:Factory checked in at 2021-11-29 17:28:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hostapd (Old)
and /work/SRC/openSUSE:Factory/.hostapd.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hostapd"
Mon Nov 29 17:28:28 2021 rev:45 rq:934178 version:2.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/hostapd/hostapd.changes 2021-11-22 23:07:09.305333866 +0100
+++ /work/SRC/openSUSE:Factory/.hostapd.new.31177/hostapd.changes 2021-12-02 02:14:23.506820505 +0100
@@ -1,0 +2,12 @@
+Fri Nov 26 20:52:19 UTC 2021 - Clemens Famulla-Conrad <cfamullaconrad(a)suse.com>
+
+- Fix AppArmor profile -- allow access to /etc/ssl/openssl.cnf
+ (bsc#1192959)
+
+-------------------------------------------------------------------
+Fri Oct 15 07:29:27 UTC 2021 - Johannes Segitz <jsegitz(a)suse.com>
+
+- Added hardening to systemd service(s) (bsc#1181400). Modified:
+ * hostapd.service
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apparmor-usr.sbin.hostapd ++++++
--- /var/tmp/diff_new_pack.mKF7PH/_old 2021-12-02 02:14:24.102818687 +0100
+++ /var/tmp/diff_new_pack.mKF7PH/_new 2021-12-02 02:14:24.102818687 +0100
@@ -17,7 +17,7 @@
# grant read access to config files
/etc/hostapd.* r,
-
+ /etc/ssl/openssl.cnf r,
/etc/libnl/classid r,
@{PROC}/sys/net/ipv*/conf/*/arp_accept w,
++++++ hostapd.service ++++++
--- /var/tmp/diff_new_pack.mKF7PH/_old 2021-12-02 02:14:24.150818541 +0100
+++ /var/tmp/diff_new_pack.mKF7PH/_new 2021-12-02 02:14:24.150818541 +0100
@@ -3,6 +3,17 @@
After=network.target
[Service]
+# added automatically, for details please see
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
+ProtectSystem=full
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectKernelLogs=true
+ProtectControlGroups=true
+RestrictRealtime=true
+# end of automatic additions
ExecStart=/usr/sbin/hostapd /etc/hostapd.conf
ExecReload=/bin/kill -HUP $MAINPID
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package helvum for openSUSE:Factory checked in at 2021-12-01 20:47:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/helvum (Old)
and /work/SRC/openSUSE:Factory/.helvum.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "helvum"
Wed Dec 1 20:47:19 2021 rev:3 rq:934892 version:0.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/helvum/helvum.changes 2021-10-04 18:40:48.122139108 +0200
+++ /work/SRC/openSUSE:Factory/.helvum.new.31177/helvum.changes 2021-12-02 02:14:20.166830691 +0100
@@ -1,0 +2,16 @@
+Tue Nov 30 20:19:59 UTC 2021 - Adam Mizerski <adam(a)mizerski.pl>
+
+- update to 0.3.2
+ - Changes:
+ - Links where the endpoint is left of the start point and on the same height
+ now have a slight vertical component in their curve so they don't appear
+ as a single line
+ - Links now use a gray instead of black color for better constrast
+ - Fixes:
+ - Build scripts now use bash instead of sh, as they were already using bash
+ features before, which could lead to problems where sh is not a symlink to
+ bash
+ - Also, from now on, releases will have a source tarball with vendored cargo
+ dependencies attached, so that releases can be built offline easier.
+
+-------------------------------------------------------------------
Old:
----
_service
cargo_config
helvum-0.3.1~git0.958fa15.tar.xz
vendor.tar.xz
New:
----
helvum-0.3.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ helvum.spec ++++++
--- /var/tmp/diff_new_pack.uMULwd/_old 2021-12-02 02:14:20.654829202 +0100
+++ /var/tmp/diff_new_pack.uMULwd/_new 2021-12-02 02:14:20.658829191 +0100
@@ -19,14 +19,12 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
%define app_id org.freedesktop.ryuukyu.Helvum
Name: helvum
-Version: 0.3.1~git0.958fa15
+Version: 0.3.2
Release: 0
Summary: A GTK patchbay for pipewire
License: (Apache-2.0 OR BSL-1.0) AND GPL-3.0-only AND (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT
URL: https://gitlab.freedesktop.org/ryuukyu/helvum
-Source0: %{name}-%{version}.tar.xz
-Source1: vendor.tar.xz
-Source2: cargo_config
+Source: https://gitlab.freedesktop.org/ryuukyu/helvum/uploads/e20c0a2ade61f00e01eaa…
BuildRequires: cargo
BuildRequires: clang-devel
BuildRequires: gtk4-devel
@@ -37,9 +35,7 @@
Helvum is a GTK-based patchbay for pipewire, inspired by the JACK tool catia.
%prep
-%setup -qa1
-mkdir .cargo
-cp %{SOURCE2} .cargo/config
+%setup -q
%build
RUSTFLAGS=%{rustflags} cargo build --release
++++++ helvum-0.3.1~git0.958fa15.tar.xz -> helvum-0.3.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/helvum/helvum-0.3.1~git0.958fa15.tar.xz /work/SRC/openSUSE:Factory/.helvum.new.31177/helvum-0.3.2.tar.xz differ: char 13, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package haproxy for openSUSE:Factory checked in at 2021-12-01 20:46:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haproxy (Old)
and /work/SRC/openSUSE:Factory/.haproxy.new.31177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "haproxy"
Wed Dec 1 20:46:26 2021 rev:110 rq:934760 version:2.5.0+git0.f2e0833f1
Changes:
--------
--- /work/SRC/openSUSE:Factory/haproxy/haproxy.changes 2021-11-06 18:13:48.804752966 +0100
+++ /work/SRC/openSUSE:Factory/.haproxy.new.31177/haproxy.changes 2021-12-02 02:14:15.866843805 +0100
@@ -1,0 +2,10 @@
+Tue Nov 23 15:17:02 UTC 2021 - mrueckert(a)suse.de
+
+- Update to version 2.5.0+git0.f2e0833f1:
+ https://www.mail-archive.com/haproxy@formilux.org/msg41508.html
+- refreshed patches to apply cleanly again
+ haproxy-1.6.0-sec-options.patch
+ haproxy-1.6.0_config_haproxy_user.patch
+ lua54.patch
+
+-------------------------------------------------------------------
Old:
----
haproxy-2.4.8+git0.d1f8d41e0.tar.gz
New:
----
haproxy-2.5.0+git0.f2e0833f1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ haproxy.spec ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:16.610841536 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:16.614841524 +0100
@@ -53,7 +53,7 @@
%endif
Name: haproxy
-Version: 2.4.8+git0.d1f8d41e0
+Version: 2.5.0+git0.f2e0833f1
Release: 0
#
#
@@ -147,7 +147,6 @@
%if %{with pcre_jit}
USE_PCRE_JIT=1 \
%endif
- USE_PTHREAD_PSHARED=1 \
%ifarch %ix86
USE_REGPARM=1 \
%endif
++++++ _service ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:16.646841426 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:16.646841426 +0100
@@ -1,12 +1,12 @@
<services>
<service name="tar_scm" mode="disabled">
- <param name="url">http://git.haproxy.org/git/haproxy-2.4.git</param>
+ <param name="url">http://git.haproxy.org/git/haproxy-2.5.git</param>
<param name="scm">git</param>
<param name="filename">haproxy</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
- <param name="revision">v2.4.8</param>
+ <param name="revision">v2.5.0</param>
<param name="changesgenerate">enable</param>
</service>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:16.666841365 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:16.666841365 +0100
@@ -1,6 +1,5 @@
<servicedata>
<service name="tar_scm">
- <param name="url">http://git.haproxy.org/git/haproxy-2.4.git</param>
- <param name="changesrevision">d1f8d41e0384a83d25becee5b8d9d9692454886d</param>
+ <param name="url">http://git.haproxy.org/git/haproxy-2.5.git</param>
+ <param name="changesrevision">f2e0833f16aa8c09e1c7001ff55aac4f13c643b7</param>
</service>
-</servicedata>
\ No newline at end of file
++++++ haproxy-1.6.0-sec-options.patch ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:16.678841328 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:16.678841328 +0100
@@ -4,12 +4,12 @@
SUSE: Makefile sec options
-Index: haproxy-2.4/Makefile
+Index: haproxy-2.5/Makefile
===================================================================
---- haproxy-2.4.orig/Makefile
-+++ haproxy-2.4/Makefile
-@@ -801,6 +801,35 @@ ifneq ($(USE_OT),)
- include addons/ot/Makefile
+--- haproxy-2.5.orig/Makefile
++++ haproxy-2.5/Makefile
+@@ -803,6 +803,35 @@ ifneq ($(USE_LIBATOMIC),)
+ TARGET_LDFLAGS += -latomic
endif
+# PIE
++++++ haproxy-1.6.0_config_haproxy_user.patch ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:16.690841293 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:16.690841293 +0100
@@ -1,7 +1,7 @@
-Index: haproxy-1.6.0/examples/acl-content-sw.cfg
+Index: haproxy-2.5/examples/acl-content-sw.cfg
===================================================================
---- haproxy-1.6.0.orig/examples/acl-content-sw.cfg
-+++ haproxy-1.6.0/examples/acl-content-sw.cfg
+--- haproxy-2.5.orig/examples/acl-content-sw.cfg
++++ haproxy-2.5/examples/acl-content-sw.cfg
@@ -5,9 +5,9 @@ global
log loghost local0
log localhost local0 err
@@ -15,11 +15,10 @@
pidfile /var/run/haproxy.pid
daemon
quiet
-
-Index: haproxy-1.6.0/examples/content-sw-sample.cfg
+Index: haproxy-2.5/examples/content-sw-sample.cfg
===================================================================
---- haproxy-1.6.0.orig/examples/content-sw-sample.cfg
-+++ haproxy-1.6.0/examples/content-sw-sample.cfg
+--- haproxy-2.5.orig/examples/content-sw-sample.cfg
++++ haproxy-2.5/examples/content-sw-sample.cfg
@@ -11,9 +11,9 @@ global
maxconn 10000
stats socket /var/run/haproxy.stat mode 600 level admin
@@ -33,27 +32,24 @@
daemon
# The public 'www' address in the DMZ
-Index: haproxy-1.6.0/examples/option-http_proxy.cfg
+Index: haproxy-2.5/examples/option-http_proxy.cfg
===================================================================
---- haproxy-1.6.0.orig/examples/option-http_proxy.cfg
-+++ haproxy-1.6.0/examples/option-http_proxy.cfg
-@@ -6,9 +6,9 @@ global
- maxconn 20000
- ulimit-n 16384
- log 127.0.0.1 local0
-- uid 200
-- gid 200
-- chroot /var/empty
-+ chroot /var/lib/haproxy
-+ user haproxy
-+ group haproxy
- nbproc 4
+--- haproxy-2.5.orig/examples/option-http_proxy.cfg
++++ haproxy-2.5/examples/option-http_proxy.cfg
+@@ -9,6 +9,9 @@ global
+ uid 200
+ gid 200
+ chroot /var/empty
++ chroot /var/lib/haproxy
++ user haproxy
++ group haproxy
daemon
-Index: haproxy-1.6.0/examples/transparent_proxy.cfg
+ frontend test-proxy
+Index: haproxy-2.5/examples/transparent_proxy.cfg
===================================================================
---- haproxy-1.6.0.orig/examples/transparent_proxy.cfg
-+++ haproxy-1.6.0/examples/transparent_proxy.cfg
+--- haproxy-2.5.orig/examples/transparent_proxy.cfg
++++ haproxy-2.5/examples/transparent_proxy.cfg
@@ -6,6 +6,10 @@
#
++++++ haproxy-2.4.8+git0.d1f8d41e0.tar.gz -> haproxy-2.5.0+git0.f2e0833f1.tar.gz ++++++
++++ 81597 lines of diff (skipped)
++++++ lua54.patch ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:17.470838914 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:17.470838914 +0100
@@ -1,8 +1,8 @@
-Index: haproxy-2.4/Makefile
+Index: haproxy-2.5/Makefile
===================================================================
---- haproxy-2.4.orig/Makefile
-+++ haproxy-2.4/Makefile
-@@ -104,7 +104,7 @@
+--- haproxy-2.5.orig/Makefile
++++ haproxy-2.5/Makefile
+@@ -103,7 +103,7 @@
# LUA_LIB : force the lib path to lua
# LUA_INC : force the include path to lua
# LUA_LIB_NAME : force the lib name (or automatically evaluated, by order of
@@ -11,7 +11,7 @@
# OT_DEBUG : compile the OpenTracing filter in debug mode
# OT_INC : force the include path to libopentracing-c-wrapper
# OT_LIB : force the lib path to libopentracing-c-wrapper
-@@ -608,11 +608,11 @@ OPTIONS_CFLAGS += $(if $(LUA_INC),-I$(L
+@@ -606,11 +606,11 @@ OPTIONS_CFLAGS += $(if $(LUA_INC),-I$(L
LUA_LD_FLAGS := -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) $(if $(LUA_LIB),-L$(LUA_LIB))
ifeq ($(LUA_LIB_NAME),)
# Try to automatically detect the Lua library
@@ -26,11 +26,11 @@
ifneq ($(LUA_INC),)
OPTIONS_CFLAGS += -I$(LUA_INC)
endif
-Index: haproxy-2.4/INSTALL
+Index: haproxy-2.5/INSTALL
===================================================================
---- haproxy-2.4.orig/INSTALL
-+++ haproxy-2.4/INSTALL
-@@ -318,9 +318,9 @@ Lua is an embedded programming language
+--- haproxy-2.5.orig/INSTALL
++++ haproxy-2.5/INSTALL
+@@ -320,9 +320,9 @@ Lua is an embedded programming language
advanced scripting capabilities. Only versions 5.3 and above are supported.
In order to enable Lua support, please specify "USE_LUA=1" on the command line.
Some systems provide this library under various names to avoid conflicts with
++++++ series ++++++
--- /var/tmp/diff_new_pack.RaNiU8/_old 2021-12-02 02:14:17.490838853 +0100
+++ /var/tmp/diff_new_pack.RaNiU8/_new 2021-12-02 02:14:17.490838853 +0100
@@ -1,4 +1,4 @@
-haproxy-1.6.0_config_haproxy_user.patch -p1
+haproxy-1.6.0_config_haproxy_user.patch
haproxy-1.6.0-makefile_lib.patch
haproxy-1.6.0-sec-options.patch
lua54.patch
1
0