- 15 Jun, 2020 2 commits
-
-
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.
-
- 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
-
- 05 Oct, 2019 1 commit
-
-
Andy Maloney authored
Also run clang-format on these files as requested
-
- 02 Oct, 2019 4 commits
-
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
Andy Maloney authored
-
- 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.
-
- 24 Mar, 2019 1 commit
-
-
peterchen-cp authored
-
- 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.
-
- 23 Nov, 2018 1 commit
-
-
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
-
- 25 Sep, 2018 1 commit
-
-
dand-oss authored
* fix up static, so works as DLL
-
- 23 Sep, 2018 1 commit
-
-
Florian Eich authored
-
- 04 Sep, 2018 1 commit
-
-
Stefan Reinhold authored
-
- 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.
-
Antony Polukhin authored
-
- 03 Jul, 2018 1 commit
-
-
Alexander authored
-
- 30 Jun, 2018 1 commit
-
-
Alexander Karatarakis authored
-
- 14 May, 2018 1 commit
-
-
Jiao authored
-
- 24 Mar, 2018 1 commit
-
-
maek authored
-
- 28 Jan, 2018 1 commit
-
-
Denis Gladkikh authored
-
- 25 Jul, 2017 1 commit
-
-
Petr Bena authored
This way it's possible to build using older MSVC (<13) that don't support this yet. Macro is undefined in each file where it is used so it should stack well with other libs and sources.
-
- 13 Dec, 2016 1 commit
-
-
Raul Tambre authored
-
- 03 Dec, 2016 3 commits
-
-
Jens Breitbart authored
-
Raul Tambre authored
-
Jens Breitbart authored
-
- 02 Dec, 2016 1 commit
-
-
butataatawa authored
-