[Templates-cvs] cvs commit: Template2 Changes HACKING INSTALL README TODO
cvs@template-toolkit.org
cvs@template-toolkit.org
Tue, 06 Jan 2004 18:28:50 +0000
cvs 04/01/06 18:28:49
Modified: . Changes HACKING INSTALL README TODO
Log:
* verion 2.11
Revision Changes Path
2.76 +73 -4 Template2/Changes
Index: Changes
===================================================================
RCS file: /template-toolkit/Template2/Changes,v
retrieving revision 2.75
retrieving revision 2.76
diff -u -r2.75 -r2.76
--- Changes 2003/07/24 16:15:06 2.75
+++ Changes 2004/01/06 18:28:48 2.76
@@ -3,7 +3,7 @@
# Changes
#
# DESCRIPTION
-# Revision history for the Template Toolkit version 2.10, detailing
+# Revision history for the Template Toolkit version 2.11, detailing
# significant changes between versions, most recent first. Some
# way down the file you'll find a section detailing major changes from
# version 1.* to 2.* and a list of "Gotchas!" that you might have to
@@ -19,9 +19,78 @@
# Any changes you make here may be lost!
#
#------------------------------------------------------------------------
-# $Id: Changes,v 2.75 2003/07/24 16:15:06 abw Exp $
+# $Id: Changes,v 2.76 2004/01/06 18:28:48 abw Exp $
#========================================================================
+
+#------------------------------------------------------------------------
+# Version 2.11 - 6th Januray 2004
+#------------------------------------------------------------------------
+
+* Bumped version number and updated documentation for release.
+
+
+#------------------------------------------------------------------------
+# Version 2.10b - 2nd December 2003 ## DEVELOPER RELEASE ##
+#------------------------------------------------------------------------
+
+* Changed the Template::Document process() method to pass itself
+ to the context visit() method when it calls it. Similarly, changed
+ the context visit() method to expect it. This is useful when
+ subclassing the context but shouldn't have any other effect.
+
+* Modified parser to add the file name and line number of the source
+ template to generated Perl code. This provides useful information
+ when warnings and errors are generated by Perl at runtime. Added
+ the t/fileline.t script to test it.
+
+
+#------------------------------------------------------------------------
+# Version 2.10a - 9th October 2003 ## DEVELOPER RELEASE ##
+#------------------------------------------------------------------------
+
+* Applied two patches from Axel Gerstmair to fix bugs in Makefile.PL
+ and t/date.t. See.
+ http://tt2.org/pipermail/templates/2003-April/004553.html
+ http://tt2.org/pipermail/templates/2003-May/004572.html
+
+* Applied patch from Jim Cromie to t/autoform.t to skip tests on all
+ versions of Perl from 5.8.0 onwards.
+
+* Changed $OUTPUT in Template::Directive to be a package variable,
+ allowing it to be re-defined to permit a flushed output hack.
+ http://tt2.org/pipermail/templates/2003-October/005136.html
+
+* Applied a patch from Darren to the 'item' hash vmethod to protect
+ against accessing private variables (prefixed '.' or '_')
+ http://tt2.org/pipermail/templates/2003-June/004761.html
+
+* Applied a patch from Ivan Adzhubey to template/splash/frame.
+ http://tt2.org/pipermail/templates/2003-August/004953.html
+
+* Applied a patch from Bryce Harrington to add the absolute and
+ relative options to ttree. Also applied a patch from Mark Anderson
+ to add the 'template_debug'. Removed the old debug option which was
+ as good as useless.
+ http://tt2.org/pipermail/templates/2003-October/005110.html
+ http://tt2.org/pipermail/templates/2003-October/005126.html
+
+* Applied another patch from Mark to push files named on the command
+ line through the process_file() sub to ensure that various options
+ like accept checking, pemission preserving and copy processing (but
+ not modification time) are applied.
+ http://tt2.org/pipermail/templates/2003-October/005132.html
+
+* Applied a variation of yet another ttree patch from Mark to add the
+ 'suffix' option for changing the suffix of output files created.
+ http://tt2.org/pipermail/templates/2003-October/005121.html
+
+* Applied a variation of a patch from Dylan William Hardison which
+ adds the 'depend' and 'depend_file' options to ttree.
+ http://tt2.org/pipermail/templates/2003-July/004783.html
+ http://tt2.org/pipermail/templates/2003-October/005147.html
+
+
#------------------------------------------------------------------------
# Version 2.10 - 24th July 2003
#------------------------------------------------------------------------
@@ -45,8 +114,8 @@
# Version 2.09c - 29th April 2003 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------
-* applied patch from Ivan Kurmanov <kurmanov@openlib.org> to XPath plugin
- to add handling for comments.
+* applied patch from Ivan Kurmanov to XPath plugin to add handling for
+ comments.
* modified grammar to allow 'IN' as an alternate for '=' in FOREACH
directives, thus allowing [% FOREACH item IN [ foo, bar, baz ] %]
2.29 +4 -4 Template2/HACKING
Index: HACKING
===================================================================
RCS file: /template-toolkit/Template2/HACKING,v
retrieving revision 2.28
retrieving revision 2.29
diff -u -r2.28 -r2.29
--- HACKING 2003/07/24 16:15:07 2.28
+++ HACKING 2004/01/06 18:28:48 2.29
@@ -1,11 +1,11 @@
Template Toolkit
- Version 2.10
+ Version 2.11
- 24 July 2003
+ 06 January 2004
- Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved
+ Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or
@@ -60,7 +60,7 @@
COPYRIGHT
---------
-Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved.
+Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved.
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or modify it under
2.31 +13 -13 Template2/INSTALL
Index: INSTALL
===================================================================
RCS file: /template-toolkit/Template2/INSTALL,v
retrieving revision 2.30
retrieving revision 2.31
diff -u -r2.30 -r2.31
--- INSTALL 2003/07/24 16:15:07 2.30
+++ INSTALL 2004/01/06 18:28:48 2.31
@@ -1,11 +1,11 @@
Template Toolkit
- Version 2.10
+ Version 2.11
- 24 July 2003
+ 06 January 2004
- Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved
+ Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or
@@ -18,7 +18,7 @@
http://www.cpan.org/modules/by-module/Template/
-Fetch and install AppConfig 1.52 if you don't already have it installed.
+Fetch and install AppConfig 1.55 if you don't already have it installed.
Available from CPAN in:
http://www.cpan.org/authors/Andy_Wardley/
@@ -42,8 +42,8 @@
To install the Template Toolkit:
- tar zxf Template-Toolkit-2.10.tar.gz
- cd Template-Toolkit-2.10
+ tar zxf Template-Toolkit-2.11.tar.gz
+ cd Template-Toolkit-2.11
perl Makefile.PL
make
make test
@@ -72,7 +72,7 @@
The Template Toolkit is written entirely in Perl and should run on any
platform on which Perl is available. It requires Perl 5.005 or later.
-The 'ttree' utility uses the AppConfig module (version 1.52 or above)
+The 'ttree' utility uses the AppConfig module (version 1.55 or above)
for parsing command line options and configuration files. It is
available from CPAN:
@@ -129,19 +129,19 @@
Template-Toolkit-<version>.tar.gz
-where <version> represents the current version number, e.g. 2.10.
+where <version> represents the current version number, e.g. 2.11.
To install the Template Toolkit, unpack the distribution archive to
create an installation directory. Something like this:
- tar zxf Template-Toolkit-2.10.tar.gz
+ tar zxf Template-Toolkit-2.11.tar.gz
or
- gunzip Template-Toolkit-2.10.tar.gz
- tar xf Template-Toolkit-2.10.tar
+ gunzip Template-Toolkit-2.11.tar.gz
+ tar xf Template-Toolkit-2.11.tar
You can then 'cd' into the directory created,
- cd Template-Toolkit-2.10
+ cd Template-Toolkit-2.11
and perform the usual Perl installation procedure:
@@ -564,7 +564,7 @@
COPYRIGHT
---------
-Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved.
+Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved.
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or modify it under
2.57 +18 -21 Template2/README
Index: README
===================================================================
RCS file: /template-toolkit/Template2/README,v
retrieving revision 2.56
retrieving revision 2.57
diff -u -r2.56 -r2.57
--- README 2003/07/24 16:15:07 2.56
+++ README 2004/01/06 18:28:48 2.57
@@ -1,11 +1,11 @@
Template Toolkit
- Version 2.10
+ Version 2.11
- 24 July 2003
+ 06 January 2004
- Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved
+ Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
http://www.cpan.org/modules/by-module/Template/
-Fetch and install AppConfig 1.52 if you don't already have it installed.
+Fetch and install AppConfig 1.55 if you don't already have it installed.
Available from CPAN in:
http://www.cpan.org/authors/Andy_Wardley/
@@ -43,8 +43,8 @@
To install the Template Toolkit:
- tar zxf Template-Toolkit-2.10.tar.gz
- cd Template-Toolkit-2.10
+ tar zxf Template-Toolkit-2.11.tar.gz
+ cd Template-Toolkit-2.11
perl Makefile.PL
make
make test
@@ -103,7 +103,12 @@
WHAT'S NEW?
-----------
-Version 2.10 provides a few trivial new features and applies fixes to
+Version 2.11 includes a number of enhancements to ttree, and several
+minor bug fixes. It also improves on how runtime errors and warnings
+are reported, by adding the template file and line number to the
+message generated.
+
+Version 2.10 provided a few trivial new features and applies fixes to
some small bugs. For example, you can now use IN instead of = in a
loop, e.g. FOREACH item IN list. The WRAPPER configuration option is
new, and Template::Context and Template::Stash now both implement
@@ -131,20 +136,12 @@
Version 2.03 included Craig Barratt's 'latex' filter and GD plugins
and Dave Cross's tutorial on using the Template Toolkit for creating
and reusing XML data files.
-
-Version 2.02 was another bugfix release, following shortly on after
-version 2.01. This was a major release which contained some of
-the following:
-
- * total overhaul of the documtation
-
- * additional of template libraries: POD, HTML, Splash!
-
- * various new language features including VIEWs
- * new filters and plugins
+Version 2.02 was another bugfix release.
-For more information please consult the Changes file.
+Version 2.01 was a major release containing new filters, plugins,
+template libraries, the experimental VIEW directive, and a total
+overhaul of the documentation.
GENERAL FEATURES
@@ -353,7 +350,7 @@
---------------------
In terms of the template language and features available, versions
-2.01 through to 2.10 should be fully backwardly compatible with
+2.01 through to 2.11 should be fully backwardly compatible with
version 2.00.
Version 2.00 is backwardly compatible with version 1 in all but a few
@@ -416,7 +413,7 @@
COPYRIGHT
---------
-Copyright (C) 1996-2003 Andy Wardley. All Rights Reserved.
+Copyright (C) 1996-2004 Andy Wardley. All Rights Reserved.
Copyright (C) 1998-2002 Canon Research Centre Europe Ltd.
This is free software; you can redistribute it and/or modify it under
2.76 +1 -1 Template2/TODO
Index: TODO
===================================================================
RCS file: /template-toolkit/Template2/TODO,v
retrieving revision 2.75
retrieving revision 2.76
diff -u -r2.75 -r2.76
--- TODO 2003/07/24 16:15:07 2.75
+++ TODO 2004/01/06 18:28:48 2.76
@@ -3,7 +3,7 @@
# TODO
#
# DESCRIPTION
-# TODO list for the Template Toolkit version 2.10, containing
+# TODO list for the Template Toolkit version 2.11, containing
# known bugs, limitations, planned enhancements, long term visions
# and a few whacky ideas.
#
@@ -11,7 +11,7 @@
# Andy Wardley <abw@wardley.org>
#
#------------------------------------------------------------------------
-# $Id: TODO,v 2.75 2003/07/24 16:15:07 abw Exp $
+# $Id: TODO,v 2.76 2004/01/06 18:28:48 abw Exp $
#========================================================================
#------------------------------------------------------------------------