- 15 Nov, 2002 1 commit
-
-
Barry Warsaw authored
sense for Berkeley storages.
-
- 14 Nov, 2002 4 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
Update information about the version of Python required -- Python 2.2.2 fixed a bug that seriously affected some Zope installations that used 2.2.1.
-
Fred Drake authored
Update information about the version of Python required -- the trunk is now in the new world (by Papal edict; don't shoot the messenger!).
-
Barry Warsaw authored
for an object revision in objrevs got collected away when the entire object was refcounted to zero. Be more defensive about find and deleting these records. Also, truncate the packtime table before writing the new record, to maintain the database invariant that there is only allowed one entry in this table at a time.
-
- 13 Nov, 2002 8 commits
-
-
Barry Warsaw authored
-
Martijn Pieters authored
*first* entry (and not the last one as assumed before). - Adjust test to create a big file that will have a Pdata entry of smaller size - Fix pdata_map lookups with first-entry-size in mind.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Remove unnecessary Py_FatalError() calls on failed module import.
-
Martijn Pieters authored
-
Toby Dickenson authored
Merged remaining changes from toby-clean-shutdown-branch. This resolves the overnight problem where storages were not closed if Zope is shut down using the ZMI, and the long-standing problem where storages were closed too soon when shut down using a signal
-
Andreas Jung authored
the Zope profiling support
-
- 12 Nov, 2002 10 commits
-
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
#include <string.h> is implied by ExtensionClass.h, because it includes Python.h. Also, it is an error to include standard headers before Python.h.
-
Jeremy Hylton authored
#include <stdio.h> is implied by ExtensionClass.h, because it includes Python.h. Also, it is an error to include standard headers before Python.h. Bugfix candidate.
-
Barry Warsaw authored
-
Toby Dickenson authored
dont close the storages mid-transaction. need to check whether we need to close them at the end of z2.py
-
Barry Warsaw authored
New `catdel' command which deletes the entire catalog in one transaction. Add a new global VERBOSE flag instead of passing around the printstat argument everywhere. This also lets us use getopt for proper option parsing, and add a -v/--verbose flag for setting that global. Added a usage() function.
-
Martijn Pieters authored
two values are tainted failed because no implicit conversion to a list took place.
-
- 11 Nov, 2002 8 commits
-
-
Barry Warsaw authored
between objects which are unreachable from the root -- and thus might be collected by autopack -- and cycles which are unreachable from the root -- which can only be collected by a full pack.
-
Barry Warsaw authored
cycle deletion tests.
-
Barry Warsaw authored
collect cycles. Also, some code updating and re-org to factor code into the base class. _dostore(): Support conflict resolution.
-
Barry Warsaw authored
__init__(), _withtxn(): Removed. _decrefPickle(): Fixed a typo.
-
Barry Warsaw authored
BerkeleyConfig: Clarify in the docstring the semantics of the various autopack variables, w.r.t. the differences between Full and Minimal autopacking (the latter always does a gc pack because there's nothing else it /could/ do :). __init__(): We can create the packlock here, allowing us to get rid of the __init__'s in the derived classes. _withtxn(): Turns out to be useful for both storages.
-
Martijn Pieters authored
-
Guido van Rossum authored
-
Guido van Rossum authored
ThreadedAsync/LoopCallback.py: when select() is interrupted by a signal handler, don't attempt to read all file descriptors.
-
- 09 Nov, 2002 5 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
in the setup.py script.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 08 Nov, 2002 4 commits
-
-
Barry Warsaw authored
cache size, and other useful BerkeleyDB parameters.
-
Barry Warsaw authored
-
Barry Warsaw authored
attributes for controlling autopack behavior.
-
Barry Warsaw authored
three new configuration variables for controlling how autopacking works. Basically, you set an autopack frequency, a "packtime" -- the point in the past you want to pack to -- and a counter for automatically doing a classic pack. Specific changes here include: _setupDBs(): If autopacking is enabled, create the autopacking thread object and get it started. close(): When shutting down the storage, we need to stop and join the autopacking thread, otherwise I think we have a high possibility of corrupting our database (requiring recovery). _dopack(): Add a flag for whether full gc should be done or not. That's about the only difference between classic pack and autopack (the latter does not do gc). autopack(): The method that the autopacking thread calls to start an autopack. It takes a pack time with the same semantics as pack(), but it also takes a flag specifying whether to do garbage collection of unreachable objects or not. _Autopack: A derived class of threading.Thread to handing the background autopacking.
-