Re: [Zope-dev] z3c.form 2.0 release?

2009-05-24 Thread Adam GROSZER
Hello Malthe, Tiny problem is that the doctests seem to have the attributes in lxml-sane order. That means just by removing lxml output-sanitization even zpt output does not match the doctest. Also, lxml is used to do some xpath queries. Saturday, May 23, 2009, 10:23:16 AM, you wrote: MB

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-23 Thread Adam GROSZER
Hello Malthe, The problem that I see here with lxml is that it is used for output checking. Even worse z3c.form requires at least 2.1.1 of lxml, where KGS 3.4 has lxml nailed at 1.3.6. This burpes already on buildout. Now even if I would ignore this requirement for testing, (and testing) how

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-23 Thread Malthe Borch
2009/5/23 Adam GROSZER agros...@gmail.com: The problem that I see here with lxml is that it is used for output checking. Even worse z3c.form requires at least 2.1.1 of lxml, where KGS 3.4 has lxml nailed at 1.3.6. It might be possible to shed this testing dependency; ``lxml`` is used because

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-22 Thread Malthe Borch
2009/5/21 David Glick davidgl...@onenw.org: Won't this cause problems if a z3c.form uses a template which calls a macro from a traditional Zope page template?  That is, make it impossible to use z3c.form in a site that isn't using z3c.pt for everything? That was the reason for z3c.ptcompat; it

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-22 Thread David Glick
On May 21, 2009, at 11:09 PM, Malthe Borch wrote: 2009/5/21 David Glick davidgl...@onenw.org: Won't this cause problems if a z3c.form uses a template which calls a macro from a traditional Zope page template? That is, make it impossible to use z3c.form in a site that isn't using

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-21 Thread Adam GROSZER
Hello Malthe, Well, the strong target is to make z3c.form 2.0 compatible with KGS 3.4. (z3c.pt is somehow intertwined with z3c.ptcompat too.) That's the goal am chasing though I'm quite busy right now. Wednesday, May 20, 2009, 9:28:33 AM, you wrote: MB Hello Adam, –– MB The z3c.pt package

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-21 Thread Malthe Borch
2009/5/21 Adam GROSZER agros...@gmail.com: Well, the strong target is to make z3c.form 2.0 compatible with KGS 3.4. (z3c.pt is somehow intertwined with z3c.ptcompat too.) That's the goal am chasing though I'm quite busy right now. I don't know the implications of requiring zope.i18n = 3.5, but

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-21 Thread David Glick
On May 21, 2009, at 1:10 AM, Malthe Borch wrote: I think at this point that z3c.form could have a strong dependency on z3c.pt. Complete list of extra packages: Won't this cause problems if a z3c.form uses a template which calls a macro from a traditional Zope page template? That is, make it

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-20 Thread Malthe Borch
Hello Adam, –– The z3c.pt package shouldn't have difficult dependencies; it depends on zope.i18n = 3.5 but reasons unknown to me (Hanno CC'ed). Note that the package no longer depends on ``lxml``. \malthe ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-20 Thread Hanno Schlichting
Hi. Malthe Borch wrote: The z3c.pt package shouldn't have difficult dependencies; it depends on zope.i18n = 3.5 but reasons unknown to me (Hanno CC'ed). The zope.i18n 3.5 dependency is used for the optimized i18n support in Chameleon. I ported all the performance tweaks we made in Plone and

Re: [Zope-dev] z3c.form 2.0 release?

2009-05-18 Thread Adam GROSZER
Hello Michael, I'm trying to make z3c.pt optional at svn://svn.zope.org/repos/main/z3c.form/branches/adamg-z3c-pt-optional because it just pulls in too many packages from the trunk that makes it impossible to make a sort of compatibility layer for KGS 3.4. Where being unable to use z3c.form with

[Zope-dev] z3c.form 2.0 release?

2009-05-17 Thread Michael Howitz
Hi, what is still to be done for the z3c.form 2.0 release? Something I can help? Yours sincerely, -- Michael Howitz · m...@gocept.com · software developer gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1

Re: [Zope-dev] z3c.form 2.0 release

2008-12-11 Thread Michael Howitz
Am 09.12.2008 um 12:15 schrieb Roger Ineichen: [...] Should I do that tomorrow? And adjust all related packages like zope.app.form, z3c.form etc. Are there other packages which use ITerms except the one in zope.*? Christian, are you fine with this? Can you based on that merge your branch to

Re: [Zope-dev] z3c.form 2.0 release

2008-12-11 Thread Adam GROSZER
Hello, A different question now: Do we need the attributes size= alt= maxlength= for *hidden* text and textarea inputs? I'm not an HTML guru, but does not seem to make much sense. (textarea does not have a hidden pt yet, but soon) -- Best regards, Adam GROSZER

Re: [Zope-dev] z3c.form 2.0 release

2008-12-11 Thread Stephan Richter
On Thursday 11 December 2008, Adam GROSZER wrote: size= alt= maxlength= for *hidden* text and textarea inputs? I'm not an HTML guru, but does not seem to make much sense. No, I think they are not even valid HTML. Regards, Stephan -- Stephan Richter Web Software Design, Development and

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Hermann Himmelbauer
Am Dienstag 09 Dezember 2008 16:24:41 schrieb Roger Ineichen: Hi Brian Betreff: Re: [Zope-dev] z3c.form 2.0 release On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote: On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Roger Ineichen
Hi Herman Betreff: Re: [Zope-dev] z3c.form 2.0 release Am Dienstag 09 Dezember 2008 16:24:41 schrieb Roger Ineichen: Hi Brian Betreff: Re: [Zope-dev] z3c.form 2.0 release On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote: On Friday 05 December 2008, Martin

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Malthe Borch
2008/12/10 Brian Sutherland [EMAIL PROTECTED]: Below are the failures, Malthe, would you mind having a look at these? I'll take a look at them; seems to be __repr__-related all around. \malthe ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Brian Sutherland
On Wed, Dec 10, 2008 at 11:05:06AM +0100, Hermann Himmelbauer wrote: Someone recently suggested to rename it to z3c.schema.iban, which sounds a good idea to me, however, in this case my package would use another package, namely z3c.schema, as namespace. So what's your suggestion in this

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Hermann Himmelbauer
Am Mittwoch 10 Dezember 2008 13:02:02 schrieb Roger Ineichen: Hi Herman Betreff: Re: [Zope-dev] z3c.form 2.0 release Am Dienstag 09 Dezember 2008 16:24:41 schrieb Roger Ineichen: Hi Brian Betreff: Re: [Zope-dev] z3c.form 2.0 release On Sun, Dec 07, 2008 at 11:27:01PM

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Brian Sutherland
On Tue, Dec 09, 2008 at 09:09:26PM +0100, Brian Sutherland wrote: On Tue, Dec 09, 2008 at 04:31:33PM +0100, Malthe Borch wrote: 2008/12/9 Roger Ineichen [EMAIL PROTECTED]: I agree A package should never use another package as it's namespace. Which means a package can not be both a

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Sutherland wrote: On Wed, Dec 10, 2008 at 11:05:06AM +0100, Hermann Himmelbauer wrote: Someone recently suggested to rename it to z3c.schema.iban, which sounds a good idea to me, however, in this case my package would use another package,

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tres Seaver wrote: Brian Sutherland wrote: On Wed, Dec 10, 2008 at 11:05:06AM +0100, Hermann Himmelbauer wrote: Someone recently suggested to rename it to z3c.schema.iban, which sounds a good idea to me, however, in this case my package would

Re: [Zope-dev] z3c.form 2.0 release

2008-12-10 Thread Brian Sutherland
On Wed, Dec 10, 2008 at 01:29:49PM -0500, Tres Seaver wrote: Note that the __file__ of the namespace package is not guaranteed to be in one or the other egg, which is why namespace packages must have nothing more in their __init__.py than the boilerplate which declares the namespace. With

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Michael Howitz
Am 08.12.2008 um 08:27 schrieb Stephan Richter: On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9 release, but is on trunk (for a list with textline value type), and are wondering

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Roger Ineichen
Hi Michael Betreff: Re: [Zope-dev] z3c.form 2.0 release Am 08.12.2008 um 08:27 schrieb Stephan Richter: On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9 release

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Stephan Richter
On Tuesday 09 December 2008, Michael Howitz wrote: There is still the zagy-sources branch which makes z3c.form usable   together with sources (not only vocabularies). I'd be happy to merge   it to the trunk. I would love to have this branch merged and even wait a few days with the release

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Michael Howitz
Am 09.12.2008 um 11:01 schrieb Roger Ineichen: [...] There is still the zagy-sources branch which makes z3c.form usable together with sources (not only vocabularies). I'd be happy to merge it to the trunk. But it adds a dependency to zope.app.form as it needs

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Michael Howitz
Am 09.12.2008 um 12:15 schrieb Roger Ineichen: [...] Should I do that tomorrow? And adjust all related packages like zope.app.form, z3c.form etc. Are there other packages which use ITerms except the one in zope.*? zc.sourcefactory, but I can migrate it myself. Christian, are you fine with

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Brian Sutherland
On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote: On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9 release, but is on trunk (for a list with textline value type), and

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Roger Ineichen
Hi Stephan, Michael, others Betreff: Re: [Zope-dev] z3c.form 2.0 release On Tuesday 09 December 2008, Michael Howitz wrote: There is still the zagy-sources branch which makes z3c.form usable together with sources (not only vocabularies). I'd be happy to merge it to the trunk. I

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Michael Howitz
Am 09.12.2008 um 11:06 schrieb Stephan Richter: On Tuesday 09 December 2008, Michael Howitz wrote: There is still the zagy-sources branch which makes z3c.form usable together with sources (not only vocabularies). I'd be happy to merge it to the trunk. I would love to have this branch merged

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Roger Ineichen
Hi Brian Betreff: Re: [Zope-dev] z3c.form 2.0 release On Sun, Dec 07, 2008 at 11:27:01PM -0800, Stephan Richter wrote: On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Malthe Borch
2008/12/9 Roger Ineichen [EMAIL PROTECTED]: I agree A package should never use another package as it's namespace. Which means a package can not be both a package and namespace for other packages. Seems to work fine for e.g. ``repoze.bfg``. Malthe are you aware of this? Can you change it? I

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Christian Theune
Hi, On Tue, 2008-12-09 at 12:15 +0100, Roger Ineichen wrote: [...] I do not think there has been progress on the discussion, but we should just release the zope.browser package with this one interface in it for now. Another alternative would be for z3c.form to specify an ITerms

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Christian Theune
On Tue, 2008-12-09 at 12:39 +0100, Michael Howitz wrote: [...] Which Christian? If you mean me [...] I hope he doesn't mean you. That would increase gocept's Christian-ratio back to 38%. SCNR. -- Christian Theune · [EMAIL PROTECTED] gocept gmbh co. kg · forsterstraße 29 · 06112 halle (saale)

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Brian Sutherland
On Tue, Dec 09, 2008 at 04:31:33PM +0100, Malthe Borch wrote: 2008/12/9 Roger Ineichen [EMAIL PROTECTED]: I agree A package should never use another package as it's namespace. Which means a package can not be both a package and namespace for other packages. Seems to work fine for e.g.

Re: [Zope-dev] z3c.form 2.0 release

2008-12-09 Thread Malthe Borch
2008/12/9 Brian Sutherland [EMAIL PROTECTED]: Please let me know if there's a step I'm missing? There are other z3c.* packages which depend on it, namely z3c.template z3c.macro z3c.pagelet \malthe ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] z3c.form 2.0 release

2008-12-08 Thread Adam GROSZER
Hello, Coverage seems to burp on chameleon File /home/adi/z3c.form/src/z3c/form/tests/../adding.txt, line 13, in adding.txt Failed example: testing.setupFormDefaults() Exception raised: Traceback (most recent call last): File

Re: [Zope-dev] z3c.form 2.0 release

2008-12-08 Thread Malthe Borch
2008/12/8 Adam GROSZER [EMAIL PROTECTED]: Coverage seems to burp on chameleon I just tried a buildout in newest mode and I did not see the error you pasted. It's important that the CHAMELEON_CACHE flag be set to '0' in an automated test setup (this is set in the buildout for the test runner).

Re: [Zope-dev] z3c.form 2.0 release

2008-12-07 Thread Stephan Richter
On Friday 05 December 2008, Martin Aspeli wrote: Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9 release, but is on trunk (for a list with textline value type), and are wondering whether to roll our own or wait for a new z3c.form

[Zope-dev] z3c.form 2.0 release

2008-12-05 Thread Martin Aspeli
Hi, Is there any indication on when we'll see a 2.0 release of z3c.form? We need a widget that's not in the 1.9 release, but is on trunk (for a list with textline value type), and are wondering whether to roll our own or wait for a new z3c.form release. Martin -- Author of `Professional