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.
trunk
|
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.
trunk
|
Tue, 08 Jul 2008 17:06:51 +0000 |
cmlenz |
Support for parameters in internationalized `i18n:msg` content. See #129.
trunk
|
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.
trunk
|
Mon, 07 Jul 2008 16:51:55 +0000 |
cmlenz |
Export the template loader factory functions from the `loader` module.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Tue, 17 Jun 2008 15:42:38 +0000 |
cmlenz |
Remove obsolete webpy example.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Mon, 09 Jun 2008 15:25:25 +0000 |
cmlenz |
Remove yet more cruft for supporting Python 2.3.
trunk
|
Mon, 09 Jun 2008 15:19:59 +0000 |
cmlenz |
Remove some cruft for supporting Python 2.3.
trunk
|
Mon, 09 Jun 2008 11:05:22 +0000 |
cmlenz |
Bump up version number on trunk.
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.
trunk
|
Mon, 09 Jun 2008 09:50:03 +0000 |
cmlenz |
Preparing for [milestone:0.5] release.
trunk
|
Mon, 09 Jun 2008 06:39:46 +0000 |
athomas |
Lots of `Transformer` cleanup:
trunk
|
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.
trunk
|
Fri, 06 Jun 2008 15:56:51 +0000 |
cmlenz |
Fix a bad reference in the `TextSerializer` docstring.
trunk
|
Fri, 06 Jun 2008 15:52:33 +0000 |
cmlenz |
Another Python 2.3 fix in the wake of #221.
trunk
|
Fri, 06 Jun 2008 14:37:39 +0000 |
cmlenz |
Minor cleanup in the i18n module.
trunk
|
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.
trunk
|
Thu, 05 Jun 2008 15:46:16 +0000 |
cmlenz |
Yet another followup fix for #221.
trunk
|
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.
trunk
|
Wed, 04 Jun 2008 13:02:00 +0000 |
athomas |
Fixed some unintuitive behaviour in `Transformer.{cut,copy}`.
trunk
|
Wed, 04 Jun 2008 05:01:16 +0000 |
athomas |
Update to r855 for Python 2.3 support. Fixes #221 (hopefully).
trunk
|
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.
trunk
|
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.
trunk
|
Sat, 31 May 2008 21:34:16 +0000 |
cmlenz |
Fix for potential duplicate attributes making it through the builder API. Closes #216.
trunk
|
Sat, 31 May 2008 20:48:43 +0000 |
cmlenz |
* Add XHTML 1.1 doctype (closes #228).
trunk
|
Tue, 20 May 2008 00:26:50 +0000 |
athomas |
Fixed overly greedy `substitute` transformation.
trunk
|
Fri, 09 May 2008 13:43:20 +0000 |
cmlenz |
Actually use HTMLSerializer in test.
trunk
|
Sun, 04 May 2008 02:48:03 +0000 |
athomas |
Note that py:choose and friends may be used as elements.
trunk
|
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.
trunk
|
Mon, 21 Apr 2008 19:16:43 +0000 |
jruigrok |
Fix trailing whitespace.
trunk
|
Thu, 17 Apr 2008 14:50:21 +0000 |
jruigrok |
Properly wrap exceptions we want to catch.
trunk
|
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.
trunk
|
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
trunk
|
Tue, 08 Apr 2008 22:34:01 +0000 |
cmlenz |
Enable pickling of `Template` and `Code` objects.
trunk
|
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
|
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!
trunk
|
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.
trunk
|
Sun, 06 Apr 2008 20:52:15 +0000 |
athomas |
Python 2.3 compatibility fixes for transformer and (specifically for 2.3.1) i18n.
trunk
|
Sun, 06 Apr 2008 20:39:48 +0000 |
cmlenz |
Fix Python 2.3 compatibility of HTMLSanitizer unit tests.
trunk
|
Sun, 06 Apr 2008 20:37:00 +0000 |
cmlenz |
Fix Python 2.3 compatibility issue with `py:for` unit tests.
trunk
|
Sun, 06 Apr 2008 20:33:31 +0000 |
cmlenz |
Fix Python 2.3 compatibility of HTMLSanitizer doctest.
trunk
|
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!
trunk
|
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.
trunk
|
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.
trunk
|
Thu, 27 Mar 2008 14:45:11 +0000 |
cmlenz |
Fix for prefix-dispatched template loading. Closes #206. Thanks to Waldemar Kornewald for the patch.
trunk
|
Thu, 27 Mar 2008 14:12:13 +0000 |
cmlenz |
Fix for #205.
trunk
|
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.
trunk
|
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.
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
|
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.
trunk
|
Mon, 17 Mar 2008 10:25:44 +0000 |
cmlenz |
Add warning about using code blocks on Python 2.3. Closes #181.
trunk
|
Mon, 17 Mar 2008 09:40:14 +0000 |
cmlenz |
Minor cleanup in eval module.
trunk
|
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.
trunk
|
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.
trunk
|
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).
trunk
|
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.
trunk
|
Thu, 07 Feb 2008 19:51:00 +0000 |
jruigrok |
Fix typo: thi -> this.
trunk
|
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.
trunk
|
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).
trunk
|
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.
trunk
|
Tue, 08 Jan 2008 18:30:44 +0000 |
athomas |
XML_DECL must be the absolute first item, so don't bother buffering whitespace.
trunk
|
Thu, 03 Jan 2008 15:25:01 +0000 |
athomas |
Add a stream filter to insert the XML DOCTYPE in the correct location (ie.
trunk
|
Tue, 18 Dec 2007 07:35:43 +0000 |
athomas |
More reversions from #168.
trunk
|
Tue, 18 Dec 2007 07:29:32 +0000 |
athomas |
Whoops. Removed accidentally committed patch from #156.
trunk
|
Tue, 18 Dec 2007 00:03:41 +0000 |
athomas |
Applied patch from cboos, fixing #168. Thanks!
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Wed, 05 Dec 2007 23:16:50 +0000 |
cmlenz |
Fix compatibility of tutorial code with CherryPy 3.1. Closes #159.
trunk
|
Wed, 05 Dec 2007 22:58:28 +0000 |
cmlenz |
Add SVG DTDs to `DocType` class. Closes #161.
trunk
|
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.
trunk
|
Thu, 22 Nov 2007 20:36:00 +0000 |
cmlenz |
Allow use of py:replace as element. Closes #144.
trunk
|
Thu, 22 Nov 2007 20:04:23 +0000 |
cmlenz |
Add unit test for #157, which seems to be working okay in trunk.
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.
trunk
|
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.
trunk
|
Thu, 22 Nov 2007 19:19:17 +0000 |
cmlenz |
Fix test to work on Python 2.5.1 which has a different exception message.
trunk
|
Thu, 22 Nov 2007 19:18:34 +0000 |
cmlenz |
Fix typo in benchmark info output.
trunk
|
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!
trunk
|
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
|
Mon, 01 Oct 2007 09:32:46 +0000 |
cmlenz |
Fix typo in docs. Closes #153.
trunk
|
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`.
trunk
|
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!
trunk
|
Mon, 17 Sep 2007 21:51:21 +0000 |
cmlenz |
Fix for descendant-or-self XPath patterns when namespaces are involved.
trunk
|
Wed, 05 Sep 2007 16:51:46 +0000 |
cmlenz |
Remove CherryPy example as the GenshiTutorial is a better example for using Genshi with CherryPy.
trunk
|
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
|
Wed, 05 Sep 2007 12:46:20 +0000 |
cmlenz |
Minor performance improvement for expressions that evaluate to numbers: the result is wrapped in a `Markup` object, meaning we'll not have to escape the string in the serialization stage.
trunk
|
Wed, 05 Sep 2007 12:45:04 +0000 |
cmlenz |
Performance optimization for the `genshi.core._ensure` function: instead of checking whether we're dealing with a markup event stream for every item in the iterable, we now check only the first item, and treat the rest of the iterable depending on whether the first one looks like an event.
trunk
|
Wed, 05 Sep 2007 12:39:56 +0000 |
cmlenz |
GenshiTutorial: add body class to show that the ''@*'' XPath in the match template works.
trunk
|
Tue, 04 Sep 2007 20:49:32 +0000 |
cmlenz |
GenshiTutorial: remove !EvalException left-over
trunk
|
Tue, 04 Sep 2007 19:20:46 +0000 |
cmlenz |
GenshiTutorial: implement the XSS section.
trunk
|
Tue, 04 Sep 2007 15:36:33 +0000 |
cmlenz |
GenshiTutorial: Remove transparency from the logo.
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, 03 Sep 2007 19:59:03 +0000 |
cmlenz |
GenshiTutorial: tweaks to sync with code on wiki page.
trunk
|
Fri, 31 Aug 2007 23:13:27 +0000 |
cmlenz |
GenshiTutorial: minor tweaks to sync with Wiki page.
trunk
|
Fri, 31 Aug 2007 21:28:45 +0000 |
cmlenz |
Remove some obsoluete, unmaintained examples.
trunk
|
Fri, 31 Aug 2007 17:01:00 +0000 |
cmlenz |
GenshiTutorial: implemented AJAX commenting.
trunk
|
Fri, 31 Aug 2007 16:58:30 +0000 |
cmlenz |
Use packed version of jQuery to workaround !CherryPy bug [http://www.cherrypy.org/ticket/598 #598].
trunk
|
Thu, 30 Aug 2007 23:01:49 +0000 |
cmlenz |
GenshiTutorial: Minor updates to Atom feed templates.
trunk
|
Thu, 30 Aug 2007 22:49:48 +0000 |
cmlenz |
GenshiTutorial: add Atom feeds.
trunk
|
Thu, 30 Aug 2007 19:09:28 +0000 |
cmlenz |
Use system default date/time format in templates.
trunk
|
Thu, 30 Aug 2007 17:12:45 +0000 |
cmlenz |
GenshiTutorial: remove obsolete template.
trunk
|
Thu, 30 Aug 2007 14:19:59 +0000 |
cmlenz |
GenshiTutorial: various updates to sync with wiki page.
trunk
|
Thu, 30 Aug 2007 09:08:06 +0000 |
cmlenz |
Simplify the tutorial project: comments are now flat, not hierarchical.
trunk
|
Thu, 30 Aug 2007 08:31:58 +0000 |
cmlenz |
Use HTTPS-Link for svn:externals (see #143).
trunk
|
Wed, 29 Aug 2007 20:51:39 +0000 |
cmlenz |
GenshiTutorial: use form filler on comment/reply views.
trunk
|
Wed, 29 Aug 2007 20:12:54 +0000 |
cmlenz |
GenshiTutorial: make URLs dynamic so that the app could theoretically be mounted on some other SCRIPT_NAME.
trunk
|
Wed, 29 Aug 2007 19:36:01 +0000 |
cmlenz |
Ported [728] to 0.4.x branch.
stable-0.4.x
|
Wed, 29 Aug 2007 19:34:39 +0000 |
cmlenz |
GenshiTutorial: fix storing of submissions.
trunk
|
Wed, 29 Aug 2007 19:34:04 +0000 |
cmlenz |
Using `html` code-blocks for examples isn't so nice when viewing the docs over Trac, so change them to `xml`.
trunk
|
Wed, 29 Aug 2007 17:51:45 +0000 |
cmlenz |
Add current code for GenshiTutorial to the `examples` directory.
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 21:18:47 +0000 |
cmlenz |
Moved the installation instructions into the docs.
trunk
|
Mon, 27 Aug 2007 20:07:46 +0000 |
cmlenz |
Fix MIME type of new doc page.
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 12:22:57 +0000 |
cmlenz |
Fix bug that slipped into [717]: the code of a `py:with` directive was not being compiled with AST transformations applied.
trunk
|
Thu, 23 Aug 2007 11:57:26 +0000 |
cmlenz |
Added information about [718] to the ChangeLog.
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
|
Wed, 15 Aug 2007 23:07:55 +0000 |
cmlenz |
Handle starargs and dstarargs in the I18n extraction code.
trunk
|
Tue, 14 Aug 2007 09:52:13 +0000 |
cmlenz |
Get rid of the previously overemphasized term ?stream-based? in the tagline, which seems to turn some people off.
trunk
|
Tue, 14 Aug 2007 09:22:34 +0000 |
cmlenz |
Bump up version number on 0.4.x branch.
stable-0.4.x
|
Tue, 14 Aug 2007 08:58:56 +0000 |
cmlenz |
Ported [710] to 0.4.x branch.
stable-0.4.x 0.4.4
|
Tue, 14 Aug 2007 08:55:43 +0000 |
cmlenz |
Follow-up to [708]. The added `extract_text` option wasn't actually being handled by the Babel extraction plugin.
trunk
|
Mon, 13 Aug 2007 23:04:50 +0000 |
cmlenz |
Ported [708] to 0.4.x branch.
stable-0.4.x
|
Mon, 13 Aug 2007 23:02:46 +0000 |
cmlenz |
Add option to I18n filter to only extract strings in gettext function calls.
trunk
|
Mon, 13 Aug 2007 21:38:46 +0000 |
cmlenz |
Minor, cosmetic tweaks.
trunk
|
Mon, 13 Aug 2007 12:40:56 +0000 |
cmlenz |
Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
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
|
Thu, 09 Aug 2007 14:59:52 +0000 |
cmlenz |
Ported [702] to 0.4.x branch.
stable-0.4.x
|
Thu, 09 Aug 2007 14:58:59 +0000 |
cmlenz |
Updated ChangeLog for [700].
trunk
|
Wed, 08 Aug 2007 22:27:26 +0000 |
cmlenz |
Ported [700] to 0.4.x branch.
stable-0.4.x
|
Wed, 08 Aug 2007 22:21:21 +0000 |
cmlenz |
Fixes for nonlocal variable access in code blocks, as well as nested function and class definitions.
trunk
|
Tue, 07 Aug 2007 14:14:26 +0000 |
cmlenz |
Documentation stuff moved to a common shared repository.
trunk
|
Sun, 05 Aug 2007 17:33:20 +0000 |
jonas |
Fixed a few cases where HTMLFormFiller didn't work well with option elements:
trunk
|
Wed, 01 Aug 2007 16:23:41 +0000 |
cmlenz |
Ported [696] to 0.4.x branch.
stable-0.4.x
|
Wed, 01 Aug 2007 16:22:05 +0000 |
cmlenz |
Follow-up fix to [693:694]. Again, thanks to Erik Bray for reporting.
trunk
|
Tue, 31 Jul 2007 21:54:58 +0000 |
cmlenz |
Ported [693:694] to 0.4.x branch.
stable-0.4.x
|
Tue, 31 Jul 2007 21:53:30 +0000 |
cmlenz |
Also handle sets in flatten utility function.
trunk
|
Tue, 31 Jul 2007 21:40:51 +0000 |
cmlenz |
Fix for augmented assignments to local variables. Thanks to Erik Bray for reporting the problem.
trunk
|
Sun, 29 Jul 2007 01:41:40 +0000 |
athomas |
Added Chris' rename transformation filter.
trunk
|
Sun, 29 Jul 2007 01:04:20 +0000 |
athomas |
Fix for #136, where transformer marks were not being stripped correctly when
trunk
|
Mon, 23 Jul 2007 09:50:44 +0000 |
cmlenz |
Improve docs on `Stream.select()` for #135.
trunk
|
Mon, 23 Jul 2007 04:22:20 +0000 |
athomas |
Ensure that content gets added after the end of a stream.
trunk
|
Tue, 17 Jul 2007 19:45:54 +0000 |
cmlenz |
Oops, fix dates in ChangeLog.
trunk
|
Tue, 17 Jul 2007 11:05:34 +0000 |
cmlenz |
Bump up version number on 0.4.x branch.
stable-0.4.x
|
Tue, 17 Jul 2007 10:47:21 +0000 |
cmlenz |
Ported [682] to 0.4.x branch.
stable-0.4.x 0.4.3
|
Tue, 17 Jul 2007 10:42:29 +0000 |
cmlenz |
* Cleaned up the implementation of the `HTMLSanitizer`.
trunk
|
Tue, 17 Jul 2007 10:02:16 +0000 |
cmlenz |
Ported [680] to 0.4.x branch.
stable-0.4.x
|
Tue, 17 Jul 2007 10:00:52 +0000 |
cmlenz |
Attribute access in template expressions no longer silently ignores exceptions other than `AttributeError` raised in the attribute accessor.
trunk
|
Sat, 14 Jul 2007 08:56:20 +0000 |
cmlenz |
AST transformer needs to also handle the class body.
trunk
|
Fri, 13 Jul 2007 19:29:32 +0000 |
cmlenz |
newctxt: Merged [667:676/trunk].
experimental-newctxt
|
Fri, 13 Jul 2007 19:26:44 +0000 |
cmlenz |
newctxt: initialized svnmerge.
experimental-newctxt
|
Fri, 13 Jul 2007 16:31:47 +0000 |
cmlenz |
* The I18n extractor now handles gettext function calls that use non-string parameters as well as keyword arguments.
trunk
|
Fri, 13 Jul 2007 12:54:09 +0000 |
cmlenz |
Alias `__contains__` to `has_key` in `Context` class for code outside of Genshi that may expect that for some wild reason.
trunk
|
Fri, 13 Jul 2007 11:10:38 +0000 |
cmlenz |
Built-in Python constants (such as `None`) in expressions are used directly instead of being looked up from the context.
trunk
|
Thu, 05 Jul 2007 17:49:20 +0000 |
cmlenz |
In the py:choose stack, store the information of whether a test expression has been supplied separate from the result of its evaluation.
trunk
|
Thu, 05 Jul 2007 17:05:33 +0000 |
cmlenz |
Move code for extracting messages from bytecode into a separate function.
trunk
|
Thu, 05 Jul 2007 11:06:14 +0000 |
cmlenz |
Start implementation of advanced I18n as dicussed in #129 and the MailingList. This is not complete yet, but many simple cases work okay.
trunk
|
Tue, 03 Jul 2007 21:49:01 +0000 |
cmlenz |
Port [669] to 0.4.x branch.
stable-0.4.x
|
Tue, 03 Jul 2007 21:48:11 +0000 |
cmlenz |
Fix typo in i18n doc.
trunk
|
Tue, 03 Jul 2007 20:30:28 +0000 |
cmlenz |
Ported [667] to 0.4.x branch.
stable-0.4.x
|
Tue, 03 Jul 2007 20:29:07 +0000 |
cmlenz |
The HTML sanitizer now strips any CSS comments in style attributes, which could previously be used to hide malicious property values.
trunk
|
Mon, 02 Jul 2007 17:49:10 +0000 |
cmlenz |
Initial code for newctxt branch.
experimental-newctxt
|
Mon, 02 Jul 2007 17:24:32 +0000 |
cmlenz |
New experimental branch for trying a different approach at context data stack management and simplified code evaluation/execution.
experimental-newctxt
|
Mon, 02 Jul 2007 17:22:54 +0000 |
cmlenz |
Store state information for py:choose outside of the regular context data.
trunk
|
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
|
Mon, 02 Jul 2007 09:10:40 +0000 |
cmlenz |
Ported [658:659] to 0.4.x branch.
stable-0.4.x
|
Mon, 02 Jul 2007 09:08:01 +0000 |
cmlenz |
ChangeLog entry for [658].
trunk
|
Mon, 02 Jul 2007 09:05:45 +0000 |
cmlenz |
The I18n filter now extracts text from translation functions in ignored tags. Fixes #132.
trunk
|
Fri, 29 Jun 2007 13:06:53 +0000 |
cmlenz |
Implement static includes, which improves performance a bit when auto reloading is disabled.
trunk
|
Thu, 28 Jun 2007 23:17:35 +0000 |
cmlenz |
Port docstrings to C version of `Markup` class.
trunk
|
Thu, 28 Jun 2007 23:00:55 +0000 |
cmlenz |
White space.
trunk
|
Thu, 28 Jun 2007 23:00:24 +0000 |
cmlenz |
Support for Python code blocks in templates can now be disabled. Closes #123.
trunk
|
Thu, 28 Jun 2007 22:36:50 +0000 |
cmlenz |
Remove an unused line of code.
trunk
|
Thu, 28 Jun 2007 18:12:15 +0000 |
cmlenz |
Replace Myghty by Mako in bigtable benchmark, apply escaping in Mako templates.
trunk
|
Thu, 28 Jun 2007 18:05:39 +0000 |
cmlenz |
Exclude broken Cheetah benchmark by default, include SimpleTAL instead.
trunk
|