1. 19 Feb, 2004 9 commits
    • Jeremy Hylton's avatar
      This file is no longer used. · 433c71b8
      Jeremy Hylton authored
      433c71b8
    • Jeremy Hylton's avatar
      Backport the last of Fred's changes. · e5b86ee2
      Jeremy Hylton authored
      Include ZODB.serialize tests.
      e5b86ee2
    • Jeremy Hylton's avatar
      Use MappingStorage instead of DemoStorage. · 5cca3dc6
      Jeremy Hylton authored
      DemoStorage is too frail to bother using.
      5cca3dc6
    • Jeremy Hylton's avatar
      Remove debugging print. · 684048fe
      Jeremy Hylton authored
      Blast!  Why didn't doctest complain about this?
      684048fe
    • Jeremy Hylton's avatar
      Backport Fred's recent changes from the branch. · e5526ce9
      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__()
      e5526ce9
    • Jeremy Hylton's avatar
      Backport Fred's recent changes from the branch. · aeb505a6
      Jeremy Hylton authored
      - inline getClassMetadata() into serialize()
      - get __getnewargs__() from the object instance, not the class, since
        the PersistentClassMetaClass does things strangely
      aeb505a6
    • Jeremy Hylton's avatar
      Temporarily remove coptimizations. · e3f0e5d3
      Jeremy Hylton authored
      e3f0e5d3
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · d5953a9e
      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.
      d5953a9e
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · d5327c25
      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.
      d5327c25
  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