[Commits] (morgen) Swept the entire chandler source renaming OSAF
directory to osaf, and
commits at osafoundation.org
commits at osafoundation.org
Tue May 11 13:24:20 PDT 2004
Commit by: morgen
Modified files:
osaf/chandler/Chandler/__hardhat__.py 1.182 1.183
osaf/chandler/Chandler/application/Application.py 1.216 1.217
osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py 1.5 1.6
osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml 1.27 1.28
osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py 1.10 1.11
osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml 1.22 1.23
osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml 1.19 1.20
osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml 1.21 1.22
osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py 1.6 1.7
osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml 1.9 1.10
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml 1.13 1.14
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py 1.7 1.8
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py 1.7 1.8
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py 1.5 1.6
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py 1.11 1.12
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py 1.7 1.8
osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py 1.14 1.15
osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py 1.2 1.3
osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py 1.20 1.21
osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml 1.16 1.17
osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml 1.8 1.9
osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py 1.23 1.24
osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py 1.16 1.17
osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml 1.17 1.18
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py 1.24 1.25
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py 1.21 1.22
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py 1.9 1.10
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py 1.22 1.23
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml 1.60 1.61
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml 1.22 1.23
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py 1.2 1.3
osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py 1.16 1.17
osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py 1.4 1.5
osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml 1.2 1.3
osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py 1.12 1.13
osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml 1.1 1.2
osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py 1.8 1.9
osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml 1.10 1.11
osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml 1.11 1.12
osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml 1.6 1.7
osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py 1.5 1.6
osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py 1.7 1.8
osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py 1.3 1.4
osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml 1.34 1.35
osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py 1.11 1.12
osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml 1.10 1.11
osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml 1.15 1.16
osaf/chandler/Chandler/repository/parcel/Parcel.py 1.11 1.12
osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py 1.1 1.2
osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py 1.2 1.3
osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py 1.4 1.5
osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py 1.15 1.16
osaf/chandler/Chandler/repository/util/DumpRepository.py 1.2 1.3
Log message:
Swept the entire chandler source renaming OSAF directory to osaf, and
Chandler directory to chandler
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/__hardhat__.py.diff?r1=text&tr1=1.182&r2=text&tr2=1.183
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/application/Application.py.diff?r1=text&tr1=1.216&r2=text&tr2=1.217
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml.diff?r1=text&tr1=1.27&r2=text&tr2=1.28
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py.diff?r1=text&tr1=1.10&r2=text&tr2=1.11
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml.diff?r1=text&tr1=1.22&r2=text&tr2=1.23
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml.diff?r1=text&tr1=1.19&r2=text&tr2=1.20
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml.diff?r1=text&tr1=1.21&r2=text&tr2=1.22
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py.diff?r1=text&tr1=1.6&r2=text&tr2=1.7
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml.diff?r1=text&tr1=1.9&r2=text&tr2=1.10
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml.diff?r1=text&tr1=1.13&r2=text&tr2=1.14
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py.diff?r1=text&tr1=1.7&r2=text&tr2=1.8
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py.diff?r1=text&tr1=1.7&r2=text&tr2=1.8
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py.diff?r1=text&tr1=1.11&r2=text&tr2=1.12
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py.diff?r1=text&tr1=1.7&r2=text&tr2=1.8
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py.diff?r1=text&tr1=1.14&r2=text&tr2=1.15
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py.diff?r1=text&tr1=1.20&r2=text&tr2=1.21
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml.diff?r1=text&tr1=1.16&r2=text&tr2=1.17
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml.diff?r1=text&tr1=1.8&r2=text&tr2=1.9
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py.diff?r1=text&tr1=1.23&r2=text&tr2=1.24
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py.diff?r1=text&tr1=1.16&r2=text&tr2=1.17
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml.diff?r1=text&tr1=1.17&r2=text&tr2=1.18
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py.diff?r1=text&tr1=1.24&r2=text&tr2=1.25
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.21&r2=text&tr2=1.22
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py.diff?r1=text&tr1=1.9&r2=text&tr2=1.10
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py.diff?r1=text&tr1=1.22&r2=text&tr2=1.23
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml.diff?r1=text&tr1=1.60&r2=text&tr2=1.61
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml.diff?r1=text&tr1=1.22&r2=text&tr2=1.23
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py.diff?r1=text&tr1=1.16&r2=text&tr2=1.17
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py.diff?r1=text&tr1=1.12&r2=text&tr2=1.13
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py.diff?r1=text&tr1=1.8&r2=text&tr2=1.9
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml.diff?r1=text&tr1=1.10&r2=text&tr2=1.11
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml.diff?r1=text&tr1=1.11&r2=text&tr2=1.12
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml.diff?r1=text&tr1=1.6&r2=text&tr2=1.7
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py.diff?r1=text&tr1=1.7&r2=text&tr2=1.8
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml.diff?r1=text&tr1=1.34&r2=text&tr2=1.35
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py.diff?r1=text&tr1=1.11&r2=text&tr2=1.12
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml.diff?r1=text&tr1=1.10&r2=text&tr2=1.11
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml.diff?r1=text&tr1=1.15&r2=text&tr2=1.16
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/parcel/Parcel.py.diff?r1=text&tr1=1.11&r2=text&tr2=1.12
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py.diff?r1=text&tr1=1.15&r2=text&tr2=1.16
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/repository/util/DumpRepository.py.diff?r1=text&tr1=1.2&r2=text&tr2=1.3
Index: osaf/chandler/Chandler/__hardhat__.py
diff -u osaf/chandler/Chandler/__hardhat__.py:1.182 osaf/chandler/Chandler/__hardhat__.py:1.183
--- osaf/chandler/Chandler/__hardhat__.py:1.182 Tue Apr 20 16:37:06 2004
+++ osaf/chandler/Chandler/__hardhat__.py Tue May 11 13:20:38 2004
@@ -21,7 +21,7 @@
'SOAPpy',
'pychecker',
# 'm2crypto',
- 'Chandler/repository'
+ 'chandler/repository'
)
def build(buildenv):
@@ -435,7 +435,7 @@
'-o %s -v -n Chandler' % targetDir,
'--inheritance listed',
'--no-private',
- 'parcels/OSAF/framework/notifications',
+ 'parcels/osaf/framework/notifications',
'repository/item',
'repository/schema')
Index: osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py
diff -u osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py:1.5 osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py:1.6
--- osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py:1.5 Fri Apr 16 16:47:15 2004
+++ osaf/chandler/Chandler/crypto/tests/parcels/pkitest/PKITest.py Tue May 11 13:20:40 2004
@@ -1,5 +1,5 @@
from application import Globals
-from OSAF.framework.blocks.ContainerBlocks import BoxContainer
+from osaf.framework.blocks.ContainerBlocks import BoxContainer
from repository.parcel.Parcel import Parcel
from M2Crypto import SSL, Rand, threading as m2threading
import thread
@@ -38,7 +38,7 @@
# Make sure our view is in the sidebar
Parcel.startupParcel(self)
rep = self.getRepository()
- urlRoot = rep.find("//parcels/OSAF/views/main/URLRoot")
+ urlRoot = rep.find("//parcels/osaf/views/main/URLRoot")
pkiNode = rep.find("//parcels/pkitest/views/PKITestViewNode")
if urlRoot and pkiNode:
urlRoot.children.append(pkiNode)
Index: osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml
diff -u osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml:1.1 osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml:1.2
--- osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml:1.1 Thu Mar 25 13:04:17 2004
+++ osaf/chandler/Chandler/crypto/tests/parcels/pkitest/views/parcel.xml Tue May 11 13:20:41 2004
@@ -5,7 +5,7 @@
<Parcel itemName="views"
xmlns="//Schema/Core"
- xmlns:blocks="//parcels/OSAF/framework/blocks"
+ xmlns:blocks="//parcels/osaf/framework/blocks"
xmlns:views="//parcels/pkitest/views"
itemClass="pkitest.PKITest.PKITestViewParcel">
@@ -256,7 +256,7 @@
<blocks:Tree itemName="RepositoryTree">
<!-- Attributes -->
- <elementDelegate>OSAF.views.repositoryviewer.Repository.RepositoryDelegate</elementDelegate>
+ <elementDelegate>osaf.views.repositoryviewer.Repository.RepositoryDelegate</elementDelegate>
<hideRoot>False</hideRoot>
<noLines>False</noLines>
Index: osaf/chandler/Chandler/application/Application.py
diff -u osaf/chandler/Chandler/application/Application.py:1.216 osaf/chandler/Chandler/application/Application.py:1.217
--- osaf/chandler/Chandler/application/Application.py:1.216 Mon Apr 19 14:13:08 2004
+++ osaf/chandler/Chandler/application/Application.py Tue May 11 13:20:39 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.216 $"
-__date__ = "$Date: 2004/04/19 21:13:08 $"
+__version__ = "$Revision: 1.217 $"
+__date__ = "$Date: 2004/05/11 20:20:39 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -20,14 +20,14 @@
def repositoryCallback(uuid, notification, reason, **kwds):
if notification == 'History':
- eventPath = '//parcels/OSAF/framework/item_' + reason
+ eventPath = '//parcels/osaf/framework/item_' + reason
else:
return
event = Globals.repository.find(eventPath)
# Postpone import to avoid circular imports
- from OSAF.framework.notifications.Notification import Notification
+ from osaf.framework.notifications.Notification import Notification
note = Notification(event)
note.threadid = id(threading.currentThread())
note.SetData({'uuid' : uuid, 'keywords' : kwds})
@@ -166,7 +166,7 @@
"""
# wx.Locale_AddCatalogLookupPathPrefix('locale')
# self.locale.AddCatalog('Chandler.mo')
- gettext.install('Chandler', os.path.join (Globals.chandlerDirectory, 'locale'))
+ gettext.install('chandler', os.path.join (Globals.chandlerDirectory, 'locale'))
"""
Load the parcels which are contained in the PARCEL_IMPORT directory.
It's necessary to add the "parcels" directory to sys.path in order
@@ -226,7 +226,7 @@
Create and start the notification manager. Delay imports to avoid
circular references.
"""
- from OSAF.framework.notifications.NotificationManager import NotificationManager
+ from osaf.framework.notifications.NotificationManager import NotificationManager
Globals.notificationManager = NotificationManager()
Globals.notificationManager.PrepareSubscribers()
@@ -236,13 +236,13 @@
Create and start the agent manager. Delay imports to avoid
circular references.
"""
- from OSAF.framework.agents.AgentManager import AgentManager
+ from osaf.framework.agents.AgentManager import AgentManager
Globals.agentManager = AgentManager()
Globals.agentManager.Startup()
# It is important to commit before the task manager starts
Globals.repository.commit()
- from OSAF.framework.tasks.TaskManager import TaskManager
+ from osaf.framework.tasks.TaskManager import TaskManager
Globals.taskManager = TaskManager()
Globals.taskManager.start()
@@ -251,11 +251,11 @@
self.focus = None
self.Bind(wx.EVT_IDLE, self.OnIdle)
- from OSAF.framework.blocks.Views import View
+ from osaf.framework.blocks.Views import View
"""
Load and display the main chandler view.
"""
- mainView = Globals.repository.find('//parcels/OSAF/views/main/MainView')
+ mainView = Globals.repository.find('//parcels/osaf/views/main/MainView')
if mainView:
assert isinstance (mainView, View)
@@ -269,7 +269,7 @@
self.mainFrame.counterpartUUID = mainView.itsUUID
self.mainFrame.Bind(wx.EVT_SIZE, self.mainFrame.OnSize)
- GlobalEvents = Globals.repository.find('//parcels/OSAF/framework/blocks/Events/GlobalEvents')
+ GlobalEvents = Globals.repository.find('//parcels/osaf/framework/blocks/Events/GlobalEvents')
"""
Subscribe to some global events and those belonging to the mainView.
"""
@@ -298,8 +298,8 @@
Our events have ids between MINIMUM_WX_ID and MAXIMUM_WX_ID
Delay imports to avoid circular references.
"""
- from OSAF.framework.blocks.Block import Block, BlockEvent
- from OSAF.framework.notifications.Notification import Notification
+ from osaf.framework.blocks.Block import Block, BlockEvent
+ from osaf.framework.notifications.Notification import Notification
wxID = event.GetId()
if wxID >= Block.MINIMUM_WX_ID and wxID <= Block.MAXIMUM_WX_ID:
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py:1.10 osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py:1.11
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py:1.10 Tue Mar 23 21:07:09 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/Calendar.py Tue May 11 13:20:43 2004
@@ -1,8 +1,8 @@
""" Classes used for Calendar parcel kinds
"""
-__revision__ = "$Revision: 1.10 $"
-__date__ = "$Date: 2004/03/24 05:07:09 $"
+__revision__ = "$Revision: 1.11 $"
+__date__ = "$Date: 2004/05/11 20:20:43 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -11,7 +11,7 @@
import repository.parcel.Parcel as Parcel
import repository.item.Item as Item
-import OSAF.contentmodel.ContentModel as ContentModel
+import osaf.contentmodel.ContentModel as ContentModel
import application.Globals as Globals
import mx.DateTime as DateTime
@@ -88,7 +88,7 @@
def __init__(self, name=None, parent=None, kind=None):
if not kind:
- kind = Globals.repository.find ("//parcels/OSAF/contentmodel/calendar/CalendarEvent")
+ kind = Globals.repository.find ("//parcels/osaf/contentmodel/calendar/CalendarEvent")
ContentModel.ContentItem.__init__(self, name, parent, kind)
self.startTime = DateTime.now()
self.endTime = DateTime.now()
Index: osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml:1.4 osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml:1.5
--- osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml:1.4 Tue Jan 20 15:49:49 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/parcel.xml Tue May 11 13:21:07 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<Parcel describes="//parcels/OSAF/examples"
+<Parcel describes="//parcels/osaf/examples"
itemName="examples"
xmlns="//Schema/Core">
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py:1.24 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py:1.25
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py:1.24 Sat May 8 17:19:19 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Block.py Tue May 11 13:22:01 2004
@@ -1,11 +1,11 @@
-__version__ = "$Revision: 1.24 $"
-__date__ = "$Date: 2004/05/09 00:19:19 $"
+__version__ = "$Revision: 1.25 $"
+__date__ = "$Date: 2004/05/11 20:22:01 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
from repository.item.Item import Item
-from OSAF.framework.notifications.schema.Event import Event
+from osaf.framework.notifications.schema.Event import Event
import wx
import logging
Index: osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml:1.10 osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml:1.11
--- osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml:1.10 Wed Mar 3 15:38:21 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/parcel.xml Tue May 11 13:23:17 2004
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
-<!-- $Date: 2004/03/03 23:38:21 $ -->
+<!-- $Revision: 1.11 $ -->
+<!-- $Date: 2004/05/11 20:23:17 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/repositoryviewer"
+<core:Parcel describes="//parcels/osaf/views/repositoryviewer"
itemName="repositoryviewer"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:doc="//parcels/OSAF/views/repositoryviewer"
- xmlns:events="//parcels/OSAF/framework/blocks/Events">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:doc="//parcels/osaf/views/repositoryviewer"
+ xmlns:events="//parcels/osaf/framework/blocks/Events">
<core:version>0.3</core:version>
@@ -64,7 +64,7 @@
-->
<Tree itemName="RepositoryTree">
<!-- Attributes -->
- <elementDelegate>OSAF.views.repositoryviewer.Repository.RepositoryDelegate</elementDelegate>
+ <elementDelegate>osaf.views.repositoryviewer.Repository.RepositoryDelegate</elementDelegate>
<hideRoot>False</hideRoot>
<noLines>False</noLines>
@@ -88,7 +88,7 @@
</Tree>
<ItemDetail itemName="ItemDetail"
- itemClass="OSAF.views.repositoryviewer.Repository.RepositoryItemDetail">
+ itemClass="osaf.views.repositoryviewer.Repository.RepositoryItemDetail">
<!-- Attributes -->
<contentSpec itemref="doc:myQuery"/>
<open>True</open>
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml:1.22 osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml:1.23
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml:1.22 Mon May 3 14:42:40 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/parcel.xml Tue May 11 13:20:43 2004
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
-<!-- $Date: 2004/05/03 21:42:40 $ -->
+<!-- $Revision: 1.23 $ -->
+<!-- $Date: 2004/05/11 20:20:43 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/contentmodel/calendar"
+<Parcel describes="//parcels/osaf/contentmodel/calendar"
itemName="calendar"
- itemClass="OSAF.contentmodel.calendar.Calendar.CalendarParcel"
+ itemClass="osaf.contentmodel.calendar.Calendar.CalendarParcel"
xmlns="//Schema/Core"
- xmlns:content="//parcels/OSAF/contentmodel"
- xmlns:mail="//parcels/OSAF/contentmodel/mail"
- xmlns:contact="//parcels/OSAF/contentmodel/contacts"
- xmlns:cal="//parcels/OSAF/contentmodel/calendar">
+ xmlns:content="//parcels/osaf/contentmodel"
+ xmlns:mail="//parcels/osaf/contentmodel/mail"
+ xmlns:contact="//parcels/osaf/contentmodel/contacts"
+ xmlns:cal="//parcels/osaf/contentmodel/calendar">
<displayName>Calendar Content Model</displayName>
<description>Kinds and Attributes related to Calendar functionality. This schema is still a strawman schema, a starting point.</description>
@@ -257,7 +257,7 @@
<displayAttribute itemref="cal:headline"/>
- <classes key="python">OSAF.contentmodel.calendar.Calendar.CalendarEvent</classes>
+ <classes key="python">osaf.contentmodel.calendar.Calendar.CalendarEvent</classes>
</Kind>
@@ -268,7 +268,7 @@
<attributes itemref="content:name"/>
<attributes itemref="cal:eventsAtLocation"/>
<displayAttribute itemref="content:name"/>
- <classes key="python">OSAF.contentmodel.calendar.Calendar.Location</classes>
+ <classes key="python">osaf.contentmodel.calendar.Calendar.Location</classes>
</Kind>
<Kind itemName="Calendar">
@@ -278,7 +278,7 @@
<issues>Calendar should maybe have a 'Timezone' attribute.</issues>
<attributes itemref="content:name"/>
<displayAttribute itemref="content:name"/>
- <classes key="python">OSAF.contentmodel.calendar.Calendar.Calendar</classes>
+ <classes key="python">osaf.contentmodel.calendar.Calendar.Calendar</classes>
</Kind>
<Kind itemName="RecurrencePattern">
@@ -286,7 +286,7 @@
<issues>Recurrence Pattern is still a placeholder, and might be general enough to live with PimSchema.</issues>
<issues>Recurrence Pattern should have an attribute that points to a Calendar Event.</issues>
<displayName>Recurrence Pattern</displayName>
- <classes key="python">OSAF.contentmodel.calendar.Calendar.RecurrencePattern</classes>
+ <classes key="python">osaf.contentmodel.calendar.Calendar.RecurrencePattern</classes>
</Kind>
<Kind itemName="Reminder">
@@ -294,7 +294,7 @@
<issues>Reminder is still a placeholder, and might be general enough to live with PimSchema.</issues>
<issues>Reminder should have an attribute that points to a Calendar Event.</issues>
<displayName>Reminder</displayName>
- <classes key="python">OSAF.contentmodel.calendar.Calendar.Reminder</classes>
+ <classes key="python">osaf.contentmodel.calendar.Calendar.Reminder</classes>
</Kind>
</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py:1.4 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py:1.5
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py:1.4 Thu Apr 15 15:55:49 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Node.py Tue May 11 13:22:01 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2004/04/15 22:55:49 $"
+__version__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2004/05/11 20:22:01 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -37,10 +37,10 @@
return child.GetDescendant(descendantParts)
raise BadURL
- def GetItemFromPath(theClass, path, rootURL='//parcels/OSAF/views/locations/URLRoot'):
+ def GetItemFromPath(theClass, path, rootURL='//parcels/osaf/views/locations/URLRoot'):
rootNode = Globals.repository.find(rootURL)
while path.startswith('/'):
path = path[1:]
return rootNode.GetDescendant(path.split('/'))
- GetItemFromPath = classmethod(GetItemFromPath)
\ No newline at end of file
+ GetItemFromPath = classmethod(GetItemFromPath)
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py:1.21 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py:1.22
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py:1.21 Tue May 4 18:33:37 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/ControlBlocks.py Tue May 11 13:22:01 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.21 $"
-__date__ = "$Date: 2004/05/05 01:33:37 $"
+__version__ = "$Revision: 1.22 $"
+__date__ = "$Date: 2004/05/11 20:22:01 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -88,7 +88,7 @@
def OnEnterPressed(self, event):
counterpart = Globals.repository.find (self.counterpartUUID)
- counterpart.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/EnterPressed'),
+ counterpart.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/EnterPressed'),
{'text':self.GetValue()})
@@ -217,7 +217,7 @@
item = counterpart.contentSpec [event.GetIndex()]
if counterpart.selection != item:
counterpart.selection = item
- counterpart.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ counterpart.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':item})
@@ -225,7 +225,7 @@
counterpart = Globals.repository.find (self.counterpartUUID)
elementDelegate = counterpart.elementDelegate
if not elementDelegate:
- elementDelegate = '//parcels/OSAF/framework/blocks/ControlBlocks/ListDelegate'
+ elementDelegate = '//parcels/osaf/framework/blocks/ControlBlocks/ListDelegate'
mixinAClass (self, elementDelegate)
queryItem = counterpart.contentSpec
@@ -243,9 +243,9 @@
subscription = self.subscriptionUUID
except AttributeError:
counterpart = Globals.repository.find (self.counterpartUUID)
- events = [Globals.repository.find('//parcels/OSAF/framework/item_changed'),
- Globals.repository.find('//parcels/OSAF/framework/item_added'),
- Globals.repository.find('//parcels/OSAF/framework/item_deleted')]
+ events = [Globals.repository.find('//parcels/osaf/framework/item_changed'),
+ Globals.repository.find('//parcels/osaf/framework/item_added'),
+ Globals.repository.find('//parcels/osaf/framework/item_deleted')]
self.subscriptionUUID = UUID()
Globals.notificationManager.Subscribe (events,
self.subscriptionUUID,
@@ -383,7 +383,7 @@
item = counterpart.contentSpec [event.GetIndex()]
if counterpart.selection != item:
counterpart.selection = item
- counterpart.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ counterpart.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':item})
@@ -430,7 +430,7 @@
queryItem.resultsStale = True
elementDelegate = counterpart.elementDelegate
if not elementDelegate:
- elementDelegate = '//parcels/OSAF/framework/blocks/ControlBlocks/ListDelegate'
+ elementDelegate = '//parcels/osaf/framework/blocks/ControlBlocks/ListDelegate'
mixinAClass (self, elementDelegate)
table = self.GetTable()
@@ -449,9 +449,9 @@
subscription = self.subscriptionUUID
except AttributeError:
counterpart = Globals.repository.find (self.counterpartUUID)
- events = [Globals.repository.find('//parcels/OSAF/framework/item_changed'),
- Globals.repository.find('//parcels/OSAF/framework/item_added'),
- Globals.repository.find('//parcels/OSAF/framework/item_deleted')]
+ events = [Globals.repository.find('//parcels/osaf/framework/item_changed'),
+ Globals.repository.find('//parcels/osaf/framework/item_added'),
+ Globals.repository.find('//parcels/osaf/framework/item_deleted')]
self.subscriptionUUID = UUID()
Globals.notificationManager.Subscribe (events,
self.subscriptionUUID,
@@ -699,7 +699,7 @@
if counterpart.selection != selection:
counterpart.selection = selection
- counterpart.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ counterpart.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':selection})
def wxSynchronizeFramework(self):
@@ -761,9 +761,9 @@
try:
subscription = self.subscriptionUUID
except AttributeError:
- events = [Globals.repository.find('//parcels/OSAF/framework/item_changed'),
- Globals.repository.find('//parcels/OSAF/framework/item_added'),
- Globals.repository.find('//parcels/OSAF/framework/item_deleted')]
+ events = [Globals.repository.find('//parcels/osaf/framework/item_changed'),
+ Globals.repository.find('//parcels/osaf/framework/item_added'),
+ Globals.repository.find('//parcels/osaf/framework/item_deleted')]
counterpart = Globals.repository.find (self.counterpartUUID)
self.subscriptionUUID = UUID()
Globals.notificationManager.Subscribe (events,
@@ -864,7 +864,7 @@
if not item:
webbrowser.open(itemURL)
else:
- event = Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged')
+ event = Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged')
event.Post({'item':item, 'type':'Normal'})
def wxSynchronizeFramework(self):
Index: osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py
diff -u osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py:1.4 osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py:1.5
--- osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py:1.4 Tue Mar 23 21:08:55 2004
+++ osaf/chandler/Chandler/repository/tests/RepositoryTestCase.py Tue May 11 13:23:33 2004
@@ -1,8 +1,8 @@
"""
A base class for repository testing
"""
-__revision__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2004/03/24 05:08:55 $"
+__revision__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2004/05/11 20:23:33 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -14,11 +14,11 @@
def setUp(self):
self.rootdir = os.environ['CHANDLERHOME']
- self.testdir = os.path.join(self.rootdir, 'Chandler', 'repository',
+ self.testdir = os.path.join(self.rootdir, 'chandler', 'repository',
'tests')
self.rep = XMLRepository(os.path.join(self.testdir, '__repository__'))
self.rep.create()
- schemaPack = os.path.join(self.rootdir, 'Chandler', 'repository',
+ schemaPack = os.path.join(self.rootdir, 'chandler', 'repository',
'packs', 'schema.pack')
self.rep.loadPack(schemaPack)
self.rep.commit()
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml:1.4 osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml:1.5
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml:1.4 Fri Dec 5 15:06:10 2003
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/calendar/CalendarTest/parcel.xml Tue May 11 13:20:45 2004
@@ -2,15 +2,15 @@
<!-- An example set of agents -->
-<!-- $Revision: 1.4 $ -->
-<!-- $Date: 2003/12/05 23:06:10 $ -->
+<!-- $Revision: 1.5 $ -->
+<!-- $Date: 2004/05/11 20:20:45 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/contentmodel/calendar/CalendarTest"
+<core:Parcel describes="//parcels/osaf/contentmodel/calendar/CalendarTest"
itemName="CalendarTest"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/contentmodel/calendar">
+ xmlns="//parcels/osaf/contentmodel/calendar">
<core:displayName>Calendar Tests</core:displayName>
<core:description>Sample events</core:description>
@@ -22,4 +22,4 @@
<priority>3</priority>
</CalendarEvent>
-</core:Parcel>
\ No newline at end of file
+</core:Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py:1.6 osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py:1.7
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py:1.6 Tue Mar 23 21:07:14 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/Notes.py Tue May 11 13:20:50 2004
@@ -1,14 +1,14 @@
""" Classes used for Notes parcel kinds
"""
-__revision__ = "$Revision: 1.6 $"
-__date__ = "$Date: 2004/03/24 05:07:14 $"
+__revision__ = "$Revision: 1.7 $"
+__date__ = "$Date: 2004/05/11 20:20:50 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import repository.parcel.Parcel as Parcel
import repository.item.Item as Item
-import OSAF.contentmodel.ContentModel as ContentModel
+import osaf.contentmodel.ContentModel as ContentModel
import application.Globals as Globals
class NotesParcel(Parcel.Parcel):
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py:1.3 osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py:1.3 Tue Mar 23 21:07:11 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/Contacts.py Tue May 11 13:20:47 2004
@@ -1,14 +1,14 @@
""" Classes used for Contacts parcel kinds
"""
-__revision__ = "$Revision: 1.3 $"
-__date__ = "$Date: 2004/03/24 05:07:11 $"
+__revision__ = "$Revision: 1.4 $"
+__date__ = "$Date: 2004/05/11 20:20:47 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import repository.parcel.Parcel as Parcel
import repository.item.Item as Item
-import OSAF.contentmodel.ContentModel as ContentModel
+import osaf.contentmodel.ContentModel as ContentModel
import application.Globals as Globals
import mx.DateTime as DateTime
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml:1.21 osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml:1.22
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml:1.21 Mon May 3 14:42:43 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/parcel.xml Tue May 11 13:20:49 2004
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
-<!-- $Date: 2004/05/03 21:42:43 $ -->
+<!-- $Revision: 1.22 $ -->
+<!-- $Date: 2004/05/11 20:20:49 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/contentmodel/mail"
+<Parcel describes="//parcels/osaf/contentmodel/mail"
itemName="mail"
- itemClass="OSAF.contentmodel.mail.Mail.MailParcel"
+ itemClass="osaf.contentmodel.mail.Mail.MailParcel"
xmlns="//Schema/Core"
- xmlns:content="//parcels/OSAF/contentmodel"
- xmlns:contact="//parcels/OSAF/contentmodel/contacts"
- xmlns:calendar="//parcels/OSAF/contentmodel/calendar"
- xmlns:mail="//parcels/OSAF/contentmodel/mail">
+ xmlns:content="//parcels/osaf/contentmodel"
+ xmlns:contact="//parcels/osaf/contentmodel/contacts"
+ xmlns:calendar="//parcels/osaf/contentmodel/calendar"
+ xmlns:mail="//parcels/osaf/contentmodel/mail">
<displayName>Mail Content Model</displayName>
<description>Content Model for the Mail Messages, Email Accounts, and other things related to email/</description>
@@ -31,7 +31,7 @@
<issues>see http://lists.osafoundation.org/pipermail/design/2003-April/002400.html</issues>
<issues>I'd argue for calling Attachments either MIMEElement or MessagePart. In a multipart/mixed message (essentially any message with an attachment), there sort of isn't a body. The part that is looks like an RFC822 body is simply the text "This is a MIME-encapsulated message." What is *presented to the user as the body* is usually the first displayable part or the first text part. -Ducky</issues>
<issues>From the schema, it isn't clear if the body and attachments have been converted into Chandler Items or if they are unmolested text. (Ditto for From, Date, and the headers.) To do spam control right you have to keep around the exact, original, unmolested text of the message. Anti-spam programs find useful information in the strangest places -- for example, there's one program commonly used by spammers that has a distrinctive set of delimiters between message parts. You also can't run it through the spam filter, decide you're done, munge it, and throw away the original because the Bayesian classifiers need to have the original message to retrain on if the user decides that the classifier got it wrong. So somewhere, you have to keep around the original. -Ducky</issues>
- <classes key="python">OSAF.contentmodel.mail.Mail.Attachment</classes>
+ <classes key="python">osaf.contentmodel.mail.Mail.Attachment</classes>
</Kind>
<!-- Email Account -->
@@ -111,7 +111,7 @@
<attributes itemref="mail:downloadedMail"/>
<attributes itemref="mail:returnAddress"/>
<attributes itemref="mail:pollingFrequency"/>
- <classes key="python">OSAF.contentmodel.mail.Mail.EmailAccount</classes>
+ <classes key="python">osaf.contentmodel.mail.Mail.EmailAccount</classes>
</Kind>
<!-- Email Address -->
@@ -149,7 +149,7 @@
<attributes itemref="calendar:participatingIn"/>
<attributes itemref="calendar:requestedTasks"/>
<attributes itemref="calendar:taskRequests"/>
- <classes key="python">OSAF.contentmodel.mail.Mail.EmailAddress</classes>
+ <classes key="python">osaf.contentmodel.mail.Mail.EmailAddress</classes>
</Kind>
<!-- Email Message -->
@@ -406,7 +406,7 @@
<attributes itemref="mail:deliveryStatus"/>
<attributes itemref="mail:stronglyLinkedTask"/>
<attributes itemref="mail:spamScore"/>
- <classes key="python">OSAF.contentmodel.mail.Mail.MailMessage</classes>
+ <classes key="python">osaf.contentmodel.mail.Mail.MailMessage</classes>
</Kind>
</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml:1.13 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml:1.14
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml:1.13 Mon Jan 12 22:09:25 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tasks/parcel.xml Tue May 11 13:20:56 2004
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
-<!-- $Date: 2004/01/13 06:09:25 $ -->
+<!-- $Revision: 1.14 $ -->
+<!-- $Date: 2004/05/11 20:20:56 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/contentmodel/tasks"
+<Parcel describes="//parcels/osaf/contentmodel/tasks"
itemName="tasks"
xmlns="//Schema/Core">
<displayName>depricated -- empty parcel</displayName>
<description>task attributes can be found in the calendar parcel</description>
-</Parcel>
\ No newline at end of file
+</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py:1.20 osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py:1.21
--- osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py:1.20 Mon Apr 19 14:07:56 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/blocks.py Tue May 11 13:21:31 2004
@@ -1,15 +1,15 @@
""" ZaoBao blocks
"""
-__version__ = "$Revision: 1.20 $"
-__date__ = "$Date: 2004/04/19 21:07:56 $"
+__version__ = "$Revision: 1.21 $"
+__date__ = "$Date: 2004/05/11 20:21:31 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
from repository.item.Query import KindQuery
-from OSAF.framework.blocks.ControlBlocks import Tree, ItemDetail
-import OSAF.examples.zaobao.RSSData as RSSData
+from osaf.framework.blocks.ControlBlocks import Tree, ItemDetail
+import osaf.examples.zaobao.RSSData as RSSData
# GetElementCellValues is shared between both classes
def GetElementCellValues(element):
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml:1.9 osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml:1.10
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml:1.9 Mon May 3 14:42:44 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/notes/parcel.xml Tue May 11 13:20:50 2004
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
-<!-- $Date: 2004/05/03 21:42:44 $ -->
+<!-- $Revision: 1.10 $ -->
+<!-- $Date: 2004/05/11 20:20:50 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/contentmodel/notes"
+<Parcel describes="//parcels/osaf/contentmodel/notes"
itemName="notes"
- itemClass="OSAF.contentmodel.notes.Notes.NotesParcel"
+ itemClass="osaf.contentmodel.notes.Notes.NotesParcel"
xmlns="//Schema/Core"
- xmlns:content="//parcels/OSAF/contentmodel"
- xmlns:notes="//parcels/OSAF/contentmodel/notes">
+ xmlns:content="//parcels/osaf/contentmodel"
+ xmlns:notes="//parcels/osaf/contentmodel/notes">
<displayName>Notes Content Model</displayName>
<version>0.3</version>
@@ -55,7 +55,7 @@
<attributes itemref="notes:title"/>
<attributes itemref="notes:body"/>
<attributes itemref="notes:attachedToItems"/>
- <classes key="python">OSAF.contentmodel.notes.Notes.Note</classes>
+ <classes key="python">osaf.contentmodel.notes.Notes.Note</classes>
</Kind>
<!-- Conversation -->
@@ -92,7 +92,7 @@
<superKinds itemref="content:ContentItem"/>
<attributes itemref="notes:subjectItem"/>
<attributes itemref="notes:conversationLines"/>
- <classes key="python">OSAF.contentmodel.notes.Notes.Conversation</classes>
+ <classes key="python">osaf.contentmodel.notes.Notes.Conversation</classes>
</Kind>
<!-- Conversation -->
Index: osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py:1.2 osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py:1.3
--- osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py:1.2 Tue Apr 20 14:12:05 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/ZaoBaoTask.py Tue May 11 13:21:31 2004
@@ -1,11 +1,11 @@
-__revision__ = "$Revision: 1.2 $"
-__date__ = "$Date: 2004/04/20 21:12:05 $"
+__revision__ = "$Revision: 1.3 $"
+__date__ = "$Date: 2004/05/11 20:21:31 $"
__copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-from OSAF.framework.tasks.Action import Action
-from OSAF.examples.zaobao.RSSData import ZaoBaoParcel
+from osaf.framework.tasks.Action import Action
+from osaf.examples.zaobao.RSSData import ZaoBaoParcel
from repository.item.Query import KindQuery, TextQuery
import socket
import logging
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml:1.27 osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml:1.28
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml:1.27 Mon May 3 14:42:39 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/parcel.xml Tue May 11 13:20:42 2004
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Parcel manifest for Pim Schema -->
-<!-- $Revision: 1.27 $ -->
-<!-- $Date: 2004/05/03 21:42:39 $ -->
+<!-- $Revision: 1.28 $ -->
+<!-- $Date: 2004/05/11 20:20:42 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/contentmodel"
+<core:Parcel describes="//parcels/osaf/contentmodel"
itemName="contentmodel"
xmlns:core="//Schema/Core"
- xmlns:notes="//parcels/OSAF/contentmodel/notes"
- xmlns:contact="//parcels/OSAF/contentmodel/contacts"
- xmlns="//parcels/OSAF/contentmodel"
- itemClass="OSAF.contentmodel.ContentModel.ContentModel">
+ xmlns:notes="//parcels/osaf/contentmodel/notes"
+ xmlns:contact="//parcels/osaf/contentmodel/contacts"
+ xmlns="//parcels/osaf/contentmodel"
+ itemClass="osaf.contentmodel.ContentModel.ContentModel">
<core:displayName>Chandler Content Model</core:displayName>
<core:description>Content Model for the 0.3 release</core:description>
@@ -129,7 +129,7 @@
<core:attributes itemref="aboutAttribute"/>
<core:attributes itemref="dateAttribute"/>
- <core:classes key="python">OSAF.contentmodel.ContentModel.ContentItem</core:classes>
+ <core:classes key="python">osaf.contentmodel.ContentModel.ContentItem</core:classes>
</core:Kind>
<!-- Project -->
@@ -169,7 +169,7 @@
<core:attributes itemref="parentProject"/>
<core:attributes itemref="subProjects"/>
<core:attributes itemref="itemsInProject"/>
- <core:classes key="python">OSAF.contentmodel.ContentModel.Project</core:classes>
+ <core:classes key="python">osaf.contentmodel.ContentModel.Project</core:classes>
</core:Kind>
<!-- Group -->
@@ -190,7 +190,7 @@
<core:displayAttribute itemref="name"/>
<core:attributes itemref="name"/>
<core:attributes itemref="itemsInGroup"/>
- <core:classes key="python">OSAF.contentmodel.ContentModel.Group</core:classes>
+ <core:classes key="python">osaf.contentmodel.ContentModel.Group</core:classes>
</core:Kind>
</core:Parcel>
Index: osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py
diff -u osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py:1.2 osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py:1.3
--- osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py:1.2 Tue Jan 20 15:45:37 2004
+++ osaf/chandler/Chandler/repository/parcel/tests/TestAllParcels.py Tue May 11 13:23:31 2004
@@ -1,8 +1,8 @@
"""
Loads all parcels
"""
-__revision__ = "$Revision: 1.2 $"
-__date__ = "$Date: 2004/01/20 23:45:37 $"
+__revision__ = "$Revision: 1.3 $"
+__date__ = "$Date: 2004/05/11 20:23:31 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -19,7 +19,7 @@
"""
Test to ensure all parcels load
"""
- parcelDir = os.path.join(self.rootdir, 'Chandler', 'parcels')
+ parcelDir = os.path.join(self.rootdir, 'chandler', 'parcels')
LoadParcels(parcelDir, self.rep)
PrintItem("//Schema", self.rep)
PrintItem("//parcels", self.rep)
Index: osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py:1.14 osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py:1.15
--- osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py:1.14 Tue Apr 20 14:12:05 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/RSSData.py Tue May 11 13:21:31 2004
@@ -1,5 +1,5 @@
-__revision__ = "$Revision: 1.14 $"
-__date__ = "$Date: 2004/04/20 21:12:05 $"
+__revision__ = "$Revision: 1.15 $"
+__date__ = "$Date: 2004/05/11 20:21:31 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -7,7 +7,7 @@
from repository.item.Item import Item
from repository.util.Path import Path
from repository.parcel.Parcel import Parcel
-from OSAF.contentmodel.ContentModel import ContentItem
+from osaf.contentmodel.ContentModel import ContentItem
import mx.DateTime
import types
import feedparser
Index: osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py
diff -u osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py:1.15 osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py:1.16
--- osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py:1.15 Tue Mar 23 21:08:55 2004
+++ osaf/chandler/Chandler/repository/tests/TestPerfWithRSS.py Tue May 11 13:23:33 2004
@@ -2,8 +2,8 @@
Simple Performance tests for Chandler repository
"""
-__revision__ = "$Revision: 1.15 $"
-__date__ = "$Date: 2004/03/24 05:08:55 $"
+__revision__ = "$Revision: 1.16 $"
+__date__ = "$Date: 2004/05/11 20:23:33 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -18,12 +18,12 @@
# get Zaobao's feedparser
_chandlerDir = os.environ['CHANDLERHOME']
-sys.path.append(os.path.join(_chandlerDir,'Chandler','parcels','OSAF','examples','zaobao'))
+sys.path.append(os.path.join(_chandlerDir,'chandler','parcels','osaf','examples','zaobao'))
import feedparser
# get all the RSS files in RSS_HOME (repository/tests/data/rssfeeds)
# You can obtain the files from http://aloha.osafoundation.org/~twl/RSSdata/rssfeeds.syndic8.tar.bz2
-RSS_HOME=os.path.join(_chandlerDir,'Chandler','repository','tests','data','rssfeeds/')
+RSS_HOME=os.path.join(_chandlerDir,'chandler','repository','tests','data','rssfeeds/')
if os.path.exists(RSS_HOME):
_rssfiles = os.listdir(RSS_HOME)
else:
@@ -32,25 +32,25 @@
# make them file URL's
_defaultBlogs = [ "%s%s%s" %("file://", RSS_HOME, f) for f in _rssfiles ]
-BASE_PATH = Path('//parcels/OSAF/examples/zaobao')
+BASE_PATH = Path('//parcels/osaf/examples/zaobao')
class TestPerfWithRSS(unittest.TestCase):
""" Simple performance tests """
def setUp(self):
self.rootdir = _chandlerDir
- self.testdir = os.path.join(self.rootdir, 'Chandler', 'repository',
+ self.testdir = os.path.join(self.rootdir, 'chandler', 'repository',
'tests')
self.rep = XMLRepository(os.path.join(self.testdir, '__repository__'))
Globals.repository = self.rep # to keep indexer happy
self.rep.create()
- schemaPack = os.path.join(self.rootdir, 'Chandler', 'repository', 'packs', 'schema.pack')
+ schemaPack = os.path.join(self.rootdir, 'chandler', 'repository', 'packs', 'schema.pack')
self.rep.loadPack(schemaPack)
- parcelDir = os.path.join(self.rootdir,'Chandler','parcels')
+ parcelDir = os.path.join(self.rootdir, 'chandler','parcels')
sys.path.insert(1, parcelDir)
- LoadParcels.LoadParcel(os.path.join(parcelDir, 'OSAF', 'examples',
- 'zaobao'), '//parcels/OSAF/examples/zaobao', parcelDir, self.rep)
+ LoadParcels.LoadParcel(os.path.join(parcelDir, 'osaf', 'examples',
+ 'zaobao'), '//parcels/osaf/examples/zaobao', parcelDir, self.rep)
self.rep.commit()
self.rep.logger.debug("Going to try: ",len(_defaultBlogs)," feeds")
@@ -143,7 +143,7 @@
# self.rep.close()
# self.rep = XMLRepository(os.path.join(self.testdir, '__repository__'))
# self.rep.open()
-# RSSItem = self.rep.find('//parcels/OSAF/examples/zaobao/RSSItem')
+# RSSItem = self.rep.find('//parcels/osaf/examples/zaobao/RSSItem')
# self._readItems(RSSItem.itsKind)
# profiler = hotshot.Profile('/tmp/TestPerfWithRss.readBack.hotshot')
# profiler.runcall(TestPerfWithRSS._readItems, self, RSSItem.itsKind)
Index: osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py
diff -u osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py:1.1 osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py:1.2
--- osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py:1.1 Fri Dec 19 16:47:03 2003
+++ osaf/chandler/Chandler/repository/parcel/tests/ParcelLoaderTestCase.py Tue May 11 13:23:31 2004
@@ -2,8 +2,8 @@
A helper class which sets up and tears down a repository and anything else
that a parcel loader unit test might need
"""
-__revision__ = "$Revision: 1.1 $"
-__date__ = "$Date: 2003/12/20 00:47:03 $"
+__revision__ = "$Revision: 1.2 $"
+__date__ = "$Date: 2004/05/11 20:23:31 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -16,12 +16,12 @@
def setUp(self):
self.rootdir = os.environ['CHANDLERHOME']
- self.testdir = os.path.join(self.rootdir, 'Chandler', 'repository',
+ self.testdir = os.path.join(self.rootdir, 'chandler', 'repository',
'parcel', 'tests')
self.rep = XMLRepository(os.path.join(self.testdir,'__repository__'))
Globals.repository = self.rep # to keep indexer happy
self.rep.create()
- schemaPack = os.path.join(self.rootdir, 'Chandler', 'repository',
+ schemaPack = os.path.join(self.rootdir, 'chandler', 'repository',
'packs', 'schema.pack')
self.rep.loadPack(schemaPack)
self.rep.commit()
Index: osaf/chandler/Chandler/repository/parcel/Parcel.py
diff -u osaf/chandler/Chandler/repository/parcel/Parcel.py:1.11 osaf/chandler/Chandler/repository/parcel/Parcel.py:1.12
--- osaf/chandler/Chandler/repository/parcel/Parcel.py:1.11 Tue Mar 23 21:08:37 2004
+++ osaf/chandler/Chandler/repository/parcel/Parcel.py Tue May 11 13:23:29 2004
@@ -1,7 +1,7 @@
""" Bootstrapping Kind for Parcel"""
-__revision__ = "$Revision: 1.11 $"
-__date__ = "$Date: 2004/03/24 05:08:37 $"
+__revision__ = "$Revision: 1.12 $"
+__date__ = "$Date: 2004/05/11 20:23:29 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -33,9 +33,9 @@
if not repository.find('//parcels'):
parcels = Parcel('parcels', repository, parcelKind)
- if not repository.find('//parcels/OSAF'):
+ if not repository.find('//parcels/osaf'):
parcels = repository.find('//parcels')
- osaf = Parcel('OSAF', parcels, parcelKind)
+ osaf = Parcel('osaf', parcels, parcelKind)
setupParcels = staticmethod(setupParcels)
Index: osaf/chandler/Chandler/repository/util/DumpRepository.py
diff -u osaf/chandler/Chandler/repository/util/DumpRepository.py:1.2 osaf/chandler/Chandler/repository/util/DumpRepository.py:1.3
--- osaf/chandler/Chandler/repository/util/DumpRepository.py:1.2 Wed Jan 14 17:44:00 2004
+++ osaf/chandler/Chandler/repository/util/DumpRepository.py Tue May 11 13:23:42 2004
@@ -1,5 +1,5 @@
-__revision__ = "$Revision: 1.2 $"
-__date__ = "$Date: 2004/01/15 01:44:00 $"
+__revision__ = "$Revision: 1.3 $"
+__date__ = "$Date: 2004/05/11 20:23:42 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -9,15 +9,15 @@
from repository.parcel.Util import PrintItem
rootdir = os.environ['CHANDLERHOME']
-repdir = os.path.join(rootdir, 'Chandler', '__repository__')
+repdir = os.path.join(rootdir, 'chandler', '__repository__')
rep = XMLRepository(repdir)
createRepository = False
if createRepository:
rep.create()
- schemaPack = os.path.join(rootdir, 'Chandler', 'repository', 'packs',
- 'schema.pack')
+ schemaPack = os.path.join(rootdir, 'chandler', 'repository', 'packs',
+ 'schema.pack')
rep.loadPack(schemaPack)
rep.commit()
else:
Index: osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml:1.16 osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml:1.17
--- osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml:1.16 Mon Apr 19 14:07:56 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/zaobao/parcel.xml Tue May 11 13:21:31 2004
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<Parcel describes="//parcels/OSAF/examples/zaobao"
+<Parcel describes="//parcels/osaf/examples/zaobao"
itemName="zaobao"
- itemClass="OSAF.examples.zaobao.RSSData.ZaoBaoParcel"
+ itemClass="osaf.examples.zaobao.RSSData.ZaoBaoParcel"
xmlns="//Schema/Core"
- xmlns:zaobao="//parcels/OSAF/examples/zaobao"
- xmlns:fw="//parcels/OSAF/framework"
- xmlns:task="//parcels/OSAF/framework/tasks"
- xmlns:content="//parcels/OSAF/contentmodel"
- xmlns:docSchema="//parcels/OSAF/framework/blocks">
+ xmlns:zaobao="//parcels/osaf/examples/zaobao"
+ xmlns:fw="//parcels/osaf/framework"
+ xmlns:task="//parcels/osaf/framework/tasks"
+ xmlns:content="//parcels/osaf/contentmodel"
+ xmlns:docSchema="//parcels/osaf/framework/blocks">
<displayName>ZaoBao RSS Schema</displayName>
<description>RSS schema for ZaoBao parcel for 0.4 release</description>
@@ -105,7 +105,7 @@
<attributes itemref="zaobao:RSSChannel/items"/>
<superKinds itemref="content:ContentItem"/>
- <classes key="python">OSAF.examples.zaobao.RSSData.RSSChannel</classes>
+ <classes key="python">osaf.examples.zaobao.RSSData.RSSChannel</classes>
</Kind>
@@ -134,7 +134,7 @@
<attributes itemref="zaobao:RSSItem/channel"/>
<superKinds itemref="content:ContentItem"/>
- <classes key="python">OSAF.examples.zaobao.RSSData.RSSItem</classes>
+ <classes key="python">osaf.examples.zaobao.RSSData.RSSItem</classes>
</Kind>
@@ -150,7 +150,7 @@
<task:repeatDelay>00:00:05:00</task:repeatDelay>
</task:Schedule>
- <task:Action itemName="GetFeeds" itemClass="OSAF.examples.zaobao.ZaoBaoTask.UpdateAction">
+ <task:Action itemName="GetFeeds" itemClass="osaf.examples.zaobao.ZaoBaoTask.UpdateAction">
<description>Gets and updates all the feeds</description>
</task:Action>
@@ -162,7 +162,7 @@
<!-- view related stuff -->
<Kind itemName="ZaoBaoItemDetail">
- <classes key="python">OSAF.examples.zaobao.blocks.ZaoBaoItemDetail</classes>
+ <classes key="python">osaf.examples.zaobao.blocks.ZaoBaoItemDetail</classes>
<superKinds itemref="docSchema:ItemDetail"/>
</Kind>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py:1.16 osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py:1.17
--- osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py:1.16 Tue Mar 23 21:07:54 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/notifications/NotificationManager.py Tue May 11 13:22:09 2004
@@ -20,7 +20,7 @@
"""
The Notification Manager is an object that maintains information
about notifications and events. Parcels can declare
- L{events<OSAF.framework.notifications.schema.Event.Event>}. The
+ L{events<osaf.framework.notifications.schema.Event.Event>}. The
Notification Manager provides a way for clients to post notifications
when they occur, and to subscribe to them in order to be notified as
necessary.
@@ -42,7 +42,7 @@
self.declarations.acquire()
try:
from repository.item.Query import KindQuery
- eventKind = Globals.repository.find('//parcels/OSAF/framework/notifications/schema/Event')
+ eventKind = Globals.repository.find('//parcels/osaf/framework/notifications/schema/Event')
for item in KindQuery().run([eventKind]):
self.declarations[item.itsUUID] = Declaration(item)
finally:
@@ -53,7 +53,7 @@
Subscribe a callback to a list of events
@param events: events you wish to subscribe to
- @type events: C{list} of L{Event<OSAF.framework.notifications.schema.Event.Event>} items
+ @type events: C{list} of L{Event<osaf.framework.notifications.schema.Event.Event>} items
@param clientID: The 'name' of this subscription. Used to unsubscribe.
@type clientID: L{UUID}
@@ -130,7 +130,7 @@
Get the next notification in the queue or None if there are no pending events
@param notification: The notification you wish to send
- @type notification: L{Notification<OSAF.framework.notifications.Notification.Notification>}
+ @type notification: L{Notification<osaf.framework.notifications.Notification.Notification>}
"""
# for now we don't care who posts......
# future version should check notification for validity
Index: osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py:1.1 Mon Apr 19 13:53:59 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/tasks/TaskManager.py Tue May 11 13:22:29 2004
@@ -1,5 +1,5 @@
-__revision__ = "$Revision: 1.1 $"
-__date__ = "$Date: 2004/04/19 20:53:59 $"
+__revision__ = "$Revision: 1.2 $"
+__date__ = "$Date: 2004/05/11 20:22:29 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -75,7 +75,7 @@
# this function is really ugly.. i should clean it up :)
from repository.item.Query import KindQuery
- taskKind = Globals.repository.find('//parcels/OSAF/framework/tasks/Task')
+ taskKind = Globals.repository.find('//parcels/osaf/framework/tasks/Task')
for task in KindQuery().run([taskKind]):
try:
Index: osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml:1.1 Mon Dec 8 13:25:54 2003
+++ osaf/chandler/Chandler/parcels/OSAF/framework/notifications/parcel.xml Tue May 11 13:22:09 2004
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Date: 2003/12/08 21:25:54 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Date: 2004/05/11 20:22:09 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/notifications"
+<Parcel describes="//parcels/osaf/framework/notifications"
itemName="notifications"
xmlns="//Schema/Core">
Index: osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml:1.8 osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml:1.9
--- osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml:1.8 Tue Feb 3 20:02:36 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/parcel.xml Tue May 11 13:21:41 2004
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
-<!-- $Date: 2004/02/04 04:02:36 $ -->
+<!-- $Revision: 1.9 $ -->
+<!-- $Date: 2004/05/11 20:21:41 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework"
+<Parcel describes="//parcels/osaf/framework"
itemName="framework"
xmlns="//Schema/Core"
- xmlns:app="//parcels/OSAF/framework"
- xmlns:events="//parcels/OSAF/framework/notifications/schema">
+ xmlns:app="//parcels/osaf/framework"
+ xmlns:events="//parcels/osaf/framework/notifications/schema">
<displayName>Application Schema</displayName>
<description>Schemas used by the Chandler Application</description>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py:1.9 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py:1.10
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py:1.9 Thu Apr 15 15:55:49 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/NavigationBlocks.py Tue May 11 13:22:01 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.9 $"
-__date__ = "$Date: 2004/04/15 22:55:49 $"
+__version__ = "$Revision: 1.10 $"
+__date__ = "$Date: 2004/05/11 20:22:01 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -58,13 +58,13 @@
sizer.Add((10, 0), 0, wx.EXPAND)
def bookmarkPressed(self, text):
- item = Node.GetItemFromPath(text, '//parcels/OSAF/views/main/URLRoot')
+ item = Node.GetItemFromPath(text, '//parcels/osaf/views/main/URLRoot')
"""
If a parcel takes the focus upon a SelectionChanged event, we must take the focus back
temporarily so that the sidebar gets the event. This is a temporary solution for Bug#1249.
"""
Globals.wxApplication.mainFrame.SetFocus()
- self.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ self.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':item})
def OnViewBookmarksBarEvent(self, notification):
@@ -112,14 +112,14 @@
tool = Globals.wxApplication.mainFrame.FindWindowById(event.GetId())
url = tool.GetValue()
try:
- item = Node.GetItemFromPath(url, '//parcels/OSAF/views/main/URLRoot')
+ item = Node.GetItemFromPath(url, '//parcels/osaf/views/main/URLRoot')
except BadURL:
dialog = wx.MessageDialog(None, 'The url "' + str(url) + '" does not exist',
'Chandler',
style=wx.OK|wx.CENTRE)
dialog.ShowModal()
else:
- self.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ self.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':item})
def OnViewNavigationBarEvent(self, notification):
@@ -145,7 +145,7 @@
temporarily so that the sidebar gets the event. This is a temporary solution for Bug#1249.
"""
Globals.wxApplication.mainFrame.SetFocus()
- self.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ self.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':self.history[-1]})
def GoForward(self):
@@ -157,7 +157,7 @@
temporarily so that the sidebar gets the event. This is a temporary solution for Bug#1249.
"""
Globals.wxApplication.mainFrame.SetFocus()
- self.Post (Globals.repository.find('//parcels/OSAF/framework/blocks/Events/SelectionChanged'),
+ self.Post (Globals.repository.find('//parcels/osaf/framework/blocks/Events/SelectionChanged'),
{'item':newLocation})
def OnSelectionChangedEvent (self, notification):
@@ -169,7 +169,7 @@
if len(self.history) == 0 or self.history[-1] != item:
self.history.append(item)
- urlBox = Globals.repository.find ('//parcels/OSAF/views/main/URLBox')
+ urlBox = Globals.repository.find ('//parcels/osaf/views/main/URLBox')
wxURLBox = Globals.association[urlBox.itsUUID]
wxURLBox.SetValue(path)
Index: osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py:1.23 osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py:1.24
--- osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py:1.23 Tue Mar 23 21:07:20 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/agents/AgentManager.py Tue May 11 13:21:47 2004
@@ -1,10 +1,10 @@
-__revision__ = "$Revision: 1.23 $"
-__date__ = "$Date: 2004/03/24 05:07:20 $"
+__revision__ = "$Revision: 1.24 $"
+__date__ = "$Date: 2004/05/11 20:21:47 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.utils.indexer as indexer
+import osaf.framework.utils.indexer as indexer
import Agent, AgentControl
import logging
Index: osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py:1.16 osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py:1.17
--- osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py:1.16 Tue Mar 23 21:07:34 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/AgentItem.py Tue May 11 13:21:52 2004
@@ -1,10 +1,10 @@
-__revision__ = "$Revision: 1.16 $"
-__date__ = "$Date: 2004/03/24 05:07:34 $"
+__revision__ = "$Revision: 1.17 $"
+__date__ = "$Date: 2004/05/11 20:21:52 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.utils.indexer as indexer
+import osaf.framework.utils.indexer as indexer
from repository.item.Item import Item
"""
Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml:1.1 Fri Apr 23 17:08:59 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/outlook2000.xml Tue May 11 13:22:39 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<AttributeMap>
-<RootKind>//parcels/OSAF/contentmodel/contacts/Contact</RootKind>
+<RootKind>//parcels/osaf/contentmodel/contacts/Contact</RootKind>
<EmptyDate>0/0/00</EmptyDate>
<Attribute name="contactName">
<Attribute name="firstName">
@@ -330,4 +330,4 @@
</ListItem>
</List>
</Attribute>
-</AttributeMap>
\ No newline at end of file
+</AttributeMap>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml:1.1 Mon Apr 19 13:53:59 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/tasks/parcel.xml Tue May 11 13:22:29 2004
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Date: 2004/04/19 20:53:59 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Date: 2004/05/11 20:22:29 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/tasks"
+<Parcel describes="//parcels/osaf/framework/tasks"
itemName="tasks"
xmlns="//Schema/Core"
- xmlns:sched="//parcels/OSAF/framework/tasks">
+ xmlns:sched="//parcels/osaf/framework/tasks">
<displayName>Task Schema</displayName>
@@ -94,7 +94,7 @@
<attributes itemref="sched:Action/confirmFlag"/>
<attributes itemref="sched:Action/actionOwner"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.tasks.Action.Action</classes>
+ <classes key="python">osaf.framework.tasks.Action.Action</classes>
</Kind>
@@ -168,7 +168,7 @@
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.tasks.Task.Task</classes>
+ <classes key="python">osaf.framework.tasks.Task.Task</classes>
</Kind>
-</Parcel>
\ No newline at end of file
+</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py:1.3 osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py:1.3 Fri Apr 23 17:08:59 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/imports/OutlookContacts.py Tue May 11 13:22:39 2004
@@ -1,7 +1,7 @@
"""Import contacts exported by Outlook to CSV format."""
-__revision__ = "$Revision: 1.3 $"
-__date__ = "$Date: 2004/04/24 00:08:59 $"
+__revision__ = "$Revision: 1.4 $"
+__date__ = "$Date: 2004/05/11 20:22:39 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -64,7 +64,7 @@
"User 1" "User 2" "User 3" "User 4"
"""
-MAPPINGDIR="parcels/OSAF/framework/utils/imports"
+MAPPINGDIR="parcels/osaf/framework/utils/imports"
class OutlookContacts(Importer.CSVImporter):
"""Import contacts exported by Outlook to CSV format."""
@@ -83,7 +83,7 @@
def postProcess(self, object):
"""Deal with registering homeSection and workSection after the fact."""
- kindPath="//parcels/OSAF/contentmodel/contacts/ContactSection"
+ kindPath="//parcels/osaf/contentmodel/contacts/ContactSection"
sectionKind=Globals.repository.find(kindPath)
sectionsList=[]
for child in object.iterChildren():
Index: osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml:1.3 osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml:1.4
--- osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml:1.3 Fri Dec 5 15:08:39 2003
+++ osaf/chandler/Chandler/parcels/OSAF/framework/agents/parcel.xml Tue May 11 13:21:47 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<Parcel describes="//parcels/OSAF/framework/agents"
+<Parcel describes="//parcels/osaf/framework/agents"
itemName="agents"
xmlns="//Schema/Core">
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py:1.22 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py:1.23
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py:1.22 Tue Apr 20 17:26:25 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Views.py Tue May 11 13:22:01 2004
@@ -1,12 +1,12 @@
-__version__ = "$Revision: 1.22 $"
-__date__ = "$Date: 2004/04/21 00:26:25 $"
+__version__ = "$Revision: 1.23 $"
+__date__ = "$Date: 2004/05/11 20:22:01 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
from ContainerBlocks import *
from MenuBlocks import MenuEntry
-from OSAF.framework.notifications.Notification import Notification
+from osaf.framework.notifications.Notification import Notification
import wx
class View(BoxContainer):
@@ -109,7 +109,7 @@
menu or menuItem. If it's not the same as the last time the focus
changed then we need to rebuild the menus.
"""
- from OSAF.framework.blocks.MenuBlocks import Menu, MenuItem
+ from osaf.framework.blocks.MenuBlocks import Menu, MenuItem
Globals.activeView = block
while (block):
Index: osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml:1.17 osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml:1.18
--- osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml:1.17 Mon May 3 14:42:47 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/agents/schema/parcel.xml Tue May 11 13:21:52 2004
@@ -3,17 +3,17 @@
<!-- Here are schema definitions for the AgentItem repository object as well as related subjects -->
<!-- Schemas for: Condition, Action, Instruction, Repertoire, AgentItem -->
-<!-- $Revision: 1.17 $ -->
-<!-- $Date: 2004/05/03 21:42:47 $ -->
+<!-- $Revision: 1.18 $ -->
+<!-- $Date: 2004/05/11 20:21:52 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/agents/schema"
+<Parcel describes="//parcels/osaf/framework/agents/schema"
itemName="schema"
xmlns="//Schema/Core"
- xmlns:agents="//parcels/OSAF/framework/agents/schema"
- xmlns:blah="//parcels/OSAF/framework/utils"
- xmlns:indexes="//parcels/OSAF/framework/utils/indexer">
+ xmlns:agents="//parcels/osaf/framework/agents/schema"
+ xmlns:blah="//parcels/osaf/framework/utils"
+ xmlns:indexes="//parcels/osaf/framework/utils/indexer">
<displayName>Agent Schema</displayName>
<description>Agent schema for the 0.2 release</description>
@@ -109,13 +109,13 @@
<attributes itemref="agents:Action/actionOwner"/>
<attributes itemref="agents:Action/actionRepertoireOwner"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.agents.schema.Action.Action</classes>
+ <classes key="python">osaf.framework.agents.schema.Action.Action</classes>
</Kind>
<Kind itemName="DialogAction">
<displayName>Dialog Action</displayName>
<superKinds itemref="agents:Action"/>
- <classes key="python">OSAF.framework.agents.schema.DialogAction.DialogAction</classes>
+ <classes key="python">osaf.framework.agents.schema.DialogAction.DialogAction</classes>
</Kind>
@@ -194,7 +194,7 @@
<attributes itemref="agents:Condition/conditionOwner"/>
<attributes itemref="agents:Condition/conditionRepertoireOwner"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.agents.schema.Condition.Condition</classes>
+ <classes key="python">osaf.framework.agents.schema.Condition.Condition</classes>
</Kind>
@@ -289,7 +289,7 @@
<attributes itemref="agents:Instruction/instructionOwner"/>
<attributes itemref="agents:Instruction/timers"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.agents.schema.Instruction.Instruction</classes>
+ <classes key="python">osaf.framework.agents.schema.Instruction.Instruction</classes>
</Kind>
@@ -322,7 +322,7 @@
<attributes itemref="agents:Repertoire/possibleActions"/>
<attributes itemref="agents:Repertoire/possibleConditions"/>
<attributes itemref="agents:Repertoire/repertoireOwner"/>
- <classes key="python">OSAF.framework.agents.schema.Repertoire.Repertoire</classes>
+ <classes key="python">osaf.framework.agents.schema.Repertoire.Repertoire</classes>
<superKinds itemref="Item"/>
</Kind>
@@ -385,7 +385,7 @@
<attributes itemref="agents:AgentItem/prefData"/>
<attributes itemref="agents:AgentItem/status"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.agents.schema.AgentItem.AgentItem</classes>
+ <classes key="python">osaf.framework.agents.schema.AgentItem.AgentItem</classes>
</Kind>
</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml:1.22 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml:1.23
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml:1.22 Sat May 8 17:19:18 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/Events/parcel.xml Tue May 11 13:22:04 2004
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
-<!-- $Date: 2004/05/09 00:19:18 $ -->
+<!-- $Revision: 1.23 $ -->
+<!-- $Date: 2004/05/11 20:22:04 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/framework/blocks/Events"
+<core:Parcel describes="//parcels/osaf/framework/blocks/Events"
itemName="Events"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:events="//parcels/OSAF/framework/blocks/Events">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:events="//parcels/osaf/framework/blocks/Events">
<description>Events, need to be defined in a different parcel than the schema because
of a limitation of the XML format, which will be eliminated</description>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py:1.3 osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py:1.3 Fri Dec 5 15:08:39 2003
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/__init__.py Tue May 11 13:22:45 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.3 $"
-__date__ = "$Date: 2003/12/05 23:08:39 $"
+__version__ = "$Revision: 1.4 $"
+__date__ = "$Date: 2004/05/11 20:22:45 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -12,7 +12,7 @@
def getIndex(name):
repository = Globals.repository
ITEM_KIND_PATH = '//Schema/Core/Item'
- INDEX_KIND_PATH = '//parcels/OSAF/framework/utils/indexer/Index'
+ INDEX_KIND_PATH = '//parcels/osaf/framework/utils/indexer/Index'
index = repository.find('//userdata/indexes/' + name)
if index:
Index: osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py:1.12 osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py:1.13
--- osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py:1.12 Tue Mar 23 21:08:00 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/notifications/tests/TestNotifications.py Tue May 11 13:22:23 2004
@@ -12,22 +12,22 @@
import application.Globals as Globals
import repository.item.Item as Item
-from OSAF.framework.notifications.Notification import Notification
+from osaf.framework.notifications.Notification import Notification
def MakeEvent():
- eventKind = Globals.repository.find('//parcels/OSAF/framework/notifications/schema/Event')
+ eventKind = Globals.repository.find('//parcels/osaf/framework/notifications/schema/Event')
event = eventKind.newItem(None, Globals.repository)
return event
def repositoryCallback(uuid, notification, reason, **kwds):
if notification == 'History':
- eventPath = '//parcels/OSAF/framework/item_' + reason
+ eventPath = '//parcels/osaf/framework/item_' + reason
else:
return
event = Globals.repository.find(eventPath)
- from OSAF.framework.notifications.Notification import Notification
+ from osaf.framework.notifications.Notification import Notification
note = Notification(event)
note.threadid = id(threading.currentThread())
d = { 'uuid' : uuid, 'keywords' : kwds }
@@ -44,11 +44,11 @@
""" load only the parcel we need (and it's dependencies) """
import repository.parcel.LoadParcels as LoadParcels
- self.parceldir = os.path.join(self.rootdir, 'Chandler', 'parcels')
+ self.parceldir = os.path.join(self.rootdir, 'chandler', 'parcels')
uri = "//parcels/%s" % relPath
uri = uri.replace(os.path.sep, "/")
- parcelDir = os.path.join(self.rootdir, 'Chandler', 'parcels', relPath)
+ parcelDir = os.path.join(self.rootdir, 'chandler', 'parcels', relPath)
LoadParcels.LoadParcel(parcelDir, uri, self.parceldir, self.rep)
self.assert_(self.rep.find(uri))
@@ -60,14 +60,14 @@
# Load the parcels
#
- #self.parceldir = os.path.join(self.rootdir, 'Chandler', 'parcels')
+ #self.parceldir = os.path.join(self.rootdir, 'chandler', 'parcels')
#import repository.parcel.LoadParcels as LoadParcels
#LoadParcels.LoadParcels(self.parceldir, self.rep)
- self._loadParcel("OSAF/framework/notifications/schema")
- self._loadParcel("OSAF/framework")
+ self._loadParcel("osaf/framework/notifications/schema")
+ self._loadParcel("osaf/framework")
# Create and start the notification manager
- from OSAF.framework.notifications.NotificationManager import NotificationManager
+ from osaf.framework.notifications.NotificationManager import NotificationManager
Globals.notificationManager = NotificationManager()
def test_Subscribe(self):
@@ -123,11 +123,11 @@
print 'Deleted:', uuid
# subscribe to changed, added, deleted events
- e = rep.find('//parcels/OSAF/framework/item_changed')
+ e = rep.find('//parcels/osaf/framework/item_changed')
nm.Subscribe([e], 1, onItemChanged)
- e = rep.find('//parcels/OSAF/framework/item_added')
+ e = rep.find('//parcels/osaf/framework/item_added')
nm.Subscribe([e], 2, onItemAdded)
- e = rep.find('//parcels/OSAF/framework/item_deleted')
+ e = rep.find('//parcels/osaf/framework/item_deleted')
nm.Subscribe([e], 3, onItemDeleted)
print 'adding event'
Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml:1.3 osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml:1.4
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml:1.3 Fri Dec 5 15:08:39 2003
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/parcel.xml Tue May 11 13:22:34 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<Parcel describes="//parcels/OSAF/framework/utils"
+<Parcel describes="//parcels/osaf/framework/utils"
itemName="utils"
xmlns="//Schema/Core">
Index: osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml:1.2 osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml:1.3
--- osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml:1.2 Tue Jan 20 15:45:47 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/parcel.xml Tue May 11 13:22:18 2004
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- $Date: 2004/01/20 23:45:47 $ -->
+<!-- $Revision: 1.3 $ -->
+<!-- $Date: 2004/05/11 20:22:18 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/notifications/schema"
+<Parcel describes="//parcels/osaf/framework/notifications/schema"
itemName="schema"
xmlns="//Schema/Core"
- xmlns:events="//parcels/OSAF/framework/notifications/schema">
+ xmlns:events="//parcels/osaf/framework/notifications/schema">
<displayName>Notification Schema</displayName>
<description>notification</description>
@@ -17,7 +17,7 @@
<Kind itemName="Event">
<displayName>Chandler Event</displayName>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.notifications.schema.Event.Event</classes>
+ <classes key="python">osaf.framework.notifications.schema.Event.Event</classes>
</Kind>
</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py:1.4 osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py:1.5
--- osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py:1.4 Tue Feb 10 21:01:25 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/notifications/schema/Event.py Tue May 11 13:22:18 2004
@@ -4,7 +4,7 @@
"""
from repository.item.Item import Item
-from OSAF.framework.notifications.Notification import Notification
+from osaf.framework.notifications.Notification import Notification
import application.Globals as Globals
class Event(Item):
Index: osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml:1.3 osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml:1.4
--- osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml:1.3 Fri Dec 5 15:08:39 2003
+++ osaf/chandler/Chandler/parcels/OSAF/framework/utils/indexer/parcel.xml Tue May 11 13:22:45 2004
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- $Date: 2003/12/05 23:08:39 $ -->
+<!-- $Revision: 1.4 $ -->
+<!-- $Date: 2004/05/11 20:22:45 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/utils/indexer"
+<Parcel describes="//parcels/osaf/framework/utils/indexer"
itemName="indexer"
xmlns="//Schema/Core"
- xmlns:indexes="//parcels/OSAF/framework/utils/indexer">
+ xmlns:indexes="//parcels/osaf/framework/utils/indexer">
<displayName>Indexer Schema</displayName>
<description>Indexer schema</description>
@@ -34,7 +34,7 @@
<attributes itemref="indexes:Index/items"/>
<superKinds itemref="Item"/>
- <classes key="python">OSAF.framework.utils.indexer.Index.Index</classes>
+ <classes key="python">osaf.framework.utils.indexer.Index.Index</classes>
</Kind>
</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml:1.60 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml:1.61
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml:1.60 Mon May 3 14:42:49 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/parcel.xml Tue May 11 13:22:01 2004
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.60 $ -->
-<!-- $Date: 2004/05/03 21:42:49 $ -->
+<!-- $Revision: 1.61 $ -->
+<!-- $Date: 2004/05/11 20:22:01 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/blocks"
+<Parcel describes="//parcels/osaf/framework/blocks"
itemName="blocks"
xmlns="//Schema/Core"
- xmlns:docSchema="//parcels/OSAF/framework/blocks"
- xmlns:events="//parcels/OSAF/framework/notifications/schema">
+ xmlns:docSchema="//parcels/osaf/framework/blocks"
+ xmlns:events="//parcels/osaf/framework/notifications/schema">
<description>Schema for blocks that make up CPIA documents </description>
<version>0.3</version>
@@ -44,26 +44,26 @@
<type itemref="String"/>
</Attribute>
- <Struct itemName="ColorType" itemClass="OSAF.framework.blocks.DocumentTypes.ColorStruct">
+ <Struct itemName="ColorType" itemClass="osaf.framework.blocks.DocumentTypes.ColorStruct">
<fields key="red"></fields>
<fields key="green"></fields>
<fields key="blue"></fields>
<fields key="alpha"></fields>
- <implementationTypes key="python">OSAF.framework.blocks.DocumentTypes.ColorType</implementationTypes>
+ <implementationTypes key="python">osaf.framework.blocks.DocumentTypes.ColorType</implementationTypes>
</Struct>
- <Struct itemName="SizeType" itemClass="OSAF.framework.blocks.DocumentTypes.SizeStruct">
+ <Struct itemName="SizeType" itemClass="osaf.framework.blocks.DocumentTypes.SizeStruct">
<fields key="width"></fields>
<fields key="height"></fields>
- <implementationTypes key="python">OSAF.framework.blocks.DocumentTypes.SizeType</implementationTypes>
+ <implementationTypes key="python">osaf.framework.blocks.DocumentTypes.SizeType</implementationTypes>
</Struct>
- <Struct itemName="RectType" itemClass="OSAF.framework.blocks.DocumentTypes.RectStruct">
+ <Struct itemName="RectType" itemClass="osaf.framework.blocks.DocumentTypes.RectStruct">
<fields key="top"></fields>
<fields key="left"></fields>
<fields key="bottom"></fields>
<fields key="right"></fields>
- <implementationTypes key="python">OSAF.framework.blocks.DocumentTypes.RectType</implementationTypes>
+ <implementationTypes key="python">osaf.framework.blocks.DocumentTypes.RectType</implementationTypes>
</Struct>
<Enumeration itemName="textAlignmentEnumType">
@@ -103,7 +103,7 @@
Chandler Query
-->
<Kind itemName="Query">
- <classes key="python">OSAF.framework.blocks.Query.Query</classes>
+ <classes key="python">osaf.framework.blocks.Query.Query</classes>
<superKinds itemref="Item"/>
<Attribute itemName="usedInBlocks">
@@ -153,7 +153,7 @@
Named styles
-->
<Kind itemName="Style">
- <classes key="python">OSAF.framework.blocks.Styles.Style</classes>
+ <classes key="python">osaf.framework.blocks.Styles.Style</classes>
<superKinds itemref="Item"/>
<Attribute itemName="usedInBlocks">
@@ -166,7 +166,7 @@
</Kind>
<Kind itemName="CharacterStyle">
- <classes key="python">OSAF.framework.blocks.Styles.CharacterStyle</classes>
+ <classes key="python">osaf.framework.blocks.Styles.CharacterStyle</classes>
<superKinds itemref="docSchema:Style"/>
<attributes itemref="docSchema:fontFamily"/>
@@ -192,7 +192,7 @@
-->
<Kind itemName="BlockEvent">
- <classes key="python">OSAF.framework.blocks.Block.BlockEvent</classes>
+ <classes key="python">osaf.framework.blocks.Block.BlockEvent</classes>
<superKinds itemref="events:Event"/>
<Enumeration itemName="dispatchEnumType">
@@ -220,7 +220,7 @@
</Kind>
<Kind itemName="ChoiceEvent">
- <classes key="python">OSAF.framework.blocks.Block.ChoiceEvent</classes>
+ <classes key="python">osaf.framework.blocks.Block.ChoiceEvent</classes>
<superKinds itemref="docSchema:BlockEvent"/>
<Attribute itemName="choice">
@@ -245,7 +245,7 @@
-->
<Kind itemName="Block">
- <classes key="python">OSAF.framework.blocks.Block.Block</classes>
+ <classes key="python">osaf.framework.blocks.Block.Block</classes>
<superKinds itemref="Item"/>
<Attribute itemName="contentSpec">
@@ -294,7 +294,7 @@
View
-->
<Kind itemName="View">
- <classes key="python">OSAF.framework.blocks.Views.View</classes>
+ <classes key="python">osaf.framework.blocks.Views.View</classes>
<superKinds itemref="docSchema:BoxContainer"/>
</Kind>
@@ -302,7 +302,7 @@
ContainerChild is the most generic child of a container
-->
<Kind itemName="ContainerChild">
- <classes key="python">OSAF.framework.blocks.Block.ContainerChild</classes>
+ <classes key="python">osaf.framework.blocks.Block.ContainerChild</classes>
<superKinds itemref="docSchema:Block"/>
</Kind>
@@ -310,7 +310,7 @@
RectangularChild is a rectangular child of a container
-->
<Kind itemName="RectangularChild">
- <classes key="python">OSAF.framework.blocks.Block.RectangularChild</classes>
+ <classes key="python">osaf.framework.blocks.Block.RectangularChild</classes>
<superKinds itemref="docSchema:ContainerChild"/>
<Attribute itemName="size">
@@ -363,7 +363,7 @@
BoxContainer
-->
<Kind itemName="BoxContainer">
- <classes key="python">OSAF.framework.blocks.ContainerBlocks.BoxContainer</classes>
+ <classes key="python">osaf.framework.blocks.ContainerBlocks.BoxContainer</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<attributes itemref="docSchema:orientationEnum"/>
@@ -373,7 +373,7 @@
EmbeddedContainer
-->
<Kind itemName="EmbeddedContainer">
- <classes key="python">OSAF.framework.blocks.ContainerBlocks.EmbeddedContainer</classes>
+ <classes key="python">osaf.framework.blocks.ContainerBlocks.EmbeddedContainer</classes>
<superKinds itemref="docSchema:RectangularChild"/>
</Kind>
@@ -381,7 +381,7 @@
Menu Entries are either MenuItems or Menus
-->
<Kind itemName="MenuEntry">
- <classes key="python">OSAF.framework.blocks.MenuBlocks.MenuEntry</classes>
+ <classes key="python">osaf.framework.blocks.MenuBlocks.MenuEntry</classes>
<superKinds itemref="docSchema:Block"/>
<Attribute itemName="title">
@@ -425,7 +425,7 @@
MenuItem
-->
<Kind itemName="MenuItem">
- <classes key="python">OSAF.framework.blocks.MenuBlocks.MenuItem</classes>
+ <classes key="python">osaf.framework.blocks.MenuBlocks.MenuItem</classes>
<superKinds itemref="docSchema:MenuEntry"/>
<Enumeration itemName="menuItemKindEnumType">
@@ -454,7 +454,7 @@
Menu
-->
<Kind itemName="Menu">
- <classes key="python">OSAF.framework.blocks.MenuBlocks.Menu</classes>
+ <classes key="python">osaf.framework.blocks.MenuBlocks.Menu</classes>
<superKinds itemref="docSchema:MenuEntry"/>
</Kind>
@@ -463,7 +463,7 @@
Button
-->
<Kind itemName="Button">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.Button</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.Button</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="title">
@@ -500,7 +500,7 @@
Choice
-->
<Kind itemName="Choice">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.Choice</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.Choice</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="choices">
@@ -520,7 +520,7 @@
ComboBox
-->
<Kind itemName="ComboBox">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.ComboBox</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.ComboBox</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="selection">
@@ -545,7 +545,7 @@
EditText
-->
<Kind itemName="EditText">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.EditText</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.EditText</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Enumeration itemName="lineStyleEnumType">
@@ -581,7 +581,7 @@
HTML
-->
<Kind itemName="HTML">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.HTML</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.HTML</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="url">
@@ -595,7 +595,7 @@
List
-->
<Kind itemName="List">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.List</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.List</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<attributes itemref="docSchema:columnHeadings"/>
@@ -608,7 +608,7 @@
Summary
-->
<Kind itemName="Summary">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.Summary</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.Summary</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<attributes itemref="docSchema:columnHeadings"/>
@@ -621,7 +621,7 @@
Tree
-->
<Kind itemName="Tree">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.Tree</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.Tree</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="hideRoot">
@@ -660,7 +660,7 @@
RadioBox
-->
<Kind itemName="RadioBox">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.RadioBox</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.RadioBox</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="title">
@@ -696,7 +696,7 @@
ScrolledWindow
-->
<Kind itemName="ScrolledWindow">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.ScrolledWindow</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.ScrolledWindow</classes>
<superKinds itemref="docSchema:RectangularChild"/>
</Kind>
@@ -705,7 +705,7 @@
SplitWindow
-->
<Kind itemName="SplitWindow">
- <classes key="python">OSAF.framework.blocks.ContainerBlocks.SplitWindow</classes>
+ <classes key="python">osaf.framework.blocks.ContainerBlocks.SplitWindow</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="splitPercentage">
@@ -720,7 +720,7 @@
StaticText
-->
<Kind itemName="StaticText">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.StaticText</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.StaticText</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="title">
@@ -736,7 +736,7 @@
StatusBar
-->
<Kind itemName="StatusBar">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.StatusBar</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.StatusBar</classes>
<superKinds itemref="docSchema:RectangularChild"/>
</Kind>
@@ -744,7 +744,7 @@
TabbedContainer
-->
<Kind itemName="TabbedContainer">
- <classes key="python">OSAF.framework.blocks.ContainerBlocks.TabbedContainer</classes>
+ <classes key="python">osaf.framework.blocks.ContainerBlocks.TabbedContainer</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Enumeration itemName="tabPosEnumType">
@@ -771,7 +771,7 @@
Toolbar
-->
<Kind itemName="Toolbar">
- <classes key="python">OSAF.framework.blocks.ContainerBlocks.Toolbar</classes>
+ <classes key="python">osaf.framework.blocks.ContainerBlocks.Toolbar</classes>
<superKinds itemref="docSchema:ContainerChild"/>
<Attribute itemName="toolSize">
@@ -785,7 +785,7 @@
ToolbarItem
-->
<Kind itemName="ToolbarItem">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.ToolbarItem</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.ToolbarItem</classes>
<superKinds itemref="docSchema:ContainerChild"/>
<Attribute itemName="toolbarLocation">
@@ -831,7 +831,7 @@
<!-- Item Detail Block -->
<Kind itemName="ItemDetail">
- <classes key="python">OSAF.framework.blocks.ControlBlocks.ItemDetail</classes>
+ <classes key="python">osaf.framework.blocks.ControlBlocks.ItemDetail</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<attributes itemref="docSchema:selection"/>
@@ -841,7 +841,7 @@
NavigationBar
-->
<Kind itemName="NavigationBar">
- <classes key="python">OSAF.framework.blocks.NavigationBlocks.NavigationBar</classes>
+ <classes key="python">osaf.framework.blocks.NavigationBlocks.NavigationBar</classes>
<superKinds itemref="docSchema:Toolbar"/>
</Kind>
@@ -849,7 +849,7 @@
BookmarksBar
-->
<Kind itemName="BookmarksBar">
- <classes key="python">OSAF.framework.blocks.NavigationBlocks.BookmarksBar</classes>
+ <classes key="python">osaf.framework.blocks.NavigationBlocks.BookmarksBar</classes>
<superKinds itemref="docSchema:RectangularChild"/>
<Attribute itemName="bookmarksPath">
@@ -863,7 +863,7 @@
Node, used to store URL space in repository
-->
<Kind itemName="Node">
- <classes key="python">OSAF.framework.blocks.Node.Node</classes>
+ <classes key="python">osaf.framework.blocks.Node.Node</classes>
<superKinds itemref="Item"/>
<Attribute itemName="parent">
Index: osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml:1.15 osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml:1.16
--- osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml:1.15 Mon Apr 19 14:40:20 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/zaobao/parcel.xml Tue May 11 13:23:26 2004
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
-<!-- $Date: 2004/04/19 21:40:20 $ -->
+<!-- $Revision: 1.16 $ -->
+<!-- $Date: 2004/05/11 20:23:26 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/zaobao"
+<core:Parcel describes="//parcels/osaf/views/zaobao"
itemName="zaobao"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:doc="//parcels/OSAF/views/zaobao"
- xmlns:events="//parcels/OSAF/framework/blocks/Events"
- xmlns:zb="//parcels/OSAF/examples/zaobao">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:doc="//parcels/osaf/views/zaobao"
+ xmlns:events="//parcels/osaf/framework/blocks/Events"
+ xmlns:zb="//parcels/osaf/examples/zaobao">
<core:version>0.3</core:version>
@@ -73,7 +73,7 @@
<!-- The main ZaoBao view -->
<Tree itemName="ZaoBaoTree">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoTreeDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoTreeDelegate</elementDelegate>
<rootPath itemref="zb:RSSChannel"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -129,7 +129,7 @@
</BoxContainer>
<HTML itemName="AboutZaoBao">
- <url>parcels/OSAF/examples/zaobao/AboutZaoBao.html</url>
+ <url>parcels/osaf/examples/zaobao/AboutZaoBao.html</url>
<eventBoundary>True</eventBoundary>
<open>True</open>
<size>900,580</size>
@@ -165,7 +165,7 @@
<!-- Example single channel view -->
<Tree itemName="ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:osaf"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -211,7 +211,7 @@
<Tree itemName="chandlerwiki_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:chandlerwiki"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -256,7 +256,7 @@
<Tree itemName="junglewiki_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:junglewiki"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -302,7 +302,7 @@
<Tree itemName="ted_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:ted"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -348,7 +348,7 @@
<Tree itemName="zaobao_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:zaobao"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -395,7 +395,7 @@
<Tree itemName="chao_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:chao"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -442,7 +442,7 @@
<Tree itemName="lessig_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:lessig"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
@@ -489,7 +489,7 @@
<Tree itemName="mark_ChannelList">
- <elementDelegate>OSAF.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
+ <elementDelegate>osaf.examples.zaobao.blocks.ZaoBaoListDelegate</elementDelegate>
<rootPath itemref="doc:diveintomark"/>
<hideRoot>True</hideRoot>
<noLines>True</noLines>
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py:1.7 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py:1.8
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py:1.7 Thu May 6 10:47:17 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/GenerateItems.py Tue May 11 13:21:02 2004
@@ -2,8 +2,8 @@
Generate sample items: calendar, contacts, etc.
"""
-__revision__ = "$Revision: 1.7 $"
-__date__ = "$Date: 2004/05/06 17:47:17 $"
+__revision__ = "$Revision: 1.8 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -11,10 +11,10 @@
from mx import DateTime
-import OSAF.contentmodel.calendar.Calendar as Calendar
-import OSAF.contentmodel.contacts.Contacts as Contacts
-import OSAF.contentmodel.mail.Mail as Mail
-import OSAF.contentmodel.notes.Notes as Notes
+import osaf.contentmodel.calendar.Calendar as Calendar
+import osaf.contentmodel.contacts.Contacts as Contacts
+import osaf.contentmodel.mail.Mail as Mail
+import osaf.contentmodel.notes.Notes as Notes
HEADLINES = ["Dinner", "Lunch", "Meeting", "Movie", "Games"]
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml:1.1 Wed May 5 23:26:45 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/parcel.xml Tue May 11 13:22:07 2004
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Date: 2004/05/06 06:26:45 $-->
+<!-- $Revision: 1.2 $ -->
+<!-- $Date: 2004/05/11 20:22:07 $-->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/framework/blocks/calendar"
+<Parcel describes="//parcels/osaf/framework/blocks/calendar"
itemName="calendar"
xmlns="//Schema/Core"
- xmlns:blocks="//parcels/OSAF/framework/blocks"
- xmlns:calBlocks="//parcels/OSAF/framework/blocks/calendar"
- xmlns:events="//parcels/OSAF/framework/notifications/schema">
+ xmlns:blocks="//parcels/osaf/framework/blocks"
+ xmlns:calBlocks="//parcels/osaf/framework/blocks/calendar"
+ xmlns:events="//parcels/osaf/framework/notifications/schema">
<description>calendar blocks</description>
<version>0.3</version>
<Kind itemName="MonthBlock">
- <classes key="python">OSAF.framework.blocks.calendar.CalendarBlocks.MonthBlock</classes>
+ <classes key="python">osaf.framework.blocks.calendar.CalendarBlocks.MonthBlock</classes>
<superKinds itemref="blocks:RectangularChild"/>
<Attribute itemName="daysPerWeek">
@@ -44,7 +44,7 @@
</Kind>
<Kind itemName="WeekBlock">
- <classes key="python">OSAF.framework.blocks.calendar.CalendarBlocks.WeekBlock</classes>
+ <classes key="python">osaf.framework.blocks.calendar.CalendarBlocks.WeekBlock</classes>
<superKinds itemref="blocks:RectangularChild"/>
<Attribute itemName="daysPerView">
@@ -71,4 +71,4 @@
<attributes itemref="calBlocks:WeekBlock/rangeIncrement"/>
</Kind>
-</Parcel>
\ No newline at end of file
+</Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py
diff -u osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py:1.2 osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py:1.3
--- osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py:1.2 Thu May 6 10:35:19 2004
+++ osaf/chandler/Chandler/parcels/OSAF/framework/blocks/calendar/CalendarBlocks.py Tue May 11 13:22:07 2004
@@ -1,8 +1,8 @@
""" Calendar Blocks
"""
-__version__ = "$Revision: 1.2 $"
-__date__ = "$Date: 2004/05/06 17:35:19 $"
+__version__ = "$Revision: 1.3 $"
+__date__ = "$Date: 2004/05/11 20:22:07 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -10,7 +10,7 @@
from mx import DateTime
import application.SimpleCanvas as SimpleCanvas
-import OSAF.framework.blocks.Block as Block
+import osaf.framework.blocks.Block as Block
import application.Globals as Globals
class CalendarItem(SimpleCanvas.wxSimpleDrawableObject):
Index: osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml:1.11 osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml:1.12
--- osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml:1.11 Wed Mar 10 01:18:55 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/demo/parcel.xml Tue May 11 13:22:56 2004
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
-<!-- $Date: 2004/03/10 09:18:55 $ -->
+<!-- $Revision: 1.12 $ -->
+<!-- $Date: 2004/05/11 20:22:56 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/demo"
+<core:Parcel describes="//parcels/osaf/views/demo"
itemName="demo"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:doc="//parcels/OSAF/views/demo"
- xmlns:events="//parcels/OSAF/framework/blocks/Events"
- xmlns:main="//parcels/OSAF/views/main">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:doc="//parcels/osaf/views/demo"
+ xmlns:events="//parcels/osaf/framework/blocks/Events"
+ xmlns:main="//parcels/osaf/views/main">
<core:version>0.3</core:version>
@@ -417,7 +417,7 @@
<HTML itemName="HTMLExample">
<!-- Attributes -->
- <url>parcels/OSAF/views/demo/example.html</url>
+ <url>parcels/osaf/views/demo/example.html</url>
<contentSpec itemref="doc:myQuery"/>
<size>200,200</size>
@@ -438,7 +438,7 @@
</BoxContainer>
<TabbedContainer itemName="Tabs"
- itemClass="OSAF.views.demo.Demo.DemoTabs">
+ itemClass="osaf.views.demo.Demo.DemoTabs">
<!-- Layout children -->
<childrenBlocks itemref="doc:IntroTab"/>
<childrenBlocks itemref="doc:ButtonsTab"/>
Index: osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml:1.10 osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml:1.11
--- osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml:1.10 Wed May 5 23:26:47 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/content/parcel.xml Tue May 11 13:22:54 2004
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
-<!-- $Date: 2004/05/06 06:26:47 $ -->
+<!-- $Revision: 1.11 $ -->
+<!-- $Date: 2004/05/11 20:22:54 $ -->
<!-- Copyright (c) 2004 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/content"
+<core:Parcel describes="//parcels/osaf/views/content"
itemName="content"
- xmlns="//parcels/OSAF/framework/blocks"
+ xmlns="//parcels/osaf/framework/blocks"
xmlns:core="//Schema/Core"
- xmlns:calendarBlocks="//parcels/OSAF/framework/blocks/calendar"
- xmlns:calendarModel="//parcels/OSAF/contentmodel/calendar"
- xmlns:noteModel="//parcels/OSAF/contentmodel/notes"
- xmlns:contactsModel="//parcels/OSAF/contentmodel/contacts"
- xmlns:view="//parcels/OSAF/views/content">
+ xmlns:calendarBlocks="//parcels/osaf/framework/blocks/calendar"
+ xmlns:calendarModel="//parcels/osaf/contentmodel/calendar"
+ xmlns:noteModel="//parcels/osaf/contentmodel/notes"
+ xmlns:contactsModel="//parcels/osaf/contentmodel/contacts"
+ xmlns:view="//parcels/osaf/views/content">
<core:version>0.3</core:version>
@@ -45,7 +45,7 @@
<List itemName="CalendarList">
<contentSpec itemref="view:calendarQuery"/>
- <elementDelegate>OSAF.views.content.Content.CalendarListDelegate</elementDelegate>
+ <elementDelegate>osaf.views.content.Content.CalendarListDelegate</elementDelegate>
<columnHeadings>Participants</columnHeadings>
<columnHeadings>Headline</columnHeadings>
@@ -66,7 +66,7 @@
<List itemName="ContactList">
<contentSpec itemref="view:contactQuery"/>
- <elementDelegate>OSAF.views.content.Content.ContactListDelegate</elementDelegate>
+ <elementDelegate>osaf.views.content.Content.ContactListDelegate</elementDelegate>
<columnHeadings>First Name</columnHeadings>
<columnHeadings>Last Name</columnHeadings>
@@ -89,7 +89,7 @@
<List itemName="NoteList">
<contentSpec itemref="view:notesQuery"/>
- <elementDelegate>OSAF.views.content.Content.NoteListDelegate</elementDelegate>
+ <elementDelegate>osaf.views.content.Content.NoteListDelegate</elementDelegate>
<columnHeadings>Description</columnHeadings>
<columnHeadings>Created On</columnHeadings>
@@ -140,7 +140,7 @@
<Summary itemName="MixedList">
<contentSpec itemref="view:mixedQuery"/>
- <elementDelegate>OSAF.views.content.Content.MixedListDelegate</elementDelegate>
+ <elementDelegate>osaf.views.content.Content.MixedListDelegate</elementDelegate>
<columnHeadings>Who (Participants)</columnHeadings>
<columnHeadings>About (Headline)</columnHeadings>
@@ -158,7 +158,7 @@
</Summary>
<ItemDetail itemName="ContentItemDetail"
- itemClass="OSAF.views.content.Content.ContentItemDetail">
+ itemClass="osaf.views.content.Content.ContentItemDetail">
<open>True</open>
<size>100,50</size>
<minimumSize>100,50</minimumSize>
@@ -168,7 +168,7 @@
</ItemDetail>
<ItemDetail itemName="CalendarEventDetail"
- itemClass="OSAF.views.content.Content.ContentItemDetail">
+ itemClass="osaf.views.content.Content.ContentItemDetail">
<open>True</open>
<size>100,50</size>
<minimumSize>100,50</minimumSize>
@@ -178,7 +178,7 @@
</ItemDetail>
<ItemDetail itemName="ContactDetail"
- itemClass="OSAF.views.content.Content.ContentItemDetail">
+ itemClass="osaf.views.content.Content.ContentItemDetail">
<open>True</open>
<size>100,50</size>
<minimumSize>100,50</minimumSize>
@@ -188,7 +188,7 @@
</ItemDetail>
<ItemDetail itemName="NoteDetail"
- itemClass="OSAF.views.content.Content.ContentItemDetail">
+ itemClass="osaf.views.content.Content.ContentItemDetail">
<open>True</open>
<size>100,50</size>
<minimumSize>100,50</minimumSize>
@@ -307,4 +307,4 @@
<splitPercentage>0.5</splitPercentage>
</SplitWindow>
-</core:Parcel>
\ No newline at end of file
+</core:Parcel>
Index: osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml:1.6 osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml:1.7
--- osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml:1.6 Wed May 5 23:26:50 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/locations/parcel.xml Tue May 11 13:23:02 2004
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
-<!-- $Date: 2004/05/06 06:26:50 $ -->
+<!-- $Revision: 1.7 $ -->
+<!-- $Date: 2004/05/11 20:23:02 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/locations"
+<core:Parcel describes="//parcels/osaf/views/locations"
itemName="locations"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:main="//parcels/OSAF/views/main"
- xmlns:doc="//parcels/OSAF/views/locations"
- xmlns:repository="//parcels/OSAF/views/repositoryviewer"
- xmlns:demo="//parcels/OSAF/views/demo"
- xmlns:content="//parcels/OSAF/views/content"
- xmlns:zaobao="//parcels/OSAF/views/zaobao">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:main="//parcels/osaf/views/main"
+ xmlns:doc="//parcels/osaf/views/locations"
+ xmlns:repository="//parcels/osaf/views/repositoryviewer"
+ xmlns:demo="//parcels/osaf/views/demo"
+ xmlns:content="//parcels/osaf/views/content"
+ xmlns:zaobao="//parcels/osaf/views/zaobao">
<core:version>0.3</core:version>
Index: osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py:1.3 osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py:1.3 Thu May 6 13:57:42 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/main/TabbedView.py Tue May 11 13:23:11 2004
@@ -1,12 +1,12 @@
-__version__ = "$Revision: 1.3 $"
-__date__ = "$Date: 2004/05/06 20:57:42 $"
+__version__ = "$Revision: 1.4 $"
+__date__ = "$Date: 2004/05/11 20:23:11 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.blocks.ControlBlocks as ControlBlocks
-from OSAF.framework.blocks.Node import Node as Node
-from OSAF.framework.blocks.Block import Block as Block
+import osaf.framework.blocks.ControlBlocks as ControlBlocks
+from osaf.framework.blocks.Node import Node as Node
+from osaf.framework.blocks.Block import Block as Block
from repository.util.UUID import UUID
class TabbedView(ControlBlocks.TabbedContainer):
@@ -52,7 +52,7 @@
def OnNewTabEvent (self, notification):
tabbedContainer = Globals.association[self.itsUUID]
- kind = Globals.repository.find("parcels/OSAF/framework/blocks/HTML")
+ kind = Globals.repository.find("parcels/osaf/framework/blocks/HTML")
self.activeTab = tabbedContainer.GetPageCount()
self.tabTitles.append(self.getUniqueName("untitled"))
@@ -125,4 +125,4 @@
number += 1
return name + str(number)
-
\ No newline at end of file
+
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py:1.7 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py:1.8
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py:1.7 Tue Mar 23 21:07:15 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestCalendar.py Tue May 11 13:21:02 2004
@@ -2,16 +2,16 @@
Unit tests for calendar
"""
-__revision__ = "$Revision: 1.7 $"
-__date__ = "$Date: 2004/03/24 05:07:15 $"
+__revision__ = "$Revision: 1.8 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import unittest, os
-import OSAF.contentmodel.calendar.Calendar as Calendar
-import OSAF.contentmodel.tests.TestContentModel as TestContentModel
-import OSAF.contentmodel.tests.GenerateItems as GenerateItems
+import osaf.contentmodel.calendar.Calendar as Calendar
+import osaf.contentmodel.tests.TestContentModel as TestContentModel
+import osaf.contentmodel.tests.GenerateItems as GenerateItems
import mx.DateTime as DateTime
@@ -21,7 +21,7 @@
def testCalendar(self):
""" Simple test for creating instances of calendar related kinds """
- self.loadParcel("OSAF/contentmodel/calendar")
+ self.loadParcel("osaf/contentmodel/calendar")
def _verifyCalendarEvent(event):
self.assertEqual(event.headline, "simple headline")
@@ -45,7 +45,7 @@
"simple location")
# Check that the globals got created by the parcel
- calendarPath = '//parcels/OSAF/contentmodel/calendar/%s'
+ calendarPath = '//parcels/osaf/contentmodel/calendar/%s'
self.assertEqual(Calendar.CalendarParcel.getCalendarEventKind(),
self.rep.find(calendarPath % 'CalendarEvent'))
@@ -95,7 +95,7 @@
def testTimeFields(self):
""" Test time related fields and methods """
- self.loadParcel("OSAF/contentmodel/calendar")
+ self.loadParcel("osaf/contentmodel/calendar")
# Test getDuration
firstItem = Calendar.CalendarEvent()
@@ -119,7 +119,7 @@
def testDeleteItem(self):
""" Test calendar event deletion """
- self.loadParcel("OSAF/contentmodel/calendar")
+ self.loadParcel("osaf/contentmodel/calendar")
item = Calendar.CalendarEvent()
path = item.itsPath
@@ -131,7 +131,7 @@
def testGeneratedEvents(self):
- self.loadParcel("OSAF/contentmodel/calendar")
+ self.loadParcel("osaf/contentmodel/calendar")
GenerateItems.GenerateCalendarEvents(100, 100)
self.rep.commit()
Index: osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py:1.7 osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py:1.8
--- osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py:1.7 Sat May 8 17:19:14 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/main/SideBar.py Tue May 11 13:23:11 2004
@@ -1,10 +1,10 @@
-__version__ = "$Revision: 1.7 $"
-__date__ = "$Date: 2004/05/09 00:19:14 $"
+__version__ = "$Revision: 1.8 $"
+__date__ = "$Date: 2004/05/11 20:23:11 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.blocks.ControlBlocks as ControlBlocks
+import osaf.framework.blocks.ControlBlocks as ControlBlocks
class SideBarDelegate:
Index: osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml:1.1 Tue Jan 20 12:36:09 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/parcel.xml Tue May 11 13:22:51 2004
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Date: 2004/01/20 20:36:09 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Date: 2004/05/11 20:22:51 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/views"
+<Parcel describes="//parcels/osaf/views"
itemName="views"
xmlns="//Schema/Core">
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py:1.4 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py:1.5
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py:1.4 Tue Mar 23 21:07:15 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestMail.py Tue May 11 13:21:02 2004
@@ -2,15 +2,15 @@
Unit tests for mail
"""
-__revision__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2004/03/24 05:07:15 $"
+__revision__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import unittest, os
-import OSAF.contentmodel.tests.TestContentModel as TestContentModel
-import OSAF.contentmodel.mail.Mail as Mail
+import osaf.contentmodel.tests.TestContentModel as TestContentModel
+import osaf.contentmodel.mail.Mail as Mail
import mx.DateTime as DateTime
@@ -20,13 +20,13 @@
def testMail(self):
""" Simple test for creating instances of email related kinds """
- self.loadParcel("OSAF/contentmodel/mail")
+ self.loadParcel("osaf/contentmodel/mail")
def _verifyMailMessage(message):
pass
# Test the globals
- mailPath = '//parcels/OSAF/contentmodel/mail/%s'
+ mailPath = '//parcels/osaf/contentmodel/mail/%s'
self.assertEqual(Mail.MailParcel.getAttachmentKind(),
self.rep.find(mailPath % 'Attachment'))
Index: osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py:1.3 osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py:1.3 Thu Apr 15 15:55:48 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/demo/Demo.py Tue May 11 13:22:56 2004
@@ -1,10 +1,10 @@
-__version__ = "$Revision: 1.3 $"
-__date__ = "$Date: 2004/04/15 22:55:48 $"
+__version__ = "$Revision: 1.4 $"
+__date__ = "$Date: 2004/05/11 20:22:56 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.blocks.ContainerBlocks as ContainerBlocks
+import osaf.framework.blocks.ContainerBlocks as ContainerBlocks
class DemoTabs(ContainerBlocks.TabbedContainer):
def OnChooseTabEventUpdateUI(self, notification):
@@ -13,11 +13,11 @@
notification.data['Check'] = (selectedText == notification.event.choice)
def OnAddTextEvent(self, notification):
- textBox = Globals.repository.find('//parcels/OSAF/views/demo/ButtonText')
+ textBox = Globals.repository.find('//parcels/osaf/views/demo/ButtonText')
wxTextBox = Globals.association[textBox.itsUUID]
wxTextBox.AppendText('Here is some text')
def OnReloadTextEvent(self, notification):
- textBox = Globals.repository.find('//parcels/OSAF/views/demo/ButtonText')
+ textBox = Globals.repository.find('//parcels/osaf/views/demo/ButtonText')
wxTextBox = Globals.association[textBox.itsUUID]
wxTextBox.SetValue('')
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py:1.7 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py:1.8
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py:1.7 Tue Mar 23 21:07:15 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestNotes.py Tue May 11 13:21:02 2004
@@ -2,15 +2,15 @@
Unit tests for notes parcel
"""
-__revision__ = "$Revision: 1.7 $"
-__date__ = "$Date: 2004/03/24 05:07:15 $"
+__revision__ = "$Revision: 1.8 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import unittest, os
-import OSAF.contentmodel.tests.TestContentModel as TestContentModel
-import OSAF.contentmodel.notes.Notes as Notes
+import osaf.contentmodel.tests.TestContentModel as TestContentModel
+import osaf.contentmodel.notes.Notes as Notes
import mx.DateTime as DateTime
@@ -20,7 +20,7 @@
def testNotes(self):
""" Simple test for creating instances of note related kinds """
- self.loadParcel("OSAF/contentmodel/notes")
+ self.loadParcel("osaf/contentmodel/notes")
def _verifyNote(note):
self.assertEqual(note.title, "sample note")
@@ -31,7 +31,7 @@
reader.close()
# Test the globals
- notesPath = '//parcels/OSAF/contentmodel/notes/%s'
+ notesPath = '//parcels/osaf/contentmodel/notes/%s'
self.assertEqual(Notes.NotesParcel.getNoteKind(),
self.rep.find(notesPath % 'Note'))
Index: osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py:1.5 osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py:1.6
--- osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py:1.5 Thu May 6 13:57:42 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/main/Main.py Tue May 11 13:23:11 2004
@@ -1,15 +1,15 @@
-__version__ = "$Revision: 1.5 $"
-__date__ = "$Date: 2004/05/06 20:57:42 $"
+__version__ = "$Revision: 1.6 $"
+__date__ = "$Date: 2004/05/11 20:23:11 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-from OSAF.framework.blocks.Views import View
-from OSAF.framework.notifications.Notification import Notification
+from osaf.framework.blocks.Views import View
+from osaf.framework.notifications.Notification import Notification
import wx
-import OSAF.framework.utils.imports.OutlookContacts as OutlookContacts
-import OSAF.contentmodel.tests.GenerateItems as GenerateItems
+import osaf.framework.utils.imports.OutlookContacts as OutlookContacts
+import osaf.contentmodel.tests.GenerateItems as GenerateItems
class MainView(View):
"""
Index: osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml:1.34 osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml:1.35
--- osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml:1.34 Sat May 8 17:19:14 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/main/parcel.xml Tue May 11 13:23:11 2004
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.34 $ -->
-<!-- $Date: 2004/05/09 00:19:14 $ -->
+<!-- $Revision: 1.35 $ -->
+<!-- $Date: 2004/05/11 20:23:11 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<core:Parcel describes="//parcels/OSAF/views/main"
+<core:Parcel describes="//parcels/osaf/views/main"
itemName="main"
xmlns:core="//Schema/Core"
- xmlns="//parcels/OSAF/framework/blocks"
- xmlns:doc="//parcels/OSAF/views/main"
- xmlns:events="//parcels/OSAF/framework/blocks/Events"
- xmlns:repository="//parcels/OSAF/views/repositoryviewer"
- xmlns:demo="//parcels/OSAF/views/demo"
- xmlns:content="//parcels/OSAF/views/content"
- xmlns:zaobao="//parcels/OSAF/views/zaobao">
+ xmlns="//parcels/osaf/framework/blocks"
+ xmlns:doc="//parcels/osaf/views/main"
+ xmlns:events="//parcels/osaf/framework/blocks/Events"
+ xmlns:repository="//parcels/osaf/views/repositoryviewer"
+ xmlns:demo="//parcels/osaf/views/demo"
+ xmlns:content="//parcels/osaf/views/content"
+ xmlns:zaobao="//parcels/osaf/views/zaobao">
<core:version>0.3</core:version>
@@ -279,7 +279,7 @@
Status Bar
-->
<StatusBar itemName="StatusBar"
- itemClass="OSAF.framework.blocks.NavigationBlocks.ChandlerStatusBar">
+ itemClass="osaf.framework.blocks.NavigationBlocks.ChandlerStatusBar">
</StatusBar>
<!--
@@ -445,7 +445,7 @@
</HTML>
<TabbedContainer itemName="TabbedView"
- itemClass="OSAF.views.main.TabbedView.TabbedView">
+ itemClass="osaf.views.main.TabbedView.TabbedView">
<!-- Layout children -->
<childrenBlocks itemref="doc:AboutChandlerHTML"/>
@@ -460,7 +460,7 @@
<Tree itemName="Sidebar">
<!-- Attributes -->
- <elementDelegate>OSAF.views.main.SideBar.SideBarDelegate</elementDelegate>
+ <elementDelegate>osaf.views.main.SideBar.SideBarDelegate</elementDelegate>
<selection itemref="doc:AboutChandler"/>
<hideRoot>True</hideRoot>
@@ -525,7 +525,7 @@
</BoxContainer>
<View itemName="MainView"
- itemClass="OSAF.views.main.Main.MainView">
+ itemClass="osaf.views.main.Main.MainView">
<!-- Menus -->
<childrenBlocks itemref="doc:FileMenu"/>
<childrenBlocks itemref="doc:NewTabItem"/>
Index: osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py:1.11 osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py:1.12
--- osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py:1.11 Tue May 4 16:40:01 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/repositoryviewer/Repository.py Tue May 11 13:23:17 2004
@@ -1,13 +1,13 @@
""" Classes used by the repository view
"""
-__version__ = "$Revision: 1.11 $"
-__date__ = "$Date: 2004/05/04 23:40:01 $"
+__version__ = "$Revision: 1.12 $"
+__date__ = "$Date: 2004/05/11 20:23:17 $"
__copyright__ = "Copyright (c) 200 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.blocks.ControlBlocks as ControlBlocks
+import osaf.framework.blocks.ControlBlocks as ControlBlocks
class RepositoryDelegate:
""" Used by the tree in the repository view
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py:1.11 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py:1.12
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py:1.11 Tue Mar 23 21:07:15 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContentModel.py Tue May 11 13:21:02 2004
@@ -2,8 +2,8 @@
Basic Unit tests for contentmodel
"""
-__revision__ = "$Revision: 1.11 $"
-__date__ = "$Date: 2004/03/24 05:07:15 $"
+__revision__ = "$Revision: 1.12 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -11,7 +11,7 @@
import repository.parcel.LoadParcels as LoadParcels
import repository.tests.RepositoryTestCase as RepositoryTestCase
-import OSAF.contentmodel.ContentModel as ContentModel
+import osaf.contentmodel.ContentModel as ContentModel
import application.Globals as Globals
class ContentModelTestCase(RepositoryTestCase.RepositoryTestCase):
@@ -19,7 +19,7 @@
RepositoryTestCase.RepositoryTestCase.setUp(self)
Globals.repository = self.rep
- self.parceldir = os.path.join(self.rootdir, 'Chandler', 'parcels')
+ self.parceldir = os.path.join(self.rootdir, 'chandler', 'parcels')
def loadParcel(self, relPath):
"""
@@ -27,7 +27,7 @@
"""
uri = "//parcels/%s" % relPath
uri = uri.replace(os.path.sep, "/")
- parcelDir = os.path.join(self.rootdir, 'Chandler', 'parcels', relPath)
+ parcelDir = os.path.join(self.rootdir, 'chandler', 'parcels', relPath)
LoadParcels.LoadParcel(parcelDir, uri, self.parceldir, self.rep)
self.assert_(self.rep.find(uri))
@@ -35,7 +35,7 @@
def testContentItem(self):
- self.loadParcel("OSAF/contentmodel")
+ self.loadParcel("osaf/contentmodel")
def checkGroupItemLink(group, contentItem):
self.assertEqual(len(contentItem.groups), 1)
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py:1.5 osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py:1.6
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py:1.5 Tue Mar 23 21:07:15 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/tests/TestContacts.py Tue May 11 13:21:02 2004
@@ -2,16 +2,16 @@
Unit tests for contacts
"""
-__revision__ = "$Revision: 1.5 $"
-__date__ = "$Date: 2004/03/24 05:07:15 $"
+__revision__ = "$Revision: 1.6 $"
+__date__ = "$Date: 2004/05/11 20:21:02 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import unittest, os
-import OSAF.contentmodel.tests.TestContentModel as TestContentModel
-import OSAF.contentmodel.tests.GenerateItems as GenerateItems
-import OSAF.contentmodel.contacts.Contacts as Contacts
+import osaf.contentmodel.tests.TestContentModel as TestContentModel
+import osaf.contentmodel.tests.GenerateItems as GenerateItems
+import osaf.contentmodel.contacts.Contacts as Contacts
import mx.DateTime as DateTime
@@ -21,7 +21,7 @@
def testContacts(self):
""" Simple test for creating instances of contact related kinds """
- self.loadParcel("OSAF/contentmodel/contacts")
+ self.loadParcel("osaf/contentmodel/contacts")
def _verifyContactName(name):
self.assertEqual(name.firstName, 'Sylvia')
@@ -30,7 +30,7 @@
self.assertEqual(name.getAttributeValue('lastName'), 'Plath')
# Test the globals
- contactsPath = '//parcels/OSAF/contentmodel/contacts/%s'
+ contactsPath = '//parcels/osaf/contentmodel/contacts/%s'
self.assertEqual(Contacts.ContactsParcel.getContactKind(),
self.rep.find(contactsPath % 'Contact'))
@@ -77,8 +77,8 @@
def testGeneratedContacts(self):
- self.loadParcel("OSAF/contentmodel/contacts")
- self.loadParcel("OSAF/contentmodel/mail")
+ self.loadParcel("osaf/contentmodel/contacts")
+ self.loadParcel("osaf/contentmodel/mail")
GenerateItems.GenerateContacts(100)
self.rep.commit()
Index: osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py:1.3 osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py:1.4
--- osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py:1.3 Thu Apr 15 16:20:44 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/StockQuote.py Tue May 11 13:21:13 2004
@@ -2,7 +2,7 @@
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
from application import Globals
-from OSAF.framework.blocks.ContainerBlocks import BoxContainer
+from osaf.framework.blocks.ContainerBlocks import BoxContainer
from repository.parcel.Parcel import Parcel
from SOAPpy import WSDL
@@ -15,8 +15,8 @@
# Make sure our view is in the sidebar
Parcel.startupParcel(self)
rep = self.getRepository()
- urlRoot = rep.find("//parcels/OSAF/views/main/URLRoot")
- sqNode = rep.find("//parcels/OSAF/examples/stockquote/views/StockQuoteViewNode")
+ urlRoot = rep.find("//parcels/osaf/views/main/URLRoot")
+ sqNode = rep.find("//parcels/osaf/examples/stockquote/views/StockQuoteViewNode")
if urlRoot and sqNode:
urlRoot.children.append(sqNode)
@@ -25,10 +25,10 @@
def OnGetQuoteEvent(self, notification):
if not hasattr (self, "proxy"):
self.proxy = WSDL.Proxy('http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl')
- symbolText = Globals.repository.find('//parcels/OSAF/examples/stockquote/views/StockQuoteView/SymbolText')
+ symbolText = Globals.repository.find('//parcels/osaf/examples/stockquote/views/StockQuoteView/SymbolText')
wxSymbolText = Globals.association[symbolText.itsUUID]
symbol = wxSymbolText.GetValue()
- valueLabel = Globals.repository.find('//parcels/OSAF/examples/stockquote/views/StockQuoteView/ValueLabel')
+ valueLabel = Globals.repository.find('//parcels/osaf/examples/stockquote/views/StockQuoteView/ValueLabel')
wxValueLabel = Globals.association[valueLabel.itsUUID]
wxValueLabel.SetLabel('')#Allow user to notice change
wxValueLabel.SetLabel('$' + str(self.proxy.getQuote( symbol )))
Index: osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py
diff -u osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py:1.8 osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py:1.9
--- osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py:1.8 Thu Apr 29 18:53:24 2004
+++ osaf/chandler/Chandler/parcels/OSAF/views/content/Content.py Tue May 11 13:22:54 2004
@@ -1,15 +1,15 @@
-__version__ = "$Revision: 1.8 $"
-__date__ = "$Date: 2004/04/30 01:53:24 $"
+__version__ = "$Revision: 1.9 $"
+__date__ = "$Date: 2004/05/11 20:22:54 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import application.Globals as Globals
-import OSAF.framework.blocks.ControlBlocks as ControlBlocks
+import osaf.framework.blocks.ControlBlocks as ControlBlocks
-import OSAF.contentmodel.calendar.Calendar as Calendar
-import OSAF.contentmodel.notes.Notes as Notes
-import OSAF.contentmodel.contacts.Contacts as Contacts
+import osaf.contentmodel.calendar.Calendar as Calendar
+import osaf.contentmodel.notes.Notes as Notes
+import osaf.contentmodel.contacts.Contacts as Contacts
import repository.item.Query as Query
@@ -23,14 +23,14 @@
HTMLText = "<html><body>"
kind = item.itsKind
- if kind is Globals.repository.find ("//parcels/OSAF/contentmodel/calendar/CalendarEvent"):
+ if kind is Globals.repository.find ("//parcels/osaf/contentmodel/calendar/CalendarEvent"):
HTMLText += "<b>Headline: </b> %s<br>" % item.getAbout()
HTMLText += "<b>Attendees: </b> %s<br>" % item.getWho()
HTMLText += "<b>Date: </b> %s<br>" % item.getDate()
HTMLText += "<b>Duration: </b> %s<br>" % item.duration
- elif kind is Globals.repository.find ("//parcels/OSAF/contentmodel/notes/Note"):
+ elif kind is Globals.repository.find ("//parcels/osaf/contentmodel/notes/Note"):
HTMLText += "<b>Title: </b> %s<br>" % item.getAbout()
- elif kind is Globals.repository.find ("//parcels/OSAF/contentmodel/contacts/Contact"):
+ elif kind is Globals.repository.find ("//parcels/osaf/contentmodel/contacts/Contact"):
HTMLText += "<b>First name: </b> %s<br>" % item.contactName.firstName
HTMLText += "<b>Last name: </b> %s<br>" % item.contactName.lastName
for phone in item.homeSection.phoneNumbers:
Index: osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml:1.1 osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml:1.2
--- osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml:1.1 Thu Mar 25 15:16:02 2004
+++ osaf/chandler/Chandler/parcels/OSAF/examples/stockquote/views/parcel.xml Tue May 11 13:21:17 2004
@@ -5,14 +5,14 @@
<Parcel itemName="views"
xmlns="//Schema/Core"
- xmlns:blocks="//parcels/OSAF/framework/blocks"
- xmlns:views="//parcels/OSAF/examples/stockquote/views"
- itemClass="OSAF.examples.stockquote.StockQuote.StockQuoteViewParcel">
+ xmlns:blocks="//parcels/osaf/framework/blocks"
+ xmlns:views="//parcels/osaf/examples/stockquote/views"
+ itemClass="osaf.examples.stockquote.StockQuote.StockQuoteViewParcel">
<!-- The main block for the view: -->
<blocks:BoxContainer itemName="StockQuoteView"
- itemClass="OSAF.examples.stockquote.StockQuote.StockQuoteView">
+ itemClass="osaf.examples.stockquote.StockQuote.StockQuoteView">
<displayName>Stock Quote</displayName>
<childrenBlocks itemref="views:StockQuoteView/TitleLabel"/>
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py:1.4 osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py:1.5
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py:1.4 Tue Mar 23 21:07:12 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/mail/Mail.py Tue May 11 13:20:49 2004
@@ -1,14 +1,14 @@
""" Classes used for Mail parcel kinds
"""
-__revision__ = "$Revision: 1.4 $"
-__date__ = "$Date: 2004/03/24 05:07:12 $"
+__revision__ = "$Revision: 1.5 $"
+__date__ = "$Date: 2004/05/11 20:20:49 $"
__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
import repository.parcel.Parcel as Parcel
import repository.item.Item as Item
-import OSAF.contentmodel.ContentModel as ContentModel
+import osaf.contentmodel.ContentModel as ContentModel
import application.Globals as Globals
class MailParcel(Parcel.Parcel):
Index: osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml
diff -u osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.19 osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.20
--- osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml:1.19 Mon May 3 14:42:41 2004
+++ osaf/chandler/Chandler/parcels/OSAF/contentmodel/contacts/parcel.xml Tue May 11 13:20:47 2004
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
-<!-- $Date: 2004/05/03 21:42:41 $ -->
+<!-- $Revision: 1.20 $ -->
+<!-- $Date: 2004/05/11 20:20:47 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
-<Parcel describes="//parcels/OSAF/contentmodel/contacts"
+<Parcel describes="//parcels/osaf/contentmodel/contacts"
itemName="contacts"
- itemClass="OSAF.contentmodel.contacts.Contacts.ContactsParcel"
+ itemClass="osaf.contentmodel.contacts.Contacts.ContactsParcel"
xmlns="//Schema/Core"
- xmlns:content="//parcels/OSAF/contentmodel"
- xmlns:mail="//parcels/OSAF/contentmodel/mail"
- xmlns:calendar="//parcels/OSAF/contentmodel/calendar"
- xmlns:contact="//parcels/OSAF/contentmodel/contacts">
+ xmlns:content="//parcels/osaf/contentmodel"
+ xmlns:mail="//parcels/osaf/contentmodel/mail"
+ xmlns:calendar="//parcels/osaf/contentmodel/calendar"
+ xmlns:contact="//parcels/osaf/contentmodel/contacts">
<displayName>Contact Content Model</displayName>
<description>Contact schema for the 0.3 release</description>
@@ -160,7 +160,7 @@
<attributes itemref="calendar:participatingIn"/>
<attributes itemref="calendar:requestedTasks"/>
<attributes itemref="calendar:taskRequests"/>
- <classes key="python">OSAF.contentmodel.contacts.Contacts.Contact</classes>
+ <classes key="python">osaf.contentmodel.contacts.Contacts.Contact</classes>
</Kind>
<!-- Contact Section -->
@@ -272,7 +272,7 @@
<attributes itemref="contact:anniversary"/>
<attributes itemref="contact:children"/>
<attributes itemref="contact:instantMessageAddresses"/>
- <classes key="python">OSAF.contentmodel.contacts.Contacts.ContactSection</classes>
+ <classes key="python">osaf.contentmodel.contacts.Contacts.ContactSection</classes>
</Kind>
<!-- Attributes used in ContactName -->
@@ -336,7 +336,7 @@
<!-- attributes itemref="contact:prefixes"/-->
<!-- attributes itemref="contact:suffixes"/-->
<!-- attributes itemref="contact:initials"/-->
- <classes key="python">OSAF.contentmodel.contacts.Contacts.ContactName</classes>
+ <classes key="python">osaf.contentmodel.contacts.Contacts.ContactName</classes>
</Kind>
<!-- Street Address -->
@@ -414,7 +414,7 @@
<attributes itemref="contact:postalCode"/>
<attributes itemref="contact:countryName"/>
<attributes itemref="contact:streetAddressOwner"/>
- <classes key="python">OSAF.contentmodel.contacts.Contacts.StreetAddress</classes>
+ <classes key="python">osaf.contentmodel.contacts.Contacts.StreetAddress</classes>
</Kind>
<!-- Phone Number -->
@@ -463,7 +463,7 @@
<attributes itemref="contact:phoneNumber"/>
<attributes itemref="contact:phoneType"/>
<attributes itemref="contact:phoneNumberOwner"/>
- <classes key="python">OSAF.contentmodel.contacts.Contacts.PhoneNumber</classes>
+ <classes key="python">osaf.contentmodel.contacts.Contacts.PhoneNumber</classes>
</Kind>
</Parcel>
More information about the Commits
mailing list