[ZPT] CVS: Packages/ZTUtils - HISTORY.txt:1.1.2.1 Batch.py:1.2.4.1 CHANGES.txt:1.1.2.1

Evan Simpson evan@zope.com
Tue, 2 Oct 2001 16:25:29 -0400


Update of /cvs-repository/Packages/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv24982

Modified Files:
      Tag: ztutils-1_1_0
	Batch.py CHANGES.txt 
Added Files:
      Tag: ztutils-1_1_0
	HISTORY.txt 
Log Message:
Merge batch changes from trunk


=== Added File Packages/ZTUtils/HISTORY.txt ===
ZTUtils history

  This file contains change information for previous versions of
  ZTUtils. Change information for the current release can be found
  in the file CHANGES.txt.


    Version 1.1.1

      Bugs Fixed

        - Python 1.5.2-incompatible changes crept in.

    Version 1.1.0

      Features Added

        - TreeMakers have a setChildAccess() method that you can use
          to control tree construction.  Child nodes can be accessed
          through either an attribute name or callback function.
          Children fetched by attribute name can be filtered through a
          callback function.

        - A new LazyFilter class allows you to filter a sequence using
          Zope security and an optional filter callback function.  The
          security and filter tests are lazy, meaning they are
          performed as late as possible.  

          The optional 'skip' argument determines the reaction when
          access to a sequence element is refused by the Zope security
          policy.  The default (None) is to raise the 'Unauthorized'
          exception.  If a string is passed, such elements are
          skipped.  If the string is non-empty, it is treated as a
          permission name, and the element is skipped if the user
          doesn't have that permission on the element.

        - The Zope versions of TreeMaker, SimpleTreeMaker, and Batch
          now use LazyFilter. The TreeMakers have a setSkip() method
          that can be used to set the 'skip' value. Batch has an
          optional 'skip_unauthorized' argument that is passed to
          LazyFilter as 'skip'.

        - Utility functions make_query(), url_query(), and
          make_hidden_input() have been added.


=== Packages/ZTUtils/Batch.py 1.2 => 1.2.4.1 ===
     
     def __init__(self, sequence, size, start=0, end=0,
-                 orphan=3, overlap=0):
+                 orphan=0, overlap=0):
 
         start = start + 1
 


=== Packages/ZTUtils/CHANGES.txt 1.1 => 1.1.2.1 ===
   file HISTORY.txt.
 
-    Version 1.1.0
+    Version 1.1.2
 
-      Features Added
-
-        - TreeMakers have a setChildAccess() method that you can use
-          to control tree construction.  Child nodes can be accessed
-          through either an attribute name or callback function.
-          Children fetched by attribute name can be filtered through a
-          callback function.
-
-        - A new LazyFilter class allows you to filter a sequence using
-          Zope security and an optional filter callback function.  The
-          security and filter tests are lazy, meaning they are
-          performed as late as possible.  
+      Bugs Fixed
 
-          The optional 'skip' argument determines the reaction when
-          access to a sequence element is refused by the Zope security
-          policy.  The default (None) is to raise the 'Unauthorized'
-          exception.  If a string is passed, such elements are
-          skipped.  If the string is non-empty, it is treated as a
-          permission name, and the element is skipped if the user
-          doesn't have that permission on the element.
+        - Orphans defaulted to 3, which was confusing and out of sync
+          with DTML-In.
 
-        - The Zope versions of TreeMaker, SimpleTreeMaker, and Batch
-          now use LazyFilter. The TreeMakers have a setSkip() method
-          that can be used to set the 'skip' value. Batch has an
-          optional 'skip_unauthorized' argument that is passed to
-          LazyFilter as 'skip'.
 
-        - Utility functions make_query(), url_query(), and
-          make_hidden_input() have been added.
 
-      Bugs Fixed