[Templates-cvs] cvs commit: TT3/docs changes.pod

cvs@template-toolkit.org cvs@template-toolkit.org
Wed, 15 Dec 2004 14:04:04 +0000


cvs         04/12/15 14:04:04

  Modified:    docs     changes.pod
  Log:
  * updated docs/changes.pod
  
  Revision  Changes    Path
  1.2       +102 -2    TT3/docs/changes.pod
  
  Index: changes.pod
  ===================================================================
  RCS file: /template-toolkit/TT3/docs/changes.pod,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.pod	2004/12/15 13:45:47	1.1
  +++ changes.pod	2004/12/15 14:04:04	1.2
  @@ -1,17 +1,25 @@
   =head1 Changes from alpha-01 to alpha-02
   
  +=head2 Template::Base
  +
  +Fixed some broken code in C<throw()>.
  +
  +Deprecated C<module()> and C<object()> methods.
  +
   =head2 Template::Utils
   
  +Added C<find_module()> to look for a Perl module but not load it.
  +
   Added C<resolve_file_path()> method to fully resolve and remove C<..> elements
   (or filesystem equivalent) in file paths.
   
   Renamed C<load_file()> to C<read_file()> and C<save_file()> to C<write_file()>.
   
   Added C<file_encoding()> method to handle encoding for both
  -C<read_file() and C<write_file()>.
  +C<read_file()> and C<write_file()>.
   
   Added C<decode_unicode()> method to decode Unicode for C<read_file()>
  -(thanks to Mark Fowler for the TT2 I borrowed - I would have been lost
  +(thanks to Mark Fowler for the TT2 code I borrowed - I would have been lost
   without it).
   
   Added C<encoding> and C<unicode> options to new() constructor, C<read_file()> 
  @@ -20,6 +28,98 @@
   Added various tests for encoding and Unicode, mostly borrowed from
   tt2/t/unicode.t
   
  +Updated and completed documentation.
  +
  +=head2 Template::Exception
  +
  +Changed Template::Exception to use named parameters like everything
  +else does.
  +
  +=head2 Template::Object
  +
  +Moved Template::VObject modules into Template::Object.
  +
  +=head2 Template::Factory
  +
  +Added C<default> option and C<default()> method to Template::Factory.
  +
  +=head2 Template::Compilers
  +
  +Added module for providing compilers.
  +
  +Added bare bones C<tt> compiler to sit alongside C<tt2> and C<tt3>.
  +
  +=head2 Template::Parser
  +
  +Added C<parse_namespace()> and hooked it into C<parse_term()>.
  +
  +Modified some of the C<init()> code to not break things when being cloned
  +(this needs fixing properly in the Template::Base C<clone()> method.
  +
  +=head2 Template::Namespace
  +
  +Added simple Template::Namespace::Variable
  +
  +Added Template::Namespace::Metadata for accessing template metadata.
  +
  +=head2 Template::Generator
  +
  +Added C<use_module()> to add 'use Module' lines to start of compiled
  +template component.
  +
  +Added C<generate_perl()> method for passing through any raw perl
  +defined elsewhere.
  +
  +=head2 Template::Component
  +
  +Added C<component> reference to context child created in C<process()>
  +method.  This gives access to metadata and other component items.
  +
  +=head2 Template::Resources
  +
  +Enabled filter resource in Template::Resources and created a skeleton
  +resource module for it, Template::Resource::Filter.  At the moment
  +this is just to keep the Template::Resources tests in F<t/resources.t>
  +quiet.
  +
  +=head2 Template::Resource::Variable
  +
  +Minor change to way a root variable reference is handled.
  +
   =head2 Template::Test
   
   Added C<skip_rest()> to skip the rest of the tests.
  +
  +=head2 Documentation
  +
  +Updated the TODO list.
  +
  +Added F<docs/changes.pod> to list changes.
  +
  +Added F<docs/modules.pod> which lists the module as and when they are
  +completed.
  +
  +Added F<docs/podspec.pod> which has some guidelines on writing POD.
  +
  +=head2 Tests
  +
  +Added tests for default compiler.
  +
  +Added new tests for Template::Context.
  +
  +Added tests for relocated Object modules.
  +
  +Moved t/context.t tests into t/scope.t
  +
  +Added tests for accessing metadata through C<meta:> namespace.
  +
  +Added tests for Template::Generator C<use_module()> and related methods.
  +
  +Added some very simple tests for namespace parsing
  +
  +=head2 Examples
  +
  +Renamed F<examples/scanner.pl> to F<examples/custom.pl> and turned it up 
  +to eleven.
  +
  +