- 04 Feb, 2020 1 commit
-
-
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>
-
- 02 Oct, 2019 1 commit
-
-
Andy Maloney 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".
-
- 30 Mar, 2015 1 commit
-
-
Jesse Beder authored
-
- 24 Jan, 2015 1 commit
-
-
Jesse Beder authored
Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting
-
- 24 Mar, 2014 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
- 23 Mar, 2014 1 commit
-
-
Jesse Beder authored
-
- 22 Mar, 2014 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
- 14 Feb, 2012 1 commit
-
-
Jesse Beder authored
-
- 21 Oct, 2011 1 commit
-
-
Jesse Beder authored
Switched the utf bom checking to putback in the stream (instead of keeping a secondary buffer), which fixes a bug when there's only one ascii character
-
- 27 Oct, 2009 1 commit
-
-
Jesse Beder authored
-
- 27 Jul, 2009 1 commit
-
-
Jesse Beder authored
-
- 10 Jul, 2009 1 commit
-
-
Jesse Beder authored
-
- 29 May, 2009 1 commit
-
-
Jesse Beder authored
-
- 22 May, 2009 1 commit
-
-
Jesse Beder authored
-
- 07 Feb, 2009 1 commit
-
-
Jesse Beder authored
In particular: 1. Windows CR/LF weren't read properly (issue #11) 2. Scanning wasn't reading EOF properly 3. Documents may be empty (this was old, I think) Also fixed some VS2008 warnings on /W4.
-
- 01 Feb, 2009 1 commit
-
-
Jesse Beder authored
Switched to reading the entire file into a buffer at the start.\nThis speeds it up a TON (like 100x).
-
- 03 Sep, 2008 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
- 07 Aug, 2008 1 commit
-
-
Jesse Beder authored
Added CMake scripts for other platforms\nFixed some bugs that gcc complained about\nFixed CR/LF vs LF bug
-
- 20 Jul, 2008 1 commit
-
-
Jesse Beder authored
We were getting memory leaks (as told by the CRT detectors, which I also added), and there's really no reason (as long as we're careful) to use pointers there.
-
- 14 Jul, 2008 1 commit
-
-
Jesse Beder authored
-
- 30 Jun, 2008 2 commits
-
-
Jesse Beder authored
-
Jesse Beder authored
-
- 29 Jun, 2008 1 commit
-
-
Jesse Beder authored
Moved the input stream, together with line/column info, into its own class, which allowed some other stuff just to pass the stream, and not have to be a member of Scanner.
-