1. 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
  2. 13 Jun, 2016 1 commit
  3. 12 May, 2016 1 commit
  4. 02 Apr, 2016 2 commits
  5. 26 Mar, 2016 2 commits
  6. 31 Jan, 2016 1 commit
  7. 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
  8. 10 Jan, 2016 1 commit
  9. 22 Nov, 2015 1 commit
  10. 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
  11. 08 Apr, 2015 1 commit
  12. 29 Mar, 2015 1 commit
  13. 21 Feb, 2015 2 commits
  14. 24 Jan, 2015 7 commits
  15. 16 Aug, 2014 1 commit
  16. 26 Mar, 2014 1 commit
  17. 25 Mar, 2014 4 commits
  18. 24 Mar, 2014 7 commits
  19. 23 Mar, 2014 4 commits