- 07 Jan, 2003 12 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
- update the sectiontype attributes
-
Jeremy Hylton authored
-
Jeremy Hylton authored
XXX The deferred name isn't perfect, but async is already taken.
-
Jeremy Hylton authored
When a block transaction is stopped because the client disconnects, log a message at INFO level. Add a message at BLATHER level when a transaction acquires the commit lock.
-
Guido van Rossum authored
- Cache the translations from severity to level and string in dicts, so these are normally done with a single dict.get() call rather than a Python function call. - Extract the PEP 282 level first, and check it against the effective level of the logger, so we can take an early exit if the logger won't handle the event. - Got rid of textwrap. It slows things down, can frustrate grepping programs, and wasn't effective unless you were using Python 2.3 anyway. - Got rid of the addHandler(NullHandler()) (seems like superstition). - Got rid of the log_format class variable (YAGNI).
-
Jeremy Hylton authored
-
Fred Drake authored
the schema component library. (The facility itself still needs to be documented.)
-
Jeremy Hylton authored
The strategy classes stopped being useful, because the code had been modified to always use one of the strategies. The classes were left behind because editing the code to use a single class was too much work at the time. Move all the logic back into ZEOStorage. Rename non-public methods on the class to start with _. Use lambda: rather than getattr()() to invoke the method that gets delayed waiting for the storage lock.
-
Jeremy Hylton authored
XXX Need to settle on a good name for this var and make sure the schema and code agree on it.
-
Jeremy Hylton authored
-
- 06 Jan, 2003 5 commits
-
-
Fred Drake authored
- add a simple example of basic usage that should satisfy many applications
-
Fred Drake authored
possibly being removed in the future.
-
Jeremy Hylton authored
There's now concrete test of recursively defined section types.
-
Fred Drake authored
XXX Probably not usable until a better schema import mechanism is implemented.
-
Fred Drake authored
-
- 03 Jan, 2003 9 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
available or not, and also fixes to all the tests so they won't crap out or complain if not. To test whether these storages are avialable (including all package dependencies), do: import BDBStorage if BDBStorage.is_available: # okay to use Also, in BDBStorage/__init__.py do some cross-platform compatibility for the bsddb module; in Python 2.3 we can just use the built-in module, but in earlier Pythons we have to use bsddb3. Now you can just use "from BDBStorage import db" to get the proper db object.
-
Barry Warsaw authored
available or not, and also fixes to all the tests so they won't crap out or complain if not. To test whether these storages are avialable (including all package dependencies), do: import BDBStorage if BDBStorage.is_available: # okay to use Also, in BDBStorage/__init__.py do some cross-platform compatibility for the bsddb module; in Python 2.3 we can just use the built-in module, but in earlier Pythons we have to use bsddb3. Now you can just use "from BDBStorage import db" to get the proper db object.
-
Fred Drake authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Fred Drake authored
-
Fred Drake authored
Copyright notices get 2003 added as well. The zconfig-schema-devel-branch should no longer be used.
-
Guido van Rossum authored
should not be in the list of options passed to getopt()!
-
- 02 Jan, 2003 3 commits
-
-
Fred Drake authored
-
Guido van Rossum authored
configuration file (or URL).
-
Shane Hathaway authored
that OIDs are required to be strings, but AdaptableStorage permits any length, and so might other storages.
-
- 25 Dec, 2002 1 commit
-
-
Jim Fulton authored
- Renamed most files (especially python modules) to lower case. - Moved views and interfaces into separate hierarchies within each project, where each top-level directory under the zope package is a separate project. - Moved everything to src from lib/python. lib/python will eventually go away. I need access to the cvs repository to make this happen, however. There are probably some bits that are broken. All tests pass and zope runs, but I haven't tried everything. There are a number of cleanups I'll work on tomorrow.
-
- 20 Dec, 2002 6 commits
-
-
Guido van Rossum authored
it goes to the start of the new log file.
-
Guido van Rossum authored
self._tbuf was unexpectedly None. The only way this can happen is when the storage is closed (probably by a different thread); close() sets _tbuf to None. It turns out that a TransactionBuffer instance can safely be closed more than once, so there's no need to set _tbuf to None in the close() method.
-
Fred Drake authored
recent confusion would have been avoided had the instructions been followed.
-
Matt Behrens authored
-
Stephan Richter authored
I am glad to make this commit that fixes up a lot of the FTP implementation. I fixed the behavior of many of the FTP commands, including LIST, SIZE, and CWD. I moved the original VFSFile/DirectoryView into abstract classes and wrote a special implementation for each content type, which makes the code much more flexible. Also I finally implemented a smart way of adding files via VFS through file extension introspection, based on Jim's ExtensionViewName proposal. I am adding documentation in the DevelCookbook right now and will later add a README file. TODOs: - make VFS View names flexible, so that file extensions specify views. - Simplify ZCML directives, so that one can add new extensions for Add views quicker. A solution might look like that: <vfs:view name=".dtml" for="Zope.App.OFS.Container.IAdding." factory=".DTMLPageAdd." permission="Zope.ManageContent"> <vfs:extension name=".html" /> <vfs:extension name=".xul" /> <vfs:extension name=".xml" /> ... </vfs:view> This method would also be good for defining a default fiel extension. - Show an object with its default file extension.
-
Barry Warsaw authored
-
- 19 Dec, 2002 1 commit
-
-
Jeremy Hylton authored
-
- 18 Dec, 2002 1 commit
-
-
Barry Warsaw authored
bsddb3Storage becomes BDBStorage Full becomes BDBFullStorage Minimal becomes BDBMinimalStorage Removing MinimalReplicated.py, Packless.py, and base.py
-
- 17 Dec, 2002 2 commits
-
-
Fred Drake authored
- start_zeo_server(): Only quote the command line args for Windows; these break the tests on Linux, which would only need the quoting if the shell were involved: it's not for os.spawnve().
-
Fred Drake authored
-