1. 26 Oct, 2002 2 commits
  2. 24 Oct, 2002 1 commit
  3. 23 Oct, 2002 1 commit
  4. 22 Oct, 2002 3 commits
    • Chris McDonough's avatar
    • Shane Hathaway's avatar
      Added Zope.App package to setup.py · bebbe837
      Shane Hathaway authored
      bebbe837
    • Shane Hathaway's avatar
      Merged shane-fix-startup-branch to HEAD. Summary: · bd241196
      Shane Hathaway authored
      Delayed Zope startup based on changes from Zope-2_7-development-branch
      (with corrections), with the intent of merging this into the 2_6
      branch and the head.
      
      Until now, "import Zope" always opened the database automatically.
      Unfortunately, that strategy caused the Python import lock to be held
      by the main thread during database initialization, which led to a
      deadlock if other threads required something to be imported before
      completing initialization.  This can be a big problem for ZEO.
      
      The only foreseen risk is that external scripts which "import Zope"
      may depend in some way on the database being opened immediately.  Most
      scripts just use "Zope.app()", which still works well.  If you have a
      script that breaks with these changes, either add a call to the new
      Zope.startup() function or set the ZOPE_COMPATIBLE_STARTUP environment
      variable to a non-empty value.
      bd241196
  5. 19 Oct, 2002 3 commits
  6. 18 Oct, 2002 1 commit
    • Barry Warsaw's avatar
      Extend iterator() to include hint about "backpointers", or in Berkeley · 41ec2d75
      Barry Warsaw authored
      storage speak, lrevid pointers to shared pickle data in earlier
      transactions.
      
      Specifically,
      
      The _Record object now has a data_txn attribute that is either None or
      the id of the transaction that contains the data used by the current
      record.  Example: When transactionalUndo() modifies an object, it
      typical creates a new data record that points at the transaction
      before the undo.  The new record contains the same logical data as the
      record it refers to.  (For consistency purposes, this is a stronger
      claim than that the pickles in two different data records are the
      same.)
      
      _Record.__init__(): Gets data_txn passed in from
      _RecordIterator.__getitem__(), which in turn getes the lrevid from
      Full._loadSerialEx().
      
      _loadSerialEx(): Now returns the backpointer, aka lrevid but only if
      it is not the same as the serial argument.  They will always be the
      same (and we'll always return None) except in the face of
      transactionalUndo, commitVersion, and abortVersion.
      41ec2d75
  7. 17 Oct, 2002 5 commits
  8. 16 Oct, 2002 5 commits
  9. 15 Oct, 2002 4 commits
  10. 14 Oct, 2002 2 commits
    • Shane Hathaway's avatar
      Merge from 2_6 branch. · 42ea9a15
      Shane Hathaway authored
      PageTemplateFiles were previously owned by whatever object contained
      them.  This resulted in very hard bugs if the user who owned the
      container was removed.  Since PageTemplateFiles come from the
      filesystem, they are now "unowned", similar to DTMLFiles.  Security is
      still applied, but now it is applied correctly.
      42ea9a15
    • Brian Lloyd's avatar
      Backport fix for bad type converter. · 36a4864b
      Brian Lloyd authored
      36a4864b
  11. 12 Oct, 2002 1 commit
    • Martijn Pieters's avatar
      Add missing import. · 1025149c
      Martijn Pieters authored
      Ahem, *cough*: "Please run the test suite before checking in a change! At
      the very least run the tests for the package you changed."
      1025149c
  12. 11 Oct, 2002 3 commits
  13. 10 Oct, 2002 6 commits
  14. 09 Oct, 2002 3 commits