|
|
|
@1082
|
14 years |
cmlenz |
More bits of 2to3 related cleanup.
|
|
|
|
@1081
|
14 years |
cmlenz |
Yet more 2to3 diff size reduction.
|
|
|
|
@1078
|
14 years |
cmlenz |
More 2to3 diff size reduction.
|
|
|
|
@1077
|
14 years |
cmlenz |
More work on reducing the size of the diff produced by 2to3.
|
|
|
|
@1076
|
14 years |
cmlenz |
Convert a bunch of print statements to py3k compatible syntax.
|
|
|
|
@1070
|
14 years |
cmlenz |
Tiny docstring fix.
|
|
|
|
@1069
|
14 years |
cmlenz |
Backported a couple of templating core changes from the advanced-i18n …
|
|
|
|
@1065
|
14 years |
cmlenz |
Remove the hack needed for importing _ast on App Engine, no longer …
|
|
|
|
@1064
|
14 years |
mgood |
Fix nested list comprehensions & generator expressions (fixes #327)
|
|
|
|
@1052
|
15 years |
cmlenz |
Refactored the template flattening method to be less recursive.
|
|
|
|
@1036
|
15 years |
cmlenz |
Avoid varargs on internal functions in template processing for …
|
|
|
|
@1034
|
15 years |
cmlenz |
Minor simplification and performance improvement to the flattening of …
|
|
|
|
@1033
|
15 years |
cmlenz |
Fix inefficient handling of static attribute values, pointed out by …
|
|
|
|
@1031
|
15 years |
cmlenz |
Get rid of some Python 2.3 legacy that's no longer needed now that 2.4 …
|
|
|
|
@1019
|
15 years |
cmlenz |
Minor simplification in the expansion of dynamic attributes.
|
|
|
|
@1016
|
15 years |
cmlenz |
Remove unneeded conversion of empty attribute values into a …
|
|
|
|
@1015
|
15 years |
cmlenz |
Merge the internal template filters _eval and _exec into the …
|
|
|
|
@1011
|
15 years |
cmlenz |
Revert [914] for now, see #293.
|
|
|
|
@1009
|
15 years |
cmlenz |
Added test for [1008].
|
|
|
|
@1008
|
15 years |
cmlenz |
Fix for import statements in function defs in template code blocks (#276).
|
|
|
|
@1005
|
15 years |
cmlenz |
for loops in template code blocks should not establish their own …
|
|
|
|
@1004
|
15 years |
cmlenz |
Fix handling of function arguments with default values in template …
|
|
|
|
@999
|
15 years |
cmlenz |
Add missing svn:eol-style properties on some Python files. Closes #286.
|
|
|
|
@988
|
15 years |
cmlenz |
Merged AST branch back into trunk. Most of this code was written by …
|
|
|
|
@971
|
15 years |
cmlenz |
Get rid of a couple more -3 warnings.
|
|
|
|
@954
|
15 years |
cmlenz |
Merged the custom-directives branch back into trunk.
|
|
|
|
@914
|
15 years |
cmlenz |
The match filter now only tests START events, as END events can …
|
|
|
|
@899
|
15 years |
cmlenz |
Export the template loader factory functions from the loader module.
|
|
|
|
@897
|
15 years |
cmlenz |
Unbuffered match templates could result in parts of the matched …
|
|
|
|
@895
|
15 years |
cmlenz |
Includes from templates loaded via an absolute path now include the …
|
|
|
|
@892
|
15 years |
cmlenz |
Fix bug where in some cases match templates would incorrectly applied …
|
|
|
|
@884
|
15 years |
cmlenz |
Fix problem with nested match templates not being applied when …
|
|
|
|
@876
|
15 years |
cmlenz |
Remove some cruft for supporting Python 2.3.
|
|
|
|
@863
|
15 years |
cmlenz |
Another Python 2.3 fix in the wake of #221.
|
|
|
|
@860
|
15 years |
cmlenz |
Yet another followup fix for #221.
|
|
|
|
@857
|
15 years |
athomas |
Update to r855 for Python 2.3 support. Fixes #221 (hopefully).
|
|
|
|
@856
|
15 years |
cmlenz |
Fix expression interpolation for expression containing triple-quoted …
|
|
|
|
@855
|
15 years |
cmlenz |
Workaround for a Python 2.4 bug that broke star imports in template …
|
|
|
|
@845
|
15 years |
jruigrok |
Properly wrap exceptions we want to catch.
Submitted by: Armin Ronacher
|
|
|
|
@835
|
15 years |
cmlenz |
Fix copyright years.
|
|
|
|
@832
|
15 years |
aflett |
fix ticket [209] - make sure py:with is valid, and add a test to make …
|
|
|
|
@831
|
15 years |
cmlenz |
Enable pickling of Template and Code objects.
|
|
|
|
@830
|
15 years |
cmlenz |
The Template class and its subclasses, as well as the interpolation …
|
|
|
|
@826
|
15 years |
cmlenz |
Partially revert [717] to retain compatibility with Python 2.3.
|
|
|
|
@823
|
15 years |
cmlenz |
Fix Python 2.3 compatibility issue with py:for unit tests.
|
|
|
|
@818
|
16 years |
cmlenz |
Improve error reporting when accessing an attribute in a Python …
|
|
|
|
@816
|
16 years |
cmlenz |
Add option for unbuffered match template processing, which could cause …
|
|
|
|
@815
|
16 years |
cmlenz |
Fix for caching in template loader for templates included by templates …
|
|
|
|
@814
|
16 years |
cmlenz |
Fix for prefix-dispatched template loading. Closes #206. Thanks to …
|
|
|
|
@813
|
16 years |
cmlenz |
Fix for #205.
|
|
|
|
@812
|
16 years |
cmlenz |
More flexible template loader allowing for loading from package data …
|
|
|
|
@811
|
16 years |
cmlenz |
The TemplateLoader class now provides an instantiate() method that …
|
|
|
|
@810
|
16 years |
cmlenz |
Match templates are now applied in a more controlled fashion: in the …
|
|
|
|
@809
|
16 years |
cmlenz |
Enable use of expressions in include directives of text templates. …
|
|
|
|
@807
|
16 years |
cmlenz |
Minor cleanup in eval module.
|
|
|
|
@800
|
16 years |
cmlenz |
Fix one Python 2.3 compatibility in the expression evaluation code. …
|
|
|
|
@798
|
16 years |
cmlenz |
Assigning to a variable named data in a Python code block no longer …
|
|
|
|
@773
|
16 years |
cmlenz |
Allow use of py:replace as element. Closes #144.
|
|
|
|
@772
|
16 years |
cmlenz |
Add unit test for #157, which seems to be working okay in trunk.
|
|
|
|
@770
|
16 years |
cmlenz |
Fix thread-safety problem in template code evaluation. Closes #158. …
|
|
|
|
@769
|
16 years |
cmlenz |
Fix test to work on Python 2.5.1 which has a different exception message.
|
|
|
|
@767
|
16 years |
cmlenz |
The template engine plugin no longer adds the default_doctype when …
|
|
|
|
@766
|
16 years |
cmlenz |
Code blocks in match templates are now executed. Closes #155. Many …
|
|
|
|
@756
|
16 years |
cmlenz |
Don't mask errors in py:for.
|
|
|
|
@755
|
16 years |
cmlenz |
Fix for XInclude fallbacks when auto-reloading is enabled. Closes …
|
|
|
|
@752
|
16 years |
cmlenz |
Follow-up to [751]: applying the optimization to text templates was …
|
|
|
|
@751
|
16 years |
cmlenz |
Minor performance improvement for expressions that evaluate to …
|
|
|
|
@745
|
16 years |
cmlenz |
Revert second part of [726] (error on includes when no loader …
|
|
|
|
@726
|
16 years |
cmlenz |
* XInclude elements in markup templates now support the parse …
|
|
|
|
@725
|
16 years |
cmlenz |
Add support for Python code blocks in text templates using the new syntax.
|
|
|
|
@722
|
16 years |
cmlenz |
Changed the default error handling mode to "strict".
|
|
|
|
@721
|
16 years |
cmlenz |
Text templates now default to rendering as plain text; it is no longer …
|
|
|
|
@720
|
16 years |
cmlenz |
Fix bug that slipped into [717]: the code of a py:with directive was …
|
|
|
|
@718
|
16 years |
cmlenz |
Add runtime optimization hints for match templates.
|
|
|
|
@717
|
16 years |
cmlenz |
Simplify implementation of py:with directive by compiling to a …
|
|
|
|
@706
|
16 years |
cmlenz |
Add a new syntax for text templates, which is available alongside the …
|
|
|
|
@704
|
16 years |
cmlenz |
Fix includes so that they again raise an exception when the included …
|
|
|
|
@700
|
16 years |
cmlenz |
Fixes for nonlocal variable access in code blocks, as well as nested …
|
|
|
|
@696
|
16 years |
cmlenz |
Follow-up fix to [693:694]. Again, thanks to Erik Bray for reporting.
|
|
|
|
@693
|
16 years |
cmlenz |
Fix for augmented assignments to local variables. Thanks to Erik Bray …
|
|
|
|
@680
|
16 years |
cmlenz |
Attribute access in template expressions no longer silently ignores …
|
|
|
|
@679
|
16 years |
cmlenz |
AST transformer needs to also handle the class body.
|
|
|
|
@676
|
16 years |
cmlenz |
* The I18n extractor now handles gettext function calls that use …
|
|
|
|
@675
|
16 years |
cmlenz |
Alias __contains__ to has_key in Context class for code outside …
|
|
|
|
@674
|
16 years |
cmlenz |
Built-in Python constants (such as None) in expressions are used …
|
|
|
|
@673
|
16 years |
cmlenz |
In the py:choose stack, store the information of whether a test …
|
|
|
|
@664
|
16 years |
cmlenz |
Store state information for py:choose outside of the regular context data.
|
|
|
|
@661
|
16 years |
cmlenz |
For directives used as elements, pass all attributes without a …
|
|
|
|
@657
|
16 years |
cmlenz |
Implement static includes, which improves performance a bit when auto …
|
|
|
|
@655
|
16 years |
cmlenz |
White space.
|
|
|
|
@654
|
16 years |
cmlenz |
Support for Python code blocks in templates can now be disabled. …
|
|
|
|
@653
|
16 years |
cmlenz |
Remove an unused line of code.
|
|
|
|
@646
|
16 years |
cmlenz |
Add loader_callback option to plugin interface as requested in #130.
|
|
|
|
@630
|
16 years |
cmlenz |
Fix interpolation of short-form expressions that include literal text …
|
|
|
|
@624
|
16 years |
cmlenz |
Applied patch by Dale Sedivec to fix #127. Many thanks!
|
|
|
|
@616
|
16 years |
cmlenz |
Fix for #125 (text template handling unicode source). Thanks to …
|
|
|
|
@598
|
16 years |
cmlenz |
Fix bug introduced in [575]: includes weren't being processed inside …
|
|
|
|
@594
|
16 years |
cmlenz |
Fix docstring typo.
|
|
|
|
@579
|
16 years |
cmlenz |
Apply patch for #116.
|
|
|
|
@575
|
16 years |
cmlenz |
Added include directive for text templates (#115). Thanks to Alastair …
|
|
|
|