- 02 Sep, 2005 4 commits
-
-
Tim Peters authored
This adds .pop() methods to BTrees and Buckets. Alas, zpkg changed since the branch was made, and it wasn't (obviously) possible to build the branch anymore, so much of this code didn't actually appear on the branch. The C code was changed to simplify and purge non-ANSI gcc extensions, and the new test cases beefed up a little.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
in 3.8 (it didn't get released in ZODB 3.5; will be released in ZODB 3.6).
-
- 01 Sep, 2005 1 commit
-
-
Tim Peters authored
happened in 3.6a1 (3.5a7 become 3.5 final, because 3.5a7 had been released with Zope 3.2c1).
-
- 31 Aug, 2005 5 commits
-
-
-
Martijn Pieters authored
-
Fred Drake authored
-
Fred Drake authored
ZConfig-using zpkg; this will help keep the build-support stuff out of the top-level directory of the checkout (such is the plan, at least)
-
Fred Drake authored
-
- 30 Aug, 2005 2 commits
-
-
Tim Peters authored
-
Tim Peters authored
This adds .setdefault() methods to BTrees and Buckets.
-
- 29 Aug, 2005 2 commits
-
-
Fred Drake authored
- note the zpkg command line that should be used - remove Persistence from the resource map - remove SETUP.cfg now that it is not needed
-
Fred Drake authored
-
- 26 Aug, 2005 5 commits
-
-
Tim Peters authored
-
Tim Peters authored
update_from_seq(): If PySequence_Check(seq) returns true, go on to check for the existence of "iteritems" when deciding whether the input is or is not "a sequence". Alas, PySequence_Check() does return true for PersistentMapping and PersistentDict instances, so that they couldn't be used as arguments to BTree/Bucket construction or update(). This is nasty type-sniffing, but it was before too. There's no way to make such stuff bulletproof, so I'm settling for incremental improvement.
-
Tim Peters authored
-
Tim Peters authored
``svn move`` does an add and a delete. This is the delete part. The add to Zope trunk happened in rev 38103.
-
Tim Peters authored
-
- 25 Aug, 2005 1 commit
-
-
Tim Peters authored
Comment out the undocumented method definitions in the storage interfaces. It would be better to define & document them, but that takes time, and until time is available better not to pretend that they're all really part of "the" storage API.
-
- 24 Aug, 2005 3 commits
-
-
Tim Peters authored
Gave PersistentMapping an __iter__ method. Also gave it some tests (it was woefully untested).
-
Fred Drake authored
for packaging metadata; zpkg can take care of that for us - restore the copyright year, which made sense - restore the VERSION constant and the comment I should have read
-
Fred Drake authored
(not strictly necessary, but keeps different projects on similar footings)
-
- 23 Aug, 2005 1 commit
-
-
Tim Peters authored
Code and new test to ensure that making a savepoint triggers cache gc.
-
- 13 Aug, 2005 2 commits
-
-
Tim Peters authored
the new addBeforeCommitHook() method of transactions. Minor, unrelated changes in release.py.
-
Tim Peters authored
addBeforeCommitHook() is new, a generalization of the now-deprecated beforeCommitHook() that allows influencing the order in which commit hooks are called.
-
- 12 Aug, 2005 3 commits
-
-
Tim Peters authored
[Martijn Pieters] Include INSTANCE_HOME in the runzeo and zeoctl startup scripts from the get-go; this helps poor schmucks like me who have to make app-level conflict resolution work in Products as well. Including INSTANCE_HOME makes sure ZEO can find the product code in the first place.
-
Fred Drake authored
-
Tim Peters authored
-
- 11 Aug, 2005 4 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Fred Drake authored
-
Fred Drake authored
- References to headers now involve the package names. - The zpkg support files have been moved to the top-level directory, and the releases/ tree has been removed. The resource map and configuration file have been combined now that zpkg allows that. - The scripts are now all located in src/scripts/ in a checkout. - Scripts that were imported in the tests have been split into library and script components; the library portions share name of the script (in order to reduce changes). The library portions may not be used as scripts directly.
-
- 09 Aug, 2005 1 commit
-
-
Tim Peters authored
-
- 08 Aug, 2005 3 commits
-
-
Tim Peters authored
-
Tim Peters authored
More on collector 1847 (ZEO cache tracing). simul.py hit NameErrors when startup cache verification found data in the cache to invalidate. The cache's loadBefore() implementation called _trace() incorrectly, passing the tid where the version argument belonged.
-
Fred Drake authored
-
- 07 Aug, 2005 1 commit
-
-
Tim Peters authored
Part of Collector 1860 (the other part is in Zope). There's no possiblity of rollback here, so no need to insist that the data manager support rollbacks.
-
- 04 Aug, 2005 2 commits
-
-
Tim Peters authored
-
Tim Peters authored
Plug leaks in the ZEO client cache. ClientCache._evicted(): When deleting the last range of non-current tids for an oid, remove the list from the noncurrent dict instead of leaving an empty list sitting there forever. This also required adjusting the side- effect dance in ClientCache._remove_noncurrent_revisions(). FileCache._makeroom(): This was the major leak -- it neglected to remove an evicted object's Entry from the key2entry dict.
-