Skip Menu |

This queue is for tickets about the Template-Toolkit CPAN distribution.

Report information
The Basics
Id: 11762
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: jgmyers [...] proofpoint.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.14
Fixed in: (no value)



Subject: Spelling errors
The attached patch fixes some spelling errors.
diff -ru Template-Toolkit-2.14-orig/Changes Template-Toolkit-2.14/Changes --- Template-Toolkit-2.14-orig/Changes 2004-10-04 03:27:39.000000000 -0700 +++ Template-Toolkit-2.14/Changes 2005-03-04 14:32:26.000000000 -0800 @@ -2194,7 +2194,7 @@ * Fixed bug in parse grammer preventing commas in a META list -* Added cache persistance by writing real Perl to file (rather than +* Added cache persistence by writing real Perl to file (rather than the previous Data::Dumper dump of the opcode tree). Had to re-organise a bunch of code around the parser/provider/document. Activated by COMPILE_EXT configuration item. @@ -2203,7 +2203,7 @@ membership of the UNIVERSAL class after the first method call. * Added AUTO_RESET option which is enabled by default. Disable this - (AUTO_RESET => 0) for block persistance across service invocations. + (AUTO_RESET => 0) for block persistence across service invocations. * Fixed \@ quoting (and others) in Directive thanks to Perrin Harkins who reported the bug and Chuck Adams who provided a patch. @@ -2615,7 +2615,7 @@ Template::Grammar modules won't even be loaded, further reducing startup time and memory consumption (the grammar file, in particular is rather large). The Template::Provider module handles the - loading, caching and persistance of templates, and will examine file + loading, caching and persistence of templates, and will examine file timestamps and re-compiled modified templates as required. * Flexibility. Only in Template-Toolkit-2.14: Changes~ Only in Template-Toolkit-2.14/docs/src/Modules/Template: .#Document.html Only in Template-Toolkit-2.14/docs/src/Modules/Template: #Document.html# Only in Template-Toolkit-2.14/docs/src/Release: .#Changes.html Only in Template-Toolkit-2.14/docs/src/Release: #Changes.html# diff -ru Template-Toolkit-2.14-orig/lib/Template/Context.pm Template-Toolkit-2.14/lib/Template/Context.pm --- Template-Toolkit-2.14-orig/lib/Template/Context.pm 2004-10-04 03:27:39.000000000 -0700 +++ Template-Toolkit-2.14/lib/Template/Context.pm 2005-03-04 13:48:11.000000000 -0800 @@ -588,7 +588,7 @@ # # The leave() method is called when the document has finished # processing itself. This removes the entry from the BLKSTACK list -# that was added visit() above. For persistance of BLOCK definitions, +# that was added visit() above. For persistence of BLOCK definitions, # the process() method (i.e. the PROCESS directive) does some extra # magic to copy BLOCKs into a shared hash. #------------------------------------------------------------------------ @@ -606,7 +606,7 @@ # be specified as a reference to a sub-routine or Template::Document # object or as text which is compiled into a template. Returns a true # value (the $block reference or compiled block reference) if -# succesful or undef on failure. Call error() to retrieve the +# successful or undef on failure. Call error() to retrieve the # relevent error message (i.e. compilation failure). #------------------------------------------------------------------------ Only in Template-Toolkit-2.14/lib/Template: .#Document.pm Only in Template-Toolkit-2.14/lib/Template: #Document.pm# Only in Template-Toolkit-2.14/t: .#compile1.t Only in Template-Toolkit-2.14/t: #compile1.t# Only in Template-Toolkit-2.14/t: .#compile4.t Only in Template-Toolkit-2.14/t: #compile4.t#
From: jgmyers [...] proofpoint.com
Corrected patch
diff -ru Template-Toolkit-2.14-orig/Changes Template-Toolkit-2.14/Changes --- Template-Toolkit-2.14-orig/Changes 2004-10-04 03:27:39.000000000 -0700 +++ Template-Toolkit-2.14/Changes 2005-03-04 14:32:26.000000000 -0800 @@ -2194,7 +2194,7 @@ * Fixed bug in parse grammer preventing commas in a META list -* Added cache persistance by writing real Perl to file (rather than +* Added cache persistence by writing real Perl to file (rather than the previous Data::Dumper dump of the opcode tree). Had to re-organise a bunch of code around the parser/provider/document. Activated by COMPILE_EXT configuration item. @@ -2203,7 +2203,7 @@ membership of the UNIVERSAL class after the first method call. * Added AUTO_RESET option which is enabled by default. Disable this - (AUTO_RESET => 0) for block persistance across service invocations. + (AUTO_RESET => 0) for block persistence across service invocations. * Fixed \@ quoting (and others) in Directive thanks to Perrin Harkins who reported the bug and Chuck Adams who provided a patch. @@ -2615,7 +2615,7 @@ Template::Grammar modules won't even be loaded, further reducing startup time and memory consumption (the grammar file, in particular is rather large). The Template::Provider module handles the - loading, caching and persistance of templates, and will examine file + loading, caching and persistence of templates, and will examine file timestamps and re-compiled modified templates as required. * Flexibility. Only in Template-Toolkit-2.14: Changes~ diff -ru Template-Toolkit-2.14-orig/docs/src/Modules/Template/Document.html Template-Toolkit-2.14/docs/src/Modules/Template/Document.html --- Template-Toolkit-2.14-orig/docs/src/Modules/Template/Document.html 2004-10-04 03:27:20.000000000 -0700 +++ Template-Toolkit-2.14/docs/src/Modules/Template/Document.html 2005-03-04 14:38:51.000000000 -0800 @@ -188,7 +188,7 @@ -%][% WRAPPER subsection title = "write_perl_file(\\%config)" -%]<p> -This package subroutine is provided to effect persistance of compiled +This package subroutine is provided to effect persistence of compiled templates. If the COMPILE_EXT option (to indicate a file extension for saving compiled templates) then the Template::Parser module calls this subroutine before calling the new() constructor. At this stage, @@ -196,7 +196,7 @@ containing Perl code. We can write that to a file, enclosed in a small wrapper which will allow us to susequently require() the file and have Perl parse and compile it into a Template::Document. Thus we -have persistance of compiled templates. +have persistence of compiled templates. </p> [%- END %] [%- END %] Only in Template-Toolkit-2.14/docs/src/Modules/Template: Document.html~ diff -ru Template-Toolkit-2.14-orig/docs/src/Release/Changes.html Template-Toolkit-2.14/docs/src/Release/Changes.html --- Template-Toolkit-2.14-orig/docs/src/Release/Changes.html 2004-10-04 03:27:38.000000000 -0700 +++ Template-Toolkit-2.14/docs/src/Release/Changes.html 2005-03-04 14:38:50.000000000 -0800 @@ -2198,7 +2198,7 @@ * Fixed bug in parse grammer preventing commas in a META list -* Added cache persistance by writing real Perl to file (rather than +* Added cache persistence by writing real Perl to file (rather than the previous Data::Dumper dump of the opcode tree). Had to re-organise a bunch of code around the parser/provider/document. Activated by COMPILE_EXT configuration item. @@ -2207,7 +2207,7 @@ membership of the UNIVERSAL class after the first method call. * Added AUTO_RESET option which is enabled by default. Disable this - (AUTO_RESET =&gt; 0) for block persistance across service invocations. + (AUTO_RESET =&gt; 0) for block persistence across service invocations. * Fixed \@ quoting (and others) in Directive thanks to Perrin Harkins who reported the bug and Chuck Adams who provided a patch. @@ -2619,7 +2619,7 @@ Template::Grammar modules won't even be loaded, further reducing startup time and memory consumption (the grammar file, in particular is rather large). The Template::Provider module handles the - loading, caching and persistance of templates, and will examine file + loading, caching and persistence of templates, and will examine file timestamps and re-compiled modified templates as required. * Flexibility. Only in Template-Toolkit-2.14/docs/src/Release: Changes.html~ diff -ru Template-Toolkit-2.14-orig/lib/Template/Context.pm Template-Toolkit-2.14/lib/Template/Context.pm --- Template-Toolkit-2.14-orig/lib/Template/Context.pm 2004-10-04 03:27:39.000000000 -0700 +++ Template-Toolkit-2.14/lib/Template/Context.pm 2005-03-04 13:48:11.000000000 -0800 @@ -588,7 +588,7 @@ # # The leave() method is called when the document has finished # processing itself. This removes the entry from the BLKSTACK list -# that was added visit() above. For persistance of BLOCK definitions, +# that was added visit() above. For persistence of BLOCK definitions, # the process() method (i.e. the PROCESS directive) does some extra # magic to copy BLOCKs into a shared hash. #------------------------------------------------------------------------ @@ -606,7 +606,7 @@ # be specified as a reference to a sub-routine or Template::Document # object or as text which is compiled into a template. Returns a true # value (the $block reference or compiled block reference) if -# succesful or undef on failure. Call error() to retrieve the +# successful or undef on failure. Call error() to retrieve the # relevent error message (i.e. compilation failure). #------------------------------------------------------------------------ diff -ru Template-Toolkit-2.14-orig/lib/Template/Document.pm Template-Toolkit-2.14/lib/Template/Document.pm --- Template-Toolkit-2.14-orig/lib/Template/Document.pm 2004-10-04 03:27:39.000000000 -0700 +++ Template-Toolkit-2.14/lib/Template/Document.pm 2005-03-04 14:38:53.000000000 -0800 @@ -466,7 +466,7 @@ =head2 write_perl_file(\%config) -This package subroutine is provided to effect persistance of compiled +This package subroutine is provided to effect persistence of compiled templates. If the COMPILE_EXT option (to indicate a file extension for saving compiled templates) then the Template::Parser module calls this subroutine before calling the new() constructor. At this stage, @@ -474,7 +474,7 @@ containing Perl code. We can write that to a file, enclosed in a small wrapper which will allow us to susequently require() the file and have Perl parse and compile it into a Template::Document. Thus we -have persistance of compiled templates. +have persistence of compiled templates. =head1 AUTHOR Only in Template-Toolkit-2.14/lib/Template: Document.pm~ diff -ru Template-Toolkit-2.14-orig/t/compile1.t Template-Toolkit-2.14/t/compile1.t --- Template-Toolkit-2.14-orig/t/compile1.t 2000-12-03 02:04:12.000000000 -0800 +++ Template-Toolkit-2.14/t/compile1.t 2005-03-04 14:38:52.000000000 -0800 @@ -2,7 +2,7 @@ # # t/compile1.t # -# Test the facility for the Template::Provider to maintain a persistance +# Test the facility for the Template::Provider to maintain a persistence # cache of compiled templates by writing generated Perl code to files. # # Written by Andy Wardley <abw@kfs.org> Only in Template-Toolkit-2.14/t: compile1.t~ diff -ru Template-Toolkit-2.14-orig/t/compile4.t Template-Toolkit-2.14/t/compile4.t --- Template-Toolkit-2.14-orig/t/compile4.t 2001-08-04 02:49:29.000000000 -0700 +++ Template-Toolkit-2.14/t/compile4.t 2005-03-04 14:38:52.000000000 -0800 @@ -2,7 +2,7 @@ # # t/compile4.t # -# Test the facility for the Template::Provider to maintain a persistance +# Test the facility for the Template::Provider to maintain a persistence # cache of compiled templates by writing generated Perl code to files. # This is similar to compile1.t but defines COMPILE_DIR as well as # COMPILE_EXT. Only in Template-Toolkit-2.14/t: compile4.t~