[Checkins] SVN: z3ext.cssregistry/trunk/ reindent code; change copyholder; prepare release
Nikolay Kim
fafhrd91 at gmail.com
Tue Aug 11 05:40:12 EDT 2009
Log message for revision 102665:
reindent code; change copyholder; prepare release
Changed:
U z3ext.cssregistry/trunk/CHANGES.txt
U z3ext.cssregistry/trunk/bootstrap.py
U z3ext.cssregistry/trunk/setup.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/command.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/interfaces.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/property.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/registry.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py
U z3ext.cssregistry/trunk/src/z3ext/cssregistry/zcml.py
-=-
Modified: z3ext.cssregistry/trunk/CHANGES.txt
===================================================================
--- z3ext.cssregistry/trunk/CHANGES.txt 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/CHANGES.txt 2009-08-11 09:40:12 UTC (rev 102665)
@@ -3,12 +3,14 @@
=======
-1.4.1 (2009-04-??)
+1.5.0 (2009-08-11)
------------------
- Do not use z3c.autoinclude
+- Copyright holder changed
+
1.4.0 (2008-11-25)
------------------
Modified: z3ext.cssregistry/trunk/bootstrap.py
===================================================================
--- z3ext.cssregistry/trunk/bootstrap.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/bootstrap.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.cssregistry/trunk/setup.py
===================================================================
--- z3ext.cssregistry/trunk/setup.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/setup.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.4.1dev'
+version = '1.5.0'
setup(name='z3ext.cssregistry',
Modified: z3ext.cssregistry/trunk/src/z3ext/cssregistry/command.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/command.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/command.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.cssregistry/trunk/src/z3ext/cssregistry/interfaces.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/interfaces.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/interfaces.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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,
@@ -27,49 +27,49 @@
properties = interface.Attribute('css properties')
name = schema.TextLine(
- title = _(u'Name'),
- description = _(u'CSS Registry name'),
- default = u'',
- required = False)
+ title = _(u'Name'),
+ description = _(u'CSS Registry name'),
+ default = u'',
+ required = False)
title = schema.TextLine(
- title = _(u'Title'),
- description = _(u'CSS Registry title'),
- default = u'',
- required = False)
+ title = _(u'Title'),
+ description = _(u'CSS Registry title'),
+ default = u'',
+ required = False)
class ICSSProperty(interface.Interface):
name = schema.TextLine(
- title = _(u'Name'),
- description = _(u'Property name'),
- required = True)
+ title = _(u'Name'),
+ description = _(u'Property name'),
+ required = True)
title = schema.TextLine(
- title = _(u'Title'),
+ title = _(u'Title'),
description = _(u'Property title'),
- required = False)
+ required = False)
description = schema.TextLine(
- title = _(u'Description'),
+ title = _(u'Description'),
description = _(u'Property description'),
- required = False)
+ required = False)
value = schema.TextLine(
- title = _(u'Value'),
- description = _(u'Property value'),
- required = True)
+ title = _(u'Value'),
+ description = _(u'Property value'),
+ required = True)
type = schema.TextLine(
- title = _(u'Type'),
+ title = _(u'Type'),
description = _(u'Property type. (color, font, size)'),
- required = False)
+ required = False)
def process(text):
""" replace property in text """
-
+
class ICSSRegistryLayer(interface.Interface):
""" marker interface """
Modified: z3ext.cssregistry/trunk/src/z3ext/cssregistry/property.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/property.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/property.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.cssregistry/trunk/src/z3ext/cssregistry/registry.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/registry.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/registry.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.cssregistry/trunk/src/z3ext/cssregistry/tests.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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.cssregistry/trunk/src/z3ext/cssregistry/zcml.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/zcml.py 2009-08-11 09:36:34 UTC (rev 102664)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/zcml.py 2009-08-11 09:40:12 UTC (rev 102665)
@@ -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,
@@ -29,13 +29,13 @@
class ICSSRegistryDirective(interface.Interface):
name = schema.TextLine(
- title = u'Name',
+ title = u'Name',
description = u'Registry name',
- required = False)
+ required = False)
title = schema.TextLine(
- title = u'Title',
- required = False)
+ title = u'Title',
+ required = False)
layer = GlobalObject(
title = u"The layer the css registry should be found in",
@@ -45,58 +45,58 @@
class ICSSPropertySubDirective(interface.Interface):
name = schema.TextLine(
- title = u'Name',
+ title = u'Name',
description = u'Property name',
- required = True)
+ required = True)
value = schema.TextLine(
- title = u'Value',
+ title = u'Value',
description = u'Property value',
- required = True)
+ required = True)
title = MessageID(
- title = u'Title',
+ title = u'Title',
description = u'Property title',
- required = False)
+ required = False)
description = MessageID(
- title = u'Description',
+ title = u'Description',
description = u'Property description',
- required = False)
+ required = False)
type = schema.TextLine(
- title = u'Type',
+ title = u'Type',
description = u'Property type. (color, font, size)',
- required = False)
+ required = False)
class ICSSPropertyDirective(interface.Interface):
registry = schema.TextLine(
- title = u'Registry',
- required = False)
+ title = u'Registry',
+ required = False)
layer = GlobalObject(
title = u"The layer the css registry should be found in",
required=False)
name = schema.TextLine(
- title = u'Name',
- required = True)
+ title = u'Name',
+ required = True)
value = schema.TextLine(
- title = u'Value',
- required = True)
+ title = u'Value',
+ required = True)
description = schema.TextLine(
- title = u'Description',
+ title = u'Description',
description = u'Property description',
- required = False)
+ required = False)
type = schema.TextLine(
- title = u'Type',
+ title = u'Type',
description = u'Property type. (color, font, size)',
- required = False)
+ required = False)
class Factory(object):
@@ -120,15 +120,15 @@
registries[(name, layer)] = self.registry
- # we can't use just 'layer', because registry will be registered as resource
+ # we can't use just 'layer', because registry will be registered as resource
_context.action(
- discriminator = ('CSSRegistry', name, layer),
- callable = handler,
- args = ('registerAdapter',
- Factory(self.registry),
- (ICSSRegistryLayer, ICSSRegistryLayer, layer),
+ discriminator = ('CSSRegistry', name, layer),
+ callable = handler,
+ args = ('registerAdapter',
+ Factory(self.registry),
+ (ICSSRegistryLayer, ICSSRegistryLayer, layer),
ICSSRegistry, name, _context.info),
- )
+ )
def property(self, _context, name, value,
title=u'', description='', type=''):
More information about the Checkins
mailing list