"vscode:/vscode.git/clone" did not exist on "89768de77d34337b55faf7be728e80bb5fa341e0"
  1. 12 Mar, 2019 1 commit
  2. 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
  3. 03 Sep, 2018 2 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
    • 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
  4. 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
  5. 14 May, 2018 1 commit
  6. 05 May, 2018 1 commit
  7. 28 Jan, 2018 1 commit
  8. 14 Nov, 2017 1 commit
  9. 25 Aug, 2017 1 commit
  10. 24 Jul, 2017 1 commit
  11. 02 Jan, 2017 1 commit
    • butataatawa's avatar
      Fix sequence sometimes not turning into a map (#450) · f8286100
      butataatawa authored
      Previously, just referencing the next element in the sequence (and so constructing it, as an undefined element) would allow you to skip defining an element without turning the sequence into a map. E.g:
      
      node[0] = "foo"; // sequence of size 1
      node[1]; // sequence of size 1, with an undefined element at 1
      node[2] = "bar"; // FIX: should be map of size 2 (since there's no element at index 1)
      f8286100
  12. 06 Dec, 2016 1 commit
  13. 02 Dec, 2016 1 commit
  14. 12 Oct, 2016 2 commits
  15. 18 Jul, 2016 1 commit
    • c0nk's avatar
      Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>> (#386) · f0b15cd6
      c0nk authored
      * Change node_map type from map<ptr,ptr> to vector<pair<ptr,ptr>>
      
      Map nodes are now iterated over in document order.
      
      * Change insert_map_pair to always append
      
      Always append in insert_map_pair even if the key is already present.
      This breaks the behavior of force_insert which now always inserts KVs
      even if the key is already present. The first insert for duplicated keys
      now takes precedence for lookups.
      f0b15cd6
  16. 13 Jun, 2016 1 commit
  17. 12 May, 2016 1 commit
  18. 02 Apr, 2016 2 commits
  19. 26 Mar, 2016 2 commits
  20. 31 Jan, 2016 1 commit
  21. 11 Jan, 2016 1 commit
    • Matt Blair's avatar
      Replace Boost usage with C++11 features · 24fa1b33
      Matt Blair authored
       - Adds 'std=c++11' compiler flags
       - Replaces boost::type_traits with std::type_traits
       - Replaces boost::shared_ptr with std::shared_ptr
       - Replaces std::auto_ptr with std::unique_ptr
       - Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges
       - Replaces boost::noncopyable with deleted copy and assignment operators
       - Replaces boost::next with std::next
       - Replaces boost::enable_if with std::enable_if
       - Replaces boost::is_convertible with std::is_convertible
       - Replaces ptrdiff_t with std::ptrdiff_t
       - Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost
       - Removes Boost dependency from CMakeLists
       - Formats changed files using clang-format
      24fa1b33
  22. 10 Jan, 2016 1 commit
  23. 22 Nov, 2015 1 commit
  24. 08 Jun, 2015 1 commit
    • Jonathan Hamilton's avatar
      Fix some Node::operator[] regressions from 0.5.1 · b426faff
      Jonathan Hamilton authored
      "const Node Node::operator[](const Key& key) const" changed from
      returning new empty node if the key was missing in 0.5.1 to returning
      a shared 'zombie' node in 0.5.2 to resolve a memory leak.
      
      (Specifically 1025f76d was where this
      was introduced)
      
      This caused some regressions where this 'zombie' object threw exceptions
      in some functions where the 'empty' object would not.
      
      This change fixes the Node::as(fallback) method (to return the
      'fallback' instead of throwing an exception) and the
      Node::begin()/Node::end() methods to return default-constructed
      iterators (so begin() == end() in such cases) instead of another
      exception.
      b426faff
  25. 08 Apr, 2015 1 commit
  26. 29 Mar, 2015 1 commit
  27. 21 Feb, 2015 2 commits
  28. 24 Jan, 2015 7 commits