Skip to content
Snippets Groups Projects
  1. Mar 12, 2019
  2. Feb 27, 2019
  3. Feb 13, 2019
  4. Jan 06, 2019
  5. Dec 21, 2018
    • 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
  6. Nov 23, 2018
  7. Nov 19, 2018
    • 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
  8. Nov 18, 2018
  9. Sep 25, 2018
  10. Sep 23, 2018
  11. Sep 06, 2018
  12. Sep 04, 2018
  13. Sep 03, 2018
    • 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
  14. Aug 09, 2018
    • 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
  15. Jul 03, 2018
  16. Jun 30, 2018
  17. May 14, 2018
  18. May 05, 2018
  19. Apr 11, 2018
  20. Mar 24, 2018
  21. Mar 06, 2018
  22. Feb 02, 2018
  23. Jan 28, 2018
  24. Nov 29, 2017
  25. Nov 14, 2017
  26. Nov 10, 2017
    • Matthew Woehlke's avatar
      Fix NullEventHandler overloads · 5a519a4c
      Matthew Woehlke authored
      Fix some virtual methods of NullEventHandler that were apparently
      intended to overload base class methods, but did not. Add override
      keyword to prevent these getting out of sync again.
      5a519a4c
    • Matthew Woehlke's avatar
      Add explicit virtual dtor · 58687ee7
      Matthew Woehlke authored
      Add explicit virtual dtor to GraphBuilderInterface. This avoids tripping
      a -Wnon-virtual-dtor warning, and also ensures that the correct
      (virtual) dtor is called if an instance is deleted via a pointer to the
      base type.
      58687ee7
    • Matthew Woehlke's avatar
      Avoid absolute install destinations · dc9c750e
      Matthew Woehlke authored
      Remove use of CMAKE_INSTALL_PREFIX when specifying install destinations.
      It is preferred that install destinations are specified as relative
      paths, not absolute paths. This is also needed to create relocatable
      installs, and thus should fix #526.
      dc9c750e
    • Matthew Woehlke's avatar
      Fix Windows library install location · d96826f1
      Matthew Woehlke authored
      Don't install LIBRARIES on Windows to `bin`; they belong in `lib`. (This
      appears to have been done in a mistaken attempt to install the DLL's to
      `bin`, which do need to be there, but RUNTIME DESTINATION already takes
      care of this.)
      d96826f1
  27. Nov 08, 2017
  28. Aug 25, 2017
  29. Jul 25, 2017
Loading