1. 12 Oct, 2016 1 commit
  2. 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
  3. 13 Jun, 2016 1 commit
  4. 22 Nov, 2015 1 commit
  5. 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
  6. 08 Apr, 2015 1 commit
  7. 29 Mar, 2015 1 commit
  8. 21 Feb, 2015 1 commit
  9. 24 Jan, 2015 2 commits
  10. 16 Aug, 2014 1 commit
  11. 26 Mar, 2014 1 commit
  12. 25 Mar, 2014 1 commit
  13. 24 Mar, 2014 2 commits
    • Jesse Beder's avatar
      Disable warning: · 7a68eaaf
      Jesse Beder authored
      warning C4800: forcing value to bool 'true' or 'false' (performance warning)
      
      for the node test, since it really doesn't make any sense in this context. (It's exactly what we intended with the "unspecified bool type".)
      7a68eaaf
    • Jesse Beder's avatar
      Convert node tests to gtest · ad0a3311
      Jesse Beder authored
      ad0a3311
  14. 23 Mar, 2014 1 commit