1. 10 Oct, 2021 1 commit
  2. 28 Sep, 2021 1 commit
  3. 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
  4. 23 Jul, 2021 1 commit
  5. 05 Jul, 2021 1 commit
  6. 27 Jul, 2020 1 commit
  7. 24 Jul, 2020 1 commit
  8. 23 Jul, 2020 1 commit
  9. 16 Jul, 2020 2 commits
  10. 14 Jul, 2020 1 commit
  11. 06 Jul, 2020 1 commit
  12. 02 Jul, 2020 2 commits
  13. 29 Jun, 2020 2 commits
  14. 17 Jun, 2020 2 commits
  15. 16 Jun, 2020 1 commit
  16. 15 Jun, 2020 10 commits
  17. 25 May, 2020 1 commit
    • Josh Soref's avatar
      Spelling (#870) · 6701275f
      Josh Soref authored
      * spelling: differently
      
      * spelling: irrelevant
      
      * spelling: specified
      6701275f
  18. 23 May, 2020 1 commit
  19. 07 May, 2020 1 commit
  20. 29 Apr, 2020 1 commit
  21. 09 Apr, 2020 1 commit
  22. 07 Apr, 2020 2 commits
  23. 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
  24. 21 Jan, 2020 1 commit
  25. 23 Nov, 2019 1 commit