Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b4070513
Commit
b4070513
authored
Jul 30, 2009
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved ``Products/Five/event.zcml`` into the OFS package.
parent
12c4946d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
20 deletions
+35
-20
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/OFS/configure.zcml
src/OFS/configure.zcml
+5
-0
src/OFS/event.zcml
src/OFS/event.zcml
+22
-0
src/OFS/tests/testObjectManager.py
src/OFS/tests/testObjectManager.py
+2
-1
src/Products/Five/configure.zcml
src/Products/Five/configure.zcml
+3
-1
src/Products/Five/event.zcml
src/Products/Five/event.zcml
+1
-18
No files found.
doc/CHANGES.rst
View file @
b4070513
...
...
@@ -11,6 +11,8 @@ Trunk (unreleased)
Restructuring
+++++++++++++
- Moved ``Products/Five/event.zcml`` into the OFS package.
- Removed no longer maintained ``configure, make, make install`` related
installation files. Zope2 can only be installed via its setup.py.
...
...
src/OFS/configure.zcml
0 → 100644
View file @
b4070513
<configure xmlns="http://namespaces.zope.org/zope">
<include file="event.zcml"/>
</configure>
src/OFS/event.zcml
0 → 100644
View file @
b4070513
<configure xmlns="http://namespaces.zope.org/zope">
<!-- Enable object event dispatcher -->
<include package="zope.component" />
<!-- Adapter giving sublocations for ObjectManagers, used
by dispatchToSublocations -->
<adapter factory=".subscribers.ObjectManagerSublocations" />
<!-- dispatch IObjectWillBeMovedEvent with "bottom-up" semantics -->
<subscriber handler=".subscribers.dispatchObjectWillBeMovedEvent" />
<!-- dispatch IObjectMovedEvent with "top-down" semantics -->
<subscriber handler=".subscribers.dispatchObjectMovedEvent" />
<!-- dispatch IObjectClonedEvent with "top-down" semantics -->
<subscriber handler=".subscribers.dispatchObjectClonedEvent" />
<!-- dispatch IObjectCopiedEvent with "top-down" semantics -->
<subscriber handler=".subscribers.dispatchObjectCopiedEvent" />
</configure>
src/OFS/tests/testObjectManager.py
View file @
b4070513
...
...
@@ -74,7 +74,8 @@ class ObjectManagerTests(PlacelessSetup, unittest.TestCase):
super
(
ObjectManagerTests
,
self
).
setUp
()
self
.
saved_cfg_debug_mode
=
getConfiguration
().
debug_mode
zcml
.
load_config
(
'meta.zcml'
,
Products
.
Five
)
zcml
.
load_config
(
'event.zcml'
,
Products
.
Five
)
import
OFS
zcml
.
load_config
(
'event.zcml'
,
OFS
)
zcml
.
load_config
(
'deprecated.zcml'
,
Products
.
Five
)
setDeprecatedManageAddDelete
(
ItemForDeletion
)
...
...
src/Products/Five/configure.zcml
View file @
b4070513
...
...
@@ -4,10 +4,12 @@
<include file="meta.zcml" />
<include file="permissions.zcml" />
<include file="i18n.zcml" />
<include file="event.zcml"/>
<include file="deprecated.zcml"/>
<include file="publisher.zcml"/>
<include file="traversing.zcml"/>
<include package="OFS "/>
<include package=".component" />
<include package=".browser" />
<include package=".form" />
...
...
src/Products/Five/event.zcml
View file @
b4070513
<configure xmlns="http://namespaces.zope.org/zope">
<!-- Enable object event dispatcher -->
<include package="zope.component" />
<!-- Adapter giving sublocations for ObjectManagers, used
by dispatchToSublocations -->
<adapter factory="OFS.subscribers.ObjectManagerSublocations" />
<!-- dispatch IObjectWillBeMovedEvent with "bottom-up" semantics -->
<subscriber handler="OFS.subscribers.dispatchObjectWillBeMovedEvent" />
<!-- dispatch IObjectMovedEvent with "top-down" semantics -->
<subscriber handler="OFS.subscribers.dispatchObjectMovedEvent" />
<!-- dispatch IObjectClonedEvent with "top-down" semantics -->
<subscriber handler="OFS.subscribers.dispatchObjectClonedEvent" />
<!-- dispatch IObjectCopiedEvent with "top-down" semantics -->
<subscriber handler="OFS.subscribers.dispatchObjectCopiedEvent" />
<include package="OFS" file="event.zcml"/>
</configure>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment