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.
|