- 17 Jul, 2024 1 commit
-
-
Simon Gene Gottlieb authored
-
- 26 Jan, 2024 1 commit
-
-
Alejandro-FA authored
-
- 23 Oct, 2023 1 commit
-
-
Gianfranco Costamagna authored
-
- 22 Oct, 2023 1 commit
-
-
Gianfranco Costamagna authored
There is no need to use the embedded gtest code copy in Linux systems, if they already provide the googletest framework system-wide. Search for it, and fallback to the embedded one if the system one is not detected. This patch has been also contributed by Simon Quigley <tsimonq2@debian.org>
-
- 12 Oct, 2023 1 commit
-
-
Pierre Wendling authored
* CMake: Add option to set the package install dir. * CMake: Fix generated config. - `YAML_CPP_SHARED_LIBS_BUILT` should not be set with a `PATH_VAR` as it would always evaluate to true. - `YAML_CPP_LIBRARIES` should used the exported target name including the namespace, but `check_required_components` shouldn't. - Use `CMAKE_CURRENT_LIST_DIR` to find the target file, instead of a `PATH_VAR`. Package managers such as vcpkg move CMake configs after installing. * CI: Test the generated CMake package. * CMake: Create add a deprecated yaml-cpp target. This target is meant to provide compatibility with versions prior to 0.8.0. * CMake: mark the yaml-cpp target as IMPORTED. --------- Co-authored-by:Jesse Beder <jbeder+github@gmail.com>
-
- 19 Aug, 2023 1 commit
-
-
Gianfranco Costamagna authored
cd /<<PKGBUILDDIR>>/build-static/test && /usr/bin/c++ -DYAML_CPP_STATIC_DEFINE -I/<<PKGBUILDDIR>>/test/integration -I/<<PKGBUILDDIR>>/test -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googletest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/yaml-cpp-0.8.0+dfsg-1~build1 -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wno-variadic-macros -Wno-sign-compare -DGTEST_HAS_PTHREAD=1 -MD -MT test/CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -MF CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o.d -o CMakeFiles/yaml-cpp-tests.dir/binary_test.cpp.o -c /<<PKGBUILDDIR>>/test/binary_test.cpp /<<PKGBUILDDIR>>/test/binary_test.cpp: In member function ‘virtual void BinaryTest_DecodingNoCrashOnNegative_Test::TestBody()’: /<<PKGBUILDDIR>>/test/binary_test.cpp:11:38: error: narrowing conversion of ‘-58’ from ‘int’ to ‘char’ [-Wnarrowing] 11 | std::string input{-58, -1, -99, 109}; | ^
-
- 24 Jul, 2023 1 commit
-
-
Kefu Chai authored
-
- 04 Mar, 2023 1 commit
-
-
Matthijs van der Burgh authored
* Test(CMake) set NAME and COMMAND in add_test * (CMake) add enable_testing() * (CMake) move cmake_dependent_option up, before using them * (CMake) use YAML_CPP_MAIN_PROJECT in cmake_dependent_option * (CMake) log values regarding tests * (CMake) always find CTest, but don't enable tests * (CMAKE)(temp) fix logging * (actions) set YAML_CPP_BUILD_TESTS for tests * (actions) provide YAML_CPP_BUILD_TESTS to ctest * (actions) set -DYAML_CPP_BUILD_TESTS at build * (actions) don't fail false * (actions) build tests in Test step * (actions) run tests verbose * (CMake) remove temp logging * (actions) split building from running tests * (actions) ctest Debug * (actions) ctest Debug * Remove enable_testing
-
- 02 Mar, 2023 1 commit
-
-
Matthijs van der Burgh authored
-
- 04 Oct, 2022 1 commit
-
-
James Brown authored
-
- 20 Sep, 2022 1 commit
-
-
sfalmo authored
-
- 21 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
-
- 19 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
-
- 01 Apr, 2022 1 commit
-
-
Dr. Andre Vehreschild authored
Complies with YAML Standard [5.4](https://yaml.org/spec/1.2.2/#54-line-break-characters) [25] instead of matching `\r` only in combination with `\n`.
-
- 17 Feb, 2022 1 commit
-
-
Akash Patel authored
Properly resolves #1083, #996.
-
- 06 Jan, 2022 1 commit
-
-
Chen authored
-
- 15 Dec, 2021 1 commit
-
-
TheVice authored
Add copying of shared library to the output directory with a test binary. [binary] removed using of non unsigned char as argument at 'std::isspace' function that was provokes undefined behavior. [.github/workflows/build.yml] enabled run of test at the 'windows-latest' environment.
-
- 20 Oct, 2021 1 commit
-
-
Robert Sebastian Herlim authored
-
- 15 Jul, 2021 1 commit
-
-
jbeach authored
-
- 05 Jul, 2021 1 commit
-
-
theamarin authored
-
- 27 Jul, 2020 1 commit
-
-
Chen authored
-
- 24 Jul, 2020 1 commit
-
-
Chen authored
* fix issue743: handle the empty content of flow sep/map correctly during emitting. * handle the empty Tag/Anchor properly. * delete comment
-
- 23 Jul, 2020 1 commit
-
-
Chen authored
-
- 16 Jul, 2020 3 commits
- 14 Jul, 2020 1 commit
-
-
Oliver Hamlet authored
For completeness I've implemented escaping for characters outside the basic multilingual plane, but it doesn't get used (as there's no EscapeAsAsciiJson emitter option implemented).
-
- 06 Jul, 2020 1 commit
-
-
Chen authored
-
- 02 Jul, 2020 2 commits
-
-
Chen authored
Fixes #740.
-
Raffaello Bertini authored
Inside of a sequence or map, `YAML::Newline` wouldn't reset the collection state, which would cause behavior like this: ``` nodeA: k: [{i: 0}, {i:1}, ]NodeB: k: [{i: 0}, {i:1}, ] ```
-
- 29 Jun, 2020 1 commit
-
-
Chen authored
* Support kinds of emitter format-setting for YAML::Null. * update the code and test cases * add the comment //fallthrough
-
- 17 Jun, 2020 2 commits
- 15 Jun, 2020 2 commits
-
-
Rosen Penev authored
* partially fix clang compilation Missing header and mistaken algorithm usage. Also removed it name from range loops. It's not correct. Signed-off-by:
Rosen Penev <rosenp@gmail.com> * run through clang's -Wrange-loop-analysis Some range loops should not use references as they need to copy. Signed-off-by:
Rosen Penev <rosenp@gmail.com> * manual range loop conversions Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Chen authored
Fix issue 844/848.
-
- 31 May, 2020 1 commit
-
-
Chen authored
-
- 23 May, 2020 1 commit
-
-
Raúl Gutiérrez Segalés authored
-
- 19 May, 2020 1 commit
-
-
Chen authored
Fixing issue 859.
-
- 12 May, 2020 1 commit
-
-
Chen authored
Add test cases for the event handler for schema tags; does not include test cases for Node because specialized tag handling is not implemented yet.
-
- 29 Apr, 2020 1 commit
-
-
Ian Taylor authored
-