comparison ChangeLog @ 609:237050080827

Add support for Python code blocks in text templates using the new syntax.
author cmlenz
date Mon, 27 Aug 2007 22:39:01 +0000
parents bc5faca93699
children 6a37018199fd
comparison
equal deleted inserted replaced
608:3ce3f8477996 609:237050080827
16 * Includes are now processed when the template is parsed if possible, but 16 * Includes are now processed when the template is parsed if possible, but
17 only if the template loader is not set to do automatic reloading. Included 17 only if the template loader is not set to do automatic reloading. Included
18 templates are basically inlined into the including template, which can 18 templates are basically inlined into the including template, which can
19 speed up rendering of that template a bit. 19 speed up rendering of that template a bit.
20 * Added new syntax for text templates, which is more powerful and flexible 20 * Added new syntax for text templates, which is more powerful and flexible
21 with respect to white-space and line breaks. The old syntax is still 21 with respect to white-space and line breaks. It also supports Python code
22 available and the default for now, but in a future release the new syntax 22 blocks. The old syntax is still available and the default for now, but in a
23 will become the default, and some time affter that the old syntax will be 23 future release the new syntax will become the default, and some time after
24 removed. 24 that the old syntax will be removed.
25 * Added support for passing optimization hints to `<py:match>` directives, 25 * Added support for passing optimization hints to `<py:match>` directives,
26 which can speed up match templates in many cases, for example when a match 26 which can speed up match templates in many cases, for example when a match
27 template should only be applied once to a stream, or when it should not be 27 template should only be applied once to a stream, or when it should not be
28 applied recursively. 28 applied recursively.
29 * Text templates now default to rendering as plain text; it is no longer 29 * Text templates now default to rendering as plain text; it is no longer
Copyright (C) 2012-2017 Edgewall Software