- 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
-
- 10 Oct, 2021 1 commit
-
-
Pino Toscano authored
-
- 28 Sep, 2021 1 commit
-
-
Jesse Beder authored
This reverts commit da1c8d36. and fixes #1036.
-
- 25 Sep, 2021 1 commit
-
-
Pino Toscano authored
* Export YAML::detail::node::m_amount The internal header node/detail/node.h is included by public headers; YAML::detail::node is implemented in the header itself, and thus it gets inlined... except for its static m_amount class member, which is instantiated in the library only. Right now all the symbols of yaml-cpp are exported (nothing is hidden), so the linker will find node::m_amount in the yaml-cpp library. As solution/workaround, explicitly export YAML::detail::node::m_amount. * CMake: use GenerateExportHeader Make use of the GenerateExportHeader CMake module to generate the dll.h header with export macros. While the produced dll.h is different, the result should be the same, i.e. nothing changes for yaml-cpp or its users. * CMake: hide all the symbols by default Hide all the symbols that are not explicitly exported with YAML_CPP_API. This way the ABI will be way smaller, and only actually exposing the public classes/functions.
-
- 23 Jul, 2021 1 commit
-
-
Snow Pettersen 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 2 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 2 commits
- 17 Jun, 2020 2 commits
- 16 Jun, 2020 1 commit
-
-
Rosen Penev authored
Found with modernize-use-auto Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
- 15 Jun, 2020 10 commits
-
-
Rosen Penev authored
Found with performance-unnecessary-value-param Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
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>
-
Rosen Penev authored
Found with modernize-return-braced-init-list Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with readability-inconsistent-declaration-parameter-name Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-use-bool-literals Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-raw-string-literal Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-use-emplace Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-loop-convert Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with readability-else-after-return Signed-off-by:Rosen Penev <rosenp@gmail.com>
-
- 25 May, 2020 1 commit
-
-
Josh Soref authored
* spelling: differently * spelling: irrelevant * spelling: specified
-
- 23 May, 2020 1 commit
-
-
Raúl Gutiérrez Segalés authored
-
- 07 May, 2020 1 commit
-
-
Ted Lyngmo authored
The BadFile exception which is thrown when failing to open a file now contains the filename.
-
- 29 Apr, 2020 1 commit
-
-
Ian Taylor authored
Fix invocation of clang-format in CMakeLists and apply clang-format.
-
- 09 Apr, 2020 1 commit
-
-
Alan Griffiths authored
Fix stack overflow in HandleNode by explicitly limiting the depth of recursion.
-
- 07 Apr, 2020 2 commits
-
-
Maxim Okhotskiy authored
-
Victor Mataré authored
It's clearly related to an existing node, so it can have a mark and give an error location.
-
- 04 Feb, 2020 2 commits
-
-
Ted Lyngmo authored
The explicitly defaulted or implemented move constructors and assignment operators are made "noexcept". Bugfix: * src/stream.cpp Stream::Stream() char_traits::int_type intro[4] is now aggregate-initialized (to zero) to avoid UB. Minor changes: * Using std::isinf() and std::signbit() instead of comparing for equality with infinity. * src/streamcharsource.h: Added #include "stream.h". * src/stream.h: Forward declaring "class StreamCharSource". * Some implicit casting changed into static_cast's. Signed-off-by:Ted Lyngmo <ted@lyncon.se>
-
Ted Lyngmo authored
This is in preparation for other patches that will make use of the macro. The patch also removes #undef:ing the macro after its been used to not make the header inclusion order critical. Otherwise, the new header would always have to be the last of the yaml-cpp headers to be included.
-