log

age author description
Thu, 15 Apr 2010 21:10:36 +0000 cmlenz Apply patch from #324 for Python 2.6.2 compatibility fix.
Thu, 15 Apr 2010 21:08:06 +0000 cmlenz ChangeLog entry for [1099].
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:33:45 +0000 cmlenz Minor doc tweak.
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.
Tue, 23 Feb 2010 18:58:47 +0000 palgarvio Any `py:strip` involved on `i18n:singular` or `i18n:plural` is now handled separately, ie, if one has `py:strip` on a `i18n:singular` element or directive and the plural form is the one chosen, no stripping will be performed. Refs #371.
Tue, 23 Feb 2010 16:26:54 +0000 palgarvio Typo correction.
Tue, 23 Feb 2010 16:03:26 +0000 palgarvio Allow the use of `i18n:singular` and `i18n:plural` as directives and not just as attributes.
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!
Sat, 28 Nov 2009 15:42:49 +0000 cmlenz Apply patch for I18n message extraction bug as reported in #358. Thanks to cboos for the patch, again.
Sat, 28 Nov 2009 15:37:30 +0000 cmlenz Fix the unit test for execution of statements containing with statements so that it also works on Windows. Thanks to cboos for the patch.
Fri, 13 Nov 2009 22:31:04 +0000 cmlenz Add unit tests for correct handling of with statements and yield expressions in the AST code generator.
Fri, 13 Nov 2009 12:00:27 +0000 cmlenz Build without speedups by default.
Thu, 12 Nov 2009 21:25:37 +0000 cmlenz Also skip the encoding step in the template tests.
Thu, 12 Nov 2009 21:08:40 +0000 cmlenz Also skip the encoding step in the XPath tests.
Thu, 12 Nov 2009 21:01:08 +0000 cmlenz Make the output tests skip the encoding step.
Thu, 12 Nov 2009 20:58:12 +0000 cmlenz Make the output tests skip the encoding step.
Thu, 12 Nov 2009 17:38:05 +0000 cmlenz Oops, get rid of multi source copy in `genshi.core`.
Thu, 12 Nov 2009 17:31:40 +0000 cmlenz A bit of cleanup of the `Markup` Python implementation.
Thu, 12 Nov 2009 17:01:52 +0000 cmlenz More bits of 2to3 related cleanup.
Thu, 12 Nov 2009 16:23:53 +0000 cmlenz Yet more 2to3 diff size reduction.
Thu, 12 Nov 2009 15:09:26 +0000 cmlenz Avoid unicode literals in `repr`s of `QName` and `Namespace` when not necessary.
Thu, 12 Nov 2009 11:36:14 +0000 cmlenz Add a couple of fallback imports for Python 3.0.
Tue, 10 Nov 2009 23:36:40 +0000 cmlenz More 2to3 diff size reduction.
Tue, 10 Nov 2009 22:53:21 +0000 cmlenz More work on reducing the size of the diff produced by 2to3.
Tue, 10 Nov 2009 21:22:51 +0000 cmlenz Convert a bunch of print statements to py3k compatible syntax.
Tue, 10 Nov 2009 21:07:03 +0000 cmlenz Remove usage of unicode literals in a couple of places where they were not strictly necessary.
Tue, 10 Nov 2009 20:59:23 +0000 cmlenz Remove pkg_resources import from top-level package, will just need to remember updating the version in two places.
Tue, 10 Nov 2009 20:57:32 +0000 cmlenz Update copyright years on files changed due to advanced-i18n merge.
Tue, 10 Nov 2009 20:54:06 +0000 cmlenz Merged advanced-i18n branch back into trunk.
Tue, 13 Oct 2009 18:27:57 +0000 cmlenz Tiny docstring fix.
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
Mon, 12 Oct 2009 20:19:06 +0000 cmlenz Remove the hack needed for importing `_ast` on App Engine, no longer needed release GAE 1.2.2 (see http://groups.google.com/group/genshi/browse_thread/thread/bfa8101c0752fc34).
Sun, 09 Aug 2009 20:38:59 +0000 mgood Fix nested list comprehensions & generator expressions (fixes #327)
Mon, 29 Jun 2009 09:33:02 +0000 jruigrok Fix two instances of using None, which would cause an AttributeError.
Wed, 18 Mar 2009 16:44:02 +0000 cmlenz Refactored the template flattening method to be less recursive.
Tue, 17 Mar 2009 18:06:31 +0000 cmlenz Ported [1050] to 0.5.x branch. stable-0.5.x
Tue, 17 Mar 2009 18:05:34 +0000 cmlenz Added an option to the `HTMLFiller` to also populate password fields.
Tue, 17 Mar 2009 17:50:50 +0000 cmlenz Ported some of the HTML sanitization improvements from Trac (see [T7658]).
Tue, 17 Mar 2009 17:20:04 +0000 cmlenz Ported [1046:1047] to 0.5.x branch. stable-0.5.x
Tue, 17 Mar 2009 17:19:14 +0000 cmlenz Move ChangeLog entry for [1046] to 0.5.2 release section.
Tue, 17 Mar 2009 15:10:47 +0000 cmlenz Fix for #274.
Tue, 17 Mar 2009 15:09:16 +0000 cmlenz ChangeLog updates.
Tue, 17 Mar 2009 14:36:23 +0000 cmlenz Added XPath unit test for #271 (was already incorrectly committed in [1043], oops)
Tue, 17 Mar 2009 14:35:12 +0000 cmlenz Added XPath unit test for #234.
Tue, 17 Mar 2009 14:31:49 +0000 cmlenz Added XPath unit test for #234.
Tue, 17 Mar 2009 14:25:22 +0000 cmlenz Cleaned up XPath tests, added tests from #185.
Fri, 13 Mar 2009 21:05:19 +0000 cmlenz Follow-up fix for [1038].
Fri, 13 Mar 2009 20:04:26 +0000 cmlenz inline branch: synced with trunk@1038. experimental-inline
Fri, 13 Mar 2009 18:46:01 +0000 cmlenz Add caching in the serialization stage, which speeds up the serialization of markup that has a lot of repetitive elements.
Fri, 13 Mar 2009 16:06:42 +0000 cmlenz inline branch: template object can be compiled, and remembers the generated module. experimental-inline
Fri, 13 Mar 2009 15:57:04 +0000 cmlenz Avoid varargs on internal functions in template processing for slightly better performance.
Fri, 13 Mar 2009 09:34:50 +0000 cmlenz inline branch: Add code block support to the template inliner, and some tweaks/cleanup. experimental-inline
Thu, 12 Mar 2009 08:11:08 +0000 cmlenz Minor simplification and performance improvement to the flattening of dynamic attribute values. Thanks to Christoph Zwerschke for the suggestion (see #295).
Wed, 11 Mar 2009 23:22:11 +0000 cmlenz Fix inefficient handling of static attribute values, pointed out by Christoph Zwerschke in #295.
Wed, 11 Mar 2009 22:24:12 +0000 cmlenz sandboxed branch: init svnmerge. experimental-sandboxed
Wed, 11 Mar 2009 22:14:32 +0000 cmlenz Get rid of some Python 2.3 legacy that's no longer needed now that 2.4 is the baseline.
Wed, 11 Mar 2009 18:13:12 +0000 cmlenz inline-branch: Fix for `for` directive. experimental-inline
Wed, 11 Mar 2009 17:51:06 +0000 cmlenz Sync (old) experimental inline branch with trunk@1027. experimental-inline
Wed, 11 Mar 2009 17:28:38 +0000 cmlenz Cleared svnmerge property from trunk.
Wed, 11 Mar 2009 17:03:03 +0000 cmlenz Merged soc2008-xpath branch back into trunk.
Mon, 09 Mar 2009 16:17:25 +0000 cmlenz Minor simplification in the expansion of dynamic attributes.
Mon, 09 Mar 2009 16:15:22 +0000 cmlenz Remove the outdated and unmaintained !TurboGears example.
Mon, 09 Mar 2009 16:14:43 +0000 cmlenz Switch profiling in the benchmarks to cProfile.
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.
Mon, 09 Mar 2009 09:00:00 +0000 cmlenz Ported [1013] to 0.5.x branch. stable-0.5.x
Mon, 09 Mar 2009 08:57:43 +0000 cmlenz Add doc section on expression escaping. Closes #282.
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.
Fri, 06 Mar 2009 11:53:07 +0000 cmlenz Ported [1008] and [1009] to 0.5.x branch. stable-0.5.x
Fri, 06 Mar 2009 11:32:54 +0000 cmlenz Added test for [1008].
Fri, 06 Mar 2009 11:25:47 +0000 cmlenz Fix for import statements in function defs in template code blocks (#276).
Thu, 05 Mar 2009 10:07:23 +0000 cmlenz Block [999] and [1004] from being ported back to stable branch. stable-0.5.x
Thu, 05 Mar 2009 10:06:45 +0000 cmlenz Ported [1005] to 0.5.x branch. stable-0.5.x
Thu, 05 Mar 2009 10:05:12 +0000 cmlenz `for` loops in template code blocks should not establish their own locals block. Closes #259.
Thu, 05 Mar 2009 09:16:43 +0000 cmlenz Fix handling of function arguments with default values in template code, applying patch by Scott Wilson plus an additional fix. Closes #292.
Tue, 03 Mar 2009 20:20:09 +0000 cmlenz Ported [1000] to stable branch. stable-0.5.x
Tue, 03 Mar 2009 20:17:46 +0000 cmlenz Fix for filter transformation, closing #290. Thanks to Stephen Compall for reporting the problem and providing a patch.
Thu, 15 Jan 2009 23:52:32 +0000 cmlenz Add missing svn:eol-style properties on some Python files. Closes #286.
Thu, 15 Jan 2009 23:50:09 +0000 cmlenz Ported [914], [970], and [971] to 0.5.x branch. stable-0.5.x
Thu, 15 Jan 2009 23:48:15 +0000 cmlenz Block a couple of changesets from being backported to the stable branch. stable-0.5.x
Thu, 15 Jan 2009 23:46:08 +0000 cmlenz Ported [995] to 0.5.x branch. stable-0.5.x
Thu, 15 Jan 2009 23:42:48 +0000 cmlenz Apply some patches for build from #165.
Tue, 16 Dec 2008 23:02:36 +0000 cmlenz Merged AST branch back into trunk. Most of this code was written by Marcin Kurczych for his Google Summer of Code 2008 project. The merge of this branch means that Genshi now uses the native `_ast` module on Python >= 2.5, and an emulation thereof on Python 2.4. This replaces the usage of the `compiler` package, which was deprecated in Python 2.6 and removed in Python 3.0. Another effect is that Genshi now runs on Google AppEngine (although performance is bad due to the lack of template caching).
Mon, 08 Dec 2008 21:15:19 +0000 cmlenz Get rid of a couple more -3 warnings.
Mon, 08 Dec 2008 20:37:45 +0000 cmlenz Apply patch to silence a -3 warning about `reduce` removal. Closes #279.
Mon, 22 Sep 2008 11:28:23 +0000 cmlenz Erase svnmerge property from trunk.
Wed, 10 Sep 2008 20:53:09 +0000 cmlenz Merged the custom-directives branch back into trunk.
Tue, 19 Aug 2008 11:51:06 +0000 cmlenz Ported [913], [927], and [928] to the 0.5.x branch. stable-0.5.x
Sun, 10 Aug 2008 20:32:13 +0000 cmlenz Change `Translator` class to accept either a `gettext`-style function, or an object compatible with the `NullTranslations` / `GNUTranslations` interface.
Thu, 07 Aug 2008 23:15:11 +0000 cmlenz Add support for supplying comments on localizable messages in the i18n filter. Based on patch by Pedro Algarvio on #129.
Sun, 03 Aug 2008 20:15:13 +0000 jonas Set zip_safe to False if the c speedup module is successfully built. Closes #252.
Thu, 31 Jul 2008 14:18:25 +0000 cmlenz Fix for #250: ignore expressions in attribute values when inside `i18n:msg` elements.
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.
Mon, 14 Jul 2008 16:47:36 +0000 cmlenz Fix wrong XPath example in `Transformer` docstring that breaks with the more correct XPath processing on the GSoC branch.
Fri, 11 Jul 2008 21:10:46 +0000 mkurczych Optimization work first commit (many changes) experimental-soc2008
Wed, 09 Jul 2008 16:30:01 +0000 cmlenz Bump up version number on 0.5.x branch. stable-0.5.x
Wed, 09 Jul 2008 16:13:49 +0000 cmlenz Ported [904] to 0.5.x branch. stable-0.5.x 0.5.1
Wed, 09 Jul 2008 16:12:56 +0000 cmlenz Prepare for [milestone:0.5.1] release.
Tue, 08 Jul 2008 20:41:26 +0000 cmlenz Ported [899:902] to 0.5.x branch. stable-0.5.x
Tue, 08 Jul 2008 19:46:08 +0000 cmlenz Added tests for the parameter support added to advanced internationalization in [901]. See #129.
Tue, 08 Jul 2008 17:06:51 +0000 cmlenz Support for parameters in internationalized `i18n:msg` content. See #129.
Tue, 08 Jul 2008 14:07:09 +0000 cmlenz Fix example for `START` event in the streams documentation to explicitly wrap attribute name in a `QName` object.
Mon, 07 Jul 2008 16:51:55 +0000 cmlenz Export the template loader factory functions from the `loader` module.
Mon, 07 Jul 2008 16:41:16 +0000 cmlenz Ported [897] back to 0.5.x branch. stable-0.5.x
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.
Tue, 01 Jul 2008 10:42:57 +0000 cmlenz Ported [894] and [895] back to 0.5.x branch. stable-0.5.x
Tue, 01 Jul 2008 10:35:01 +0000 cmlenz Includes from templates loaded via an absolute path now include the correct file in nested directories as long if no search path has been configured. Closes #240.
Tue, 01 Jul 2008 09:07:38 +0000 cmlenz Make the code that retrieves the Genshi version via `pkg_resources` handle the case of missing egg metadata more gracefully. Closes #241.
Fri, 27 Jun 2008 15:02:51 +0000 cmlenz Ported [892] to 0.5.x branch. stable-0.5.x
Fri, 27 Jun 2008 14:20:05 +0000 cmlenz Fix bug where in some cases match templates would incorrectly applied multiple times.
Mon, 23 Jun 2008 23:00:40 +0000 mkurczych Added one test and made path.py pass it (I've forgotten to implement the last_checked variable functionality, because of which some places in path were checked multiple times, which made counters wrong). experimental-soc2008
Tue, 17 Jun 2008 15:49:34 +0000 cmlenz Ported [888] back to 0.5.x branch. stable-0.5.x
Tue, 17 Jun 2008 15:48:07 +0000 cmlenz Block [887] from being backported to 0.5.x. stable-0.5.x
Tue, 17 Jun 2008 15:47:14 +0000 cmlenz Fix for I18n filter problem with lazy translation functions. Closes #145.
Tue, 17 Jun 2008 15:42:38 +0000 cmlenz Remove obsolete webpy example.
Mon, 16 Jun 2008 09:33:37 +0000 cmlenz Block [882] from being backported to [0.5.x] branch. stable-0.5.x
Mon, 16 Jun 2008 09:32:12 +0000 cmlenz Ported [884] back to 0.5.x branch. stable-0.5.x
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.
Tue, 10 Jun 2008 08:42:22 +0000 cmlenz 0.5.x branch: fix use of generator expressions in transform tests for Python 2.3 compatibility. stable-0.5.x
Mon, 09 Jun 2008 16:20:29 +0000 cmlenz Document dropping of Python 2.3 compat.
Mon, 09 Jun 2008 16:13:58 +0000 cmlenz Ported [878] to 0.5.x branch. stable-0.5.x
Mon, 09 Jun 2008 16:12:44 +0000 cmlenz Blocked revisions [875:877] via svnmerge. stable-0.5.x
Mon, 09 Jun 2008 16:10:54 +0000 cmlenz Initialized merge tracking via "svnmerge" with revisions [1:870] from [source:trunk]. stable-0.5.x
Mon, 09 Jun 2008 15:30:10 +0000 cmlenz Docstring fix in the transform module.
Mon, 09 Jun 2008 15:25:25 +0000 cmlenz Remove yet more cruft for supporting Python 2.3.
Mon, 09 Jun 2008 15:19:59 +0000 cmlenz Remove some cruft for supporting Python 2.3.
Mon, 09 Jun 2008 11:05:22 +0000 cmlenz Bump up version number on trunk.
Mon, 09 Jun 2008 10:49:04 +0000 cmlenz Bump up version number on 0.5.x branch. stable-0.5.x
Mon, 09 Jun 2008 10:13:13 +0000 cmlenz Create branch for 0.5.x release and maintenance. stable-0.5.x 0.5.0
Mon, 09 Jun 2008 10:07:00 +0000 cmlenz Clarify description of the `py:if` directive.
Mon, 09 Jun 2008 09:50:03 +0000 cmlenz Preparing for [milestone:0.5] release.
Mon, 09 Jun 2008 06:39:46 +0000 athomas Lots of `Transformer` cleanup:
Sat, 07 Jun 2008 19:22:31 +0000 mkurczych Path.test() function reimplementation and few experimental-soc2008
Sat, 07 Jun 2008 11:41:29 +0000 mkurczych Creation of branch for Summer of Code 2008 project experimental-soc2008
Fri, 06 Jun 2008 16:00:03 +0000 cmlenz Updated copyright years.
Fri, 06 Jun 2008 15:56:51 +0000 cmlenz Fix a bad reference in the `TextSerializer` docstring.
Fri, 06 Jun 2008 15:52:33 +0000 cmlenz Another Python 2.3 fix in the wake of #221.
Fri, 06 Jun 2008 14:37:39 +0000 cmlenz Minor cleanup in the i18n module.
Thu, 05 Jun 2008 17:00:15 +0000 cmlenz Implement the `__html__` protocol as suggested in #202. This would allow Genshi to be used in combination with other markup generating tools, as long as they support the same protocol.
Thu, 05 Jun 2008 15:46:16 +0000 cmlenz Yet another followup fix for #221.
Thu, 05 Jun 2008 09:49:53 +0000 cmlenz Tweak to [854] to not change the ordering of attributes compared to how they were previously ordered, to avoid breaking any tests that rely on the order. See #216.
Wed, 04 Jun 2008 13:02:00 +0000 athomas Fixed some unintuitive behaviour in `Transformer.{cut,copy}`.
Wed, 04 Jun 2008 05:01:16 +0000 athomas Update to r855 for Python 2.3 support. Fixes #221 (hopefully).
Tue, 03 Jun 2008 20:22:33 +0000 cmlenz Fix expression interpolation for expression containing triple-quoted multiline strings. Thanks to Armin Ronacher for reporting the issue and providing a patch.
Sun, 01 Jun 2008 20:09:28 +0000 cmlenz Workaround for a Python 2.4 bug that broke star imports in template code blocks. Closes #221. Many thanks to Armin Ronacher for the patch.
Sat, 31 May 2008 21:34:16 +0000 cmlenz Fix for potential duplicate attributes making it through the builder API. Closes #216.
Sat, 31 May 2008 20:48:43 +0000 cmlenz * Add XHTML 1.1 doctype (closes #228).
Tue, 20 May 2008 00:26:50 +0000 athomas Fixed overly greedy `substitute` transformation.
Fri, 09 May 2008 13:43:20 +0000 cmlenz Actually use HTMLSerializer in test.
Sun, 04 May 2008 02:48:03 +0000 athomas Note that py:choose and friends may be used as elements.
Sun, 04 May 2008 02:45:59 +0000 athomas Note that `py:choose` and friends may be used as elements. experimental-optimizer
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
Mon, 21 Apr 2008 19:17:26 +0000 jruigrok Fix compilation for Python 2.3 and 2.4.
Mon, 21 Apr 2008 19:16:43 +0000 jruigrok Fix trailing whitespace.
Thu, 17 Apr 2008 14:50:21 +0000 jruigrok Properly wrap exceptions we want to catch.
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:38:43 +0000 aflett fix ticket [209] - make sure py:with is valid, and add a test to make sure empty py:for is invalid
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.
Tue, 08 Apr 2008 18:18:18 +0000 cmlenz The `Markup` class now supports mappings for right hand of the `%` (modulo) operator in the same way the Python string classes do, except that the substituted values are escape. Also, the special constructor which took positional arguments that would be substituted was removed. Thus the `Markup` class now supports the same arguments as that of its `unicode` base class. Closes #211. Many thanks to Christian Boos for the patch!
Mon, 07 Apr 2008 18:27:55 +0000 aflett minor performance updates for non-match cases like bigtable, and for any case where before_template/after_template would create an empty MatchSet experimental-match-fastpaths
Mon, 07 Apr 2008 17:15:00 +0000 aflett revert an optimization that made a dumb assumption about when py:matches get stored.. experimental-match-fastpaths
Sun, 06 Apr 2008 21:23:13 +0000 cmlenz Partially revert [717] to retain compatibility with Python 2.3.
Sun, 06 Apr 2008 20:52:15 +0000 athomas Python 2.3 compatibility fixes for transformer and (specifically for 2.3.1) i18n.
Sun, 06 Apr 2008 20:39:48 +0000 cmlenz Fix Python 2.3 compatibility of HTMLSanitizer unit tests.
Sun, 06 Apr 2008 20:37:00 +0000 cmlenz Fix Python 2.3 compatibility issue with `py:for` unit tests.
Sun, 06 Apr 2008 20:33:31 +0000 cmlenz Fix Python 2.3 compatibility of HTMLSanitizer doctest.
Fri, 04 Apr 2008 17:29:53 +0000 aflett fix totally embarassing typo - ctxt not ctx experimental-match-fastpaths
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
Mon, 31 Mar 2008 09:30:26 +0000 cmlenz Improve error reporting when accessing an attribute in a Python expression raises an `AttributeError`. Closes #191. Thanks to Michele Cella for the patch!
Fri, 28 Mar 2008 17:05:04 +0000 aflett minor speed cleanups to match_order - use a dict rather than a list, because d[id(k)] is faster than l.index(k) 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.
Thu, 27 Mar 2008 14:49:06 +0000 cmlenz Fix for caching in template loader for templates included by templates loaded from an absolute path. Closes #193. Thanks to Waldemar Kornewald for the test case.
Thu, 27 Mar 2008 14:45:11 +0000 cmlenz Fix for prefix-dispatched template loading. Closes #206. Thanks to Waldemar Kornewald for the patch.
Thu, 27 Mar 2008 14:12:13 +0000 cmlenz Fix for #205.
Wed, 26 Mar 2008 22:49:23 +0000 cmlenz More flexible template loader allowing for loading from package data and dispatching to different template directories based on path prefix. Can be easily extended for using custom template loading. Closes #182.
Wed, 26 Mar 2008 22:22:47 +0000 cmlenz The `TemplateLoader` class now provides an `instantiate()` method that can be overridden by subclasses to implement advanced template instantiation logic. Fixes #204.
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.
Mon, 17 Mar 2008 11:09:56 +0000 cmlenz Enable use of expressions in include directives of text templates. Closes #194. Thanks to Oliver Cope for reporting the issue.
Mon, 17 Mar 2008 10:25:44 +0000 cmlenz Add warning about using code blocks on Python 2.3. Closes #181.
Mon, 17 Mar 2008 09:40:14 +0000 cmlenz Minor cleanup in eval module.
Sat, 15 Mar 2008 05:42:29 +0000 aflett more code/comment clean up - make sure to retain match order experimental-match-fastpaths
Wed, 12 Mar 2008 20:48:52 +0000 cmlenz The XHTML serializer now strips `xml:space` attributes as they are only allowed on very few tags.
Wed, 12 Mar 2008 20:46:34 +0000 cmlenz The `Stream.render` now accepts an optional `out` parameter that can be used to pass in a writable file-like object to use for assembling the output, instead of building a big string and returning it.
Mon, 25 Feb 2008 20:44:04 +0000 aflett land first cut at fast-path matching - needs some cleanup experimental-match-fastpaths
Fri, 22 Feb 2008 15:14:20 +0000 cmlenz Add experimental branch for work on match fast-paths (such as the patch on #183). experimental-match-fastpaths
Fri, 22 Feb 2008 14:53:52 +0000 cmlenz Fix #180 (py2.6 warning).
Wed, 13 Feb 2008 17:06:19 +0000 cmlenz Fix one Python 2.3 compatibility in the expression evaluation code. See #177. One more to go, though.
Thu, 07 Feb 2008 19:51:00 +0000 jruigrok Fix typo: thi -> this.
Wed, 06 Feb 2008 12:18:02 +0000 cmlenz Assigning to a variable named `data` in a Python code block no longer breaks context lookup. We now use the name `__data__` for internal data, hoping that that name is not as commonly used in templates.
Tue, 05 Feb 2008 17:27:36 +0000 cmlenz Fix another memory leak in the C speedups code. Thanks to Erik Bray for finding this one and providing a patch. Closes #166 (again).
Thu, 24 Jan 2008 00:42:04 +0000 athomas Fixed #178. experimental-optimizer
Wed, 23 Jan 2008 14:13:51 +0000 athomas Same for bigtable. Around 36% faster. experimental-optimizer
Wed, 23 Jan 2008 14:09:17 +0000 athomas Add `StaticStrategy` to basic benchmark. Results in about a 32% speedup. experimental-optimizer
Wed, 23 Jan 2008 13:55:14 +0000 athomas Removing leftover symbol in `__all__`. Whoops. experimental-optimizer
Wed, 23 Jan 2008 13:11:03 +0000 athomas Clarified docs and docstrings. experimental-optimizer
Wed, 23 Jan 2008 13:02:35 +0000 athomas First PoC of an optimisation strategy that collapses sequences of static events experimental-optimizer
Wed, 23 Jan 2008 12:20:21 +0000 athomas Creating branch for experimenting with template rendering optimisations. experimental-optimizer
Thu, 10 Jan 2008 00:56:05 +0000 athomas Ignore missing compiler errors on Windows. Fixes #174 and #165.
Tue, 08 Jan 2008 18:30:44 +0000 athomas XML_DECL must be the absolute first item, so don't bother buffering whitespace.
Thu, 03 Jan 2008 15:25:01 +0000 athomas Add a stream filter to insert the XML DOCTYPE in the correct location (ie.
Tue, 18 Dec 2007 07:35:43 +0000 athomas More reversions from #168.
Tue, 18 Dec 2007 07:29:32 +0000 athomas Whoops. Removed accidentally committed patch from #156.
Tue, 18 Dec 2007 00:03:41 +0000 athomas Applied patch from cboos, fixing #168. Thanks!
Tue, 11 Dec 2007 21:17:18 +0000 cmlenz Fix case where attributes weren't properly wrapped in an `Attrs` instance if one or more of them were translated by the I18n filter, potentially breaking things further down the chain. Closes #162.
Tue, 11 Dec 2007 21:01:10 +0000 cmlenz `QName` can now be constructed from a string with a leading curly brace, and some doc improvements. Closes #164.
Tue, 11 Dec 2007 20:11:45 +0000 cmlenz Applied patch to fix a memory leak in the C implementation of the `Markup.escape()` function. Thanks to Christian Boos for reporting and figuring out the problem. Closes #166.
Wed, 05 Dec 2007 23:16:50 +0000 cmlenz Fix compatibility of tutorial code with CherryPy 3.1. Closes #159.
Wed, 05 Dec 2007 22:58:28 +0000 cmlenz Add SVG DTDs to `DocType` class. Closes #161.
Thu, 29 Nov 2007 19:14:51 +0000 aronacher improved loader security experimental-sandboxed
Thu, 29 Nov 2007 18:51:48 +0000 aronacher loader raises an SecurityException in restricted mode if absolute paths are used experimental-sandboxed
Thu, 29 Nov 2007 18:08:37 +0000 aronacher added first (and pretty useless) test for the restricted branch experimental-sandboxed
Thu, 29 Nov 2007 18:07:32 +0000 aronacher merged trunk into sandbox branch experimental-sandboxed
Thu, 22 Nov 2007 22:07:15 +0000 cmlenz The `TextSerializer` class no longer strips all markup in text by default, so that it is still possible to use the Genshi `escape` function even with text templates. The old behavior is available via the `strip_markup` option of the serializer. Closes #146.
Thu, 22 Nov 2007 20:36:00 +0000 cmlenz Allow use of py:replace as element. Closes #144.
Thu, 22 Nov 2007 20:04:23 +0000 cmlenz Add unit test for #157, which seems to be working okay in trunk.
Thu, 22 Nov 2007 19:43:05 +0000 cmlenz The `striptags` function now also removes HTML/XML-style comments. Closes #150. Thanks to Armin Ronacher for the report and suggested fix.
Thu, 22 Nov 2007 19:35:17 +0000 cmlenz Fix thread-safety problem in template code evaluation. Closes #158. Thanks to Christian Boos for the patch.
Thu, 22 Nov 2007 19:19:17 +0000 cmlenz Fix test to work on Python 2.5.1 which has a different exception message.
Thu, 22 Nov 2007 19:18:34 +0000 cmlenz Fix typo in benchmark info output.
Thu, 08 Nov 2007 18:27:47 +0000 cmlenz The template engine plugin no longer adds the `default_doctype` when the `fragment` parameter is `True`. Thanks to dbrattli for the patch!
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!
Mon, 01 Oct 2007 09:32:46 +0000 cmlenz Fix typo in docs. Closes #153.
Wed, 26 Sep 2007 19:26:06 +0000 aronacher some more changes on the sandboxed branch experimental-sandboxed
Wed, 26 Sep 2007 17:56:41 +0000 aronacher restricted is the new secure experimental-sandboxed
Wed, 26 Sep 2007 17:07:27 +0000 aronacher removed getattr experimental-sandboxed
Wed, 26 Sep 2007 17:01:16 +0000 aronacher readded lambda, it's better to wrap the rendering with a try/except and check for a RuntimeError that represents recursion experimental-sandboxed
Wed, 26 Sep 2007 14:54:41 +0000 aronacher disallow lambda in secure mode experimental-sandboxed
Wed, 26 Sep 2007 14:51:45 +0000 aronacher some more work on the sandbox experimental-sandboxed
Wed, 26 Sep 2007 14:07:10 +0000 aronacher first implementaiton of a secure genshi experimental-sandboxed
Wed, 26 Sep 2007 12:27:48 +0000 cmlenz Create experimental branch for sandboxing. experimental-sandboxed
Tue, 18 Sep 2007 16:27:23 +0000 cmlenz Don't mask errors in `py:for`.
Mon, 17 Sep 2007 23:11:21 +0000 cmlenz Fix for XInclude fallbacks when auto-reloading is enabled. Closes #147. Thanks to rintaro@cpan.org for reporting the issue and providing a patch and test case!
Copyright (C) 2012-2017 Edgewall Software