Mon, 09 Jun 2008 16:20:29 +0000 |
cmlenz |
Document dropping of Python 2.3 compat.
|
Mon, 09 Jun 2008 09:50:03 +0000 |
cmlenz |
Preparing for [milestone:0.5] release.
|
Fri, 06 Jun 2008 15:52:33 +0000 |
cmlenz |
Another Python 2.3 fix in the wake of #221.
|
Sat, 31 May 2008 20:48:43 +0000 |
cmlenz |
* Add XHTML 1.1 doctype (closes #228).
|
Fri, 11 Apr 2008 08:42:11 +0000 |
cmlenz |
newctxt branch: Merged revisions [678:835] via svnmerge from [source:trunk].
experimental-newctxt
|
Tue, 08 Apr 2008 23:45:32 +0000 |
aflett |
update to trunk through r833
experimental-match-fastpaths
|
Tue, 08 Apr 2008 19:49:39 +0000 |
cmlenz |
The `Template` class and its subclasses, as well as the interpolation API, now take an `filepath` parameter instead of `basedir`. Closes #207. Thanks to Waldemar Kornewald for the patch.
|
Tue, 08 Apr 2008 18:18:18 +0000 |
cmlenz |
The `Markup` class now supports mappings for right hand of the `%` (modulo) operator in the same way the Python string classes do, except that the substituted values are escape. Also, the special constructor which took positional arguments that would be substituted was removed. Thus the `Markup` class now supports the same arguments as that of its `unicode` base class. Closes #211. Many thanks to Christian Boos for the patch!
|
Mon, 31 Mar 2008 22:47:50 +0000 |
aflett |
merge in trunk up through r818 - fundamentally changed the way MatchSet works, but actually is more consistent now
experimental-match-fastpaths
|
Mon, 31 Mar 2008 09:30:26 +0000 |
cmlenz |
Improve error reporting when accessing an attribute in a Python expression raises an `AttributeError`. Closes #191. Thanks to Michele Cella for the patch!
|
Fri, 28 Mar 2008 14:14:26 +0000 |
cmlenz |
Add option for unbuffered match template processing, which could cause excessive memory usage. Closes #190.
|
Wed, 26 Mar 2008 22:49:23 +0000 |
cmlenz |
More flexible template loader allowing for loading from package data and dispatching to different template directories based on path prefix. Can be easily extended for using custom template loading. Closes #182.
|
Wed, 26 Mar 2008 22:22:47 +0000 |
cmlenz |
The `TemplateLoader` class now provides an `instantiate()` method that can be overridden by subclasses to implement advanced template instantiation logic. Fixes #204.
|
Wed, 26 Mar 2008 22:10:36 +0000 |
cmlenz |
Match templates are now applied in a more controlled fashion: in the order they are declared in the template source, all match templates up to (and including) the matching template itself are applied to the matched content, whereas the match templates declared after the matching template are only applied to the generated content. Fixes #186. Many thanks to Matt Chaput for reporting the problem and providing a test case.
|
Wed, 12 Mar 2008 20:48:52 +0000 |
cmlenz |
The XHTML serializer now strips `xml:space` attributes as they are only allowed on very few tags.
|
Wed, 12 Mar 2008 20:46:34 +0000 |
cmlenz |
The `Stream.render` now accepts an optional `out` parameter that can be used to pass in a writable file-like object to use for assembling the output, instead of building a big string and returning it.
|
Wed, 06 Feb 2008 12:18:02 +0000 |
cmlenz |
Assigning to a variable named `data` in a Python code block no longer breaks context lookup. We now use the name `__data__` for internal data, hoping that that name is not as commonly used in templates.
|
Thu, 29 Nov 2007 18:07:32 +0000 |
aronacher |
merged trunk into sandbox branch
experimental-sandboxed
|
Thu, 22 Nov 2007 22:07:15 +0000 |
cmlenz |
The `TextSerializer` class no longer strips all markup in text by default, so that it is still possible to use the Genshi `escape` function even with text templates. The old behavior is available via the `strip_markup` option of the serializer. Closes #146.
|
Thu, 22 Nov 2007 20:36:00 +0000 |
cmlenz |
Allow use of py:replace as element. Closes #144.
|
Thu, 22 Nov 2007 19:43:05 +0000 |
cmlenz |
The `striptags` function now also removes HTML/XML-style comments. Closes #150. Thanks to Armin Ronacher for the report and suggested fix.
|
Thu, 08 Nov 2007 18:27:47 +0000 |
cmlenz |
The template engine plugin no longer adds the `default_doctype` when the `fragment` parameter is `True`. Thanks to dbrattli for the patch!
|
Mon, 08 Oct 2007 08:04:58 +0000 |
cmlenz |
Code blocks in match templates are now executed. Closes #155. Many thanks to Andrew Sutherland for the patch!
|
Tue, 04 Sep 2007 11:51:58 +0000 |
cmlenz |
Revert second part of [726] (error on includes when no loader specified), which broke I18n extraction via the Babel plugin.
|
Mon, 27 Aug 2007 23:20:47 +0000 |
cmlenz |
* XInclude elements in markup templates now support the `parse` attribute; when set to "xml" (the default), the include is processed as before, but when set to "text", the included template is parsed as a text template using the new syntax (ticket #101).
|
Mon, 27 Aug 2007 22:39:01 +0000 |
cmlenz |
Add support for Python code blocks in text templates using the new syntax.
|
Mon, 27 Aug 2007 19:04:20 +0000 |
cmlenz |
Text templates now default to rendering as plain text; it is no longer necessary to explicitly specify the "text" method to the `render()` or `serialize()` method of the generated markup stream. See tickets #62 and #118.
|
Thu, 23 Aug 2007 11:57:26 +0000 |
cmlenz |
Added information about [718] to the ChangeLog.
|
Tue, 14 Aug 2007 08:58:56 +0000 |
cmlenz |
Ported [710] to 0.4.x branch.
stable-0.4.x 0.4.4
|
Tue, 14 Aug 2007 08:55:43 +0000 |
cmlenz |
Follow-up to [708]. The added `extract_text` option wasn't actually being handled by the Babel extraction plugin.
|
Mon, 13 Aug 2007 23:04:50 +0000 |
cmlenz |
Ported [708] to 0.4.x branch.
stable-0.4.x
|
Mon, 13 Aug 2007 23:02:46 +0000 |
cmlenz |
Add option to I18n filter to only extract strings in gettext function calls.
|
Mon, 13 Aug 2007 12:40:56 +0000 |
cmlenz |
Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
|
Fri, 10 Aug 2007 09:52:13 +0000 |
cmlenz |
Ported [704] to 0.4.x branch.
stable-0.4.x
|
Fri, 10 Aug 2007 09:44:00 +0000 |
cmlenz |
Fix includes so that they again raise an exception when the included template is not found and no fallback has been provided.
|
Thu, 09 Aug 2007 14:59:52 +0000 |
cmlenz |
Ported [702] to 0.4.x branch.
stable-0.4.x
|
Thu, 09 Aug 2007 14:58:59 +0000 |
cmlenz |
Updated ChangeLog for [700].
|
Tue, 31 Jul 2007 21:54:58 +0000 |
cmlenz |
Ported [693:694] to 0.4.x branch.
stable-0.4.x
|
Tue, 31 Jul 2007 21:40:51 +0000 |
cmlenz |
Fix for augmented assignments to local variables. Thanks to Erik Bray for reporting the problem.
|
Tue, 17 Jul 2007 19:45:54 +0000 |
cmlenz |
Oops, fix dates in ChangeLog.
|
Tue, 17 Jul 2007 10:47:21 +0000 |
cmlenz |
Ported [682] to 0.4.x branch.
stable-0.4.x 0.4.3
|
Tue, 17 Jul 2007 10:42:29 +0000 |
cmlenz |
* Cleaned up the implementation of the `HTMLSanitizer`.
|
Tue, 17 Jul 2007 10:02:16 +0000 |
cmlenz |
Ported [680] to 0.4.x branch.
stable-0.4.x
|
Tue, 17 Jul 2007 10:00:52 +0000 |
cmlenz |
Attribute access in template expressions no longer silently ignores exceptions other than `AttributeError` raised in the attribute accessor.
|
Tue, 03 Jul 2007 20:30:28 +0000 |
cmlenz |
Ported [667] to 0.4.x branch.
stable-0.4.x
|
Tue, 03 Jul 2007 20:29:07 +0000 |
cmlenz |
The HTML sanitizer now strips any CSS comments in style attributes, which could previously be used to hide malicious property values.
|
Mon, 02 Jul 2007 09:10:40 +0000 |
cmlenz |
Ported [658:659] to 0.4.x branch.
stable-0.4.x
|
Mon, 02 Jul 2007 09:08:01 +0000 |
cmlenz |
ChangeLog entry for [658].
|
Fri, 29 Jun 2007 13:06:53 +0000 |
cmlenz |
Implement static includes, which improves performance a bit when auto reloading is disabled.
|
Thu, 28 Jun 2007 23:00:24 +0000 |
cmlenz |
Support for Python code blocks in templates can now be disabled. Closes #123.
|
Thu, 28 Jun 2007 17:05:51 +0000 |
cmlenz |
Ported [646] to 0.4.x branch.
stable-0.4.x
|
Thu, 28 Jun 2007 17:04:54 +0000 |
cmlenz |
Add `loader_callback` option to plugin interface as requested in #130.
|
Wed, 27 Jun 2007 18:02:05 +0000 |
cmlenz |
Add ChangeLog entry for [642].
|
Wed, 27 Jun 2007 18:00:23 +0000 |
cmlenz |
Ported [643] to 0.4.x branch.
stable-0.4.x
|
Wed, 27 Jun 2007 17:58:35 +0000 |
cmlenz |
The I18n filter no longer extracts or translates literal strings in attribute values that also contain expressions.
|
Wed, 20 Jun 2007 10:50:18 +0000 |
cmlenz |
Ported [634:637] to 0.4.x branch.
stable-0.4.x 0.4.2
|
Wed, 20 Jun 2007 09:48:55 +0000 |
cmlenz |
Integrated [http://babel.edgewall.org/ Babel] message extraction plugin, and added I18n doc page.
|
Mon, 18 Jun 2007 11:22:24 +0000 |
cmlenz |
Add special handling for `xml:lang` to HTML/XHTML serialization.
|
Fri, 15 Jun 2007 20:19:29 +0000 |
cmlenz |
Ported [626] to 0.4.x branch.
stable-0.4.x
|
Fri, 15 Jun 2007 20:17:56 +0000 |
cmlenz |
The I18n filter now skips the content of elements that have an `xml:lang` attribute with a fixed string value. Basically, `xml:lang` can now be used as a flag to mark specific sections as not needing localization.
|