Commit cbd3d223 authored by Jim Fulton's avatar Jim Fulton

untabified

parent cad7d8e1
......@@ -54,7 +54,7 @@
"""HTML formated DocumentTemplates
$Id: DT_HTML.py,v 1.12 1998/09/14 20:48:39 jim Exp $"""
$Id: DT_HTML.py,v 1.13 1998/09/14 22:03:31 jim Exp $"""
from DT_String import String, FileMixin
import DT_String, regex
......
......@@ -117,8 +117,8 @@ __doc__='''Conditional insertion
variable is not reevaluated.
'''
__rcs_id__='$Id: DT_If.py,v 1.13 1998/09/14 20:48:39 jim Exp $'
__version__='$Revision: 1.13 $'[11:-2]
__rcs_id__='$Id: DT_If.py,v 1.14 1998/09/14 22:03:31 jim Exp $'
__version__='$Revision: 1.14 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param, str
......@@ -179,4 +179,3 @@ class Unless:
class Else(Unless):
# The else tag is included for backward compatibility and is deprecated.
name='else'
......@@ -349,8 +349,8 @@
''' #'
__rcs_id__='$Id: DT_In.py,v 1.29 1998/09/14 20:48:40 jim Exp $'
__version__='$Revision: 1.29 $'[11:-2]
__rcs_id__='$Id: DT_In.py,v 1.30 1998/09/14 22:03:32 jim Exp $'
__version__='$Revision: 1.30 $'[11:-2]
from DT_Util import ParseError, parse_params, name_param, str
from DT_Util import render_blocks, InstanceDict
......@@ -687,4 +687,3 @@ def int_param(params,md,name,default=0, st=type('')):
v=md[v]
if type(v) is st: v=atoi(v)
return v
......@@ -54,8 +54,8 @@
__doc__='''Sequence variables support
$Id: DT_InSV.py,v 1.7 1998/09/14 20:48:40 jim Exp $'''
__version__='$Revision: 1.7 $'[11:-2]
$Id: DT_InSV.py,v 1.8 1998/09/14 22:03:32 jim Exp $'''
__version__='$Revision: 1.8 $'[11:-2]
from string import lower, rfind
from math import sqrt
......@@ -400,4 +400,3 @@ def opt(start,end,size,orphan,sequence):
except: end=len(sequence)
# if l - end < orphan: end=l
return start,end,size
......@@ -65,8 +65,8 @@
<!--#/if-->
'''
__rcs_id__='$Id: DT_Raise.py,v 1.8 1998/09/14 20:48:40 jim Exp $'
__version__='$Revision: 1.8 $'[11:-2]
__rcs_id__='$Id: DT_Raise.py,v 1.9 1998/09/14 22:03:32 jim Exp $'
__version__='$Revision: 1.9 $'[11:-2]
from DT_Util import parse_params, name_param, render_blocks, str
......@@ -98,4 +98,3 @@ class Raise:
raise t, v
__call__=render
......@@ -51,7 +51,7 @@
# (540) 371-6909
#
##############################################################################
"$Id: DT_String.py,v 1.18 1998/09/14 20:48:41 jim Exp $"
"$Id: DT_String.py,v 1.19 1998/09/14 22:03:32 jim Exp $"
from string import split, strip
import regex, ts_regex
......@@ -512,4 +512,3 @@ class File(FileMixin, String):
template is used the first time.
"""
def manage_edit(self,data): raise TypeError, 'cannot edit files'
......@@ -54,8 +54,8 @@
__doc__='''Machinery to support through-the-web editing
$Id: DT_UI.py,v 1.6 1998/09/14 20:48:41 jim Exp $'''
__version__='$Revision: 1.6 $'[11:-2]
$Id: DT_UI.py,v 1.7 1998/09/14 22:03:33 jim Exp $'''
__version__='$Revision: 1.7 $'[11:-2]
from DT_HTML import HTML
......
......@@ -51,8 +51,8 @@
# (540) 371-6909
#
##############################################################################
'''$Id: DT_Util.py,v 1.46 1998/09/14 20:48:41 jim Exp $'''
__version__='$Revision: 1.46 $'[11:-2]
'''$Id: DT_Util.py,v 1.47 1998/09/14 22:03:33 jim Exp $'''
__version__='$Revision: 1.47 $'[11:-2]
import regex, string, math, os
from string import strip, join, atoi, lower, split, find
......
......@@ -164,8 +164,8 @@ Evaluating expressions without rendering results
''' # '
__rcs_id__='$Id: DT_Var.py,v 1.22 1998/09/14 20:48:42 jim Exp $'
__version__='$Revision: 1.22 $'[11:-2]
__rcs_id__='$Id: DT_Var.py,v 1.23 1998/09/14 22:03:33 jim Exp $'
__version__='$Revision: 1.23 $'[11:-2]
from DT_Util import parse_params, name_param, html_quote, str
import regex, string, sys, regex
......@@ -389,4 +389,3 @@ class Comment:
return ''
__call__=render
......@@ -75,8 +75,8 @@
'''
__rcs_id__='$Id: DT_With.py,v 1.5 1998/09/14 20:48:42 jim Exp $'
__version__='$Revision: 1.5 $'[11:-2]
__rcs_id__='$Id: DT_With.py,v 1.6 1998/09/14 22:03:33 jim Exp $'
__version__='$Revision: 1.6 $'[11:-2]
from DT_Util import parse_params, name_param, InstanceDict, render_blocks, str
......
......@@ -55,8 +55,8 @@
"""Document Template Tests
"""
__rcs_id__='$Id: DTtest.py,v 1.8 1998/09/14 20:48:42 jim Exp $'
__version__='$Revision: 1.8 $'[11:-2]
__rcs_id__='$Id: DTtest.py,v 1.9 1998/09/14 22:03:34 jim Exp $'
__version__='$Revision: 1.9 $'[11:-2]
from DocumentTemplate import *
import sys
......@@ -566,4 +566,3 @@ if __name__ == "__main__":
try: command=sys.argv[1]
except: command='main'
globals()[command]()
......@@ -54,8 +54,8 @@
"""Very Safe Python Expressions
"""
__rcs_id__='$Id: VSEval.py,v 1.18 1998/09/14 20:48:43 jim Exp $'
__version__='$Revision: 1.18 $'[11:-2]
__rcs_id__='$Id: VSEval.py,v 1.19 1998/09/14 22:03:34 jim Exp $'
__version__='$Revision: 1.19 $'[11:-2]
from string import translate
import string
......
DocumentTemplate releases
2.2
This release has a number of new features and bug fixes.
Features
- There is a new user's guide in HTML and PDF formats with
table of contents and index.
- Import of some modules is delayed providing 30% faster imports.
- AFAIK DocumentTemplate is now thread-safe.
- Several occurrences of 'from some_module import *' have been
eliminated.
- There is a new open-source copyright.
- No longer enable the through-the-web-editing interface by default.
- Import of some modules is delayed providing 30% faster imports.
- Made regex use thread safe.
- No longer enable the through-the-web-editing interface by default.
- Added short-hand expr usage:
......@@ -20,6 +25,11 @@ DocumentTemplate releases
<!--#some_tag expr="foo.bar"-->
Bugs fixed
- Several occurrences of 'from some_module import *' have been
eliminated.
- Fixed bugs in error reporting.
- Handle valueless attributes a bit better.
......@@ -120,5 +130,5 @@ DocumentTemplate releases
- New 'in' tag variables for getting information about the start and
end indexes of the current batch.
"Download DocumentTemplate 2.1":DocumentTemplate-2.1.tar.gz.
"Download DocumentTemplate 2.2":DocumentTemplate-2.2.tar.gz.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment