[Checkins] SVN: z3ext.skintool/trunk/ reindent code; change copyright holder; prepare release
Nikolay Kim
fafhrd91 at gmail.com
Tue Aug 11 05:07:12 EDT 2009
Log message for revision 102655:
reindent code; change copyright holder; prepare release
Changed:
U z3ext.skintool/trunk/CHANGES.txt
U z3ext.skintool/trunk/bootstrap.py
U z3ext.skintool/trunk/setup.py
U z3ext.skintool/trunk/src/z3ext/skintool/generations/__init__.py
D z3ext.skintool/trunk/src/z3ext/skintool/generations/install.py
U z3ext.skintool/trunk/src/z3ext/skintool/interfaces.py
U z3ext.skintool/trunk/src/z3ext/skintool/locales/nl/LC_MESSAGES/z3ext.skintool.po
U z3ext.skintool/trunk/src/z3ext/skintool/locales/ru/LC_MESSAGES/z3ext.skintool.po
U z3ext.skintool/trunk/src/z3ext/skintool/locales/z3ext.skintool.pot
U z3ext.skintool/trunk/src/z3ext/skintool/skindatatype.py
U z3ext.skintool/trunk/src/z3ext/skintool/subscribers.py
U z3ext.skintool/trunk/src/z3ext/skintool/tests/interfaces.py
U z3ext.skintool/trunk/src/z3ext/skintool/tests/tests.py
U z3ext.skintool/trunk/src/z3ext/skintool/tool.py
U z3ext.skintool/trunk/src/z3ext/skintool/vocabulary.py
U z3ext.skintool/trunk/src/z3ext/skintool/zcml.py
-=-
Modified: z3ext.skintool/trunk/CHANGES.txt
===================================================================
--- z3ext.skintool/trunk/CHANGES.txt 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/CHANGES.txt 2009-08-11 09:07:11 UTC (rev 102655)
@@ -2,15 +2,13 @@
CHANGES
=======
-1.2.0 (Unreleased)
+1.2.0 (2009-08-11)
------------------
-- Added skin configurable schema.
+- Added skin configurable schema
+- Change copyright holder
-1.1.3 (2009-04-??)
-------------------
-
- Check is skin exists, if not use z3ext as default
- Do not use z3c.autoinclude
Modified: z3ext.skintool/trunk/bootstrap.py
===================================================================
--- z3ext.skintool/trunk/bootstrap.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/bootstrap.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2006 Zope Corporation and Contributors.
+# Copyright (c) 2006 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/setup.py
===================================================================
--- z3ext.skintool/trunk/setup.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/setup.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -21,7 +21,7 @@
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-version = '1.2.0dev'
+version = '1.2.0'
setup(name='z3ext.skintool',
Modified: z3ext.skintool/trunk/src/z3ext/skintool/generations/__init__.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/generations/__init__.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/generations/__init__.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2008 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Deleted: z3ext.skintool/trunk/src/z3ext/skintool/generations/install.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/generations/install.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/generations/install.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,57 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2008 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""
-
-$Id: install.py 3814 2008-11-14 10:40:03Z fafhrd91 $
-"""
-from zope import component
-from zope.app.component.interfaces import ISite
-from zope.app.component.hooks import getSite, setSite
-from zope.app.publication.zopepublication import ZopePublication
-
-from z3ext.skintool import tool
-from z3ext.skintool.interfaces import ISkinTool
-
-
-def evolve(context):
- root = context.connection.root()[ZopePublication.root_name]
-
- def findObjectsProviding(root):
- if ISite.providedBy(root):
- yield root
-
- values = getattr(root, 'values', None)
- if callable(values):
- for subobj in values():
- for match in findObjectsProviding(subobj):
- yield match
-
- for site in findObjectsProviding(root):
- setSite(site)
-
- skintool = component.getUtility(ISkinTool)
- layers = skintool.data.get('user_layers')
-
- if layers:
- skin = None
- ulayers = []
- for layer in layers:
- if layer in tool.skins_byname and skin is None:
- skin = layer
-
- if layer in tool.layers_byname:
- ulayers.append(layer)
-
- skintool.skin = skin
- skintool.layers = ulayers
Modified: z3ext.skintool/trunk/src/z3ext/skintool/interfaces.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/interfaces.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/interfaces.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/locales/nl/LC_MESSAGES/z3ext.skintool.po
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/locales/nl/LC_MESSAGES/z3ext.skintool.po 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/locales/nl/LC_MESSAGES/z3ext.skintool.po 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
# #############################################################################
#
-# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# Copyright (c) 2003-2004 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/locales/ru/LC_MESSAGES/z3ext.skintool.po
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/locales/ru/LC_MESSAGES/z3ext.skintool.po 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/locales/ru/LC_MESSAGES/z3ext.skintool.po 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
# #############################################################################
#
-# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# Copyright (c) 2003-2004 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/locales/z3ext.skintool.pot
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/locales/z3ext.skintool.pot 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/locales/z3ext.skintool.pot 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2003-2004 Zope Corporation and Contributors.
+# Copyright (c) 2003-2004 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/skindatatype.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/skindatatype.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/skindatatype.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/subscribers.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/subscribers.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/subscribers.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/tests/interfaces.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/tests/interfaces.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/tests/interfaces.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2008 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/tests/tests.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/tests/tests.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/tests/tests.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2004 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/tool.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/tool.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/tool.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/vocabulary.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/vocabulary.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/vocabulary.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
Modified: z3ext.skintool/trunk/src/z3ext/skintool/zcml.py
===================================================================
--- z3ext.skintool/trunk/src/z3ext/skintool/zcml.py 2009-08-11 08:57:01 UTC (rev 102654)
+++ z3ext.skintool/trunk/src/z3ext/skintool/zcml.py 2009-08-11 09:07:11 UTC (rev 102655)
@@ -1,6 +1,6 @@
##############################################################################
#
-# Copyright (c) 2007 Zope Corporation and Contributors.
+# Copyright (c) 2009 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
@@ -81,7 +81,7 @@
required = False)
-def skinDirectiveHandler(_context, layer, name, title,
+def skinDirectiveHandler(_context, layer, name, title,
description='',require=[],schema=interface.Interface):
_context.action(
discriminator = ('z3ext.skintool-skin', layer, name),
@@ -89,14 +89,14 @@
args = (layer, name, title, description, require, schema))
-def skinDirective(layer, name, title, description,
+def skinDirective(layer, name, title, description,
require, schema=interface.Interface):
sitemanager = component.getGlobalSiteManager()
tool.skins_byname[name] = layer
skinDataClass = SkinDataType('ui.portalskin.skindata', schema)
interface.classImplements(skinDataClass, schema)
- tool.skins_registry[layer] = (layer, name, title,
+ tool.skins_registry[layer] = (layer, name, title,
description, require, skinDataClass)
More information about the Checkins
mailing list