Mercurial > genshi > genshi-test
comparison ChangeLog @ 500:0742f421caba experimental-inline
Merged revisions 487-603 via svnmerge from
http://svn.edgewall.org/repos/genshi/trunk
author | cmlenz |
---|---|
date | Fri, 01 Jun 2007 17:21:47 +0000 |
parents | 55cf81951686 |
children | 1837f39efd6f |
comparison
equal
deleted
inserted
replaced
499:869b7885a516 | 500:0742f421caba |
---|---|
1 Version 0.5 | |
2 http://svn.edgewall.org/repos/genshi/tags/0.5.0/ | |
3 (?, from branches/stable/0.5.x) | |
4 | |
5 * Added #include directive for text templates (ticket #115). | |
6 | |
7 | |
8 Version 0.4.2 | |
9 http://svn.edgewall.org/repos/genshi/tags/0.4.2/ | |
10 (?, from branches/stable/0.4.x) | |
11 | |
12 * The `doctype` parameter of the markup serializers now also accepts the "name" | |
13 of the doctype as string, in addition to the `(name, pubid, sysid)` tuple. | |
14 * The I18n filter was not replacing the original attributes with the | |
15 translation, but instead adding a second attribute with the same name. | |
16 | |
17 | |
18 Version 0.4.1 | |
19 http://svn.edgewall.org/repos/genshi/tags/0.4.1/ | |
20 (May 21 2007, from branches/stable/0.4.x) | |
21 | |
22 * Fix incorrect reference to translation function in the I18N filter. | |
23 * The `ET()` function now correctly handles attributes with a namespace. | |
24 * XML declarations are now processed internally, as well as written to the | |
25 output when XML serialization is used (ticket #111). | |
26 * Added the functions `encode()` and `get_serializer()` to the `genshi.output` | |
27 module, which provide a lower-level API to the functionality previously only | |
28 available through `Stream.render()` and `Stream.serialize()`. | |
29 * The `DocType` class now has a `get(name)` function that returns a `DOCTYPE` | |
30 tuple for a given string. | |
31 * Added frameset variants to the `DocType` constants for HTML 4.01 and XHTML | |
32 1.0. | |
33 * Improved I18n extraction for pluralizable messages: for any translation | |
34 function with multiple string arguments (such as ``ngettext``), a single | |
35 item with a tuple of strings is yielded, instead an item for each string | |
36 argument. | |
37 * The `HTMLFormFiller` stream filter no longer alters form elements for which | |
38 the data element contains no corresponding item. | |
39 * Code in `<?python ?>` processing instructions no longer gets the special | |
40 treatment as Python code in template expressions, i.e. item and attribute | |
41 access are no longer interchangeable (which was broken in a number of ways | |
42 anyway, see ticket #113). This change does not affect expressions. | |
43 * Numerous fixes for the execution of Python code in `<?python ?>` processing | |
44 instructions (tickets #113 and #114). | |
45 * The `py:def` (and `#def`) directive now supports "star args" (i.e. `*args` | |
46 and `**kwargs`) in the function declaration (ticket #116). | |
47 | |
48 | |
1 Version 0.4 | 49 Version 0.4 |
2 http://svn.edgewall.org/repos/genshi/tags/0.4.0/ | 50 http://svn.edgewall.org/repos/genshi/tags/0.4.0/ |
3 (?, from branches/stable/0.4.x) | 51 (Apr 16 2007, from branches/stable/0.4.x) |
4 | 52 |
5 * New example applications for CherryPy and web.py. | 53 * New example applications for CherryPy and web.py. |
6 * The template loader now uses a LRU cache to limit the number of cached | 54 * The template loader now uses a LRU cache to limit the number of cached |
7 templates to a configurable maximum. Also, a race condition in the template | 55 templates to a configurable maximum. Also, a race condition in the template |
8 loader was fixed by adding locking. | 56 loader was fixed by adding locking. |
28 * Instances of the `genshi.core.Attrs` class are now immutable (they are | 76 * Instances of the `genshi.core.Attrs` class are now immutable (they are |
29 subclasses of `tuple` instead of `list`). | 77 subclasses of `tuple` instead of `list`). |
30 * `MarkupTemplate`s can now be instantiated from markup streams, in addition | 78 * `MarkupTemplate`s can now be instantiated from markup streams, in addition |
31 to strings and file-like objects (ticket #69). | 79 to strings and file-like objects (ticket #69). |
32 * Improve handling of incorrectly nested tags in the HTML parser. | 80 * Improve handling of incorrectly nested tags in the HTML parser. |
33 * Template includes can you be nested inside fallback content. | 81 * Template includes can now be nested inside fallback content. |
82 * Expressions can now contain dict literals (ticket #37). | |
83 * It is now possible to have one or more escaped dollar signs in front of a | |
84 full expression (ticket #92). | |
85 * The `Markup` class is now available by default in template expressions | |
86 (ticket #67). | |
87 * The handling of namespace declarations in XML/XHTML output has been improved. | |
88 * The `Attrs` class no longer automatically wraps all attribute names in | |
89 `QName` objects. This is now the responsibility of whoever is instantiating | |
90 `Attrs` objects (for example, stream filters and generators). | |
91 * Python code blocks are now supported using the `<?python ?>` processing | |
92 instruction (ticket #84). | |
93 * The way errors in template expressions are handled can now be configured. The | |
94 option `LenientLookup` provides the same forgiving mode used in previous | |
95 Genshi versions, while `StrictLookup` raises exceptions when undefined | |
96 variables or members are accessed. The lenient mode is still the default in | |
97 this version, but that may change in the future. (ticket #88) | |
98 * If a variable is not necessarily defined at the top level of the template | |
99 data, the new built-in functions `defined(key)` and `value_of(key, default)` | |
100 can be used so that the template also works in strict lookup mode. These | |
101 functions were previously only available when using Genshi via the template | |
102 engine plugin (for compatibility with Kid). | |
103 * `style` attributes are no longer allowed by the `HTMLSanitizer` by default. | |
104 If they are explicitly added to the set of safe attributes, any unicode | |
105 escapes in the attribute value are now handled properly. | |
106 * Namespace declarations on conditional elements (for example using a `py:if` | |
107 directive`) are no longer moved to the following element when the element | |
108 originally carrying the declaration is removed from the stream (ticket #107). | |
109 * Added basic built-in support for internationalizing templates by providing | |
110 a new `Translator` class that can both extract localizable strings from a | |
111 stream, and replace those strings with their localizations at render time. | |
112 The code for this was largely taken from previous work done by Matt Good | |
113 and David Fraser. | |
34 | 114 |
35 | 115 |
36 Version 0.3.6 | 116 Version 0.3.6 |
37 http://svn.edgewall.org/repos/genshi/tags/0.3.6/ | 117 http://svn.edgewall.org/repos/genshi/tags/0.3.6/ |
38 (Dec 11 2006, from branches/stable/0.3.x) | 118 (Dec 11 2006, from branches/stable/0.3.x) |