- 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
-
- 12 Oct, 2016 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
- 18 Aug, 2016 1 commit
-
-
Joseph Langley authored
-
- 18 Jul, 2016 1 commit
-
-
c0nk authored
* Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>> Map nodes are now iterated over in document order. * Change insert_map_pair to always append Always append in insert_map_pair even if the key is already present. This breaks the behavior of force_insert which now always inserts KVs even if the key is already present. The first insert for duplicated keys now takes precedence for lookups.
-
- 13 May, 2016 5 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
(Not stack<unique_ptr<T>> because it wasn't quite a stack; we needed to get the second-to-last element sometimes.)
-
- 02 Apr, 2016 1 commit
-
-
Jesse Beder authored
-
- 01 Apr, 2016 1 commit
-
-
TripleWhy authored
-
- 31 Jan, 2016 2 commits
-
-
Scott Wolchok authored
This improves performance on the test.yaml attached to #158 by about 25% on my machine as compared to the previous commit (0.25s -> 0.20s), as measured by `time build/util/parse < test.yaml > /dev/null`.
-
Scott Wolchok authored
This improves performance on the test.yaml attached to #158 by about 35% on my machine (0.39s -> 0.25s), as measured by `time build/util/parse < test.yaml > /dev/null`.
-
- 11 Jan, 2016 1 commit
-
-
Matt Blair authored
- Adds 'std=c++11' compiler flags - Replaces boost::type_traits with std::type_traits - Replaces boost::shared_ptr with std::shared_ptr - Replaces std::auto_ptr with std::unique_ptr - Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges - Replaces boost::noncopyable with deleted copy and assignment operators - Replaces boost::next with std::next - Replaces boost::enable_if with std::enable_if - Replaces boost::is_convertible with std::is_convertible - Replaces ptrdiff_t with std::ptrdiff_t - Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost - Removes Boost dependency from CMakeLists - Formats changed files using clang-format
-
- 10 Jan, 2016 1 commit
-
-
Jesse Beder authored
-
- 02 Apr, 2015 1 commit
-
-
Oliver Hamlet authored
Applied the patch given in jbeder/yaml-cpp#200 with the correct code style.
-
- 30 Mar, 2015 1 commit
-
-
Jesse Beder authored
-
- 24 Jan, 2015 3 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
Jesse Beder authored
-