[Zope-CMF] Improve encoding/charset detection for FSPageTemplate

2009-05-17 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

Continuing the Dieter-inspired fixes, I have created a patch to  
improve the encoding/charset detection for FSPageTemplate objects, and  
replace the current hard-coded Latin-15 fallback with a mechanism used  
by the current ZopePageTemplate code. It uses a list of preferred  
encodings, which can be added to by using an environment variable.

Please take a look at the Launchpad entry I created[1], it contains  
the patch file to quickly see the necessary changes.

If you see a good reason to not merge the changes, please speak up,
either here or via Launchpad issue comment. If no one speaks up, I
will merge the change during the last week of May.

Thanks!

jens

[1] https://bugs.launchpad.net/zope-cmf/+bug/322263


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkoP2FwACgkQRAx5nvEhZLLGeACeOC67PfF6Hxocg6tJhr+WLGe4
9r0Anj2MMVB67XeHTsS8ViLwtTt51FN5
=vgvz
-END PGP SIGNATURE-
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Improve encoding/charset detection for FSPageTemplate

2009-05-17 Thread Charlie Clark

Am 17.05.2009 um 11:26 schrieb Jens Vagelpohl:

> Continuing the Dieter-inspired fixes, I have created a patch to
> improve the encoding/charset detection for FSPageTemplate objects, and
> replace the current hard-coded Latin-15 fallback with a mechanism used
> by the current ZopePageTemplate code. It uses a list of preferred
> encodings, which can be added to by using an environment variable.

+1 especially any attempt to autodetect UTF-8

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Making it easier to replace MemberData implementation

2009-05-17 Thread Charlie Clark

Am 16.05.2009 um 10:58 schrieb Jens Vagelpohl:

> I haven't chosen his particular implementation to reach that goal, but
> one that IMHO fits better with the direction we're going, by using a
> named factory utility. If no suitable utility is registered, the
> implementation falls back to the hardcoded MemberData class.


+10 ;-)

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] Actions growing link target attributes

2009-05-17 Thread Charlie Clark

Am 15.05.2009 um 16:31 schrieb Jens Vagelpohl:

> The first chunk of code enables the administrator to set the value of
> the link target for an action, which can then be used to fill the link
> tag "target" attribute during rendering.


This is an excellent idea.

+1

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] CMF Tests: 7 OK

2009-05-17 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Sat May 16 12:00:00 2009 UTC to Sun May 17 12:00:00 2009 UTC.
There were 7 messages: 7 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Sat May 16 21:32:38 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011456.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Sat May 16 21:34:41 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011457.html

Subject: OK : CMF-trunk Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Sat May 16 21:36:42 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011458.html

Subject: OK : CMF-trunk Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Sat May 16 21:38:42 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011459.html

Subject: OK : CMF-trunk Zope-trunk Python-2.4.6 : Linux
From: CMF Tests
Date: Sat May 16 21:40:43 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011460.html

Subject: OK : CMF-trunk Zope-trunk Python-2.5.4 : Linux
From: CMF Tests
Date: Sat May 16 21:42:43 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011461.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.1 : Linux
From: CMF Tests
Date: Sat May 16 21:44:43 EDT 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-May/011462.html

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests