- 26 Oct, 2008 13 commits
-
-
Jim Fulton authored
that were removed from ZODB.tests.util.
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
as easily use FileStorage. Removed commit. It should be gotten from transaction. Removed some test set-up and tear-down facilities that can now be found in zope.testing.setupstack.
-
Jim Fulton authored
by mapping storage. Removed an invalid test. Multible arguments should be passed to tpc_begin only for recoverable storages.
-
Jim Fulton authored
-
Jim Fulton authored
Added a working newTid that replaces the non-working newTimeStamp. Removed WeakSet, which is moved to the transaction package.
-
Jim Fulton authored
and a changes storage.
-
Jim Fulton authored
Use setupstack, rather than the older and duplicative facilities that were removed from ZODB.tests.util.
-
Jim Fulton authored
don't support recovery and, thus, don't expect tid and status to be passed.
-
Jim Fulton authored
-
- 21 Oct, 2008 3 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
interfaces provided by the served storage on the storage server. The old way this was done was to copy all of the interface declarations from the served storage. This has 2 problems: 1. Not all interfaces copied were actually provided by the client storage. Just because a remote storage provides an interface, doesn't mean the client storage can, especially if the method (or attribute) isn't supported by the ZEO protocol. 2. Older clients could get import errors while trying to import copies interfaces. Now, we only declare from a known set of interfaces defined on the client.
-
- 20 Oct, 2008 1 commit
-
-
Jim Fulton authored
-
- 18 Oct, 2008 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
Also removed the version argument from the FileStorage history method.
-
Jim Fulton authored
history interface.
-
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.
-
Jim Fulton authored
-
- 17 Oct, 2008 6 commits
-
-
Jim Fulton authored
read-only files can't be removed on windows.
-
Jim Fulton authored
in and that the file must not be open.
-
Jim Fulton authored
-
Jim Fulton authored
windows. The test author asures me that leaving the handle open wasn't intentional.
-
Jim Fulton authored
deal with changes in hashability of persistent lists in Python 2.6. (It's still a puzzle why they are hashable in realier versions of Python, but not in Python 2.6.)
-
Jim Fulton authored
that is cleaned up at the start of a test run. Unfortunately, the ZODB tests leave lots of temporary files behind which can cause failures in subsequent test runs and which tend to litter /tmp. Eventually, I want to clean that up, but, in the mean time, I can limit the damage to the test part directory.
-
- 13 Oct, 2008 1 commit
-
-
Christophe Combelles authored
-
- 12 Oct, 2008 2 commits
-
-
Christophe Combelles authored
3.8 branch)
-
Christophe Combelles authored
-
- 11 Oct, 2008 1 commit
-
-
Christophe Combelles authored
-
- 10 Oct, 2008 2 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
- 27 Sep, 2008 1 commit
-
-
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.
-
- 26 Sep, 2008 1 commit
-
-
Benji York authored
-
- 24 Sep, 2008 2 commits
-
-
Andreas Zeidler authored
-
Andreas Zeidler authored
-
- 23 Sep, 2008 1 commit
-
-
Jim Fulton authored
correctly, leaving the client storage in an inconsistent state.
-