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