Mercurial > genshi > genshi-test
annotate ChangeLog @ 390:fcf2a0e08d44 stable-0.3.x
Fix test breakage introduced in [471].
author | cmlenz |
---|---|
date | Mon, 11 Dec 2006 12:09:18 +0000 |
parents | 676b78a0c5a0 |
children |
rev | line source |
---|---|
389 | 1 Version 0.3.6 |
2 http://svn.edgewall.org/repos/genshi/tags/0.3.6/ | |
3 (Dec 11 2006, from branches/stable/0.3.x) | |
4 | |
5 * The builder API now accepts streams as children of elements and fragments. | |
6 | |
7 | |
372 | 8 Version 0.3.5 |
389 | 9 http://svn.edgewall.org/repos/genshi/tags/0.3.5/ |
372 | 10 (Nov 22 2006, from branches/stable/0.3.x) |
11 | |
12 * Fix XPath traversal in match templates. Previously, `div/p` would be treated | |
13 the same as `div//p`, i.e. it would match all descendants and not just the | |
14 immediate children. | |
15 * Preserve whitespace in HTML `<pre>` elements also when they contain child | |
16 elements. | |
17 * Match templates no longer match their own output (ticket #77). | |
18 * Blank lines before directives in text templates are now preserved as | |
19 expected (ticket #62). | |
20 | |
21 | |
318 | 22 Version 0.3.4 |
23 http://svn.edgewall.org/repos/genshi/tags/0.3.4/ | |
324 | 24 (Nov 2 2006, from branches/stable/0.3.x) |
318 | 25 |
26 * The encoding of HTML and XML files, as well as markup and text templates, | |
27 can now be specified. Also, the encoding specified in XML declarations is | |
28 now respected unless an expiclit encoding is requested. | |
29 * Expressions used as arguments for `py:with`, `py:def`, and `py:for` | |
30 directives can now contain non-ASCII strings. | |
31 | |
32 | |
289 | 33 Version 0.3.3 |
34 http://svn.edgewall.org/repos/genshi/tags/0.3.3/ | |
303 | 35 (Oct 16 2006, from branches/stable/0.3.x) |
289 | 36 |
37 * Fixed bug introduced in 0.3.2 that broke the parsing of templates which | |
38 declare the same namespace more than once in a nested fashion. | |
295 | 39 * Fixed the parsing of HTML entity references inside attribute values, both |
40 in the `XMLParser` and the `HTMLParser` classes. | |
303 | 41 * Some changes to usage of absolute vs. relative template paths to ensure that |
42 the filenamed-keyed cache employed by the TemplateLoader doesn't mix up | |
43 templates with the same name, but from different subdirectories. | |
289 | 44 |
45 | |
286 | 46 Version 0.3.2 |
47 http://svn.edgewall.org/repos/genshi/tags/0.3.2/ | |
48 (Oct 12 2006, from branches/stable/0.3.x) | |
49 | |
50 * Exceptions from templates now contain the absolute path to the template file | |
51 when a search path is used. This enables tracebacks to display the line in | |
52 question. | |
53 * The template engine plugin now provides three different types: "genshi" and | |
54 "genshi-markup" map to markup templates, while "genshi-text" maps to text | |
55 templates. | |
56 * Fixed the namespace context used by XPath patterns in py:match templates. | |
57 The were erroneously using the namespace context of the elements being | |
58 matched, where they should rather use the context in which they were | |
59 defined. | |
60 * The contents of `<script>` and `<style>` elements are no longer escaped when | |
61 serializing to HTML but declaring the XHTML namespace in the template. | |
62 * Improved error message raised when using the `py:for` directive on an object | |
63 that is not iterable (ticket #60). | |
64 * Fixed the XPath function `starts-with()` which was always returning true | |
65 (ticket #61). | |
66 | |
67 | |
261 | 68 Version 0.3.1 |
69 http://svn.edgewall.org/repos/genshi/tags/0.3.1/ | |
263 | 70 (Sep 22 2006, from branches/stable/0.3.x) |
261 | 71 |
72 * Includes and user-defined filters were not getting the correct context data | |
73 when used inside a match template (ticket #56). | |
74 * XPath patterns using the union operator (`|`) were returning only partial | |
75 results in some cases. | |
76 | |
77 | |
192
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
78 Version 0.3 |
230 | 79 http://svn.edgewall.org/repos/genshi/tags/0.3.0/ |
253 | 80 (Sep 17 2006, from branches/stable/0.3.x) |
192
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
81 |
234 | 82 * The project name was changed from "Markup" to "Genshi". See UPGRADE.txt |
83 for upgrade instructions. | |
192
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
84 * Expression evaluation now differentiates between undefined variables and |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
85 variables that are defined but set to `None`. This also means that local |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
86 variables can override built-ins even if the local variable are set to |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
87 `None` (ticket #36). |
199
58284b6b0009
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
88 * The plugin implementation now makes more functions available for use inside |
58284b6b0009
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
89 templates: XML(), HTML(), defined(), and value-of(). These are mostly for |
58284b6b0009
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
90 migration from Kid. |
192
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
91 * The parsing of `py:with` directives has been improved: you can now assign |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
92 to multiple names, and semicolons inside string literals are treated as |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
93 expected. |
199
58284b6b0009
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
94 * Generator expressions can now be used in template expressions (ticket #16). |
200
50eab0469148
Add serialization to plain text, based on cboos' patch. Closes #41.
cmlenz
parents:
199
diff
changeset
|
95 * Added serialization to plain text (ticket #41). |
218 | 96 * Calling functions from template expressions with *args and/or **kwargs |
97 now works correctly (ticket #42). | |
98 * The `TemplateLoader` class and the `Template` instances that it manages are | |
99 now thread-safe, as they no longer keep any state related to the current | |
100 processing context. | |
101 * Stream filters and serializers can now be applied using the "pipe" (bitwise | |
102 or) operator "|". | |
103 * The execution of named template functions (`py:def`) no longer silently | |
104 swallows TypeError exceptions (ticket #44). | |
105 * The XML Parser now correctly handles unicode input (ticket #43). | |
106 * HTML entities can now be used in templates without having to declare an HTML | |
107 document type. | |
108 * Error reporting on undefined entities has been fixed. | |
109 * Fix traversal of substreams by XPath expressions. For example, the path | |
110 '*/*' no longer matches non-immediate child elements, and '@*' no longer | |
111 matches the attributes of descendants. | |
112 * Fixes for `py:match` which would get confused when it should be applied | |
113 to multiple elements (ticket #49). | |
224
e4dad1145f84
Implement support for namespace prefixes in XPath expressions.
cmlenz
parents:
218
diff
changeset
|
114 * Using namespace prefixes in XPath expressions is now supported. |
227
98b8e1a92df8
Use list comprehension instead of `map()` in the AST transformer.
cmlenz
parents:
224
diff
changeset
|
115 * Expressions now correctly handle slices (ticket #51). |
234 | 116 * A simple text-based template language is now included for generating |
117 plain text output (ticket #47). | |
192
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
118 |
cda3bdfc19ed
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
119 |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
120 Version 0.2 |
230 | 121 http://svn.edgewall.org/repos/genshi/tags/0.2.0/ |
184
e27a48802987
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
122 (Aug 22 2006, from branches/stable/0.2.x) |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
123 |
153 | 124 * XPath syntax errors now contain position info (ticket #20). |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
125 * Errors in expression evaluation now contain the correct line number in the |
153 | 126 template (ticket #22). |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
127 * <script> and <style> element contents are no longer escaped when using HTML |
153 | 128 serialization (ticket #24). |
129 * In some cases expressions in templates did not get interpolated (ticket | |
130 #26). | |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
131 * CDATA sections are now passed through the pipeline and serialized correctly. |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
132 That allows using <script> or <style> elements in XHTML output that is still |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
133 compatible with HTML user agents. |
159 | 134 * The XHTML serializer now correctly handles elements in foreign namespaces |
135 (such as SVG or MathML). | |
153 | 136 * Fixed relative includes in templates on Windows (ticket #27). |
160 | 137 * Output can be encoded using legacy codecs such as ISO-8859-1. Any character |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
138 not representable in the chosen encoding gets replaced by the corresponding |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
139 XML character reference. |
156 | 140 * String literals in XPath expressions that contain spaces are now parsed |
141 as expected. | |
142 * Added support for the XPath functions boolean(), ceiling(), concat(), | |
162
f767cf98e3e3
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
143 contains(), false(), floor(), normalize-space(), number(), round(), |
f767cf98e3e3
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
144 starts-with(), string-length(), substring(), substring-after(), |
f767cf98e3e3
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
145 substring-before(), translate(), and true(). |
168 | 146 * Non-ASCII characters in expressions should now be handled correctly (ticket |
147 #29). | |
148 * Default values for arguments of template functions now also work with | |
149 constants and complex expressions (they only worked for string or number | |
150 literals before). | |
181
d07ce6c1dbbe
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
cmlenz
parents:
169
diff
changeset
|
151 * XPath expressions in now support XPath variables ($var) in predicates |
d07ce6c1dbbe
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
cmlenz
parents:
169
diff
changeset
|
152 (ticket #31). |
184
e27a48802987
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
153 * Expressions in templates can now span multiple lines if they are enclosed |
e27a48802987
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
154 in curly braces. |
185
8e5a3048b359
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
cmlenz
parents:
184
diff
changeset
|
155 * py:def macros can now be invoked from within expressions inside attribute |
8e5a3048b359
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
cmlenz
parents:
184
diff
changeset
|
156 values (ticket #34). |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
157 |
169 | 158 |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
159 Version 0.1 |
230 | 160 http://svn.edgewall.org/repos/genshi/tags/0.1.0/ |
148
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
161 (Aug 3 2006, from branches/stable/0.1.x) |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
162 |
a0a52cf4e4de
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
163 * First public release |