[Checkins] SVN: grok/trunk/ Preparing release 1.4

Jan-Wijbrand Kolman janwijbrand at gmail.com
Thu Jan 20 07:33:56 EST 2011


Log message for revision 119766:
  Preparing release 1.4

Changed:
  U   grok/trunk/CHANGES.txt
  U   grok/trunk/buildout.cfg
  U   grok/trunk/setup.py
  U   grok/trunk/src/grok/interfaces.py

-=-
Modified: grok/trunk/CHANGES.txt
===================================================================
--- grok/trunk/CHANGES.txt	2011-01-20 12:21:01 UTC (rev 119765)
+++ grok/trunk/CHANGES.txt	2011-01-20 12:33:56 UTC (rev 119766)
@@ -1,9 +1,13 @@
 Grok changes
 ************
 
-1.4 (unreleased)
+1.4 (2011-01-20)
 ================
 
+- Define error view baseclasses for IException, INotFound and IUnauthorized
+  errors: grok.ExceptionView, grok.NotFoundView, grok.UnauthorizedView. Lifts
+  the indirect dependency on zope.app.http and zope.app.exception.
+
 - Moved the XMLRPC, REST component into separate packages
   grokcore.xmlrpc and grokcore.rest. Consequently the custom traverse
   components that Grok defined were moved to grokcore.traverser. Grok

Modified: grok/trunk/buildout.cfg
===================================================================
--- grok/trunk/buildout.cfg	2011-01-20 12:21:01 UTC (rev 119765)
+++ grok/trunk/buildout.cfg	2011-01-20 12:33:56 UTC (rev 119766)
@@ -1,20 +1,18 @@
 [buildout]
 extends = http://svn.zope.org/repos/main/groktoolkit/trunk/grok.cfg
 parts =
-    interpreter
-    mkdirs
-    test
-    zope_conf site_zcml deploy_ini debug_ini
-    zpasswd
+  interpreter
+  mkdirs
+  test
+  zope_conf site_zcml deploy_ini debug_ini
+  zpasswd
 develop =
-    .
-    grokwiki
+  .
+  grokwiki
 versions = versions
 extensions =
   buildout.dumppickedversions
   mr.developer
-auto-checkout =
-  zope.errorview
 
 [sources]
 zope.errorview = svn http://svn.zope.org/repos/main/zope.errorview/trunk
@@ -24,21 +22,22 @@
 
 [interpreter]
 recipe = z3c.recipe.scripts
-eggs = grokwiki
-       zest.releaser
+eggs =
+  grokwiki
+  zest.releaser
 interpreter = grokpy
 
 [mkdirs]
 recipe = z3c.recipe.mkdir
 paths =
-    ${zope_conf:filestorage}
-    ${zope_conf:logfiles}
+  ${zope_conf:filestorage}
+  ${zope_conf:logfiles}
 
 [test]
 recipe = zc.recipe.testrunner
 eggs =
-    grok
-    grok[test]
+  grok
+  grok[test]
 defaults = ['--tests-pattern', '^f?tests$', '-v', '--auto-color']
 
 [zope_conf]

Modified: grok/trunk/setup.py
===================================================================
--- grok/trunk/setup.py	2011-01-20 12:21:01 UTC (rev 119765)
+++ grok/trunk/setup.py	2011-01-20 12:33:56 UTC (rev 119766)
@@ -21,7 +21,7 @@
 
 setup(
     name='grok',
-    version='1.4dev',
+    version='1.4',
     author='Grok Team',
     author_email='grok-dev at zope.org',
     url='http://grok.zope.org',

Modified: grok/trunk/src/grok/interfaces.py
===================================================================
--- grok/trunk/src/grok/interfaces.py	2011-01-20 12:21:01 UTC (rev 119765)
+++ grok/trunk/src/grok/interfaces.py	2011-01-20 12:33:56 UTC (rev 119766)
@@ -47,11 +47,16 @@
                        grokcore.json.interfaces.IBaseClasses,
                        grokcore.traverser.interfaces.IBaseClasses,
                        grokcore.xmlrpc.interfaces.IBaseClasses):
-    Model = interface.Attribute("Base class for persistent content objects "
-                                "(models).")
+    Model = interface.Attribute(
+        "Base class for persistent content objects (models).")
     Container = interface.Attribute("Base class for containers.")
     OrderedContainer = interface.Attribute("Base class for ordered containers.")
     Application = interface.Attribute("Base class for applications.")
+    View = interface.Attribute("Base class views.")
+    ExceptionView = interface.Attribute("Base class for excetion views.")
+    NotFoundView = interface.Attribute("Base class notfound exception views.")
+    UnauthorizedView = interface.Attribute(
+        "Base class unauthorized exception views.")
     Indexes = interface.Attribute("Base class for catalog index definitions.")
     Role = interface.Attribute("Base class for roles.")
 



More information about the checkins mailing list