summaryrefslogtreecommitdiff
path: root/jinja2/compiler.py
Commit message (Collapse)AuthorAgeFilesLines
...
* subscribe doesn't eat up unicode errors any longerArmin Ronacher2008-05-171-9/+1
| | | | | --HG-- branch : trunk
* removed attribute local aliasing again because that implementation was brokenArmin Ronacher2008-05-161-67/+0
| | | | | --HG-- branch : trunk
* improved exception system. now both name (load name) and filename are passed.Armin Ronacher2008-05-161-5/+8
| | | | | --HG-- branch : trunk
* added disclaimer to rwbench and fixed error reporting for one of the four ↵Armin Ronacher2008-05-161-5/+5
| | | | | | | Output cases --HG-- branch : trunk
* simplified from importsArmin Ronacher2008-05-151-2/+21
| | | | | --HG-- branch : trunk
* added a semi realworld benchmark (jinja2 and mako)Armin Ronacher2008-05-151-3/+5
| | | | | --HG-- branch : trunk
* fixed bug with parameter parsingArmin Ronacher2008-05-151-3/+4
| | | | | --HG-- branch : trunk
* fixed error on static subscribe aliasing if the subscription argument was a ↵Armin Ronacher2008-05-151-2/+2
| | | | | | | variable --HG-- branch : trunk
* fixed error reporting for filtered statementsArmin Ronacher2008-05-151-7/+8
| | | | | --HG-- branch : trunk
* reversed the internal structure for blocksArmin Ronacher2008-05-151-2/+2
| | | | | --HG-- branch : trunk
* added support for local aliasing of some attributes. the technique used is ↵Armin Ronacher2008-05-151-1/+67
| | | | | | | not very good but covers at least some of the more common use cases --HG-- branch : trunk
* the two escape implementations work the same now, updated jinja2-debug to ↵Armin Ronacher2008-05-141-1/+1
| | | | | | | load the i18n extension --HG-- branch : trunk
* improved subscribeArmin Ronacher2008-05-131-1/+5
| | | | | --HG-- branch : trunk
* switched back to explicit set for assignments. {% foo = 42 %} becomes {% ↵Armin Ronacher2008-05-131-2/+2
| | | | | | | set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit. --HG-- branch : trunk
* improved variable exporting, added TODO fileArmin Ronacher2008-05-121-3/+19
| | | | | --HG-- branch : trunk
* added unittest for recursive for loopArmin Ronacher2008-05-111-4/+4
| | | | | --HG-- branch : trunk
* readded support for recursive for-loopsArmin Ronacher2008-05-111-10/+66
| | | | | --HG-- branch : trunk
* added parsing code for "for item in seq recursive" and improved parser ↵Armin Ronacher2008-05-111-2/+2
| | | | | | | interface a bit --HG-- branch : trunk
* fixed a bug in extension handlingArmin Ronacher2008-05-111-1/+2
| | | | | --HG-- branch : trunk
* Backed out changeset 6afb554797b6, which added unicode identifier support. ↵Armin Ronacher2008-05-111-48/+17
| | | | | | | This doesn't work in reality under Python 2.6 properly. --HG-- branch : trunk
* added support for unicode identifiersArmin Ronacher2008-05-111-17/+48
| | | | | --HG-- branch : trunk
* added support for dotted names in tests and filtersArmin Ronacher2008-05-101-6/+13
| | | | | --HG-- branch : trunk
* First extension interface documentation and updates in that interfaceArmin Ronacher2008-05-081-1/+32
| | | | | --HG-- branch : trunk
* some documentation improvements, jinja escapes " and ' now, both into ↵Armin Ronacher2008-05-061-1/+1
| | | | | | | charpoints and no named entities for html 3.2 support ;-) --HG-- branch : trunk
* Fixed bug that caused "for item in seq if expr" to fail if the loop is not ↵Armin Ronacher2008-05-061-1/+1
| | | | | | | accessing loop --HG-- branch : trunk
* moved concat to utils, fixed a few docstrings, fixed memory leak in ↵Armin Ronacher2008-05-031-2/+1
| | | | | | | _speedups.escape --HG-- branch : trunk
* added "with context" or "without context" import/include modifiersArmin Ronacher2008-05-021-7/+21
| | | | | --HG-- branch : trunk
* small performance improvementsArmin Ronacher2008-05-011-6/+7
| | | | | --HG-- branch : trunk
* again documentation updates fixed another python 2.4 bug. Imports are not ↵Armin Ronacher2008-04-291-2/+7
| | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk
* python2.4 compatibility and doc updatesArmin Ronacher2008-04-281-1/+3
| | | | | --HG-- branch : trunk
* autoescaping is separate from finalize now and Markup is completely ignored ↵Armin Ronacher2008-04-281-15/+32
| | | | | | | if the environment is not in autoescape mode --HG-- branch : trunk
* all unittests pass, the special and dependency lookups have their own ↵Armin Ronacher2008-04-271-127/+169
| | | | | | | visitors now, with `self` one can get a reference to the current template and render blocks multiple times. --HG-- branch : trunk
* added spitfire to bench and did some more refactoringArmin Ronacher2008-04-261-15/+21
| | | | | --HG-- branch : trunk
* worked on the tests and made undefined fail on comparisons nowArmin Ronacher2008-04-261-2/+5
| | | | | --HG-- branch : trunk
* there is now a workaround in the compiler that makes sure it's possible to ↵Armin Ronacher2008-04-261-55/+123
| | | | | | | call things with python keywords. {{ foo(class=42) }} works again --HG-- branch : trunk
* some performance improvementsArmin Ronacher2008-04-261-7/+7
| | | | | --HG-- branch : trunk
* revamped jinja2 import system. the behavior is less confusing now, but it's ↵Armin Ronacher2008-04-251-32/+42
| | | | | | | not backwards compatible. I like it though ;) --HG-- branch : trunk
* `IncludedTemplate` uses getattr rather then getitem nowArmin Ronacher2008-04-251-1/+1
| | | | | --HG-- branch : trunk
* moved `IncludedTemplate` into the regular template API, fixed more unittestsArmin Ronacher2008-04-251-11/+20
| | | | | --HG-- branch : trunk
* inheritance uses a less awkward hack for contexts now and subclassing ↵Armin Ronacher2008-04-241-26/+34
| | | | | | | templates is possible --HG-- branch : trunk
* removed custom nodes againArmin Ronacher2008-04-211-6/+0
| | | | | --HG-- branch : trunk
* added first code for parser extensions and moved some code in speedups aroundArmin Ronacher2008-04-201-0/+6
| | | | | --HG-- branch : trunk
* loops and `tests` tests pass nowArmin Ronacher2008-04-181-1/+9
| | | | | --HG-- branch : trunk
* removed loop.parent. If this variable is wanted you can get it by doing ↵Armin Ronacher2008-04-181-2/+0
| | | | | | | something like `{% parent_looo = loop %}` before the iteration --HG-- branch : trunk
* fixed a few bugs from the unittestsArmin Ronacher2008-04-181-2/+2
| | | | | --HG-- branch : trunk
* improved undefined behaviorArmin Ronacher2008-04-171-6/+1
| | | | | --HG-- branch : trunk
* various docstring changesArmin Ronacher2008-04-171-4/+4
| | | | | --HG-- branch : trunk
* `TemplateData` -> `Markup`Armin Ronacher2008-04-171-3/+4
| | | | | --HG-- branch : trunk
* improved filtersArmin Ronacher2008-04-171-0/+2
| | | | | --HG-- branch : trunk
* added autoescapingArmin Ronacher2008-04-171-3/+3
| | | | | --HG-- branch : trunk