Mercurial > genshi > mirror
annotate ChangeLog @ 230:84168828b074 trunk
Renamed Markup to Genshi in repository.
author | cmlenz |
---|---|
date | Mon, 11 Sep 2006 15:07:07 +0000 |
parents | 96a7e5011c69 |
children | 39c424b80edd |
rev | line source |
---|---|
192
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
1 Version 0.3 |
230 | 2 http://svn.edgewall.org/repos/genshi/tags/0.3.0/ |
192
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
3 (?, from branches/stable/0.3.x) |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
4 |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
5 * Expression evaluation now differentiates between undefined variables and |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
6 variables that are defined but set to `None`. This also means that local |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
7 variables can override built-ins even if the local variable are set to |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
8 `None` (ticket #36). |
199
71ce4b5335ba
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
9 * The plugin implementation now makes more functions available for use inside |
71ce4b5335ba
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
10 templates: XML(), HTML(), defined(), and value-of(). These are mostly for |
71ce4b5335ba
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
11 migration from Kid. |
192
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
12 * The parsing of `py:with` directives has been improved: you can now assign |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
13 to multiple names, and semicolons inside string literals are treated as |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
14 expected. |
199
71ce4b5335ba
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
cmlenz
parents:
192
diff
changeset
|
15 * Generator expressions can now be used in template expressions (ticket #16). |
200
5861f4446c26
Add serialization to plain text, based on cboos' patch. Closes #41.
cmlenz
parents:
199
diff
changeset
|
16 * Added serialization to plain text (ticket #41). |
218 | 17 * Calling functions from template expressions with *args and/or **kwargs |
18 now works correctly (ticket #42). | |
19 * The `TemplateLoader` class and the `Template` instances that it manages are | |
20 now thread-safe, as they no longer keep any state related to the current | |
21 processing context. | |
22 * Stream filters and serializers can now be applied using the "pipe" (bitwise | |
23 or) operator "|". | |
24 * The execution of named template functions (`py:def`) no longer silently | |
25 swallows TypeError exceptions (ticket #44). | |
26 * The XML Parser now correctly handles unicode input (ticket #43). | |
27 * HTML entities can now be used in templates without having to declare an HTML | |
28 document type. | |
29 * Error reporting on undefined entities has been fixed. | |
30 * Fix traversal of substreams by XPath expressions. For example, the path | |
31 '*/*' no longer matches non-immediate child elements, and '@*' no longer | |
32 matches the attributes of descendants. | |
33 * Fixes for `py:match` which would get confused when it should be applied | |
34 to multiple elements (ticket #49). | |
224
90d62225f411
Implement support for namespace prefixes in XPath expressions.
cmlenz
parents:
218
diff
changeset
|
35 * Using namespace prefixes in XPath expressions is now supported. |
227
96a7e5011c69
Use list comprehension instead of `map()` in the AST transformer.
cmlenz
parents:
224
diff
changeset
|
36 * Expressions now correctly handle slices (ticket #51). |
192
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
37 |
b64e36bc1100
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
cmlenz
parents:
185
diff
changeset
|
38 |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
39 Version 0.2 |
230 | 40 http://svn.edgewall.org/repos/genshi/tags/0.2.0/ |
184
181d292eafa2
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
41 (Aug 22 2006, from branches/stable/0.2.x) |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
42 |
153 | 43 * XPath syntax errors now contain position info (ticket #20). |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
44 * Errors in expression evaluation now contain the correct line number in the |
153 | 45 template (ticket #22). |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
46 * <script> and <style> element contents are no longer escaped when using HTML |
153 | 47 serialization (ticket #24). |
48 * In some cases expressions in templates did not get interpolated (ticket | |
49 #26). | |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
50 * CDATA sections are now passed through the pipeline and serialized correctly. |
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
51 That allows using <script> or <style> elements in XHTML output that is still |
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
52 compatible with HTML user agents. |
159 | 53 * The XHTML serializer now correctly handles elements in foreign namespaces |
54 (such as SVG or MathML). | |
153 | 55 * Fixed relative includes in templates on Windows (ticket #27). |
160 | 56 * Output can be encoded using legacy codecs such as ISO-8859-1. Any character |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
57 not representable in the chosen encoding gets replaced by the corresponding |
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
58 XML character reference. |
156 | 59 * String literals in XPath expressions that contain spaces are now parsed |
60 as expected. | |
61 * Added support for the XPath functions boolean(), ceiling(), concat(), | |
162
456039594db9
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
62 contains(), false(), floor(), normalize-space(), number(), round(), |
456039594db9
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
63 starts-with(), string-length(), substring(), substring-after(), |
456039594db9
Implement the XPath relational operators and the `round()` function.
cmlenz
parents:
160
diff
changeset
|
64 substring-before(), translate(), and true(). |
168 | 65 * Non-ASCII characters in expressions should now be handled correctly (ticket |
66 #29). | |
67 * Default values for arguments of template functions now also work with | |
68 constants and complex expressions (they only worked for string or number | |
69 literals before). | |
181
e103b75a96ce
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
cmlenz
parents:
169
diff
changeset
|
70 * XPath expressions in now support XPath variables ($var) in predicates |
e103b75a96ce
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
cmlenz
parents:
169
diff
changeset
|
71 (ticket #31). |
184
181d292eafa2
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
72 * Expressions in templates can now span multiple lines if they are enclosed |
181d292eafa2
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
cmlenz
parents:
181
diff
changeset
|
73 in curly braces. |
185
95c3813a00de
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
cmlenz
parents:
184
diff
changeset
|
74 * py:def macros can now be invoked from within expressions inside attribute |
95c3813a00de
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
cmlenz
parents:
184
diff
changeset
|
75 values (ticket #34). |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
76 |
169 | 77 |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
78 Version 0.1 |
230 | 79 http://svn.edgewall.org/repos/genshi/tags/0.1.0/ |
148
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
80 (Aug 3 2006, from branches/stable/0.1.x) |
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
81 |
dcc9dc25bc59
Added changelog file, plus some README and setup tweaks.
cmlenz
parents:
diff
changeset
|
82 * First public release |