- 23 Aug, 2002 8 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
doing a critical operation in C. When fiddling the reference counting we often need to 1. unpack a 64bit string into a long 2. add a delta value to the long 3. pack the long into a 64bit string _helper.incr() does these three steps in C. This extension only works for Python 2.2, but Full.py has a Python replacement for use with Python 2.1.
-
Barry Warsaw authored
-
Barry Warsaw authored
write_object(): uses the `x' opcode, which is very similar to `o' except that the metadata is written optimistically during store() so it shouldn't be written during _finish().
-
Barry Warsaw authored
- Added BerkeleyConfig class for easier configuration of checkpointing policy and lock sizing. - Added _lockstats() and _docheckpoint() helpermethods.
-
Chris McDonough authored
-
- 22 Aug, 2002 4 commits
-
-
Sidnei da Silva authored
Checking why the tests are failing, i discovered a typo on the test. But unfortunately the tests are still failing. :(
-
Barry Warsaw authored
returnf() function will definitely get called. Otherwise, if we get an exception during the test, we'll deadlock because it's returnf() that releases the various test locks. loadinc(): Pass the file pointer in as well as the mbox so that the status printing will actually work. I'm not passing the file in /instead/ of the mbox, but I wasn't completely sure of the original intent of the code.
-
Fred Drake authored
Disabled tests that's probably broken during investigation.
-
Shane Hathaway authored
If self->meth is something other than a PyFunction, for example an ExtensionClass Method object, the blind cast breaks. The new code uses the string "(?)" if self->meth is not a function.
-
- 21 Aug, 2002 9 commits
-
-
Martijn Pieters authored
byte ranges because Acrobat Reader for Windows chokes when overlapping ranges have been merged.
-
Shane Hathaway authored
bug. Before the fix, ZopeSecurityPolicy saw the aq_base global and thought the module object was wrapped, leading to unexpected behavior.
-
Shane Hathaway authored
-
Shane Hathaway authored
in the error value. It may provide extra info.
-
Shane Hathaway authored
are not normally attributes of any object but acquisition wrappers, except in one important case: if container is a module and that module happens to import aq_base or aq_acquire from Acquisition, ZopeSecurityPolicy.validate() does unintended things. This made ModuleSecurityInfo declarations fail when using the Python policy. Now we no longer look at aq_base attributes, but rather the acquisition API, which is what cAccessControl does.
-
Chris McDonough authored
-
Shane Hathaway authored
- Show the most recent log entry first.
-
Chris McDonough authored
-
Chris McDonough authored
and lack of coverage in the code.
-
- 20 Aug, 2002 5 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
- Documented FORCE_PRODUCT_LOAD - Changed FORCE_PRODUCT_LOAD so that if it is set, it determines whether products are installed regardless of whether ZEO_CACHE is set. This means that you can disable product installation by setting FORCE_PRODUCT_LOAD to an empty string even if you are not using a ZEO persistent cache. - Fixed the help system and Zope Tutorial product to honor FORCE_PRODUCT_LOAD.
-
Jim Fulton authored
testrunner output.
-
Chris McDonough authored
-
Chris McDonough authored
-
- 19 Aug, 2002 5 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
-
Chris McDonough authored
When a set of knobs is set on the browser_id_manager "settings" screen, ("look for browser id name in..." and 'automatically encode browser ids..."), a traversal hook is installed in the browser id manager's container which causes a) the request to be searched for a browser id name and a browser id as the first two elements of the URL path and b) for Zope-generated URLs to contain these path elements. Various documentation and interface updates. No interface methods were harmed in the filming of this checkin, but a few were added or extended with defaults.
-
Casey Duncan authored
-
Casey Duncan authored
Fix for collector #510, When Python scripts and other "Script" objects were acquired during URL traversal, the __before_publishing_traverse__ code did not properly stop traversal at the script and populate traverse_subpath with the remaining url path elements.
-
- 16 Aug, 2002 3 commits
-
-
Barry Warsaw authored
depending on whether the full or a partial test suite was run. In particular, in my case there was a EVENT_LOG_FILE turd left in the environment which was causes StupidLogTest's checkBasics to fail. The fix is to wipe the environment in both the setup and the tear down, although I wonder why EventLogTest's teardown didn't clean things up properly. Hmm, with this patch the test suite succeeds.
-
Barry Warsaw authored
use that everywhere internally instead of setting the global _log_dest directly.
-
Casey Duncan authored
-
- 15 Aug, 2002 3 commits
-
-
Casey Duncan authored
-
Casey Duncan authored
Small refactor of new getIndexObjects method. Tightened security (since wrapped indexes are more open to untrusted code) and generalized the other assertions for ZCat.
-
Casey Duncan authored
- Removed unnecessary tuple cast - OIBTree.keys() is faster than IOBTree.values()
-
- 14 Aug, 2002 3 commits
-
-
Martijn Pieters authored
-
Martijn Pieters authored
-
Martijn Pieters authored
-