- 06 Aug, 2024 1 commit
-
-
NameSirius authored
-
- 05 Aug, 2024 2 commits
-
-
Jesse Beder authored
This reverts commit 1f5e971f. See #1306; the previous commit caused an error with -Wpedantic: yaml-cpp/include/yaml-cpp/emitterstyle.h:13:2: error: extra ‘;’ [-Wpedantic] Since the original commit was to resolve warnings, reverting and the OP can produce a new one that fixes this issue.
-
NameSirius authored
-
- 02 Aug, 2024 2 commits
-
-
Josiah VanderZee authored
The CMake format target does not use the correct .clang-format file in out-of-source builds. This instructs CMake to use the project root as the working directory for running the clang-format command so that it finds the .clang-format file.
-
Josiah VanderZee authored
Since `std::string` has to be dynamically constructed and destructed, it could be accessed before initialization or after destruction in a multithreaded context. By using constant c-strings instead, we guarantee that the array will be valid for the whole lifetime of the program. The use of `constexpr` also enforces this requirement. I have run clang-format on the file to format my changes according to CONTRIBUTING.md.
-
- 17 Jul, 2024 1 commit
-
-
Simon Gene Gottlieb authored
-
- 02 May, 2024 1 commit
-
-
Frank Osterfeld authored
These caused issues when used in a wasm project.
-
- 22 Feb, 2024 2 commits
-
-
Humberto Dias authored
-
Humberto Dias authored
-
- 28 Jan, 2024 1 commit
-
-
dependabot[bot] authored
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v2...v4 ) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by:
dependabot[bot] <support@github.com>
-
- 26 Jan, 2024 2 commits
-
-
Jason Beach authored
-
Alejandro-FA authored
-
- 04 Jan, 2024 2 commits
-
-
Trompettesib authored
-
Alexandre TISSOT authored
-
- 28 Dec, 2023 1 commit
-
-
Levi Armstrong authored
-
- 14 Dec, 2023 2 commits
-
-
Diogo Teles Sant'Anna authored
Signed-off-by:Diogo Teles Sant'Anna <diogoteles@google.com>
-
Diogo Teles Sant'Anna authored
Signed-off-by:Diogo Teles Sant'Anna <diogoteles@google.com>
-
- 27 Nov, 2023 2 commits
-
-
Alex Thiessen authored
-
Alex Thiessen authored
Protect from regressions due to use of undefined or implementation-specific behavior when using `std::` containers and smart pointers. This only has effect on platforms with the GNU standard C++ library. Refer to https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html.
-
- 07 Nov, 2023 2 commits
-
-
Levi Armstrong authored
-
Levi Armstrong 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 4 commits
-
-
Ezekiel Warren authored
-
Ezekiel Warren authored
-
Pete Lewis authored
-
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>
-
- 11 Oct, 2023 2 commits
-
-
Megamouse authored
Hide uninstall target unless YAML_CPP_INSTALL is set, and allow it to be disabled by YAML_CPP_DISABLE_UNINSTALL add_custom_target uninstall causes a clash with the same target in rtmidi (https://github.com/thestk/rtmidi ). "add_custom_target cannot create target "uninstall" because another target with the same name already exists. The existing target is a custom target created in source directory" Adds new option YAML_CPP_DISABLE_UNINSTALL fixes #1151 --------- Co-authored-by:
Megamouse <studienricky89@googlemail.de> Co-authored-by:
Jesse Beder <jbeder+github@gmail.com>
-
Alfi Maulana authored
-
- 21 Sep, 2023 1 commit
-
-
Paul Jurczak authored
-
- 17 Sep, 2023 2 commits
-
-
FireWolf authored
node/convert: Enable the template specialization for `std::string_view` properly when the library is compiled by MSVC on Windows. (#1227)
-
Daniel Stonier authored
-
- 10 Sep, 2023 2 commits
-
-
Kefu Chai authored
* CI: test with supported C++ standards let's test with the supported standards for better coverage. C++23 standard was just out, but the support on the toolchain is not quite ready yet. so let's leave it for a future change. Signed-off-by:
Kefu Chai <tchaikov@gmail.com> * CI: drop redundant Build step "Build Tests" is strictly a superset of "Build". in addition to the library, the former builds the tests also. both these steps share the same set of command line arguments. by removing "Build" step, we don't lose anything regarding the test coverage and information for further investigation if the build fails. Signed-off-by:
Kefu Chai <tchaikov@gmail.com> --------- Signed-off-by:
Kefu Chai <tchaikov@gmail.com>
-
Kefu Chai authored
This reverts commit 62622011. in 62622011, we wanted address the needs to use the `string_view` converter in C++98, but that requirement was based on wrong preconditions. `std::string_view` was introduced in C++17, and popular standard libraries like libstdc++ and libc++ both provide `std::string_view` when the source is built with C++17. furthermore 62622011 is buggy. because it uses `<version>` to tell the feature set provided by the standard library. but `<version>` is a part of C++20. so this defeats the purpose of the change of 62622011. Fixes #1223
-
- 06 Sep, 2023 1 commit
-
-
Kefu Chai authored
-
- 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}; | ^
-
- 16 Aug, 2023 1 commit
-
-
Craig Scott authored
-
- 10 Aug, 2023 2 commits
-
-
Jesse Beder authored
-
Diogo Teles Sant'Anna authored
-
- 24 Jul, 2023 1 commit
-
-
Kefu Chai authored
-