1. 18 Oct, 2008 3 commits
    • Jim Fulton's avatar
      Renamed the length argument to history to be consistent with the · 43223f1e
      Jim Fulton authored
      history interface.
      43223f1e
    • Jim Fulton's avatar
      Added support for copying and recovery of blob storages: · cc986bde
      Jim Fulton authored
      - Added a helper function, ZODB.blob.is_blob_record for testing whether
        a data record is for a blob.  This can be used when iterating over a
        storage to detect blob records so that blob data can be copied.
      
      In the future, we may want to build this into a blob-aware
        iteration interface, so that records get blob file attributes
        automatically.
      
      - Added the IBlobStorageRestoreable interfaces for blob storages
        that support recovery via a restoreBlob method.
      
      - Updated ZODB.blob.BlobStorage to implement
        IBlobStorageRestoreable and to have a copyTransactionsFrom method
        that also copies blob data.
      
      Also removed the version argument from the history method.
      cc986bde
    • Jim Fulton's avatar
      Fixed a problem in temp file cleanup. · a9445a7d
      Jim Fulton authored
      a9445a7d
  2. 17 Oct, 2008 6 commits
  3. 13 Oct, 2008 1 commit
  4. 12 Oct, 2008 2 commits
  5. 11 Oct, 2008 1 commit
  6. 10 Oct, 2008 2 commits
  7. 27 Sep, 2008 1 commit
    • Jim Fulton's avatar
      We recently added estimated_size. We originally added it as a new · 7f5dda11
      Jim Fulton authored
      unsigned long field after a signed char state field and a 3-character
      reserved field.  This didn't work because there are packages in the
      wild that have their own copies of cPersistence.h that didn't see the
      update.
      
      To get around this, we used the reserved space by making
      estimated_size a 24-bit bit field in the space occupied by the old
      3-character reserved field.  To fit in 24 bits, we made the units of
      estimated_size 64-character blocks.  This allows is to handle up to a
      GB.  We should never see that, but to be paranoid, we also truncate
      sizes greater than 1GB.  We also set the minimum size to 64 bytes.
      7f5dda11
  8. 26 Sep, 2008 1 commit
  9. 24 Sep, 2008 2 commits
  10. 23 Sep, 2008 5 commits
  11. 22 Sep, 2008 2 commits
  12. 18 Sep, 2008 5 commits
  13. 17 Sep, 2008 2 commits
  14. 11 Sep, 2008 1 commit
  15. 10 Sep, 2008 1 commit
  16. 06 Sep, 2008 1 commit
  17. 05 Sep, 2008 4 commits