[svn] / z3c.pt Repository:
ViewVC logotype

Log of /z3c.pt

View Directory Listing Directory Listing


Sticky Revision:

Revision 120529 - Directory Listing
Modified Wed Feb 23 10:29:15 2011 UTC (3 years, 7 months ago) by malthe
B/W for libraries that expect the Chameleon 1.x API which has a file cache 'registry'.

Revision 120527 - Directory Listing
Modified Wed Feb 23 10:08:49 2011 UTC (3 years, 7 months ago) by malthe
Use high-level compiler API to runtime-compile the path- and exists-expressions. Also, don't assume that the dynamic context (``econtext``) is the same everywhere; rather, acquire it using the system frame (nobody should ever use this functions anyway, so it's just a way to stay compatible).

Revision 120484 - Directory Listing
Modified Mon Feb 21 09:01:02 2011 UTC (3 years, 7 months ago) by malthe
Started development of 2.x series, following stable build of Chameleon 2.x series. This commit marks a stable development version.

Revision 120483 - Directory Listing
Modified Mon Feb 21 00:02:43 2011 UTC (3 years, 7 months ago) by malthe
Preparing 1.2 maintenance branch.

Revision 118201 - Directory Listing
Modified Wed Nov 3 20:33:22 2010 UTC (3 years, 10 months ago) by rossp
Oops, forgot changelog entry

Revision 118200 - Directory Listing
Modified Wed Nov 3 20:32:42 2010 UTC (3 years, 10 months ago) by rossp
Stop using the deprecated zope.testing.doctest

Revision 118199 - Directory Listing
Modified Wed Nov 3 20:31:55 2010 UTC (3 years, 10 months ago) by rossp
Special-case handling of Zope2's Missing.MV as used by
Products.ZCatalog for LP#649343.  Test coverage is in five.pt.  Put
the fix here using a conditional import per Malthe's suggestion since
there's no good place to put it in five.pt where it belongs.

Revision 116784 - Directory Listing
Modified Fri Sep 24 08:43:26 2010 UTC (4 years ago) by alga
A little readability improvement.

Revision 115874 - Directory Listing
Modified Mon Aug 23 06:26:15 2010 UTC (4 years, 1 month ago) by icemac
fixed develop packages list

Revision 113747 - Directory Listing
Modified Tue Jun 22 07:00:14 2010 UTC (4 years, 3 months ago) by jinty
Conform to repository policy.

Revision 113117 - Directory Listing
Modified Fri Jun 4 15:36:24 2010 UTC (4 years, 3 months ago) by do3cc
Convert things that are False to None

Revision 113116 - Directory Listing
Modified Fri Jun 4 15:22:30 2010 UTC (4 years, 3 months ago) by do3cc
Spelling misatke

Revision 113115 - Directory Listing
Modified Fri Jun 4 15:11:18 2010 UTC (4 years, 3 months ago) by do3cc
Create branch Missing_handling

Revision 113114 - Directory Listing
Modified Fri Jun 4 15:11:00 2010 UTC (4 years, 3 months ago) by do3cc
Create branch Missing_hanlding

Revision 112808 - Directory Listing
Modified Fri May 28 17:50:12 2010 UTC (4 years, 4 months ago) by wichert
The exists expression evaluator should ignore KeyError exceptions as well.

Revision 112298 - Directory Listing
Modified Thu May 13 20:06:15 2010 UTC (4 years, 4 months ago) by wichert
Tag 1.2.1

Revision 112276 - Directory Listing
Modified Thu May 13 12:24:24 2010 UTC (4 years, 4 months ago) by malthe
Bind template to the template object in the general case.

Revision 112253 - Directory Listing
Modified Wed May 12 13:57:05 2010 UTC (4 years, 4 months ago) by wichert
Check for a bogus request

Revision 112250 - Directory Listing
Modified Wed May 12 12:15:36 2010 UTC (4 years, 4 months ago) by wichert
Tag 1.2

Revision 112245 - Directory Listing
Modified Tue May 11 16:37:43 2010 UTC (4 years, 4 months ago) by wichert
Look at language set on request before invoking the zope.i18n negotiator. This makes i18n work again on Zope2.

Revision 111401 - Directory Listing
Modified Sun Apr 25 06:13:17 2010 UTC (4 years, 5 months ago) by malthe
Benchmark token-based renderer.

Revision 111091 - Directory Listing
Modified Mon Apr 19 13:24:42 2010 UTC (4 years, 5 months ago) by malthe
Update to most recent Chameleon.

Revision 111090 - Directory Listing
Modified Mon Apr 19 13:23:26 2010 UTC (4 years, 5 months ago) by malthe
Fixed issue where non-keyword arguments were not passed in correctly.

Revision 110851 - Directory Listing
Modified Wed Apr 14 10:49:37 2010 UTC (4 years, 5 months ago) by wichert
Tag 1.1.2

Revision 110850 - Directory Listing
Modified Wed Apr 14 10:46:39 2010 UTC (4 years, 5 months ago) by wichert
Make sure the interpolation flag is recursive.

Revision 110735 - Directory Listing
Modified Sun Apr 11 09:54:36 2010 UTC (4 years, 5 months ago) by malthe
Adding benchmark for stream filter; simplified stream event scheme to include only START, END and TAG events.

Revision 110734 - Directory Listing
Modified Sun Apr 11 09:30:43 2010 UTC (4 years, 5 months ago) by malthe
Add static tail.

Revision 110733 - Directory Listing
Modified Sun Apr 11 09:21:28 2010 UTC (4 years, 5 months ago) by malthe
Updating stream output benchmark.

Revision 110574 - Directory Listing
Modified Tue Apr 6 17:22:22 2010 UTC (4 years, 5 months ago) by malthe
Tagging release.

Revision 110573 - Directory Listing
Modified Tue Apr 6 17:20:19 2010 UTC (4 years, 5 months ago) by malthe
Preparing release.

Revision 110572 - Directory Listing
Modified Tue Apr 6 17:19:23 2010 UTC (4 years, 5 months ago) by malthe
Fixed issue where unnamed arguments were not passed on to template as ``args``.

Revision 109939 - Directory Listing
Modified Sun Mar 14 07:27:19 2010 UTC (4 years, 6 months ago) by malthe
Added benchmark to demonstrate stream-based output.

Revision 109465 - Directory Listing
Modified Fri Feb 26 13:41:35 2010 UTC (4 years, 7 months ago) by ulif
Add notice about possible but certainly incorrect solution.

Revision 109463 - Directory Listing
Modified Fri Feb 26 13:23:08 2010 UTC (4 years, 7 months ago) by ulif
Workaround for changed API of chameleon.codegen.Suite.

Revision 109462 - Directory Listing
Modified Fri Feb 26 13:14:34 2010 UTC (4 years, 7 months ago) by ulif
Create branch to make z3c.pt compatible with Chameleon >= 1.1

Revision 107959 - Directory Listing
Modified Sat Jan 9 19:29:19 2010 UTC (4 years, 8 months ago) by hannosch
Bump version

Revision 107958 - Directory Listing
Modified Sat Jan 9 19:28:50 2010 UTC (4 years, 8 months ago) by hannosch
Tagged z3c.pt 1.1.0.

Revision 107957 - Directory Listing
Modified Sat Jan 9 19:28:40 2010 UTC (4 years, 8 months ago) by hannosch
Prepare z3c.pt 1.1.0.

Revision 107956 - Directory Listing
Modified Sat Jan 9 19:27:31 2010 UTC (4 years, 8 months ago) by hannosch
Update to combined Chameleon distribution.

Revision 104931 - Directory Listing
Modified Thu Oct 8 14:55:13 2009 UTC (4 years, 11 months ago) by malthe
Tagging release.

Revision 104930 - Directory Listing
Modified Thu Oct 8 14:54:51 2009 UTC (4 years, 11 months ago) by malthe
Preparing release.

Revision 104929 - Directory Listing
Modified Thu Oct 8 14:45:05 2009 UTC (4 years, 11 months ago) by malthe
Play nice with older translation machinery; pass in a translation context.

Revision 104928 - Directory Listing
Modified Thu Oct 8 14:40:13 2009 UTC (4 years, 11 months ago) by malthe
Don't fail hard if lxml fails to load.

Revision 103298 - Directory Listing
Modified Thu Aug 27 15:50:23 2009 UTC (5 years, 1 month ago) by nadako
Oops, according to this package's versioning history, the next version should be 1.1

Revision 103297 - Directory Listing
Modified Thu Aug 27 15:49:14 2009 UTC (5 years, 1 month ago) by nadako
Declare zope security settings for classes when zope.security is present as the "class" ZCML directive was moved there.

Revision 101615 - Directory Listing
Modified Mon Jul 6 12:05:13 2009 UTC (5 years, 2 months ago) by malthe
Tagging release.

Revision 101614 - Directory Listing
Modified Mon Jul 6 12:04:57 2009 UTC (5 years, 2 months ago) by malthe
Preparing point release.

Revision 101612 - Directory Listing
Modified Mon Jul 6 11:56:16 2009 UTC (5 years, 2 months ago) by malthe
Updated expected test output.

Revision 101611 - Directory Listing
Modified Mon Jul 6 11:55:53 2009 UTC (5 years, 2 months ago) by malthe
Fixed benchmark.

Revision 100946 - Directory Listing
Modified Sun Jun 14 12:33:47 2009 UTC (5 years, 3 months ago) by hannosch
Update version after release

Revision 100945 - Directory Listing
Modified Sun Jun 14 12:32:47 2009 UTC (5 years, 3 months ago) by hannosch
Tagged

Revision 100944 - Directory Listing
Modified Sun Jun 14 12:32:20 2009 UTC (5 years, 3 months ago) by hannosch
Prepare release

Revision 100482 - Directory Listing
Modified Wed May 27 17:08:47 2009 UTC (5 years, 4 months ago) by hannosch
Made the Zope security declaration for the repeat dictionary be conditional on the presence of zope.app.security instead of zope.app.component.

Revision 100222 - Directory Listing
Modified Fri May 22 00:13:45 2009 UTC (5 years, 4 months ago) by sidnei
- Add failing test for a variable leak across tags with macro usage

Revision 100157 - Directory Listing
Modified Wed May 20 07:11:56 2009 UTC (5 years, 4 months ago) by malthe
Preparing release.

Revision 100156 - Directory Listing
Modified Wed May 20 07:04:36 2009 UTC (5 years, 4 months ago) by malthe
Updated run-time expression evaluator method to work after a recent architectural change in Chameleon.

Revision 100121 - Directory Listing
Modified Mon May 18 23:30:30 2009 UTC (5 years, 4 months ago) by hannosch
Noted removal of lxml extra which was done before b15 and updated buildout.cfg accordingly

Revision 100094 - Directory Listing
Modified Mon May 18 18:58:04 2009 UTC (5 years, 4 months ago) by malthe
Updated benchmark to latest Chameleon.

Revision 99864 - Directory Listing
Modified Tue May 12 08:28:37 2009 UTC (5 years, 4 months ago) by malthe
Fixed opaque system modules dictionary; thanks to Jacob Holm for spotting this bug.

Revision 99834 - Directory Listing
Modified Mon May 11 06:55:54 2009 UTC (5 years, 4 months ago) by malthe
Check that we have a non-trivial response-object before trying to set the content type.

Revision 99833 - Directory Listing
Modified Mon May 11 06:54:42 2009 UTC (5 years, 4 months ago) by malthe
Wrap 'sys.modules' dictionary in an 'opaque' dictionary class, such that the representation string does not list all loaded modules.

Revision 99832 - Directory Listing
Modified Mon May 11 06:51:33 2009 UTC (5 years, 4 months ago) by malthe
Test API update.

Revision 99812 - Directory Listing
Modified Sat May 9 12:26:06 2009 UTC (5 years, 4 months ago) by malthe
The request-object must have a 'response' attribute.

Revision 99466 - Directory Listing
Modified Fri Apr 24 12:09:07 2009 UTC (5 years, 5 months ago) by malthe
Preparing release.

Revision 99465 - Directory Listing
Modified Fri Apr 24 12:06:45 2009 UTC (5 years, 5 months ago) by malthe
Make sure path expressions are simple strings, not unicode.

Revision 99149 - Directory Listing
Modified Mon Apr 13 14:03:22 2009 UTC (5 years, 5 months ago) by sidnei
- Record change

Revision 99148 - Directory Listing
Modified Mon Apr 13 13:32:13 2009 UTC (5 years, 5 months ago) by sidnei
- Properly detect package path from frame.f_globals in a doctest

Revision 99002 - Directory Listing
Modified Wed Apr 8 08:08:00 2009 UTC (5 years, 5 months ago) by malthe
Updated documentation.

Revision 98999 - Directory Listing
Modified Wed Apr 8 07:07:36 2009 UTC (5 years, 5 months ago) by malthe
The template symbol is already set by the template base class.

Revision 98962 - Directory Listing
Modified Tue Apr 7 03:39:17 2009 UTC (5 years, 5 months ago) by sidnei
- Set Content-Type header, for backwards compatibility with
  zope.app.pagetemplate. [sidnei]


Revision 98686 - Directory Listing
Modified Tue Mar 31 16:08:28 2009 UTC (5 years, 6 months ago) by hannosch
Use cProfile from Python 2.5 instead of hotshot. We get better introspection into the template code itself

Revision 98684 - Directory Listing
Modified Tue Mar 31 16:00:37 2009 UTC (5 years, 6 months ago) by hannosch
I need zope.testing to run the bigtable.py file by itself

Revision 98683 - Directory Listing
Modified Tue Mar 31 15:53:17 2009 UTC (5 years, 6 months ago) by hannosch
Get us a working combination of eggs again

Revision 98675 - Directory Listing
Modified Tue Mar 31 09:48:28 2009 UTC (5 years, 6 months ago) by malthe
Preparing release.

Revision 98669 - Directory Listing
Modified Tue Mar 31 09:08:55 2009 UTC (5 years, 6 months ago) by malthe
Template version bump.

Revision 98668 - Directory Listing
Modified Tue Mar 31 09:06:51 2009 UTC (5 years, 6 months ago) by malthe
API update.

Revision 98667 - Directory Listing
Modified Tue Mar 31 09:05:46 2009 UTC (5 years, 6 months ago) by malthe
Added test to demonstrate that characters are not escaped in text-mode.

Revision 98315 - Directory Listing
Modified Mon Mar 23 12:23:06 2009 UTC (5 years, 6 months ago) by malthe
Preparing release.

Revision 98118 - Directory Listing
Modified Sun Mar 15 07:35:53 2009 UTC (5 years, 6 months ago) by malthe
Traversal to dictionary methods is not provided; we must use a Python-expression.

Revision 97837 - Directory Listing
Modified Wed Mar 11 13:53:20 2009 UTC (5 years, 6 months ago) by sidnei
- Path expressions need to pass further path items in reverse order to
  traversePathElement, because that's what it expects.


Revision 97810 - Directory Listing
Modified Tue Mar 10 16:43:16 2009 UTC (5 years, 6 months ago) by malthe
Actually, the reference implementation does not allow dictionary objects to provide its attributes, only keys.

Revision 97801 - Directory Listing
Modified Tue Mar 10 13:45:53 2009 UTC (5 years, 6 months ago) by malthe
Fixed previous commit.

Revision 97736 - Directory Listing
Modified Mon Mar 9 22:56:48 2009 UTC (5 years, 6 months ago) by sidnei
- Path expressions give preference to dictionary items instead of
  dictionary attributes. [sidnei]


Revision 97682 - Directory Listing
Modified Mon Mar 9 08:18:53 2009 UTC (5 years, 6 months ago) by malthe
Updated version peg prior to release.

Revision 97681 - Directory Listing
Modified Mon Mar 9 08:18:25 2009 UTC (5 years, 6 months ago) by malthe
Preparing release.

Revision 97602 - Directory Listing
Modified Fri Mar 6 20:02:22 2009 UTC (5 years, 6 months ago) by malthe
Updated documentation; the sections on TAL, I18N and METAL have been moved to the 'chameleon.zpt' documentation, while the present documentation instead details what's new in 'z3c.pt'.

Revision 97601 - Directory Listing
Modified Fri Mar 6 20:01:05 2009 UTC (5 years, 6 months ago) by malthe
Updated version.

Revision 97595 - Directory Listing
Modified Fri Mar 6 17:40:58 2009 UTC (5 years, 6 months ago) by malthe
Insert intial template context (parameters) into dynamic scope. Many applications expect this (they expect all variable definitions to go in there, but we won't go that far since it's anyway undocumented functionality).

Revision 97594 - Directory Listing
Modified Fri Mar 6 17:33:15 2009 UTC (5 years, 6 months ago) by malthe
Preparing Sphinx environment.

Revision 97540 - Directory Listing
Modified Thu Mar 5 17:45:43 2009 UTC (5 years, 6 months ago) by malthe
Preparing release.

Revision 97437 - Directory Listing
Modified Tue Mar 3 09:30:22 2009 UTC (5 years, 7 months ago) by malthe
If a namespace-acquired object is traversable, use path traversal on it.

Revision 97436 - Directory Listing
Modified Tue Mar 3 09:28:48 2009 UTC (5 years, 7 months ago) by malthe
This path-expression will throw a traversal exception; catch it and fall back to a trivial value.

Revision 97435 - Directory Listing
Modified Tue Mar 3 09:27:46 2009 UTC (5 years, 7 months ago) by malthe
Clarified namespace adapter and updated expected output.

Revision 97433 - Directory Listing
Modified Tue Mar 3 09:13:07 2009 UTC (5 years, 7 months ago) by malthe
Corrected exception import.

Revision 97432 - Directory Listing
Modified Tue Mar 3 09:10:24 2009 UTC (5 years, 7 months ago) by malthe
Use value-error here; we do not depend on 'zope.app.traversing'.

Revision 97424 - Directory Listing
Modified Mon Mar 2 17:46:12 2009 UTC (5 years, 7 months ago) by sidnei
- Add a failing test for untested behaviour removed by Malthe when merging TALES Function Namespaces support

Revision 97416 - Directory Listing
Modified Mon Mar 2 14:53:05 2009 UTC (5 years, 7 months ago) by malthe
Adding template version number.

Revision 97414 - Directory Listing
Modified Mon Mar 2 09:57:37 2009 UTC (5 years, 7 months ago) by malthe
Implemented TALES function namespaces.

Revision 97412 - Directory Listing
Modified Mon Mar 2 09:15:13 2009 UTC (5 years, 7 months ago) by malthe
Catch name-error in exists-traverser (return false).

Revision 97410 - Directory Listing
Modified Mon Mar 2 09:01:07 2009 UTC (5 years, 7 months ago) by malthe
Catch name-error in exists-evaluator and return false.

Revision 97341 - Directory Listing
Modified Fri Feb 27 10:51:19 2009 UTC (5 years, 7 months ago) by nadako
Fire BeforeUpdateEvent before updating content provider.

Revision 97336 - Directory Listing
Modified Fri Feb 27 10:28:19 2009 UTC (5 years, 7 months ago) by malthe
If supplied context and request are trivial, get them from the view instance.

Revision 97271 - Directory Listing
Modified Wed Feb 25 18:16:51 2009 UTC (5 years, 7 months ago) by malthe
Adding system modules.

Revision 97269 - Directory Listing
Modified Wed Feb 25 16:19:04 2009 UTC (5 years, 7 months ago) by malthe
Expressions in text templates are never escaped.

Revision 97268 - Directory Listing
Modified Wed Feb 25 16:18:27 2009 UTC (5 years, 7 months ago) by malthe
Do not bind template to a trivial instance.

Revision 97215 - Directory Listing
Modified Tue Feb 24 17:53:01 2009 UTC (5 years, 7 months ago) by malthe
Preparing release.

Revision 97214 - Directory Listing
Modified Tue Feb 24 17:23:54 2009 UTC (5 years, 7 months ago) by malthe
Fixed exists-traverser such that it always returns a boolean value.

Revision 96790 - Directory Listing
Modified Thu Feb 19 17:48:37 2009 UTC (5 years, 7 months ago) by malthe
Reformatted changelog dates.

Revision 96776 - Directory Listing
Modified Thu Feb 19 17:21:28 2009 UTC (5 years, 7 months ago) by malthe
Preparing release.

Revision 96775 - Directory Listing
Modified Thu Feb 19 17:20:42 2009 UTC (5 years, 7 months ago) by malthe
Fixed buildout.

Revision 96695 - Directory Listing
Modified Wed Feb 18 13:18:54 2009 UTC (5 years, 7 months ago) by malthe
Added dynamic scope support for dynamic path- and exists-methods (rarely used).

Revision 96626 - Directory Listing
Modified Tue Feb 17 09:12:20 2009 UTC (5 years, 7 months ago) by malthe
Preparing release.

Revision 96588 - Directory Listing
Modified Mon Feb 16 12:19:23 2009 UTC (5 years, 7 months ago) by malthe
Allow callable for bound page templates (attribute access to __call__).

Revision 96498 - Directory Listing
Modified Fri Feb 13 18:23:00 2009 UTC (5 years, 7 months ago) by malthe
Preparing release.

Revision 96494 - Directory Listing
Modified Fri Feb 13 16:17:17 2009 UTC (5 years, 7 months ago) by malthe
Fixed issue where symbol mapping would not be carried through under a negation (not).

Revision 94872 - Directory Listing
Modified Tue Jan 20 04:11:10 2009 UTC (5 years, 8 months ago) by sidnei
- Optimize simple case: if path expression is a single path and path
  is 'nothing' or has 'nocall:', just return value as-is, without
  going through path_traverse. [sidnei]


Revision 94871 - Directory Listing
Modified Tue Jan 20 01:41:04 2009 UTC (5 years, 8 months ago) by sidnei
- Record Launchpad issue number

Revision 94868 - Directory Listing
Modified Mon Jan 19 23:27:23 2009 UTC (5 years, 8 months ago) by sidnei
- Add failing tests for 'exists' with global, undefined name. Raises a NameError currently.

Revision 94867 - Directory Listing
Modified Mon Jan 19 23:13:25 2009 UTC (5 years, 8 months ago) by sidnei
- Document fix

Revision 94866 - Directory Listing
Modified Mon Jan 19 23:12:02 2009 UTC (5 years, 8 months ago) by sidnei
- Move over evaluate_path and evaluate_exists from five.pt

Revision 94865 - Directory Listing
Modified Mon Jan 19 22:38:50 2009 UTC (5 years, 8 months ago) by sidnei
- Add failing test for 'default' usage in path expressions for tal:content (works for tal:attributes)

Revision 94864 - Directory Listing
Modified Mon Jan 19 22:27:24 2009 UTC (5 years, 8 months ago) by sidnei
- Add a failing test for global 'path' function that works with standard ZPT but not with z3c.pt

Revision 94496 - Directory Listing
Modified Sat Jan 3 23:08:18 2009 UTC (5 years, 8 months ago) by malthe
Added Zope security  declaration for  the repeat  dictionary.

Revision 94450 - Directory Listing
Modified Fri Jan 2 13:17:37 2009 UTC (5 years, 8 months ago) by malthe
Added version argument. This is now required.

Revision 94171 - Directory Listing
Modified Thu Dec 18 15:57:15 2008 UTC (5 years, 9 months ago) by malthe
Preparing release.

Revision 94148 - Directory Listing
Modified Wed Dec 17 14:57:56 2008 UTC (5 years, 9 months ago) by malthe
The 'not' pragma acts recursively.

Revision 94069 - Directory Listing
Modified Mon Dec 15 09:41:34 2008 UTC (5 years, 9 months ago) by malthe
Preparing release.

Revision 94062 - Directory Listing
Modified Sun Dec 14 18:17:06 2008 UTC (5 years, 9 months ago) by malthe
View templates now support argument-passing for alternative context and request.

Revision 94061 - Directory Listing
Modified Sun Dec 14 18:16:31 2008 UTC (5 years, 9 months ago) by malthe
Cleanup.

Revision 93542 - Directory Listing
Modified Tue Dec 2 13:50:33 2008 UTC (5 years, 10 months ago) by malthe
Fixed tests.

Revision 93541 - Directory Listing
Modified Tue Dec 2 13:42:37 2008 UTC (5 years, 10 months ago) by seletz
Actually commit the source, dumbo.

Revision 93535 - Directory Listing
Modified Tue Dec 2 13:30:40 2008 UTC (5 years, 10 months ago) by seletz
Interpolation feature switched off per default.

Revision 93443 - Directory Listing
Modified Sat Nov 29 12:33:01 2008 UTC (5 years, 10 months ago) by hannosch
Allow more flexibility in overriding the PathTranslator method.

Revision 93426 - Directory Listing
Modified Fri Nov 28 16:28:07 2008 UTC (5 years, 10 months ago) by hannosch
Removed the forced defaultencoding from the benchmark suite. There's no speed difference between utf-8 and ascii anymore.

Revision 93425 - Directory Listing
Modified Fri Nov 28 16:25:08 2008 UTC (5 years, 10 months ago) by hannosch
Removed empty todo

Revision 93411 - Directory Listing
Modified Thu Nov 27 23:56:07 2008 UTC (5 years, 10 months ago) by malthe
Fixed cached compilation benchmark.

Revision 93387 - Directory Listing
Modified Thu Nov 27 11:20:31 2008 UTC (5 years, 10 months ago) by hannosch
Ignore a local.cfg

Revision 93215 - Directory Listing
Modified Fri Nov 21 00:35:08 2008 UTC (5 years, 10 months ago) by malthe
Preparing release.

Revision 93214 - Directory Listing
Modified Fri Nov 21 00:34:29 2008 UTC (5 years, 10 months ago) by malthe
Split out content provider call.

Revision 93078 - Directory Listing
Modified Tue Nov 18 11:49:04 2008 UTC (5 years, 10 months ago) by malthe
Added language negotiation; changed method signature for _pt_get_context in order to avoid symbol clashes.

Revision 93067 - Directory Listing
Modified Tue Nov 18 00:43:16 2008 UTC (5 years, 10 months ago) by malthe
Added BaseTemplate and BaseTemplateFile which are not descriptors; this is required if used with acquisition.

Revision 93059 - Directory Listing
Modified Mon Nov 17 22:02:18 2008 UTC (5 years, 10 months ago) by malthe
Made __repr__ more generic.

Revision 93057 - Directory Listing
Modified Mon Nov 17 21:41:33 2008 UTC (5 years, 10 months ago) by malthe
Simplified template class inheritance.

Revision 93042 - Directory Listing
Modified Mon Nov 17 12:37:34 2008 UTC (5 years, 10 months ago) by malthe
API update.

Revision 93028 - Directory Listing
Modified Mon Nov 17 01:16:28 2008 UTC (5 years, 10 months ago) by malthe
Added support for the question-mark operator in path-expressions.

Revision 93001 - Directory Listing
Modified Sun Nov 16 02:07:45 2008 UTC (5 years, 10 months ago) by malthe
Added 'not' and 'exists' expressions. API updates.

Revision 92975 - Directory Listing
Modified Sat Nov 15 14:46:44 2008 UTC (5 years, 10 months ago) by hannosch
Adjusted the bigtable benchmark test to API changes.

Revision 92895 - Directory Listing
Modified Wed Nov 12 23:21:43 2008 UTC (5 years, 10 months ago) by malthe
Updated benchmark suite (API changes).

Revision 92868 - Directory Listing
Modified Wed Nov 12 11:39:37 2008 UTC (5 years, 10 months ago) by malthe
Preparing release.

Revision 92855 - Directory Listing
Modified Tue Nov 11 23:39:02 2008 UTC (5 years, 10 months ago) by malthe
Added PageTemplate and PageTemplateFile classes.

Revision 92755 - Directory Listing
Modified Mon Nov 3 11:39:55 2008 UTC (5 years, 10 months ago) by malthe
Preparing release.

Revision 92710 - Directory Listing
Modified Thu Oct 30 16:40:47 2008 UTC (5 years, 11 months ago) by malthe
Fixed typo.

Revision 92709 - Directory Listing
Modified Thu Oct 30 16:40:15 2008 UTC (5 years, 11 months ago) by malthe
Removing test; it's been moved to chameleon.zpt.

Revision 92706 - Directory Listing
Modified Thu Oct 30 15:31:45 2008 UTC (5 years, 11 months ago) by thefunny42
Update CHANGES.txt

Revision 92705 - Directory Listing
Modified Thu Oct 30 15:29:43 2008 UTC (5 years, 11 months ago) by thefunny42
Renable tests in i18n. Add some for i18n:name.


Revision 92704 - Directory Listing
Modified Thu Oct 30 15:26:49 2008 UTC (5 years, 11 months ago) by thefunny42
A dot can be used in content provider's names.

Revision 92195 - Directory Listing
Modified Tue Oct 14 14:36:41 2008 UTC (5 years, 11 months ago) by malthe
Allow '+' character in path-expressions.

Revision 92194 - Directory Listing
Modified Tue Oct 14 14:36:03 2008 UTC (5 years, 11 months ago) by malthe
Added expressions module to test case (left out by mistaken).

Revision 91673 - Directory Listing
Modified Thu Oct 2 19:47:14 2008 UTC (5 years, 11 months ago) by malthe
Preparing release.

Revision 91672 - Directory Listing
Modified Thu Oct 2 19:46:03 2008 UTC (5 years, 11 months ago) by malthe
Compiler moved out to chameleon.core and chameleon.zpt packages.

Revision 91167 - Directory Listing
Modified Mon Sep 15 21:15:46 2008 UTC (6 years ago) by malthe
Updated.

Revision 91137 - Directory Listing
Modified Sun Sep 14 15:34:11 2008 UTC (6 years ago) by malthe
Provide useful error message if provider is not found (similar to the TALES expression in zope.contentprovider).

Revision 91134 - Directory Listing
Modified Sat Sep 13 23:23:33 2008 UTC (6 years ago) by malthe
Added expression translator for 'provider:' pragma (see zope.contentprovider).

Revision 91131 - Directory Listing
Modified Sat Sep 13 22:38:34 2008 UTC (6 years ago) by malthe
Skip elements in a define-slot clause if its being filled by the calling template.

Revision 91130 - Directory Listing
Modified Sat Sep 13 21:53:52 2008 UTC (6 years ago) by malthe
Support 'fill-slot' attribute on elements with METAL namespace.

Revision 91129 - Directory Listing
Modified Sat Sep 13 21:47:26 2008 UTC (6 years ago) by malthe
Omit element text when using macro.

Revision 91125 - Directory Listing
Modified Sat Sep 13 19:30:03 2008 UTC (6 years ago) by malthe
Moved classes.

Revision 91124 - Directory Listing
Modified Sat Sep 13 19:27:26 2008 UTC (6 years ago) by malthe
Namespace attribute xmlns no longer rendered for templates with no explicit document type.

Revision 91123 - Directory Listing
Modified Sat Sep 13 19:26:04 2008 UTC (6 years ago) by malthe
Added API to render template macros.

Revision 91046 - Directory Listing
Modified Wed Sep 10 22:13:32 2008 UTC (6 years ago) by malthe
Added tests to verify reduce/restore in conjunction with XIncludes.

Revision 91045 - Directory Listing
Modified Wed Sep 10 21:45:00 2008 UTC (6 years ago) by malthe
Loop optimization. Yields about 25% increase for z3c.form.

Revision 91044 - Directory Listing
Modified Wed Sep 10 20:27:09 2008 UTC (6 years ago) by malthe
This variant is substantially faster.

Revision 91043 - Directory Listing
Modified Wed Sep 10 20:23:56 2008 UTC (6 years ago) by malthe
Write out attribute at once.

Revision 91042 - Directory Listing
Modified Wed Sep 10 20:16:53 2008 UTC (6 years ago) by malthe
Slight optimization of conditions.

Revision 91041 - Directory Listing
Modified Wed Sep 10 20:15:26 2008 UTC (6 years ago) by malthe
No longer special-case these HTML tags; attributes with expressions that evaluate to None or False are omitted.

Revision 91040 - Directory Listing
Modified Wed Sep 10 20:14:30 2008 UTC (6 years ago) by malthe
Slight optimization of conditions.

Revision 91039 - Directory Listing
Modified Wed Sep 10 20:08:02 2008 UTC (6 years ago) by malthe
Slight optimization of conditions.

Revision 91038 - Directory Listing
Modified Wed Sep 10 19:35:53 2008 UTC (6 years ago) by malthe
Optimized template loader.

Revision 91033 - Directory Listing
Modified Wed Sep 10 16:38:26 2008 UTC (6 years ago) by malthe
Engine now expects all strings to be unicode or contain ASCII
  characters only, unless an encoding is provided.

Revision 91008 - Directory Listing
Modified Tue Sep 9 21:42:18 2008 UTC (6 years ago) by malthe
Macro-objects are no longer callable; instead, a render method is provided. This makes it possible to use path-expressions to get to macros.

Revision 91007 - Directory Listing
Modified Tue Sep 9 21:39:47 2008 UTC (6 years ago) by malthe
Pass template-object to local namespace.

Revision 91006 - Directory Listing
Modified Tue Sep 9 16:08:09 2008 UTC (6 years ago) by malthe
 Fixed bug where a repeat-clause would reset the repeat variable
 before evaluating the expression.

Revision 91005 - Directory Listing
Modified Tue Sep 9 16:06:27 2008 UTC (6 years ago) by malthe
Fixed imports.

Revision 91004 - Directory Listing
Modified Tue Sep 9 15:44:35 2008 UTC (6 years ago) by malthe
Made z3c.pt a namespace package.

Revision 90999 - Directory Listing
Modified Tue Sep 9 13:39:44 2008 UTC (6 years ago) by malthe
Avoid storing stream-object; instead, we store a copy of the source-code and the symbol mappings.

Revision 90998 - Directory Listing
Modified Tue Sep 9 13:38:49 2008 UTC (6 years ago) by malthe
Reduce and restore template instances before returning render-method to doctest; this verifies correct operation of templates that are restored from disk.

Revision 90997 - Directory Listing
Modified Tue Sep 9 13:36:54 2008 UTC (6 years ago) by malthe
Lambda-functions can't be pickled; use proper module-level identity-method.

Revision 90996 - Directory Listing
Modified Tue Sep 9 13:36:20 2008 UTC (6 years ago) by malthe
Purge registry before testing.

Revision 90995 - Directory Listing
Modified Tue Sep 9 12:57:19 2008 UTC (6 years ago) by malthe
The ZPT parser now supports prefixed native attributes, e.g. <tal:foo tal:bar="" />.

Revision 90987 - Directory Listing
Modified Tue Sep 9 09:20:41 2008 UTC (6 years ago) by malthe
Fixed byte template ghost class and added preliminary test for integrity.

Revision 90983 - Directory Listing
Modified Tue Sep 9 08:50:01 2008 UTC (6 years ago) by malthe
Updated exception traceback.

Revision 90974 - Directory Listing
Modified Tue Sep 9 00:03:08 2008 UTC (6 years ago) by chrism


Revision 90954 - Directory Listing
Modified Mon Sep 8 15:45:26 2008 UTC (6 years ago) by malthe
The default path traverser no longer proxies objects.

Revision 90953 - Directory Listing
Modified Mon Sep 8 15:41:05 2008 UTC (6 years ago) by malthe
Source code is now written to disk in debug-mode.

Revision 90949 - Directory Listing
Modified Mon Sep 8 14:22:44 2008 UTC (6 years ago) by malthe
Raise custom validation error when inserted string does not validate.

Revision 90939 - Directory Listing
Modified Mon Sep 8 09:20:16 2008 UTC (6 years ago) by malthe
Fixed file cache restore issues.

Revision 90919 - Directory Listing
Modified Sun Sep 7 02:49:58 2008 UTC (6 years ago) by chrism


Revision 90918 - Directory Listing
Modified Sun Sep 7 02:48:38 2008 UTC (6 years ago) by chrism
- Added support for omitting rendering of HTML "toggle" attributes
  (option's ``selected`` and input's ``checked``) within dynamic
  attribute assignment.  If the value of the expression in the
  assignment evaluates equal to boolean False, the attribute will not
  be rendered.  If the value of the expression in the assignment
  evaluates equal to boolean True, the attribute will be rendered and
  the value of the attribute will be the value returned by the
  expression. [chrism]

- Attribute assignments with an expression value that started with the
  characters ``in`` (e.g. ``info.somename``) would be rendered to the
  generated Python without the ``in`` prefix (as
  e.g. ``fo.somename``). [chrism]

- When filling METAL slots (possibly with a specific version of
  libxml2, I am using 2.6.32) it was possible to cause the translator
  to attempt to add a stringtype to a NoneType (on a line that reads
  ``variable = self.symbols.slot+element.node.fill_slot`` because an
  XPath expression looking for fill-slot nodes did not work
  properly). [chrism]

See also http://groups.google.com/group/z3c_pt/browse_thread/thread/8ef3ba6211e3dd52?hl=en



Revision 90724 - Directory Listing
Modified Tue Sep 2 22:24:35 2008 UTC (6 years ago) by malthe
Control disk cache options with environment variable.

Revision 90715 - Directory Listing
Modified Tue Sep 2 16:01:10 2008 UTC (6 years ago) by malthe
XML namespace attribute is now always printed for root tag.

Revision 90713 - Directory Listing
Modified Tue Sep 2 15:20:34 2008 UTC (6 years ago) by malthe
Slightly more elegant.

Revision 90712 - Directory Listing
Modified Tue Sep 2 15:17:50 2008 UTC (6 years ago) by malthe
Do not call intermediate path items.

Revision 90711 - Directory Listing
Modified Tue Sep 2 14:41:19 2008 UTC (6 years ago) by malthe
Added support for path-parameter (ZPT's ViewPageTemplateFile class has this).

Revision 90710 - Directory Listing
Modified Tue Sep 2 14:08:32 2008 UTC (6 years ago) by malthe
Preserve whitespace in string translation expressions.

Revision 90708 - Directory Listing
Modified Tue Sep 2 13:29:52 2008 UTC (6 years ago) by malthe
Mimick ZPT's behavior: always use the character casing of the static attribute.

Revision 90707 - Directory Listing
Modified Tue Sep 2 13:26:45 2008 UTC (6 years ago) by malthe
Added test for 'esoteric' literals (previously not recognized).

Revision 90706 - Directory Listing
Modified Tue Sep 2 13:26:09 2008 UTC (6 years ago) by malthe
Added test to show that dynamic attributes properly replace static attributes, without respect to case.

Revision 90705 - Directory Listing
Modified Tue Sep 2 13:25:38 2008 UTC (6 years ago) by malthe
The set-item method of odict should be case-insensitive to allow dynamic attributes with different casing to take precedence over a static attribute of the same name (without respect to case).

Revision 90704 - Directory Listing
Modified Tue Sep 2 13:24:18 2008 UTC (6 years ago) by malthe
Added method to escape to HTML entities (missing from previous commit).

Revision 90703 - Directory Listing
Modified Tue Sep 2 13:22:13 2008 UTC (6 years ago) by malthe
Static attributes are now HTML entity encoded.

Revision 90702 - Directory Listing
Modified Tue Sep 2 13:12:15 2008 UTC (6 years ago) by malthe
Add entity definitions for standard HTML entity names.

Revision 90701 - Directory Listing
Modified Tue Sep 2 13:10:26 2008 UTC (6 years ago) by malthe
Keep static attributes sorted (any policy is better than no policy).

Revision 90700 - Directory Listing
Modified Tue Sep 2 13:05:17 2008 UTC (6 years ago) by malthe
Do not mistake these attributes with XInclude directives.

Revision 90699 - Directory Listing
Modified Tue Sep 2 13:03:46 2008 UTC (6 years ago) by malthe
Import change.

Revision 90695 - Directory Listing
Modified Tue Sep 2 10:58:16 2008 UTC (6 years ago) by malthe
Raise exception by revalidating in order to get proper traceback.

Revision 90694 - Directory Listing
Modified Tue Sep 2 10:57:31 2008 UTC (6 years ago) by malthe
Accept semi-colon at the end of the string.

Revision 90693 - Directory Listing
Modified Tue Sep 2 10:56:45 2008 UTC (6 years ago) by malthe
Avoid space.

Revision 90692 - Directory Listing
Modified Tue Sep 2 10:56:28 2008 UTC (6 years ago) by malthe
Always use explicit doctype.

Revision 90691 - Directory Listing
Modified Tue Sep 2 10:50:11 2008 UTC (6 years ago) by malthe
This test has been moved to the Genshi translation test.

Revision 90690 - Directory Listing
Modified Tue Sep 2 10:49:32 2008 UTC (6 years ago) by malthe
Converted to unicode.

Revision 90689 - Directory Listing
Modified Tue Sep 2 10:45:32 2008 UTC (6 years ago) by malthe
Template output is now always converted to unicode. This approach probably won't be final, but it's acceptable for now.

Revision 90688 - Directory Listing
Modified Tue Sep 2 10:43:41 2008 UTC (6 years ago) by malthe
Fixed interpolation bug where multiple attributes with interpolation
  expressions would result in corrupted output.

Revision 90685 - Directory Listing
Modified Tue Sep 2 08:39:06 2008 UTC (6 years ago) by malthe
Corrected paragraph.

Revision 90684 - Directory Listing
Modified Tue Sep 2 08:37:24 2008 UTC (6 years ago) by malthe
XML entities are now allowed even without a correct document type declaration.

Revision 90683 - Directory Listing
Modified Tue Sep 2 08:34:04 2008 UTC (6 years ago) by malthe
Checking in a simplified version of Chris' interpolation test.

Revision 90682 - Directory Listing
Modified Tue Sep 2 08:33:18 2008 UTC (6 years ago) by malthe
Always define an i18n translation domain.

Revision 90681 - Directory Listing
Modified Tue Sep 2 08:32:45 2008 UTC (6 years ago) by malthe
Fixed CDATA conversion logic.

Revision 90680 - Directory Listing
Modified Tue Sep 2 08:32:19 2008 UTC (6 years ago) by malthe
Always omit METAL tags.

Revision 90670 - Directory Listing
Modified Mon Sep 1 21:19:55 2008 UTC (6 years, 1 month ago) by chrism
Make sure that no_doctype overrides parsed doctype.

Revision 90669 - Directory Listing
Modified Mon Sep 1 20:23:47 2008 UTC (6 years, 1 month ago) by malthe
The default value is the content expression, not the tag body.

Revision 90668 - Directory Listing
Modified Mon Sep 1 20:23:06 2008 UTC (6 years, 1 month ago) by chrism
Whoops.

Revision 90667 - Directory Listing
Modified Mon Sep 1 20:20:05 2008 UTC (6 years, 1 month ago) by chrism
Failing test case using tal:repeat and interpolation.

Revision 90666 - Directory Listing
Modified Mon Sep 1 20:06:55 2008 UTC (6 years, 1 month ago) by malthe
We can retire this clause (which was never in use).

Revision 90665 - Directory Listing
Modified Mon Sep 1 20:06:26 2008 UTC (6 years, 1 month ago) by malthe
Added support for translation of tag body.

Revision 90664 - Directory Listing
Modified Mon Sep 1 20:05:25 2008 UTC (6 years, 1 month ago) by malthe
Added required attributes.

Revision 90662 - Directory Listing
Modified Mon Sep 1 17:24:46 2008 UTC (6 years, 1 month ago) by malthe
Support try-except operator when 'python' is the default expression type.

Revision 90661 - Directory Listing
Modified Mon Sep 1 17:22:30 2008 UTC (6 years, 1 month ago) by malthe
Do not skip METAL macros.

Revision 90660 - Directory Listing
Modified Mon Sep 1 17:22:10 2008 UTC (6 years, 1 month ago) by malthe
Missing attribute definition.

Revision 90659 - Directory Listing
Modified Mon Sep 1 17:20:50 2008 UTC (6 years, 1 month ago) by malthe
No longer applies.

Revision 90658 - Directory Listing
Modified Mon Sep 1 17:19:44 2008 UTC (6 years, 1 month ago) by malthe
METAL macros should render in the template where they're defined.

Revision 90656 - Directory Listing
Modified Mon Sep 1 15:28:16 2008 UTC (6 years, 1 month ago) by malthe
Added conditional application security configuration to play nice with zope.security proxies.

Revision 90655 - Directory Listing
Modified Mon Sep 1 15:23:52 2008 UTC (6 years, 1 month ago) by malthe
Name-change.

Revision 90654 - Directory Listing
Modified Mon Sep 1 15:23:23 2008 UTC (6 years, 1 month ago) by malthe
Updated test since attribute rendering order has changed.

Revision 90653 - Directory Listing
Modified Mon Sep 1 15:22:39 2008 UTC (6 years, 1 month ago) by malthe
Mark as bugfix, not as incompatibility.

Revision 90652 - Directory Listing
Modified Mon Sep 1 15:21:58 2008 UTC (6 years, 1 month ago) by malthe
Avoid printing a line-break when we repeat over a single item only.

Revision 90651 - Directory Listing
Modified Mon Sep 1 15:20:20 2008 UTC (6 years, 1 month ago) by malthe
Dynamic attributes are now ordered as they appear in the
template.

Revision 90639 - Directory Listing
Modified Mon Sep 1 10:37:49 2008 UTC (6 years, 1 month ago) by malthe
Dynamic attributes are now ordered as they appear in the template.

Revision 90638 - Directory Listing
Modified Mon Sep 1 09:25:09 2008 UTC (6 years, 1 month ago) by malthe
The ViewPageTemplateFile class now uses 'path' as the default expression type.

Revision 90637 - Directory Listing
Modified Mon Sep 1 09:24:32 2008 UTC (6 years, 1 month ago) by malthe
Instantiate parser before passing to compiler.

Revision 90636 - Directory Listing
Modified Mon Sep 1 09:17:13 2008 UTC (6 years, 1 month ago) by malthe
The compiler now expects a parser instance.

Revision 90635 - Directory Listing
Modified Mon Sep 1 09:16:09 2008 UTC (6 years, 1 month ago) by malthe
Group changeset into 'features', 'bugfixes' and 'incompatibilities'.

Revision 90632 - Directory Listing
Modified Sun Aug 31 21:14:30 2008 UTC (6 years, 1 month ago) by malthe
Added symbol_mapping attribute to code stream such that function dependencies can be registered at compile-time.

Revision 90628 - Directory Listing
Modified Sun Aug 31 08:41:23 2008 UTC (6 years, 1 month ago) by malthe
Pass keyword arguments to constructor.

Revision 90627 - Directory Listing
Modified Sun Aug 31 08:40:52 2008 UTC (6 years, 1 month ago) by malthe
Define default parser as class attribute to allow customization by subclassing.

Revision 90603 - Directory Listing
Modified Fri Aug 29 22:51:58 2008 UTC (6 years, 1 month ago) by chrism


Revision 90602 - Directory Listing
Modified Fri Aug 29 22:50:51 2008 UTC (6 years, 1 month ago) by chrism
Allow PageTemplate-derived instances to override the doctype specified in the template itself via its constructor.

Revision 90575 - Directory Listing
Modified Fri Aug 29 11:57:12 2008 UTC (6 years, 1 month ago) by malthe
For procedural usage, the ViewPageTemplateFile property should be callable.

Revision 90337 - Directory Listing
Modified Tue Aug 26 14:50:50 2008 UTC (6 years, 1 month ago) by wichert
Grammar

Revision 90182 - Directory Listing
Modified Mon Aug 25 08:48:33 2008 UTC (6 years, 1 month ago) by malthe
Corrected Genshi namespace (needs a trailing slash).

Revision 90171 - Directory Listing
Modified Sun Aug 24 12:26:56 2008 UTC (6 years, 1 month ago) by malthe
Require at least lxml 2.1.1 to get proper CDATA-support.

Revision 90170 - Directory Listing
Modified Sun Aug 24 11:58:21 2008 UTC (6 years, 1 month ago) by malthe
Language negotiation happens before we start rendering, so we no longer need to explicitly pass in a translation context.

Revision 90169 - Directory Listing
Modified Sun Aug 24 11:46:17 2008 UTC (6 years, 1 month ago) by malthe
The ViewPageTemplateFile class now uses the module path of the calling class to get an absolute path. This brings back the functionality removed in r89580, but localized to the template class only.

Revision 90168 - Directory Listing
Modified Sun Aug 24 11:44:37 2008 UTC (6 years, 1 month ago) by malthe
Improved lxml benchmark.

Revision 90167 - Directory Listing
Modified Sun Aug 24 11:12:53 2008 UTC (6 years, 1 month ago) by malthe
These symbols should be available to macros as well; they're not (and shouldn't be) carried over from the calling template.

Revision 90166 - Directory Listing
Modified Sun Aug 24 10:21:11 2008 UTC (6 years, 1 month ago) by malthe
Oops.

Revision 90165 - Directory Listing
Modified Sun Aug 24 10:20:47 2008 UTC (6 years, 1 month ago) by malthe
Added limited support for the XInclude include directive.

Revision 90163 - Directory Listing
Modified Sat Aug 23 22:36:23 2008 UTC (6 years, 1 month ago) by malthe
Fixed text formatting.

Revision 90145 - Directory Listing
Modified Sat Aug 23 12:40:22 2008 UTC (6 years, 1 month ago) by malthe
Use a global template registry for file-system templates.

Revision 90144 - Directory Listing
Modified Sat Aug 23 12:39:46 2008 UTC (6 years, 1 month ago) by malthe
Updated class docstrings.

Revision 90143 - Directory Listing
Modified Sat Aug 23 08:39:30 2008 UTC (6 years, 1 month ago) by hannosch
If we are to use slow pickles instead of byte-code, lets at least use the best protocol available. This cuts the time in half again. Still about six times slower than bytecode.

Revision 90141 - Directory Listing
Modified Sat Aug 23 04:32:21 2008 UTC (6 years, 1 month ago) by chrism
Python 2.4 compat.

Revision 90140 - Directory Listing
Modified Sat Aug 23 01:38:29 2008 UTC (6 years, 1 month ago) by malthe
Refactored compiler classes; reimplemented disk-cache module.

Revision 90132 - Directory Listing
Modified Fri Aug 22 15:18:08 2008 UTC (6 years, 1 month ago) by chrism
Make ZCML actions pickleable and test.

Add a few docstrings.

Revision 90116 - Directory Listing
Modified Fri Aug 22 08:23:29 2008 UTC (6 years, 1 month ago) by malthe
We expect the XPath-function to be available on the root-element, not the root tree (which seems to be merely an lxml implementation detail).

Revision 90115 - Directory Listing
Modified Fri Aug 22 08:22:32 2008 UTC (6 years, 1 month ago) by malthe
Test that macros are found on the 'descendant-or-self' XPath-axis.

Revision 90080 - Directory Listing
Modified Thu Aug 21 15:27:09 2008 UTC (6 years, 1 month ago) by malthe
Genshi macros are now available globally.

Revision 90079 - Directory Listing
Modified Thu Aug 21 15:26:14 2008 UTC (6 years, 1 month ago) by malthe
Fixed interpolation bug.

Revision 90070 - Directory Listing
Modified Thu Aug 21 14:39:44 2008 UTC (6 years, 1 month ago) by malthe
The current behavior is (for now) the desired; remove this test.

Revision 90069 - Directory Listing
Modified Thu Aug 21 14:36:08 2008 UTC (6 years, 1 month ago) by malthe
Split out translation node from element class.

Revision 90068 - Directory Listing
Modified Thu Aug 21 14:32:56 2008 UTC (6 years, 1 month ago) by wichert
Another recursive method test

Revision 90065 - Directory Listing
Modified Thu Aug 21 14:16:07 2008 UTC (6 years, 1 month ago) by wichert
Nested methods can give a syntatx error

Revision 90064 - Directory Listing
Modified Thu Aug 21 13:34:43 2008 UTC (6 years, 1 month ago) by malthe
System variables are now defined in a configuration class.

Revision 90049 - Directory Listing
Modified Thu Aug 21 07:01:08 2008 UTC (6 years, 1 month ago) by chrism
Repeatedly calling flatten was horrifically expensive according to
profiler output.


Revision 90029 - Directory Listing
Modified Wed Aug 20 16:15:18 2008 UTC (6 years, 1 month ago) by chrism
Unused imports.

Revision 90028 - Directory Listing
Modified Wed Aug 20 16:09:57 2008 UTC (6 years, 1 month ago) by chrism
Get rid of safe_render.

Revision 90021 - Directory Listing
Modified Tue Aug 19 22:09:43 2008 UTC (6 years, 1 month ago) by malthe
Include self. This fixes an issue where macros were not being found if declared on the root node.

Revision 89993 - Directory Listing
Modified Tue Aug 19 05:50:10 2008 UTC (6 years, 1 month ago) by chrism
Whoops.

Revision 89992 - Directory Listing
Modified Tue Aug 19 05:49:32 2008 UTC (6 years, 1 month ago) by chrism
Add failing test for define-slot / fill-slot behavior.

Revision 89991 - Directory Listing
Modified Tue Aug 19 05:25:29 2008 UTC (6 years, 1 month ago) by chrism
Reverse a "not" test.

Revision 89990 - Directory Listing
Modified Tue Aug 19 05:09:14 2008 UTC (6 years, 1 month ago) by chrism
- Fixed a few more UnicodeDecodeErrors (test contributed by Wiggy).
  In particular, utf-8 encode Unicode attribute keys and values in 
  Assign expressions (e.g. py:attrs).


Revision 89989 - Directory Listing
Modified Tue Aug 19 04:56:24 2008 UTC (6 years, 1 month ago) by chrism
We never want the transformer to upcast to unicode.

Revision 89987 - Directory Listing
Modified Mon Aug 18 22:53:42 2008 UTC (6 years, 1 month ago) by wichert
unicode not required here

Revision 89986 - Directory Listing
Modified Mon Aug 18 22:44:20 2008 UTC (6 years, 1 month ago) by wichert
More torture

Revision 89985 - Directory Listing
Modified Mon Aug 18 22:42:37 2008 UTC (6 years, 1 month ago) by wichert
A doctest just refuses to catch this..

Revision 89983 - Directory Listing
Modified Mon Aug 18 21:47:15 2008 UTC (6 years, 1 month ago) by malthe
Revert draft changes.

Revision 89982 - Directory Listing
Modified Mon Aug 18 21:46:29 2008 UTC (6 years, 1 month ago) by malthe
Added support for global defines.

Revision 89981 - Directory Listing
Modified Mon Aug 18 21:44:21 2008 UTC (6 years, 1 month ago) by malthe
Compare unicode strings.

Revision 89980 - Directory Listing
Modified Mon Aug 18 21:43:40 2008 UTC (6 years, 1 month ago) by malthe
Update list of contributors.

Revision 89970 - Directory Listing
Modified Mon Aug 18 14:47:15 2008 UTC (6 years, 1 month ago) by malthe
Added test for py:attrs and unicode values.

Revision 89969 - Directory Listing
Modified Mon Aug 18 14:30:50 2008 UTC (6 years, 1 month ago) by malthe
Added support for interpolation expressions without the use of curly braces (when providing just a variable).

Revision 89966 - Directory Listing
Modified Mon Aug 18 10:15:11 2008 UTC (6 years, 1 month ago) by malthe
Fixed off-by-one error in interpolation routine.

Revision 89965 - Directory Listing
Modified Mon Aug 18 10:04:51 2008 UTC (6 years, 1 month ago) by malthe
Repeat-clause should not output tail with every iteration.

Revision 89960 - Directory Listing
Modified Mon Aug 18 08:25:26 2008 UTC (6 years, 1 month ago) by wichert
No excuse for typos in a test

Revision 89959 - Directory Listing
Modified Mon Aug 18 08:20:55 2008 UTC (6 years, 1 month ago) by wichert
A new failing test

Revision 89958 - Directory Listing
Modified Mon Aug 18 08:05:04 2008 UTC (6 years, 1 month ago) by chrism
Make this test pass.

Revision 89957 - Directory Listing
Modified Mon Aug 18 07:55:13 2008 UTC (6 years, 1 month ago) by chrism
UTF-8 encode dynamic attribute insertions.

Revision 89926 - Directory Listing
Modified Sun Aug 17 15:36:40 2008 UTC (6 years, 1 month ago) by wichert
Add a strange (and not very important) error

Revision 89920 - Directory Listing
Modified Sun Aug 17 10:21:00 2008 UTC (6 years, 1 month ago) by wichert
Tweak the test so it fails

Revision 89919 - Directory Listing
Modified Sun Aug 17 08:28:40 2008 UTC (6 years, 1 month ago) by malthe
You can't fix bugs my disabling the test.

Revision 89918 - Directory Listing
Modified Sun Aug 17 07:55:52 2008 UTC (6 years, 1 month ago) by wichert
Another test failure

Revision 89912 - Directory Listing
Modified Sat Aug 16 14:12:06 2008 UTC (6 years, 1 month ago) by wichert
For some reason some data is disappearing

Revision 89911 - Directory Listing
Modified Sat Aug 16 08:58:39 2008 UTC (6 years, 1 month ago) by wichert
Restore a bug fixed earlier by ChrisM

Revision 89910 - Directory Listing
Modified Sat Aug 16 08:55:19 2008 UTC (6 years, 1 month ago) by wichert
Allow specifying the parser in the template loader

Revision 89909 - Directory Listing
Modified Sat Aug 16 08:38:52 2008 UTC (6 years, 1 month ago) by wichert
Note source of example

Revision 89908 - Directory Listing
Modified Sat Aug 16 08:35:39 2008 UTC (6 years, 1 month ago) by wichert
Add a test for simple variable expansion

Revision 89907 - Directory Listing
Modified Sat Aug 16 08:13:26 2008 UTC (6 years, 1 month ago) by wichert
A puzzling test failure. Similar to http://genshi.edgewall.org/ticket/256

Revision 89903 - Directory Listing
Modified Sat Aug 16 05:50:04 2008 UTC (6 years, 1 month ago) by chrism
We used to do iterable.__iter__() but, e.g. BTreeItems
objects are iterable (via __getitem__) but don't possess
an __iter__.  Call iter(iterable) instead to determine
iterability.


Revision 89902 - Directory Listing
Modified Fri Aug 15 23:50:05 2008 UTC (6 years, 1 month ago) by malthe
Split out element compiler classes; refactored large parts of the codebase.

Revision 89901 - Directory Listing
Modified Fri Aug 15 22:59:32 2008 UTC (6 years, 1 month ago) by hannosch
Allow dots in the later part of path expressions. For example: "context/favicon.gif".

Revision 89873 - Directory Listing
Modified Fri Aug 15 10:09:36 2008 UTC (6 years, 1 month ago) by wichert
Add test for a bug in quote handling

Revision 89778 - Directory Listing
Modified Wed Aug 13 04:30:44 2008 UTC (6 years, 1 month ago) by chrism
- Make lxml a setuptools "extra".  To install with lxml support
  (currently required by Genshi), specify "z3c.pt [lxml]" in
  any references you need to make to the package in buildout or
  in setup.py install_requires.  [chrism]

- Add test-nolxml and py-nolxml parts to buildout so the package's
  tests can be run without lxml.  [chrism]  


Revision 89777 - Directory Listing
Modified Wed Aug 13 04:24:52 2008 UTC (6 years, 1 month ago) by chrism
Fix name error.

Revision 89776 - Directory Listing
Modified Wed Aug 13 04:23:59 2008 UTC (6 years, 1 month ago) by chrism
Get URL right.

Revision 89775 - Directory Listing
Modified Wed Aug 13 02:54:17 2008 UTC (6 years, 1 month ago) by chrism
Tweak.

Revision 89774 - Directory Listing
Modified Wed Aug 13 02:49:13 2008 UTC (6 years, 1 month ago) by chrism
Refimpls; tal:default-expression


Revision 89773 - Directory Listing
Modified Wed Aug 13 01:54:11 2008 UTC (6 years, 1 month ago) by chrism
Add i18n documentation.

Revision 89761 - Directory Listing
Modified Tue Aug 12 23:04:35 2008 UTC (6 years, 1 month ago) by malthe
Raise friendly exception if we're repeating over a non-iterable.

Revision 89759 - Directory Listing
Modified Tue Aug 12 22:26:28 2008 UTC (6 years, 1 month ago) by malthe
Correctly handle CDATA-sections when using the ElementTree-parser.

Revision 89757 - Directory Listing
Modified Tue Aug 12 22:02:49 2008 UTC (6 years, 1 month ago) by malthe
Fixed bug in path-expressions; attributes with string-values are now properly traversed to.

Revision 89756 - Directory Listing
Modified Tue Aug 12 21:34:41 2008 UTC (6 years, 1 month ago) by malthe
No longer require default namespace.

Revision 89754 - Directory Listing
Modified Tue Aug 12 18:49:53 2008 UTC (6 years, 1 month ago) by malthe
Fixed indentation.

Revision 89753 - Directory Listing
Modified Tue Aug 12 18:49:27 2008 UTC (6 years, 1 month ago) by hannosch
Changed source code debug mode files to be named <filename>.py instead of <filename>.source.

Revision 89752 - Directory Listing
Modified Tue Aug 12 18:37:40 2008 UTC (6 years, 1 month ago) by malthe
Generalized ElementTree-import.

Revision 89751 - Directory Listing
Modified Tue Aug 12 18:25:59 2008 UTC (6 years, 1 month ago) by malthe
Removed absurd dependency.

Revision 89742 - Directory Listing
Modified Tue Aug 12 16:39:23 2008 UTC (6 years, 1 month ago) by malthe
Only if doctype is defined.

Revision 89741 - Directory Listing
Modified Tue Aug 12 16:38:58 2008 UTC (6 years, 1 month ago) by malthe
Correctly handle CDATA-sections, even when using expression interpolation.

Revision 89725 - Directory Listing
Modified Tue Aug 12 13:22:04 2008 UTC (6 years, 1 month ago) by malthe
Added XML validation.

Revision 89724 - Directory Listing
Modified Tue Aug 12 13:17:52 2008 UTC (6 years, 1 month ago) by malthe
Preserve CDATA sections.

Revision 89722 - Directory Listing
Modified Tue Aug 12 12:51:13 2008 UTC (6 years, 1 month ago) by malthe
Fixed Genshi interpolation operator escape logic.

Revision 89721 - Directory Listing
Modified Tue Aug 12 12:47:11 2008 UTC (6 years, 1 month ago) by malthe
Added preliminary support for falling back to xml.etree.

Revision 89702 - Directory Listing
Modified Tue Aug 12 07:48:19 2008 UTC (6 years, 1 month ago) by wichert
Add failing tests for CDATA and ${..} expansion

Revision 89700 - Directory Listing
Modified Tue Aug 12 07:43:57 2008 UTC (6 years, 1 month ago) by wichert
Add a failing test for handling of markup in ${..} expansion

Revision 89698 - Directory Listing
Modified Tue Aug 12 06:37:13 2008 UTC (6 years, 1 month ago) by chrism
Get checkout URL right.

Revision 89697 - Directory Listing
Modified Tue Aug 12 06:35:27 2008 UTC (6 years, 1 month ago) by chrism


Revision 89696 - Directory Listing
Modified Tue Aug 12 06:22:28 2008 UTC (6 years, 1 month ago) by chrism
Fix edge case bug where both a numeric entity and a literal set of unicode bytes was inserted into the same document.  See  also http://groups.google.com/group/z3c_pt/browse_thread/thread/aea963d25a1778d0?hl=en


Revision 89694 - Directory Listing
Modified Tue Aug 12 06:00:58 2008 UTC (6 years, 1 month ago) by chrism
Allow a broader set of values to represent true.

Revision 89683 - Directory Listing
Modified Mon Aug 11 20:29:05 2008 UTC (6 years, 1 month ago) by hannosch
Update our description, we can do more than TAL by now

Revision 89682 - Directory Listing
Modified Mon Aug 11 20:23:57 2008 UTC (6 years, 1 month ago) by hannosch
Typo

Revision 89681 - Directory Listing
Modified Mon Aug 11 20:15:49 2008 UTC (6 years, 1 month ago) by hannosch
We got a web presence and ml.

Revision 89680 - Directory Listing
Modified Mon Aug 11 19:22:49 2008 UTC (6 years, 1 month ago) by malthe
Convert unicode static attributes to UTF-8.

Revision 89676 - Directory Listing
Modified Mon Aug 11 17:55:56 2008 UTC (6 years, 1 month ago) by malthe
Added comparison to an lxml-based XML tree manipulation and serialization.

Revision 89674 - Directory Listing
Modified Mon Aug 11 17:08:18 2008 UTC (6 years, 1 month ago) by malthe
(Failed) Attempt at reproducing unicode-issue. The correct output is produced.

Revision 89673 - Directory Listing
Modified Mon Aug 11 17:00:37 2008 UTC (6 years, 1 month ago) by malthe
Static attributes are now properly overriden by py:attr-attributes.

Revision 89659 - Directory Listing
Modified Mon Aug 11 15:18:21 2008 UTC (6 years, 1 month ago) by malthe
Made copyright notice more general.

Revision 89658 - Directory Listing
Modified Mon Aug 11 15:14:49 2008 UTC (6 years, 1 month ago) by malthe
Only string-expressions need to escape semi-colon literals.

Revision 89654 - Directory Listing
Modified Mon Aug 11 14:55:13 2008 UTC (6 years, 1 month ago) by malthe
Cleaned up tests for 'path:' and 'string:' expressions.

Revision 89653 - Directory Listing
Modified Mon Aug 11 14:53:12 2008 UTC (6 years, 1 month ago) by malthe
Added support for semi-colon literals in string-expressions.

Revision 89645 - Directory Listing
Modified Mon Aug 11 12:35:40 2008 UTC (6 years, 1 month ago) by malthe
Updated introduction.

Revision 89637 - Directory Listing
Modified Mon Aug 11 06:46:46 2008 UTC (6 years, 1 month ago) by chrism
Get ordering back.

Revision 89635 - Directory Listing
Modified Mon Aug 11 06:21:08 2008 UTC (6 years, 1 month ago) by chrism


Revision 89634 - Directory Listing
Modified Mon Aug 11 06:11:19 2008 UTC (6 years, 1 month ago) by chrism


Revision 89633 - Directory Listing
Modified Mon Aug 11 06:10:03 2008 UTC (6 years, 1 month ago) by chrism
Add TALES and METAL chapters.

Revision 89628 - Directory Listing
Modified Mon Aug 11 05:10:15 2008 UTC (6 years, 1 month ago) by chrism
No global defines in z3c.pt.

Revision 89627 - Directory Listing
Modified Mon Aug 11 04:51:11 2008 UTC (6 years, 1 month ago) by chrism
D'oh.

Revision 89626 - Directory Listing
Modified Mon Aug 11 04:50:12 2008 UTC (6 years, 1 month ago) by chrism
Use Python expressions; no on-error.

Revision 89625 - Directory Listing
Modified Mon Aug 11 04:18:04 2008 UTC (6 years, 1 month ago) by chrism
Docs: start on API and TAL docs (appropriated from the Zope Book).

Revision 89595 - Directory Listing
Modified Sun Aug 10 10:16:05 2008 UTC (6 years, 1 month ago) by malthe
Added namespace support for METAL directives.

Revision 89580 - Directory Listing
Modified Sat Aug 9 16:46:29 2008 UTC (6 years, 1 month ago) by chrism
- Get rid of package-relative magic in constructor of BaseTemplateFile
  in favor of just requiring an absolute path or a path relative
  to getcwd(). Rationale: it didn't work when called from __main__
  when the template was relative to getcwd(), which is the 99% case
  for people first trying it out. [chrism]


Revision 89579 - Directory Listing
Modified Sat Aug 9 16:18:54 2008 UTC (6 years, 1 month ago) by malthe
Added Zope METAL-support.

Revision 89574 - Directory Listing
Modified Sat Aug 9 14:30:59 2008 UTC (6 years, 1 month ago) by malthe
These are functional tests for the template classes and should be labelled as such.

Revision 89566 - Directory Listing
Modified Sat Aug 9 09:46:59 2008 UTC (6 years, 1 month ago) by malthe
Allow methods with no argument clause.

Revision 89564 - Directory Listing
Modified Sat Aug 9 00:12:11 2008 UTC (6 years, 1 month ago) by chrism
Add Sphinx to py, to be able to build docs.

Revision 89563 - Directory Listing
Modified Sat Aug 9 00:11:44 2008 UTC (6 years, 1 month ago) by chrism
Skeleton for docs area.

Revision 89549 - Directory Listing
Modified Fri Aug 8 16:27:42 2008 UTC (6 years, 1 month ago) by chrism
Unused import.

Revision 89548 - Directory Listing
Modified Fri Aug 8 16:17:53 2008 UTC (6 years, 1 month ago) by chrism
Fix errno NameError in TemplateLoader when a bad path is passed; test.

Revision 89541 - Directory Listing
Modified Fri Aug 8 10:43:40 2008 UTC (6 years, 1 month ago) by wichert
Explicitly enable the cache in python code instead of relying on environment variables

Revision 89540 - Directory Listing
Modified Fri Aug 8 10:16:44 2008 UTC (6 years, 1 month ago) by wichert
Add a TemplateLoader class to have a convenient method to instantiate
templates. This is similar to the template loaders from other template
toolkits and makes integration with Pylons a lot simpler.

Revision 89539 - Directory Listing
Modified Fri Aug 8 10:15:24 2008 UTC (6 years, 1 month ago) by wichert
Switch from hardcoding all options in config.py to using parameters
for the template. This also allows us to use the more logical
auto_reload flag instead of reusing PROD_MODE, which is also used
for other purposes.

Revision 89523 - Directory Listing
Modified Thu Aug 7 22:50:10 2008 UTC (6 years, 1 month ago) by chrism
Stray dot?

Revision 89522 - Directory Listing
Modified Thu Aug 7 22:47:17 2008 UTC (6 years, 1 month ago) by chrism
- Treat comments, processing instructions, and named entities in the
  source template as "literals", which will be rendered into the
  output unchanged. [chrism]



Revision 89481 - Directory Listing
Modified Thu Aug 7 01:52:55 2008 UTC (6 years, 1 month ago) by chrism
Unused import.

Revision 89479 - Directory Listing
Modified Thu Aug 7 01:10:38 2008 UTC (6 years, 1 month ago) by malthe
Unused mysterious code.

Revision 89478 - Directory Listing
Modified Thu Aug 7 01:09:02 2008 UTC (6 years, 1 month ago) by malthe
Added Genshi-support.

Revision 89456 - Directory Listing
Modified Wed Aug 6 17:45:47 2008 UTC (6 years, 1 month ago) by chrism
Missed a changelog entry for the DOCTYPE change.

Revision 89438 - Directory Listing
Modified Wed Aug 6 11:47:00 2008 UTC (6 years, 1 month ago) by malthe
Unused.

Revision 89437 - Directory Listing
Modified Wed Aug 6 11:42:56 2008 UTC (6 years, 1 month ago) by malthe
Be more explicit with attribute names.

Revision 89436 - Directory Listing
Modified Wed Aug 6 11:34:33 2008 UTC (6 years, 1 month ago) by malthe
Refactor.

Revision 89435 - Directory Listing
Modified Wed Aug 6 11:34:19 2008 UTC (6 years, 1 month ago) by malthe
Explicit type-cast from float.

Revision 89421 - Directory Listing
Modified Wed Aug 6 04:51:41 2008 UTC (6 years, 1 month ago) by chrism
If the source contains a DOCTYPE declaration, output it in the rendering.

Revision 89341 - Directory Listing
Modified Mon Aug 4 10:41:34 2008 UTC (6 years, 1 month ago) by chrism


Revision 89340 - Directory Listing
Modified Mon Aug 4 10:38:13 2008 UTC (6 years, 1 month ago) by chrism
Make the following test pass on machines which are configured with
ascii default encoding:

import z3c.pt
from zope.configuration import xmlconfig
xmlconfig.file('configure.zcml', z3c.pt)
pt = """<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:tal="http://xml.zope.org/namespaces/tal">
<span>
normal text
</span>
<div>
&#169;
</div>
&#169;
</html>"""
from z3c.pt.pagetemplate import PageTemplate
t = PageTemplate(pt)
print t.render()

Previously, on systems configured with an ascii default encoding, this would
fail with a UnicodeDecodeError.

I have made sure the tests still pass on a system configured with utf-8 default
encoding.

A previous attempt at a fix for this was put into the chrism-gen-unicode-fix
branch, but that was not the right fix (it was too coarse).

Here we cause CodeIO to keep a string queue rather than a unicode queue, and
we encode "text" and "tail" literals to utf-8 before making clauses
out of them.  CodeIO should always hold a string in its queue from
here on in.

This is required because the libxml2 (lxml?) parser returns us
unicode when it encounters entities in the document, while everything else
it encounters seems to come to us as strings.

This change has no meaningful effect on benchmark numbers.

This is a ridiculously long checkin message.


Revision 89316 - Directory Listing
Modified Sun Aug 3 20:24:12 2008 UTC (6 years, 1 month ago) by hannosch
Refactored file system based cache a bit and added a simple benchmark for the cache. The initial load speed for a template goes down significantly with the cache. Compared to zope.pagetemplate we are only 3x slower, compared to 50x slower when cooking each template on process startup.

Revision 89240 - Directory Listing
Modified Sat Aug 2 21:34:56 2008 UTC (6 years, 2 months ago) by hannosch
Fixed ViewPageTemplateFile to not pass on kwargs, since the underlying method cannot take them

Revision 89190 - Directory Listing
Modified Sat Aug 2 10:37:41 2008 UTC (6 years, 2 months ago) by hannosch
There's no reason not to use our faster BufferIO for CodeIO as well

Revision 89189 - Directory Listing
Modified Sat Aug 2 10:17:09 2008 UTC (6 years, 2 months ago) by hannosch
Pyflaked!

Revision 89188 - Directory Listing
Modified Sat Aug 2 10:13:09 2008 UTC (6 years, 2 months ago) by hannosch
Make the code more readable

Revision 89187 - Directory Listing
Modified Sat Aug 2 09:53:11 2008 UTC (6 years, 2 months ago) by hannosch
Updated contributers

Revision 88748 - Directory Listing
Modified Wed Jul 23 08:04:46 2008 UTC (6 years, 2 months ago) by hannosch
Added one more comment

Revision 88747 - Directory Listing
Modified Wed Jul 23 08:01:52 2008 UTC (6 years, 2 months ago) by hannosch
Got rid entirely of the _escape function and inlined the actual code instead. We go up again to 12x for path and 19x for Python expressions :)

Revision 88746 - Directory Listing
Modified Wed Jul 23 07:41:04 2008 UTC (6 years, 2 months ago) by hannosch
Avoid string concatenation and use multiple write statements instead. These are faster now, since we use a list append internally.

Revision 88744 - Directory Listing
Modified Tue Jul 22 23:05:01 2008 UTC (6 years, 2 months ago) by hannosch
Added missing escaping for Unicode values.

Revision 88738 - Directory Listing
Modified Tue Jul 22 21:42:48 2008 UTC (6 years, 2 months ago) by fschulze
Inline the _escape function, because function calls are expensive in Python.

Revision 88644 - Directory Listing
Modified Mon Jul 21 00:49:43 2008 UTC (6 years, 2 months ago) by chrism
- A bug was fixed whereby including numeric entity elements
  in the source of a PageTemplate would cause a UnicodeDecodeError.
  [chrism]

Repeat by attempting to run the following script under an unfixed
version:

import z3c.pt
from zope.configuration import xmlconfig
xmlconfig.file('configure.zcml', z3c.pt)
pt = """<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:tal="http://xml.zope.org/namespaces/tal">
&#169;
</html>"""
from z3c.pt.pagetemplate import PageTemplate
t = PageTemplate(pt)
t.render()


Revision 88643 - Directory Listing
Modified Mon Jul 21 00:44:01 2008 UTC (6 years, 2 months ago) by chrism
Create a branch to do a bugfix related to generation code encoding.

Revision 88527 - Directory Listing
Modified Fri Jul 18 15:34:55 2008 UTC (6 years, 2 months ago) by malthe
Acknowledge the numerous community contributions.

Revision 88511 - Directory Listing
Modified Fri Jul 18 14:09:03 2008 UTC (6 years, 2 months ago) by philikon
don't look for eggs in bogus place.

Revision 88499 - Directory Listing
Modified Fri Jul 18 12:53:19 2008 UTC (6 years, 2 months ago) by malthe
Version bump.

Revision 88497 - Directory Listing
Modified Fri Jul 18 12:41:22 2008 UTC (6 years, 2 months ago) by malthe
Updated changeset.

Revision 88496 - Directory Listing
Modified Fri Jul 18 12:39:46 2008 UTC (6 years, 2 months ago) by malthe
Try to infer module path on two levels; this allows declaring templates outside of classes (e.g. in a module-level function).

Revision 88489 - Directory Listing
Modified Fri Jul 18 10:55:47 2008 UTC (6 years, 2 months ago) by hannosch
Reverted c88488, malthe pointed out a problem with properties...

Revision 88477 - Directory Listing
Modified Fri Jul 18 09:02:51 2008 UTC (6 years, 2 months ago) by hannosch
Avoid a try/except in Lookup.lookup_attr and use a getattr with an `is marker` comparison instead.

Revision 88469 - Directory Listing
Modified Fri Jul 18 07:48:05 2008 UTC (6 years, 2 months ago) by hannosch
Added a comment, explaining the call signature

Revision 88468 - Directory Listing
Modified Fri Jul 18 07:34:25 2008 UTC (6 years, 2 months ago) by hannosch
Simplified the _escape function handling by pulling in the str call into the function. Corrected the bigtable hotshot test to only benchmark rendering.

Revision 88466 - Directory Listing
Modified Thu Jul 17 21:29:42 2008 UTC (6 years, 2 months ago) by hannosch
Replaced the cgi.escape function by an optimized local version, we go up to 11x for path and 16x for Python expressions :) In the bigtable benchmark the enhancement is more noticable - we are the same speed as spitfire -O1 templates now and just half the speed of -O3 :))

Revision 88465 - Directory Listing
Modified Thu Jul 17 20:51:51 2008 UTC (6 years, 2 months ago) by hannosch
Added a new benchmark test called bigtable that produces results which are directly comparable to th
ose produced by the bigtable.py benchmark in the spitfire project.

Revision 88343 - Directory Listing
Modified Mon Jul 14 09:38:30 2008 UTC (6 years, 2 months ago) by malthe
Version bump.

Revision 88289 - Directory Listing
Modified Sat Jul 12 14:24:03 2008 UTC (6 years, 2 months ago) by hannosch
Introduce a new config option called `Z3C_PT_DISABLE_I18N`. If this environment variable is set to `true`, the template engine will not call into the zope.i18n machinery anymore, but fall back to simple interpolation in all cases. In a normal Zope environment which has the whole i18n infrastructure set up, this will render the templates about 15x faster than normal TAL, instead of only 10x faster at this point. Special greetings to mcdonc ;)

Revision 88288 - Directory Listing
Modified Sat Jul 12 13:47:33 2008 UTC (6 years, 2 months ago) by hannosch
Removed the `second rendering` tests from the benchmark suite. Since we enable the file cache for the benchmarks, there's no difference between the first and second rendering anymore after the cache file has been written.

Revision 88287 - Directory Listing
Modified Sat Jul 12 13:38:19 2008 UTC (6 years, 2 months ago) by hannosch
Simplify changelog and remove conditional import

Revision 88286 - Directory Listing
Modified Sat Jul 12 13:35:19 2008 UTC (6 years, 2 months ago) by hannosch
Require new zope.i18n release and remove svn external for it

Revision 88246 - Directory Listing
Modified Fri Jul 11 07:42:28 2008 UTC (6 years, 2 months ago) by malthe
Fixed interpolation edge-case.

Revision 88245 - Directory Listing
Modified Fri Jul 11 07:21:26 2008 UTC (6 years, 2 months ago) by malthe
Identifying interpolation bug.

Revision 88142 - Directory Listing
Modified Wed Jul 9 15:08:14 2008 UTC (6 years, 2 months ago) by chrism
Typo.

Revision 88078 - Directory Listing
Modified Sun Jul 6 22:03:40 2008 UTC (6 years, 2 months ago) by hannosch
Added optional support for using zope.i18n 3.5's new negotiate function. If you use the `zope_i18n_allowed_languages` environment variable the target language for a template is only negotiated once per template, instead of once for each translate function call. This more than doubles the speed and the benchmark is back at 9.2 times faster.

Revision 88077 - Directory Listing
Modified Sun Jul 6 21:12:36 2008 UTC (6 years, 2 months ago) by hannosch
Extended the i18n handling to respect the passed in translation context to the template. Usually this is the request, which is passed on under the internal name of `_context` into the render functions. After extending the i18n tests to include a negotiator and message catalog the improvement is only at 4.5 anymore, as most of the time is spent inside the i18n machinery.

Revision 88076 - Directory Listing
Modified Sun Jul 6 17:42:54 2008 UTC (6 years, 2 months ago) by hannosch
Include a SVN version of zope.i18n. We won't require it yet, but use some of its new features to optimize i18n behavior.

Revision 88074 - Directory Listing
Modified Sun Jul 6 17:31:13 2008 UTC (6 years, 2 months ago) by hannosch
Move history to top-level and rename it to changes. I've been looking for it too many times now.

Revision 88070 - Directory Listing
Modified Sun Jul 6 16:27:54 2008 UTC (6 years, 2 months ago) by tseaver
PEP 8:  wrap long lines, avoid backslashes, use non-deprecated exception form.

Revision 88069 - Directory Listing
Modified Sun Jul 6 14:41:26 2008 UTC (6 years, 2 months ago) by hannosch
Added persistent file cache functionality. If the environment variable is set, each file system based template will add a directory to the cache (currently a SHA-1 of the file's absolute path is used as the folder name) and in the folder one file per params for the template (cache filename is the hash of the params). Once a template file is initialized, an instance local registry is added, which then looks up all cached files and pre-populates the registry with the render functions.

Revision 88068 - Directory Listing
Modified Sun Jul 6 10:30:53 2008 UTC (6 years, 2 months ago) by malthe
Version bump.

Revision 88067 - Directory Listing
Modified Sun Jul 6 10:29:38 2008 UTC (6 years, 2 months ago) by malthe
Version bump.

Revision 88066 - Directory Listing
Modified Sun Jul 6 10:29:11 2008 UTC (6 years, 2 months ago) by malthe
Updated with latest changes.

Revision 88065 - Directory Listing
Modified Sun Jul 6 10:25:41 2008 UTC (6 years, 2 months ago) by malthe
Fixed interpolation edge-case issue with, admittedly, crude logic.

Revision 88064 - Directory Listing
Modified Sun Jul 6 10:08:36 2008 UTC (6 years, 2 months ago) by malthe
Slight optimization.

Revision 88063 - Directory Listing
Modified Sun Jul 6 10:05:49 2008 UTC (6 years, 2 months ago) by malthe
Fixed bug where injected elements would not be processed for interpolation.

Revision 88062 - Directory Listing
Modified Sun Jul 6 09:57:39 2008 UTC (6 years, 2 months ago) by hannosch
Added new `Z3C_PT_FILECACHE` environment variable pointing to a directory. If set, this will be used to cache the compiled files.

Revision 88061 - Directory Listing
Modified Sun Jul 6 09:37:42 2008 UTC (6 years, 2 months ago) by hannosch
Added a second variation of the repeat clause, using a simple for loop. It doesn't support the repeatdict, though and is therefor not used yet. Also began work to add introspection facilities to clauses about the variables being used in them.
The simpler loop causes the benchmarks to go up to a 10.5 (old 9.5) for path expressions and 14.5 (12.5) for python expressions. So the next step is to introduce an optimization phase, that can decide which variant of the loops to use.

Revision 88043 - Directory Listing
Modified Sat Jul 5 18:51:04 2008 UTC (6 years, 2 months ago) by malthe
Demonstrating two bugs in the interpolation translation: There's a slicing issue with text/tail and an unit-of-work ordering issue that causes problems when there's more than two interpolations per text.

Revision 87417 - Directory Listing
Modified Sun Jun 15 23:19:19 2008 UTC (6 years, 3 months ago) by chrism
Fix name error found while perusing code and test.

Revision 87416 - Directory Listing
Modified Sun Jun 15 20:48:52 2008 UTC (6 years, 3 months ago) by hannosch
Made the debug mode independent from the Python debug mode. You can now specify an environment variable called `Z3C_PT_DEBUG` to enable it. Thx to Tres Seaver for the suggestion!

Revision 87415 - Directory Listing
Modified Sun Jun 15 20:46:10 2008 UTC (6 years, 3 months ago) by hannosch
Updated readme

Revision 87414 - Directory Listing
Modified Sun Jun 15 20:39:26 2008 UTC (6 years, 3 months ago) by hannosch
Added some code in a filecache module that can later be used to write out and reload the compiled Python code to and from the file system. We should be able to avoid reparsing on Python process restart.

Revision 87413 - Directory Listing
Modified Sun Jun 15 18:18:40 2008 UTC (6 years, 3 months ago) by hannosch
Simplified the generated _escape code. cgi.escape's second argument is a simple boolean and not a list of characters to quote.

Revision 87412 - Directory Listing
Modified Sun Jun 15 18:08:30 2008 UTC (6 years, 3 months ago) by hannosch
Use a simple list based BufferIO class instead of a cStringIO for the out stream. Avoiding the need to encode Unicode data is a bigger win. We do not support arbitrarily mixing of Unicode and non-ascii inside the engine. We are back at a 11.5x times faster factor.

Revision 87411 - Directory Listing
Modified Sun Jun 15 15:27:07 2008 UTC (6 years, 3 months ago) by hannosch
Merged two adjacent writes into one inside the Tag clause.

Revision 87409 - Directory Listing
Modified Sun Jun 15 12:38:04 2008 UTC (6 years, 3 months ago) by hannosch
Found one more case for prod_mode

Revision 87406 - Directory Listing
Modified Sun Jun 15 12:36:55 2008 UTC (6 years, 3 months ago) by hannosch
Applied a bunch of micro-optimizations. ''.join({}) is slightly faster than ''.join({}.keys()) and does the same. Avoid a try/except for error handling in non-debug mode. Test against 'is None' instead of a boolean check for the result of the template registry lookup. Made PROD_MODE available defined as 'not DEBUG_MODE' in config.py, so we avoid the 'not' in every cook-check.

Revision 87404 - Directory Listing
Modified Sat Jun 14 19:48:28 2008 UTC (6 years, 3 months ago) by hannosch
Added more benchmark tests for the file variants.

Revision 87403 - Directory Listing
Modified Sat Jun 14 19:27:53 2008 UTC (6 years, 3 months ago) by hannosch
Optimized 'is None' handling in Tag clause similar to the Write clause.

The Python syntax is back at a 10x factor of being faster.

Revision 87402 - Directory Listing
Modified Sat Jun 14 18:52:50 2008 UTC (6 years, 3 months ago) by hannosch
Made the _out.write method directly available as _write in all scopes, so we avoid the method lookup call each time.

Revision 87395 - Directory Listing
Modified Sat Jun 14 17:24:19 2008 UTC (6 years, 3 months ago) by hannosch
Optimized 'is None' handling in Write clause. Most common case is that we have unicode, which means we don't have a None value. If we do have a None value, we don't want to write out anything at all.

Revision 87394 - Directory Listing
Modified Sat Jun 14 17:11:33 2008 UTC (6 years, 3 months ago) by hannosch
Slightly refactored benchmark tests and added tests for the file variants.

Revision 87393 - Directory Listing
Modified Sat Jun 14 16:42:21 2008 UTC (6 years, 3 months ago) by hannosch
In debug mode the actual source code for file templates is written out to a <filename>.source file, to make it easier to inspect it.

Make debug mode setting explicit in a config.py. Currently it is bound to Python's __debug__, which is False when run with -O and otherwise True.

Revision 87392 - Directory Listing
Modified Sat Jun 14 13:38:57 2008 UTC (6 years, 3 months ago) by hannosch
Extended the i18n benchmark to give a more realistic comparision. The zope.pagetemplate version wasn't using zope.i18n at all

Revision 87391 - Directory Listing
Modified Sat Jun 14 11:38:49 2008 UTC (6 years, 3 months ago) by hannosch
Use a simplified UnicodeWrite clause for the result of _translate calls, as the result value is guaranteed to be Unicode.

Revision 87390 - Directory Listing
Modified Sat Jun 14 10:46:37 2008 UTC (6 years, 3 months ago) by hannosch
Added simple benchmark test for i18n handling.

Revision 87389 - Directory Listing
Modified Sat Jun 14 09:56:59 2008 UTC (6 years, 3 months ago) by hannosch
Added more tests for i18n attributes handling.

Revision 87388 - Directory Listing
Modified Sat Jun 14 09:44:21 2008 UTC (6 years, 3 months ago) by hannosch
Don't generate empty mappings for expressions with a trailing semicolon.

Revision 87387 - Directory Listing
Modified Sat Jun 14 09:40:47 2008 UTC (6 years, 3 months ago) by hannosch
Fixed undefined name 'static' error in i18n attributes handling and added quoting to i18n attributes.

Revision 87386 - Directory Listing
Modified Sat Jun 14 09:21:15 2008 UTC (6 years, 3 months ago) by hannosch
Added condition to the valid attributes on tags in the tal namespace.

Revision 87232 - Directory Listing
Modified Sat Jun 7 19:03:56 2008 UTC (6 years, 3 months ago) by hannosch
Added ignores

Revision 87231 - Directory Listing
Modified Sat Jun 7 19:02:36 2008 UTC (6 years, 3 months ago) by hannosch
Whitespace

Revision 87186 - Directory Listing
Modified Fri Jun 6 11:54:54 2008 UTC (6 years, 3 months ago) by malthe
Moved package into 'src' directory.

Revision 86878 - Directory Listing
Modified Wed May 21 13:09:39 2008 UTC (6 years, 4 months ago) by malthe
Fixed bug where pragma resulted in syntax error, if already set.

Revision 86877 - Directory Listing
Modified Wed May 21 13:03:28 2008 UTC (6 years, 4 months ago) by malthe
Removed debugging statement.

Revision 86861 - Directory Listing
Modified Tue May 20 21:58:19 2008 UTC (6 years, 4 months ago) by malthe
Code updates to make package compatible with lxml 2.x.

Revision 86727 - Directory Listing
Modified Wed May 14 10:15:25 2008 UTC (6 years, 4 months ago) by malthe
API change for lxml 2.x series.

Revision 86429 - Directory Listing
Modified Sun May 4 23:07:12 2008 UTC (6 years, 4 months ago) by malthe
Removed version pin from lxml.

Revision 84954 - Directory Listing
Modified Wed Mar 26 14:47:31 2008 UTC (6 years, 6 months ago) by malthe
Carry over traceback info from first template exception.

Revision 84846 - Directory Listing
Modified Sat Mar 22 17:30:44 2008 UTC (6 years, 6 months ago) by malthe
Preparing release.

Revision 84845 - Directory Listing
Modified Sat Mar 22 17:28:07 2008 UTC (6 years, 6 months ago) by malthe
Added template source annotations on code stream object; when an exception is raised while rendering the template, the annotation is attached to the exception message.

Revision 84842 - Directory Listing
Modified Sat Mar 22 13:21:06 2008 UTC (6 years, 6 months ago) by malthe
Repeat-variable now initialized properly.

Revision 84772 - Directory Listing
Modified Wed Mar 19 01:46:22 2008 UTC (6 years, 6 months ago) by malthe
Added tests for compilation speed and path-expression performance.

Revision 84771 - Directory Listing
Modified Wed Mar 19 01:45:02 2008 UTC (6 years, 6 months ago) by malthe
This should be a syntax error.

Revision 84770 - Directory Listing
Modified Wed Mar 19 01:44:45 2008 UTC (6 years, 6 months ago) by malthe
Ignore strings, tuples and lists when proxifying; attributes have priority and are always called.

Revision 84769 - Directory Listing
Modified Wed Mar 19 00:51:20 2008 UTC (6 years, 6 months ago) by malthe
Duplicate help.

Revision 84768 - Directory Listing
Modified Wed Mar 19 00:50:16 2008 UTC (6 years, 6 months ago) by malthe
Fixed formatting.

Revision 84767 - Directory Listing
Modified Wed Mar 19 00:48:17 2008 UTC (6 years, 6 months ago) by malthe
Added release date.

Revision 84766 - Directory Listing
Modified Wed Mar 19 00:45:47 2008 UTC (6 years, 6 months ago) by malthe
Preparing release.

Revision 84765 - Directory Listing
Modified Wed Mar 19 00:42:03 2008 UTC (6 years, 6 months ago) by malthe
Formalized expression type definitions, adding support for nested expressions (needed to properly support string-expressions). Fixed path- and string-expression support. Many added tests and general refactoring.

Revision 84740 - Directory Listing
Modified Mon Mar 17 12:15:03 2008 UTC (6 years, 6 months ago) by malthe
Cleaned up main functional doctest.

Revision 84739 - Directory Listing
Modified Mon Mar 17 12:14:25 2008 UTC (6 years, 6 months ago) by malthe
Only self-close tag if there are no child elements.

Revision 84738 - Directory Listing
Modified Mon Mar 17 12:13:57 2008 UTC (6 years, 6 months ago) by malthe
Allow space between pragmas.

Revision 84737 - Directory Listing
Modified Mon Mar 17 10:31:55 2008 UTC (6 years, 6 months ago) by malthe
Set up benchmark suite as separate testrunner.

Revision 84734 - Directory Listing
Modified Mon Mar 17 09:57:51 2008 UTC (6 years, 6 months ago) by malthe
Moved component set up to testrunner.

Revision 84733 - Directory Listing
Modified Mon Mar 17 09:53:11 2008 UTC (6 years, 6 months ago) by malthe
Do not keep separate version information.

Revision 84732 - Directory Listing
Modified Mon Mar 17 09:51:32 2008 UTC (6 years, 6 months ago) by malthe
Added buildout for testrunner.

Revision 84731 - Directory Listing
Modified Mon Mar 17 09:46:55 2008 UTC (6 years, 6 months ago) by malthe
Use ProxyFactory to wrap path-expression components.

Revision 84726 - Directory Listing
Modified Mon Mar 17 00:54:31 2008 UTC (6 years, 6 months ago) by malthe
Implemented 'nocall', 'structure' and 'not'-pragmas.

Revision 84714 - Directory Listing
Modified Sun Mar 16 18:44:45 2008 UTC (6 years, 6 months ago) by malthe
Implemented support for path expressions.

Revision 84713 - Directory Listing
Modified Sun Mar 16 18:43:59 2008 UTC (6 years, 6 months ago) by malthe
Added documentation on default expression directive; bumped version.

Revision 84711 - Directory Listing
Modified Sun Mar 16 17:20:11 2008 UTC (6 years, 6 months ago) by malthe
Added preliminary support for specifying an expression translation class; in this changeset, an implementation for a Python-expressions is given.

Revision 84704 - Directory Listing
Modified Sun Mar 16 12:16:30 2008 UTC (6 years, 6 months ago) by malthe
Renamed module.

Revision 84563 - Directory Listing
Modified Mon Mar 10 09:53:42 2008 UTC (6 years, 6 months ago) by malthe
Added support for comments.

Revision 84532 - Directory Listing
Modified Fri Mar 7 16:15:44 2008 UTC (6 years, 6 months ago) by malthe
Preparing release.

Revision 84458 - Directory Listing
Modified Tue Mar 4 16:59:30 2008 UTC (6 years, 6 months ago) by malthe
Better handling of attribute errors.

Revision 84412 - Directory Listing
Modified Sun Mar 2 18:14:48 2008 UTC (6 years, 7 months ago) by malthe
Relative paths are now allowed across the board, not only for view page template classes.

Revision 84406 - Directory Listing
Modified Sun Mar 2 14:45:23 2008 UTC (6 years, 7 months ago) by malthe
Tags that carry the TAL-namespace as a prefix should have the tag omitted by default.

Revision 84209 - Directory Listing
Modified Sun Feb 24 03:30:38 2008 UTC (6 years, 7 months ago) by malthe
Fixed issue with absolute path generation.

Revision 84208 - Directory Listing
Modified Sun Feb 24 03:21:51 2008 UTC (6 years, 7 months ago) by malthe
Tagging release.

Revision 84207 - Directory Listing
Modified Sun Feb 24 03:21:19 2008 UTC (6 years, 7 months ago) by malthe
Added support for text templates.

Revision 84206 - Directory Listing
Modified Sun Feb 24 02:50:24 2008 UTC (6 years, 7 months ago) by malthe
If module is not __init__.py, it will have a __file__ attribute instead of __path__.

Revision 84199 - Directory Listing
Modified Sat Feb 23 17:24:51 2008 UTC (6 years, 7 months ago) by malthe
Formatted README.txt in rst.

Revision 84198 - Directory Listing
Modified Sat Feb 23 17:15:23 2008 UTC (6 years, 7 months ago) by malthe
Freudian slip.

Revision 84197 - Directory Listing
Modified Sat Feb 23 17:04:05 2008 UTC (6 years, 7 months ago) by malthe
Tagging release.

Revision 84196 - Directory Listing
Modified Sat Feb 23 17:03:22 2008 UTC (6 years, 7 months ago) by malthe
Preparing release.

Revision 84195 - Directory Listing
Modified Sat Feb 23 16:54:31 2008 UTC (6 years, 7 months ago) by malthe
Added test for escaping.

Revision 84194 - Directory Listing
Modified Sat Feb 23 16:44:26 2008 UTC (6 years, 7 months ago) by malthe
Implemented expression interpolation in attributes.

Revision 84186 - Directory Listing
Modified Sat Feb 23 14:59:40 2008 UTC (6 years, 7 months ago) by malthe
Fixed ordering.

Revision 84184 - Directory Listing
Modified Sat Feb 23 14:56:19 2008 UTC (6 years, 7 months ago) by malthe
Added support for expression interpolation in document content.

Revision 84176 - Directory Listing
Modified Sat Feb 23 12:19:04 2008 UTC (6 years, 7 months ago) by malthe
Always escape single quotes, but only once.

Revision 84175 - Directory Listing
Modified Sat Feb 23 11:46:55 2008 UTC (6 years, 7 months ago) by malthe
Benchmarks should be based on an UTF-8 system.

Revision 84174 - Directory Listing
Modified Sat Feb 23 11:41:52 2008 UTC (6 years, 7 months ago) by malthe
Improved unicode-handling; attributes that evaluate to None are now disregarded.

Revision 84158 - Directory Listing
Modified Sat Feb 23 00:49:21 2008 UTC (6 years, 7 months ago) by malthe
Expressions that return a callable are now evaluated.

Revision 84151 - Directory Listing
Modified Fri Feb 22 23:46:13 2008 UTC (6 years, 7 months ago) by malthe
Fixed bug where a getattr-expression (the dot operator) would result in two or three accesses.

Revision 84150 - Directory Listing
Modified Fri Feb 22 22:48:17 2008 UTC (6 years, 7 months ago) by malthe
Expressions that yield None should print as the empty string.

Revision 84149 - Directory Listing
Modified Fri Feb 22 22:41:41 2008 UTC (6 years, 7 months ago) by malthe
Added default system encoding to error message.

Revision 84148 - Directory Listing
Modified Fri Feb 22 22:37:52 2008 UTC (6 years, 7 months ago) by malthe
Engine now uses cStringIO.

Revision 84146 - Directory Listing
Modified Fri Feb 22 20:17:11 2008 UTC (6 years, 7 months ago) by malthe
Added support for tags carrying the 'tal' prefix.

Revision 84143 - Directory Listing
Modified Fri Feb 22 17:40:27 2008 UTC (6 years, 7 months ago) by malthe
If the provided filename is not an absolute path, infer the path using a sys._getframe-call.

Revision 83887 - Directory Listing
Modified Sat Feb 16 12:51:40 2008 UTC (6 years, 7 months ago) by malthe
Added ViewPageTemplate class to support inline template definitions. Set version to a modest 0.3.1 since this snapshot is entirely compatible with the 0.3 release.

Revision 83886 - Directory Listing
Modified Sat Feb 16 12:49:18 2008 UTC (6 years, 7 months ago) by malthe
The canonical benchmark template now employs a larger subset of the template language. Benchmark results are largely unchanged.

Revision 82948 - Directory Listing
Modified Fri Jan 18 15:49:30 2008 UTC (6 years, 8 months ago) by malthe
Generate a signature on the template body and include as part of the storage key so we can somewhat cheaply switch template source at our leisure.

Revision 82640 - Directory Listing
Modified Wed Jan 2 11:04:11 2008 UTC (6 years, 9 months ago) by malthe
Use 1.3 branch of lxml for now.

Revision 82411 - Directory Listing
Modified Sun Dec 23 15:12:48 2007 UTC (6 years, 9 months ago) by malthe
Change in verbiage.

Revision 82409 - Directory Listing
Modified Sun Dec 23 01:22:37 2007 UTC (6 years, 9 months ago) by malthe
Tagging release.

Revision 82408 - Directory Listing
Modified Sun Dec 23 01:21:44 2007 UTC (6 years, 9 months ago) by malthe
Preparing release.

Revision 82407 - Directory Listing
Modified Sun Dec 23 00:58:44 2007 UTC (6 years, 9 months ago) by malthe
Fixed implementation of tal:omit-tag.

Revision 82406 - Directory Listing
Modified Sun Dec 23 00:56:49 2007 UTC (6 years, 9 months ago) by malthe
Prevent cooking on trivial indentation.

Revision 82405 - Directory Listing
Modified Sun Dec 23 00:08:28 2007 UTC (6 years, 9 months ago) by nouri
Some low-hanging fruit

Revision 82404 - Directory Listing
Modified Sun Dec 23 00:06:01 2007 UTC (6 years, 9 months ago) by nouri
Refactor scoping

Revision 82403 - Directory Listing
Modified Sat Dec 22 21:28:32 2007 UTC (6 years, 9 months ago) by malthe
Added tests for error-handling; minor corrections to existing tests.

Revision 82402 - Directory Listing
Modified Sat Dec 22 21:27:02 2007 UTC (6 years, 9 months ago) by malthe
Added support for self-closing tags; fixed handling of static attributes.

Revision 82398 - Directory Listing
Modified Sat Dec 22 18:11:32 2007 UTC (6 years, 9 months ago) by malthe
We do need to 'cook' on indentation; we don't want to cook on buffered output.

Revision 82387 - Directory Listing
Modified Fri Dec 21 17:02:48 2007 UTC (6 years, 9 months ago) by malthe
Engine rewrite. See docs/HISTORY.txt for a changelog.

Revision 82341 - Directory Listing
Modified Tue Dec 18 22:13:10 2007 UTC (6 years, 9 months ago) by malthe
ZPL'ed the package.

Revision 82148 - Directory Listing
Modified Wed Dec 5 22:27:03 2007 UTC (6 years, 9 months ago) by malthe
No they're not.

Revision 82142 - Directory Listing
Modified Wed Dec 5 16:25:23 2007 UTC (6 years, 9 months ago) by malthe
Tagging release.

Revision 82141 - Directory Listing
Modified Wed Dec 5 16:23:59 2007 UTC (6 years, 9 months ago) by malthe
Major refactoring; added attribute-access fallback to dictionary lookup. Bumped version number.

Revision 82104 - Directory Listing
Modified Mon Dec 3 18:07:02 2007 UTC (6 years, 9 months ago) by malthe
Rollback.

Revision 82103 - Directory Listing
Modified Mon Dec 3 18:02:48 2007 UTC (6 years, 9 months ago) by malthe
Ugh. Well, this won't happen anyway.

Revision 82102 - Directory Listing
Modified Mon Dec 3 17:35:50 2007 UTC (6 years, 9 months ago) by malthe
Implemented tuple-unpack in tal:define statement.

Revision 82096 - Directory Listing
Added Mon Dec 3 15:00:50 2007 UTC (6 years, 9 months ago) by malthe
Initial import.

Sort log by:

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3