Re: [Zope] Error: Picked: Jinja2 = 2.6

2013-05-03 Thread Martijn Pieters
Your buildout has been configured to only allow *pinned* dependencies; eggs for which you specified the version. Add `Jinja2 = 2.6` to your `[versions]` section. — Martijn Pieters zopatista.com On Fri, May 3, 2013 at 3:43 AM, Tamer Higazi th9...@googlemail.com wrote: Hi people! in my new

Re: [Zope-dev] ZTK 2.0: Deprecate zope.sequencesort

2013-03-01 Thread Martijn Pieters
for completeness sake. You can always fall back to functools.cmp_to_key() to use cmp-based sorting in python 3: http://docs.python.org/3/library/functools.html#functools.cmp_to_key -- Martijn Pieters -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] [ZODB-Dev] [announce] NEO 1.0 - scalable and redundant storage for ZODB

2012-08-28 Thread Martijn Pieters
act as a BlobStorage, NEO can not. Anything else different? Did you make any performance comparisons between RelStorage and NEO? -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross

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

2011-10-17 Thread Martijn Pieters
with them before I got to them. Mea Culpa! -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo

[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).

Re: [Zope-dev] direction

2011-07-05 Thread Martijn Pieters
On Tue, Jul 5, 2011 at 14:41, Hanno Schlichting ha...@hannosch.eu wrote: Ok, seems 4.0 is the more popular choice. I don't agree. Let's go with Fibonacci and call the next release Zope 8, as the logical extension of the series 1, 2, 3, and 5! :-P -- Martijn Pieters

Re: [Zope-dev] [Zope] Security announcement update

2011-06-28 Thread Martijn Pieters
the previous hotfix. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https

Re: [Zope-dev] [Zope] Security announcement update

2011-06-28 Thread Martijn Pieters
On Tue, Jun 28, 2011 at 15:40, Norbert Marrale norbertmarr...@yahoo.com wrote: Why must PluggableAuthService (+ its dependencies) even be installed? It is a dependency of Plone itself. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope] [Zope-dev] Security announcement update

2011-06-28 Thread Martijn Pieters
the previous hotfix. -- Martijn Pieters ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org

Re: [Zope] [Zope-dev] Security announcement update

2011-06-28 Thread Martijn Pieters
On Tue, Jun 28, 2011 at 15:40, Norbert Marrale norbertmarr...@yahoo.com wrote: Why must PluggableAuthService (+ its dependencies) even be installed? It is a dependency of Plone itself. -- Martijn Pieters ___ Zope maillist - Zope@zope.org https

Re: [Zope-dev] zope-tests - OK: 77

2011-06-22 Thread Martijn Pieters
On Wed, Jun 22, 2011 at 10:01, Lennart Regebro rege...@gmail.com wrote: Whohoo! Amesome work all bugfixers! Wohoo disabling the windows bots! -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope

Re: [Zope] 2.13 upgrade problems

2011-06-03 Thread Martijn Pieters
the pickles for you along the way. -- Martijn Pieters ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https

Re: [Zope-dev] z3c.form: Default form content type

2011-04-11 Thread Martijn Pieters
of non-ASCII data. Also, it'd be almost impossible to auto-detect when binary data will be handled by the form, unless you start introspecting widget output, so the default looks entirely sane to me. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev

Re: [Zope-dev] [Distutils] [buildout] private releases

2011-03-31 Thread Martijn Pieters
SSH would make the sftp route the logical choice. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman

Re: [Zope-dev] [buildout] private releases

2011-03-29 Thread Martijn Pieters
options. I use jarn.mkrelease to make releases to private, password protected folders on our dist.jarn.com 'egg server' (apache directory indexes). -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] PAS, AuthEncoding and zope.password

2011-02-20 Thread Martijn Pieters
On Fri, Feb 18, 2011 at 22:19, Martijn Pieters m...@zopatista.com wrote: We should at the very least convert PAS to use zope.password instead of AccessControl.AuthEncoding. There is a snag. The zope.password API doesn't provide any way to detect what scheme was used for a given hash. Say you

Re: [Zope-dev] PAS, AuthEncoding and zope.password

2011-02-20 Thread Martijn Pieters
managers as well. The only thing that could perhaps be removed are the SSHADigestScheme and SHADigestSCheme classes, as these will be completely redundant with zope.password support. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https

Re: [Zope-dev] PAS, AuthEncoding and zope.password

2011-02-20 Thread Martijn Pieters
On Sun, Feb 20, 2011 at 12:39, Martijn Pieters m...@zopatista.com wrote: Yes, changing the existing interface would require a 4.0. If you'd add a new interface extending the IPasswordManager one, we could do it in a 3.x release. A new zope.password 3.x release could go into both ZTK 1.1

Re: [Zope-dev] Zope Tests: 72 OK, 15 Failed

2011-02-18 Thread Martijn Pieters
is truly random! :-) -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https

[Zope-dev] PAS, AuthEncoding and zope.password

2011-02-18 Thread Martijn Pieters
components. Any objections to reworking both AuthEncoding and PAS? -- Martijn Pieters [1] see http://codahale.com/how-to-safely-store-a-password/ and http://stackoverflow.com/questions/1561174/sha512-vs-blowfish-and-bcrypt ___ Zope-Dev maillist - Zope

Re: [Zope-dev] New release of z3c.form

2010-07-01 Thread Martijn Pieters
On Thu, Jul 1, 2010 at 3:10 PM, Godefroid Chapelle got...@bubblenet.be wrote: http://packages.python.org/z3c.form The index is empty and module index appears to be missing altogether: http://packages.python.org/z3c.form/index.html#indices-and-tables -- Martijn Pieters

[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 === ---

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

2010-02-26 Thread Martijn Pieters
2010/2/26 Tres Seaver tsea...@palladion.com: Kettle to pot: Did you add a test? I ran out of time; the current tests weren't easily molded to add a case for this. I felt that at least the simple 'return' statement fix should go in. I'll get the test case in this weekend, hopefully. -- Martijn

[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

Re: [Zope] UTF-8 problem with zope2.10 and postgresql

2009-11-08 Thread Martijn Pieters
me tell you. I don't know why or what changed there, but have you considered that this could be a bug? It sounds as if you have a legitimate usecase there, at least something you could argue convincingly about. -- Martijn Pieters ___ Zope maillist

Re: [Zope] sharing instance_home?

2009-11-04 Thread Martijn Pieters
be wary of sharing the directory between instances, because 3rd party products sometimes use it to store instance-specific data (e.g. not sharable between 2 zope processes). -- Martijn Pieters ___ Zope maillist - Zope@zope.org https://mail.zope.org

Re: [Zope-dev] Zope Tests: 6 OK, 2 Failed

2009-11-01 Thread Martijn Pieters
suspect that all open-ended slicing ops in Python C extensions are borken in python 2.4, because it doesn't have Py_ssize_t. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

[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.10/ 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 104364: Backport r104360 from trunk: do not emit the request closed event from a request clone Changed: U Zope/branches/2.10/doc/CHANGES.txt U Zope/branches/2.10/lib/python/ZPublisher/BaseRequest.py U Zope/branches/2.10/lib/python/ZPublisher/HTTPRequest.py

Re: [Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-08-08 Thread Martijn Pieters
these two back to 'i' and int. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-08-07 Thread Martijn Pieters
On Mon, Aug 3, 2009 at 08:04, Martijn Pieters m...@zopatista.com wrote:  AssertionError: Incorrect Content-Length is set! Expected 20425,     got 20426. I don't grok the range support code at all:  probably Martijn Pieters is the only person in the world who does.  The tests are quite

Re: [Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-08-07 Thread Martijn Pieters
On Fri, Aug 7, 2009 at 14:55, Martijn Pieters m...@zopatista.com wrote: Here is the simple test case: from Acquisition import Implicit class Root(Implicit):    pass class Slicer(Implicit):    def __getslice__(self, start, end):        return [start, end] root = Root() slicer = Slicer

Re: [Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-08-07 Thread Martijn Pieters
On Fri, Aug 7, 2009 at 14:55, Martijn Pieters m...@zopatista.com wrote: The problem is caused by an acquisition wrapped object with a __getslice__ method get the wrong indices passed in when the end parameter is ommitted:  data[start:] Image.Pdata classes have a __getslice__ method

Re: [Zope-dev] Linux x86_64 [Was: Zope Tests: 3 OK, 5 Failed]

2009-08-03 Thread Martijn Pieters
don't grok the range support code at all:  probably Martijn Pieters is the only person in the world who does.  The tests are quite obscure to me, so I can't diagnose even whether the failure is a testing artifact or a real bug. Here's my response to Tres; for some reason my mail reader didn't

Re: [Zope-dev] HA storage for zope

2009-06-03 Thread Martijn Pieters
another 3k inactive). -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Proposal: Align Zope 2 and Zope 3 permissions

2009-04-12 Thread Martijn Pieters
is a dotted name and the Zope 2 permission name isn't, I think it's extremely unlikely that this would actually happen in practice. I'm sure we can do some performance comparisons on this one. I'd say it's worth the cost, but hard numbers would help. -- Martijn Pieters

Re: [Zope-dev] Zope Source Code Repository

2009-04-06 Thread Martijn Pieters
-control.subversion.user/87346/focus=87525 It sucks for very specific cases, namely tight access control on sub-paths. I don't see such cases, and I see speed improvements instead. Note that we are now up to svn 1.6. -- Martijn Pieters ___ Zope-Dev maillist

Re: [Zope-dev] Zope Source Code Repository

2009-04-06 Thread Martijn Pieters
errors' are not random but due to svn info being out-of-date after a commit. svn up has always solved that for me. Yes, the latter is a bug, but I suspect it is already solved in 1.6 (didn't test that yet though). -- Martijn Pieters ___ Zope-Dev maillist

Re: [Zope-dev] Zope Source Code Repository

2009-04-06 Thread Martijn Pieters
not have any problems (and a workaround for svn bug 3119) but that doesn't mean we can ask other people that need access to more tightly ACL-ed repositories to put up with subversion 1.5 and 1.6. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] Zope Source Code Repository

2009-04-03 Thread Martijn Pieters
plugin, which includes a link to the http:// or svn+ssh:// url for the currently viewed location, for easy checking out. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] [ZF] Zope Source Code Repository

2009-04-02 Thread Martijn Pieters
with any/all of the above. My offer to set up Trac as a buildout still stands too. Jens, have your concerns about dependencies been answered? -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] [ZF] Zope Source Code Repository

2009-04-02 Thread Martijn Pieters
is now stored encrypted, and subversion now supports KWallet, GNOME Keyring, Mac OS Keychain, and Windows CryptoAPI for storage. See: http://subversion.tigris.org/svn_1.6_releasenotes.html#auth-related-improvements -- Martijn Pieters ___ Zope-Dev maillist

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-10 Thread Martijn Pieters
. This means we'll have to fix __parent__ and __name__ usage as well. This will be painful, me thinks.. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] Python3 and attribute annotations.

2009-03-09 Thread Martijn Pieters
attribute of the function. Note that even if the name *where* the same, attribute annotations only work on classes and instances, while function annotations only apply to functions, not? -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http

Re: [Zope-dev] the Zope Framework project

2009-03-03 Thread Martijn Pieters
counter proposals if you have to, discuss things on their merits, but if you cannot add more than a vague +1 and -1, please refrain. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross

Re: [Zope-dev] SVN: zope2book/trunk/ Lot's of updates over the weekend!

2009-02-17 Thread Martijn Pieters
as this keeps the labels and the code close together. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

[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

Re: [Zope] declarePublic function

2009-01-27 Thread Martijn Pieters
() instead. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] declarePublic function

2009-01-27 Thread Martijn Pieters
redundant, probably put in because the first declarePublic didn't do what the author expected of it.. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope-dev] Plans for Zope 2.12

2009-01-25 Thread Martijn Pieters
. This is not about enforcing philosophical choices, this is about being pragmatic. If the feature was truely useful, more developers would be maintaining and fixing it. Obviously the complexity of keeping it working is outweighing it's usefulness. -- Martijn Pieters

[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/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

Re: [Zope-dev] C-extension in zope.i18nmessageid

2008-12-12 Thread Martijn Pieters
the security implications of undoing this work. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] C-extension in zope.i18nmessageid

2008-12-12 Thread Martijn Pieters
am sceptical he'll be able to, and am not convinced it'll be worth introducing risks. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope-dev] C-extension in zope.i18nmessageid

2008-12-12 Thread Martijn Pieters
be interesting to everybody, I think. There is one already. However, it isn't immutable and thus a security risk. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] [Checkins] SVN: zc.sourcefactory/trunk/buildout.cfg color by default

2008-12-08 Thread Martijn Pieters
or something? Then everyone can make their own choices instead of having them made for them. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Building a site tree with the ZCatalog

2008-10-21 Thread Martijn Pieters
. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] Building a site tree with the ZCatalog

2008-10-21 Thread Martijn Pieters
On Tue, Oct 21, 2008 at 17:50, Andreas Jung [EMAIL PROTECTED] wrote: Code-solving-everything does not fall from the sky. EPI likely the best starting point for solving the problem. But what the EPI offers over the regular path index has no bearing on Nico's problem. -- Martijn Pieters

Re: [Zope] Building a site tree with the ZCatalog

2008-10-21 Thread Martijn Pieters
as the key keyword? Should be a lot better performing. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope-dev] Failing Zope 2.8 / Python 2.3 tests on your box

2008-08-29 Thread Martijn Pieters
._aliases = encoding.aliases.aliases which does therefore not work in 2.3. So, now I am curious how your Python 2.3 differs, and why you don't see the error locally :-) The 1.1 version of the hotfix corrected this. -- Martijn Pieters ___ Zope-Dev

Re: [Zope] CorruptedDataError: How to fix a corrupted

2008-08-01 Thread Martijn Pieters
out all data associated with the transaction. Each transaction id is based on the timestamp (use ZODB.TimeStamp.TimeStamp to decode it) so it should be but a small job to extract everything between two given dates. See the sourcecode for fsdump.py and FileStorage.py in ZODB/FileStorage. -- Martijn

Re: [Zope] CorruptedDataError: How to fix a corrupted

2008-07-31 Thread Martijn Pieters
recipe (may be outdated a bit) of the procedure: http://kelpi.com/script/018315 I certainly have performed truncations like that in the past. -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] VirtualHostMonster: access to all content in instance

2008-07-04 Thread Martijn Pieters
, as both project1 and project3 might be private and should not be published over the globally available apache rewriterule. This is expected behaviour, you are seeing Acquisition at work. Do not rely on VirtualHostMonster to provide security, it only provides URL rewriting services. -- Martijn

Re: [Zope] VirtualHostMonster: access to all content in instance

2008-07-04 Thread Martijn Pieters
projects, it definitelly is no solution. These days, with hardware cheap, it's best practice to host only one site per zope instance. You'll find it much easier to maintain the software stack for each site this way as well, as you can give each site dedicated software versions. -- Martijn Pieters

Re: [Zope] zopectlsock missing

2008-06-11 Thread Martijn Pieters
the CLIENT_HOME to parts/instance instead of a part-specific subdirectory of var/ -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] zopectlsock missing

2008-06-11 Thread Martijn Pieters
On Wed, Jun 11, 2008 at 4:34 PM, Martijn Pieters [EMAIL PROTECTED] wrote: If this in a buildout, then you you ran bin/buildout which nuked your parts/instance directory with the socket. This is a bug in zope2instance where it sets the CLIENT_HOME to parts/instance instead of a part-specific

Re: [Zope] Squid ESI

2008-06-01 Thread Martijn Pieters
://valentinewebsystems.com/topics/ssi Here's the relevant README (pretty parse): http://svn.zope.org/lovely.remoteinclude/trunk/src/lovely/remoteinclude/README.txt?rev=76474view=auto -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope-dev] Re: AW: AW: Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-20 Thread Martijn Pieters
not is defined by the schema of the configuration which can be extended by any package. So adding this information to the extractor would duplicate it. Not good. But extracting that information may be prohibitively difficult and expensive to do. -- Martijn Pieters

Re: [Zope-dev] Re: AW: AW: Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-10 Thread Martijn Pieters
be translatable. Also, these days it is possible to register content views (such as the default view for a folder) through ZCML, using a menu directive for the title. Again these titles should be translatable. -- Martijn Pieters ___ Zope-Dev maillist

Re: [Zope-dev] Re: AW: AW: Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-10 Thread Martijn Pieters
trivial to extract that data without having to pull all of zope in. If you determine beforehand which strings are translatable (end up as msgid objects) it should be trivial to extract these. You will have to update i18ndude to add new zcml tags though. -- Martijn Pieters

Re: [Zope] first attempt to use RELSTORAGE

2008-05-09 Thread Martijn Pieters
! -- Martijn Pieters ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] AJAX / HTML Fragment

2008-04-21 Thread Martijn Pieters
also use command line tools like curl to recreate the request to debug what is going on on the zope and browser sides. Zope itself has very little to do with Javascript; once it serves the JS all the requests look the same to Zope regardless of how they were generated. -- Martijn Pieters

Re: [Zope-dev] Proposal: Merge philikon-aq branch into Zope trunk

2008-04-17 Thread Martijn Pieters
is at this point not scheduled yet, but is unlikely to get a release before early 2009. This should give us plenty of time to test. Opinions, votes? +sys.maxint! Thanks, Hanno, for carrying this to it's completion! -- Martijn Pieters ___ Zope-Dev

Re: [Zope-dev] straighting out the SQLAlchemy integration mess

2008-04-09 Thread Martijn Pieters
a good idea. -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope-dev] Non-ASCII characters in URLs

2008-04-07 Thread Martijn Pieters
hexadecimal represent control characters; these must be encoded. Now, Zope could well support UTF-8 ids, and translate URLs appropriately, but in the meantime you could use the same scheme? -- Martijn Pieters ___ Zope-Dev maillist - Zope-Dev@zope.org http

  1   2   3   4   5   6   >