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