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