pkgsrc/www/p5-Template-Toolkit
he aee58a8af6 Update from version 2.19nb1 to 2.20.
Pkgsrc changes:
 o Accept default TT options, don't set them explicitly.
 o Add commented-out additional HOMEPAGE using search.cpan.org.
 o Add a patch related to module bug
   http://rt.cpan.org/Public/Bug/Display.html?id=39100

Thanks to Jens Rehsack for the update, provided in PR pkg/39600!

Upstream changes:

#------------------------------------------------------------------------
# Version 2.20 - 13th August 2008
#------------------------------------------------------------------------

* Updated all the documentation.

* Restored the GIF images that got mangled in the switch from CVS to
  Subversion.

* Fixed the Makefile.PL to pre-glob the tests to keep things working
  smoothly in Win32.
  http://rt.cpan.org/Ticket/Display.html?id=25573

* Applied a patch to Template::Directives from Ben Morrow to fix the
  SWITCH/CASE directive when matching strings containing regex metacharacters.
  http://rt.cpan.org/Ticket/Display.html?id=24183

* Applied a patch to Template::Parser from Koichi Taniguchi to make it
  treat TAGS with case sensitivity.
  http://rt.cpan.org/Ticket/Display.html?id=19975

* Changed html_entity_filter_factory() in Template::Filters to only look for
  Apache::Utils and HTML::Entities once.
  http://rt.cpan.org/Ticket/Display.html?id=19837


Template::Stash
---------------

* Applied a patch to Template::Stash from Jess Robinson which allows you
  to call a list method on a single object and have it automatically
  upgraded to a single item list.  Changed the XS Stash to do the same.
  http://lists.tt2.org/pipermail/templates/2006-November/009115.html

* Fixed a minor bug in the XS Stash which prevented it from updating
  hash entries with empty, but defined keys.  Thanks to Yitzchak
  Scott-Thoennes for reporting the problem.
  http://lists.tt2.org/pipermail/templates/2007-November/009819.html

* Applied a patch from Alexandr Ciornii  to make the XS Stash compile
  cleanly under VC++ 6.0 and with Sun's C compiler.
  http://rt.cpan.org/Ticket/Display.html?id=20291


Template::Provider
------------------

* Fixed a minor bug in the Template::Provider code added in 2.19 that
  caused errors in templates to only be reported once.  Subsequent
  fetches incorrectly returned 'not found' instead of repeating the
  error.

* Made Template::Provider use File::Spec->catfile instead of using '/'
  and letting Perl worry about Doing The Right Thing.
  http://rt.cpan.org/Ticket/Display.html?id=34489

* Applied patch from Lyle Brooks to add binmode to the _template_content()
  method in Template::Provider.
  http://rt.cpan.org/Ticket/Display.html?id=38075

* Applied patch from Ted Carnahan to silence UNIVERSAL::isa warnings in
  Template::Provider.
  http://rt.cpan.org/Ticket/Display.html?id=25468

* Applied patch to Template::Provider from Andrew Hamlin which works around
  a bug in Strawberry Perl on Win32.
  http://rt.cpan.org/Ticket/Display.html?id=34578


Template::VMethods
------------------

* Applied a patch from Paul "LeoNerd" Evans to make the list.slice vmethod
  work properly with negative indices.
  http://lists.tt2.org/pipermail/templates/2008-March/010105.html


Plugins
-------

* Added the Math plugin and related files to the MANIFEST so they
  actually get shipped out as part of the distribution.  D'Oh!
  http://rt.cpan.org/Ticket/Display.html?id=27375

* Added the Scalar plugin which adds the .scalar vmethod for calling
  object methods and subroutines in scalar context.

* Added Template::Plugin::Assert which allows you to assert that values
  are defined.

* Changed Template::Plugin::Filter to weaken the $self reference to avoid
  circular references and memory leaks.  Thanks to Masahiro Honma for
  reporting the problem and suggesting the fix.

* Applied patch from Ronald J Kimball to make Template::Plugin::Date accept
  dates with the year coming first.
  http://lists.tt2.org/pipermail/templates/2007-July/009540.html

* Added C<1;> to the end of a few plugin modules that were missing it.

ttree
-----

* Changed the --accept option in ttree to match against the full file
  path (relative to --src dir) rather than just the file name.  This
  makes it behave the same way as the --ignore option.

* Applied patch from Lyle Brooks to add binmode to the process()
  call in ttree.
  http://rt.cpan.org/Ticket/Display.html?id=38076

* Added a patch from Nigel Metheringham also to set binmode in ttree
  but via a configuration option.
  https://rt.cpan.org/Ticket/Display.html?id=30760
2008-11-17 02:17:09 +00:00
..
patches Update from version 2.19nb1 to 2.20. 2008-11-17 02:17:09 +00:00
DESCR
distinfo Update from version 2.19nb1 to 2.20. 2008-11-17 02:17:09 +00:00
Makefile Update from version 2.19nb1 to 2.20. 2008-11-17 02:17:09 +00:00