1. 08 Apr, 2020 2 commits
  2. 07 Apr, 2020 2 commits
  3. 29 Mar, 2020 2 commits
  4. 11 Mar, 2020 1 commit
  5. 01 Mar, 2020 1 commit
  6. 15 Feb, 2020 1 commit
  7. 14 Feb, 2020 1 commit
  8. 07 Feb, 2020 1 commit
  9. 04 Feb, 2020 2 commits
    • Make SettingChange and StreamCharSourcemove constructors and assignment operators noexcept (#808) · 9ab22ef4
      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 committed
    • Move the YAML_CPP_NOEXCEPT macro to include/yaml-cpp/noexcept.h (#813) · 1928bca4
      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.
      Ted Lyngmo committed
  10. 21 Jan, 2020 1 commit
  11. 20 Jan, 2020 1 commit
  12. 29 Nov, 2019 1 commit
  13. 23 Nov, 2019 1 commit
  14. 04 Nov, 2019 1 commit
  15. 31 Oct, 2019 1 commit
  16. 23 Oct, 2019 1 commit
    • Fix -Wmisleading-indentation warning when using gcc >= 6. (#779) · 14c87258
      This happens whenever in a macro you use some "if" block, and don't use curly braces {},
      as the macro is expanded on a single line, not on several lines. So just add the missing
      curly braces to please gcc.
      
      In file included from /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/yaml.h:18,
                       from src/TestYaml.cpp:2:
      /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/node/convert.h: In static member function static bool YAML::convert<int>::decode(const YAML::Node&, int&):
      /remote/users/mlamesch/CloneFromPlatinum/yamlcpp/osp/Yamlcpp/18-0-0-5/include/yaml-cpp/node/convert.h:139:1: error: this if clause does not guard... [-Werror=misleading-indentation]
       YAML_DEFINE_CONVERT_STREAMABLE_SIGNED(int);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Romain Geissler @ Amadeus committed
  17. 16 Oct, 2019 1 commit
  18. 13 Oct, 2019 1 commit
  19. 11 Oct, 2019 1 commit
  20. 05 Oct, 2019 1 commit
  21. 04 Oct, 2019 1 commit
  22. 02 Oct, 2019 6 commits
  23. 27 Sep, 2019 4 commits
  24. 25 Sep, 2019 1 commit
  25. 15 Sep, 2019 3 commits
  26. 10 Sep, 2019 1 commit
    • CMake: Prefix options with "YAML" and hide platform-specific options (#734) · 6cdf3636
      * CMake: Prefix options with "YAML" and hide platform-specific options
      
      When including yaml-cpp as a subproject, some option names can conflict with other projects.
      
      (1) Make sure the yaml-cpp options are prefixed with YAML
      (2) Hide platform-specific options when possible to avoid cluttering the cmake option list
      
      * Update docs for change from BUILD_SHARED_LIBS to YAML_BUILD_SHARED_LIBS
      Andy Maloney committed