1. 15 Dec, 2021 1 commit
    • TheVice's avatar
      Fix shared library tests for Windows (#1074) · d8d94190
      TheVice authored
      Add copying of shared library to the output directory with a test binary.
      
      [binary] removed using of non unsigned char as argument at
      'std::isspace' function that was provokes undefined behavior.
      
      [.github/workflows/build.yml] enabled run of test at the
      'windows-latest' environment.
      d8d94190
  2. 20 Oct, 2021 1 commit
  3. 10 Oct, 2021 1 commit
  4. 28 Sep, 2021 1 commit
  5. 25 Sep, 2021 1 commit
    • Pino Toscano's avatar
      Hide most of non-public symbols by default (#984) · da1c8d36
      Pino Toscano authored
      * Export YAML::detail::node::m_amount
      
      The internal header node/detail/node.h is included by public headers;
      YAML::detail::node is implemented in the header itself, and thus it gets
      inlined... except for its static m_amount class member, which is
      instantiated in the library only. Right now all the symbols of yaml-cpp
      are exported (nothing is hidden), so the linker will find node::m_amount
      in the yaml-cpp library.
      
      As solution/workaround, explicitly export YAML::detail::node::m_amount.
      
      * CMake: use GenerateExportHeader
      
      Make use of the GenerateExportHeader CMake module to generate the dll.h
      header with export macros.
      
      While the produced dll.h is different, the result should be the same,
      i.e. nothing changes for yaml-cpp or its users.
      
      * CMake: hide all the symbols by default
      
      Hide all the symbols that are not explicitly exported with YAML_CPP_API.
      This way the ABI will be way smaller, and only actually exposing the
      public classes/functions.
      da1c8d36
  6. 23 Jul, 2021 1 commit
  7. 05 Jul, 2021 1 commit
  8. 27 Jul, 2020 1 commit
  9. 24 Jul, 2020 1 commit
  10. 23 Jul, 2020 1 commit
  11. 16 Jul, 2020 2 commits
  12. 14 Jul, 2020 1 commit
  13. 06 Jul, 2020 1 commit
  14. 02 Jul, 2020 2 commits
  15. 29 Jun, 2020 2 commits
  16. 17 Jun, 2020 2 commits
  17. 16 Jun, 2020 1 commit
  18. 15 Jun, 2020 10 commits
  19. 25 May, 2020 1 commit
    • Josh Soref's avatar
      Spelling (#870) · 6701275f
      Josh Soref authored
      * spelling: differently
      
      * spelling: irrelevant
      
      * spelling: specified
      6701275f
  20. 23 May, 2020 1 commit
  21. 07 May, 2020 1 commit
  22. 29 Apr, 2020 1 commit
  23. 09 Apr, 2020 1 commit
  24. 07 Apr, 2020 2 commits
  25. 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