log markup/tests/template.py @ 220:f4943d2babda trunk

age author description
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. trunk
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. trunk
Mon, 04 Sep 2006 19:29:32 +0000 cmlenz Many fixes to XPath evaluation. Among other things, this should get rid of the bug that attributes were getting ?pulled up? by `py:match` directives using `py:attrs="select('@*')"` (see #50). trunk
Tue, 29 Aug 2006 21:14:58 +0000 cmlenz Fix another regression introduced in [258]: some kinds of cascaded match templates were broken, for example in the TurboGears example app. trunk
Tue, 29 Aug 2006 17:35:32 +0000 cmlenz Fix regression introduced in [258]. More fixes needed? trunk
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. trunk
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. trunk
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! trunk
Wed, 23 Aug 2006 15:00:28 +0000 cmlenz Allow leading whitespace in expressions. Closes #38. Thanks to Christian Boos for the patch! trunk
Wed, 23 Aug 2006 14:33:37 +0000 cmlenz Improvements for the `py:with` directive: trunk
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. trunk
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. trunk
Mon, 21 Aug 2006 19:51:07 +0000 cmlenz Some error message improvements for template directives. Thanks to Christian Boos for the patch! trunk
Mon, 21 Aug 2006 17:25:19 +0000 cmlenz Implemented support for XPath variables in predicates (#31). trunk
Sun, 20 Aug 2006 12:08:50 +0000 cmlenz Raise error when template search path is empty. trunk
Sun, 20 Aug 2006 11:41:58 +0000 cmlenz Added test case for includes without a search path. trunk
Fri, 18 Aug 2006 23:23:45 +0000 cmlenz Fix for #30 (trouble using `py:def`inside a match template) trunk
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. trunk
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. trunk
Wed, 16 Aug 2006 21:29:48 +0000 cmlenz * Add test case for SVG content embedded in an HTML document. trunk
Wed, 16 Aug 2006 14:04:30 +0000 cmlenz * Make sure `py:def` macros don't go out of scope if they are defined inside another directive. trunk
Wed, 16 Aug 2006 10:25:15 +0000 cmlenz Add some tests for relative template includes (see #27). trunk
Tue, 15 Aug 2006 21:59:07 +0000 cmlenz `Template.generate()` now accepts the context data as keyword arguments, so that you don't have to import the `Context` class every time you want to pass data into a template. trunk
Tue, 15 Aug 2006 09:52:47 +0000 cmlenz * Fix error in expression evaluation when the expression evaluates to an iterable that does not produce event tuples. trunk
Sun, 06 Aug 2006 18:07:21 +0000 cmlenz * Improve the accuracy of line numbers for text nodes, so that reported errors about syntax or evaluation errors in expressions point to the right line (not quite perfect yet, though). trunk
Thu, 27 Jul 2006 09:22:17 +0000 cmlenz Added `py:with` directive based on Jonas' patch in #17. trunk
Wed, 19 Jul 2006 17:50:17 +0000 cmlenz When an expression evaluates to a callable, it is called implicitly. trunk
Mon, 17 Jul 2006 23:10:35 +0000 cmlenz Support comments in templates that are not included in the output, in the same way Kid does: if the comment text starts with a `!` character, it is stripped from the output. trunk
Sat, 15 Jul 2006 11:29:25 +0000 cmlenz Template expressions are now compiled to Python bytecode. trunk
Thu, 13 Jul 2006 12:32:11 +0000 cmlenz * Simplify implementation of the individual XPath tests (use closures instead of callable classes) trunk
Copyright (C) 2012-2017 Edgewall Software