[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content - IFileContent.py:1.1.4.1 content.zcml:1.1.2.4 IHTMLContent.py:NONE

Jim Fulton jim@zope.com
Fri, 7 Jun 2002 10:41:38 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/App/OFS/Content

Modified Files:
      Tag: Zope-3x-branch
	content.zcml 
Added Files:
      Tag: Zope-3x-branch
	IFileContent.py 
Removed Files:
      Tag: Zope-3x-branch
	IHTMLContent.py 
Log Message:
Merging in Zope3InWonderland-branch, which implemented the following
proposals (see
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/OldProposals): 
- RenameAllowToRequire

- GroupClassRelatedDirectivesInClassDirective

- ViewInterfaceAndSimplification

- ConsistentUseOfSpacesAsDelimitersInZCMLAttributes

- TwoArgumentViewConstructors

- ImplementsInZCML

- SimpleViewCreationInZCML

- RemoveGetView

- ReplaceProtectWithAllow

- ViewMethodsAsViews

- MergeProtectionAndComponentDefinitions

There were also various security fixes resulting of better integration
of security with components.


=== Added File Zope3/lib/python/Zope/App/OFS/Content/IFileContent.py ===
##############################################################################
#
# Copyright (c) 2002 Zope Corporation and Contributors.
# All Rights Reserved.
# 
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
# 
##############################################################################
"""

Revision information:
$Id: IFileContent.py,v 1.1.4.1 2002/06/07 14:41:07 jim Exp $
"""
from Interface import Interface

class IFileContent(Interface):
    """Marker interface for content that is managed as files

    The default view for file content has effective URLs that don't end in
    /.  In particular, if the content inclused HTML, relative links in
    the HTML are relative to the container the content is in.

    """


=== Zope3/lib/python/Zope/App/OFS/Content/content.zcml 1.1.2.3 => 1.1.2.4 ===
 >
 
-<include package=".File" file="file.zcml" />
-<include package=".Folder" file="folder.zcml" />
-<include package=".Image" file="image.zcml" />
-<include package=".ZPTPage" file="zptpage.zcml" />
+  <include package=".File" file="file.zcml" />
+  <include package=".Folder" file="folder.zcml" />
+  <include package=".Image" file="image.zcml" />
+  <include package=".ZPTPage" file="zptpage.zcml" />
 
 </zopeConfigure>

=== Removed File Zope3/lib/python/Zope/App/OFS/Content/IHTMLContent.py ===