log genshi/template/markup.py @ 714:fc6d9d2a3527 trunk

age author description
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
Fri, 04 Apr 2008 16:57:27 +0000 aflett further performance improvements to MatchSet functionality - factor out MatchSet's State so that we dont' have to keep copying over the state every time we create a new child MatchSet. experimental-match-fastpaths
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
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: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
Sat, 15 Mar 2008 05:42:29 +0000 aflett more code/comment clean up - make sure to retain match order experimental-match-fastpaths
Mon, 25 Feb 2008 20:44:04 +0000 aflett land first cut at fast-path matching - needs some cleanup experimental-match-fastpaths
Thu, 29 Nov 2007 18:07:32 +0000 aronacher merged trunk into sandbox branch experimental-sandboxed
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
Wed, 26 Sep 2007 17:56:41 +0000 aronacher restricted is the new secure experimental-sandboxed
Wed, 26 Sep 2007 14:07:10 +0000 aronacher first implementaiton of a secure genshi experimental-sandboxed
Wed, 05 Sep 2007 13:06:59 +0000 cmlenz Follow-up to [751]: applying the optimization to text templates was actually slowing them down, so only do it for markup templates. 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 20:05:31 +0000 cmlenz Changed the default error handling mode to "strict". 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:35:43 +0000 cmlenz Add runtime optimization hints for match templates. trunk
Wed, 22 Aug 2007 21:50:46 +0000 cmlenz Simplify implementation of `py:with` directive by compiling to a `Suite`, instead of manually breaking up the statement and compiling each part to an `Expression`. Also, the first line of code in a `Suite` is now stored as the "function name" of the bytecode, so that it shows up in tracebacks. 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
Mon, 02 Jul 2007 17:49:10 +0000 cmlenz Initial code for newctxt branch. experimental-newctxt
Mon, 02 Jul 2007 13:33:28 +0000 cmlenz For directives used as elements, pass all attributes without a namespace to the directive class. This enables adding optional extra attributes to directives. trunk
Thu, 28 Jun 2007 23:00:24 +0000 cmlenz Support for Python code blocks in templates can now be disabled. Closes #123. 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
Fri, 01 Jun 2007 17:21:47 +0000 cmlenz Merged revisions 487-603 via svnmerge from experimental-inline
Wed, 30 May 2007 10:05:06 +0000 cmlenz Fix bug introduced in [575]: includes weren't being processed inside match templates. 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
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
Thu, 22 Mar 2007 21:54:16 +0000 cmlenz * Better method to propogate the full path to the template file on parse errors. Supersedes r513. trunk
Thu, 22 Mar 2007 15:05:29 +0000 cmlenz More API documentation. trunk
Thu, 22 Mar 2007 12:45:18 +0000 cmlenz Try to use proper reStructuredText for docstrings throughout. trunk
Tue, 20 Mar 2007 18:24:11 +0000 cmlenz More work to include absolute file paths in exceptions. trunk
Tue, 20 Mar 2007 16:20:41 +0000 cmlenz Template parsing passes the full path of the template to the XML parser so that it's included in parsing exceptions. trunk
Wed, 21 Feb 2007 14:25:44 +0000 cmlenz Update copyright year for files modified this year. trunk
Wed, 21 Feb 2007 14:17:22 +0000 cmlenz Move string interpolation code into separate module (`genshi.template.interpolation`). trunk
Wed, 21 Feb 2007 10:26:38 +0000 cmlenz Support for Python code blocks using the `<?python ?>` processing instruction. Closes #84. trunk
Thu, 18 Jan 2007 14:58:39 +0000 cmlenz Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`. trunk
Thu, 28 Dec 2006 18:17:10 +0000 cmlenz inline branch: Merged [439:479/trunk]. experimental-inline
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 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 16:52:34 +0000 cmlenz Fix for #77: match templates were matching their own output. trunk
Wed, 22 Nov 2006 15:38:38 +0000 cmlenz Parse template includes at parse time to avoid some runtime overhead. trunk
Wed, 22 Nov 2006 10:37:24 +0000 cmlenz Follow-up to [431]: directives are no longer instantiated directly at parse time, but instead by the `attach()` method of the directive class (which replaces the `prepare()` method). 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
Copyright (C) 2012-2017 Edgewall Software