1. 19 Feb, 2004 3 commits
    • 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 5 commits
  12. 14 Jan, 2004 5 commits
    • Jeremy Hylton's avatar
      Fix extraction of monitor address. · 31fa209f
      Jeremy Hylton authored
      I don't really understand why this change and the last one to
      runzeo.py have their apparent effects, but the tests work and the -m
      option to runzeo.py works.
      31fa209f
    • Jeremy Hylton's avatar
      Remove C++-style comment. · 44ce3aae
      Jeremy Hylton authored
      Noted by Jon Dyte.
      44ce3aae
    • Jeremy Hylton's avatar
      Fix to make -m/--monitor option work. · c4ac2ac5
      Jeremy Hylton authored
      Bug fix from Jon Dyte.
      c4ac2ac5
    • Jeremy Hylton's avatar
      But we do. · 1984676f
      Jeremy Hylton authored
      The comment long ago fell out of synch with the code.
      1984676f
    • Jeremy Hylton's avatar
      Revise interface between ExportImport and Connection. · d9c7eca5
      Jeremy Hylton authored
      The Connection class inherits from the ExportImport mixin, but they
      had an arm's length interaction.  Restructure the code to provide
      direct interaction via the _import attribute.
      
      Remove the more general onCommitCallback() method.  It was only used
      by ExportImport.
      
      A lot of cosmetic changes to ExportImport:
          - don't make local variables out of attribute lookups
          - avoid local variable names that shadow builtins
          - prefer isinstance() to type comparisons
          - prefer absolute imports to relative imports
      d9c7eca5