- 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
-
- 09 Apr, 2020 1 commit
-
-
Alan Griffiths authored
Fix stack overflow in HandleNode by explicitly limiting the depth of recursion.
-
- 08 Apr, 2020 1 commit
-
-
Ted Lyngmo authored
Add check that a move assigned Node gets the same representation as the moved-from Node had before the move.
-
- 29 Mar, 2020 1 commit
-
-
Romain Deterre authored
This commit updates the version of Google Test from 1.8 to 1.10.
-
- 15 Feb, 2020 1 commit
-
-
Anton Onishchenko authored
-
- 14 Feb, 2020 1 commit
-
-
JeffWegher authored
-
- 07 Feb, 2020 1 commit
-
-
Ted Lyngmo authored
-
- 21 Jan, 2020 1 commit
-
-
Jesse Beder authored
E.g. `!2`.
-
- 23 Nov, 2019 1 commit
-
-
Igor [hyperxor] authored
Also add a test for a parser with no data
-
- 04 Nov, 2019 1 commit
-
-
Igor [hyperxor] authored
-
- 04 Oct, 2019 1 commit
-
-
Fatih YAZICI authored
Add empty list of sources to add_library and add_executable.
-
- 27 Sep, 2019 2 commits
-
-
Ezekiel Warren authored
Example of how someone might consume yaml-cpp with bazel: cc_binary( name = "example", srcs = ["example.cc"], deps = ["@com_github_jbeder_yaml_cpp//:yaml-cpp"], ) -
Isabella Muerte authored
Remove 2.6-isms Remove 2.8-isms Bump CMake minimum version to 3.4 Disable some options when used as a subdirectory Use `CONFIGURE_DEPENDS` with `file(GLOB)` when possible Backport CMake 3.15's MSVC_RUNTIME_LIBRARY setting. Set all compile options as generator expressions. Set all find-package files to be installed to the correct file. Remove `export(PACKAGE)`, as this has been deprecated. Remove fat binary support Remove manual setting of iPhone settings. These should be set by parent projects. Remove use of ExternalProject for a local use Conditionally remove format target unless clang-format is found
-
- 10 Sep, 2019 1 commit
-
-
Andy Maloney authored
Setting CMAKE_CXX_STANDARD and CMAKE_CXX_STANDARD_REQUIRED directly is problematic when including yaml-cpp as a subproject. The proper way is to set these per-target.
-
- 04 Aug, 2019 1 commit
-
-
Jeppe Blicher Tarp authored
Specifically, printing `.nan`, `.inf`, and `-.inf`, respectively, as per the spec section 10.2.1.4.
-
- 17 Apr, 2019 1 commit
-
-
bedapisl authored
Invalid access via operator[] or as<> will now print the offending key, if possible. For example: a: x: 1 y: 2 node["a"]["z"].as<int>() will say that the key "z" was invalid.
-
- 13 Mar, 2019 1 commit
-
-
Ted Lyngmo authored
* Add compilation flags: -Wshadow -Weffc++ -pedantic -pedantic-errors * Delete implicit copy & move constructors & assignment operators in classes with pointer data members. * An exception to the above: Add default copy & move constructors & assignment operators for the Binary class. * Convert boolean RegEx operators to binary operators. * Initialize all members in all classes in ctors. * Let default ctor delegate to the converting ctor in Binary and RegEx * Don't change any tests except regex_test (as a result of the change to binary operators). Note: https://bugzilla.redhat.com/show_bug.cgi?id=1544675 makes -Weffc++ report a false positive in "include/yaml-cpp/node/impl.h".
-
- 12 Mar, 2019 1 commit
-
-
caryoscelus authored
ref #110
-
- 21 Dec, 2018 1 commit
-
-
Simon Gene Gottlieb authored
The issue is that numbers like 2.01 or 3.01 can not be precisely represented with binary floating point numbers. This replaces all occurrences of 'std::numeric_limits<T>::digits10 + 1' with 'std::numeric_limits<T>::max_digits10'. Background: Using 'std::numeric_limits<T>::digits10 + 1' is not precise enough. Converting a 'float' into a 'string' and back to a 'float' will not always produce the original 'float' value. To guarantee that the 'string' representation has sufficient precision the value 'std::numeric_limits<T>::max_digits10' has to be used.
-
- 03 Sep, 2018 2 commits
-
-
Stefan Reinhold authored
* Skip newlines in binary decoding This fixes #387 * Skip all whitespace characters This also removes spaces and tabs in addition to newlines.
-
Azamat H. Hackimov authored
Roll-forward of c90c08cc "Revert "Improvements to CMake buildsystem (#563)"" NEW: * Replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR Fixes #612 when yaml-cpp is used as a git submodule. ORIGINAL: * Move enable_testing() into proper place * Added CMake's checks for C++11 standards Raised minimal version of CMake to 3.1, since on old systems there no decent compilers that supports c++11. Closes #377. * Externalize googletest project Externalize gtest to avoid installation, fixes #539. * Remove defined cmake_policies CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed CMP0015 - does not affect to build process CMP0042 - already NEW for >=cmake-3.1 Fixes #505 * Fix compiling in Windows MSVC
-
- 09 Aug, 2018 2 commits
-
-
Jesse Beder authored
This reverts commit 3e33bb31. The original commit broke the build (#612) when yaml-cpp is used as a git submodule.
-
Azamat H. Hackimov authored
* Move enable_testing() into proper place * Added CMake's checks for C++11 standards Raised minimal version of CMake to 3.1, since on old systems there no decent compilers that supports c++11. Closes #377. * Externalize googletest project Externalize gtest to avoid installation, fixes #539. * Remove defined cmake_policies CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed CMP0015 - does not affect to build process CMP0042 - already NEW for >=cmake-3.1 Fixes #505 * Fix compiling in Windows MSVC
-
- 14 May, 2018 1 commit
-
-
Jiao authored
-
- 05 May, 2018 1 commit
-
-
Patrick Stotko authored
-
- 28 Jan, 2018 1 commit
-
-
Denis Gladkikh authored
-
- 14 Nov, 2017 1 commit
-
-
Ryan Schmidt authored
-
- 25 Aug, 2017 1 commit
-
-
Roger Leigh authored
Note that with the release of 1.8.0, googlemock and googletest are unified into a single release.
-
- 24 Jul, 2017 1 commit
-
-
Peter-Levine authored
Taken from https://github.com/google/googletest/issues/705#issuecomment-235067917
-
- 02 Jan, 2017 1 commit
-
-
butataatawa authored
Previously, just referencing the next element in the sequence (and so constructing it, as an undefined element) would allow you to skip defining an element without turning the sequence into a map. E.g: node[0] = "foo"; // sequence of size 1 node[1]; // sequence of size 1, with an undefined element at 1 node[2] = "bar"; // FIX: should be map of size 2 (since there's no element at index 1)
-
- 06 Dec, 2016 1 commit
-
-
butataatawa authored
-
- 02 Dec, 2016 1 commit
-
-
butataatawa authored
-