1. 19 Feb, 2004 2 commits
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · 3eaea15c
      Jeremy Hylton authored
      Added support for persistent weak references and
      PersistentWeakKeyDictionary.
      
      Add _p_invalidate() method to persistence API.  _p_deactivate() is
      advisory from the cache.  _p_invalidate() is called when database
      invalidates object.
      
      Port support for getattr/setattr hacks from ZODB4.  The doctest tests
      describe the new technique pretty well.
      
      Remove unused arguments from some cPickleCache calls.
      3eaea15c
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · 8356d18e
      Jeremy Hylton authored
      Add support for persistent weak references.  The implementation is in
      pure Python right now; coptimizations.c was disabled.  We need to
      restore the C code before going to beta.
      
      The persistent reference format has evolved a little, but the code on
      the branch doesn't document it.  The ref is usually a an oid-class
      pair, where the class is an actual class object.  It can also be a
      list, for weak references, or a bare oid.
      
      Add support for data managers written against the ZODB4 transaction
      API.  The transaction implementation provides an adapter between the
      two interfaces.  There's a substantial doctest test suite for this
      feature.
      
      Add add() method to Connection to explicitly add an object and get it
      an assigned _p_oid.  It's possible to add an unconnected object; this
      isn't recommended, because it will be lost at pack time.
      8356d18e
  2. 18 Feb, 2004 6 commits
  3. 17 Feb, 2004 3 commits
  4. 14 Feb, 2004 1 commit
  5. 12 Feb, 2004 1 commit
  6. 11 Feb, 2004 11 commits
  7. 06 Feb, 2004 1 commit
  8. 05 Feb, 2004 2 commits
  9. 04 Feb, 2004 1 commit
  10. 19 Jan, 2004 1 commit
  11. 16 Jan, 2004 5 commits
  12. 14 Jan, 2004 6 commits