[Checkins] SVN: zope.app.form/trunk/ Removed the zope.app.container and zope.app.publisher testing dependencies.

Hanno Schlichting hannosch at hannosch.eu
Thu Dec 17 18:00:04 EST 2009


Log message for revision 106722:
  Removed the zope.app.container and zope.app.publisher testing dependencies.
  

Changed:
  U   zope.app.form/trunk/CHANGES.txt
  U   zope.app.form/trunk/setup.py
  U   zope.app.form/trunk/src/zope/app/form/browser/i18n.txt
  U   zope.app.form/trunk/src/zope/app/form/browser/tests/i18n.zcml
  U   zope.app.form/trunk/src/zope/app/form/browser/widgets.txt
  U   zope.app.form/trunk/src/zope/app/form/ftesting.zcml

-=-
Modified: zope.app.form/trunk/CHANGES.txt
===================================================================
--- zope.app.form/trunk/CHANGES.txt	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/CHANGES.txt	2009-12-17 23:00:04 UTC (rev 106722)
@@ -5,6 +5,8 @@
 3.11.0 (unreleased)
 ===================
 
+- Removed the zope.app.container and zope.app.publisher testing dependencies.
+
 - Refactored code to remove zope.app.component dependency.
 
 - Made the tests independent of zope.app.locales.

Modified: zope.app.form/trunk/setup.py
===================================================================
--- zope.app.form/trunk/setup.py	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/setup.py	2009-12-17 23:00:04 UTC (rev 106722)
@@ -75,9 +75,7 @@
             'zope.traversing',
             'zope.app.appsetup',
             'zope.app.basicskin',
-            'zope.app.container',
             'zope.app.publication',
-            'zope.app.publisher',
             'zope.app.testing',
             ]},
       install_requires=[

Modified: zope.app.form/trunk/src/zope/app/form/browser/i18n.txt
===================================================================
--- zope.app.form/trunk/src/zope/app/form/browser/i18n.txt	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/src/zope/app/form/browser/i18n.txt	2009-12-17 23:00:04 UTC (rev 106722)
@@ -9,8 +9,7 @@
 Let's take this simple add form...
 
   >>> print http(r"""
-  ... GET /+/addfieldcontent.html HTTP/1.1
-  ... Authorization: Basic mgr:mgrpw
+  ... GET /addfieldcontent.html HTTP/1.1
   ... """, handle_errors=False)
   HTTP/1.1 200 OK
   ...
@@ -18,8 +17,7 @@
 with an error...
 
   >>> print http(r"""
-  ... POST /+/addfieldcontent.html HTTP/1.1
-  ... Authorization: Basic mgr:mgrpw
+  ... POST /addfieldcontent.html HTTP/1.1
   ... Content-Length: 670
   ... Content-Type: multipart/form-data; boundary=---------------------------19588947601368617292863650127
   ...
@@ -57,9 +55,8 @@
 And now the add form in German:
 
   >>> print http(r"""
-  ... GET /+/addfieldcontent.html HTTP/1.1
+  ... GET /addfieldcontent.html HTTP/1.1
   ... Accept-Language: de
-  ... Authorization: Basic mgr:mgrpw
   ... """, handle_errors=False)
   HTTP/1.1 200 OK
   ...Felderinhalt hinzuf...
@@ -71,9 +68,8 @@
 The same with an input error:
 
   >>> print http(r"""
-  ... POST /+/addfieldcontent.html HTTP/1.1
+  ... POST /addfieldcontent.html HTTP/1.1
   ... Accept-Language: de
-  ... Authorization: Basic mgr:mgrpw
   ... Content-Length: 670
   ... Content-Type: multipart/form-data; boundary=---------------------------19588947601368617292863650127
   ...

Modified: zope.app.form/trunk/src/zope/app/form/browser/tests/i18n.zcml
===================================================================
--- zope.app.form/trunk/src/zope/app/form/browser/tests/i18n.zcml	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/src/zope/app/form/browser/tests/i18n.zcml	2009-12-17 23:00:04 UTC (rev 106722)
@@ -5,6 +5,7 @@
     i18n_domain="formtest">
 
   <browser:addform
+     for="zope.site.interfaces.IFolder"
      schema=".test_functional_i18n.IFieldContent"
      content_factory=".test_functional_i18n.FieldContent"
      name="addfieldcontent.html"

Modified: zope.app.form/trunk/src/zope/app/form/browser/widgets.txt
===================================================================
--- zope.app.form/trunk/src/zope/app/form/browser/widgets.txt	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/src/zope/app/form/browser/widgets.txt	2009-12-17 23:00:04 UTC (rev 106722)
@@ -155,15 +155,13 @@
         name="index.html"
         template="results.zpt"
         permission="zope.View"
-        menu="zmi_views" title="View"
         />
 
     <browser:pages
         for=".interfaces.IPoll"
         class=".browser.PollVoteView"
         permission="zope.ManageContent">
-        <browser:page name="vote.html" template="vote.zpt"
-            menu="zmi_views" title="Vote" />
+        <browser:page name="vote.html" template="vote.zpt" />
         <browser:page name="choose" attribute="choose" />
     </browser:pages>
 
@@ -189,7 +187,6 @@
         class=".browser.PollEditView"
         label="Change a Poll"
         name="edit.html"
-        menu="zmi_views" title="Edit"
         permission="zope.ManageContent" />
 
     </configure>

Modified: zope.app.form/trunk/src/zope/app/form/ftesting.zcml
===================================================================
--- zope.app.form/trunk/src/zope/app/form/ftesting.zcml	2009-12-17 22:28:42 UTC (rev 106721)
+++ zope.app.form/trunk/src/zope/app/form/ftesting.zcml	2009-12-17 23:00:04 UTC (rev 106722)
@@ -11,7 +11,6 @@
   <include package="zope.component" file="meta.zcml" />
   <include package="zope.i18n" file="meta.zcml" />
   <include package="zope.security" file="meta.zcml" />
-  <include package="zope.app.container.browser" file="meta.zcml" />
   <include package="zope.app.publication" file="meta.zcml" />
 
   <include package="zc.sourcefactory" />
@@ -32,24 +31,11 @@
       component="zope.security.simplepolicies.PermissiveSecurityPolicy" />
 
   <browser:menu
-      id="zmi_actions"
-      title="Views"
-      description="Menu for displaying alternate representations of an object"
-      />
-
-  <browser:menu
       id="zmi_views"
       title="Views"
       description="Menu for displaying alternate representations of an object"
       />
 
-  <browser:containerViews
-      for="zope.site.interfaces.IFolder"
-      contents="zope.ManageContent"
-      index="zope.View"
-      add="zope.ManageContent"
-      />
-
   <include package="zope.app.form.browser" file="meta.zcml" />
   <include package="zope.app.form.browser" />
   <include package="zope.app.form.browser.tests" file="i18n.zcml" />



More information about the checkins mailing list