Tue, 08 Apr 2008 22:38:43 +0000 |
aflett |
fix ticket [209] - make sure py:with is valid, and add a test to make sure empty py:for is invalid
|
Tue, 08 Apr 2008 22:34:01 +0000 |
cmlenz |
Enable pickling of `Template` and `Code` objects.
|
Tue, 08 Apr 2008 19:49:39 +0000 |
cmlenz |
The `Template` class and its subclasses, as well as the interpolation API, now take an `filepath` parameter instead of `basedir`. Closes #207. Thanks to Waldemar Kornewald for the patch.
|
Tue, 08 Apr 2008 18:18:18 +0000 |
cmlenz |
The `Markup` class now supports mappings for right hand of the `%` (modulo) operator in the same way the Python string classes do, except that the substituted values are escape. Also, the special constructor which took positional arguments that would be substituted was removed. Thus the `Markup` class now supports the same arguments as that of its `unicode` base class. Closes #211. Many thanks to Christian Boos for the patch!
|
Mon, 07 Apr 2008 18:27:55 +0000 |
aflett |
minor performance updates for non-match cases like bigtable, and for any case where before_template/after_template would create an empty MatchSet
experimental-match-fastpaths
|
Mon, 07 Apr 2008 17:15:00 +0000 |
aflett |
revert an optimization that made a dumb assumption about when py:matches get stored..
experimental-match-fastpaths
|
Sun, 06 Apr 2008 21:23:13 +0000 |
cmlenz |
Partially revert [717] to retain compatibility with Python 2.3.
|
Sun, 06 Apr 2008 20:52:15 +0000 |
athomas |
Python 2.3 compatibility fixes for transformer and (specifically for 2.3.1) i18n.
|
Sun, 06 Apr 2008 20:39:48 +0000 |
cmlenz |
Fix Python 2.3 compatibility of HTMLSanitizer unit tests.
|
Sun, 06 Apr 2008 20:37:00 +0000 |
cmlenz |
Fix Python 2.3 compatibility issue with `py:for` unit tests.
|
Sun, 06 Apr 2008 20:33:31 +0000 |
cmlenz |
Fix Python 2.3 compatibility of HTMLSanitizer doctest.
|
Fri, 04 Apr 2008 17:29:53 +0000 |
aflett |
fix totally embarassing typo - ctxt not ctx
experimental-match-fastpaths
|
Fri, 04 Apr 2008 16:57:27 +0000 |
aflett |
further performance improvements to MatchSet functionality - factor out MatchSet's State so that we dont' have to keep copying over the state every time we create a new child MatchSet.
experimental-match-fastpaths
|
Mon, 31 Mar 2008 22:47:50 +0000 |
aflett |
merge in trunk up through r818 - fundamentally changed the way MatchSet works, but actually is more consistent now
experimental-match-fastpaths
|
Mon, 31 Mar 2008 09:30:26 +0000 |
cmlenz |
Improve error reporting when accessing an attribute in a Python expression raises an `AttributeError`. Closes #191. Thanks to Michele Cella for the patch!
|
Fri, 28 Mar 2008 17:05:04 +0000 |
aflett |
minor speed cleanups to match_order - use a dict rather than a list, because d[id(k)] is faster than l.index(k)
experimental-match-fastpaths
|
Fri, 28 Mar 2008 14:14:26 +0000 |
cmlenz |
Add option for unbuffered match template processing, which could cause excessive memory usage. Closes #190.
|
Thu, 27 Mar 2008 14:49:06 +0000 |
cmlenz |
Fix for caching in template loader for templates included by templates loaded from an absolute path. Closes #193. Thanks to Waldemar Kornewald for the test case.
|
Thu, 27 Mar 2008 14:45:11 +0000 |
cmlenz |
Fix for prefix-dispatched template loading. Closes #206. Thanks to Waldemar Kornewald for the patch.
|
Thu, 27 Mar 2008 14:12:13 +0000 |
cmlenz |
Fix for #205.
|
Wed, 26 Mar 2008 22:49:23 +0000 |
cmlenz |
More flexible template loader allowing for loading from package data and dispatching to different template directories based on path prefix. Can be easily extended for using custom template loading. Closes #182.
|
Wed, 26 Mar 2008 22:22:47 +0000 |
cmlenz |
The `TemplateLoader` class now provides an `instantiate()` method that can be overridden by subclasses to implement advanced template instantiation logic. Fixes #204.
|
Wed, 26 Mar 2008 22:10:36 +0000 |
cmlenz |
Match templates are now applied in a more controlled fashion: in the order they are declared in the template source, all match templates up to (and including) the matching template itself are applied to the matched content, whereas the match templates declared after the matching template are only applied to the generated content. Fixes #186. Many thanks to Matt Chaput for reporting the problem and providing a test case.
|
Mon, 17 Mar 2008 11:09:56 +0000 |
cmlenz |
Enable use of expressions in include directives of text templates. Closes #194. Thanks to Oliver Cope for reporting the issue.
|