Mercurial > genshi > mirror
comparison ChangeLog @ 718:d143dd73789b experimental-match-fastpaths
update to trunk through r833
author | aflett |
---|---|
date | Tue, 08 Apr 2008 23:45:32 +0000 |
parents | af57b12e3dd2 |
children | ea46fb523485 |
comparison
equal
deleted
inserted
replaced
717:0e8b92905741 | 718:d143dd73789b |
---|---|
54 * Match templates are now applied in a more controlled fashion: in the order | 54 * Match templates are now applied in a more controlled fashion: in the order |
55 they are declared in the template source, all match templates up to (and | 55 they are declared in the template source, all match templates up to (and |
56 including) the matching template itself are applied to the matched content, | 56 including) the matching template itself are applied to the matched content, |
57 whereas the match templates declared after the matching template are only | 57 whereas the match templates declared after the matching template are only |
58 applied to the generated content (ticket #186). | 58 applied to the generated content (ticket #186). |
59 * The `TemplateLoader` class now provides an `instantiate()` method that can | 59 * The `TemplateLoader` class now provides an `_instantiate()` method that can |
60 be overridden by subclasses to implement advanced template instantiation | 60 be overridden by subclasses to implement advanced template instantiation |
61 logic (ticket #204). | 61 logic (ticket #204). |
62 * The search path of the `TemplateLoader` class can now contain ''load | 62 * The search path of the `TemplateLoader` class can now contain ''load |
63 functions'' in addition to path strings. A load function is passed the | 63 functions'' in addition to path strings. A load function is passed the |
64 name of the requested template file, and should return a file-like object | 64 name of the requested template file, and should return a file-like object |
69 content in memory, which could cause excessive memory use on long pages. | 69 content in memory, which could cause excessive memory use on long pages. |
70 The buffering can be disabled using the new `buffer` optimization hint on | 70 The buffering can be disabled using the new `buffer` optimization hint on |
71 the `<py:match>` directive. | 71 the `<py:match>` directive. |
72 * Improve error reporting when accessing an attribute in a Python expression | 72 * Improve error reporting when accessing an attribute in a Python expression |
73 raises an `AttributeError` (ticket #191). | 73 raises an `AttributeError` (ticket #191). |
74 * The `Markup` class now supports mappings for right hand of the `%` (modulo) | |
75 operator in the same way the Python string classes do, except that the | |
76 substituted values are escape. Also, the special constructor which took | |
77 positional arguments that would be substituted was removed. Thus the | |
78 `Markup` class now supports the same arguments as that of its `unicode` | |
79 base class (ticket #211). | |
80 * The `Template` class and its subclasses, as well as the interpolation API, | |
81 now take an `filepath` parameter instead of `basedir` (ticket #207). | |
74 | 82 |
75 | 83 |
76 Version 0.4.4 | 84 Version 0.4.4 |
77 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ | 85 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ |
78 (Aug 14, 2007, from branches/stable/0.4.x) | 86 (Aug 14, 2007, from branches/stable/0.4.x) |