1. 15 Jun, 2020 10 commits
  2. 25 May, 2020 1 commit
    • Josh Soref's avatar
      Spelling (#870) · 6701275f
      Josh Soref authored
      * spelling: differently
      
      * spelling: irrelevant
      
      * spelling: specified
      6701275f
  3. 23 May, 2020 1 commit
  4. 07 May, 2020 1 commit
  5. 29 Apr, 2020 1 commit
  6. 09 Apr, 2020 1 commit
  7. 07 Apr, 2020 2 commits
  8. 04 Feb, 2020 2 commits
    • Ted Lyngmo's avatar
      Make SettingChange and StreamCharSourcemove constructors and assignment operators noexcept (#808) · 9ab22ef4
      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: default avatarTed Lyngmo <ted@lyncon.se>
      9ab22ef4
    • Ted Lyngmo's avatar
      Move the YAML_CPP_NOEXCEPT macro to include/yaml-cpp/noexcept.h (#813) · 1928bca4
      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.
      1928bca4
  9. 21 Jan, 2020 1 commit
  10. 23 Nov, 2019 1 commit
  11. 05 Oct, 2019 1 commit
  12. 02 Oct, 2019 4 commits
  13. 17 Apr, 2019 1 commit
  14. 24 Mar, 2019 1 commit
  15. 13 Mar, 2019 1 commit
    • Ted Lyngmo's avatar
      Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) · 0d5c5715
      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".
      0d5c5715
  16. 12 Mar, 2019 1 commit
  17. 21 Dec, 2018 1 commit
    • Simon Gene Gottlieb's avatar
      Fix float precision (#649) · abf941b2
      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.
      abf941b2
  18. 23 Nov, 2018 1 commit
  19. 25 Sep, 2018 1 commit
  20. 23 Sep, 2018 1 commit
  21. 04 Sep, 2018 1 commit
  22. 03 Sep, 2018 2 commits
  23. 03 Jul, 2018 1 commit
  24. 30 Jun, 2018 1 commit
  25. 14 May, 2018 1 commit