summaryrefslogtreecommitdiff
path: root/jinja2/idtracking.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.9-maintenance'Adrian Moennich2017-08-221-1/+2
|\
| * Compile `elif` tag to `elif` instead of `else: if`2.9-maintenanceAdrian Moennich2017-08-221-1/+2
| | | | | | | | | | | | | | | | This avoids deep nesting in case of many `{% elif .. %}` blocks (which would fail during execution) and also deep recursion (which may fail during compilation) fixes #759
* | Add support for namespace attribute assignmentAdrian Moennich2017-06-241-0/+3
| |
* | Merge branch '2.9-maintenance'Armin Ronacher2017-01-091-2/+5
|\ \ | |/
| * Correctly scope loop filters. Fixes #649Armin Ronacher2017-01-091-2/+5
| |
* | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-0/+10
|\ \ | |/
| * Implement with-tag with a custom nodeArmin Ronacher2017-01-081-0/+10
| |
* | Added support for unoptimized scopesArmin Ronacher2017-01-081-5/+7
| |
* | WIP for overlay scopesArmin Ronacher2017-01-081-0/+7
|/
* Implement consistent scoping for sets in loopsArmin Ronacher2017-01-081-2/+14
| | | | | | | | | | While technically this applies to any scope and not just for loops it comes up most commonly in the context of for loops. This now defines the behavior for scoping in a way that is consistent but different than it was in the past. There is an ongoing conversation if we should keep it that way or not. References #641
* Fixed self references in macrosArmin Ronacher2017-01-061-0/+10
|
* Turns out order tracking for loads is not usefulArmin Ronacher2017-01-061-2/+1
|
* Write loads in order they were definedArmin Ronacher2017-01-061-1/+2
|
* Optimize the case where we know about defined variablesArmin Ronacher2017-01-061-0/+6
|
* Use a separate scope for the loop else branchArmin Ronacher2017-01-031-9/+17
|
* Fixed various breakage from the new id trackingArmin Ronacher2017-01-031-1/+2
|
* Reset variables for scopingArmin Ronacher2017-01-031-0/+7
|
* Added new-style id tracking codeArmin Ronacher2017-01-031-0/+216