Re: [Templates] Template Toolkit verion 2.10

2003-08-04 Thread Bryce Harrington
On Mon, 4 Aug 2003, Andy Wardley wrote:
 Alex Vandiver wrote:
Also, what are the chances of getting the docs at
  http://www.template-toolkit.org/docs/ updated to 2.10?

 Done.

  P.S.  The MIT homepage now uses TT2 to regenerate 300+ pages of static
  HTML per day.  Whee!

 Cool!

Fwiw, I've just completed a redesign of the OSDL website - 324 pages of
content being regenerated on demand by TT2.

Bryce


___
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates


Re: [Templates] Template Toolkit verion 2.10

2003-07-30 Thread Alex Vandiver
On Thu, 2003-07-24 at 12:24, Andy Wardley wrote:
 Version 2.10 of the Template Toolkit is now available. [snip]
  I'm getting a failure in test 25 of t/date.t, because Solaris'
strftime does not define the %s format (it isn't in the ANSI C
standard).  Not a bug in TT2 itself, just a bug in the tests.

  Also, what are the chances of getting the docs at
http://www.template-toolkit.org/docs/ updated to 2.10?

 - Alex

P.S.  The MIT homepage now uses TT2 to regenerate 300+ pages of static
HTML per day.  Whee!

-- 
Networking -- only one letter away from not working


___
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates


Re: [Templates] Template Toolkit verion 2.10

2003-07-27 Thread Axel Gerstmair
On Saturday, July 26, 2003 at 03:19, Kenny Gatdula wrote:
 After I ignore the tests, and make install, I ran t/date.t by hand.
 This was on 5.6.1 and 5.8 on Win32. I happily ignored the failures,
 but, thought you'd like to know.
 [...]
 Argument  isn't numeric in localtime at t/date.t line 66, DATA line 1.
 MATCH FAILED
  input: [[% USE day = date(format = '%A', locale = 'en_GB') %]\n[% day.format(
 '4:20:00 9-13-2000') %]\n]
 expect: [Wednesday]
 output: [Tuesday]
 FAILED 25:  - template text 11 did not match expected
 not ok 25 - template text 11 did not match expected

There is a patch available that should fix this problem but that has
not yet been applied. Here is the corresponding email:
http://template-toolkit.org/pipermail/templates/2003-April/004553.html

And here's another patch waiting for approval:
http://template-toolkit.org/pipermail/templates/2003-May/004572.html

Best regards,
Axel.


___
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates


Re: [Templates] Template Toolkit verion 2.10

2003-07-25 Thread Andy Wardley
Simon Wilcox wrote:
 I'm getting a build failure on 2.10, in t/autoform.t :

Don't sweat it.  Autoformat seems to be very variable about the output
it generates.  I disabled the tests for Perl 5.8.0 because they go 
all over the place.  Perhaps I should do the same for 5.6.1, or just 
remove them altogeher?...

A


___
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates


Re: [Templates] Template Toolkit verion 2.10

2003-07-25 Thread Kenny Gatdula
After I ignore the tests, and make install, I ran t/date.t by hand. This was on 5.6.1 
and 5.8 on Win32. I happily ignored the failures, but, thought you'd like to know.

Kenny

Failed Test  Stat Wstat Total Fail  Failed  List of Failed
---
t\autoform.t   251   4.00%  21
t\date.t   331   3.03%  25
14 tests skipped.
Failed 2/90 test scripts, 97.78% okay. 2/2471 subtests failed, 99.92% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff'
Stop.


Argument  isn't numeric in localtime at t/date.t line 66, DATA line 1.
MATCH FAILED
 input: [[% USE day = date(format = '%A', locale = 'en_GB') %]\n[% day.format(
'4:20:00 9-13-2000') %]\n]
expect: [Wednesday]
output: [Tuesday]
FAILED 25:  - template text 11 did not match expected
not ok 25 - template text 11 did not match expected

At 05:24 PM 7/24/2003 +0100, Andy Wardley wrote:

Version 2.10 of the Template Toolkit is now available.  It is working 
its way around CPAN.  In the mean time, it is available from the usual
place:

  http://tt2.org/download/Template-Toolkit-2.10.tar.gz

Changes below.

Enjoy!
A

#
# Version 2.10 - 24th July 2003
#

* Merged in Darren's branch to add the define_vmethod() methods to
  Template::Context and Template::Stash.

* Applied patch from Axel Gerstmair for minor fixes to Makefile.PL,
  t/gd.t and t/date.t.
  http://template-toolkit.org/pipermail/templates/2003-April/004545.html

* Added undefined() method to the Stash which get() calls if a variable
  value is undefined.  Currently just returns '' to implement existing
  behaviour, but it provides a method hook for subclasses to redefine.

* Fixed a minor bug which prevented the Stash from being subclassable
  by removing references to __PACKAGE__

___
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates