1. 19 Feb, 2004 3 commits
    • Jeremy Hylton's avatar
      Temporarily remove coptimizations. · dc90d299
      Jeremy Hylton authored
      dc90d299
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · 73f83415
      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.
      73f83415
    • Jeremy Hylton's avatar
      Merge zope3-zodb3-devel-branch to the Zope head (Zope 2 head). · d16b17e5
      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.
      d16b17e5
  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. · 81b7e092
      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.
      81b7e092
    • Jeremy Hylton's avatar
      Remove C++-style comment. · 972a5e32
      Jeremy Hylton authored
      Noted by Jon Dyte.
      972a5e32
    • Jeremy Hylton's avatar
      Fix to make -m/--monitor option work. · 8b7692e3
      Jeremy Hylton authored
      Bug fix from Jon Dyte.
      8b7692e3
    • Jeremy Hylton's avatar
      But we do. · 14f60401
      Jeremy Hylton authored
      The comment long ago fell out of synch with the code.
      14f60401
    • Jeremy Hylton's avatar
      Revise interface between ExportImport and Connection. · 6c756dbe
      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
      6c756dbe