"Fossies" - the Fresh Open Source Software Archive

Member "HTML-Template-2.97/Changes" (18 May 2017, 16203 Bytes) of package /linux/www/HTML-Template-2.97.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Changes": 2.95_vs_2.97.

    1 2.97 Thu May 18 2017
    2     - Change internal module name HTML::Template::DEFAULT to
    3       HTML::Template::DEF to avoid conflict with
    4       HTML::Template::Default. [Sam Tregar]
    5 
    6 2.96 Thu May 18 2017
    7     - Fixed typos in documentation [David Steinbrunner, Steve Kemp]
    8     - Added CGI.pm as a dependency, needed now that it's no longer in core.
    9       [Martin McGrath, Steve Bertrand]
   10 
   11 2.95 Mon Oct 21 2013
   12     - Added support for "none" for default_escape [Mark Stosberg]
   13     - Escape unicode new-line characters in JS escape [Michael Peters]
   14 
   15 2.94 Thu Jan 17 2013
   16     - Fixed bug where options were bleeding over into subsequent calls to new()
   17       [Michael Peters]
   18 
   19 2.93 Wed Jan 16 2013
   20     - Feature: Added config() method to make setting global defaults
   21       easy so that each call to new() has less boiler plate. [Michael
   22       Peters]
   23 
   24     - Bug Fix: t/05-force_untaint.t now passes when run with prove
   25       [Michael Peters]
   26 
   27     - Bug Fix: die_on_bad_params now controls whether we die if tmpl_vars
   28       reuse names from tmpl_loops (which can be useful in some situations)
   29       [Michael Peters]
   30 
   31 2.91 Fri Mar 30 2012
   32 
   33    - Feature: RT #18901 - Added new utf8 option to make it really simple
   34      to use UTF-8 encoded templates [Michael Peters]
   35 
   36    - Feature: RT #30586 - Added new open_mode option to allow for
   37      Perl IO layers to interact when using open() on the template files
   38      [moritz@faui2k3.org and Michael Peters]
   39 
   40    - Feature: RT #38189 - Allow clean XML style tags "<tmpl_var foo />"
   41      to be used as well. [allard@byte.nl]
   42 
   43    - Feature: RT #46285 - Added support for lazily-evaluated coderefs
   44      for TMPL_LOOPs. [Justin DeVuyst and Michael Peters]
   45 
   46    - Feature: RT #64797 - Added new option die_on_missing_include (defaults
   47      to true) that allows users to turn off the behavior of dieing when an 
   48      include can't be found [Zdenek Styblik and Michael Peters]
   49 
   50    - Feature: Add new cache_lazy_vars option so that the values from coderefs
   51      used for TMPL_VARs can be cached and the coderef not run multiple times 
   52      [Michael Peters]
   53 
   54    - Feature: Add new cache_lazy_loops option so that the values from coderefs
   55      used for TMPL_LOOPs can be cached and the coderef not run multiple times 
   56      [Michael Peters]
   57 
   58    - Feature: Added __even__, __outer__ and __index__ loop context vars. 
   59      [Michael Peters]
   60 
   61    - Bug Fix: RT #26456 - force_untaint can't work in Perl < 5.8.0
   62      [admin@photoresearchers.com]
   63 
   64    - Bug Fix: RT #67663 - remove warning under Perl > 5.14.0 about using tied
   65      with a file handle without "*" [RENEEB, TODDR and Michael Peters]
   66 
   67    - Bug Fix: RT #35534 - Using the same loop multiple times with
   68      different vars will no longer cause an error if die_on_bad_params 
   69      is set. [Ron Savage & Michael Peters]
   70 
   71    - Bug Fix: RT #38325 - Give a better error message if param() is set
   72      with a reference to a reference. [Mark Stosberg & Michael Peters]
   73 
   74    - Test Fix: RT #26103 - t/05-blind-cache.t no longer modifies the
   75      distribution during the tests but instead uses temp files [Jan
   76      Dubois and Michael Peters]
   77 
   78    - Test Fix: Tests that create and modify files now use temp files
   79      and file_cache_dir is always a temp directory [Michael Peters]
   80 
   81    - Doc Fix: Using more POD formatting [Michael Peters]
   82 
   83    - Doc Fix: RT #46244 - fix broken link to tutorial [Michael Peters]
   84 
   85    - Doc Fix: RT #60282 - fix various mispellings [Florian Ernst]
   86 
   87    - Doc Fix: RT #60283 - fix broken HTML example [Florian Ernst]
   88 
   89    - Doc Fix: RT #60284 - fix broken POD [Florian Ernst and Michael Peters]
   90 
   91    - Development: Moved development to GitHub
   92      (https://github.com/mpeters/html-template)
   93 
   94    - Development: Switched to using Dist::Zilla internally for release management
   95 
   96    - Development: Added Michael Peters as co-maintainer
   97 
   98 2.9 Mon Jan 29 15:54:03 EST 2007
   99    - New Feature: the new force_untaint option makes sure you do not
  100      pass tainted values to param(). [Sven Neuhaus]
  101 
  102    - New Feature: Added ESCAPE=NONE as a synonym for ESCAPE=0.  Fixed 
  103      both to work with default_escape. [cpan@punch.net]
  104 
  105    - Bug Fix: DEFAULT didn't work with URL and JS escaping. 
  106 
  107    - Bug Fix: Long-standing bug where variables set in a loop weren't
  108      available inside inner loops under global_vars if the variable
  109      wasn't actually used in the outer loop.  (Thanks to Richard Fein
  110      for help debugging the fix.)
  111 
  112    - Doc Fix: Changed references to CVS in the docs to Subversion now that
  113      the switch is complete.
  114 
  115    - Test Fix: At long last, the work from the Phalanx project has
  116      been merged!  The tests are now more complete and easier to work
  117      on.  Thanks Phalanx guys!
  118 
  119 2.8 Wed Dec 21 18:37:39 EST 2005
  120    - New Feature: the new default_escape option allows you to apply
  121      escaping to all variables in a template. [Alex Kapranoff]
  122 
  123    - Bug Fix: ESCAPE wasn't working on variables containing code-refs.
  124 
  125    - Bug Fix: Changed HTML::Template to help sub-classes by called
  126      _new_from_loop() via ref($self) rather than hard-coding the package
  127      name. [Mark Stosberg]
  128 
  129    - Bug Fix: Including more than one <tmpl_else> tag in <tmpl_unless> or
  130      <tmpl_unless> now dies with an error message, instead of silently ignoring
  131      one of the clauses. [Mitar and Mark Stosberg]
  132 
  133    - Bug Fix: Fixed HTML::Template to re-evaluate conditions to handle
  134      <tmpl_else>.  This bug could cause HTML::Template to take both
  135      branches of a conditional if a code-ref parameter returned a
  136      different value when called a second time. [Emanuele Zeppieri]
  137 
  138 
  139 2.7 Thu Jun 24 12:00:00 2004
  140    - New Feature: Added javascript escaping with ESCAPE=JS. (Craig Manley)
  141 
  142    - Bug Fix: Improved cache keying to be sensitive to options which
  143               alter the compilation of templates (path, search_path,
  144               loop_context_vars and global_vars).  Calls to new() with
  145               different settings for any of these options will no longer pull
  146               incorrect cached objects.
  147 
  148    - Bug Fix: Added code to detect broken Perl 5.8.0 installs
  149               during installation (i.e. Redhat 8 and 9).
  150 
  151    - Bug Fix: Fixed parsing of ESCAPE='URL' (Paul Baker)
  152 
  153    - Bug Fix: Added check for empty filename passed to new().
  154 
  155    - Test Fix: Migrated tests to Test::More.  This will allow the
  156                easier introduction of new tests and the use of
  157                Devel::Cover. (Gabor Szabo)
  158 
  159 2.6 Thu Aug 29 12:00:00 2002
  160    - New Feature: HTML::Template will combine HTML_TEMPLATE_ROOT
  161                   environment variable and path option if both are
  162                   available. (Jesse Erlbaum)
  163    - New Feature: __counter__ variable now available when
  164                   loop_context_vars is set (Simran Gambhir)
  165    - New Feature: The default attribute allows you to specify
  166                   defaults for <tmpl_var> tags.
  167    - Bug Fix: fixed parser to reject <tmpl_var>s with no names.
  168               (crazyinsomniac)
  169    - Doc Fix: fixed documentation to correctly describe the
  170               interaction of case_sensitive and loop_context_vars.
  171               (Peter Claus Lamprecht)
  172    - Doc Fix: updated mailing-list information to reflect move from
  173               vm.com to sourceforge.net
  174 
  175 2.5 Fri Feb 01 12:00:00 2002
  176    - Bug Fix: global_vars fixed for loops within loops
  177    - Bug Fix: include paths were broken under Windows (David Ferrance)
  178    - Bug Fix: nested include path handling was wrong (Gyepi Sam)
  179    - Bug Fix: MD5 signatures for file cache corrected (Martin Schroth)
  180    - Bug Fix: print_to was broken for tied filehandles (Darren Chamberlain)
  181    - Doc Fix: added mailing-list archive URL to FAQ, added link to
  182               tutorial, fixed typos and formatting
  183    - Doc Fix: added reference to new HTML::Template website at
  184               http://html-template.sourceforge.net/
  185 
  186 2.4 Mon August 27 12:00:00 2001
  187    - Bug Fix: case_sensitive option broke loops (Peter Leonard)
  188    - Bug Fix: code-ref params now work with IF and UNLESS
  189 
  190 2.3 Thu June 28 12:00:00 2001
  191    - New Feature: template tags can now span lines.  (Roland Giersig)
  192    - New Feature: new() option 'filehandle'. (Roland Giersig)
  193    - Bug Fix: includes were broken in some cases using scalarref
  194      templates. (Lance Thomas)
  195    - Bug Fix: recursive include detection was broken for scalarref
  196      templates. (Mark Stosberg)
  197    - Bug Fix: cleaned up more 5.004 warnings. (Jere Julian)
  198 
  199    
  200 2.2 Sat December 23 12:00:00 2000
  201    - Bug Fix: fixed memory leak in global_vars implementation 
  202      (Ade Olonoh)
  203    - Bug Fix: fixed file_cache not reloading templates on changes
  204      (T.J. Mather)
  205    - Bug Fix: fixed broken error checking in param() (Mark Stosberg)
  206 
  207 2.1 Sun December 18 12:00:00 2000
  208    - New Feature: new 'file_cache' and 'double_file_cache' options
  209      provide a file based caching method (T.J. Mather)
  210    - New Feature: new 'print_to' option for output() allows
  211      output() to print to a filehandle as it runs. 
  212      (Chris Nokleberg)
  213    - New Feature: new 'case_sensitive' option to allow template
  214      variable names to be case sensitive. (Matthew Wickline)       
  215    - New Feature: new 'filter' option allows pre-parse filtering of
  216      template files.
  217    - Bug Fix: added single-quote escaping to HTML escaping code 
  218      (Ralph Corderoy)
  219    - Bug Fix: fixed a noisy bug in param() when used with 'associate'
  220      (William Ward)
  221    - Doc Fix: broke out FAQ into separate file.
  222 
  223 2.0 Sun September 16 12:00:00 2000 
  224    - New Feature: new 'search_path_on_include' option (Jody Biggs)
  225    - New Feature: much requested variable __ODD__ added to set of
  226      loop_context_vars.
  227    - New Feature: new 'no_includes' option (Scott Guelich)
  228    - Doc Addition: Added link to Japanese translation (Kawai Takanori)
  229    - Bug Fix: loop_context_vars was mostly broken (T.J. Mather, 
  230      Martin Schroth and Dave Wolfe)
  231    - Bug Fix: vanguard_compatibility_mode was broken on first line of
  232      included files. (uchum)
  233 
  234 1.8 Sun June 25 12:00:00 2000
  235    - New Feature: global_vars option makes outer variables visible
  236      inside loops.
  237    - Bug Fix: Use File::Spec to construct pathnames.  This means 
  238      that HTML::Template should now work on VMS and MacOS.
  239      (Larry Moore)
  240    - Bug Fix: loop_context_vars were broken in an unusual case
  241      (Todd Larason)
  242    - Bug Fix: ESCAPE was broken in some cases.
  243    - New License: switched to GPL/Artistic hybrid normally used
  244      with Perl modules.
  245 
  246 1.7 Fri March 24 12:00:00 2000
  247    - New Feature: new method query() enables introspection into 
  248      loops (Chris Houser)
  249    - New Feature: Better error handling with Carp      
  250    - Bug Fix: URLESCAPE was skipping some important escapes (Simran Gambhir)
  251    - New FAQ: How can I execute a program from inside my template?
  252 
  253 1.6 Sun March 05 12:00:00 2000
  254    - New Feature: double_cache combines shared memory and local memory
  255      caching for twice the speedup!
  256    - New feature: ESCAPE=URL (added by Tobias Brox)
  257    - Bug Fix: allow for blessed objects in calls to param()
  258      (thanks to Michael Lloyd and David Glasser)
  259    - Bug Fix: _mtime was broken in 1.5, fixed a typo.
  260 
  261 1.5.1 Wed February 23 12:00:00 2000
  262    - Bug Fix: 1.5 broke caching in some cases - thanks to Drew Taylor 
  263      for help solving this one.
  264 
  265 1.5 Mon February 17 12:00:00 2000
  266     - Shared cache now uses IPC::SharedCache and is much more stable.
  267     - Fixed problem with mixed case associated CGI.pm parameters
  268     - param() now accepts subroutine refs for TMPL_VARs.       
  269 
  270 1.4 Sat January 8 12:00:00 2000
  271     - New feature: new() option 'shared_cache' enables experimental
  272       IPC shared memory caching!
  273     - TMPL_IF now works on TMPL_LOOP variables.
  274     - Public CVS server available at www.sourceforge.net.
  275     - Bug Fix from Doug Steinwand: loop_context_vars not working
  276       on one-item loops.
  277 
  278 1.3 Fri December 17 12:00:00 1999 
  279      - Omnibus regex patch from Matthew Wickline: a faster and more
  280        robust parse().
  281      - New tag: TMPL_UNLESS, the opposite of TMPL_IF.
  282      - Numerous bug fixes: mixed-case filenames in includes,
  283        recursive TMPL_INCLUDEs, reporting filename and line number
  284        inside included files, better syntax-error detection.
  285      - Optional loop context variables - __FIRST__, __LAST__ and
  286        __INNER__.
  287 
  288 1.2.1 Wed November 17 12:00:01 1999
  289      - tiny bug fix
  290 
  291 1.2 Wed November 17 12:00:00 1999
  292      - Added multi-parameter and hash-ref syntax for param() calls.
  293      - Added DTD-compliant <!-- TMPL_* --> syntax patch from
  294        Matthew Wickline - Thanks!
  295      - vanguard_compatibility_mode = 1 implies die_on_bad_params = 0
  296 
  297 1.1 Fri November 05 12:00:00 1999
  298      - Lifted requirement that <TMPL_INCLUDE>s be alone on a line
  299      - Added "path" option to new() to manipulate search path for 
  300        templates.
  301      - bug fixes        
  302 
  303 1.0 Fri October 28 12:00:00 1999
  304      - An HTML::Template mailing-list!  Send a blank message to
  305        htmltmpl-subscribe@lists.vm.com to join.
  306      - bug fixes
  307      - improved docs
  308 
  309 0.96  October 14th 1999 15:49
  310      - Added "ESCAPE=1" option to <TMPL_VAR> to HTML-escape
  311        variable values.  (Peter Marelas, thanks!)
  312      - more bug fixes (David Glasses, James William Carlson - 
  313        thanks)
  314      - even *more* code cleanup!
  315      - new FAQ concerning pre-loading templates and mod_perl.
  316 
  317 0.95  October 8th 1999 12:28 
  318      - bug fix: some lines were getting chomped (Eric Zylberstejn)
  319      - *NUMEROUS* bug fixes (David Glasser - Thanks a lot!)
  320      - new FAQ section in documentation
  321      - code cleanup and improved comments
  322 
  323 0.91  September 29th 1999 17:59 
  324      - bug fix: possible loss of text after a </TMPL_IF>
  325        (Thanks to Tom Huskins for alerting me to this one!)
  326 
  327 0.9  September 28th 1999 17:46
  328      - <TMPL_IF> and <TMPL_ELSE>
  329      - near total rewrite - faster, smaller, more "compiler-esque" code.
  330      - *MASSIVE* speedups in all modes - up to 10x faster!1
  331      - bug fix : param() wasn't returning names of LOOPs
  332      - This really is version 0.9 so 1.0 is coming up.  Get those
  333        bug reports in!
  334 
  335 0.06  September 19th 1999 23:09 
  336      - added associate parameter to new() and obsoleted
  337        associate_CGI() (still supported for now)
  338      - added support for HTML_TEMPLATE_ROOT environment variable
  339      - small performance improvements using typeglobs
  340      - added a performance testing script: time_trial.pl
  341      
  342 0.051  September 10th 1999 17:30
  343      - small problem with make test fixed.
  344 
  345 0.05  September 10th 1999 17:18
  346      - Added <TMPL_INCLUDE> functionality!
  347      - Added associate_CGI() method - donated by Richard Dice
  348      - Cleaned up internal access to new() options.
  349      - more bug fixes from such notables as Kevin Puetz, and Steve
  350        Reppucci.       
  351 
  352 0.04  Fri June 18 12:00:00 1999
  353      - fixed cacheing - under certain conditions it was totally broken!
  354      - changed {param} to {param_values} - some older perls complained.
  355      - die_on_bad_params => 0 now also applied to loop body.
  356      - added copious comments about how bad m//i is to avoid future
  357        bug reports about [tT][hH][iI][sS]!
  358      - added numerous bug fixes and optimizations submitted by Mike
  359        Blazer, Adriano Nagelschmidt Rodrigues, Andrej Mikus and
  360        Ilya Obshadko.  Thanks!
  361      
  362 0.03  Fri June 11 17:37:00 1999
  363      - fixed a few irritating "undefined variable" errors in -w
  364      - big speedup on large TMPL_LOOPs.  They are at least one order of
  365        magnitude faster now!
  366      - die_on_bad_params => 0 never really worked!  It does now.
  367 
  368 0.02  Mon May 31 12:47:00 1999
  369      - die on multiple source parameters in new()
  370      - tries to preserve newlines in loop body
  371      - copies in array contents from array refs on param call
  372        i.e. allows for reuse of scratch arrays on calling side
  373      - Added a CREDITS section to the docs, inaugurated it with
  374        Richard Chen for his many fixes.
  375      - Added type => 'sometype', source => 'source' new() syntax.
  376      - made "NAME=" in tags optional.  Added a test.pl to check for
  377        this.
  378 
  379 0.01  Mon May 17 15:17:00 1999
  380      - added cacheing to module and perldoc
  381      - moved .tmpl files used by 'make test' to /templates
  382      - first release!
  383 
  384 0.00  Fri May 14 14:59:06 1999
  385      - original version; created by h2xs 1.18
  386