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!
|
Mon, 17 Sep 2007 21:51:21 +0000 |
cmlenz |
Fix for descendant-or-self XPath patterns when namespaces are involved.
|
Wed, 05 Sep 2007 16:51:46 +0000 |
cmlenz |
Remove CherryPy example as the GenshiTutorial is a better example for using Genshi with CherryPy.
|
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.
|
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.
|
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.
|
Wed, 05 Sep 2007 12:39:56 +0000 |
cmlenz |
GenshiTutorial: add body class to show that the ''@*'' XPath in the match template works.
|
Tue, 04 Sep 2007 20:49:32 +0000 |
cmlenz |
GenshiTutorial: remove !EvalException left-over
|
Tue, 04 Sep 2007 19:20:46 +0000 |
cmlenz |
GenshiTutorial: implement the XSS section.
|
Tue, 04 Sep 2007 15:36:33 +0000 |
cmlenz |
GenshiTutorial: Remove transparency from the logo.
|
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, 03 Sep 2007 19:59:03 +0000 |
cmlenz |
GenshiTutorial: tweaks to sync with code on wiki page.
|
Fri, 31 Aug 2007 23:13:27 +0000 |
cmlenz |
GenshiTutorial: minor tweaks to sync with Wiki page.
|
Fri, 31 Aug 2007 21:28:45 +0000 |
cmlenz |
Remove some obsoluete, unmaintained examples.
|
Fri, 31 Aug 2007 17:01:00 +0000 |
cmlenz |
GenshiTutorial: implemented AJAX commenting.
|
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].
|
Thu, 30 Aug 2007 23:01:49 +0000 |
cmlenz |
GenshiTutorial: Minor updates to Atom feed templates.
|
Thu, 30 Aug 2007 22:49:48 +0000 |
cmlenz |
GenshiTutorial: add Atom feeds.
|
Thu, 30 Aug 2007 19:09:28 +0000 |
cmlenz |
Use system default date/time format in templates.
|
Thu, 30 Aug 2007 17:12:45 +0000 |
cmlenz |
GenshiTutorial: remove obsolete template.
|
Thu, 30 Aug 2007 14:19:59 +0000 |
cmlenz |
GenshiTutorial: various updates to sync with wiki page.
|
Thu, 30 Aug 2007 09:08:06 +0000 |
cmlenz |
Simplify the tutorial project: comments are now flat, not hierarchical.
|
Thu, 30 Aug 2007 08:31:58 +0000 |
cmlenz |
Use HTTPS-Link for svn:externals (see #143).
|
Wed, 29 Aug 2007 20:51:39 +0000 |
cmlenz |
GenshiTutorial: use form filler on comment/reply views.
|
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.
|
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.
|
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`.
|
Wed, 29 Aug 2007 17:51:45 +0000 |
cmlenz |
Add current code for GenshiTutorial to the `examples` directory.
|
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 21:18:47 +0000 |
cmlenz |
Moved the installation instructions into the docs.
|
Mon, 27 Aug 2007 20:07:46 +0000 |
cmlenz |
Fix MIME type of new doc page.
|
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 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.
|
Thu, 23 Aug 2007 11:57:26 +0000 |
cmlenz |
Added information about [718] to the ChangeLog.
|
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.
|
Wed, 15 Aug 2007 23:07:55 +0000 |
cmlenz |
Handle starargs and dstarargs in the I18n extraction code.
|
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.
|
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.
|
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.
|
Mon, 13 Aug 2007 21:38:46 +0000 |
cmlenz |
Minor, cosmetic tweaks.
|
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.
|
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.
|
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].
|
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.
|
Tue, 07 Aug 2007 14:14:26 +0000 |
cmlenz |
Documentation stuff moved to a common shared repository.
|
Sun, 05 Aug 2007 17:33:20 +0000 |
jonas |
Fixed a few cases where HTMLFormFiller didn't work well with option elements:
|
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.
|
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.
|
Tue, 31 Jul 2007 21:40:51 +0000 |
cmlenz |
Fix for augmented assignments to local variables. Thanks to Erik Bray for reporting the problem.
|
Sun, 29 Jul 2007 01:41:40 +0000 |
athomas |
Added Chris' rename transformation filter.
|
Sun, 29 Jul 2007 01:04:20 +0000 |
athomas |
Fix for #136, where transformer marks were not being stripped correctly when
|
Mon, 23 Jul 2007 09:50:44 +0000 |
cmlenz |
Improve docs on `Stream.select()` for #135.
|
Mon, 23 Jul 2007 04:22:20 +0000 |
athomas |
Ensure that content gets added after the end of a stream.
|
Tue, 17 Jul 2007 19:45:54 +0000 |
cmlenz |
Oops, fix dates in ChangeLog.
|
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`.
|
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.
|
Sat, 14 Jul 2007 08:56:20 +0000 |
cmlenz |
AST transformer needs to also handle the class body.
|
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.
|
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.
|
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.
|
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.
|
Thu, 05 Jul 2007 17:05:33 +0000 |
cmlenz |
Move code for extracting messages from bytecode into a separate function.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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].
|
Mon, 02 Jul 2007 09:05:45 +0000 |
cmlenz |
The I18n filter now extracts text from translation functions in ignored tags. Fixes #132.
|
Fri, 29 Jun 2007 13:06:53 +0000 |
cmlenz |
Implement static includes, which improves performance a bit when auto reloading is disabled.
|
Thu, 28 Jun 2007 23:17:35 +0000 |
cmlenz |
Port docstrings to C version of `Markup` class.
|
Thu, 28 Jun 2007 23:00:55 +0000 |
cmlenz |
White space.
|
Thu, 28 Jun 2007 23:00:24 +0000 |
cmlenz |
Support for Python code blocks in templates can now be disabled. Closes #123.
|
Thu, 28 Jun 2007 22:36:50 +0000 |
cmlenz |
Remove an unused line of code.
|
Thu, 28 Jun 2007 18:12:15 +0000 |
cmlenz |
Replace Myghty by Mako in bigtable benchmark, apply escaping in Mako templates.
|
Thu, 28 Jun 2007 18:05:39 +0000 |
cmlenz |
Exclude broken Cheetah benchmark by default, include SimpleTAL instead.
|
Thu, 28 Jun 2007 17:43:31 +0000 |
cmlenz |
Merged cspeedups branch into trunk.
|
Thu, 28 Jun 2007 17:32:19 +0000 |
cmlenz |
Replace Myghty by Mako in basic benchmark.
|
Thu, 28 Jun 2007 17:05:51 +0000 |
cmlenz |
Ported [646] to 0.4.x branch.
stable-0.4.x
|
Thu, 28 Jun 2007 17:04:54 +0000 |
cmlenz |
Add `loader_callback` option to plugin interface as requested in #130.
|
Wed, 27 Jun 2007 18:02:05 +0000 |
cmlenz |
Add ChangeLog entry for [642].
|
Wed, 27 Jun 2007 18:00:23 +0000 |
cmlenz |
Ported [643] to 0.4.x branch.
stable-0.4.x
|
Wed, 27 Jun 2007 17:58:35 +0000 |
cmlenz |
The I18n filter no longer extracts or translates literal strings in attribute values that also contain expressions.
|
Sun, 24 Jun 2007 08:10:47 +0000 |
athomas |
Add XPath `matches()` function which, of course, supports the Python regular
|
Fri, 22 Jun 2007 16:42:38 +0000 |
athomas |
Thanks to Dave Abrahams for pointing out some deficiencies in the transformer
|
Wed, 20 Jun 2007 10:50:18 +0000 |
cmlenz |
Ported [634:637] to 0.4.x branch.
stable-0.4.x 0.4.2
|
Wed, 20 Jun 2007 10:00:03 +0000 |
cmlenz |
Add missing copyright header to i18n.py.
|
Wed, 20 Jun 2007 09:56:24 +0000 |
cmlenz |
Add extra for I18n.
|
Wed, 20 Jun 2007 09:50:42 +0000 |
cmlenz |
Fix mime type of new doc page.
|
Wed, 20 Jun 2007 09:48:55 +0000 |
cmlenz |
Integrated [http://babel.edgewall.org/ Babel] message extraction plugin, and added I18n doc page.
|
Mon, 18 Jun 2007 21:01:22 +0000 |
cmlenz |
Ported [630] to 0.4.x branch.
stable-0.4.x
|
Mon, 18 Jun 2007 21:00:39 +0000 |
cmlenz |
Fix interpolation of short-form expressions that include literal text before the expression. Thanks to Alec for reporting the issue.
|
Mon, 18 Jun 2007 20:59:26 +0000 |
cmlenz |
Updated overview diagram to include new transformation filter.
|
Mon, 18 Jun 2007 11:22:24 +0000 |
cmlenz |
Add special handling for `xml:lang` to HTML/XHTML serialization.
|
Fri, 15 Jun 2007 20:19:29 +0000 |
cmlenz |
Ported [626] to 0.4.x branch.
stable-0.4.x
|
Fri, 15 Jun 2007 20:17:56 +0000 |
cmlenz |
The I18n filter now skips the content of elements that have an `xml:lang` attribute with a fixed string value. Basically, `xml:lang` can now be used as a flag to mark specific sections as not needing localization.
|
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!
|
Thu, 07 Jun 2007 18:03:02 +0000 |
athomas |
Cut and copy transformer operations can now operate on selected attributes.
|
Thu, 07 Jun 2007 13:52:13 +0000 |
athomas |
Attributes selected with an XPath are now returned as an `Attrs()` object in
|
Wed, 06 Jun 2007 17:16:10 +0000 |
athomas |
More flexible transformation attribute set and delete. Attribute selections are
|
Wed, 06 Jun 2007 13:57:40 +0000 |
athomas |
Implemented XPath sub-expressions.
|
Wed, 06 Jun 2007 13:13:07 +0000 |
athomas |
Clarify !TransformMark docstrings.
|
Wed, 06 Jun 2007 12:51:54 +0000 |
athomas |
Fixed a bug where select() operated on the entire stream rather than only on
|
Wed, 06 Jun 2007 11:33:23 +0000 |
cmlenz |
Ported [616] to 0.4.x branch.
stable-0.4.x
|
Wed, 06 Jun 2007 11:31:44 +0000 |
cmlenz |
Fix for #125 (text template handling unicode source). Thanks to Christian Boos for the patch.
|
Wed, 06 Jun 2007 11:18:46 +0000 |
cmlenz |
Ported [611:614] to 0.4.x branch.
stable-0.4.x
|
Wed, 06 Jun 2007 10:41:41 +0000 |
cmlenz |
Use syntax highlighting on all the other doc pages, too.
|
Wed, 06 Jun 2007 10:07:47 +0000 |
athomas |
Add a test for buffer reset by copy().
|
Wed, 06 Jun 2007 10:06:29 +0000 |
cmlenz |
Enable syntax highlighting (with Pygments) on doc page.
|
Tue, 05 Jun 2007 13:55:24 +0000 |
cmlenz |
Update API docs for [610].
|
Tue, 05 Jun 2007 13:53:33 +0000 |
cmlenz |
Use explicit buffer class in transformer filter, and revert the breaking change to the builder module.
|
Tue, 05 Jun 2007 10:29:32 +0000 |
cmlenz |
Add transformer/translator filters to the doc page on stream filters.
|
Tue, 05 Jun 2007 09:33:00 +0000 |
cmlenz |
Renamed the transformation classes so that their role is clarified; extended the example in the package docstring to show chaining.
|
Mon, 04 Jun 2007 21:47:28 +0000 |
cmlenz |
Minor doc tweaks for new transformation filter.
|
Mon, 04 Jun 2007 17:44:02 +0000 |
cmlenz |
Minor doc and naming improvements for the new transformation filter.
|
Mon, 04 Jun 2007 17:13:10 +0000 |
cmlenz |
Added new markup transformation filter contributed by Alec Thomas (#122). This provides gorgeous jQuery-inspired stream transformation capabilities based on XPath expressions.
|
Fri, 01 Jun 2007 17:21:47 +0000 |
cmlenz |
Merged revisions 487-603 via svnmerge from
experimental-inline
|
Fri, 01 Jun 2007 17:11:49 +0000 |
cmlenz |
Initialized merge tracking via "svnmerge" with revisions "1-486" from [source:/trunk].
experimental-inline
|
Fri, 01 Jun 2007 12:22:50 +0000 |
cmlenz |
A couple of minor doc refinements.
|
Fri, 01 Jun 2007 11:36:13 +0000 |
cmlenz |
Some minor doc style improvements.
|
Wed, 30 May 2007 10:05:06 +0000 |
cmlenz |
Fix bug introduced in [575]: includes weren't being processed inside match templates.
|
Wed, 30 May 2007 09:35:33 +0000 |
cmlenz |
Ported [594:596] to 0.4.x branch.
stable-0.4.x
|
Wed, 30 May 2007 09:33:54 +0000 |
cmlenz |
The `doctype` parameter for serializers can now be a string.
|
Wed, 30 May 2007 09:27:49 +0000 |
cmlenz |
Fix another bug in the translation filter: translated attributes were getting added instead of replaced.
|
Wed, 30 May 2007 08:17:36 +0000 |
cmlenz |
Fix docstring typo.
|
Mon, 21 May 2007 09:26:35 +0000 |
cmlenz |
Bump up version number on 0.4.x branch.
stable-0.4.x
|
Mon, 21 May 2007 09:22:25 +0000 |
cmlenz |
Ported [589] to 0.4.x.
stable-0.4.x 0.4.1
|
Mon, 21 May 2007 09:20:29 +0000 |
cmlenz |
Set date for [milestone:0.4.1] release in ChangeLog.
|
Mon, 21 May 2007 09:13:09 +0000 |
cmlenz |
Ported [587] to 0.4.x.
stable-0.4.x
|
Mon, 21 May 2007 09:11:36 +0000 |
cmlenz |
Improve basic benchmark for Kid by storing the template class outside the render function. Closes #96.
|
Mon, 21 May 2007 08:31:48 +0000 |
cmlenz |
Ported [585] to 0.4.x.
stable-0.4.x
|
Mon, 21 May 2007 08:30:08 +0000 |
cmlenz |
Follow-up to [583]: Don't extract strings from interpolated attribute values for attributes that shouldn't be included.
|
Sun, 20 May 2007 17:12:10 +0000 |
cmlenz |
Ported [583] to 0.4.x.
stable-0.4.x
|
Sun, 20 May 2007 17:10:38 +0000 |
cmlenz |
Fix for handling of interpolated attribute values in translation filter.
|
Sun, 20 May 2007 16:24:16 +0000 |
cmlenz |
Ported [581] to 0.4.x.
stable-0.4.x
|
Sun, 20 May 2007 16:23:32 +0000 |
cmlenz |
Fix another typo in translation filter.
|
Mon, 14 May 2007 20:34:51 +0000 |
cmlenz |
Ported [579] (for #116) to 0.4.x.
stable-0.4.x
|
Mon, 14 May 2007 20:33:42 +0000 |
cmlenz |
Apply patch for #116.
|
Mon, 14 May 2007 20:28:47 +0000 |
cmlenz |
Ported [576] to 0.4.x.
stable-0.4.x
|
Mon, 14 May 2007 20:27:26 +0000 |
cmlenz |
Update documentation to include the new #include directive in text templates.
|
Mon, 14 May 2007 20:26:56 +0000 |
cmlenz |
Update documentation to reflect changes in [573].
|
Fri, 11 May 2007 21:54:49 +0000 |
cmlenz |
Added include directive for text templates (#115). Thanks to Alastair for the original patch.
|
Fri, 11 May 2007 11:34:00 +0000 |
cmlenz |
Ported [573] to 0.4.x.
stable-0.4.x
|
Fri, 11 May 2007 11:32:28 +0000 |
cmlenz |
Apply patch from #113, also closing #114.
|
Thu, 03 May 2007 10:24:56 +0000 |
cmlenz |
Ported [571] to 0.4.x.
stable-0.4.x
|
Thu, 03 May 2007 10:24:14 +0000 |
cmlenz |
The `HTMLFormFiller` stream filter no longer alters form elements for which the data element contains no corresponding item.
|
Mon, 30 Apr 2007 09:12:12 +0000 |
cmlenz |
Ported [569] to 0.4.x.
stable-0.4.x
|
Mon, 30 Apr 2007 09:10:45 +0000 |
cmlenz |
The I18n extraction now returns a tuple of strings for `ngettext` and similar functions.
|
Sat, 28 Apr 2007 23:07:15 +0000 |
cmlenz |
Ported [566] and [567] to 0.4.x.
stable-0.4.x
|
Sat, 28 Apr 2007 23:04:10 +0000 |
cmlenz |
Add some more localizable HTML attributes to the I18n filter.
|
Sat, 28 Apr 2007 22:51:02 +0000 |
cmlenz |
Fix another bad ref in the I18n filter.
|
Thu, 26 Apr 2007 09:47:13 +0000 |
cmlenz |
Ported [562] to 0.4.x.
stable-0.4.x
|
Thu, 26 Apr 2007 09:46:36 +0000 |
cmlenz |
Move the mapping of doctype names to tuples out of the plugin into the `DocType` class.
|
Thu, 26 Apr 2007 09:15:32 +0000 |
cmlenz |
Ported [560] to 0.4.x.
stable-0.4.x
|
Thu, 26 Apr 2007 09:14:30 +0000 |
cmlenz |
Add lower-level serialization functions.
|
Wed, 25 Apr 2007 19:42:12 +0000 |
cmlenz |
Port [558] to 0.4.x.
stable-0.4.x
|
Wed, 25 Apr 2007 19:41:09 +0000 |
cmlenz |
Apply patch by Alec Thomas for processing XML declarations (#111). Thanks!
|
Tue, 17 Apr 2007 18:44:57 +0000 |
cmlenz |
Port [554] to stable.
stable-0.4.x
|
Tue, 17 Apr 2007 18:35:29 +0000 |
cmlenz |
The `ET()` function now correctly handles attributes with a namespace.
|
Tue, 17 Apr 2007 12:37:59 +0000 |
cmlenz |
Port [552] to stable.
stable-0.4.x
|
Tue, 17 Apr 2007 12:36:57 +0000 |
cmlenz |
Fix incorrect reference to translation function in the I18N filter.
|
Mon, 16 Apr 2007 15:11:53 +0000 |
cmlenz |
Bump up version number on trunk.
|
Mon, 16 Apr 2007 15:11:37 +0000 |
cmlenz |
Bump up version number of 0.4.x branch.
stable-0.4.x
|
Mon, 16 Apr 2007 13:53:07 +0000 |
cmlenz |
Branch for 0.4.x releases.
stable-0.4.x 0.4.0
|
Mon, 16 Apr 2007 13:48:57 +0000 |
cmlenz |
Add `filters` package in `setup.py`.
|
Sat, 14 Apr 2007 22:29:09 +0000 |
cmlenz |
Fix broken link in documentation.
|
Fri, 13 Apr 2007 20:58:48 +0000 |
cmlenz |
Extend the I18n extraction to also yield function names if applicable.
|
Fri, 13 Apr 2007 13:16:04 +0000 |
cmlenz |
Updated filter examples in overview graphic.
|
Fri, 13 Apr 2007 11:54:02 +0000 |
cmlenz |
Add support for HTML5 doctype.
|
Fri, 13 Apr 2007 11:07:56 +0000 |
cmlenz |
Set missing ignores.
|
Fri, 13 Apr 2007 11:02:36 +0000 |
cmlenz |
Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
|
Fri, 13 Apr 2007 10:38:12 +0000 |
cmlenz |
Add documentation page on the plugin API.
|
Fri, 13 Apr 2007 06:10:39 +0000 |
cmlenz |
Set MIME type of new doc page.
|
Thu, 12 Apr 2007 23:32:19 +0000 |
cmlenz |
Set MIME type of new doc page.
|
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.
|
Wed, 11 Apr 2007 11:02:02 +0000 |
cmlenz |
Fix undefined error in TurboGears example app, and some cleanup.
|
Wed, 04 Apr 2007 17:18:08 +0000 |
cmlenz |
Add stricter error handling to upgrade notes.
|
Mon, 02 Apr 2007 19:43:31 +0000 |
cmlenz |
Add support for adding custom template filters by passing a custom callback function to the `TemplateLoader`. Closes #89 (see added unit test).
|
Mon, 02 Apr 2007 18:21:03 +0000 |
cmlenz |
Added documentation page on the builtin stream filters.
|
Mon, 02 Apr 2007 15:52:21 +0000 |
cmlenz |
Fix for #107.
|
Mon, 02 Apr 2007 13:54:10 +0000 |
cmlenz |
Raise syntax error on empty value for `py:replace` directive.
|
Thu, 22 Mar 2007 23:23:55 +0000 |
cmlenz |
More API doc enhancements.
|
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 21:12:03 +0000 |
cmlenz |
More API docs.
|
Thu, 22 Mar 2007 18:54:09 +0000 |
cmlenz |
* Updated change log
|
Thu, 22 Mar 2007 18:13:02 +0000 |
cmlenz |
* Don't allow `style` attributes by default in the `HTMLSanitizer`. Closes #97.
|
Thu, 22 Mar 2007 17:14:09 +0000 |
cmlenz |
Moved the `builder` document into the API docs.
|
Thu, 22 Mar 2007 17:00:09 +0000 |
cmlenz |
Updated docs for code blocks and changed error handling.
|
Thu, 22 Mar 2007 16:59:54 +0000 |
cmlenz |
Simplify undefined error message.
|
Thu, 22 Mar 2007 15:05:29 +0000 |
cmlenz |
More API documentation.
|
Thu, 22 Mar 2007 13:10:55 +0000 |
cmlenz |
Add epydoc-based API doc generation to the build.
|
Thu, 22 Mar 2007 12:45:18 +0000 |
cmlenz |
Try to use proper reStructuredText for docstrings throughout.
|
Tue, 20 Mar 2007 18:52:00 +0000 |
cmlenz |
Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
|
Tue, 20 Mar 2007 18:27:52 +0000 |
cmlenz |
Applied patch for #106 (handling of hex charrefs in HTML parser).
|
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.
|
Mon, 19 Mar 2007 17:21:00 +0000 |
cmlenz |
Add support for `len()` to the `Context` class.
|
Fri, 16 Mar 2007 09:13:02 +0000 |
cmlenz |
Fix for #105. Thanks to Maciej Ligenza for the patch.
|
Fri, 16 Mar 2007 08:58:54 +0000 |
cmlenz |
Make expression error handling more strict. Closes #88.
|
Mon, 12 Mar 2007 21:35:18 +0000 |
mgood |
filter empty values from the plugin search path
|
Mon, 12 Mar 2007 21:02:01 +0000 |
mgood |
if a search path is provided to the template plugin use it instead of the package-style naming
|
Mon, 12 Mar 2007 12:29:17 +0000 |
cmlenz |
`HTMLFormFiller` now correctly deals with non-string values in the data dictionary for select/checkbox/radio controls.
|
Mon, 12 Mar 2007 12:28:27 +0000 |
cmlenz |
Fix typo in upgrade notes.
|
Mon, 26 Feb 2007 20:43:02 +0000 |
cmlenz |
Fix unit tests broken by [504].
|
Mon, 26 Feb 2007 18:39:57 +0000 |
cmlenz |
Actually write xmlns declaratons for generated attribute namespace prefixes.
|
Mon, 26 Feb 2007 18:35:31 +0000 |
cmlenz |
Updated change log.
|
Mon, 26 Feb 2007 18:26:59 +0000 |
cmlenz |
Improve the handling of namespaces in serialization.
|
Wed, 21 Feb 2007 15:15:17 +0000 |
cmlenz |
Simplify `defined` function provided by template engine plugin.
|
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 12:59:23 +0000 |
cmlenz |
Reenable AST transformer dispatch cache.
|
Wed, 21 Feb 2007 10:26:38 +0000 |
cmlenz |
Support for Python code blocks using the `<?python ?>` processing instruction. Closes #84.
|
Wed, 21 Feb 2007 10:04:43 +0000 |
cmlenz |
Fix a couple of typos in the docs. Closes #99.
|
Wed, 21 Feb 2007 09:51:43 +0000 |
cmlenz |
Remove some magic/overhead from `Attrs` creation and manipulation by not automatically wrapping attribute names in `QName`.
|
Wed, 31 Jan 2007 17:36:47 +0000 |
cmlenz |
Fix output of namespace declarations for namespace URLs appearing more than once in a stream. Thanks to Jeff Cutsinger for reporting the problem.
|
Thu, 18 Jan 2007 15:41:47 +0000 |
cmlenz |
Make the `Markup` class available by default in template expressions. Closes #67.
|
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, 18 Jan 2007 14:52:42 +0000 |
cmlenz |
Rework parsing of expressions in template text, to be able to:
|
Tue, 02 Jan 2007 18:06:21 +0000 |
cmlenz |
inline branch: Merged [480:486/trunk].
experimental-inline
|
Tue, 02 Jan 2007 17:48:06 +0000 |
cmlenz |
* Moved some utility functions from `genshi.core` to `genshi.util` (backwards compatibility preserved via imports)
|
Sat, 30 Dec 2006 20:12:48 +0000 |
mgood |
add visitor for xor operator
|
Thu, 28 Dec 2006 18:17:10 +0000 |
cmlenz |
inline branch: Merged [439:479/trunk].
experimental-inline
|
Thu, 28 Dec 2006 17:50:40 +0000 |
cmlenz |
Minor doc fixes.
|
Mon, 18 Dec 2006 23:28:08 +0000 |
mgood |
add support for Python 2.5 conditional expressions (fixes #74)
|
Mon, 11 Dec 2006 12:20:23 +0000 |
cmlenz |
Bump up version number on 0.3.x branch.
stable-0.3.x
|
Mon, 11 Dec 2006 12:11:42 +0000 |
cmlenz |
0.3.x branch: ported [468].
stable-0.3.x 0.3.6
|
Mon, 11 Dec 2006 12:09:18 +0000 |
cmlenz |
Fix test breakage introduced in [471].
stable-0.3.x
|
Mon, 11 Dec 2006 12:08:10 +0000 |
cmlenz |
0.3.x branch: ported [461] and [469].
stable-0.3.x
|
Mon, 11 Dec 2006 12:06:28 +0000 |
cmlenz |
0.3.x branch: add unit test for `Undefined` checks in template expressions.
stable-0.3.x
|
Mon, 11 Dec 2006 12:05:34 +0000 |
cmlenz |
Update change log for [milestone:0.3.6].
|
Mon, 11 Dec 2006 11:13:35 +0000 |
cmlenz |
Unit test fixes for Python 2.3.
|
Wed, 06 Dec 2006 18:20:11 +0000 |
cmlenz |
Updated WebPy example for 0.2.
|
Mon, 04 Dec 2006 19:00:46 +0000 |
cmlenz |
Fix for infinite loop in XPath test. Closes #82.
|
Mon, 04 Dec 2006 18:26:14 +0000 |
cmlenz |
Fix duplicate unit test name reported in #83.
|
Fri, 01 Dec 2006 23:43:59 +0000 |
cmlenz |
* Added documentation for the various stream event kinds.
|
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.
|
Fri, 24 Nov 2006 17:31:02 +0000 |
cmlenz |
Fail gracefully in `Directive.__repr__` if the `expr` attribute does not exist for some reason I don't really understand right now (see Trac ticket [http://trac.edgewall.org/ticket/4249 #4249]).
|
Thu, 23 Nov 2006 17:48:17 +0000 |
cmlenz |
The builder API now accepts streams as children of elements and fragments.
|
Thu, 23 Nov 2006 17:41:52 +0000 |
cmlenz |
Improve handling of incorrectly nested tags in the HTML parser.
|
Thu, 23 Nov 2006 12:36:43 +0000 |
cmlenz |
Add `Attrs` class to `genshi.core.__all__`, so that it can be imported directly from the `genshi` package.
|
Thu, 23 Nov 2006 11:28:15 +0000 |
cmlenz |
Fix parsing of processing instructions in HTML input.
|
Thu, 23 Nov 2006 11:23:35 +0000 |
cmlenz |
Tiny simplification of the template engine plugin, taking advantage of the `default_class` parameter added to the `TemplateLoader` in [443].
|
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 21:23:42 +0000 |
cmlenz |
Bump up version number on 0.3.x branch.
stable-0.3.x
|
Wed, 22 Nov 2006 21:17:33 +0000 |
cmlenz |
Ported [451] to 0.3.x.
stable-0.3.x 0.3.5
|
Wed, 22 Nov 2006 21:11:30 +0000 |
cmlenz |
Update change log for [milestone:0.3.5].
|
Wed, 22 Nov 2006 21:03:31 +0000 |
cmlenz |
Ported [445] to 0.3.x.
stable-0.3.x
|
Wed, 22 Nov 2006 21:00:43 +0000 |
cmlenz |
Ported [444] to 0.3.x.
stable-0.3.x
|
Wed, 22 Nov 2006 20:55:08 +0000 |
cmlenz |
Ported [425] to 0.3.x.
stable-0.3.x
|
Wed, 22 Nov 2006 20:53:30 +0000 |
cmlenz |
Ported [409] to 0.3.x.
stable-0.3.x
|
Wed, 22 Nov 2006 20:52:40 +0000 |
cmlenz |
Ported [410] to 0.3.x.
stable-0.3.x
|
Wed, 22 Nov 2006 20:48:35 +0000 |
cmlenz |
Fix for #62: preserve whitespace in front of directives.
|
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).
|
Mon, 20 Nov 2006 14:56:53 +0000 |
cmlenz |
Fix mistake in [440].
|
Mon, 20 Nov 2006 12:23:29 +0000 |
cmlenz |
Move `Directive.tagname` into metaclass.
|
Thu, 16 Nov 2006 19:58:43 +0000 |
cmlenz |
inline branch: use array to predeclare qnames, attrs, and expressions.
experimental-inline
|
Thu, 16 Nov 2006 16:22:14 +0000 |
cmlenz |
inline branch: Merged [437].
experimental-inline
|
Thu, 16 Nov 2006 16:18:21 +0000 |
cmlenz |
Improve the way locals (in list comprehensions, lambdas and generator expressions) are handled in template expressions.
|
Wed, 15 Nov 2006 21:47:24 +0000 |
cmlenz |
inline branch: minor tweaks, removed currently unsupported directives
experimental-inline
|
Mon, 13 Nov 2006 18:16:57 +0000 |
cmlenz |
inline branch: Merged [430:434/trunk].
experimental-inline
|
Mon, 13 Nov 2006 10:40:22 +0000 |
cmlenz |
Remove unused code from text template plugin.
|
Mon, 13 Nov 2006 10:15:53 +0000 |
cmlenz |
Unit tests for the template engine plugin(s).
|
Sun, 12 Nov 2006 22:46:17 +0000 |
cmlenz |
Fix template engine plugin broken in refactoring. Thanks to Waldemar Osuch for the patch. Closes #76.
|
Fri, 10 Nov 2006 23:32:24 +0000 |
cmlenz |
The `py:content`, `py:replace`, and `py:strip=""` directives are now expanded when the template is loaded (as opposed to when it's rendered).
|
Fri, 10 Nov 2006 18:39:07 +0000 |
cmlenz |
inline branch: Reverted accidential check-in [429].
experimental-inline
|
Fri, 10 Nov 2006 18:20:43 +0000 |
cmlenz |
inline branch: adapted to the immutble `Attrs` change, and various other fixes.
experimental-inline
|
Fri, 10 Nov 2006 18:13:36 +0000 |
cmlenz |
inline branch: adapted to the immutble `Attrs` change, and various other fixes.
experimental-inline
|
Fri, 10 Nov 2006 17:38:50 +0000 |
cmlenz |
cspeedups branch: Merged [423:426/trunk].
experimental-inline
|
Fri, 10 Nov 2006 17:25:52 +0000 |
cmlenz |
Whitespace was not getting preserved in HTML `<pre>` elements that contained other HTML elements.
|
Fri, 10 Nov 2006 15:27:36 +0000 |
cmlenz |
Make `Attrs` instances immutable.
|
Fri, 10 Nov 2006 10:13:12 +0000 |
cmlenz |
inline branch: Merged [419:421/trunk].
experimental-inline
|
Fri, 10 Nov 2006 10:00:44 +0000 |
cmlenz |
Remove automatic calling of expression evaluation results if they are callable. See [http://groups.google.com/group/genshi/browse_thread/thread/f515986760918d41 this mailing list thread].
|
Thu, 09 Nov 2006 20:06:24 +0000 |
cmlenz |
inline branch: support for the def directive.
experimental-inline
|
Thu, 09 Nov 2006 16:43:21 +0000 |
cmlenz |
inline branch: Merged [418], and take advantage of it in the inlining code.
experimental-inline
|
Thu, 09 Nov 2006 16:42:08 +0000 |
cmlenz |
Make expressions hashable.
|
Thu, 09 Nov 2006 16:10:36 +0000 |
cmlenz |
First code for the `inline` branch? only bits and pieces working right now.
experimental-inline
|
Thu, 09 Nov 2006 16:01:34 +0000 |
cmlenz |
Starting another code generation branch to try out some different ideas.
experimental-inline
|
Thu, 09 Nov 2006 01:11:46 +0000 |
zzzeek |
- using QName/Attrs now, is faster if match templates are being used, only slightly slower if not
experimental-compiler
|
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.
|
Wed, 08 Nov 2006 12:03:20 +0000 |
cmlenz |
Fix typo in `dummy_threading` import
|
Wed, 08 Nov 2006 00:55:13 +0000 |
zzzeek |
got a few more unit tests working. need to figure out path.select() better
experimental-compiler
|
Tue, 07 Nov 2006 17:50:28 +0000 |
cmlenz |
Fix XPath traversal in match templates. Previously, `div/p` would be treated the same as `div//p`, i.e. it would match all descendants and not just the immediate children.
|
Tue, 07 Nov 2006 14:28:02 +0000 |
cmlenz |
* Fixed `basic.py` benchmark on Windows, closing #72. Thanks to John M. Camara for reporting the issue and providing the fix.
|
Mon, 06 Nov 2006 18:31:38 +0000 |
zzzeek |
match/select functionality added. continued development of generators/streams/adaptation.
experimental-compiler
|
Mon, 06 Nov 2006 18:28:23 +0000 |
cmlenz |
XPath tests should never return event tuples, just values or booleans.
|
Sun, 05 Nov 2006 20:54:03 +0000 |
zzzeek |
inlined generation some more, with the adapters module converting
experimental-compiler
|
Sun, 05 Nov 2006 01:25:43 +0000 |
zzzeek |
better system for def's to work; doing a little benchmarking.
experimental-compiler
|
Sat, 04 Nov 2006 21:01:42 +0000 |
zzzeek |
- further dev on codegen.
experimental-compiler
|
Thu, 02 Nov 2006 11:38:10 +0000 |
cmlenz |
Fixed `__repr__` of the `QName`, `Attrs`, and `Expression` classes so that the output can be used as code to instantiate the object again.
|
Thu, 02 Nov 2006 09:36:26 +0000 |
cmlenz |
Bump up version number on 0.3.x branch.
stable-0.3.x
|
Thu, 02 Nov 2006 09:33:01 +0000 |
cmlenz |
Ported [398] to 0.3.x branch.
stable-0.3.x
|
Thu, 02 Nov 2006 09:32:20 +0000 |
cmlenz |
Prepare for [milestone:0.3.4] release.
|
Tue, 31 Oct 2006 18:13:35 +0000 |
zzzeek |
- created 'codegen' package
experimental-compiler
|
Mon, 30 Oct 2006 17:24:10 +0000 |
zzzeek |
branch for developing inline-compilation of Genshi templates
experimental-compiler
|
Tue, 24 Oct 2006 16:44:32 +0000 |
cmlenz |
Forgot to add myghty templates for [393].
|
Tue, 24 Oct 2006 16:27:41 +0000 |
cmlenz |
Add [http://www.myghty.org/ Myghty] to the benchmarks, kindly contributed by Mike Bayer.
|
Tue, 24 Oct 2006 16:14:04 +0000 |
cmlenz |
Ported [389:391] to 0.3.x branch.
stable-0.3.x
|
Tue, 24 Oct 2006 16:10:09 +0000 |
cmlenz |
Update change log, and some minor tweaks to keyword argument ordering for the new `encoding` parameter.
|
Tue, 24 Oct 2006 15:52:57 +0000 |
cmlenz |
Configurable encoding of template files, closing #65.
|
Tue, 24 Oct 2006 15:00:27 +0000 |
cmlenz |
Ported [383:387] to 0.3.x stable branch.
stable-0.3.x
|
Tue, 24 Oct 2006 14:27:51 +0000 |
cmlenz |
Improved the unit tests for nested namespaces in serialization.
|
Tue, 24 Oct 2006 14:16:22 +0000 |
cmlenz |
Handle expressions containing non-ASCII strings as arguments for `py:with`, `py:def`, and `py:for`.
|
Sun, 22 Oct 2006 16:44:18 +0000 |
cmlenz |
Follow-up to [385]: also decode attribute values in the `HTMLParser`.
|
Sun, 22 Oct 2006 14:57:40 +0000 |
cmlenz |
* The `HTMLParser` class and the `HTML` function now accept an `encoding` parameter to properly deal with bytestring input (defaults to UTF-8).
|
Tue, 17 Oct 2006 14:42:27 +0000 |
cmlenz |
Embedded expressions didn't have their absolute filename set.
|
Tue, 17 Oct 2006 14:06:30 +0000 |
cmlenz |
The template engine plugin now defaults to automatically reload modified templates, as it was before the introduction of plugin config options in [359].
|
Tue, 17 Oct 2006 11:38:26 +0000 |
cmlenz |
Hide some internal expression evaluation frames from traceback display for apps that support the `__traceback_hide__` protocol (see [http://pythonpaste.org/class-paste.exceptions.collector.ExceptionCollector.html paste.exceptions.collector]).
|
Mon, 16 Oct 2006 17:47:27 +0000 |
cmlenz |
Fix representation of expressions created from AST nodes.
|
Mon, 16 Oct 2006 16:41:06 +0000 |
cmlenz |
Minor optimization for XPath evaluation.
|
Mon, 16 Oct 2006 15:15:53 +0000 |
cmlenz |
Various performance-oriented tweaks.
|
Mon, 16 Oct 2006 12:16:33 +0000 |
cmlenz |
Return an `Undefined` instance from failed item or attribute lookups.
|
Mon, 16 Oct 2006 09:27:00 +0000 |
cmlenz |
Ported [374] to 0.3.x branch.
stable-0.3.x
|
Mon, 16 Oct 2006 09:25:40 +0000 |
cmlenz |
Updated change log.
|
Mon, 16 Oct 2006 08:11:47 +0000 |
cmlenz |
Ported [370] to 0.3.x branch.
stable-0.3.x 0.3.3
|
Mon, 16 Oct 2006 08:08:13 +0000 |
cmlenz |
Reenable includes to work without an search path. Closes #63.
|
Sat, 14 Oct 2006 20:07:08 +0000 |
cmlenz |
The `format` parameter and config option was being ignored in the plugin. Thanks to Graham Higgins for reporting the problem.
|
Fri, 13 Oct 2006 15:03:52 +0000 |
cmlenz |
Ported [364] to 0.3.x branch.
stable-0.3.x
|
Fri, 13 Oct 2006 15:02:51 +0000 |
cmlenz |
Allow `when` directives to omit the test expression as long as the associated `choose` directive does have one. In that case, the `when` branch is followed if the expression of the `choose` directive evaluates to a truth value.
|
Fri, 13 Oct 2006 14:27:15 +0000 |
cmlenz |
Some changes to usage of absolute vs. relative template paths to ensure that the filenamed-keyed cache employed by the `TemplateLoader` doesn't mix up templates with the same name, but from different subdirectories.
|
Fri, 13 Oct 2006 13:46:09 +0000 |
cmlenz |
Ported [361:362] to 0.3.x branch.
stable-0.3.x
|
Fri, 13 Oct 2006 13:44:55 +0000 |
cmlenz |
Updated change log.
|
Fri, 13 Oct 2006 13:42:38 +0000 |
cmlenz |
Fix a bug in the XML parser, where attributes containing HTML entity references would get pulled out of the attribute value, and instead added as a text node just before the associated start tag. Thanks to Hamish Lawson for [http://groups.google.com/group/genshi/browse_thread/thread/c64eb48676b0ff96/0e6ce786e8820f3d pointing out the problem].
|
Fri, 13 Oct 2006 09:35:08 +0000 |
cmlenz |
A couple for unit tests for match templates, including one that currently fails (and is commented out).
|
Fri, 13 Oct 2006 09:17:57 +0000 |
cmlenz |
Add support for a range of options to the template engine plugin. See [http://groups.google.com/group/genshi/browse_thread/thread/8727f16edfce4727#3ee98255f84e4dcf this mailing list post].
|
Fri, 13 Oct 2006 08:16:43 +0000 |
cmlenz |
Move the ElementTree ''element-to-stream'' adaptation function `ET()` into the `genshi.input` module.
|
Fri, 13 Oct 2006 07:43:41 +0000 |
cmlenz |
Ported [356] to 0.3.x branch.
stable-0.3.x
|
Fri, 13 Oct 2006 07:43:02 +0000 |
cmlenz |
Fix bug introduced in [343], that broke the parsing of templates which declare the same namespace more than once in a nested fashion. Thanks to Graham Higgins for reporting the problem.
|
Thu, 12 Oct 2006 12:48:36 +0000 |
cmlenz |
Bump up version number of 0.3.x branch.
stable-0.3.x
|
Thu, 12 Oct 2006 12:45:20 +0000 |
cmlenz |
Updated change log on 0.3.x branch.
stable-0.3.x 0.3.2
|
Thu, 12 Oct 2006 12:43:46 +0000 |
cmlenz |
Updated change log.
|
Thu, 12 Oct 2006 12:40:43 +0000 |
cmlenz |
Ported [338], [343] and [345:349/trunk] to 0.3.x stable branch.
stable-0.3.x
|
Thu, 12 Oct 2006 12:23:38 +0000 |
cmlenz |
Fix regression introduced in [333:334]: includes no longer used the search path, because the loader was always seeing an absolute path.
|
Mon, 09 Oct 2006 20:45:17 +0000 |
cmlenz |
Fix `starts-with()` XPath function so that it actually compares the two strings. Closes #61.
|
Mon, 09 Oct 2006 19:25:41 +0000 |
cmlenz |
Better error message when trying a `py:for` loop over an object that is not iterable. Closes #60.
|
Sat, 07 Oct 2006 19:18:05 +0000 |
cmlenz |
The content of `<script>` and `<style>` elements is no longer escaped when serializing to HTML but declaring the XHTML namespace in the template.
|
Mon, 02 Oct 2006 19:08:36 +0000 |
cmlenz |
Some adjustments to make core data structures picklable (requires protocol 2).
|
Mon, 02 Oct 2006 10:49:32 +0000 |
cmlenz |
Fix the handling of namespace context for match templates.
|
Mon, 02 Oct 2006 09:45:06 +0000 |
cmlenz |
The `HTMLSanitizer` now lets you override the default set of tag and attribute names that are considered safe.
|
Mon, 02 Oct 2006 09:30:46 +0000 |
cmlenz |
Updated change log.
|
Sun, 01 Oct 2006 22:54:57 +0000 |
cmlenz |
Integrated `HTMLFormFiller` filter initially presented as a [wiki:FormFilling#Usingatemplatefilter recipe].
|
Sun, 01 Oct 2006 15:33:02 +0000 |
cmlenz |
Use an LRU cache for caching parsed templates in the `TemplateLoader`. LRU cache implementation is a simplified version of the `LRUCache` class in [http://www.myghty.org/ Myghty].
|
Sun, 01 Oct 2006 15:30:35 +0000 |
cmlenz |
Small doc fix.
|
Wed, 27 Sep 2006 09:27:17 +0000 |
cmlenz |
Ported [330],[333], and [334] to 0.3.x stable branch.
stable-0.3.x 0.3.4
|
Wed, 27 Sep 2006 09:22:46 +0000 |
cmlenz |
Still too much whitespace in the [WebPy web.py] example. Switch to printing the whole output at once.
|
Wed, 27 Sep 2006 09:20:45 +0000 |
cmlenz |
The [WebPy web.py] example was generating extraneous line breaks.
|
Wed, 27 Sep 2006 09:19:07 +0000 |
cmlenz |
* Better approach for absolute template paths in exceptions than what was checked in in [333]. Also, errors from `TextTemplate`s now also have absolute file paths.
|
Mon, 25 Sep 2006 13:27:29 +0000 |
cmlenz |
Use absolute template path in exceptions, so that the corresponding code can be shown in tracebacks.
|
Mon, 25 Sep 2006 13:26:42 +0000 |
cmlenz |
Add [WebPy web.py] example app.
|
Sun, 24 Sep 2006 14:33:26 +0000 |
cmlenz |
Added an example CherryPy application.
|
Fri, 22 Sep 2006 17:22:53 +0000 |
cmlenz |
Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
|
Fri, 22 Sep 2006 13:49:24 +0000 |
cmlenz |
Bumped up version number on 0.3.x stable branch.
stable-0.3.x
|
Fri, 22 Sep 2006 13:35:01 +0000 |
cmlenz |
Ported [325] to 0.3.x stable branch.
stable-0.3.x
|
Fri, 22 Sep 2006 13:34:03 +0000 |
cmlenz |
Prepare [milestone:0.3.1] release.
|
Fri, 22 Sep 2006 12:07:23 +0000 |
cmlenz |
Ported [321:323] to 0.3.x stable branch.
stable-0.3.x
|
Fri, 22 Sep 2006 12:05:49 +0000 |
cmlenz |
Updated change log.
|
Fri, 22 Sep 2006 11:40:24 +0000 |
cmlenz |
Fix bug in evaluating XPath expressions using the union operator `|`, which caused any path but the first to get out of sync with the event stream, and the whole thing returning too few results.
|
Thu, 21 Sep 2006 16:28:09 +0000 |
cmlenz |
Fix for #56: an include inside a matched element wasn't seeing the correct context data frames.
|
Sun, 17 Sep 2006 21:58:52 +0000 |
cmlenz |
Ported [318] to 0.3.x stable branch.
stable-0.3.x
|
Sun, 17 Sep 2006 21:58:05 +0000 |
cmlenz |
Fix download URL.
|
Sun, 17 Sep 2006 20:42:31 +0000 |
cmlenz |
Bump version number on trunk.
|
Sun, 17 Sep 2006 20:42:01 +0000 |
cmlenz |
Bump up version number on 0.3.x branch.
stable-0.3.x
|
Sun, 17 Sep 2006 20:37:19 +0000 |
cmlenz |
Prepare [milestone:0.3] release.
stable-0.3.x 0.3.0 0.3.1
|
Sun, 17 Sep 2006 20:36:09 +0000 |
cmlenz |
Add release date to change log.
|
Sun, 17 Sep 2006 13:21:42 +0000 |
cmlenz |
Remove another duplicate unit test, and add two more interpolation tests.
|
Sun, 17 Sep 2006 10:25:45 +0000 |
cmlenz |
Remove duplicate XPath operator definition.
|
Sun, 17 Sep 2006 10:17:41 +0000 |
cmlenz |
Remove duplicate interpolation unit test.
|
Sun, 17 Sep 2006 10:16:15 +0000 |
cmlenz |
* Add `MANIFEST.in` so that the generated HTML documentation is included in the source distribution.
|
Thu, 14 Sep 2006 17:32:55 +0000 |
mgood |
the TG <body> match templates should also select text nodes to output
|
Wed, 13 Sep 2006 17:19:30 +0000 |
cmlenz |
Document that `#end` markers in text templates can be used as comments.
|
Wed, 13 Sep 2006 17:09:30 +0000 |
cmlenz |
Add test for escaping comments in text templates.
|
Wed, 13 Sep 2006 17:05:21 +0000 |
cmlenz |
Fixes for the text template docs.
|
Wed, 13 Sep 2006 16:49:20 +0000 |
cmlenz |
Fix MIME type of text templates documentation page.
|
Wed, 13 Sep 2006 16:44:12 +0000 |
cmlenz |
Implement comments and directive escaping for text templates.
|
Wed, 13 Sep 2006 14:52:58 +0000 |
cmlenz |
* Added basic documentation for the text-based template language.
|
Tue, 12 Sep 2006 17:55:35 +0000 |
cmlenz |
Fixed EOL style.
|
Tue, 12 Sep 2006 16:44:36 +0000 |
cmlenz |
Further simplification of the XPath engine.
|
Tue, 12 Sep 2006 16:15:11 +0000 |
cmlenz |
Updated overview graphic.
|
Tue, 12 Sep 2006 15:59:10 +0000 |
cmlenz |
Flatten outline of XML templating documentation.
|
Tue, 12 Sep 2006 15:53:26 +0000 |
cmlenz |
Fix title on index page of HTML docs.
|
Tue, 12 Sep 2006 15:35:42 +0000 |
cmlenz |
Beautified the HTML docs a bit.
|
Tue, 12 Sep 2006 14:08:36 +0000 |
cmlenz |
* Minor simplification of XPath engine.
|
Tue, 12 Sep 2006 13:30:26 +0000 |
cmlenz |
* Added implementation of a simple text-based template engine. Closes #47.
|
Mon, 11 Sep 2006 16:03:07 +0000 |
cmlenz |
Set MIME type of reStructuredText docs.
|
Mon, 11 Sep 2006 15:14:20 +0000 |
cmlenz |
typo
|
Mon, 11 Sep 2006 15:07:07 +0000 |
cmlenz |
Renamed Markup to Genshi in repository.
|
Mon, 11 Sep 2006 09:47:21 +0000 |
cmlenz |
Add support for loading a template from a string to the template engine plugin. Closes #52. Thanks to Alberto for the patch.
|
Fri, 08 Sep 2006 10:51:14 +0000 |
cmlenz |
Add support for position predicates in XPath expressions.
|
Fri, 08 Sep 2006 09:17:42 +0000 |
cmlenz |
Use list comprehension instead of `map()` in the AST transformer.
|
Fri, 08 Sep 2006 08:44:31 +0000 |
cmlenz |
Add reStructuredText documentation files.
|
Thu, 07 Sep 2006 20:40:56 +0000 |
mgood |
support slices in expressions (fixes #51)
|
Wed, 06 Sep 2006 14:39:50 +0000 |
cmlenz |
Implement support for namespace prefixes in XPath expressions.
|
Wed, 06 Sep 2006 11:35:29 +0000 |
cmlenz |
Fix typo introduced in [272].
|
Tue, 05 Sep 2006 20:36:39 +0000 |
cmlenz |
`BadDirectiveError` no longer expects a `QName` as the directive name; a regular string should do.
|
Tue, 05 Sep 2006 16:35:54 +0000 |
cmlenz |
Fix Python 2.3 incompatibility introduced in [276].
|
Tue, 05 Sep 2006 16:33:13 +0000 |
cmlenz |
Fix for #45 and #46: properly support assignment to nested tuples in `py:for` and `py:with` directives.
|
Tue, 05 Sep 2006 13:35:53 +0000 |
cmlenz |
Minor improvements to `WhitespaceFilter`.
|
Mon, 04 Sep 2006 23:41:10 +0000 |
cmlenz |
Updated change log.
|
Mon, 04 Sep 2006 23:27:38 +0000 |
cmlenz |
Fix `py:match` directive which would screw up in some scenarios due to incorrect handling of the substream. Closes #49.
|
Mon, 04 Sep 2006 19:29:32 +0000 |
cmlenz |
Many fixes to XPath evaluation. Among other things, this should get rid of the bug that attributes were getting ?pulled up? by `py:match` directives using `py:attrs="select('@*')"` (see #50).
|
Fri, 01 Sep 2006 13:45:42 +0000 |
cmlenz |
A couple of minor XPath fixes.
|
Thu, 31 Aug 2006 15:21:14 +0000 |
cmlenz |
Cosmetic change to internal template initialization.
|
Thu, 31 Aug 2006 08:49:37 +0000 |
cmlenz |
Store original message in exceptions as `msg` ivar.
|
Wed, 30 Aug 2006 12:40:44 +0000 |
cmlenz |
Refactored the handling of empty tags in the serializer: use an `EmptyTagFilter` that combines adjacent start/end events, instead of the generic pushback-iterator.
|
Tue, 29 Aug 2006 21:14:58 +0000 |
cmlenz |
Fix another regression introduced in [258]: some kinds of cascaded match templates were broken, for example in the TurboGears example app.
|
Tue, 29 Aug 2006 17:35:32 +0000 |
cmlenz |
Fix regression introduced in [258]. More fixes needed?
|
Tue, 29 Aug 2006 16:34:40 +0000 |
cmlenz |
* Fix bug in handling of undefined entities. Thanks to Arnar for reporting the issue on IRC.
|
Tue, 29 Aug 2006 15:44:54 +0000 |
cmlenz |
Cleanup the application of template processing steps (flatten, eval, match) so that they are only performed when necessary. Results in a small performance boost, and also fixes #35.
|
Tue, 29 Aug 2006 12:14:36 +0000 |
cmlenz |
The `XMLParser` now correctly handles unicode input. Closes #43.
|
Tue, 29 Aug 2006 10:56:33 +0000 |
cmlenz |
`TypeError`s raised by `py:def` macros (and other expressions producing streams) are no longer silently ignored. Closes #44.
|
Sat, 26 Aug 2006 00:17:03 +0000 |
cmlenz |
Add doctest to verify that the `py:attrs` directive correctly handles a sequence of `(name, value)` tuples.
|
Fri, 25 Aug 2006 23:58:36 +0000 |
cmlenz |
* Implement reverse add/mul operators for `Markup` class, so that the result is also a `Markup` instance.
|
Fri, 25 Aug 2006 13:12:39 +0000 |
cmlenz |
Fix for handling function calls with star/dstar arguments in expressions. Closes #42. Many thanks to David Fraser for reporting the problem and providing a patch!
|
Fri, 25 Aug 2006 12:43:01 +0000 |
cmlenz |
Remove the (hopefully) last instance where directives store state in instance variables, allowing templates to be cached and reused in a threadsafe manner. Closes #39. Many thanks to Christian Boos for the patch!
|
Fri, 25 Aug 2006 12:39:55 +0000 |
cmlenz |
The `TextSerializer` should produce `unicode` objects, not `Markup` objects.
|
Fri, 25 Aug 2006 11:14:04 +0000 |
cmlenz |
Add serialization to plain text, based on cboos' patch. Closes #41.
|
Fri, 25 Aug 2006 10:08:46 +0000 |
cmlenz |
* Removed storage of substream in `MatchDirective`, because it's already being stored in the match templates (related to #39).
|
Thu, 24 Aug 2006 22:42:07 +0000 |
mgood |
Implemented support for generator expressions (fixes #16)
|
Thu, 24 Aug 2006 21:02:00 +0000 |
mgood |
simplify the `value_of` method exported in the template plugin
|
Thu, 24 Aug 2006 19:12:12 +0000 |
cmlenz |
Fix refactoring leftover from [242]. Closes #40.
|
Thu, 24 Aug 2006 19:06:23 +0000 |
cmlenz |
Fix missing import in unit test added in [244].
|
Thu, 24 Aug 2006 19:05:22 +0000 |
cmlenz |
Fix regression introduced in [242]: any reference to an undefined name would result in a `NameError`.
|
Thu, 24 Aug 2006 19:03:24 +0000 |
cmlenz |
Fix for Python 2.3 compatibility in `py:with` directive (regression in [240]).
|
Wed, 23 Aug 2006 17:49:14 +0000 |
cmlenz |
Expression evaluation now differentiates between undefined variables and variables that are defined but set to `None`.
|
Wed, 23 Aug 2006 15:00:28 +0000 |
cmlenz |
Allow leading whitespace in expressions. Closes #38. Thanks to Christian Boos for the patch!
|
Wed, 23 Aug 2006 14:33:37 +0000 |
cmlenz |
Improvements for the `py:with` directive:
|
Tue, 22 Aug 2006 15:39:28 +0000 |
cmlenz |
Bump up version number on trunk.
|
Tue, 22 Aug 2006 15:38:49 +0000 |
cmlenz |
Bump up version number on 0.2.x branch.
stable-0.2.x
|
Tue, 22 Aug 2006 15:28:35 +0000 |
cmlenz |
Prepare [milestone:0.2] release.
stable-0.2.x 0.2.0
|
Tue, 22 Aug 2006 15:25:45 +0000 |
cmlenz |
Moved installation instructions to `INSTALL.txt`.
|
Tue, 22 Aug 2006 14:52:44 +0000 |
cmlenz |
Fix for #34: `py:def` macros can now be invoked from within expressions in attribute values.
|
Tue, 22 Aug 2006 13:16:09 +0000 |
cmlenz |
Interpolate multiline expressions in templates. Thanks to Christian Boos for reporting the problem and providing the fix.
|
Mon, 21 Aug 2006 23:06:38 +0000 |
cmlenz |
Follow-up to [227]. Forgot to rename one instance of `Attributes`.
|
Mon, 21 Aug 2006 20:03:13 +0000 |
cmlenz |
Renamed `Attributes` to `Attrs` to reduce the verbosity.
|
Mon, 21 Aug 2006 19:51:07 +0000 |
cmlenz |
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
|
Mon, 21 Aug 2006 19:25:29 +0000 |
cmlenz |
String literals in XPath expressions are assumed to be UTF-8 encoded.
|
Mon, 21 Aug 2006 17:25:19 +0000 |
cmlenz |
Implemented support for XPath variables in predicates (#31).
|
Mon, 21 Aug 2006 15:36:29 +0000 |
cmlenz |
Fix bug in XHTML serialization: all elements were allowed to be written out as empty if the namespace was set.
|
Mon, 21 Aug 2006 15:00:35 +0000 |
cmlenz |
* Minor fix for the XHTML serializer (the local namespace var got clobbered)
|
Mon, 21 Aug 2006 14:55:06 +0000 |
cmlenz |
Fix control flow for error message when template search path is empty.
|
Sun, 20 Aug 2006 12:08:50 +0000 |
cmlenz |
Raise error when template search path is empty.
|
Sun, 20 Aug 2006 11:41:58 +0000 |
cmlenz |
Added test case for includes without a search path.
|
Sun, 20 Aug 2006 11:35:46 +0000 |
cmlenz |
Fix for #33.
|
Fri, 18 Aug 2006 23:23:45 +0000 |
cmlenz |
Fix for #30 (trouble using `py:def`inside a match template)
|
Fri, 18 Aug 2006 12:50:46 +0000 |
cmlenz |
Follow-up to [214]: allow initializing `Attributes` with attribute names that contain dashes or conflict with a reserved word (such as ?class?.)
|
Fri, 18 Aug 2006 12:40:55 +0000 |
cmlenz |
Allow initialization of `Attributes` with keyword arguments.
|
Fri, 18 Aug 2006 11:37:40 +0000 |
cmlenz |
Fix syntax error in `path` module.
|
Thu, 17 Aug 2006 17:08:42 +0000 |
cmlenz |
Added recent changes to change log file.
|
Thu, 17 Aug 2006 15:22:12 +0000 |
cmlenz |
Handle non-ASCII characters in expressions. Closes #29. Thanks to Arnar Birgisson for reporting the problem and comping up with a patch!
|
Thu, 17 Aug 2006 14:53:28 +0000 |
cmlenz |
Better error reporting for errors in directive expressions, and when `py:otherwise`/`py:when` are used outside a `py:choose` directive. Thanks to Christian Boos for the initial patch.
|
Thu, 17 Aug 2006 14:02:58 +0000 |
cmlenz |
Fix handling of keyword arguments in `py:def` directive. Thanks to Christian Boos for reporting the problem and providing the basic patch for this change.
|
Wed, 16 Aug 2006 23:06:32 +0000 |
cmlenz |
Report error when position predicates are used in XPath expressions (which is NYI).
|
Wed, 16 Aug 2006 23:03:58 +0000 |
cmlenz |
Support for XPath number literals including decimal places.
|
Wed, 16 Aug 2006 22:48:48 +0000 |
cmlenz |
Implement the XPath relational operators and the `round()` function.
|
Wed, 16 Aug 2006 22:32:31 +0000 |
cmlenz |
Various docstring additions and other cosmetic changes.
|
Wed, 16 Aug 2006 21:54:49 +0000 |
cmlenz |
Attribute order in parsed XML is now preserved.
|
Wed, 16 Aug 2006 21:30:55 +0000 |
cmlenz |
Another changelog update
|
Wed, 16 Aug 2006 21:29:48 +0000 |
cmlenz |
* Add test case for SVG content embedded in an HTML document.
|
Wed, 16 Aug 2006 18:31:56 +0000 |
cmlenz |
Fix for backwards compatibility proposed by cboos in #28.
|
Wed, 16 Aug 2006 18:20:07 +0000 |
cmlenz |
Updated !ChangeLog to reflect [197].
|
Wed, 16 Aug 2006 18:13:02 +0000 |
cmlenz |
* String literals in XPath expressions that contains spaces are now tokenizes correctly.
|
Wed, 16 Aug 2006 14:04:30 +0000 |
cmlenz |
* Make sure `py:def` macros don't go out of scope if they are defined inside another directive.
|
Wed, 16 Aug 2006 10:35:01 +0000 |
cmlenz |
Fix relative includes on Windows. Closes #27.
|
Wed, 16 Aug 2006 10:25:15 +0000 |
cmlenz |
Add some tests for relative template includes (see #27).
|
Tue, 15 Aug 2006 22:03:39 +0000 |
cmlenz |
The convention for an unknown position is `(None, -1, -1)`.
|
Tue, 15 Aug 2006 22:01:01 +0000 |
cmlenz |
Removed to many classes from the `__all__` list of `markup.template` in [191].
|
Tue, 15 Aug 2006 21:59:07 +0000 |
cmlenz |
`Template.generate()` now accepts the context data as keyword arguments, so that you don't have to import the `Context` class every time you want to pass data into a template.
|
Tue, 15 Aug 2006 14:41:08 +0000 |
cmlenz |
Added changelog file, plus some README and setup tweaks.
|
Tue, 15 Aug 2006 13:17:51 +0000 |
cmlenz |
Use `xmlcharrefreplace` when encoding the output in `Stream.render()`, so that encoding the output to legacy encodings such as ASCII or ISO-8859-1 should always work.
|
Tue, 15 Aug 2006 10:12:03 +0000 |
cmlenz |
Simplifed `CoalesceFilter` (now a function)
|
Tue, 15 Aug 2006 09:52:47 +0000 |
cmlenz |
* Fix error in expression evaluation when the expression evaluates to an iterable that does not produce event tuples.
|
Fri, 11 Aug 2006 16:34:35 +0000 |
cmlenz |
* Coalesce adjacent text events that the parsers would produce when text crossed the buffer boundaries. Fixes #26.
|
Fri, 11 Aug 2006 14:08:13 +0000 |
cmlenz |
CDATA sections in XML input now appear as CDATA sections in the output. This should address the problem with escaping the contents of `<style>` and `<script>` elements, which would only get interpreted correctly if the output was served as `application/xhtml+xml`. Closes #24.
|
Fri, 11 Aug 2006 08:31:58 +0000 |
cmlenz |
Minor cleanup in XInclude filter.
|
Thu, 10 Aug 2006 15:21:55 +0000 |
cmlenz |
* No escaping of `<script>` or `<style>` tags in HTML output (see #24)
|
Wed, 09 Aug 2006 21:00:15 +0000 |
cmlenz |
Fix bug in HTML serializer, plus some other minor tweaks.
|
Wed, 09 Aug 2006 12:25:02 +0000 |
cmlenz |
Implement position reporting for XPath syntax errors. Closes #20.
|
Wed, 09 Aug 2006 12:07:26 +0000 |
cmlenz |
Add some more assertions to the XPath tests.
|
Mon, 07 Aug 2006 17:54:27 +0000 |
cmlenz |
Further cleanup of XPath engine.
|
Sun, 06 Aug 2006 21:22:21 +0000 |
cmlenz |
Minor performance improvements in serialization.
|
Sun, 06 Aug 2006 19:51:35 +0000 |
cmlenz |
0.1.x branch: Merged bugfix for expression evaluation from [167].
stable-0.1.x
|
Sun, 06 Aug 2006 18:07:21 +0000 |
cmlenz |
* Improve the accuracy of line numbers for text nodes, so that reported errors about syntax or evaluation errors in expressions point to the right line (not quite perfect yet, though).
|
Sun, 06 Aug 2006 17:10:47 +0000 |
cmlenz |
Minor cleanup and performance improvement for the builder module.
|
Fri, 04 Aug 2006 13:39:11 +0000 |
cmlenz |
Name lookup in expressions: try locals first, then the context.
|
Fri, 04 Aug 2006 13:07:52 +0000 |
cmlenz |
* Support for line numbers in exceptions in expression evaluation (#22).
|
Fri, 04 Aug 2006 10:50:24 +0000 |
cmlenz |
Added Django to the [wiki:MarkupPerformance#bigtablebenchmark bigtable benchmark], based on patch contributed by Simon Willison (#23). Also, changed the benchmark so that Clearsilver, Kid, and Django are not required to run the benchmark.
|
Thu, 03 Aug 2006 18:09:34 +0000 |
cmlenz |
Bump up version number on trunk.
|
Thu, 03 Aug 2006 17:21:11 +0000 |
cmlenz |
Revert accidential checkin of unit test changes in [160].
|
Thu, 03 Aug 2006 17:16:08 +0000 |
cmlenz |
Bumped up version number on [milestone:0.1] stable branch.
stable-0.1.x
|
Thu, 03 Aug 2006 17:14:31 +0000 |
cmlenz |
Fix syntax error in `setup.py`.
|
Thu, 03 Aug 2006 17:10:41 +0000 |
cmlenz |
Prepare [milestone:0.1] release.
stable-0.1.x 0.1.0
|
Thu, 03 Aug 2006 17:08:35 +0000 |
cmlenz |
Add Trove classifiers and download URL to `setup.py`.
|
Thu, 03 Aug 2006 14:49:22 +0000 |
cmlenz |
Fix for #18: whitespace in space-sensitive elements such as `<pre>` and `<textarea>` is now preserved.
|
Wed, 02 Aug 2006 16:34:30 +0000 |
cmlenz |
Minor fix to XPath functions added in [150].
|
Wed, 02 Aug 2006 12:55:05 +0000 |
cmlenz |
Added support for the XPath functions `name()`, `namespace-uri()`, `local-name()`, and `not()`.
|
Wed, 02 Aug 2006 11:56:31 +0000 |
cmlenz |
* Allow `py:with` directives to define `lambda`s
|
Wed, 02 Aug 2006 08:03:31 +0000 |
cmlenz |
Allow creating fragments from the `tag` object in `markup.builder`.
|
Tue, 01 Aug 2006 22:34:39 +0000 |
cmlenz |
Add basic support for using `lambda`s in expressions. Closes #21. (Not sure about default arguments, need a test case).
|
Tue, 01 Aug 2006 17:15:28 +0000 |
cmlenz |
Merged [141].
|
Tue, 01 Aug 2006 17:06:03 +0000 |
cmlenz |
Merged [135:138/branches/experimental/cspeedups].
|
Tue, 01 Aug 2006 10:42:48 +0000 |
cmlenz |
Various fixes for breakage introduced in [132].
|
Tue, 01 Aug 2006 10:27:52 +0000 |
cmlenz |
Use constants for axes in XPath engine.
|
Mon, 31 Jul 2006 23:00:06 +0000 |
cmlenz |
Removed the `sanitize()` method from the `Markup` class, and migrate the existing unit tests to `markup.tests.filters`. Provide a `Stream.filter()` method instead which can be used to conveniently apply a filter to a stream.
|
Mon, 31 Jul 2006 22:08:32 +0000 |
cmlenz |
Docstring typo fix.
|
Mon, 31 Jul 2006 17:25:43 +0000 |
cmlenz |
Some fixes and more unit tests for the XPath engine.
|
Fri, 28 Jul 2006 18:57:55 +0000 |
mgood |
update the example TurboGears app and include an example of using TurboGears wigets
|
Fri, 28 Jul 2006 17:34:18 +0000 |
cmlenz |
Reorder the conditional branches in the serializers so that the more common event kinds are on top.
|
Fri, 28 Jul 2006 17:19:44 +0000 |
cmlenz |
Minor improvements to transform example.
|
Fri, 28 Jul 2006 16:52:23 +0000 |
cmlenz |
Add example that shows how to transform an HTML document.
|
Fri, 28 Jul 2006 16:51:35 +0000 |
cmlenz |
Complete rewrite of the XPath parsing, which was a mess before. Closes #19.
|
Fri, 28 Jul 2006 15:15:50 +0000 |
cmlenz |
Include processing instructions in serialized streams.
|
Thu, 27 Jul 2006 09:22:17 +0000 |
cmlenz |
Added `py:with` directive based on Jonas' patch in #17.
|
Wed, 26 Jul 2006 08:50:09 +0000 |
cmlenz |
benchmark: improved functionality of SimpleTAL example. Thanks to bruno desthuilliers for some tips.
|
Mon, 24 Jul 2006 21:58:46 +0000 |
jonas |
Ported [118] to trunk
|
Mon, 24 Jul 2006 18:57:33 +0000 |
cmlenz |
Ported [115] to trunk.
|
Mon, 24 Jul 2006 16:05:18 +0000 |
cmlenz |
Ported [111] to trunk.
|
Fri, 21 Jul 2006 21:43:29 +0000 |
cmlenz |
Trac port is now in the Trac repository (http://trac.edgewall.org/browser/sandbox/markup).
|
Fri, 21 Jul 2006 18:23:23 +0000 |
cmlenz |
Bugfix in `builder` module: attribute values need to be converted to strings when generating streams.
|
Fri, 21 Jul 2006 11:56:01 +0000 |
cmlenz |
Add benchmark that builds a large HTML table using different templating techniques (provided by Jonas).
|
Fri, 21 Jul 2006 11:39:32 +0000 |
cmlenz |
Add an XHTML serialization method. Now really need to get rid of some code duplication in the `markup.output` module.
|
Fri, 21 Jul 2006 11:35:56 +0000 |
cmlenz |
Improve performance of push/pop operations on the context.
|
Fri, 21 Jul 2006 09:32:56 +0000 |
cmlenz |
Some bugfixes and minor performance improvements for the builder module.
|
Thu, 20 Jul 2006 23:33:51 +0000 |
cmlenz |
Minor bugfi x follow-up to [97]: don't yield the terminator event from the whitespace filter.
|
Thu, 20 Jul 2006 23:06:36 +0000 |
cmlenz |
More performance improvements... this time for whitespace normalization and template loops.
|
Thu, 20 Jul 2006 16:55:26 +0000 |
cmlenz |
Some subtle fixes to generation and sanitization.
|
Wed, 19 Jul 2006 17:50:17 +0000 |
cmlenz |
When an expression evaluates to a callable, it is called implicitly.
|
Mon, 17 Jul 2006 23:10:35 +0000 |
cmlenz |
Support comments in templates that are not included in the output, in the same way Kid does: if the comment text starts with a `!` character, it is stripped from the output.
|
Mon, 17 Jul 2006 17:33:14 +0000 |
cmlenz |
Add support for list comprehension in expressions (see #12).
|
Mon, 17 Jul 2006 15:08:53 +0000 |
cmlenz |
Fix some problems in expression evaluation by transforming the AST and compiling that to bytecode, instead of generating bytecode directly. Invalidates #13.
|
Mon, 17 Jul 2006 09:01:08 +0000 |
cmlenz |
Accidentially left some doctests disabled.
|
Sun, 16 Jul 2006 11:07:34 +0000 |
cmlenz |
Improve handling of DOCTYPE declarations.
|
Sat, 15 Jul 2006 12:10:51 +0000 |
cmlenz |
Make dependency of the setup script on setuptools optional.
|
Sat, 15 Jul 2006 12:01:01 +0000 |
cmlenz |
Minor fix for the basic Kid example.
|
Sat, 15 Jul 2006 11:59:13 +0000 |
cmlenz |
Some minor cleanup.
|
Sat, 15 Jul 2006 11:29:25 +0000 |
cmlenz |
Template expressions are now compiled to Python bytecode.
|
Thu, 13 Jul 2006 19:13:02 +0000 |
cmlenz |
* Improve template error messages
|
Thu, 13 Jul 2006 18:52:26 +0000 |
cmlenz |
Added SimpleTAL example to benchmark.
|
Thu, 13 Jul 2006 15:41:34 +0000 |
cmlenz |
Minor improvements to how directives are applied in template processing.
|
Thu, 13 Jul 2006 12:32:11 +0000 |
cmlenz |
* Simplify implementation of the individual XPath tests (use closures instead of callable classes)
|
Thu, 13 Jul 2006 09:17:21 +0000 |
cmlenz |
Add Django to the benchmark.
|
Wed, 12 Jul 2006 21:27:30 +0000 |
cmlenz |
Empty attributes in templates were being stripped out. Thanks to Jonas for the patch.
|
Wed, 12 Jul 2006 19:45:13 +0000 |
cmlenz |
Fix expression interpolation where both shorthand notation and full notation are used inside a single text node. Thanks Jonas.
|
Wed, 12 Jul 2006 18:47:39 +0000 |
cmlenz |
Some more performance tweaks.
|
Tue, 11 Jul 2006 23:03:20 +0000 |
mgood |
add a function `ET` in the template plugin including `ElementTree` elements in the output stream
|
Tue, 11 Jul 2006 17:41:47 +0000 |
cmlenz |
Add back line that was accidentially left commented out in [75].
|
Tue, 11 Jul 2006 17:40:41 +0000 |
cmlenz |
Use `collections.deque` for the template context stack on Python 2.4, which improves performance if there are many context frame pop/push operations.
|
Mon, 10 Jul 2006 17:37:01 +0000 |
cmlenz |
A couple of minor performance improvements.
|
Mon, 10 Jul 2006 09:17:41 +0000 |
cmlenz |
Add GIF variant of the logo, and better compression on the PNG.
|
Mon, 10 Jul 2006 09:17:21 +0000 |
cmlenz |
White background and lighter gray in overview diagram.
|
Sun, 09 Jul 2006 17:46:12 +0000 |
cmlenz |
Switch copyright to Edgewall and URLs to markup.edgewall.org.
|
Sun, 09 Jul 2006 15:23:26 +0000 |
cmlenz |
Support the use of directives as elements to reduce the need for using `py:strip`.
|
Fri, 07 Jul 2006 19:33:47 +0000 |
cmlenz |
One more namespace fix (in the Trac example).
|
Fri, 07 Jul 2006 17:58:52 +0000 |
cmlenz |
Use a more neutral gray for the background color in the diagram.
|
Fri, 07 Jul 2006 17:55:21 +0000 |
cmlenz |
First (clumpsy) attempt at a logo.
|
Fri, 07 Jul 2006 17:54:52 +0000 |
cmlenz |
Use a different namespace than Kid uses.
|
Wed, 05 Jul 2006 21:32:27 +0000 |
cmlenz |
Migrate attachment templates to Markup.
|
Wed, 05 Jul 2006 07:58:36 +0000 |
cmlenz |
Minor improvements to the benchmark thing.
|
Tue, 04 Jul 2006 18:22:01 +0000 |
cmlenz |
Sync Trac port with vendor branch r62.
|
Tue, 04 Jul 2006 18:19:22 +0000 |
cmlenz |
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
|
Tue, 04 Jul 2006 13:36:37 +0000 |
cmlenz |
Trac port: use a function to build mainnav/metanav.
|
Tue, 04 Jul 2006 13:34:46 +0000 |
cmlenz |
Minor diagram updates.
|
Tue, 04 Jul 2006 13:09:36 +0000 |
cmlenz |
Fix a number of escaping problems:
|
Tue, 04 Jul 2006 11:57:08 +0000 |
cmlenz |
* Add helper function to let directives apply any remaining directives, and use that helper consistently in every directive.
|
Tue, 04 Jul 2006 09:04:50 +0000 |
cmlenz |
Trac port: Make use of the fact that combining `py:for` with `py:attrs` now works correctly.
|
Tue, 04 Jul 2006 09:03:04 +0000 |
cmlenz |
Fix `py:for` directive when combined with other directives (such as `py:strip`).
|
Tue, 04 Jul 2006 08:37:25 +0000 |
cmlenz |
Fix the way multiple directives are applied to a single `SUB` in many cases by making the directives themselves responsible for applying any remaining directives.
|
Tue, 04 Jul 2006 05:08:22 +0000 |
mgood |
convert Trac search page to Markup
|
Tue, 04 Jul 2006 04:49:22 +0000 |
mgood |
convert the result of expressions in attributes to strings so that values like ints are output correctly
|
Tue, 04 Jul 2006 03:25:27 +0000 |
mgood |
fix CSS classes for Trac about.html ctxtnav
|
Tue, 04 Jul 2006 02:10:37 +0000 |
mgood |
convert About template to Markup
|
Tue, 04 Jul 2006 00:52:41 +0000 |
mgood |
define `__contains__` for using the `in` operator w/ the permission cache
|
Mon, 03 Jul 2006 23:55:03 +0000 |
mgood |
implement `py:choose/when/otherwise` directives for conditionally selecting one of several blocks
|
Mon, 03 Jul 2006 22:03:21 +0000 |
cmlenz |
Trac example: fixes for alternative links.
|
Mon, 03 Jul 2006 21:50:56 +0000 |
cmlenz |
Catch `KeyError` exception when trying attribute access in expression evaluation.
|
Mon, 03 Jul 2006 21:01:42 +0000 |
cmlenz |
Sync Trac port with vendor branch r44 and add missing template files.
|
Mon, 03 Jul 2006 20:20:48 +0000 |
cmlenz |
Initial support for using Markup in Trac. Only the settings page migrated so far.
|
Mon, 03 Jul 2006 18:53:27 +0000 |
cmlenz |
Copy Trac to main branch.
|
Mon, 03 Jul 2006 11:28:13 +0000 |
cmlenz |
Fix for #2 (incorrect context node in path expressions). Still some paths that produce incorrect results, but the common case seems to work now.
|
Sun, 02 Jul 2006 23:10:27 +0000 |
cmlenz |
Moved some of the tests for the strip directive to a new unittest test case to not clutter up the documentation.
|
Sun, 02 Jul 2006 22:39:03 +0000 |
cmlenz |
Fix for #7: match templates no longer process their own output.
|
Sun, 02 Jul 2006 21:23:52 +0000 |
cmlenz |
Simplify template processing model by removing dynamically generated `SUB` events.
|
Sun, 02 Jul 2006 03:20:56 +0000 |
mgood |
quotes should not be escaped inside text nodes
|
Wed, 28 Jun 2006 21:09:54 +0000 |
cmlenz |
Add doctests for path module.
|
Wed, 28 Jun 2006 19:13:47 +0000 |
cmlenz |
A couple more operators supported in expressions.
|
Wed, 28 Jun 2006 18:39:05 +0000 |
cmlenz |
* More test cases for expression evaluation.
|
Wed, 28 Jun 2006 13:45:32 +0000 |
cmlenz |
Experimental support for using the new native AST in Python 2.5 instead of the `compiler` package.
|
Wed, 28 Jun 2006 10:40:39 +0000 |
cmlenz |
* Minor simplification of template directives: they no longer get passed the template instance and the position, as no directive was actually using
|
Wed, 28 Jun 2006 09:41:58 +0000 |
cmlenz |
More docstrings for the builder module.
|
Wed, 28 Jun 2006 09:28:09 +0000 |
cmlenz |
* Fix the boilerplate in the Python source files.
|
Wed, 28 Jun 2006 08:55:04 +0000 |
cmlenz |
* Split out the XPath tests into a separate `unittest`-based file.
|
Mon, 26 Jun 2006 17:54:47 +0000 |
cmlenz |
Oops. Fix typo in [25].
|
Mon, 26 Jun 2006 17:54:00 +0000 |
cmlenz |
Cosmetic (mostly whitespace) changes.
|
Tue, 20 Jun 2006 17:31:32 +0000 |
cmlenz |
Separate match and eval filters from the include and user-supplied filters.
|
Tue, 20 Jun 2006 15:10:24 +0000 |
cmlenz |
Fix for the template engine plugin: the search path is now ignored if the requested template path is absolute.
|
Tue, 20 Jun 2006 13:05:37 +0000 |
cmlenz |
* Include paths are now interpreted relative to the path of the including template. Closes #3.
|
Mon, 19 Jun 2006 16:38:50 +0000 |
cmlenz |
Fix tests broken in [20].
|
Mon, 19 Jun 2006 16:34:00 +0000 |
cmlenz |
Enable `ElementFactory` to create namespaced elements.
|
Mon, 19 Jun 2006 15:47:28 +0000 |
cmlenz |
Actually make use of the `markup.core.Namespace` class, and add a couple of doctests.
|
Sun, 18 Jun 2006 22:33:33 +0000 |
cmlenz |
Refactoring to address #6: all match templates are now processed by a single filter, which means that match templates added by included templates are properly applied. A side effect of this refactoring is that `Context` objects may not be reused across multiple template processing runs.
|
Fri, 16 Jun 2006 15:29:29 +0000 |
cmlenz |
Minor fix for expression evaluation.
|
Fri, 16 Jun 2006 09:55:48 +0000 |
cmlenz |
Port HTML sanitizer fix from trac:changeset:3417.
|
Tue, 13 Jun 2006 17:56:42 +0000 |
cmlenz |
The `<py:match>` directive now protects itself against simple infinite recursion (see MatchDirective), while still allowing recursion in general.
|
Mon, 05 Jun 2006 00:03:43 +0000 |
cmlenz |
Match directives should now also be applied when included indirectly.
|
Sun, 04 Jun 2006 20:37:59 +0000 |
cmlenz |
Make the XInclude filter track namespace context, to enable it to omit `END_NS` events for the XInclude namespace.
|
Sun, 04 Jun 2006 14:05:18 +0000 |
cmlenz |
Added setup configuration for doing coverage reporting with Bitten.
|
Sun, 04 Jun 2006 12:34:17 +0000 |
cmlenz |
Moved the template-specific stream event kinds into the template module.
|
Sun, 04 Jun 2006 11:00:41 +0000 |
cmlenz |
Actually use the specified encoding in `Stream.render()`.
|
Sun, 04 Jun 2006 10:59:25 +0000 |
cmlenz |
`Stream.render()` was masking `TypeError`s (fix based on suggestion by Matt Good).
|
Sun, 04 Jun 2006 10:49:24 +0000 |
cmlenz |
Fixes to expression evaluation by jborg:
|
Sun, 04 Jun 2006 10:46:14 +0000 |
cmlenz |
Simplified implementation of `py:content` directive.
|
Sat, 03 Jun 2006 15:29:27 +0000 |
cmlenz |
Improved `py:attrs` directive so that it removes existing attributes if they evaluate to `None` (AFAICT matching Kid behavior).
|
Sat, 03 Jun 2006 12:31:58 +0000 |
cmlenz |
Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
|
Sat, 03 Jun 2006 12:28:53 +0000 |
cmlenz |
Added basic example.
|
Sat, 03 Jun 2006 07:25:12 +0000 |
cmlenz |
Make diagram background transparent.
|
Sat, 03 Jun 2006 07:16:01 +0000 |
cmlenz |
Initial import.
|
Sat, 03 Jun 2006 07:10:01 +0000 |
cmlenz |
Base directory layout.
|