Wed, 06 Sep 2006 14:39:50 +0000 |
cmlenz |
Implement support for namespace prefixes in XPath expressions.
|
Tue, 05 Sep 2006 20:36:39 +0000 |
cmlenz |
`BadDirectiveError` no longer expects a `QName` as the directive name; a regular string should do.
|
Tue, 05 Sep 2006 16:35:54 +0000 |
cmlenz |
Fix Python 2.3 incompatibility introduced in [276].
|
Tue, 05 Sep 2006 16:33:13 +0000 |
cmlenz |
Fix for #45 and #46: properly support assignment to nested tuples in `py:for` and `py:with` directives.
|
Mon, 04 Sep 2006 23:27:38 +0000 |
cmlenz |
Fix `py:match` directive which would screw up in some scenarios due to incorrect handling of the substream. Closes #49.
|
Thu, 31 Aug 2006 15:21:14 +0000 |
cmlenz |
Cosmetic change to internal template initialization.
|
Thu, 31 Aug 2006 08:49:37 +0000 |
cmlenz |
Store original message in exceptions as `msg` ivar.
|
Tue, 29 Aug 2006 17:35:32 +0000 |
cmlenz |
Fix regression introduced in [258]. More fixes needed?
|
Tue, 29 Aug 2006 15:44:54 +0000 |
cmlenz |
Cleanup the application of template processing steps (flatten, eval, match) so that they are only performed when necessary. Results in a small performance boost, and also fixes #35.
|
Tue, 29 Aug 2006 10:56:33 +0000 |
cmlenz |
`TypeError`s raised by `py:def` macros (and other expressions producing streams) are no longer silently ignored. Closes #44.
|
Sat, 26 Aug 2006 00:17:03 +0000 |
cmlenz |
Add doctest to verify that the `py:attrs` directive correctly handles a sequence of `(name, value)` tuples.
|
Fri, 25 Aug 2006 12:43:01 +0000 |
cmlenz |
Remove the (hopefully) last instance where directives store state in instance variables, allowing templates to be cached and reused in a threadsafe manner. Closes #39. Many thanks to Christian Boos for the patch!
|
Fri, 25 Aug 2006 10:08:46 +0000 |
cmlenz |
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
|
Thu, 24 Aug 2006 19:03:24 +0000 |
cmlenz |
Fix for Python 2.3 compatibility in `py:with` directive (regression in [240]).
|
Wed, 23 Aug 2006 17:49:14 +0000 |
cmlenz |
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
|
Wed, 23 Aug 2006 15:00:28 +0000 |
cmlenz |
Allow leading whitespace in expressions. Closes #38. Thanks to Christian Boos for the patch!
|
Wed, 23 Aug 2006 14:33:37 +0000 |
cmlenz |
Improvements for the `py:with` directive:
|
Tue, 22 Aug 2006 14:52:44 +0000 |
cmlenz |
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
|
Tue, 22 Aug 2006 13:16:09 +0000 |
cmlenz |
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
|
Mon, 21 Aug 2006 20:03:13 +0000 |
cmlenz |
Renamed `Attributes` to `Attrs` to reduce the verbosity.
|
Mon, 21 Aug 2006 19:51:07 +0000 |
cmlenz |
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
|
Mon, 21 Aug 2006 17:25:19 +0000 |
cmlenz |
Implemented support for XPath variables in predicates (#31).
|
Mon, 21 Aug 2006 14:55:06 +0000 |
cmlenz |
Fix control flow for error message when template search path is empty.
|
Sun, 20 Aug 2006 12:08:50 +0000 |
cmlenz |
Raise error when template search path is empty.
|
Sun, 20 Aug 2006 11:35:46 +0000 |
cmlenz |
Fix for #33.
|
Fri, 18 Aug 2006 23:23:45 +0000 |
cmlenz |
Fix for #30 (trouble using `py:def`inside a match template)
|
Thu, 17 Aug 2006 14:53:28 +0000 |
cmlenz |
Better error reporting for errors in directive expressions, and when `py:otherwise`/`py:when` are used outside a `py:choose` directive. Thanks to Christian Boos for the initial patch.
|
Thu, 17 Aug 2006 14:02:58 +0000 |
cmlenz |
Fix handling of keyword arguments in `py:def` directive. Thanks to Christian Boos for reporting the problem and providing the basic patch for this change.
|
Wed, 16 Aug 2006 22:32:31 +0000 |
cmlenz |
Various docstring additions and other cosmetic changes.
|
Wed, 16 Aug 2006 18:31:56 +0000 |
cmlenz |
Fix for backwards compatibility proposed by cboos in #28.
|