summaryrefslogtreecommitdiff
path: root/jinja2/optimizer.py
Commit message (Collapse)AuthorAgeFilesLines
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Fix various optimizer bugs. This fixes #548bugfix/inline-optmiizeArmin Ronacher2017-01-061-21/+2
|
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* fixed a few broken license declarations. should have been BSD not GPLArmin Ronacher2008-07-151-1/+1
| | | | | --HG-- branch : trunk
* Improved attribute and item lookup by allowing template designers to express ↵Armin Ronacher2008-06-121-1/+1
| | | | | | | the priority. foo.bar checks foo.bar first and then foo['bar'] and the other way round. --HG-- branch : trunk
* more unittests and updated documentation for extensions. Fixed bug in ↵Armin Ronacher2008-05-231-0/+4
| | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk
* removed unused importsArmin Ronacher2008-05-131-127/+10
| | | | | --HG-- branch : trunk
* moved concat to utils, fixed a few docstrings, fixed memory leak in ↵Armin Ronacher2008-05-031-1/+2
| | | | | | | _speedups.escape --HG-- branch : trunk
* all unittests pass, the special and dependency lookups have their own ↵Armin Ronacher2008-04-271-59/+38
| | | | | | | visitors now, with `self` one can get a reference to the current template and render blocks multiple times. --HG-- branch : trunk
* some performance improvementsArmin Ronacher2008-04-261-2/+2
| | | | | --HG-- branch : trunk
* revamped jinja2 import system. the behavior is less confusing now, but it's ↵Armin Ronacher2008-04-251-0/+11
| | | | | | | not backwards compatible. I like it though ;) --HG-- branch : trunk
* removed loop unrolling. for such optimizations we would need a separate ↵Armin Ronacher2008-04-231-87/+9
| | | | | | | syntax tree as far as i can see --HG-- branch : trunk
* fixed more unittestsArmin Ronacher2008-04-221-4/+6
| | | | | --HG-- branch : trunk
* removed loop.parent. If this variable is wanted you can get it by doing ↵Armin Ronacher2008-04-181-2/+1
| | | | | | | something like `{% parent_looo = loop %}` before the iteration --HG-- branch : trunk
* reimplemented {% trans %}Armin Ronacher2008-04-161-1/+11
| | | | | --HG-- branch : trunk
* added sandbox and exchageable undefined objectsArmin Ronacher2008-04-141-1/+1
| | | | | --HG-- branch : trunk
* added globalsArmin Ronacher2008-04-131-1/+2
| | | | | --HG-- branch : trunk
* optimizer can optimize filtered for loops nowArmin Ronacher2008-04-131-4/+16
| | | | | --HG-- branch : trunk
* added loop filteringArmin Ronacher2008-04-131-1/+4
| | | | | --HG-- branch : trunk
* some more stuff for jinja2Armin Ronacher2008-04-131-0/+26
| | | | | --HG-- branch : trunk
* work on tha runtimeArmin Ronacher2008-04-111-7/+7
| | | | | --HG-- branch : trunk
* fixed one bug with blocks, one to goArmin Ronacher2008-04-101-1/+29
| | | | | --HG-- branch : trunk
* added broken copy methodArmin Ronacher2008-04-091-5/+4
| | | | | --HG-- branch : trunk
* nodes have access to environment nowArmin Ronacher2008-04-091-25/+12
| | | | | --HG-- branch : trunk
* Automated merge with ssh://team@pocoo.org/jinja2-mainArmin Ronacher2008-04-091-1/+1
|\ | | | | | | | | --HG-- branch : trunk
| * merged againChristoph Hack2008-04-091-5/+6
| |\ | | | | | | | | | | | | --HG-- branch : trunk
| * \ mergedChristoph Hack2008-04-091-12/+58
| |\ \ | | | | | | | | | | | | | | | | --HG-- branch : trunk
| * | | converted some filtersChristoph Hack2008-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | --HG-- branch : trunk
* | | | simplified undefined behavior for better compile time processingArmin Ronacher2008-04-091-17/+13
| |_|/ |/| | | | | | | | | | | --HG-- branch : trunk
* | | improved loop unrollingArmin Ronacher2008-04-091-5/+6
| |/ |/| | | | | | | --HG-- branch : trunk
* | tuple unpacking at compile time is handled properly nowArmin Ronacher2008-04-091-12/+58
|/ | | | | --HG-- branch : trunk
* improved static optimizerArmin Ronacher2008-04-091-26/+106
| | | | | --HG-- branch : trunk
* added subscribe-optimationChristoph Hack2008-04-081-2/+12
| | | | | --HG-- branch : trunk
* used the new nodetransformer to make mitsuhiko happyChristoph Hack2008-04-081-21/+2
| | | | | --HG-- branch : trunk
* loop unrollingChristoph Hack2008-04-081-19/+44
| | | | | --HG-- branch : trunk
* added optimizerChristoph Hack2008-04-081-0/+62
--HG-- branch : trunk