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!
trunk
|
Fri, 28 Mar 2008 14:14:26 +0000 |
cmlenz |
Add option for unbuffered match template processing, which could cause excessive memory usage. Closes #190.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Wed, 12 Mar 2008 20:48:52 +0000 |
cmlenz |
The XHTML serializer now strips `xml:space` attributes as they are only allowed on very few tags.
trunk
|
Wed, 12 Mar 2008 20:46:34 +0000 |
cmlenz |
The `Stream.render` now accepts an optional `out` parameter that can be used to pass in a writable file-like object to use for assembling the output, instead of building a big string and returning it.
trunk
|
Wed, 06 Feb 2008 12:18:02 +0000 |
cmlenz |
Assigning to a variable named `data` in a Python code block no longer breaks context lookup. We now use the name `__data__` for internal data, hoping that that name is not as commonly used in templates.
trunk
|
Thu, 29 Nov 2007 18:07:32 +0000 |
aronacher |
merged trunk into sandbox branch
experimental-sandboxed
|
Thu, 22 Nov 2007 22:07:15 +0000 |
cmlenz |
The `TextSerializer` class no longer strips all markup in text by default, so that it is still possible to use the Genshi `escape` function even with text templates. The old behavior is available via the `strip_markup` option of the serializer. Closes #146.
trunk
|
Thu, 22 Nov 2007 20:36:00 +0000 |
cmlenz |
Allow use of py:replace as element. Closes #144.
trunk
|
Thu, 22 Nov 2007 19:43:05 +0000 |
cmlenz |
The `striptags` function now also removes HTML/XML-style comments. Closes #150. Thanks to Armin Ronacher for the report and suggested fix.
trunk
|
Thu, 08 Nov 2007 18:27:47 +0000 |
cmlenz |
The template engine plugin no longer adds the `default_doctype` when the `fragment` parameter is `True`. Thanks to dbrattli for the patch!
trunk
|
Mon, 08 Oct 2007 08:04:58 +0000 |
cmlenz |
Code blocks in match templates are now executed. Closes #155. Many thanks to Andrew Sutherland for the patch!
trunk
|
Tue, 04 Sep 2007 11:51:58 +0000 |
cmlenz |
Revert second part of [726] (error on includes when no loader specified), which broke I18n extraction via the Babel plugin.
trunk
|
Mon, 27 Aug 2007 23:20:47 +0000 |
cmlenz |
* XInclude elements in markup templates now support the `parse` attribute; when set to "xml" (the default), the include is processed as before, but when set to "text", the included template is parsed as a text template using the new syntax (ticket #101).
trunk
|
Mon, 27 Aug 2007 22:39:01 +0000 |
cmlenz |
Add support for Python code blocks in text templates using the new syntax.
trunk
|
Mon, 27 Aug 2007 19:04:20 +0000 |
cmlenz |
Text templates now default to rendering as plain text; it is no longer necessary to explicitly specify the "text" method to the `render()` or `serialize()` method of the generated markup stream. See tickets #62 and #118.
trunk
|
Thu, 23 Aug 2007 11:57:26 +0000 |
cmlenz |
Added information about [718] to the ChangeLog.
trunk
|
Tue, 14 Aug 2007 08:58:56 +0000 |
cmlenz |
Ported [710] to 0.4.x branch.
stable-0.4.x 0.4.4
|
Tue, 14 Aug 2007 08:55:43 +0000 |
cmlenz |
Follow-up to [708]. The added `extract_text` option wasn't actually being handled by the Babel extraction plugin.
trunk
|
Mon, 13 Aug 2007 23:04:50 +0000 |
cmlenz |
Ported [708] to 0.4.x branch.
stable-0.4.x
|
Mon, 13 Aug 2007 23:02:46 +0000 |
cmlenz |
Add option to I18n filter to only extract strings in gettext function calls.
trunk
|
Mon, 13 Aug 2007 12:40:56 +0000 |
cmlenz |
Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
trunk
|
Fri, 10 Aug 2007 09:52:13 +0000 |
cmlenz |
Ported [704] to 0.4.x branch.
stable-0.4.x
|
Fri, 10 Aug 2007 09:44:00 +0000 |
cmlenz |
Fix includes so that they again raise an exception when the included template is not found and no fallback has been provided.
trunk
|
Thu, 09 Aug 2007 14:59:52 +0000 |
cmlenz |
Ported [702] to 0.4.x branch.
stable-0.4.x
|
Thu, 09 Aug 2007 14:58:59 +0000 |
cmlenz |
Updated ChangeLog for [700].
trunk
|
Tue, 31 Jul 2007 21:54:58 +0000 |
cmlenz |
Ported [693:694] to 0.4.x branch.
stable-0.4.x
|
Tue, 31 Jul 2007 21:40:51 +0000 |
cmlenz |
Fix for augmented assignments to local variables. Thanks to Erik Bray for reporting the problem.
trunk
|