Skip to content

Commit

Permalink
* fixed up bug in XS stash introduced with SCALAR_OPS lookup added to…
Browse files Browse the repository at this point in the history
… fallback

  after failed object methods

* prep for release 2.06c


git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@280 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information
abw committed Dec 13, 2001
1 parent dc7f069 commit e9d3021
Show file tree
Hide file tree
Showing 177 changed files with 1,209 additions and 808 deletions.
21 changes: 19 additions & 2 deletions Changes
Expand Up @@ -3,7 +3,7 @@
# Changes
#
# DESCRIPTION
# Revision history for the Template Toolkit version 2.06b, detailing
# Revision history for the Template Toolkit version 2.06c, 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
Expand All @@ -17,7 +17,21 @@
#========================================================================

#------------------------------------------------------------------------
# Version 2.06b - 29th November 2001 ## DEVELOPER RELEASE ##
# Version 2.06c - ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Changed both Perl and XS Stash modules to try to apply a SCALAR_OPS
virtual method to a blessed object as a last-ditch chance if all else
fails. Thanks to Tony Bowden for reporting the problem. See
http://tt2.org/pipermail/templates/2001-December/002263.html

* Added tie() method to DBI plugin based on some plugin code sent to me
courtesy of Dave Hodgkinson. Also made various minor cleanups to DBI
code and updated documentation and tests.


#------------------------------------------------------------------------
# Version 2.06b - 2nd December 2001 ## DEVELOPER RELEASE ##
#------------------------------------------------------------------------

* Added the Template::Plugin::Filter module to make plugin filters
Expand All @@ -42,6 +56,9 @@
object has an overloaded stringification operator which gets called
(but shouldn't) and could return an untrue (but correct) value.

* Fixed t/dumper.t to only have one entry in each hash to avoid hash
ordering problems. Thanks to Randal for reporting the problem.

* Added the assert() subroutine to Template::Test.

* Added some more content to the FAQ.
Expand Down
4 changes: 2 additions & 2 deletions HACKING
@@ -1,9 +1,9 @@

Template Toolkit

Version 2.06b
Version 2.06c

29 November 2001
13 December 2001

Copyright (C) 1996-2001 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2001 Canon Research Centre Europe Ltd.
Expand Down
18 changes: 9 additions & 9 deletions INSTALL
@@ -1,9 +1,9 @@

Template Toolkit

Version 2.06b
Version 2.06c

29 November 2001
13 December 2001

Copyright (C) 1996-2001 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2001 Canon Research Centre Europe Ltd.
Expand Down Expand Up @@ -42,8 +42,8 @@ need to install them. They're all available from CPAN if you do.

To install the Template Toolkit:

tar zxf Template-Toolkit-2.06b.tar.gz
cd Template-Toolkit-2.06b
tar zxf Template-Toolkit-2.06c.tar.gz
cd Template-Toolkit-2.06c
perl Makefile.PL
make
make test
Expand Down Expand Up @@ -129,19 +129,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.06b.
where <version> represents the current version number, e.g. 2.06c.

To install the Template Toolkit, unpack the distribution archive to
create an installation directory. Something like this:

tar zxf Template-Toolkit-2.06b.tar.gz
tar zxf Template-Toolkit-2.06c.tar.gz
or
gunzip Template-Toolkit-2.06b.tar.gz
tar xf Template-Toolkit-2.06b.tar
gunzip Template-Toolkit-2.06c.tar.gz
tar xf Template-Toolkit-2.06c.tar

You can then 'cd' into the directory created,

cd Template-Toolkit-2.06b
cd Template-Toolkit-2.06c

and perform the usual Perl installation procedure:

Expand Down
13 changes: 8 additions & 5 deletions Makefile.PL
Expand Up @@ -401,6 +401,7 @@ EOF
[ 'GD::Graph3d' => undef ],
[ 'Date::Calc' => undef ],
[ 'Pod::POM' => undef ],
[ 'Tie::DBI' => undef ],
[ 'XML::DOM' => \&check_dom ],
[ 'XML::RSS' => \&check_rss ],
[ 'XML::XPath' => \&check_xpath ],
Expand Down Expand Up @@ -441,8 +442,9 @@ XS Stash: TT2 now twice as fast!
We have a new high speed version of the Template::Stash. It's
a Perl XS module which can evaluate templates about twice as fast as
the pure-Perl version. It is still officially "experimental" but
is thought to be generally stable and reliable.
the pure-Perl version. It is stable and reliable but be warned that
it doesn't yet support access to tied hashes (e.g. Tie::DBI) so for
certain applications you may need to explicitly use the regular stash.
You can choose to build the XS stash module and enable it by default
so that it is used automatically for all templates. If you build it
Expand All @@ -454,9 +456,10 @@ this:
my \$tt = new Template ({ STASH => new Template::Stash::XS, ... });
You can also enable the XS stash by setting the \$STASH package
variable in the Template/Config.pm module. See 'perldoc
Template::Config' for further details.
You can also enable the XS stash (or the regular stash if you opt to
use the XS stash by default) by setting the \$STASH package variable
in the Template/Config.pm module. See 'perldoc Template::Config' for
further details.
EOF

Expand Down
10 changes: 5 additions & 5 deletions README
@@ -1,9 +1,9 @@

Template Toolkit

Version 2.06b
Version 2.06c

29 November 2001
13 December 2001

Copyright (C) 1996-2001 Andy Wardley. All Rights Reserved
Copyright (C) 1998-2001 Canon Research Centre Europe Ltd.
Expand Down Expand Up @@ -43,8 +43,8 @@ need to install them. They're all available from CPAN if you do.

To install the Template Toolkit:

tar zxf Template-Toolkit-2.06b.tar.gz
cd Template-Toolkit-2.06b
tar zxf Template-Toolkit-2.06c.tar.gz
cd Template-Toolkit-2.06c
perl Makefile.PL
make
make test
Expand Down Expand Up @@ -336,7 +336,7 @@ VERSION COMPATABILITY
---------------------

In terms of the template language and features available, versions
2.01 through to 2.06b should be fully backwardly compatible with
2.01 through to 2.06c should be fully backwardly compatible with
version 2.00.

Version 2.00 is backwardly compatible with version 1 in all but a few
Expand Down
2 changes: 1 addition & 1 deletion TODO
Expand Up @@ -3,7 +3,7 @@
# TODO
#
# DESCRIPTION
# TODO list for the Template Toolkit version 2.06b, containing
# TODO list for the Template Toolkit version 2.06c, containing
# known bugs, limitations, planned enhancements, long term visions
# and a few whacky ideas.
#
Expand Down
2 changes: 1 addition & 1 deletion bin/release
Expand Up @@ -5,5 +5,5 @@
&& make test \
&& bin/fixconfig -v -y \
&& make dist \
&& echo "Share and Enjoy!"
&& echo "Go forth and make content!"

6 changes: 3 additions & 3 deletions bin/tpage
Expand Up @@ -112,8 +112,8 @@ L<http://www.andywardley.com/|http://www.andywardley.com/>
=head1 VERSION
2.35, distributed as part of the
Template Toolkit version 2.06b, released on 29 November 2001.
2.36, distributed as part of the
Template Toolkit version 2.06c, released on 13 December 2001.
=head1 COPYRIGHT
Expand All @@ -125,4 +125,4 @@ modify it under the same terms as Perl itself.
=head1 SEE ALSO
L<ttree|Template::Tools::ttree>
L<ttree|Template::Tools::ttree>
6 changes: 3 additions & 3 deletions bin/ttree
Expand Up @@ -627,8 +627,8 @@ L<http://www.andywardley.com/|http://www.andywardley.com/>
=head1 VERSION
2.35, distributed as part of the
Template Toolkit version 2.06b, released on 29 November 2001.
2.36, distributed as part of the
Template Toolkit version 2.06c, released on 13 December 2001.
=head1 COPYRIGHT
Expand All @@ -640,4 +640,4 @@ modify it under the same terms as Perl itself.
=head1 SEE ALSO
L<tpage|Template::Tools::tpage>
L<tpage|Template::Tools::tpage>

0 comments on commit e9d3021

Please sign in to comment.