Fri, 06 Mar 2009 11:55:56 +0000 |
cmlenz |
Ported [1011] to 0.5.x branch.
stable-0.5.x
|
Fri, 06 Mar 2009 11:55:07 +0000 |
cmlenz |
Revert [914] for now, see #293.
|
Wed, 10 Sep 2008 20:53:09 +0000 |
cmlenz |
Merged the custom-directives branch back into trunk.
|
Mon, 21 Jul 2008 23:17:52 +0000 |
aflett |
update to 0.5.x branch, up through r907
experimental-match-fastpaths
|
Mon, 14 Jul 2008 17:30:23 +0000 |
cmlenz |
The match filter now only tests `START` events, as `END` events can not be matched and are otherwise processed together with the matched `START` event.
|
Fri, 11 Jul 2008 21:10:46 +0000 |
mkurczych |
Optimization work first commit (many changes)
experimental-soc2008
|
Mon, 07 Jul 2008 16:35:06 +0000 |
cmlenz |
Unbuffered match templates could result in parts of the matched content being included in the output if the match template didn't actually consume it via one or more calls to the `select()` function. Closes #243. Thanks to Felix Schwarz for the report and test case.
|
Fri, 27 Jun 2008 14:20:05 +0000 |
cmlenz |
Fix bug where in some cases match templates would incorrectly applied multiple times.
|
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.
|
Mon, 21 Apr 2008 19:36:53 +0000 |
aflett |
update to trunk to track r847, fixing python 2.4 compatibility issues in speedup (and fixing copyrights, apparently :))
experimental-match-fastpaths
|
Fri, 11 Apr 2008 08:42:11 +0000 |
cmlenz |
newctxt branch: Merged revisions [678:835] via svnmerge from [source:trunk].
experimental-newctxt
|
Thu, 10 Apr 2008 19:47:27 +0000 |
cmlenz |
Fix copyright years.
|
Tue, 08 Apr 2008 23:45:32 +0000 |
aflett |
update to trunk through r833
experimental-match-fastpaths
|
Tue, 08 Apr 2008 23:36:20 +0000 |
aflett |
a performance breakthrough - bring this branch inline with the bigtable benchmark by lazily creating ctxt._match_set in a way that doesn't barf
experimental-match-fastpaths
|
Tue, 08 Apr 2008 22:34:01 +0000 |
cmlenz |
Enable pickling of `Template` and `Code` objects.
|
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.
|
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.
|
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.
|
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!
|
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.
|
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 20:05:31 +0000 |
cmlenz |
Changed the default error handling mode to "strict".
|
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:35:43 +0000 |
cmlenz |
Add runtime optimization hints for match templates.
|
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.
|
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.
|
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.
|
Thu, 28 Jun 2007 23:00:24 +0000 |
cmlenz |
Support for Python code blocks in templates can now be disabled. Closes #123.
|
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!
|
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.
|
Fri, 11 May 2007 21:54:49 +0000 |
cmlenz |
Added include directive for text templates (#115). Thanks to Alastair for the original patch.
|
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.
|
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.
|
Thu, 22 Mar 2007 15:05:29 +0000 |
cmlenz |
More API documentation.
|
Thu, 22 Mar 2007 12:45:18 +0000 |
cmlenz |
Try to use proper reStructuredText for docstrings throughout.
|
Tue, 20 Mar 2007 18:24:11 +0000 |
cmlenz |
More work to include absolute file paths in exceptions.
|
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.
|
Wed, 21 Feb 2007 14:25:44 +0000 |
cmlenz |
Update copyright year for files modified this year.
|
Wed, 21 Feb 2007 14:17:22 +0000 |
cmlenz |
Move string interpolation code into separate module (`genshi.template.interpolation`).
|
Wed, 21 Feb 2007 10:26:38 +0000 |
cmlenz |
Support for Python code blocks using the `<?python ?>` processing instruction. Closes #84.
|
Thu, 18 Jan 2007 14:58:39 +0000 |
cmlenz |
Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
|
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.
|
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.
|
Wed, 22 Nov 2006 16:52:34 +0000 |
cmlenz |
Fix for #77: match templates were matching their own output.
|
Wed, 22 Nov 2006 15:38:38 +0000 |
cmlenz |
Parse template includes at parse time to avoid some runtime overhead.
|
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).
|
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.
|