[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - BrowserRequest.py:1.1.4.12.10.2 IBrowserPublisher.py:1.1.2.10.14.1
Jim Fulton
jim@zope.com
Sun, 2 Jun 2002 10:35:28 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/Browser
In directory cvs.zope.org:/tmp/cvs-serv29793/lib/python/Zope/Publisher/Browser
Modified Files:
Tag: Zope3InWonderland-branch
BrowserRequest.py IBrowserPublisher.py
Log Message:
- Added template attribute to allow views to be created from a
template source file.
- Added beginnings of a Zope debugger. This required seperating site
and server configuration.
- Added the ability to specify a config file package in the
zopeConfigure directive. Made "config.zcml" a default for the file
attribute in the include directive.
- Fixed mapply to unwrap proxied objects. This was necessary once
views became wrapped in proxies. We need to investigate why they
weren't being wrapped before.
- I updated enough system page templates and zcml directives so that:
- Zope now starts. :)
- The root folder contents listing can be viewed.
Many more templates and zcml files need to be updated to reflect the
way views are now handled.
=== Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py 1.1.4.12.10.1 => 1.1.4.12.10.2 ===
from cgi import FieldStorage
-from urllib import quote, unquote, splittype, splitport
from cgi_names import isCGI_NAME, hide_key
from Zope.Publisher.Converters import get_converter
from Zope.Publisher.HTTP.HTTPRequest import HTTPRequest
-from IBrowserPublisher import IBrowserPublisher
+from IBrowserPresentation import IBrowserPresentation
from IBrowserRequest import IBrowserRequest
from IBrowserPublication import IBrowserPublication
@@ -58,8 +57,8 @@
# requests when the effective and actual URLs differ.
# _presentation_type is overridden from the BaseRequest
- # to implement IBrowserPublisher
- _presentation_type = IBrowserPublisher
+ # to implement IBrowserPresentation
+ _presentation_type = IBrowserPresentation
@@ -580,3 +579,4 @@
return ', '.join(
map(lambda item: "%s: %s" % (item[0], repr(item[1])), L1))
+
=== Zope3/lib/python/Zope/Publisher/Browser/IBrowserPublisher.py 1.1.2.10 => 1.1.2.10.14.1 ===
#
##############################################################################
-from Interface import Interface
+from Zope.Publisher.IPublishTraverse import IPublishTraverse
-class IBrowserPublisher(Interface):
-
- def publishTraverse(request, name):
- """Lookup a name
-
- The request argument is the publisher request object.
- """
+class IBrowserPublisher(IPublishTraverse):
def browserDefault(request):
"""Provide the default object