1. 15 Sep, 2019 1 commit
  2. 10 Sep, 2019 3 commits
  3. 04 Aug, 2019 1 commit
  4. 17 Apr, 2019 1 commit
  5. 24 Mar, 2019 2 commits
  6. 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
  7. 12 Mar, 2019 1 commit
  8. 27 Feb, 2019 1 commit
  9. 13 Feb, 2019 1 commit
  10. 06 Jan, 2019 1 commit
  11. 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
  12. 23 Nov, 2018 1 commit
  13. 19 Nov, 2018 1 commit
    • Joel Frederico's avatar
      Don't stomp on build flags (#635) · 2443da52
      Joel Frederico authored
      Let CMake handle the default optimizations for various configurations. We don't need to override them. In fact, overriding them makes it impossible for users to override them themselves.
      2443da52
  14. 18 Nov, 2018 1 commit
  15. 25 Sep, 2018 1 commit
  16. 23 Sep, 2018 1 commit
  17. 06 Sep, 2018 1 commit
  18. 04 Sep, 2018 1 commit
  19. 03 Sep, 2018 3 commits
    • Stefan Reinhold's avatar
      Skip newlines in binary decoding (Fix #387) (#616) · 45d9035a
      Stefan Reinhold authored
      * Skip newlines in binary decoding
      This fixes #387
      
      * Skip all whitespace characters
      
      This also removes spaces and tabs in addition to newlines.
      45d9035a
    • Antony Polukhin's avatar
    • Azamat H. Hackimov's avatar
      Improvements to CMake buildsystem · 5e79f5ee
      Azamat H. Hackimov authored
      Roll-forward of c90c08cc "Revert "Improvements to CMake buildsystem (#563)""
      
      NEW:
      
      * Replace CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR
      
      Fixes #612 when yaml-cpp is used as a git submodule.
      
      ORIGINAL:
      
      * Move enable_testing() into proper place
      
      * Added CMake's checks for C++11 standards
      
      Raised minimal version of CMake to 3.1, since on old systems there no
      decent compilers that supports c++11.
      
      Closes #377.
      
      * Externalize googletest project
      
      Externalize gtest to avoid installation, fixes #539.
      
      * Remove defined cmake_policies
      
      CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed
      CMP0015 - does not affect to build process
      CMP0042 - already NEW for >=cmake-3.1
      
      Fixes #505
      
      * Fix compiling in Windows MSVC
      5e79f5ee
  20. 09 Aug, 2018 2 commits
    • Jesse Beder's avatar
      Revert "Improvements to CMake buildsystem (#563)" · c90c08cc
      Jesse Beder authored
      This reverts commit 3e33bb31.
      
      The original commit broke the build (#612) when yaml-cpp is used as a git submodule.
      c90c08cc
    • Azamat H. Hackimov's avatar
      Improvements to CMake buildsystem (#563) · 3e33bb31
      Azamat H. Hackimov authored
      * Move enable_testing() into proper place
      
      * Added CMake's checks for C++11 standards
      
      Raised minimal version of CMake to 3.1, since on old systems there no
      decent compilers that supports c++11.
      
      Closes #377.
      
      * Externalize googletest project
      
      Externalize gtest to avoid installation, fixes #539.
      
      * Remove defined cmake_policies
      
      CMP0012 - OLD marked as deprecated for >=cmake-3.1 and will be removed
      CMP0015 - does not affect to build process
      CMP0042 - already NEW for >=cmake-3.1
      
      Fixes #505
      
      * Fix compiling in Windows MSVC
      3e33bb31
  21. 03 Jul, 2018 1 commit
  22. 30 Jun, 2018 1 commit
  23. 14 May, 2018 1 commit
  24. 05 May, 2018 1 commit
  25. 11 Apr, 2018 1 commit
  26. 24 Mar, 2018 1 commit
  27. 06 Mar, 2018 1 commit
    • Jesse Beder's avatar
      Bump CMake version to 0.6.2. · 562aefc1
      Jesse Beder authored
      It was incorrectly left at 0.6.0 when 0.6.1 was released, so this needs to be done to make it consistent between the tagged version and the CMake version.
      562aefc1
  28. 02 Feb, 2018 1 commit
  29. 28 Jan, 2018 4 commits
  30. 29 Nov, 2017 1 commit
  31. 14 Nov, 2017 1 commit
    • Matthew Woehlke's avatar
      Separate tests and tools · 75280437
      Matthew Woehlke authored
      Don't build tests if the confusingly named YAML_CPP_BUILD_TOOLS is ON.
      Instead, add a new option that controls only if the tests are built.
      (Also, default tests to OFF.)
      75280437