Show last: 20 , 50 , 100 , All
Next page

Date File Revision Author Revision Log
2008/01/10 09:39:55 164 164 sean Concludes upgrade to TT 2.19. I think.

2008/01/09 05:09:49 163 163 sean Adds test for fetching from a file handle.

2008/01/09 04:52:00 162 162 sean Incorporates 2.19 changes into provider.py and associated tests.

2008/01/08 07:37:19 161 161 sean Various fixes for Python 2.5. Primarily, introduces a new test for
object-ness, since new-style objects (such as Exception and subclasses
thereof) are not instances of types.InstanceType.

Also incorporates some new 2.5 features: try/except/finally, the with
statement, conditional expressions, etc.

Also, begins updating of code from version 2.15 to version 2.19 of the
Template Toolkit.


2007/12/11 06:00:41 155 155 sean Changes most in-code references to "perl" to "python".

Reactivates commented-out tests that exercise the PERL/RAWPERL directive
or the python filter.

2007/12/11 00:19:51 153 153 sean More final-ish code cleanup and refactoring.

One major theme is converting global module variables into class variables,
so that they're accessed more similarly to how they are in Perl.

2007/12/06 01:07:01 150 150 sean Introduces the VIEW directive, the View plugin, and associated supporting
code and tests.

2007/11/29 05:51:27 147 147 sean Deletes template.base module; moves TemplateException class to
template.util; eliminates template.base.Base as a common base class.

2007/11/27 22:21:54 145 145 sean Cleanup of template.provider code.

2007/11/27 07:38:07 144 144 sean template.provider now raises exceptions rather than returns error codes.

2007/11/22 02:17:32 143 143 sean Starts weaning template.provider from an error-return-code model to
an exception-throwing model.

2007/11/21 01:19:36 141 141 sean Imports documentation for Template::Plugins to template.plugins, and
codifies the informal plugin heuristics I've been using.

Copied from /trunk/t/test/plugin/MyPlugs/bar.py:117
Copied from /trunk/t/test/plugin/MyPlugs/baz.py:117
Copied from /trunk/t/test/plugin/MyPlugs/foo.py:117
2007/11/20 08:11:35 140 140 sean Imports documentation from Template::Parser to template.parser.

2007/11/19 21:05:39 135 135 sean Tidies up the code in template.filters, and imports the documentation from
Template::Filters.

2007/11/19 18:04:41 134 134 sean Various more or less minor fixes. Also introduces a more Pythonic way of
designating a dynamic filter factory, using a "dynamic_filter" attribute
on the function object rather than the Perlish [$function, $is_dynamic]
2-element array.

2007/11/17 01:03:40 131 131 sean Finishes everywhere renaming the original, ill-named base.Exception class to
TemplateException.

2007/11/16 22:49:56 130 130 sean Adds a bunch of documentation to context.py.

2007/11/16 07:10:02 129 129 sean Documentation copy and code cleanup.

2007/11/16 01:25:43 128 128 sean Adds some overdue documentation.

2007/11/15 08:54:30 127 127 sean Makes the Template object more Pythonic; its process method now returns
the processed text directly, rather than sending it to the original, highly
polymorphic third parameter, which has been eliminated. It now reports
exceptions by raising them, rather than by letting process() return false
and making the user ask for the error information. OUTPUT and OUTPUT_PATH
are still supported (although they arguably shouldn't be).

Lots of minor syntactic nip-and-tucks in the tests.