Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bumped version number to 2.20. Moved some tests around so all release…

… tests are prefixed zz-. Added John Napiorkowski to Template::Manual::Credits. Updated release docs: Changes, README, etc

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1250 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit 3e434dc408621ffceb1b3f92be903b7d22cb0863 1 parent 5029b16
@abw authored
View
11 Changes
@@ -10,6 +10,15 @@
#
#========================================================================
+
+#-----------------------------------------------------------------------
+# Version 2.22 - 21st July 2009
+#------------------------------------------------------------------------
+
+* Changed pod coverage and kwalitee tests to only run when release
+ testing.
+
+
#-----------------------------------------------------------------------
# Version 2.21_02 - 4th July 2009
#------------------------------------------------------------------------
@@ -27,7 +36,7 @@
* Fixed a bug in Template::Plugin::Filter that was causing the weakened
$self reference in a dynamic filter closure to be garbage collected
- too soon.
+ too soon. (NOTE: this has probably un-fixed a previous bug)
https://rt.cpan.org/Ticket/Display.html?id=46691
* Applied patch to allow list.sort to sort on multiple fields.
View
4 HACKING
@@ -1,9 +1,9 @@
Template Toolkit
- Version 2.21_02
+ Version 2.22
- 4th July 2009
+ 21st July 2009
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved
View
18 INSTALL
@@ -1,9 +1,9 @@
Template Toolkit
- Version 2.21_02
+ Version 2.22
- 4th July 2009
+ 21st July 2009
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved
@@ -30,8 +30,8 @@ Available from CPAN in:
To install the Template Toolkit from the command line:
- $ tar zxf Template-Toolkit-2.21.tar.gz
- $ cd Template-Toolkit-2.21
+ $ tar zxf Template-Toolkit-2.22.tar.gz
+ $ cd Template-Toolkit-2.22
$ perl Makefile.PL
$ make
$ make test
@@ -85,19 +85,19 @@ The Template Toolkit is distributed as a gzipped tar archive file:
Template-Toolkit-<version>.tar.gz
-where <version> represents the current version number, e.g. 2.21.
+where <version> represents the current version number, e.g. 2.22.
To install the Template Toolkit, unpack the distribution archive to
create an installation directory. Something like this:
- $ tar zxf Template-Toolkit-2.21.tar.gz
+ $ tar zxf Template-Toolkit-2.22.tar.gz
or
- $ gunzip Template-Toolkit-2.21.tar.gz
- $ tar xf Template-Toolkit-2.21.tar
+ $ gunzip Template-Toolkit-2.22.tar.gz
+ $ tar xf Template-Toolkit-2.22.tar
You can then 'cd' into the directory created,
- $ cd Template-Toolkit-2.21
+ $ cd Template-Toolkit-2.22
and perform the usual Perl installation procedure:
View
6 MANIFEST
@@ -132,8 +132,6 @@ t/parser.t
t/plugins.t
t/plusfile.t
t/pod.t
-t/pod_coverage.t
-t/pod_kwalitee.t
t/prefix.t
t/proc.t
t/process.t
@@ -143,7 +141,6 @@ t/ref.t
t/scalar.t
t/service.t
t/skel.t
-t/stash-xs-leak.t
t/stash-xs-unicode.t
t/stash-xs.t
t/stash.t
@@ -231,6 +228,9 @@ t/while.t
t/wrap.t
t/wrapper.t
t/zz-pmv.t
+t/zz-pod-coverage.t
+t/zz-pod-kwalitee.t
+t/zz-stash-xs-leak.t
TODO
xs/Makefile.PL
xs/MANIFEST
View
11 README
@@ -1,9 +1,9 @@
Template Toolkit
- Version 2.21_02
+ Version 2.22
- 4th July 2009
+ 21st July 2009
Copyright (C) 1996-2009 Andy Wardley. All Rights Reserved
@@ -44,7 +44,12 @@ other offline document systems.
WHAT'S NEW?
-----------
-Version 2.21 features a complete clean-out of all the old HTML documentation,
+Version 2.22 is mostly a bug fixing release. The XS Stash now works with
+utf8 data. Tests that were failing on Win32 platforms have been fixed. Pod
+coverage and quality tests have been disabled except for release testing.
+The Autoformat plugin has been moved into a separate distribution.
+
+Version 2.21 featured a complete clean-out of all the old HTML documentation,
examples, libraries and other cruft that was way out of date and badly
unloved. A new version of the HTML documentation is available for download
from http://tt2.org/download/index.html#html_docs. v2.21 also fixes a memory
View
19 bin/release
@@ -1,8 +1,13 @@
-PERL=/usr/local/bin/perl
-$PERL Makefile.PL TT_ACCEPT=y TT_XS_ENABLE=y TT_XS_DEFAULT=n \
-&& make \
-&& make test \
-&& bin/fixconfig -v -y \
-&& make dist \
-&& echo "Let's get it on!"
+set -e
+(
+ PERL=/usr/local/bin/perl
+ export RELEASE_TESTING=1
+
+ $PERL Makefile.PL TT_ACCEPT=y TT_XS_ENABLE=y TT_XS_DEFAULT=n
+ make
+ make test
+ bin/fixconfig -v -y
+ make dist
+ echo "Happy days are here again"
+)
View
2  lib/Template.pm
@@ -32,7 +32,7 @@ use File::Basename;
use File::Path;
use Scalar::Util qw(blessed);
-our $VERSION = '2.21_02';
+our $VERSION = '2.22';
our $ERROR = '';
our $DEBUG = 0;
our $BINMODE = 0 unless defined $BINMODE;
View
16 lib/Template/Manual/Credits.pod
@@ -84,14 +84,14 @@ Joerg, Colin Johnson, Adam Kennedy, Vivek Khera, Alexey A. Kiritchun, Rafael
Kitover, Ivan Kurmanov, Denis F. Latypoff, Hans von Lengerke, Jonas Liljegren,
Simon Luff, Andy Maas, Paul Makepeace, Gervase Markham, Sergey Martynoff,
Simon Matthews, Robert McArthur, Craig McLane, Myk Melez, Eugene Miretskiy,
-Tatsuhiko Miyagawa, Bill Moseley, Keith G. Murphy, Chris Nandor, Breno G. de
-Oliveira, Leslie Michael Orchard, Paul Orrock, Jonathon Padfield, Steve
-Peters, Briac PilprE<eacute>, Yuri Pimenov, Martin Portman, Slaven Rezic, Jess
-Robinson, Josh Rosenbaum, Christian Schaffner, Mike Schilli, Randal L.
-Schwartz, Paul Seamons, Paul Sharpe, Ville SkyttE<auml>, Barrie Slaymaker,
-Doug Steinwand, Michael Stevens, Autrijus Tang, Drew Taylor, Rod Taylor, Swen
-Thuemmler, Richard Tietjen, Ben Tilly, Stathy G. Touloumis, Jim Vaughan, Simon
-Wilcox, Chris Winters
+Tatsuhiko Miyagawa, Bill Moseley, Keith G. Murphy, Chris Nandor, John
+Napiorkowski, Breno G. de Oliveira, Leslie Michael Orchard, Paul Orrock,
+Jonathon Padfield, Steve Peters, Briac PilprE<eacute>, Yuri Pimenov, Martin
+Portman, Slaven Rezic, Jess Robinson, Josh Rosenbaum, Christian Schaffner,
+Mike Schilli, Randal L. Schwartz, Paul Seamons, Paul Sharpe, Ville
+SkyttE<auml>, Barrie Slaymaker, Doug Steinwand, Michael Stevens, Autrijus
+Tang, Drew Taylor, Rod Taylor, Swen Thuemmler, Richard Tietjen, Ben Tilly,
+Stathy G. Touloumis, Jim Vaughan, Simon Wilcox, Chris Winters
=cut
View
4 t/pod.t
@@ -25,10 +25,6 @@ $Template::Test::DEBUG = 0;
$Template::Test::PRESERVE = 1;
#$Template::View::DEBUG = 1;
-unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
- skip_all("Author tests not required for installation");
-}
-
eval "use Pod::POM";
if ($@) {
skip_all('Pod::POM not installed');
View
3  t/zz-pmv.t
@@ -15,9 +15,6 @@ my @MODULES = (
# Don't run tests for installs
use Test::More;
-unless (grep(/--abw/, @ARGV)) {
- plan( skip_all => 'Internal test for abw, add the --abw flag to run' );
-}
unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
View
0  t/pod_coverage.t → t/zz-pod-coverage.t
File renamed without changes
View
0  t/pod_kwalitee.t → t/zz-pod-kwalitee.t
File renamed without changes
View
10 t/stash-xs-leak.t → t/zz-stash-xs-leak.t
@@ -18,11 +18,15 @@ use warnings;
use lib qw( ./lib ../lib ../blib/lib ../blib/arch ./blib/lib ./blib/arch );
use Template::Constants qw( :status );
use Template;
-use Template::Test;
+use Test::More;
+# belt and braces
unless (grep(/--abw/, @ARGV)) {
- skip_all('Internal test for abw, add the --abw flag to run');
- exit;
+ plan( skip_all => 'Internal test for abw, add the --abw flag to run' );
+}
+
+unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
}
require Template::Stash::XS;
View
2  xs/Stash.xs
@@ -640,7 +640,7 @@ static SV *call_coderef(pTHX_ SV *code, AV *args) {
PUTBACK;
count = call_sv(code, G_ARRAY);
SPAGAIN;
-
+
return fold_results(aTHX_ count);
}
Please sign in to comment.
Something went wrong with that request. Please try again.