Re: [Zope3-dev] Building standalone ZPT from Zope 3 using zpkgtools

2005-04-21 Thread Fred Drake
On 4/21/05, Chris Withers [EMAIL PROTECTED] wrote: Yes, but there is no setup.py in the app version ;-) No, but there is install.py, which is the same thing. It is renamed to avoid confusion about whether the Makefile or setup.py is the preferred interface for working with the package. So,

Re: [Zope3-dev] Building standalone ZPT from Zope 3 using zpkgtools

2005-04-22 Thread Fred Drake
On 4/22/05, Shane Hathaway [EMAIL PROTECTED] wrote: don't think zpkgtools wants to manage dependencies on the whole system, yet that's what users need. Yes. It should be possible for zpkg to assemble the requirements metadata from components so that it all gets reported to distutils (if

Re: [Zope3-dev] Re: Dicts for faster membership testing

2005-04-25 Thread Fred Drake
On 4/25/05, Florent Guillaume [EMAIL PROTECTED] wrote: Hm I'd have said: A 1% increase, never worth the bother, will be drowned in other noise anyway. A consistent 1% increase is something, though, especially if there's no runtime downside. As Tim Peters regularly points out, lots of little

[Zope3-dev] Re: [Zope-dev] Re: ZConfig change breaks Zope 2 and Zope 3

2005-05-09 Thread Fred Drake
On 5/9/05, yuppie [EMAIL PROTECTED] wrote: But I still believe it was wrong to change the 'inet_address' datatype in ZConfig. I spoke with Tim about this briefly today, and I can't remember the reasons for some of the relevant changes. I suspect at this point that putting less magic in the

Re: [Zope3-dev] Zope 3 left in the dust wink

2005-05-19 Thread Fred Drake
On 5/19/05, Tim Peters [EMAIL PROTECTED] wrote: As a result, Zope3 trunk can't use ZODB 3.4b1 (I tried -- doesn't work) before someone stitches the new ZConfig release into Zope3. I'm willing to if nobody else is. Ideal would be someone familar with the uses of the ZConfig socket-address and

Re: [Zope3-dev] Zope 3 left in the dust wink

2005-05-19 Thread Fred Drake
On 5/20/05, Tim Peters [EMAIL PROTECTED] wrote: If introducing new types counts as a bug fix, maybe someone should. It fixed a bug in Zope 2.8 on Windows, but my understanding is that bug was unique to Zope 2.8, and because of a change made to SVN ZConfig last year that wasn't also made to CVS

Re: [Zope3-dev] DAV locking

2005-06-04 Thread Fred Drake
On 6/4/05, Sidnei da Silva [EMAIL PROTECTED] wrote: - Are there examples of using the locking framework? I've done some work with this, but its not open source. I don't have a lot of time, but will try to answer questions as much as possible. The documentation in zope.app.locking is pretty

Re: [Zope3-dev] zope-coders for zope3?

2005-06-24 Thread Fred Drake
On 6/23/05, Corey [EMAIL PROTECTED] wrote: Ok, I just finished setting up my svn+ssh contributor access. The https://cvs.zope.org/update.php page suggested that I join the zope-coders list - but that appears to be for Zope2, unless I'm mistaken. Is there a zope3-coders or somesuch? There is a

Re: [Zope3-dev] formparser and ids:list

2005-06-30 Thread Fred Drake
On 6/30/05, os [EMAIL PROTECTED] wrote: I try use zope.testing.formparser, but he not supply several elements with identical name: ... input name=ids:list value=1.../ input name=ids:list value=2.../ input name=ids:list value=3.../ ... Questions: How i can check like forms in my functional

Re: [Zope3-dev] local-utility location and registration

2005-07-05 Thread Fred Drake
On 7/5/05, Jim Fulton [EMAIL PROTECTED] wrote: It is not supported. We really need to clean this area up a lot. I hope to make some progress on this in Zope 3.2. There won't be any backward-compatibility code to support unusual usages like yours. I think we should be able to register things

Re: [Zope3-dev] ILocation vs IContained

2005-07-09 Thread Fred Drake
On 7/9/05, Roger Ineichen [EMAIL PROTECTED] wrote: No, I don't think so. Or at least if you create a object from it's factory e.g. in a addform this isn't true till the object get added to the container. Well, I think we're not supposed to be creating objects that inherit from Contained; I'm

Re: [Zope3-dev] ILocation vs IContained

2005-07-09 Thread Fred Drake
On 7/9/05, Roger Ineichen [EMAIL PROTECTED] wrote: Contained is the mixin class for the __parent__ and __name__ attributes or not? And we used it as this. Otherwise you have to implement __parent__ and __name__ in your own classes again and again. See the commet in the class: Stupid

Re: [Zope3-dev] Re: Encoding of the PageTemplateFile

2005-07-13 Thread Fred Drake
On 7/13/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: Andreas Reuleaux pointed me to the fact that this XML declaration should only be used for determining the ZPT input encoding, not the output encoding (which is set by negotiating the best available charset and is set in the

Re: [Zope3-dev] actions and subclasses in zc.page

2005-07-13 Thread Fred Drake
On 7/7/05, Martijn Faassen [EMAIL PROTECTED] wrote: I noticed another possible oddness with zc.page. When I subclass form.PageEditForm, I normally get an 'edit' action provided with it, as the baseclass defines this. The base class provides two things: - the implementation of the edit action,

Re: [Zope3-dev] Encoding of the PageTemplateFile

2005-07-15 Thread Fred Drake
On 7/15/05, Dmitry Vasiliev [EMAIL PROTECTED] wrote: - The code for guessing file input encoding in HTML mode based on the meta declaration. I can do it, but should the code be somewhere inside PageTemplateFile or inside HTMLTALParser?; I'd add it to PageTemplateFile.py for Zope 2, and

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/pagetemplate/ Now input encoding of a PageTemplateFile in 'html' mode is determined

2005-07-21 Thread Fred Drake
On 7/21/05, Dmitry Vasiliev [EMAIL PROTECTED] wrote: Log message for revision 37358: Now input encoding of a PageTemplateFile in 'html' mode is determined by meta declaration and then the declaration will stripped. Open question: Shouldn't meta/?xml? stripping be in

Re: [Zope3-dev] Formatting dates

2005-07-21 Thread Fred Drake
On 7/21/05, Garrett Smith [EMAIL PROTECTED] wrote: I guess my question was whether you see the widget handling the setting of the time zone, or the application. My vote would be that the widget deal with this, using adaptation to black box the process of finding the implicit tzinfo

Re: [Zope3-dev] Formatting dates

2005-07-21 Thread Fred Drake
On 7/21/05, Garrett Smith [EMAIL PROTECTED] wrote: I just want to avoid applying special handing for time zones outside the widget/schema framework. Right. One use case if for date/time values that have a tzinfo that's always UTC, and for which the input is always done in UTC. That seems like

Re: [Zope3-dev] Page Template oddity

2005-07-23 Thread Fred Drake
On 7/23/05, Andreas Reuleaux [EMAIL PROTECTED] wrote: ul is not allowed within a p tag, not even in HTML 4.01 Transitional Bingo! This is just my advice by looking at this problem from an html perspective - there still might be a problems with the zope page template code. The HTML parser

Re: [Zope3-dev] Re: Page Template oddity

2005-07-26 Thread Fred Drake
On 7/26/05, sureshvv [EMAIL PROTECTED] wrote: Me thinks the error message is pretty broken! Or is that now considered a PT feature? ;) I'll grant that it's less than ideal, but not broken by HTML standards. The p in the original source is closed by an implied /p where the ul starts, so while

Re: [Zope3-dev] Release Issues

2005-08-02 Thread Fred Drake
On 8/2/05, Jim Fulton [EMAIL PROTECTED] wrote: zopetest isn't installed into the instance, so isn't rewritten the way instance-specific scripts are. Yes, it is. This is the script that runs the Zope tests from the installation without regard to an instance. -Fred -- Fred L. Drake, Jr.

Re: [Zope3-dev] Release Issues

2005-08-02 Thread Fred Drake
On 8/1/05, Stephan Richter [EMAIL PROTECTED] wrote: I was just putting together the release and noticed a problem. zopetest.py does not honor the Python setting I specified during ./configure. It always selects /usr/bin/python. I'm just guessing you mean zopetest; I don't know what zopetest.py

Re: [Zope3-dev] Problem with zope.app.security._protections for tests

2005-08-07 Thread Fred Drake
On 8/7/05, Gary Poster [EMAIL PROTECTED] wrote: Have you ever written functional tests and been surprised that they get security proxies around i18n Messages and MessageIDs in the tests, but not in the server? I have. :-) I'm not sure how often people encounter this, but I think I've heard

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: For compatability reasons, zope.app.security._protections and the protect() function inside (though empty) should probably still exist for at least another release because people might be using it in their own tests (even though

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: Right. As I perhaps only hinted in the proposal, it is impossible to import _protections from zope.app.security, because of this in the __init__: import _protections _protections.protect() del _protections Depends on how you spell the

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Fred Drake [EMAIL PROTECTED] wrote: On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: Right. As I perhaps only hinted in the proposal, it is impossible to import _protections from zope.app.security, because of this in the __init__: import _protections _protections.protect

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: lol. eek. yuck. :-) Yep. Not sure what the best way to avoid this would be, either. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation ___ Zope3-dev mailing list

Re: [Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Gary Poster [EMAIL PROTECTED] wrote: I'm assuming you mean in Zope 3, rather than avoiding this possibility in Python, which seems like futile road. Indeed, and in particular, I was referring to the import behavior itself. Your solution avoids the import quirkiness altogether, so it

[Zope3-dev] Re: Problem with zope.app.security._protections for tests

2005-08-08 Thread Fred Drake
On 8/8/05, Florent Guillaume [EMAIL PROTECTED] wrote: Make a fake zope.app.security._protections module in sys.__modules__ ? I guess that would work. :-( (The solution to a yuck *can* be a super-yuck!) When the prescription is as bad as the disease, we've got problems better addressed by

Re: [Zope3-dev] Re: Input encoding of a PageTemplateFile

2005-08-10 Thread Fred Drake
On 8/10/05, Dmitry Vasiliev [EMAIL PROTECTED] wrote: Ok. Now I think that all this can be done somewhere inside zope.tal. I need to write a proposal... Sounds good. Maybe we can use universal newlines mode instead? I think that's the right thing to do. -Fred -- Fred L. Drake, Jr.

[Zope3-dev] First release of the zpkg packaging tool

2005-08-12 Thread Fred Drake
I've finally made the first release of the zpkg packaging tool that we're using for Zope 3 and ZODB these days. The release is available from the zpkg pages on Zope.org: http://www.zope.org/Members/fdrake/zpkgtools/ There is also a new mailing list to go along with it, so people interested

[Zope3-dev] Page templates and macro extension

2005-08-18 Thread Fred Drake
Gary brought up an issue with the macro extension work that Shane did in the page templates code for Zope 3.1; the relevant code does not exist in Zope 2.x or 3.0.x. Gary's bug report is issue 440 in the Zope 3 collector: http://www.zope.org/Collectors/Zope3-dev/440 There appears to be a

Re: [Zope3-dev] Pure-Python zope.proxy?

2005-08-18 Thread Fred Drake
On 8/18/05, Nathan R. Yergler [EMAIL PROTECTED] wrote: We're using some of the Zope libraries for non-Zope apps, and need to include zope.proxy. We're not at the point where we care about performance (well, much), so it would make life easier if we had a Pure Python version of zope.proxy.

[Zope3-dev] Re: Page templates and macro extension

2005-08-18 Thread Fred Drake
On 8/18/05, Shane Hathaway [EMAIL PROTECTED] wrote: My use case for macro extension is as follows: a third party provides a complex macro I'd like to reuse as a macro, but I want to replace only certain slots in my macro. I need my macro to offer all of the slots that the base macro offers,

[Zope3-dev] Re: Page templates and macro extension

2005-08-18 Thread Fred Drake
On 8/18/05, Shane Hathaway [EMAIL PROTECTED] wrote: Ok. It takes a while to twist my brain back into a mode that understands this stuff. Your solution adds capabilities without taking any away. +1. Cool! Thanks for helping think about this. Now that I see this better, I'll retract my

[Zope3-dev] New METAL feature for Zope 3.1

2005-08-18 Thread Fred Drake
Zope 3.1 will include a new feature in METAL, the Macro Expansion Tag Attribute Language used in page templates. The implementation is largely complete, but some issues with it were uncovered in the past week that have caused some re-evaluation of the details. At this point, we discovered that

[Zope3-dev] METAL 1.1 implemented, specification updated

2005-08-22 Thread Fred Drake
The METAL 1.1 specification has been updated (though it's still marked as a draft, pending review), and the implementation has been completed on the Zope 3 trunk and backported to the Zope 3.1 branch. This would be a good time to review the specification and ask any questions that come up. I

[Zope3-dev] Build-process changes

2005-08-24 Thread Fred Drake
Yesterday I made a change to the Zope 3 trunk that changes how the ZCML slugs from the package-includes/ directory are handled. If you're not accustomed to using make to build the software (at least on non-Windows platforms), you might want to run make at least once. Here's what changed: The

Re: [Zope3-dev] file objects and formlib

2005-08-26 Thread Fred Drake
On 8/26/05, Martijn Faassen [EMAIL PROTECTED] wrote: I just saw this being changed in the wiki (by Fred Drake): the new zope.formlib. - -- Reimplement file objects (for Zope 2 or Zope 3 to take advantage of the new 'zope.formlib' I just tweaked the wording a bit and added the missing

Re: [Zope3-dev] Proposed widget/schema work for the Rivah sprint (Thursday and Friday this week)

2005-08-30 Thread Fred Drake
On 8/30/05, Gary Poster [EMAIL PROTECTED] wrote: Adam, I'm sorry, I don't know much about the CustomWidgetFactory. We are using the zope.formlib package exclusively now (http:// svn.zope.org/zope.formlib/), which does not use custom widget factories or browser:widget. Dominik's email sounds

Re: [Zope3-dev] TALES namespace names cannot contain '-'

2005-09-01 Thread Fred Drake
On 9/1/05, Stephan Richter [EMAIL PROTECTED] wrote: Do any specifications need changing? I don't think so. If the directory the code is in has any TXT files you might want to read through them making sure that the characters are not mentioned anywhere. These are supposed to look like URL

Re: [Zope3-dev] package-includes

2005-09-01 Thread Fred Drake
On 9/1/05, Stephan Richter [EMAIL PROTECTED] wrote: Oh, and by the way, do not add ZCML files manually. Add a SETUP.cfg that adds the ZCML file. More information on how to do this is in the Zope 3 wiki: http://dev.zope.org/Zope3/BuildAndPackagingInfo -Fred -- Fred L. Drake, Jr.

Re: [Zope3-dev] Build problem

2005-09-02 Thread Fred Drake
On 9/2/05, Dmitry Vasiliev [EMAIL PROTECTED] wrote: There is a problem to build extensions for the Zope3 trunk (and I guess for ZODB trunk as well) - all extension module names is lowercased now. For example: This is a symptom of getting the wrong ZConfig version. This setup requires 2.3.1,

Re: [Zope3-dev] Build problem

2005-09-02 Thread Fred Drake
On 9/2/05, Dmitry Vasiliev [EMAIL PROTECTED] wrote: Before the fix (rev. 38239): ['buildsupport', ..., 'src'] After the fix: ['src','buildsupport', ...] Ok, I think I understand this now. Appearantly you have some version of ZConfig installed elsewhere that is getting picked up

Re: [Zope3-dev] package-includes

2005-09-02 Thread Fred Drake
On 9/2/05, Garanin Michael [EMAIL PROTECTED] wrote: OSError: [Errno 2] No such file or directory: '/home/os/WORK/Z3Sandbox/package-includes' Is it bug? Ah, yes! This is indeed a bug introduced by some recent changes. I'll fix it. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com

Re: [Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/schema/interfaces.py - add IIterableChoice and note the desire to depricate vocabularies

2005-09-05 Thread Fred Drake
On 9/5/05, Stuart Bishop [EMAIL PROTECTED] wrote: Urgh... I hadn't noticed that in vocabularies before. I believe this has other side effects too, such as if I do list(mysource), Python calls mysource.__len__ (if it exists) to preallocate the list size. Wierd things can happen if your class

Re: [Zope3-dev] Re: Source API

2005-09-06 Thread Fred Drake
On 9/6/05, Stuart Bishop [EMAIL PROTECTED] wrote: It was more problematic in the Vocabulary code, because IVocabulary extended IIterableVocabulary, forcing all vocabularies to implement that interface. Sources give us the opportunity to reverse and fix that, making IIterableSource extend

Re: [Zope3-dev] Zope3 and ZEO

2005-09-06 Thread Fred Drake
On 9/6/05, Tim Peters [EMAIL PROTECTED] wrote: I made an internal release of ZODB 3.5.1b1 (with Fred's changes) and stitched it into Zope3/branches/Zope-3.1. Zope3 3.1's bin/mkzeoinstance seems to work now, but I never used this Zope3 script before, so it would be good if someone who has

Re: [Zope3-dev] RC 3 for Zope 3.1 needed

2005-09-06 Thread Fred Drake
On 9/6/05, Gary Poster [EMAIL PROTECTED] wrote: I talked with Stuart on IRC. It appears to be a symptom of using pytz incorrectly in i18n (it needs to localize, as per the pytz README). He said he would look into the i18n package and try to address. Excellent! Thanks for the update.

Re: [Zope3-dev] Failing test, Zope3 trunk, Windows

2005-09-06 Thread Fred Drake
On 9/7/05, Stuart Bishop [EMAIL PROTECTED] wrote: There is an issue if timezone definitions change. So for instance, if you pickled a datetime instance for 13:00 1st April 2007 US/Eastern with version 2005k of pytz, if you unpickled it using version 2005m of pytz it would still think it was

Re: [Zope3-dev] A Call for Slaves

2005-09-07 Thread Fred Drake
On 9/7/05, Benji York [EMAIL PROTECTED] wrote: You might want to disable the ability for anyone on the Internet to force a build; I know I wasn't comfortable with that option being turned on. Indeed. Even turning it off doesn't prevent it from displaying a (non-working) Ping Builder button.

Re: [Zope3-dev] Zope3 and ZEO

2005-09-07 Thread Fred Drake
On 9/7/05, Uwe Oestermeier [EMAIL PROTECTED] wrote: I dedected another problem: bin/runzeo doesn't start ZEO. This script calls ZEO/runzeo.py which has a main function but no if __name__ == __main__ : main() at the end. Has this already been fixed in the mentioned internal branch?

Re: [Zope3-dev] Failing test, Zope3 trunk, Windows

2005-09-08 Thread Fred Drake
On 9/8/05, Stuart Bishop [EMAIL PROTECTED] wrote: They are picked as name references, and pytz tries a number of steps to get the best match if the database has been corrected violently. You can't get broken broken pickles unless I stuff up and remove a zone completely, which would be a bug.

Re: [Zope3-dev] Re: Re: A Call for Slaves

2005-09-08 Thread Fred Drake
On 9/8/05, Benji York [EMAIL PROTECTED] wrote: That'd be great. When you're ready install BuildBot from http://buildbot.sf.net. It requires Twisted which requires (and It's worth noting that you should install BuildBot 0.6.6; you don't want to install a different version than the master is

Re: [Zope3-dev] Re: Source API

2005-09-11 Thread Fred Drake
I wrote: The current ITerms approach for sources makes terms essentially views on the values from the source, so that's a good way to provide things like XHTML snippets that can be used in the UI. On 9/11/05, Stuart Bishop [EMAIL PROTECTED] wrote: So lets say I have a Source that provides

Re: [Zope3-dev] Re: most specific interface?

2005-09-16 Thread Fred Drake
On 9/16/05, Florent Guillaume [EMAIL PROTECTED] wrote: (Or use a convenience method to do that, I'm not sure if alsoProvides() was ever implemented.) zope.interface.alsoProvides() works like a champ. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation

Re: [Zope3-dev] TALES: ExpressionEngine vs Context

2005-09-19 Thread Fred Drake
On 9/19/05, Thomas Lotze [EMAIL PROTECTED] wrote: I fiddled a bit with TAL, METAL and TALES without page templates, using TALGenerator (from zope.tal.talgenerator) and TALInterpreter (from zope.tal.talinterpreter) directly. Something puzzles me about the engine related parameter the __init__

Re: [Zope3-dev] i18n in ZPT half-broken?

2005-09-19 Thread Fred Drake
On 9/19/05, Jean-Marc Orliaguet [EMAIL PROTECTED] wrote: Hi! I'm having trouble getting strings to be translated using tal:content=variable or tal:replace=variable ... according to the documentation, i18n:translate= tal:content=... should translate the evaluated content. ... it works in

Re: [Zope3-dev] i18n in ZPT half-broken?

2005-09-19 Thread Fred Drake
On 9/19/05, Jean-Marc Orliaguet [EMAIL PROTECTED] wrote: I'm using the trunk (from 1 hour ago ..). I'm filing a bug .. That's consistent with Stephan diagnosis. Thanks for following up! -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope Corporation

Re: [Zope3-dev] Functional tests failing on Windows

2005-09-20 Thread Fred Drake
On 9/20/05, Tim Peters [EMAIL PROTECTED] wrote: Something that worked was to delete every file reachable from zopeskel/ that wasn't under SVN control, and start over. Maybe that's what the Makefile's `clean` target does (in part): rm -f zopeskel/etc/package-includes/*.zcml Yes, that's

[Zope3-dev] zpkg 1.0.0 released

2005-09-20 Thread Fred Drake
I've posted a release of zpkg 1.0.0 on the zpkg webpage: http://www.zope.org/Members/fdrake/zpkgtools/ The documentation has been reviewed and revised, so hopefully it won't be so hard to dive into, though there's still a lot to pick up on when starting fresh. Thanks to Stephan Richter

Re: [Zope3-dev] zope.app.recorder not in 3.1c3

2005-09-22 Thread Fred Drake
On 9/22/05, Gary Poster [EMAIL PROTECTED] wrote: Is this zope.app.recorder? I think so. If so, it appears to be in the 3.1 branch, but not in the c3 release. :-/ I think Stephan already acknowledged this as a documentation bug. It can be fixed for the release w/out risk. While I'm

Re: [Zope3-dev] browserDefault uses '@@' for containers

2005-09-22 Thread Fred Drake
On 9/22/05, Gary Poster [EMAIL PROTECTED] wrote: I believe that the idea is that the container traverser wants to specify that the default view name is a view, not an object in the container. That is, if the default view is named index.html, and I have an object in the container named

Re: [Zope3-dev] event before delete

2005-09-26 Thread Fred Drake
On 9/26/05, Florent Guillaume [EMAIL PROTECTED] wrote: This will make some porting / compatibility more difficult. I may add an IObjectWillBeRemovedEvent in Five for that, but maybe it makes sense to have it in pure Zope 3 ? I think it does. -Fred -- Fred L. Drake, Jr.fdrake at

Re: [Zope3-dev] collector issue 438: canWrite throwing forbidden attribute

2005-09-27 Thread Fred Drake
On 9/27/05, Gary Poster [EMAIL PROTECTED] wrote: Hi. Kevin (cc'd, along with the person whom I believe filed the original bug) asked me to look at collector issue 438. Here are a few thoughts and observations. Ok, this made me look at the collector issue again, since

Re: [Zope3-dev] Creating ZPT package

2005-09-28 Thread Fred Drake
On 9/28/05, Ian Bicking [EMAIL PROTECTED] wrote: I'd like to create a package of just ZPT. I found these instructions (from: http://archives.free.net.ph/message/20050421.065130.bce4f2a1.en.html) Ok, here's how to build a ZPT distribution from the Zope 3 trunk: 1. Check out Zope 3. 2. cd to

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/ move the Zope 3 trunk to Python 2.4

2005-09-30 Thread Fred Drake
On 9/30/05, Julien Anguenot [EMAIL PROTECTED] wrote: Great ! ;) Yeah, we've talked about it here and on IRC, but nobody did anything. Then the tests failed because code got checked in that assumed 2.4, so I figured it was time. :-) -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Zope

[Zope3-dev] zcml:condition registry?

2005-09-30 Thread Fred Drake
The last time we discussed the zcml:condition attribute for ZCML, we decided that there should be a general registry of feature names that should be checked when defining a new feature name. I think that I suggested a page in the Zope 3 wiki as the registry. Does anyone remember a registry ever

Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Fred Drake
On 9/30/05, Gary Poster [EMAIL PROTECTED] wrote: A generally accessible web page has some advantages--it is easy to read, and usable even if you don't have the most recent version of the software, for instance. It has some problems too. The up-to-dateness of the registry is what I'm most

Re: [Zope3-dev] zcml:condition registry?

2005-09-30 Thread Fred Drake
For the record, Gary capitulated via IM rather than by email to the list. (I didn't even have to force his hand... wonder if he's feeling ill?) I'm send this email to: 1. Give Gary a chance to say Oh no I didn't! in public. :-) 2. Let people know the truth of the matter. :-) 3. Note that

Re: [Zope3-dev] zcml:condition registry?

2005-10-01 Thread Fred Drake
On 10/1/05, Benji York [EMAIL PROTECTED] wrote: We don't want two people to use different names for the same feature, or worse the same name for two different features. Right; this registry isn't for the software, but for the humans that have to write and maintain the stuff. -Fred -- Fred

Re: [Zope3-dev] zcml:condition registry?

2005-10-03 Thread Fred Drake
On 10/3/05, Lennart Regebro [EMAIL PROTECTED] wrote: OK. How come we just don't use dotted names? We can use dotted names, but sometimes we still want to know what else is out there. Dotted names help avoid accidental collisions in a small namespace, but do not help us know what is provided. I

Re: [Zope3-dev] Re: zope3 website report?

2005-10-11 Thread Fred Drake
On 10/11/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: - a ZWiki on a bare Zope 2 is set up within minutes A ZWiki as found on the current zope.org is unusable, so I'll presume you mean an up-to-date ZWiki, which I expect is much nicer. Again (and I'm saying this again with the

Re: [Zope3-dev] Re: zope3 website report?

2005-10-11 Thread Fred Drake
On 10/11/05, Simon Michael [EMAIL PROTECTED] wrote: PS - I believe you can predict a site's and its project's success based on whether it f*ks^H^H^H shrinks the fonts. Seriously. :) php.net, drupal.org, gnome.org, debian.org leave the font alone. You may be on to something. :-) New theory:

Re: [Zope3-dev] Re: .xpt extension for explicit xml processing

2005-10-14 Thread Fred Drake
On 10/14/05, Tonico Strasser [EMAIL PROTECTED] wrote: So if the goal is to make PTs modeless and to dismiss HTML support (not XHTML support) and preserve some backwards compatibility this is OK for me. Because I don't deal with classic HTML. Excellent! Yes. (However, most HTML browsers are

Re: [Zope3-dev] how to create a release tarball from svn-checkout of Z3.1.0?

2005-10-17 Thread Fred Drake
On 10/17/05, Mark R. Biggers [EMAIL PROTECTED] wrote: Hello, I would like to create a release tarball for a Linux system, from a svn checkout of: Instructions on creating a source tarball can be found here: http://dev.zope.org/Zope3/MakingARelease The 'zope.org' tarball (and the

Re: [Interface-dev] Re: [Zope3-dev] tagged value handling inconsequent for interface methods and attributes and interfaces themself

2005-10-24 Thread Fred Drake
On 10/24/05, Stephan Richter [EMAIL PROTECTED] wrote: Any comments before I spend time writing this up? Sounds like a good approach to me. I'd like something a little nicer to work with than the current model. -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early, when

Re: [Zope3-dev] Zope3/zpkgsetup

2005-10-30 Thread Fred Drake
On 10/29/05, Philipp von Weitershausen [EMAIL PROTECTED] wrote: just a quick question: the 'zpkgsetup' in the root Zope3 directory was replaced by buildsupport/zpkgsetup and is a dead chicken waiting to be removed, right? That was removed when the setup.py was modified to use buildsupport/.

[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/branches/zipimport-support/src/zope/configuration/DEPENDENCIES.cfg new dependency

2005-11-09 Thread Fred Drake
[Moving discussion to zope3-dev from zope3-checkins.] On 11/9/05, Stephan Richter [EMAIL PROTECTED] wrote: Could we name the package something else, like zipresource or so? Resource is a somewhat loaded word in Zope 3 already. I'm open to suggestions. I don't like zipresource since this is

[Zope3-dev] ZIP archives for Zope code

2005-11-11 Thread Fred Drake
Hey! I've just spent the week in San Jose at a sprint working on packaging. Most of my time went into working out a way to use ZIP files to contain Zope packages; this includes support for eggs. I'm going to be travelling until sometime tomorrow, so I'd like to point people to my report of what

Re: [Zope3-dev] RE: [Zope3-Users] Maybe bug in pagetemplate parser?

2005-11-16 Thread Fred Drake
On 11/14/05, Roger Ineichen [EMAIL PROTECTED] wrote: This is a bug, please add a issue to the bugtracker! The parser engine tries to interprete the div tag. Though this is most certainly a contentious feature, this is not a bug in the parser, but a bug in the template itself. The parser is a

Re: [Zope3-dev] RE: [Zope3-Users] Maybe bug in pagetemplate parser?

2005-11-17 Thread Fred Drake
On 11/17/05, Roger Ineichen [EMAIL PROTECTED] wrote: Does this also work: '\/div' instead of ''+'\div' It should. Remember to use '\div' instead of 'div' as well. :-) -Fred -- Fred L. Drake, Jr.fdrake at gmail.com Society attacks early, when the individual is helpless. --B.F. Skinner

Re: [Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/src/zope/app/content_types - ported OFS.content_types from Z2 to Z3 (which is the most recent maintained code)

2005-12-12 Thread Fred Drake
On 12/12/05, Janko Hauser [EMAIL PROTECTED] wrote: Is this done on purpose? Or is this implementation meant as a basic one, which will be replaced by something like a filesystem storage or the new zodb-blob support in the upcoming next version? Our intention is to support the ZODB blobs

Re: [Zope3-dev] RFC: abolishing python: expressions in ZPT TALES

2005-12-30 Thread Fred Drake
On 12/29/05, Jeff Shell [EMAIL PROTECTED] wrote: in the picture. But there are still little situations where Python expressions are handy, especially on big-macro templates where there's not a backing view. I'm not advocating programming in page templates, This points out where change is

Re: [Zope3-dev] attr name space (was: RFC: abolishing python: expressions)

2005-12-30 Thread Fred Drake
On 12/30/05, Jeff Shell [EMAIL PROTECTED] wrote: - the TAL namespace had a limited and proper list of attributes. A very limited set of names that could be (theoretically) validated with standard XML tools. This should probably remain a goal, but I don't think it's as big a deal as the

Re: [Zope3-dev] attr name space

2005-12-30 Thread Fred Drake
On 12/30/05, Andreas Jung [EMAIL PROTECTED] wrote: Wasn't the ZPT list considered obsolete some time ago? No. The ZIP list is dead. I think there was a suggestion that the ZPT list should be closed, but I disagreed with that since there are a number of ZPT users outside of Zope, including

Re: [Zope3-dev] Re: .xpt extension for explicit xml processing

2006-01-12 Thread Fred Drake
On 1/12/06, Tonico Strasser [EMAIL PROTECTED] wrote: I found another situation where HTML mode helps the author to be backward (speak MSIE 6) compatible: In XML mode this snippet html xmlns=blah script/script /html ... . This would cause IE to display a blank page! The code that's been

Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Fred Drake
On 1/12/06, Gary Poster [EMAIL PROTECTED] wrote: Problem: We want to perform actions when a user is added to a group, and possibly when a user is removed from a group. There is no hook point for this currently in the zope.app.authentication code. We certainly have use-cases for code that

Re: [Zope3-dev] December release post-mortem

2006-01-18 Thread Fred Drake
On 1/18/06, Jim Fulton [EMAIL PROTECTED] wrote: If eggs work out, as I hope they will, I'd like to stop work on zpkg and just use eggs. +42 -Fred -- Fred L. Drake, Jr.fdrake at gmail.com There is no wealth but life. --John Ruskin ___

Re: [Zope3-dev] RFC: ZConfig and other formats for ZCML

2006-01-21 Thread Fred Drake
On 1/21/06, Jim Fulton [EMAIL PROTECTED] wrote: are really attributes of foo. In ZCML, this might have been: foo x=1 y=2 / Except this breaks down in the case of ZConfig multikey elements, which allow configuration like this: foo x = 1 x = 2 y = 3 /foo

Re: [Zope3-dev] Re: RFC: ZConfig and other formats for ZCML

2006-01-22 Thread Fred Drake
On 1/22/06, Jim Fulton [EMAIL PROTECTED] wrote: Do you understand that this proposal isn't proposing any new syntaxes? Do I understand correctly that you're proposing adding a way to spell ZConfig configuration schema using ZCML? You do, of course, realize that we already have 2 configuration

Re: [Zope3-dev] RFC: ZConfig and other formats for ZCML

2006-01-23 Thread Fred Drake
On 1/23/06, Chris Withers [EMAIL PROTECTED] wrote: As I said earlier, I think XML is wrong for configuration for exactly this kind of reason... element-based is right for this type of config, it's why Apache uses, it's why Zope 2 uses it, and it's why Zope 3 uses it for the .conf file...

Re: [Zope3-dev] Re: RFC: ZConfig and other formats for ZCML

2006-01-23 Thread Fred Drake
On 1/23/06, Sidnei da Silva [EMAIL PROTECTED] wrote: I suspect ZConfig was designed after the apache config format. I also suspect you haven't configured much Apache yourself. Indeed, Apache configuration files were a major influence, and the intended audience is substantially the same.

Re: [Zope3-dev] ZCML bad ;-)

2006-01-24 Thread Fred Drake
On 1/24/06, Chris Withers [EMAIL PROTECTED] wrote: I find it irksome to have to type them at the top of ever file. Is there no way that they could be pre-bound in the XML parser? That way you'd only need to inlcude them if you wanted to rebind them... Even if we could avoid it at a technical

Re: [Zope3-dev] Re: ZCML bad ;-)

2006-01-24 Thread Fred Drake
On 1/24/06, Chris Withers [EMAIL PROTECTED] wrote: Shane Hathaway wrote: Philipp von Weitershausen wrote: However, I think one namespace for ZCML is enough. Are you sure? Perhaps it's reasonable to use a single namespace for all the ZCML directives defined as part of the Zope 3 release.

Re: [Zope3-dev] Re: Refresh / Change-Buttons

2006-01-27 Thread Fred Drake
On 1/27/06, Christian Theune [EMAIL PROTECTED] wrote: I did. That's why I'm posting. I had to go through that form again. :) Even worse, those are the first submit button for many pages, so that's what gets submitted when you hit Enter. That's even easier to do than clicking the button itself.

Re: [Zope3-dev] My Experiences using Interface invariants with Formlib

2006-01-30 Thread Fred Drake
On 1/30/06, Michael Howitz [EMAIL PROTECTED] wrote: I have an interface with two password fields which should be equal: class IUser(Interface): password=zope.schema.Password(title=upassword) password2=zope.schema.Password(title=upassword again) Gary outlined one approach, but I'll

Re: [Zope3-dev] Re: Zope 3 Book

2006-02-03 Thread Fred Drake
On 2/3/06, Jim Fulton [EMAIL PROTECTED] wrote: *Or* you could admit defeat and maintain the book in an accessible format like Word or Open Office. :) There's the question of accessible to whom? here. -1 for binary formats. (Yes, I know OpenDocument docs are XML inside, but they're incredibly

Re: [Zope3-dev] Selecting a code name

2006-02-07 Thread Fred Drake
On 2/7/06, Paul Winkler [EMAIL PROTECTED] wrote: As I said before, I'm +0 on enhancing the brand, -1 on adding release codenames. IMO codenames make it harder, not easier, to talk about releases. Which came first - Cheetah or Puma? I submit that nobody but a certified mac geek can answer

Re: [Zope3-dev] Re: Selecting a code name

2006-02-07 Thread Fred Drake
On 2/7/06, Alen Stanisic [EMAIL PROTECTED] wrote: upcoming marketing campaign :). The X can send this message better than any other single character and it's not as obtrusive as adding or changing a name. I believe to certain extent there is already understanding out there that X could mean

  1   2   3   >