pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Updated www/p5-Template-Toolkit 2.15 -> 2.19



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0524e2d9d856
branches:  trunk
changeset: 529744:0524e2d9d856
user:      abs <abs%pkgsrc.org@localhost>
date:      Sat Jun 09 23:54:01 2007 +0000

description:
Updated www/p5-Template-Toolkit 2.15 -> 2.19

#------------------------------------------------------------------------
# Version 2.19 - 27th April 2007
#------------------------------------------------------------------------

* Applied a patch to t/fileline.t from Steffen M�ller which fixes the
  problems running on Win32 with backslashes in paths.

  https://rt.cpan.org/Ticket/Display.html?id=20488

* Applied a patch to the XS Stash from Randy Kobes which fixes some other
  Win32 problems.

  http://tt2.org/pipermail/templates/2007-February/009247.html

* Applied another patch to the XS Stash from Steve Peters which fixes
  a problem with tied hashes under more recent version of Perl.

  http://tt2.org/pipermail/templates/2007-January/009181.html

* Fixed a problem in the Perl Stash when using objects that have
  overloaded comparison operators.  Thanks to Randal Schwartz, Tatsuhiko
  Miyagawa and Daisuke Maki for their contributions.

  http://tt2.org/pipermail/templates/2007-March/009265.html

* Applied a patch from Bill Moseley to Template::Provider which adds
  negative caching and moves some functionality into separate methods
  to make subclassing easier.  Also added the STAT_TTL configuration
  parameter.

  http://tt2.org/pipermail/templates/2007-January/009183.html

* Added the url filter as a less aggressive form of the uri filter.
  Whereas the uri filter now (from v2.16 onwards) encodes all the
  reserved characters (@, :, /, etc.) as per RFC2396, the url filter
  leaves them intact and thus behaves just like the uri filter used
  to.

  http://tt2.org/pipermail/templates/2007-March/009277.html

#------------------------------------------------------------------------
# Version 2.18a - 9th February 2007
#------------------------------------------------------------------------

* Applied a patch from Steve Peters to the Stash.xs to allow it to
  compile with bleadperl 5.9.x

  https://rt.cpan.org/Public/Bug/Display.html?id=22506

#------------------------------------------------------------------------
# Version 2.18 - 9th February 2007
#------------------------------------------------------------------------

* Merged in Adam's changes in 2.16 and 2.17 back into the developer CVS
  repository and added his name to the credits.

* Changed the parser grammar to accept expressions as arguments to a
  subroutine, method or virtual method call.  I'm embarrassed to admit
  that it was a one line change that could (and should) have been made
  long ago, if only I had realised just how trivial it was.  Anyway,
  you can now write nested expressions like this:

     [% add(a+5, b < 10 ? c : d + e*5) %]

* Put the t/fileline.t test back in as this was fixed in 2.15a

* Added the Template::Toolkit documentation-only module.

#------------------------------------------------------------------------
# Version 2.17 - 8th Feb 2007
#------------------------------------------------------------------------

Another interim release from Adam Kennedy.

* Change in Makefile.PL to force an upgrade to File::HomeDir 0.64 on darwin.
  This is due to problems caused by changes made to Perl on the new Intel
  versions of Mac OS X.

* skip_all filelines.t on darwin

#------------------------------------------------------------------------
# Version 2.16 - 23rd Jan 2007
#------------------------------------------------------------------------

Interim release from Adam Kennedy.

* Skip fileline.t on Win32, as it has some hard-coded path seperator
  assumptions. This will be fixed more comprehensively later.

* Handle spurious errors in Makefile.PL when a dev version of
  ExtUtils::MakeMaker is installed.

* Don't say "nmake" on Win32 when $Config{make} is 'dmake'.
  This corrects the message on Strawberry Perl.


#------------------------------------------------------------------------
# Version 2.15c - Not released                    ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Fixed a bug in Template::Parser which caused it to get confused about
  block names if it encountered a syntax error inside a BLOCK.  Thanks
  to Bill Moseley for reporting the problem.

  http://tt2.org/pipermail/templates/2006-July/008815.html

* Fixed a minor buglet in Template::Provider which came to light while
  investigating the above problem. If a previously cached template is changed
  on disk and then fails to compile, the provider now invalidates the cache
  entry immediately. Without this fix, the provider would report the error
  once, then reuse the cached good version of the template until $STAT_TTL
  ticked over when it would try to load and compile the disk version again.
  The problem was that error messages were only reported once every $STAT_TTL
  second(s) and any requests for the same template in the interim time would
  mysteriously work. This way errors get reported consistently and immediately
  and no-one has to waste an afternoon trying to figure out where the errors
  went!

#------------------------------------------------------------------------
# Version 2.15b - 30th May 2006                   ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Changed the uri filter to escape all reserved characters as per
  URI::Escape and RFC2396.  This now includes &, @, /, ;, :, =, +, ?
  and $ which were previously not escaped.  Thanks to islue%cpan.org@localhost
  for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=19593

* Also changed the uri filter to encode all wide characters as the
  equivalent UTF escapes.  Thanks to Jonathan Rockway for reporting
  the problem.

  http://rt.cpan.org/Ticket/Display.html?id=19354

* Fixed the redirect filter to not support relative paths.  Thanks to
  Paul Seamons for spotting the problem and providing a solution.

* Moved all the virtual methods out of Template::Stash and into
  a new Template::VMethods module.

* Fixed the version number of Template::Stash which had rolled over
  to 2.102 making it appear to predate the 2.86 stash in TT v2.14.
  Thanks to Randal Schwartz for reporting the problem.  Changed all
  version numbers in other modules to be a hard-coded numbers instead
  of grokking it automagically from the CVS revision.

* Changed the _recover() method of Template::Service to check if the
  error thrown is a Template::Exception object rather than just a
  reference.  Thanks to David Wheeler for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=17630

* Fixed the some tests in stash.t and stash-xs.t which were failing
  under Perl 5.6.2 due to a slightly different error message being
  generated.  Thanks to Anton Berezin for reporting the problem.

* Fixed a bug in the Template::Provider _load() method to check that
  $data is a hash ref before trying to mess with its innards.  Thanks
  to barbie%cpan.org@localhost for reporting the problem.

  http://rt.cpan.org/Ticket/Display.html?id=18653


#------------------------------------------------------------------------
# Version 2.15a - 29th May 2006                   ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Removed the latex filter from Template::Filters and related config
  variables from Template::Config

* Changed the t/fileline.t test to remove the line number from what Perl
  reports as "(eval $line)".  It appears to get the $line wrong on
  FreeBSD, although the correct line number is reported following that
  so the tests still do the right thing.  Thanks to Anton Berezin for
  reporting the problem.

* Changed the t/compile3.t test to do something similar.

diffstat:

 doc/CHANGES-2007                 |  3 ++-
 www/p5-Template-Toolkit/Makefile |  5 ++---
 www/p5-Template-Toolkit/PLIST    |  8 +-------
 www/p5-Template-Toolkit/distinfo |  8 ++++----
 4 files changed, 9 insertions(+), 15 deletions(-)

diffs (99 lines):

diff -r 6964ec9b84c4 -r 0524e2d9d856 doc/CHANGES-2007
--- a/doc/CHANGES-2007  Sat Jun 09 23:49:31 2007 +0000
+++ b/doc/CHANGES-2007  Sat Jun 09 23:54:01 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2007,v 1.1306 2007/06/09 23:49:31 abs Exp $
+$NetBSD: CHANGES-2007,v 1.1307 2007/06/09 23:54:26 abs Exp $
 
 Changes to the packages collection and infrastructure in 2007:
 
@@ -2517,3 +2517,4 @@
        Updated time/p5-DateTime to 0.37 [abs 2007-06-10]
        Updated time/p5-DateTime-Locale to 0.34 [abs 2007-06-10]
        Updated time/p5-DateTime-TimeZone to 0.6602 [abs 2007-06-10]
+       Updated www/p5-Template-Toolkit to 2.19 [abs 2007-06-10]
diff -r 6964ec9b84c4 -r 0524e2d9d856 www/p5-Template-Toolkit/Makefile
--- a/www/p5-Template-Toolkit/Makefile  Sat Jun 09 23:49:31 2007 +0000
+++ b/www/p5-Template-Toolkit/Makefile  Sat Jun 09 23:54:01 2007 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2007/03/01 12:56:25 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2007/06/09 23:54:01 abs Exp $
 #
 
-DISTNAME=      Template-Toolkit-2.15
+DISTNAME=      Template-Toolkit-2.19
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 SVR4_PKGNAME=  p5tto
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Template/}
diff -r 6964ec9b84c4 -r 0524e2d9d856 www/p5-Template-Toolkit/PLIST
--- a/www/p5-Template-Toolkit/PLIST     Sat Jun 09 23:49:31 2007 +0000
+++ b/www/p5-Template-Toolkit/PLIST     Sat Jun 09 23:54:01 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2007/03/01 12:56:25 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2007/06/09 23:54:01 abs Exp $
 share/tt2/docs/README
 share/tt2/docs/html/FAQ/FAQ.html
 share/tt2/docs/html/FAQ/index.html
@@ -43,7 +43,6 @@
 share/tt2/docs/html/Modules/Template/Plugin/HTML.html
 share/tt2/docs/html/Modules/Template/Plugin/Image.html
 share/tt2/docs/html/Modules/Template/Plugin/Iterator.html
-share/tt2/docs/html/Modules/Template/Plugin/Math.html
 share/tt2/docs/html/Modules/Template/Plugin/Pod.html
 share/tt2/docs/html/Modules/Template/Plugin/Procedural.html
 share/tt2/docs/html/Modules/Template/Plugin/String.html
@@ -51,7 +50,6 @@
 share/tt2/docs/html/Modules/Template/Plugin/URL.html
 share/tt2/docs/html/Modules/Template/Plugin/View.html
 share/tt2/docs/html/Modules/Template/Plugin/Wrap.html
-share/tt2/docs/html/Modules/Template/Plugin/XML/Style.html
 share/tt2/docs/html/Modules/Template/Plugins.html
 share/tt2/docs/html/Modules/Template/Provider.html
 share/tt2/docs/html/Modules/Template/Service.html
@@ -129,7 +127,6 @@
 share/tt2/docs/src/Modules/Template/Plugin/HTML.html
 share/tt2/docs/src/Modules/Template/Plugin/Image.html
 share/tt2/docs/src/Modules/Template/Plugin/Iterator.html
-share/tt2/docs/src/Modules/Template/Plugin/Math.html
 share/tt2/docs/src/Modules/Template/Plugin/Pod.html
 share/tt2/docs/src/Modules/Template/Plugin/Procedural.html
 share/tt2/docs/src/Modules/Template/Plugin/String.html
@@ -137,7 +134,6 @@
 share/tt2/docs/src/Modules/Template/Plugin/URL.html
 share/tt2/docs/src/Modules/Template/Plugin/View.html
 share/tt2/docs/src/Modules/Template/Plugin/Wrap.html
-share/tt2/docs/src/Modules/Template/Plugin/XML/Style.html
 share/tt2/docs/src/Modules/Template/Plugins.html
 share/tt2/docs/src/Modules/Template/Provider.html
 share/tt2/docs/src/Modules/Template/Service.html
@@ -1330,7 +1326,6 @@
 @dirrm share/tt2/docs/src/Tools
 @dirrm share/tt2/docs/src/Release
 @dirrm share/tt2/docs/src/Modules/Template/Stash
-@dirrm share/tt2/docs/src/Modules/Template/Plugin/XML
 @dirrm share/tt2/docs/src/Modules/Template/Plugin
 @dirrm share/tt2/docs/src/Modules/Template/Namespace
 @dirrm share/tt2/docs/src/Modules/Template
@@ -1345,7 +1340,6 @@
 @dirrm share/tt2/docs/html/Tools
 @dirrm share/tt2/docs/html/Release
 @dirrm share/tt2/docs/html/Modules/Template/Stash
-@dirrm share/tt2/docs/html/Modules/Template/Plugin/XML
 @dirrm share/tt2/docs/html/Modules/Template/Plugin
 @dirrm share/tt2/docs/html/Modules/Template/Namespace
 @dirrm share/tt2/docs/html/Modules/Template
diff -r 6964ec9b84c4 -r 0524e2d9d856 www/p5-Template-Toolkit/distinfo
--- a/www/p5-Template-Toolkit/distinfo  Sat Jun 09 23:49:31 2007 +0000
+++ b/www/p5-Template-Toolkit/distinfo  Sat Jun 09 23:54:01 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2007/02/27 12:50:14 wiz Exp $
+$NetBSD: distinfo,v 1.7 2007/06/09 23:54:01 abs Exp $
 
-SHA1 (Template-Toolkit-2.15.tar.gz) = bff5a0e3b4fe33389e744633c35f4e0d0407d7f5
-RMD160 (Template-Toolkit-2.15.tar.gz) = 3ae0b829404373cce183ab3dd04f97c1a3f6144f
-Size (Template-Toolkit-2.15.tar.gz) = 778706 bytes
+SHA1 (Template-Toolkit-2.19.tar.gz) = 33f49e26e140ec0ea068cf1d40f95f657209fc6a
+RMD160 (Template-Toolkit-2.19.tar.gz) = baf79a21f190945a64c3bfaea915492d5af157fd
+Size (Template-Toolkit-2.19.tar.gz) = 775032 bytes


Home | Main Index | Thread Index | Old Index