Wed, 13 Sep 2006 17:05:21 +0000 |
cmlenz |
Fixes for the text template docs.
trunk
|
Wed, 13 Sep 2006 16:49:20 +0000 |
cmlenz |
Fix MIME type of text templates documentation page.
trunk
|
Wed, 13 Sep 2006 16:44:12 +0000 |
cmlenz |
Implement comments and directive escaping for text templates.
trunk
|
Wed, 13 Sep 2006 14:52:58 +0000 |
cmlenz |
* Added basic documentation for the text-based template language.
trunk
|
Tue, 12 Sep 2006 17:55:35 +0000 |
cmlenz |
Fixed EOL style.
trunk
|
Tue, 12 Sep 2006 16:44:36 +0000 |
cmlenz |
Further simplification of the XPath engine.
trunk
|
Tue, 12 Sep 2006 16:15:11 +0000 |
cmlenz |
Updated overview graphic.
trunk
|
Tue, 12 Sep 2006 15:59:10 +0000 |
cmlenz |
Flatten outline of XML templating documentation.
trunk
|
Tue, 12 Sep 2006 15:53:26 +0000 |
cmlenz |
Fix title on index page of HTML docs.
trunk
|
Tue, 12 Sep 2006 15:35:42 +0000 |
cmlenz |
Beautified the HTML docs a bit.
trunk
|
Tue, 12 Sep 2006 14:08:36 +0000 |
cmlenz |
* Minor simplification of XPath engine.
trunk
|
Tue, 12 Sep 2006 13:30:26 +0000 |
cmlenz |
* Added implementation of a simple text-based template engine. Closes #47.
trunk
|
Mon, 11 Sep 2006 16:03:07 +0000 |
cmlenz |
Set MIME type of reStructuredText docs.
trunk
|
Mon, 11 Sep 2006 15:14:20 +0000 |
cmlenz |
typo
trunk
|
Mon, 11 Sep 2006 15:07:07 +0000 |
cmlenz |
Renamed Markup to Genshi in repository.
trunk
|
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.
trunk
|
Fri, 08 Sep 2006 10:51:14 +0000 |
cmlenz |
Add support for position predicates in XPath expressions.
trunk
|
Fri, 08 Sep 2006 09:17:42 +0000 |
cmlenz |
Use list comprehension instead of `map()` in the AST transformer.
trunk
|
Fri, 08 Sep 2006 08:44:31 +0000 |
cmlenz |
Add reStructuredText documentation files.
trunk
|
Thu, 07 Sep 2006 20:40:56 +0000 |
mgood |
support slices in expressions (fixes #51)
trunk
|
Wed, 06 Sep 2006 14:39:50 +0000 |
cmlenz |
Implement support for namespace prefixes in XPath expressions.
trunk
|
Wed, 06 Sep 2006 11:35:29 +0000 |
cmlenz |
Fix typo introduced in [272].
trunk
|
Tue, 05 Sep 2006 20:36:39 +0000 |
cmlenz |
`BadDirectiveError` no longer expects a `QName` as the directive name; a regular string should do.
trunk
|
Tue, 05 Sep 2006 16:35:54 +0000 |
cmlenz |
Fix Python 2.3 incompatibility introduced in [276].
trunk
|
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.
trunk
|
Tue, 05 Sep 2006 13:35:53 +0000 |
cmlenz |
Minor improvements to `WhitespaceFilter`.
trunk
|
Mon, 04 Sep 2006 23:41:10 +0000 |
cmlenz |
Updated change log.
trunk
|
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.
trunk
|
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).
trunk
|
Fri, 01 Sep 2006 13:45:42 +0000 |
cmlenz |
A couple of minor XPath fixes.
trunk
|
Thu, 31 Aug 2006 15:21:14 +0000 |
cmlenz |
Cosmetic change to internal template initialization.
trunk
|
Thu, 31 Aug 2006 08:49:37 +0000 |
cmlenz |
Store original message in exceptions as `msg` ivar.
trunk
|
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.
trunk
|
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.
trunk
|
Tue, 29 Aug 2006 17:35:32 +0000 |
cmlenz |
Fix regression introduced in [258]. More fixes needed?
trunk
|
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.
trunk
|
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.
trunk
|
Tue, 29 Aug 2006 12:14:36 +0000 |
cmlenz |
The `XMLParser` now correctly handles unicode input. Closes #43.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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!
trunk
|
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!
trunk
|
Fri, 25 Aug 2006 12:39:55 +0000 |
cmlenz |
The `TextSerializer` should produce `unicode` objects, not `Markup` objects.
trunk
|
Fri, 25 Aug 2006 11:14:04 +0000 |
cmlenz |
Add serialization to plain text, based on cboos' patch. Closes #41.
trunk
|
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).
trunk
|
Thu, 24 Aug 2006 22:42:07 +0000 |
mgood |
Implemented support for generator expressions (fixes #16)
trunk
|
Thu, 24 Aug 2006 21:02:00 +0000 |
mgood |
simplify the `value_of` method exported in the template plugin
trunk
|
Thu, 24 Aug 2006 19:12:12 +0000 |
cmlenz |
Fix refactoring leftover from [242]. Closes #40.
trunk
|
Thu, 24 Aug 2006 19:06:23 +0000 |
cmlenz |
Fix missing import in unit test added in [244].
trunk
|
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`.
trunk
|
Thu, 24 Aug 2006 19:03:24 +0000 |
cmlenz |
Fix for Python 2.3 compatibility in `py:with` directive (regression in [240]).
trunk
|
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`.
trunk
|
Wed, 23 Aug 2006 15:00:28 +0000 |
cmlenz |
Allow leading whitespace in expressions. Closes #38. Thanks to Christian Boos for the patch!
trunk
|
Wed, 23 Aug 2006 14:33:37 +0000 |
cmlenz |
Improvements for the `py:with` directive:
trunk
|
Tue, 22 Aug 2006 15:39:28 +0000 |
cmlenz |
Bump up version number on trunk.
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`.
trunk
|
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.
trunk
|
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.
trunk
|
Mon, 21 Aug 2006 23:06:38 +0000 |
cmlenz |
Follow-up to [227]. Forgot to rename one instance of `Attributes`.
trunk
|
Mon, 21 Aug 2006 20:03:13 +0000 |
cmlenz |
Renamed `Attributes` to `Attrs` to reduce the verbosity.
trunk
|
Mon, 21 Aug 2006 19:51:07 +0000 |
cmlenz |
Some error message improvements for template directives. Thanks to Christian Boos for the patch!
trunk
|
Mon, 21 Aug 2006 19:25:29 +0000 |
cmlenz |
String literals in XPath expressions are assumed to be UTF-8 encoded.
trunk
|
Mon, 21 Aug 2006 17:25:19 +0000 |
cmlenz |
Implemented support for XPath variables in predicates (#31).
trunk
|
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.
trunk
|
Mon, 21 Aug 2006 15:00:35 +0000 |
cmlenz |
* Minor fix for the XHTML serializer (the local namespace var got clobbered)
trunk
|
Mon, 21 Aug 2006 14:55:06 +0000 |
cmlenz |
Fix control flow for error message when template search path is empty.
trunk
|
Sun, 20 Aug 2006 12:08:50 +0000 |
cmlenz |
Raise error when template search path is empty.
trunk
|
Sun, 20 Aug 2006 11:41:58 +0000 |
cmlenz |
Added test case for includes without a search path.
trunk
|
Sun, 20 Aug 2006 11:35:46 +0000 |
cmlenz |
Fix for #33.
trunk
|
Fri, 18 Aug 2006 23:23:45 +0000 |
cmlenz |
Fix for #30 (trouble using `py:def`inside a match template)
trunk
|
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?.)
trunk
|
Fri, 18 Aug 2006 12:40:55 +0000 |
cmlenz |
Allow initialization of `Attributes` with keyword arguments.
trunk
|
Fri, 18 Aug 2006 11:37:40 +0000 |
cmlenz |
Fix syntax error in `path` module.
trunk
|
Thu, 17 Aug 2006 17:08:42 +0000 |
cmlenz |
Added recent changes to change log file.
trunk
|
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!
trunk
|
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.
trunk
|
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.
trunk
|
Wed, 16 Aug 2006 23:06:32 +0000 |
cmlenz |
Report error when position predicates are used in XPath expressions (which is NYI).
trunk
|
Wed, 16 Aug 2006 23:03:58 +0000 |
cmlenz |
Support for XPath number literals including decimal places.
trunk
|
Wed, 16 Aug 2006 22:48:48 +0000 |
cmlenz |
Implement the XPath relational operators and the `round()` function.
trunk
|
Wed, 16 Aug 2006 22:32:31 +0000 |
cmlenz |
Various docstring additions and other cosmetic changes.
trunk
|
Wed, 16 Aug 2006 21:54:49 +0000 |
cmlenz |
Attribute order in parsed XML is now preserved.
trunk
|
Wed, 16 Aug 2006 21:30:55 +0000 |
cmlenz |
Another changelog update
trunk
|
Wed, 16 Aug 2006 21:29:48 +0000 |
cmlenz |
* Add test case for SVG content embedded in an HTML document.
trunk
|
Wed, 16 Aug 2006 18:31:56 +0000 |
cmlenz |
Fix for backwards compatibility proposed by cboos in #28.
trunk
|
Wed, 16 Aug 2006 18:20:07 +0000 |
cmlenz |
Updated !ChangeLog to reflect [197].
trunk
|
Wed, 16 Aug 2006 18:13:02 +0000 |
cmlenz |
* String literals in XPath expressions that contains spaces are now tokenizes correctly.
trunk
|
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.
trunk
|
Wed, 16 Aug 2006 10:35:01 +0000 |
cmlenz |
Fix relative includes on Windows. Closes #27.
trunk
|
Wed, 16 Aug 2006 10:25:15 +0000 |
cmlenz |
Add some tests for relative template includes (see #27).
trunk
|
Tue, 15 Aug 2006 22:03:39 +0000 |
cmlenz |
The convention for an unknown position is `(None, -1, -1)`.
trunk
|
Tue, 15 Aug 2006 22:01:01 +0000 |
cmlenz |
Removed to many classes from the `__all__` list of `markup.template` in [191].
trunk
|
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.
trunk
|
Tue, 15 Aug 2006 14:41:08 +0000 |
cmlenz |
Added changelog file, plus some README and setup tweaks.
trunk
|
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.
trunk
|
Tue, 15 Aug 2006 10:12:03 +0000 |
cmlenz |
Simplifed `CoalesceFilter` (now a function)
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
Fri, 11 Aug 2006 08:31:58 +0000 |
cmlenz |
Minor cleanup in XInclude filter.
trunk
|
Thu, 10 Aug 2006 15:21:55 +0000 |
cmlenz |
* No escaping of `<script>` or `<style>` tags in HTML output (see #24)
trunk
|
Wed, 09 Aug 2006 21:00:15 +0000 |
cmlenz |
Fix bug in HTML serializer, plus some other minor tweaks.
trunk
|
Wed, 09 Aug 2006 12:25:02 +0000 |
cmlenz |
Implement position reporting for XPath syntax errors. Closes #20.
trunk
|
Wed, 09 Aug 2006 12:07:26 +0000 |
cmlenz |
Add some more assertions to the XPath tests.
trunk
|
Mon, 07 Aug 2006 17:54:27 +0000 |
cmlenz |
Further cleanup of XPath engine.
trunk
|
Sun, 06 Aug 2006 21:22:21 +0000 |
cmlenz |
Minor performance improvements in serialization.
trunk
|
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).
trunk
|
Sun, 06 Aug 2006 17:10:47 +0000 |
cmlenz |
Minor cleanup and performance improvement for the builder module.
trunk
|
Fri, 04 Aug 2006 13:39:11 +0000 |
cmlenz |
Name lookup in expressions: try locals first, then the context.
trunk
|
Fri, 04 Aug 2006 13:07:52 +0000 |
cmlenz |
* Support for line numbers in exceptions in expression evaluation (#22).
trunk
|
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.
trunk
|
Thu, 03 Aug 2006 18:09:34 +0000 |
cmlenz |
Bump up version number on trunk.
trunk
|
Thu, 03 Aug 2006 17:21:11 +0000 |
cmlenz |
Revert accidential checkin of unit test changes in [160].
trunk
|
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`.
trunk
|
Thu, 03 Aug 2006 17:10:41 +0000 |
cmlenz |
Prepare [milestone:0.1] release.
stable-0.1.x 0.1.0
|