Mercurial > genshi > mirror
comparison ChangeLog @ 703:af57b12e3dd2 experimental-match-fastpaths
merge in trunk up through r818 - fundamentally changed the way MatchSet works, but actually is more consistent now
author | aflett |
---|---|
date | Mon, 31 Mar 2008 22:47:50 +0000 |
parents | 0653f6c1ffdf |
children | d143dd73789b |
comparison
equal
deleted
inserted
replaced
701:52a597419c0d | 703:af57b12e3dd2 |
---|---|
44 so that it is still possible to use the Genshi `escape` function even with | 44 so that it is still possible to use the Genshi `escape` function even with |
45 text templates. The old behavior is available via the `strip_markup` option | 45 text templates. The old behavior is available via the `strip_markup` option |
46 of the serializer (ticket #146). | 46 of the serializer (ticket #146). |
47 * Assigning to a variable named `data` in a Python code block no longer | 47 * Assigning to a variable named `data` in a Python code block no longer |
48 breaks context lookup. | 48 breaks context lookup. |
49 * The `Stream.render` now accepts an optional `out` parameter that can be | |
50 used to pass in a writable file-like object to use for assembling the | |
51 output, instead of building a big string and returning it. | |
52 * The XHTML serializer now strips `xml:space` attributes as they are only | |
53 allowed on very few tags. | |
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 | |
56 including) the matching template itself are applied to the matched content, | |
57 whereas the match templates declared after the matching template are only | |
58 applied to the generated content (ticket #186). | |
59 * The `TemplateLoader` class now provides an `instantiate()` method that can | |
60 be overridden by subclasses to implement advanced template instantiation | |
61 logic (ticket #204). | |
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 | |
64 name of the requested template file, and should return a file-like object | |
65 and some metadata. New load functions are supplied for loading from egg | |
66 package data, and loading from different loaders depending on the path | |
67 prefix of the requested filename (ticket #182). | |
68 * Match templates can now be processed without keeping the complete matched | |
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 | |
71 the `<py:match>` directive. | |
72 * Improve error reporting when accessing an attribute in a Python expression | |
73 raises an `AttributeError` (ticket #191). | |
49 | 74 |
50 | 75 |
51 Version 0.4.4 | 76 Version 0.4.4 |
52 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ | 77 http://svn.edgewall.org/repos/genshi/tags/0.4.4/ |
53 (Aug 14, 2007, from branches/stable/0.4.x) | 78 (Aug 14, 2007, from branches/stable/0.4.x) |