[Zope-Checkins] SVN: Zope/branches/Zope-2_9-branch/lib/python/Products/PluginIndexes/ Merge r. 40191 from the trunk; cleanup of ZMI view declarations.

2005-11-17 Thread Martijn Pieters
Log message for revision 40196: Merge r. 40191 from the trunk; cleanup of ZMI view declarations. Changed: U Zope/branches/Zope-2_9-branch/lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Products/PluginIndexes/ Merge 40191 from trunk: clean up crufty and buggy ZMI views.

2005-11-18 Thread Martijn Pieters
Log message for revision 40192: Merge 40191 from trunk: clean up crufty and buggy ZMI views. Changed: U Zope/branches/Zope-2_8-branch/lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py Recreate the BTrees.Length.Length instance on a clear, like UnIndex-based

2005-11-30 Thread Martijn Pieters
Log message for revision 40426: Recreate the BTrees.Length.Length instance on a clear, like UnIndex-based indexes do; this way one can simply re-catalog a site upgraded from a Zope 2.7 instance. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py -=-

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py Merge r 40426 from the trunk: make DateIndexes upgradeble from Zope 2.7 by way

2005-11-30 Thread Martijn Pieters
Log message for revision 40427: Merge r 40426 from the trunk: make DateIndexes upgradeble from Zope 2.7 by way of a re-index. Changed: U Zope/branches/Zope-2_8-branch/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py Merge r 40426 from the trunk: make DateIndexes upgradeble from Zope 2.7 by way

2005-11-30 Thread Martijn Pieters
Log message for revision 40428: Merge r 40426 from the trunk: make DateIndexes upgradeble from Zope 2.7 by way of a re-index. Changed: U Zope/branches/2.9/lib/python/Products/PluginIndexes/DateIndex/DateIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables

2007-03-04 Thread Martijn Pieters
Log message for revision 72971: Fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables Changed: U Zope/trunk/lib/python/ZPublisher/BaseRequest.py U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.10/ Merge fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables

2007-03-04 Thread Martijn Pieters
Log message for revision 72972: Merge fix for #2288: do not quote + and @ characters when forming BaseRequest and HTTPRequest URL variables Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZPublisher/BaseRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.9/ Backport fix for 2288, together with part of the 2.10 tests for z3 views

2007-03-04 Thread Martijn Pieters
Log message for revision 72974: Backport fix for 2288, together with part of the 2.10 tests for z3 views Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZPublisher/BaseRequest.py U Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Add a 'method' key to the HTTPRequest.other, containing the uppercased REQUEST_METHOD. This makes HTTPRequest a little bit more compatible with Z

2007-03-16 Thread Martijn Pieters
Log message for revision 73217: Add a 'method' key to the HTTPRequest.other, containing the uppercased REQUEST_METHOD. This makes HTTPRequest a little bit more compatible with Zope3 IHTTPRequest. Changed: U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/trunk/ - Add a request method decorator to AccessControl, creating decorators that limit a method to one request method only.

2007-03-20 Thread Martijn Pieters
Log message for revision 73386: - Add a request method decorator to AccessControl, creating decorators that limit a method to one request method only. - Protect various security-setting-mutators with a POST-only decorator. Changed: U Zope/trunk/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/branches/2.10/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73388: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/AccessControl/Owned.py U

[Zope-Checkins] SVN: Zope/branches/2.9/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73389: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/AccessControl/Owned.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Backport a postonly decorator from Zope trunk's requestmethod decorator factory.

2007-03-20 Thread Martijn Pieters
Log message for revision 73390: - Backport a postonly decorator from Zope trunk's requestmethod decorator factory. - Protect various security-setting-mutators with this decorator. Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/hotfixes/ Import POST-only hotfix

2007-03-20 Thread Martijn Pieters
Log message for revision 73391: Import POST-only hotfix Changed: A Zope/hotfixes/README.txt A Zope/hotfixes/__init__.py A Zope/hotfixes/tests/ A Zope/hotfixes/tests/__init__.py A Zope/hotfixes/tests/test_hotfix.py A Zope/hotfixes/version.txt -=- Added:

[Zope-Checkins] SVN: Zope/hotfixes/ Undo botched import

2007-03-20 Thread Martijn Pieters
Log message for revision 73392: Undo botched import Changed: D Zope/hotfixes/README.txt D Zope/hotfixes/__init__.py D Zope/hotfixes/tests/ D Zope/hotfixes/version.txt -=- Deleted: Zope/hotfixes/README.txt === ---

[Zope-Checkins] SVN: Zope/hotfixes/Hotfix_20070320/ Undo botched import

2007-03-20 Thread Martijn Pieters
Log message for revision 73393: Undo botched import Changed: A Zope/hotfixes/Hotfix_20070320/ A Zope/hotfixes/Hotfix_20070320/README.txt A Zope/hotfixes/Hotfix_20070320/__init__.py A Zope/hotfixes/Hotfix_20070320/tests/ A Zope/hotfixes/Hotfix_20070320/tests/__init__.py A

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Add backward compatible postonly decorator

2007-03-20 Thread Martijn Pieters
Log message for revision 73395: Add backward compatible postonly decorator Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Add comment about postonly status

2007-03-20 Thread Martijn Pieters
Log message for revision 73396: Add comment about postonly status Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py === ---

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/ Fix two snafus:

2007-03-21 Thread Martijn Pieters
Log message for revision 73418: Fix two snafus: - Python 2.3 doesn't support the @decorator syntax - Owner.py methods weren't protected Also, python 2.3's doctest module doesn't have any unittest integration, just remove the test_requestmethod.py glue. Changed: U

[Zope-Checkins] SVN: Zope/trunk/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73642: Add missing REQUEST parameter Changed: U Zope/trunk/lib/python/App/ApplicationManager.py -=- Modified: Zope/trunk/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73643: Add missing REQUEST parameter Changed: U Zope/branches/2.10/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.10/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73644: Add missing REQUEST parameter Changed: U Zope/branches/2.9/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/2.9/lib/python/App/ApplicationManager.py === ---

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py Add missing REQUEST parameter

2007-03-26 Thread Martijn Pieters
Log message for revision 73645: Add missing REQUEST parameter Changed: U Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/App/ApplicationManager.py ===

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt Hmm, this never made it in. No matter, just set the SVN record straigt for future releases

2007-03-27 Thread Martijn Pieters
Log message for revision 73720: Hmm, this never made it in. No matter, just set the SVN record straigt for future releases Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === ---

[Zope-Checkins] SVN: Zope/branches/2.9/ Collector #2300: delimit *all* headers with CRLF; accumulated_headers and appendHeader use \n for delimeters and never get corrected on output

2007-03-27 Thread Martijn Pieters
Log message for revision 73721: Collector #2300: delimit *all* headers with CRLF; accumulated_headers and appendHeader use \n for delimeters and never get corrected on output Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZServer/HTTPResponse.py U

[Zope-Checkins] SVN: Zope/trunk/ Mark ZCatalog catalog brains with an interface

2007-03-27 Thread Martijn Pieters
Log message for revision 73762: Mark ZCatalog catalog brains with an interface Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/Products/ZCatalog/CatalogBrains.py U Zope/trunk/lib/python/Products/ZCatalog/interfaces.py -=- Modified: Zope/trunk/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/Five/browser/ Fix Collector #2264: browser:view should set __name__

2007-03-27 Thread Martijn Pieters
Log message for revision 73766: Fix Collector #2264: browser:view should set __name__ Changed: U Zope/trunk/lib/python/Products/Five/browser/metaconfigure.py U Zope/trunk/lib/python/Products/Five/browser/tests/pages.txt U Zope/trunk/lib/python/Products/Five/browser/tests/pages.zcml

[Zope-Checkins] SVN: Products.Five/branches/1.3/browser/ Merge Collector #2264 fix from Zope trunk: browser:view should set __name__

2007-03-27 Thread Martijn Pieters
Log message for revision 73768: Merge Collector #2264 fix from Zope trunk: browser:view should set __name__ Changed: U Products.Five/branches/1.3/browser/metaconfigure.py U Products.Five/branches/1.3/browser/tests/pages.txt U Products.Five/branches/1.3/browser/tests/pages.zcml -=-

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73946: Fix #2303: make take ownership form use POST Changed: U Zope/trunk/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/trunk/lib/python/AccessControl/dtml/owner.dtml === ---

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73947: Fix #2303: make take ownership form use POST Changed: U Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/branches/2.10/lib/python/AccessControl/dtml/owner.dtml ===

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml Fix #2303: make take ownership form use POST

2007-03-30 Thread Martijn Pieters
Log message for revision 73949: Fix #2303: make take ownership form use POST Changed: U Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml -=- Modified: Zope/branches/Zope-2_8-branch/lib/python/AccessControl/dtml/owner.dtml

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. Extend the requestmethod decorator factory to allow multiple request methods

2007-04-03 Thread Martijn Pieters
Log message for revision 73992: Extend the requestmethod decorator factory to allow multiple request methods Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod.py Thanks to _facade, the request argument is always present in *args

2007-04-04 Thread Martijn Pieters
Log message for revision 73997: Thanks to _facade, the request argument is always present in *args Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py -=- Modified: Zope/trunk/lib/python/AccessControl/requestmethod.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. Fix potential bug in requestmethod where you cannot specify None for a keyword argument where None is not the default

2007-04-20 Thread Martijn Pieters
Log message for revision 74259: Fix potential bug in requestmethod where you cannot specify None for a keyword argument where None is not the default Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/AccessControl/requestmethod. Merge default value fix from trunk

2007-04-20 Thread Martijn Pieters
Log message for revision 74261: Merge default value fix from trunk Changed: U Zope/branches/2.9/lib/python/AccessControl/requestmethod.py U Zope/branches/2.9/lib/python/AccessControl/requestmethod.txt -=- Modified: Zope/branches/2.9/lib/python/AccessControl/requestmethod.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/AccessControl/requestmethod. Merge default value fix from trunk

2007-04-20 Thread Martijn Pieters
Log message for revision 74260: Merge default value fix from trunk Changed: U Zope/branches/2.10/lib/python/AccessControl/requestmethod.py U Zope/branches/2.10/lib/python/AccessControl/requestmethod.txt -=- Modified: Zope/branches/2.10/lib/python/AccessControl/requestmethod.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/AccessControl/requestmethod. To aid debugging, generate the facade with the same name as the original callable

2007-04-24 Thread Martijn Pieters
Log message for revision 74715: To aid debugging, generate the facade with the same name as the original callable Changed: U Zope/trunk/lib/python/AccessControl/requestmethod.py U Zope/trunk/lib/python/AccessControl/requestmethod.txt -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316.

2007-04-27 Thread Martijn Pieters
Log message for revision 74848: Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt Record fix for 2316

2007-04-27 Thread Martijn Pieters
Log message for revision 74851: Record fix for 2316 Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2007-04-27 08:37:14 UTC (rev 74850)

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #231

2007-04-27 Thread Martijn Pieters
Log message for revision 74849: Fix DateIndex date display; unpack stored integers into something meaningful. This fixes Collector #2316. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/dtml/browseIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py Remove stray a (Vi leftover)

2007-05-04 Thread Martijn Pieters
Log message for revision 75292: Remove stray a (Vi leftover) Changed: U Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py -=- Modified: Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75431: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt Merge changelog from 2.9 branch for all fixes I merged from 2.9 to 2.10

2007-05-04 Thread Martijn Pieters
Log message for revision 75432: Merge changelog from 2.9 branch for all fixes I merged from 2.9 to 2.10 Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === ---

[Zope-Checkins] SVN: Zope/branches/2.10/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75433: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/ Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For

2007-05-04 Thread Martijn Pieters
Log message for revision 75435: Collector #2321: skip trusted proxies when extracting the client ip from X-Forwarded-For Changed: U Zope/trunk/lib/python/ZPublisher/HTTPRequest.py U Zope/trunk/lib/python/ZPublisher/tests/testHTTPRequest.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Obviously the level 0 case has been implemented before the index was merged into CVS trunk 8 years ago..

2008-12-13 Thread Martijn Pieters
Log message for revision 94019: Obviously the level 0 case has been implemented before the index was merged into CVS trunk 8 years ago.. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py bviously the level 0 case has been implemented before the index was merged

2008-12-13 Thread Martijn Pieters
Log message for revision 94020: bviously the level 0 case has been implemented before the index was merged into CVS trunk 8 years ago.. Changed: U Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Obviously the level 0 case has been implemented before the index was merged

2008-12-13 Thread Martijn Pieters
Log message for revision 94021: Obviously the level 0 case has been implemented before the index was merged into CVS trunk 8 years ago.. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml Remove incorrect statement; the whole path is indexed, including the object id.

2008-12-13 Thread Martijn Pieters
Log message for revision 94030: Remove incorrect statement; the whole path is indexed, including the object id. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml Remove incorrect statement; the whole path is indexed, including the object id.

2008-12-13 Thread Martijn Pieters
Log message for revision 94031: Remove incorrect statement; the whole path is indexed, including the object id. Changed: U Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml Remove incorrect statement; the whole path is indexed, including the object id.

2008-12-13 Thread Martijn Pieters
Log message for revision 94032: Remove incorrect statement; the whole path is indexed, including the object id. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/dtml/addPathIndex.dtml -=- Modified:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Port improvements from ExtendedPathIndex:

2008-12-13 Thread Martijn Pieters
Log message for revision 94034: Port improvements from ExtendedPathIndex: - The level 0 case is basically the union of all searches for levels 0 through to max. Just call search() for each level and use multiunion on all the results. - Shorten the 'no-such-path' detection to one test.

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Port improvements from ExtendedPathIndex:

2008-12-13 Thread Martijn Pieters
Log message for revision 94035: Port improvements from ExtendedPathIndex: - The level 0 case is basically the union of all searches for levels 0 through to max. Just call search() for each level and use multiunion on all the results. - Shorten the 'no-such-path' detection to one

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Port improvements from ExtendedPathIndex:

2008-12-13 Thread Martijn Pieters
Log message for revision 94036: Port improvements from ExtendedPathIndex: - The level 0 case is basically the union of all searches for levels 0 through to max. Just call search() for each level and use multiunion on all the results. - Shorten the 'no-such-path' detection to one

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Reverse searching order; start with the presumably smaller specific set and work our way up to larger and large

2008-12-14 Thread Martijn Pieters
Log message for revision 94047: Reverse searching order; start with the presumably smaller specific set and work our way up to larger and larger docid sets. This makes intersecting faster for most common index distributions. Changed: U

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Merge r94047 from trunk: speed optimisation in path index searching order

2008-12-14 Thread Martijn Pieters
Log message for revision 94048: Merge r94047 from trunk: speed optimisation in path index searching order Changed: U Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Merge r94047 from trunk: speed optimisation in path index searching order

2008-12-14 Thread Martijn Pieters
Log message for revision 94049: Merge r94047 from trunk: speed optimisation in path index searching order Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Shortcut the case where the path searched for is longer than anything indexed.

2008-12-14 Thread Martijn Pieters
Log message for revision 94050: Shortcut the case where the path searched for is longer than anything indexed. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Merge r94050 from trunk: shortcut for path-longer-than-anything-indexed case

2008-12-14 Thread Martijn Pieters
Log message for revision 94051: Merge r94050 from trunk: shortcut for path-longer-than-anything-indexed case Changed: U Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Merge r94050 from trunk: shortcut for path-longer-than-anything-indexed case

2008-12-14 Thread Martijn Pieters
Log message for revision 94052: Merge r94050 from trunk: shortcut for path-longer-than-anything-indexed case Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py -=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py Simplify and cleanup the tests, including removing a double definition of the same test.

2008-12-14 Thread Martijn Pieters
Log message for revision 94053: Simplify and cleanup the tests, including removing a double definition of the same test. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py Test cleanups from the trunk

2008-12-14 Thread Martijn Pieters
Log message for revision 94054: Test cleanups from the trunk Changed: U Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py -=- Modified: Zope/branches/2.11/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py Test cleanups from the trunk

2008-12-14 Thread Martijn Pieters
Log message for revision 94055: Test cleanups from the trunk Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py -=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py

[Zope-Checkins] SVN: Zope/branches/2.11/configure python 2.4.6 has been out for a while

2009-02-09 Thread Martijn Pieters
Log message for revision 96311: python 2.4.6 has been out for a while Changed: U Zope/branches/2.11/configure -=- Modified: Zope/branches/2.11/configure === --- Zope/branches/2.11/configure2009-02-09 13:23:23 UTC

[Zope-Checkins] SVN: Zope/trunk/ Copy the entry id into the event log as well; this lets you correlate between

2009-02-09 Thread Martijn Pieters
Log message for revision 96315: Copy the entry id into the event log as well; this lets you correlate between eventlog entries and their corresponding entry in the SiteErrorLog. Needed when a user reports the entry id after seeing an error and the server has since restarted. Changed:

[Zope-Checkins] SVN: Zope/branches/2.11/ Merge r96315 from trunk: copy entry_id to the event log too

2009-02-09 Thread Martijn Pieters
Log message for revision 96316: Merge r96315 from trunk: copy entry_id to the event log too Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Products/SiteErrorLog/SiteErrorLog.py U

[Zope-Checkins] SVN: Zope/branches/2.10/ Merge r96315 from trunk: copy entry_id to the event log too

2009-02-09 Thread Martijn Pieters
Log message for revision 96319: Merge r96315 from trunk: copy entry_id to the event log too Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/Products/SiteErrorLog/SiteErrorLog.py U

[Zope-Checkins] SVN: Zope/trunk/ Separate clearing and closing a request.

2009-09-18 Thread Martijn Pieters
Log message for revision 104360: Separate clearing and closing a request. Clearing frees resources, closing also sends out the end-request event. Clones of the current request need to be cleared, only the actual current request needs to be closed. Fixes LP #414757. Changed: U

[Zope-Checkins] SVN: Zope/branches/2.12/ Backport r104360 from trunk: do not emit the request closed event from a request clone

2009-09-18 Thread Martijn Pieters
Log message for revision 104361: Backport r104360 from trunk: do not emit the request closed event from a request clone Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/ZPublisher/BaseRequest.py U Zope/branches/2.12/src/ZPublisher/HTTPRequest.py U

[Zope-Checkins] SVN: Zope/branches/2.11/ Backport r104360 from trunk: do not emit the request closed event from a request clone

2009-09-18 Thread Martijn Pieters
Log message for revision 104363: Backport r104360 from trunk: do not emit the request closed event from a request clone Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/ZPublisher/BaseRequest.py U Zope/branches/2.11/lib/python/ZPublisher/HTTPRequest.py

[Zope-Checkins] SVN: Zope/branches/2.12/ Fall back to HELO when EHLO (an optional extension) fails

2010-02-03 Thread Martijn Pieters
Log message for revision 108731: Fall back to HELO when EHLO (an optional extension) fails Changed: U Zope/branches/2.12/doc/CHANGES.rst U Zope/branches/2.12/src/Products/MailHost/mailer.py -=- Modified: Zope/branches/2.12/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/trunk/src/Products/MailHost/mailer.py Merge r108731 from 2.12: MailHost fallback to HELO

2010-02-03 Thread Martijn Pieters
Log message for revision 108732: Merge r108731 from 2.12: MailHost fallback to HELO Changed: U Zope/trunk/src/Products/MailHost/mailer.py -=- Modified: Zope/trunk/src/Products/MailHost/mailer.py === ---

[Zope-Checkins] SVN: Zope/branches/2.11/ Merge r108731 from 2.12: MailHost fallback to HELO

2010-02-03 Thread Martijn Pieters
Log message for revision 108733: Merge r108731 from 2.12: MailHost fallback to HELO Changed: U Zope/branches/2.11/doc/CHANGES.txt U Zope/branches/2.11/lib/python/Products/MailHost/mailer.py -=- Modified: Zope/branches/2.11/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/branches/2.12/src/Products/Five/browser/absoluteurl.py Fix _getContextName; does anyone test this stuff?

2010-02-26 Thread Martijn Pieters
Log message for revision 109473: Fix _getContextName; does anyone test this stuff? Changed: U Zope/branches/2.12/src/Products/Five/browser/absoluteurl.py -=- Modified: Zope/branches/2.12/src/Products/Five/browser/absoluteurl.py

[Zope-Checkins] SVN: Zope/trunk/src/Products/Five/browser/absoluteurl.py Merge r109473 from the 2.12 branch

2010-02-26 Thread Martijn Pieters
Log message for revision 109474: Merge r109473 from the 2.12 branch Changed: U Zope/trunk/src/Products/Five/browser/absoluteurl.py -=- Modified: Zope/trunk/src/Products/Five/browser/absoluteurl.py === ---

[Zope-Checkins] SVN: Zope/trunk/ `setHeader('Set-Cookie', ...)` special-casing can die

2011-10-13 Thread Martijn Pieters
Log message for revision 123087: `setHeader('Set-Cookie', ...)` special-casing can die Use the cookie APIs or addHeader instead. Changed: U Zope/trunk/doc/CHANGES.rst U Zope/trunk/src/ZPublisher/HTTPResponse.py -=- Modified: Zope/trunk/doc/CHANGES.rst

[Zope-Checkins] SVN: Zope/trunk/ Remove the lock around the cookie parsing code.

2011-10-13 Thread Martijn Pieters
Log message for revision 123088: Remove the lock around the cookie parsing code. The locking here was only ever needed for the old `regex` module that was originally used for this code, but that was replaced by the thread-safe `re` some 10 years ago (see r20110, april 2001).