log genshi/template/markup.py @ 924:3c09c8d8a578

age author description
Mon, 29 Nov 2010 20:45:22 +0000 hodgestar Fix handling of tails in py:match processing. See Genshi ticket #399. experimental-py3k
Fri, 23 Apr 2010 21:08:26 +0000 cmlenz Sync `experimental/inline` branch with [source:trunk@1126]. experimental-inline
Thu, 22 Apr 2010 12:01:10 +0000 cmlenz Update changelog and copyright years.
Thu, 15 Apr 2010 21:44:28 +0000 cmlenz Default XInclude-included template class to the class of the including template. Closes #302.
Thu, 15 Apr 2010 21:07:15 +0000 cmlenz Templates instantiated without a loader now get an implicit loader based on their file path, or the current directory as a fallback. Closes #320.
Thu, 15 Apr 2010 20:30:09 +0000 cmlenz Fix for match template processing involving multiple match directives targetting the same element. Should close #370.
Thu, 18 Feb 2010 09:17:45 +0000 cmlenz Apply patch Felix Schwarz that finally fixes the duplicated output in match template processing. Thanks so much!
Tue, 10 Nov 2009 21:22:51 +0000 cmlenz Convert a bunch of print statements to py3k compatible syntax.
Tue, 13 Oct 2009 18:12:55 +0000 cmlenz Backported a couple of templating core changes from the advanced-i18n branch, in particular considering the determination of directive ordering../set
Wed, 18 Mar 2009 16:44:02 +0000 cmlenz Refactored the template flattening method to be less recursive.
Fri, 13 Mar 2009 20:04:26 +0000 cmlenz inline branch: synced with trunk@1038. experimental-inline
Fri, 13 Mar 2009 15:57:04 +0000 cmlenz Avoid varargs on internal functions in template processing for slightly better performance.
Wed, 11 Mar 2009 17:51:06 +0000 cmlenz Sync (old) experimental inline branch with trunk@1027. experimental-inline
Mon, 09 Mar 2009 14:04:21 +0000 cmlenz Remove unneeded conversion of empty attribute values into a single-item list of an empty `TEXT` event.
Mon, 09 Mar 2009 13:26:01 +0000 cmlenz Merge the internal template filters `_eval` and `_exec` into the `_flatten` function for slightly better performance.
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.
Copyright (C) 2012-2017 Edgewall Software