Path to this page:
Subject: CVS commit: pkgsrc/www/p5-Template-Toolkit
From: Thomas Klausner
Date: 2004-10-28 12:20:58
Message id: 20041028102058.0D6A42DA1D@cvs.netbsd.org
Log Message:
Update to 2.14. Addresses PR 27589.
#------------------------------------------------------------------------
# Version 2.14 - 4th October 2004
#------------------------------------------------------------------------
* Applied patch from Harald Joerg to prevent ttree from spewing warnings
when copying files.
* Applied a patch from Paul Orrock to fix a couple of missing errors in
ttree.
* Commented out line 797 of Template::Directive.pm which serves no
purpose and generates a warning.
* Applied a patch from Mark Fowler to add support for Unicode to TT.
* Changed the fourth argument to process() to accept named IO layers for
binmode, e.g. process($in, $vars, $out, binmode => ':utf8');
* Added full range of command line options to tpage.
* Applied patches from Tosh Cooey, Simon Wilcox and Kenny Gatdula to fix
XML::Simple to allow direct access to XMLin() and XMLout() methods.
* Fixed a bug in the 'callers' list maintained by a template component
which was failing to remove callers from the list after processing.
* Applied a doc patch from Dave Cash documenting caller and callers.
#------------------------------------------------------------------------
# Version 2.13 - 30th January 2004
#------------------------------------------------------------------------
* Applied patch from Dave Cash to add 'caller' and 'callers' to
'component', see
* Applied patch from Dylan William Hardison to ttree which prevents
dependencies from interfering with files that are copied. See
#------------------------------------------------------------------------
# Version 2.12a - 13th January 2004 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------
* Fixed the bug in test 25 of t/date.t, hopefully for good this time,
thanks to the efforts of Steve Peters.
* Added the FILE_INFO option to Template::Parser. Enabled by default,
this can be set to 0 to prevent the parser from adding file and line
info to the generated Perl file. Don't ask me why - Autrijus wanted
it (which probably means he's up to something twisted again :-).
#------------------------------------------------------------------------
# Version 2.12 - 12th January 2004
#------------------------------------------------------------------------
* Added the module_version() method to Template::Base to report the
version number of a module. Added some tests to t/base.t.
* Added the --template_module option to ttree, to allow the user to
specify a template processing module other than the default 'Template'
to be used. Also changed various print statements to send all
verbose output to stdout, whereas previously it was split across stdout
and stderr.
#------------------------------------------------------------------------
# Version 2.11b - 7th January 2004 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------
* Applied patch from Myk Melez to ensure the 'component' variable
remains correctly set to the current templates.
#------------------------------------------------------------------------
# Version 2.11a - 6th January 2004 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------
* Fixed bug in t/date.t and corrected version number of
Template::Grammar.
#------------------------------------------------------------------------
# Version 2.11 - 6th January 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.
* 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.
* Applied a patch from Darren to the 'item' hash vmethod to protect
against accessing private variables (prefixed '.' or '_')
* Applied a patch from Ivan Adzhubey to template/splash/frame.
* 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.
* 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.
* Applied a variation of yet another ttree patch from Mark to add the
'suffix' option for changing the suffix of output files created.
* Applied a variation of a patch from Dylan William Hardison which
adds the 'depend' and 'depend_file' options to ttree.
Files: