1. 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
  2. 17 Oct, 2002 5 commits
  3. 16 Oct, 2002 5 commits
  4. 15 Oct, 2002 4 commits
  5. 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
  6. 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
  7. 11 Oct, 2002 3 commits
  8. 10 Oct, 2002 6 commits
  9. 09 Oct, 2002 6 commits
  10. 08 Oct, 2002 4 commits
  11. 07 Oct, 2002 1 commit
  12. 06 Oct, 2002 2 commits