[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Publisher - http.zcml:1.2 configure.zcml:1.2 meta.zcml:1.5

Jim Fulton jim@zope.com
Tue, 19 Nov 2002 18:25:43 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher
In directory cvs.zope.org:/tmp/cvs-serv11465/lib/python/Zope/App/Publisher

Modified Files:
	configure.zcml meta.zcml 
Added Files:
	http.zcml 
Log Message:

Two changes that were far reaching and interdependent.

- Changed existing directives that mention interfaces to register
  those interfaces with the global interface service.

- Moved all configuration support (except that in Zope.Configuration)
  into Zope.App. This was necessary to get the order of execution such
  that the interface service was defined before directives that used
  interfaces were used.  This is a change that has been needed for
  some time.



=== Zope3/lib/python/Zope/App/Publisher/http.zcml 1.1 => 1.2 ===
--- /dev/null	Tue Nov 19 18:25:43 2002
+++ Zope3/lib/python/Zope/App/Publisher/http.zcml	Tue Nov 19 18:25:13 2002
@@ -0,0 +1,18 @@
+<zopeConfigure
+   xmlns='http://namespaces.zope.org/zope'
+   package="Zope.Publisher.HTTP"
+>
+
+  <content class=".HTTPRequest.">
+    <require
+        permission="Zope.View"
+        interface=".IHTTPApplicationRequest."/>
+  </content>
+
+  <content class=".HTTPRequest.URLGetter">
+    <require
+        permission="Zope.View" 
+        attributes="get __getitem__ __str__" />
+  </content>
+
+</zopeConfigure>


=== Zope3/lib/python/Zope/App/Publisher/configure.zcml 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/Publisher/configure.zcml:1.1	Mon Jun 17 13:52:13 2002
+++ Zope3/lib/python/Zope/App/Publisher/configure.zcml	Tue Nov 19 18:25:13 2002
@@ -1,3 +1,4 @@
 <zopeConfigure xmlns='http://namespaces.zope.org/zope' >
+  <include file="http.zcml" />
   <include package=".Browser" />
 </zopeConfigure>


=== Zope3/lib/python/Zope/App/Publisher/meta.zcml 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/Publisher/meta.zcml:1.4	Wed Nov 13 15:38:26 2002
+++ Zope3/lib/python/Zope/App/Publisher/meta.zcml	Tue Nov 19 18:25:13 2002
@@ -1,9 +1,10 @@
 <zopeConfigure
    xmlns='http://namespaces.zope.org/zope'
    xmlns:browser='http://namespaces.zope.org/browser'
->
+   >
 
   <include package=".Browser" file="meta.zcml" />
   <include package=".XMLRPC" file="meta.zcml" />
+  <include package=".VFS" file="meta.zcml" />
 
 </zopeConfigure>