summaryrefslogtreecommitdiff
path: root/jinja2
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | Support new scoping rules in scoped blocksArmin Ronacher2017-01-081-3/+5
| | | | |
| | * | | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-1/+2
| | |\ \ \ | | | |/ /
| | | * | Do not use yield from for blocks with buffers. Fixes #645Armin Ronacher2017-01-081-1/+2
| | | | |
| | * | | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-2/+14
| | |\ \ \ | | | |/ /
| | | * | 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
| | | * | 2.9.3-devArmin Ronacher2017-01-081-1/+1
| | | | |
| | | * | Bump version number to 2.9.22.9.2Armin Ronacher2017-01-081-1/+1
| | | | |
| | * | | Merge branch '2.9-maintenance'Armin Ronacher2017-01-082-5/+40
| | |\ \ \ | | | |/ /
| | | * | Add support for explicit callersArmin Ronacher2017-01-082-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for a never intended Jinja2 feature which however worked in limited support before due to a bug with the identifier scoping. A quick github code search indicates that developers commonly did this to set the default caller to none. This fixes #642
| | * | | Merge branch '2.9-maintenance'Armin Ronacher2017-01-071-2/+2
| | |\ \ \ | | | |/ /
| | | * | Correct bad scoping for for loops. This fixes #640Armin Ronacher2017-01-071-2/+2
| | | | |
| | * | | Merge branch '2.9-maintenance'Armin Ronacher2017-01-071-1/+1
| | |\ \ \ | | | |/ /
| | | * | 2.9.2-devArmin Ronacher2017-01-071-1/+1
| | | | |
| | | * | Bump version number to 2.9.12.9.1Armin Ronacher2017-01-071-1/+1
| | | | |
| | | * | Resolved a regression in 2.9 with macro call scopingArmin Ronacher2017-01-071-1/+1
| | | | |
| | * | | 2.10-devArmin Ronacher2017-01-071-1/+1
| | |/ /
| | * | Bump version number to 2.92.9Armin Ronacher2017-01-071-1/+1
| | | |
| | * | Bump up the copyright to 2017Armin Ronacher2017-01-0721-21/+21
| | | |
| | * | Updated docs on autoescaping and made select_autoescape case insensitiveArmin Ronacher2017-01-071-2/+7
| | | |
| | * | Added a more convenient autoescaping functionArmin Ronacher2017-01-072-1/+51
| | | |
| | * | Move the autoescape extension and with statement to be built-inArmin Ronacher2017-01-072-30/+28
| | | |
| | * | Generalize scoping. This fixes #603Armin Ronacher2017-01-072-5/+10
| | | |
| | * | Change grouping behavior of tests. This fixes #401Armin Ronacher2017-01-071-1/+1
| | | |
| | * | Add a policy for the ascii literal behavior. Fixes #392Armin Ronacher2017-01-074-12/+11
| | | |
| | * | Optimize parameter lookup by defaultArmin Ronacher2017-01-071-1/+1
| | | |
| | * | Smaller fixes to stuff that broke on 3.xArmin Ronacher2017-01-072-0/+9
| | | |
| | * | Kill const folding for call which does not work anywaysArmin Ronacher2017-01-061-32/+0
| | | |
| | * | Fix various optimizer bugs. This fixes #548bugfix/inline-optmiizeArmin Ronacher2017-01-065-37/+43
| | | |
| | * | Block sets are now safe. This fixes #490Armin Ronacher2017-01-061-1/+2
| | | |
| | * | Add note on HTML usage of tojson filterArmin Ronacher2017-01-061-0/+2
| | | |
| | * | Ported tojson filter. Fixes #458Armin Ronacher2017-01-063-3/+70
| | | |
| | * | Expect formatArmin Ronacher2017-01-061-43/+38
| | | |
| | * | Fixed self references in macrosArmin Ronacher2017-01-063-33/+87
| | | |
| | * | Turns out order tracking for loads is not usefulArmin Ronacher2017-01-061-2/+1
| | | |
| | * | Write loads in order they were definedArmin Ronacher2017-01-062-2/+3
| | | |
| | * | Killed some whitespaceArmin Ronacher2017-01-061-2/+2
| | | |
| | * | Optimize the case where we know about defined variablesArmin Ronacher2017-01-062-4/+17
| | | |
| | * | Set macro autoescape behavior at call instead of compile time. Fixes #565Armin Ronacher2017-01-062-19/+54
| | | |
| | * | Merge pull request #610 from jab/jab-do_truncateArmin Ronacher2017-01-061-10/+14
| | |\ \ | | | | | | | | | | Fix and improve do_truncate
| | | * | Fix and improve do_truncatejab2016-09-241-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ensure that the requested max length be at least as long as the requested `end` value (e.g. 3 in the case of '...'). Fixes #539 - Add `leeway` parameter so that strings that just barely miss the requested max length cutoff can still be spared from unwanted truncation. Default value is 5. - No longer append a space before appending `end` under any circumstances. Adding whitespace before ellipsis punctuation in English is grammatically incorrect.
| | * | | Merge branch 'feature/no-locals'Armin Ronacher2017-01-067-499/+583
| | |\ \ \
| | | * | | Better error messages for some undefines. This fixes #575feature/no-localsArmin Ronacher2017-01-061-2/+12
| | | | | |
| | | * | | Optimize emitting of forced yieldsArmin Ronacher2017-01-061-4/+3
| | | | | |
| | | * | | Support yield from if we can use itArmin Ronacher2017-01-051-16/+42
| | | | | |
| | | * | | Do not emit make_logging_undefined to runtimeArmin Ronacher2017-01-051-1/+1
| | | | | |
| | | * | | Changed behavior of macro defaults to be frame boundArmin Ronacher2017-01-032-17/+22
| | | | | |
| | | * | | Alias resolve and undefinedArmin Ronacher2017-01-031-4/+10
| | | | | |
| | | * | | Kill stray printArmin Ronacher2017-01-031-1/+0
| | | | | |
| | | * | | Small optimizations for escape branchesArmin Ronacher2017-01-031-5/+5
| | | | | |
| | | * | | Small optimization for recursive loopsArmin Ronacher2017-01-031-1/+2
| | | | | |