- Aug 04, 2019
-
-
Jason Hiser authored
-
Jeppe Blicher Tarp authored
Specifically, printing `.nan`, `.inf`, and `-.inf`, respectively, as per the spec section 10.2.1.4.
-
- Jul 06, 2019
-
-
Jason Hiser authored
-
- Apr 17, 2019
-
-
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.
-
- Apr 07, 2019
-
-
Jason Hiser authored
-
- Mar 24, 2019
-
-
Jesse Beder authored
It wouldn't have compiled anyways, since the Scanner and Directive objects inside it are incomplete types at the time of the move definitions.
-
peterchen-cp authored
-
- Mar 13, 2019
-
-
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".
-
- Mar 12, 2019
-
-
caryoscelus authored
ref #110
-
- Feb 27, 2019
-
-
Olli Wang authored
NDK now uses ninja for building but yaml-cpp would emit the “ninja: error: build.ninja:326: bad $-escape (literal $ must be written as $$)” error due to syntax error in the generated build.ninja file. Related issue: https://github.com/jbeder/yaml-cpp/issues/630
-
- Feb 13, 2019
-
-
tt4g authored
Splitting the condition of the if statement containing `constant expression` eliminates warnings in Visual Studio with /W4.
-
- Jan 06, 2019
-
-
pent0 authored
-
- Dec 21, 2018
-
-
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.
-
- Nov 23, 2018
-
-
Alexander Anokhin authored
* Removed an expression which is always true * The second expression (ch is space) is removed because the first one contains space 0x20 * nextEmptyLine is always false so it is removed from the expression
-
- Nov 19, 2018
-
-
Joel Frederico authored
Let CMake handle the default optimizations for various configurations. We don't need to override them. In fact, overriding them makes it impossible for users to override them themselves.
-
- Nov 18, 2018
-
-
Lassi Hämäläinen authored
- Option defaults to ON and setting it to OFF, disables install target generation
-
- Sep 25, 2018
-
-
dand-oss authored
* fix up static, so works as DLL
-
- Sep 23, 2018
-
-
Florian Eich authored
-
- Sep 06, 2018
-
-
Andy Maloney authored
Variable "it" was shadowed
-
- Sep 04, 2018
-
-
Stefan Reinhold authored
-
- Sep 03, 2018
-
-
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.
-
Antony Polukhin authored
-
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
-
- Aug 09, 2018
-
-
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
-
- Jul 03, 2018
-
-
Alexander authored
-
- Jun 30, 2018
-
-
Alexander Karatarakis authored
-
- May 14, 2018
-
-
Jiao authored
-
- May 05, 2018
-
-
Patrick Stotko authored
-
- Apr 11, 2018
-
-
Tanki Zhang authored
Fix the compiler error which prevents deriving from std::iterator in C++17
-
- Mar 24, 2018
-
-
maek authored
-
- Mar 06, 2018
-
-
Jesse Beder authored
It was incorrectly left at 0.6.0 when 0.6.1 was released, so this needs to be done to make it consistent between the tagged version and the CMake version.
-
- Feb 02, 2018
-
-
Jamie Snape authored
pkg-config should be giving absolute paths rather than relative paths.
-
- Jan 28, 2018
-
-
Jesse Beder authored
-
Guillaume Dumont authored
-
Denis Gladkikh authored
-
- Nov 29, 2017
-
-
Cybel authored
* Change None in C/C++ source to NoneType. Prevent name conflict with X11 None definition.
-
- Nov 14, 2017
-
-
Matthew Woehlke authored
Don't build tests if the confusingly named YAML_CPP_BUILD_TOOLS is ON. Instead, add a new option that controls only if the tests are built. (Also, default tests to OFF.)
-
Ryan Schmidt authored
-