[Templates-cvs] cvs commit: Template2/docsrc/src/Release Changes.tt2

cvs@template-toolkit.org cvs@template-toolkit.org


cvs         06/02/01 18:23:55

  Modified:    docsrc/src/Release Changes.tt2
  Log:
  * updated changes relating to list.hash
  
  Revision  Changes    Path
  1.127     +14 -16    Template2/docsrc/src/Release/Changes.tt2
  
  Index: Changes.tt2
  ===================================================================
  RCS file: /template-toolkit/Template2/docsrc/src/Release/Changes.tt2,v
  retrieving revision 1.126
  retrieving revision 1.127
  diff -u -r1.126 -r1.127
  --- Changes.tt2	2006/02/01 15:04:19	1.126
  +++ Changes.tt2	2006/02/01 18:23:55	1.127
  @@ -20,7 +20,7 @@
   #   Any changes you make here may be lost!
   #
   #------------------------------------------------------------------------
  -# $Id: Changes.tt2,v 1.126 2006/02/01 15:04:19 abw Exp $
  +# $Id: Changes.tt2,v 1.127 2006/02/01 18:23:55 abw Exp $
   #========================================================================
   
   #------------------------------------------------------------------------
  @@ -70,18 +70,15 @@
   Virtual Methods
   ---------------
   
  +* Added the scalar.remove, hash.delete, hash.items, hash.pairs,
  +  list.import and list.hash virtual methods.  
  +
   * Changed the scalar.replace method to work properly with back
     references ($1, $2, etc) by incorporating the code from Nik
     Clayton's Template::Plugin::Subst module.
   
     http://tt2.org/pipermail/templates/2006-February/008306.html
   
  -* Changed list.hash and hash.list vmethods to Do The Right Thing instead
  -  of some crack fuelled nonsense.  hash.list now returns [ %$hash ]
  -  and list.hash now returns [ @$list ]
  -
  -  http://template-toolkit.org/pipermail/templates/2006-January/008256.html
  -
   * Changed list.push and list.unshift to accept multiple arguments, thanks
     to Bill Moseley.
   
  @@ -89,24 +86,20 @@
   
   * Fixed the split scalar virtual method which wasn't accepting the second
     argument (limit) correctly.  Thanks to Josh Rosenbaum for pointing
  -  out the problem, although the solution turned out to be a little more 
  -  complicated.
  +  out the problem.
   
     http://tt2.org/pipermail/templates/2005-October/007982.html
  +
  +* Documented the fact that hash.list is going to change in the future,
  +  recommending people switch to hash.pairs.
   
  -* Added the 'delete' hash virtual method and the 'remove' scalar virtual
  -  method.
  +* Added the global option to the 'match' scalar virtual method.
   
   * Changed $element to $component in Template::Context to fix callers bug, 
     thanks to Andy Maas who identified the problem and found the solution:
   
     http://tt2.org/pipermail/templates/2004-December/007020.html
   
  -* Fixed the regex matching relative paths in Template::Provider, thanks
  -  to Josh Rosenbaum 
  -
  -  http://tt2.org/pipermail/templates/2005-January/007141.html
  -
   * Changed the sort and nsort list virtual methods to always return 
     references to lists, avoiding any ambiguity in return results.
   
  @@ -232,6 +225,11 @@
     Template::Parser line counting when using chomp flags.
   
     http://tt2.org/pipermail/templates/2005-December/008157.html
  +
  +* Fixed the regex matching relative paths in Template::Provider, thanks
  +  to Josh Rosenbaum 
  +
  +  http://tt2.org/pipermail/templates/2005-January/007141.html
   
   * Applied a patch to Template::Provider to prevent a misleading error
     message, thanks to Slaven Rezic.