summaryrefslogtreecommitdiff
path: root/jinja2/compiler.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* better debugging information. compiler knows about name and filename now ↵Armin Ronacher2008-04-161-12/+21
| | | | | | | (the first one is the load name, the second the estimated filename on the file system if such a name exists) --HG-- branch : trunk
* added new python only debug hackArmin Ronacher2008-04-161-5/+16
| | | | | --HG-- branch : trunk
* reimplemented {% trans %}Armin Ronacher2008-04-161-3/+2
| | | | | --HG-- branch : trunk
* Automated merge with ssh://team@pocoo.org/jinja2-mainArmin Ronacher2008-04-141-4/+6
|\ | | | | | | | | --HG-- branch : trunk
| * continued convertig filtersChristoph Hack2008-04-141-4/+6
| | | | | | | | | | --HG-- branch : trunk
* | added sandbox and exchageable undefined objectsArmin Ronacher2008-04-141-8/+11
|/ | | | | --HG-- branch : trunk
* added super()Armin Ronacher2008-04-131-0/+2
| | | | | --HG-- branch : trunk
* added globalsArmin Ronacher2008-04-131-18/+89
| | | | | --HG-- branch : trunk
* optimizer can optimize filtered for loops nowArmin Ronacher2008-04-131-18/+31
| | | | | --HG-- branch : trunk
* added loop filteringArmin Ronacher2008-04-131-7/+83
| | | | | --HG-- branch : trunk
* some more stuff for jinja2Armin Ronacher2008-04-131-4/+4
| | | | | --HG-- branch : trunk
* filter tag works nowArmin Ronacher2008-04-121-23/+77
| | | | | --HG-- branch : trunk
* added support for new call statementArmin Ronacher2008-04-121-41/+73
| | | | | --HG-- branch : trunk
* implemented includesArmin Ronacher2008-04-111-11/+65
| | | | | --HG-- branch : trunk
* basic inheritance works nowArmin Ronacher2008-04-111-6/+9
| | | | | --HG-- branch : trunk
* fixed a bug in the compilerArmin Ronacher2008-04-111-0/+1
| | | | | --HG-- branch : trunk
* filters are always used as locals now and we don't do any post-loop cleanupArmin Ronacher2008-04-111-26/+13
| | | | | --HG-- branch : trunk
* w000t. first templateArmin Ronacher2008-04-111-3/+3
| | | | | --HG-- branch : trunk
* work on tha runtimeArmin Ronacher2008-04-111-6/+7
| | | | | --HG-- branch : trunk
* fixed a small bugArmin Ronacher2008-04-111-4/+4
| | | | | --HG-- branch : trunk
* *now* we have no overhead :)Armin Ronacher2008-04-111-16/+30
| | | | | --HG-- branch : trunk
* optimized child template code generation. we now have zero overhead for the ↵Armin Ronacher2008-04-111-20/+93
| | | | | | | most common inheritance case --HG-- branch : trunk
* removed debug printArmin Ronacher2008-04-101-1/+0
| | | | | --HG-- branch : trunk
* assignments are traversed in the correct order nowArmin Ronacher2008-04-101-0/+5
| | | | | --HG-- branch : trunk
* fixed one bug with blocks, one to goArmin Ronacher2008-04-101-9/+38
| | | | | --HG-- branch : trunk
* nodes have access to environment nowArmin Ronacher2008-04-091-12/+11
| | | | | --HG-- branch : trunk
* simplified undefined behavior for better compile time processingArmin Ronacher2008-04-091-3/+25
| | | | | --HG-- branch : trunk
* tuple unpacking at compile time is handled properly nowArmin Ronacher2008-04-091-1/+3
| | | | | --HG-- branch : trunk
* removed unused importArmin Ronacher2008-04-081-1/+0
| | | | | --HG-- branch : trunk
* added optimizerChristoph Hack2008-04-081-13/+6
|\ | | | | | | | | --HG-- branch : trunk