1. 15 Feb, 2020 1 commit
  2. 14 Feb, 2020 1 commit
  3. 07 Feb, 2020 1 commit
  4. 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
  5. 21 Jan, 2020 1 commit
  6. 20 Jan, 2020 1 commit
  7. 29 Nov, 2019 1 commit
  8. 23 Nov, 2019 1 commit
  9. 04 Nov, 2019 1 commit
  10. 31 Oct, 2019 1 commit
  11. 23 Oct, 2019 1 commit
    • Romain Geissler @ Amadeus's avatar
      Fix -Wmisleading-indentation warning when using gcc >= 6. (#779) · 14c87258
      Romain Geissler @ Amadeus authored
      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);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      14c87258
  12. 16 Oct, 2019 1 commit
  13. 13 Oct, 2019 1 commit
  14. 11 Oct, 2019 1 commit
  15. 05 Oct, 2019 1 commit
  16. 04 Oct, 2019 1 commit
  17. 02 Oct, 2019 6 commits
  18. 27 Sep, 2019 4 commits
    • Andy Maloney's avatar
    • Isabella Muerte's avatar
      Fix `DEBUG_POSTFIX` property (#746) · 9d7e556e
      Isabella Muerte authored
      The generator expressions here are actually unnecessary, now that I think about it.
      
      This should fix #745
      9d7e556e
    • Ezekiel Warren's avatar
      Add bazel Support (#724) · 62ff3514
      Ezekiel Warren authored
      Example of how someone might consume yaml-cpp with bazel:
      
      cc_binary(
          name = "example",
          srcs = ["example.cc"],
          deps = ["@com_github_jbeder_yaml_cpp//:yaml-cpp"],
      )
      62ff3514
    • Isabella Muerte's avatar
      Refactor CMake to use more modern paradigms (#741) · 5e9cb012
      Isabella Muerte authored
      Remove 2.6-isms
      Remove 2.8-isms
      Bump CMake minimum version to 3.4
      
      Disable some options when used as a subdirectory
      
      Use `CONFIGURE_DEPENDS` with `file(GLOB)` when possible
      
      Backport CMake 3.15's MSVC_RUNTIME_LIBRARY setting.
      Set all compile options as generator expressions.
      Set all find-package files to be installed to the correct file.
      
      Remove `export(PACKAGE)`, as this has been deprecated.
      Remove fat binary support
      Remove manual setting of iPhone settings. These should be set by parent
      projects.
      Remove use of ExternalProject for a local use
      Conditionally remove format target unless clang-format is found
      5e9cb012
  19. 25 Sep, 2019 1 commit
  20. 15 Sep, 2019 3 commits
  21. 10 Sep, 2019 3 commits
  22. 04 Aug, 2019 1 commit
  23. 17 Apr, 2019 1 commit
  24. 24 Mar, 2019 2 commits
  25. 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
  26. 12 Mar, 2019 1 commit