1. 19 Feb, 2004 9 commits
    • Jeremy Hylton's avatar
      This file is no longer used. · 184d60a2
      Jeremy Hylton authored
      184d60a2
    • Jeremy Hylton's avatar
      Backport the last of Fred's changes. · 4014894c
      Jeremy Hylton authored
      Include ZODB.serialize tests.
      4014894c
    • Jeremy Hylton's avatar
      Use MappingStorage instead of DemoStorage. · 0b13fdef
      Jeremy Hylton authored
      DemoStorage is too frail to bother using.
      0b13fdef
    • Jeremy Hylton's avatar
      Remove debugging print. · 26ece502
      Jeremy Hylton authored
      Blast!  Why didn't doctest complain about this?
      26ece502
    • Jeremy Hylton's avatar
      Backport Fred's recent changes from the branch. · 93b3fc93
      Jeremy Hylton authored
      - fold in not-actually-shared pickle support code into cPersistence.c,
        removing pickle.c
      - remove __getnewargs__(), since we want to allow ghost creation to
        avoid the extra database lookup when possible
      - persistent objects no longer get a default __getnewargs__()
      93b3fc93
    • Jeremy Hylton's avatar
      Backport Fred's recent changes from the branch. · 22b5bbce
      Jeremy Hylton authored
      - inline getClassMetadata() into serialize()
      - get __getnewargs__() from the object instance, not the class, since
        the PersistentClassMetaClass does things strangely
      22b5bbce
    • Jeremy Hylton's avatar
      Temporarily remove coptimizations. · b9c89264
      Jeremy Hylton authored
      b9c89264
    • 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 4 commits