[Zope-Checkins] SVN: Zope/branches/zeomega-2.11-memory-fixes/ Adding a branch from 2.11 for ZeOmega to work on fixes related to memory leaks in related to Shared.ZRDB.Results. See Launchpad ticket: ht

2010-02-02 Thread Brad Allen
Log message for revision 108725:
  Adding a branch from 2.11 for ZeOmega to work on fixes related to memory 
leaks in related to Shared.ZRDB.Results. See Launchpad ticket: 
https://bugs.launchpad.net/zope2/+bug/143917
  

Changed:
  A   Zope/branches/zeomega-2.11-memory-fixes/

-=-
___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/branches/zeomega-2.11-memory-fixes/lib/python/Shared/DC/ZRDB/Results.py Changed the class declaration inside the record_cls_factory to use the builtin 'type' class constructo

2010-02-02 Thread Brad Allen
Log message for revision 108729:
  Changed the class declaration inside the record_cls_factory to use the 
builtin 'type' class constructor to  avoid any chance of outer scope references 
leaking in closure-style (this is probably over paranoid but it can't hurt).

Changed:
  U   
Zope/branches/zeomega-2.11-memory-fixes/lib/python/Shared/DC/ZRDB/Results.py

-=-
Modified: 
Zope/branches/zeomega-2.11-memory-fixes/lib/python/Shared/DC/ZRDB/Results.py
===
--- 
Zope/branches/zeomega-2.11-memory-fixes/lib/python/Shared/DC/ZRDB/Results.py
2010-02-02 23:08:18 UTC (rev 108728)
+++ 
Zope/branches/zeomega-2.11-memory-fixes/lib/python/Shared/DC/ZRDB/Results.py
2010-02-03 00:47:07 UTC (rev 108729)
@@ -10,6 +10,8 @@
 # FOR A PARTICULAR PURPOSE
 #
 ##
+
+
 import ExtensionClass
 from Acquisition import Implicit
 from Record import Record
@@ -25,10 +27,7 @@
 Return a custom 'record' class inheriting from Record, Implicit,
 brains, and zbrains).
 
-# alternate implementation
-# r = type('r', (Record, Implicit, brains, zbrains), {})
-class r(Record, Implicit, brains, zbrains):
-'Result record class'
+r = type('r', (Record, Implicit, brains, zbrains), {})
 
 # The Record class needs a __record_schema__ ...why?
 r.__record_schema__=schema

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-dev] Zope Tests: 6 OK

2010-02-02 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Feb  1 12:00:00 2010 UTC to Tue Feb  2 12:00:00 2010 UTC.
There were 6 messages: 6 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Feb  1 20:37:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013491.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Mon Feb  1 20:39:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013492.html

Subject: OK : Zope-2.12 Python-2.6.4 : Linux
From: Zope Tests
Date: Mon Feb  1 20:41:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013493.html

Subject: OK : Zope-2.12-alltests Python-2.6.4 : Linux
From: Zope Tests
Date: Mon Feb  1 20:43:00 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013494.html

Subject: OK : Zope-trunk Python-2.6.4 : Linux
From: Zope Tests
Date: Mon Feb  1 20:45:01 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013495.html

Subject: OK : Zope-trunk-alltests Python-2.6.4 : Linux
From: Zope Tests
Date: Mon Feb  1 20:47:01 EST 2010
URL: http://mail.zope.org/pipermail/zope-tests/2010-February/013496.html

___
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://mail.zope.org/mailman/listinfo/zope )


[Zope] preventing form submission

2010-02-02 Thread Garry Saddington
Has anyone any suggestions as to how to prevent form submission by the 
using pressing the refresh or back buttons?

Garry
___
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/mailman/listinfo/zope-dev )


Re: [Zope] preventing form submission

2010-02-02 Thread Jaroslav Lukesh
- Original Message - 
From: Garry Saddington ga...@schoolteachers.co.uk
 Has anyone any suggestions as to how to prevent form submission by the 
 using pressing the refresh or back buttons?

I use hidden form field with timestamp ZopeTime.

JL.
___
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/mailman/listinfo/zope-dev )


Re: [Zope] preventing form submission

2010-02-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Garry Saddington wrote:
 Has anyone any suggestions as to how to prevent form submission by the 
 using pressing the refresh or back buttons?

Issue a redirect from the POST handler:  the browser won't land again
on the original POST target URL, but only only on the redirected page,
or the original form.



Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktogs0ACgkQ+gerLs4ltQ4OagCfTgX+ZNJdpnO/Au4q3GbyE3dT
+kgAoIrPJf69OqTJA8pzC0f4uR/71RGA
=17pI
-END PGP SIGNATURE-

___
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/mailman/listinfo/zope-dev )


Re: [Zope] preventing form submission

2010-02-02 Thread Shane Hathaway
Tres Seaver wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Garry Saddington wrote:
 Has anyone any suggestions as to how to prevent form submission by the 
 using pressing the refresh or back buttons?
 
 Issue a redirect from the POST handler:  the browser won't land again
 on the original POST target URL, but only only on the redirected page,
 or the original form.

+1, I've been happy with this technique.

Shane
___
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/mailman/listinfo/zope-dev )


Re: [Zope] preventing form submission

2010-02-02 Thread David Bear
Is there a step by step guide to document how to do this?

On Tue, Feb 2, 2010 at 6:03 PM, Shane Hathaway sh...@hathawaymix.orgwrote:

 Tres Seaver wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Garry Saddington wrote:
  Has anyone any suggestions as to how to prevent form submission by the
  using pressing the refresh or back buttons?
 
  Issue a redirect from the POST handler:  the browser won't land again
  on the original POST target URL, but only only on the redirected page,
  or the original form.

 +1, I've been happy with this technique.

 Shane
 ___
 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/mailman/listinfo/zope-dev )




-- 
David Bear
College of Public Programs at ASU
602-494-0424
___
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/mailman/listinfo/zope-dev )


[Zope-CMF] CMF Tests: 4 OK

2010-02-02 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Mon Feb  1 12:00:00 2010 UTC to Tue Feb  2 12:00:00 2010 UTC.
There were 4 messages: 4 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Mon Feb  1 20:55:10 EST 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-February/012563.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Mon Feb  1 20:57:10 EST 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-February/012564.html

Subject: OK : CMF-2.2 Zope-2.12 Python-2.6.4 : Linux
From: CMF Tests
Date: Mon Feb  1 20:59:10 EST 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-February/012565.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.4 : Linux
From: CMF Tests
Date: Mon Feb  1 21:01:10 EST 2010
URL: http://mail.zope.org/pipermail/cmf-tests/2010-February/012566.html

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

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