Thu, 22 Mar 2007 17:14:09 +0000 |
cmlenz |
Moved the `builder` document into the API docs.
trunk
|
Thu, 22 Mar 2007 17:00:09 +0000 |
cmlenz |
Updated docs for code blocks and changed error handling.
trunk
|
Thu, 22 Mar 2007 16:59:54 +0000 |
cmlenz |
Simplify undefined error message.
trunk
|
Thu, 22 Mar 2007 15:05:29 +0000 |
cmlenz |
More API documentation.
trunk
|
Thu, 22 Mar 2007 13:10:55 +0000 |
cmlenz |
Add epydoc-based API doc generation to the build.
trunk
|
Thu, 22 Mar 2007 12:45:18 +0000 |
cmlenz |
Try to use proper reStructuredText for docstrings throughout.
trunk
|
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.
trunk
|
Tue, 20 Mar 2007 18:27:52 +0000 |
cmlenz |
Applied patch for #106 (handling of hex charrefs in HTML parser).
trunk
|
Tue, 20 Mar 2007 18:24:11 +0000 |
cmlenz |
More work to include absolute file paths in exceptions.
trunk
|
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.
trunk
|
Mon, 19 Mar 2007 17:21:00 +0000 |
cmlenz |
Add support for `len()` to the `Context` class.
trunk
|
Fri, 16 Mar 2007 09:13:02 +0000 |
cmlenz |
Fix for #105. Thanks to Maciej Ligenza for the patch.
trunk
|
Fri, 16 Mar 2007 08:58:54 +0000 |
cmlenz |
Make expression error handling more strict. Closes #88.
trunk
|
Mon, 12 Mar 2007 21:35:18 +0000 |
mgood |
filter empty values from the plugin search path
trunk
|
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
trunk
|
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.
trunk
|
Mon, 12 Mar 2007 12:28:27 +0000 |
cmlenz |
Fix typo in upgrade notes.
trunk
|
Mon, 26 Feb 2007 20:43:02 +0000 |
cmlenz |
Fix unit tests broken by [504].
trunk
|
Mon, 26 Feb 2007 18:39:57 +0000 |
cmlenz |
Actually write xmlns declaratons for generated attribute namespace prefixes.
trunk
|
Mon, 26 Feb 2007 18:35:31 +0000 |
cmlenz |
Updated change log.
trunk
|
Mon, 26 Feb 2007 18:26:59 +0000 |
cmlenz |
Improve the handling of namespaces in serialization.
trunk
|
Wed, 21 Feb 2007 15:15:17 +0000 |
cmlenz |
Simplify `defined` function provided by template engine plugin.
trunk
|
Wed, 21 Feb 2007 14:25:44 +0000 |
cmlenz |
Update copyright year for files modified this year.
trunk
|
Wed, 21 Feb 2007 14:17:22 +0000 |
cmlenz |
Move string interpolation code into separate module (`genshi.template.interpolation`).
trunk
|
Wed, 21 Feb 2007 12:59:23 +0000 |
cmlenz |
Reenable AST transformer dispatch cache.
trunk
|
Wed, 21 Feb 2007 10:26:38 +0000 |
cmlenz |
Support for Python code blocks using the `<?python ?>` processing instruction. Closes #84.
trunk
|
Wed, 21 Feb 2007 10:04:43 +0000 |
cmlenz |
Fix a couple of typos in the docs. Closes #99.
trunk
|
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`.
trunk
|
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.
trunk
|
Thu, 18 Jan 2007 15:41:47 +0000 |
cmlenz |
Make the `Markup` class available by default in template expressions. Closes #67.
trunk
|
Thu, 18 Jan 2007 14:58:39 +0000 |
cmlenz |
Renamed `genshi.template.core` to `genshi.template.base`, mainly to avoid confusion with `genshi.core`.
trunk
|
Thu, 18 Jan 2007 14:52:42 +0000 |
cmlenz |
Rework parsing of expressions in template text, to be able to:
trunk
|
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)
trunk
|
Sat, 30 Dec 2006 20:12:48 +0000 |
mgood |
add visitor for xor operator
trunk
|
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.
trunk
|
Mon, 18 Dec 2006 23:28:08 +0000 |
mgood |
add support for Python 2.5 conditional expressions (fixes #74)
trunk
|
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].
trunk
|
Mon, 11 Dec 2006 11:13:35 +0000 |
cmlenz |
Unit test fixes for Python 2.3.
trunk
|
Wed, 06 Dec 2006 18:20:11 +0000 |
cmlenz |
Updated WebPy example for 0.2.
trunk
|
Mon, 04 Dec 2006 19:00:46 +0000 |
cmlenz |
Fix for infinite loop in XPath test. Closes #82.
trunk
|
Mon, 04 Dec 2006 18:26:14 +0000 |
cmlenz |
Fix duplicate unit test name reported in #83.
trunk
|
Fri, 01 Dec 2006 23:43:59 +0000 |
cmlenz |
* Added documentation for the various stream event kinds.
trunk
|
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.
trunk
|
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]).
trunk
|
Thu, 23 Nov 2006 17:48:17 +0000 |
cmlenz |
The builder API now accepts streams as children of elements and fragments.
trunk
|
Thu, 23 Nov 2006 17:41:52 +0000 |
cmlenz |
Improve handling of incorrectly nested tags in the HTML parser.
trunk
|
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.
trunk
|
Thu, 23 Nov 2006 11:28:15 +0000 |
cmlenz |
Fix parsing of processing instructions in HTML input.
trunk
|
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].
trunk
|
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.
trunk
|
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].
trunk
|
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.
trunk
|
Wed, 22 Nov 2006 16:52:34 +0000 |
cmlenz |
Fix for #77: match templates were matching their own output.
trunk
|
Wed, 22 Nov 2006 15:38:38 +0000 |
cmlenz |
Parse template includes at parse time to avoid some runtime overhead.
trunk
|
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).
trunk
|
Mon, 20 Nov 2006 14:56:53 +0000 |
cmlenz |
Fix mistake in [440].
trunk
|
Mon, 20 Nov 2006 12:23:29 +0000 |
cmlenz |
Move `Directive.tagname` into metaclass.
trunk
|
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.
trunk
|
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.
trunk
|
Mon, 13 Nov 2006 10:15:53 +0000 |
cmlenz |
Unit tests for the template engine plugin(s).
trunk
|
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.
trunk
|
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).
trunk
|
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.
trunk
|
Fri, 10 Nov 2006 15:27:36 +0000 |
cmlenz |
Make `Attrs` instances immutable.
trunk
|
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].
trunk
|
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.
trunk
|
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.
trunk
|
Wed, 08 Nov 2006 12:03:20 +0000 |
cmlenz |
Fix typo in `dummy_threading` import
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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.
trunk
|
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].
trunk
|
Tue, 24 Oct 2006 16:27:41 +0000 |
cmlenz |
Add [http://www.myghty.org/ Myghty] to the benchmarks, kindly contributed by Mike Bayer.
trunk
|
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.
trunk
|
Tue, 24 Oct 2006 15:52:57 +0000 |
cmlenz |
Configurable encoding of template files, closing #65.
trunk
|
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.
trunk
|
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`.
trunk
|
Sun, 22 Oct 2006 16:44:18 +0000 |
cmlenz |
Follow-up to [385]: also decode attribute values in the `HTMLParser`.
trunk
|
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).
trunk
|