Fri, 27 Jun 2008 14:20:05 +0000 |
cmlenz |
Fix bug where in some cases match templates would incorrectly applied multiple times.
trunk
|
Tue, 17 Jun 2008 15:49:34 +0000 |
cmlenz |
Ported [888] back to 0.5.x branch.
stable-0.5.x
|
Tue, 17 Jun 2008 15:47:14 +0000 |
cmlenz |
Fix for I18n filter problem with lazy translation functions. Closes #145.
trunk
|
Mon, 16 Jun 2008 09:32:12 +0000 |
cmlenz |
Ported [884] back to 0.5.x branch.
stable-0.5.x
|
Mon, 16 Jun 2008 09:22:21 +0000 |
cmlenz |
Fix problem with nested match templates not being applied when buffering on the outer `py:match` is disabled. Thanks to Erik Bray for reporting the problem and providing a test case.
trunk
|
Mon, 09 Jun 2008 16:20:29 +0000 |
cmlenz |
Document dropping of Python 2.3 compat.
trunk
|
Mon, 09 Jun 2008 09:50:03 +0000 |
cmlenz |
Preparing for [milestone:0.5] release.
trunk
|
Fri, 06 Jun 2008 15:52:33 +0000 |
cmlenz |
Another Python 2.3 fix in the wake of #221.
trunk
|
Sat, 31 May 2008 20:48:43 +0000 |
cmlenz |
* Add XHTML 1.1 doctype (closes #228).
trunk
|
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.
trunk
|
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!
trunk
|
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!
trunk
|
Fri, 28 Mar 2008 14:14:26 +0000 |
cmlenz |
Add option for unbuffered match template processing, which could cause excessive memory usage. Closes #190.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Thu, 22 Nov 2007 20:36:00 +0000 |
cmlenz |
Allow use of py:replace as element. Closes #144.
trunk
|
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.
trunk
|
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!
trunk
|
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!
trunk
|
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.
trunk
|
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).
trunk
|
Mon, 27 Aug 2007 22:39:01 +0000 |
cmlenz |
Add support for Python code blocks in text templates using the new syntax.
trunk
|
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.
trunk
|
Thu, 23 Aug 2007 11:57:26 +0000 |
cmlenz |
Added information about [718] to the ChangeLog.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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].
trunk
|
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.
trunk
|
Tue, 17 Jul 2007 19:45:54 +0000 |
cmlenz |
Oops, fix dates in ChangeLog.
trunk
|
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`.
trunk
|
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.
trunk
|
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.
trunk
|
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].
trunk
|
Fri, 29 Jun 2007 13:06:53 +0000 |
cmlenz |
Implement static includes, which improves performance a bit when auto reloading is disabled.
trunk
|
Thu, 28 Jun 2007 23:00:24 +0000 |
cmlenz |
Support for Python code blocks in templates can now be disabled. Closes #123.
trunk
|
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.
trunk
|
Wed, 27 Jun 2007 18:02:05 +0000 |
cmlenz |
Add ChangeLog entry for [642].
trunk
|
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.
trunk
|
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.
trunk
|
Mon, 18 Jun 2007 11:22:24 +0000 |
cmlenz |
Add special handling for `xml:lang` to HTML/XHTML serialization.
trunk
|
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.
trunk
|
Wed, 13 Jun 2007 12:39:10 +0000 |
cmlenz |
Ported [624] to 0.4.x branch.
stable-0.4.x
|
Wed, 13 Jun 2007 12:37:58 +0000 |
cmlenz |
Applied patch by Dale Sedivec to fix #127. Many thanks!
trunk
|
Wed, 06 Jun 2007 11:33:23 +0000 |
cmlenz |
Ported [616] to 0.4.x branch.
stable-0.4.x
|
Wed, 06 Jun 2007 11:31:44 +0000 |
cmlenz |
Fix for #125 (text template handling unicode source). Thanks to Christian Boos for the patch.
trunk
|
Mon, 04 Jun 2007 17:13:10 +0000 |
cmlenz |
Added new markup transformation filter contributed by Alec Thomas (#122). This provides gorgeous jQuery-inspired stream transformation capabilities based on XPath expressions.
trunk
|
Fri, 01 Jun 2007 17:21:47 +0000 |
cmlenz |
Merged revisions 487-603 via svnmerge from
experimental-inline
|
Wed, 30 May 2007 09:35:33 +0000 |
cmlenz |
Ported [594:596] to 0.4.x branch.
stable-0.4.x
|
Wed, 30 May 2007 09:33:54 +0000 |
cmlenz |
The `doctype` parameter for serializers can now be a string.
trunk
|
Mon, 21 May 2007 09:22:25 +0000 |
cmlenz |
Ported [589] to 0.4.x.
stable-0.4.x 0.4.1
|
Mon, 21 May 2007 09:20:29 +0000 |
cmlenz |
Set date for [milestone:0.4.1] release in ChangeLog.
trunk
|
Mon, 14 May 2007 20:34:51 +0000 |
cmlenz |
Ported [579] (for #116) to 0.4.x.
stable-0.4.x
|
Mon, 14 May 2007 20:33:42 +0000 |
cmlenz |
Apply patch for #116.
trunk
|
Fri, 11 May 2007 21:54:49 +0000 |
cmlenz |
Added include directive for text templates (#115). Thanks to Alastair for the original patch.
trunk
|
Fri, 11 May 2007 11:32:28 +0000 |
cmlenz |
Apply patch from #113, also closing #114.
trunk
|
Thu, 03 May 2007 10:24:14 +0000 |
cmlenz |
The `HTMLFormFiller` stream filter no longer alters form elements for which the data element contains no corresponding item.
trunk
|
Mon, 30 Apr 2007 09:10:45 +0000 |
cmlenz |
The I18n extraction now returns a tuple of strings for `ngettext` and similar functions.
trunk
|
Thu, 26 Apr 2007 09:46:36 +0000 |
cmlenz |
Move the mapping of doctype names to tuples out of the plugin into the `DocType` class.
trunk
|
Thu, 26 Apr 2007 09:14:30 +0000 |
cmlenz |
Add lower-level serialization functions.
trunk
|
Wed, 25 Apr 2007 19:41:09 +0000 |
cmlenz |
Apply patch by Alec Thomas for processing XML declarations (#111). Thanks!
trunk
|
Tue, 17 Apr 2007 18:35:29 +0000 |
cmlenz |
The `ET()` function now correctly handles attributes with a namespace.
trunk
|
Tue, 17 Apr 2007 12:36:57 +0000 |
cmlenz |
Fix incorrect reference to translation function in the I18N filter.
trunk
|
Mon, 16 Apr 2007 13:48:57 +0000 |
cmlenz |
Add `filters` package in `setup.py`.
trunk
|
Fri, 13 Apr 2007 11:02:36 +0000 |
cmlenz |
Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
trunk
|
Thu, 12 Apr 2007 22:40:49 +0000 |
cmlenz |
Back out [510] and instead implement configurable error handling modes. The default is the old 0.3.x behaviour, but more strict error handling is available as an option.
trunk
|
Mon, 02 Apr 2007 15:52:21 +0000 |
cmlenz |
Fix for #107.
trunk
|
Thu, 22 Mar 2007 18:54:09 +0000 |
cmlenz |
* Updated change log
trunk
|
Fri, 16 Mar 2007 08:58:54 +0000 |
cmlenz |
Make expression error handling more strict. Closes #88.
trunk
|
Mon, 26 Feb 2007 18:35:31 +0000 |
cmlenz |
Updated change log.
trunk
|
Thu, 18 Jan 2007 15:41:47 +0000 |
cmlenz |
Make the `Markup` class available by default in template expressions. Closes #67.
trunk
|
Thu, 18 Jan 2007 14:52:42 +0000 |
cmlenz |
Rework parsing of expressions in template text, to be able to:
trunk
|
Thu, 28 Dec 2006 18:17:10 +0000 |
cmlenz |
inline branch: Merged [439:479/trunk].
experimental-inline
|
Mon, 11 Dec 2006 12:08:10 +0000 |
cmlenz |
0.3.x branch: ported [461] and [469].
stable-0.3.x
|
Mon, 11 Dec 2006 12:05:34 +0000 |
cmlenz |
Update change log for [milestone:0.3.6].
trunk
|
Wed, 29 Nov 2006 14:26:45 +0000 |
cmlenz |
Fix for #80: fallback only shown when the template to include wasn't found. In addition, the nesting of includes and fallback content should work correctly, and directives/expressions/etc inside fallback content are processed. Thanks to Christian Boos for the original patch and unit tests.
trunk
|
Thu, 23 Nov 2006 17:48:17 +0000 |
cmlenz |
The builder API now accepts streams as children of elements and fragments.
trunk
|
Thu, 23 Nov 2006 17:41:52 +0000 |
cmlenz |
Improve handling of incorrectly nested tags in the HTML parser.
trunk
|
Thu, 23 Nov 2006 10:52:14 +0000 |
cmlenz |
`MarkupTemplate`s can now be instantiated from markup streams, in addition to strings and file-like objects. Thanks to David Fraser for the patch. Closes #69.
trunk
|
Wed, 22 Nov 2006 21:17:33 +0000 |
cmlenz |
Ported [451] to 0.3.x.
stable-0.3.x 0.3.5
|
Wed, 22 Nov 2006 21:11:30 +0000 |
cmlenz |
Update change log for [milestone:0.3.5].
trunk
|
Wed, 22 Nov 2006 20:48:35 +0000 |
cmlenz |
Fix for #62: preserve whitespace in front of directives.
trunk
|
Fri, 10 Nov 2006 17:38:50 +0000 |
cmlenz |
cspeedups branch: Merged [423:426/trunk].
experimental-inline
|
Fri, 10 Nov 2006 17:25:52 +0000 |
cmlenz |
Whitespace was not getting preserved in HTML `<pre>` elements that contained other HTML elements.
trunk
|
Fri, 10 Nov 2006 15:27:36 +0000 |
cmlenz |
Make `Attrs` instances immutable.
trunk
|
Fri, 10 Nov 2006 10:00:44 +0000 |
cmlenz |
Remove automatic calling of expression evaluation results if they are callable. See [http://groups.google.com/group/genshi/browse_thread/thread/f515986760918d41 this mailing list thread].
trunk
|
Wed, 08 Nov 2006 15:50:15 +0000 |
cmlenz |
Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
trunk
|
Tue, 07 Nov 2006 17:50:28 +0000 |
cmlenz |
Fix XPath traversal in match templates. Previously, `div/p` would be treated the same as `div//p`, i.e. it would match all descendants and not just the immediate children.
trunk
|
Thu, 02 Nov 2006 09:33:01 +0000 |
cmlenz |
Ported [398] to 0.3.x branch.
stable-0.3.x
|
Thu, 02 Nov 2006 09:32:20 +0000 |
cmlenz |
Prepare for [milestone:0.3.4] release.
trunk
|
Tue, 24 Oct 2006 16:14:04 +0000 |
cmlenz |
Ported [389:391] to 0.3.x branch.
stable-0.3.x
|
Tue, 24 Oct 2006 16:10:09 +0000 |
cmlenz |
Update change log, and some minor tweaks to keyword argument ordering for the new `encoding` parameter.
trunk
|
Mon, 16 Oct 2006 09:27:00 +0000 |
cmlenz |
Ported [374] to 0.3.x branch.
stable-0.3.x
|
Mon, 16 Oct 2006 09:25:40 +0000 |
cmlenz |
Updated change log.
trunk
|
Fri, 13 Oct 2006 13:46:09 +0000 |
cmlenz |
Ported [361:362] to 0.3.x branch.
stable-0.3.x
|
Fri, 13 Oct 2006 13:44:55 +0000 |
cmlenz |
Updated change log.
trunk
|
Fri, 13 Oct 2006 07:43:41 +0000 |
cmlenz |
Ported [356] to 0.3.x branch.
stable-0.3.x
|