Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compile `elif` tag to `elif` instead of `else: if`2.9-maintenance | Adrian Moennich | 2017-08-22 | 1 | -0/+7 |
| | | | | | | | | 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 | ||||
* | Resolved extends errors in async mode (Fixes #668) | Armin Ronacher | 2017-01-24 | 1 | -3/+4 |
| | |||||
* | Correctly use buffer for else frame in loops. Fixes #669 | Armin Ronacher | 2017-01-24 | 1 | -0/+3 |
| | |||||
* | Resolved bad code generation on toplevel ifs | Armin Ronacher | 2017-01-09 | 1 | -2/+1 |
| | | | | This fixes #651 | ||||
* | Correctly scope loop filters. Fixes #649 | Armin Ronacher | 2017-01-09 | 1 | -31/+28 |
| | |||||
* | Implement with-tag with a custom node | Armin Ronacher | 2017-01-08 | 1 | -1/+13 |
| | |||||
* | Do not use yield from for blocks with buffers. Fixes #645 | Armin Ronacher | 2017-01-08 | 1 | -1/+2 |
| | |||||
* | Add support for explicit callers | Armin Ronacher | 2017-01-08 | 1 | -4/+25 |
| | | | | | | | | | 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 | ||||
* | Correct bad scoping for for loops. This fixes #640 | Armin Ronacher | 2017-01-07 | 1 | -2/+2 |
| | |||||
* | Resolved a regression in 2.9 with macro call scoping | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Bump up the copyright to 2017 | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Generalize scoping. This fixes #603 | Armin Ronacher | 2017-01-07 | 1 | -3/+3 |
| | |||||
* | Add a policy for the ascii literal behavior. Fixes #392 | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Optimize parameter lookup by default | Armin Ronacher | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | Fix various optimizer bugs. This fixes #548bugfix/inline-optmiize | Armin Ronacher | 2017-01-06 | 1 | -9/+35 |
| | |||||
* | Block sets are now safe. This fixes #490 | Armin Ronacher | 2017-01-06 | 1 | -1/+2 |
| | |||||
* | Fixed self references in macros | Armin Ronacher | 2017-01-06 | 1 | -32/+74 |
| | |||||
* | Write loads in order they were defined | Armin Ronacher | 2017-01-06 | 1 | -1/+1 |
| | |||||
* | Killed some whitespace | Armin Ronacher | 2017-01-06 | 1 | -2/+2 |
| | |||||
* | Optimize the case where we know about defined variables | Armin Ronacher | 2017-01-06 | 1 | -4/+11 |
| | |||||
* | Set macro autoescape behavior at call instead of compile time. Fixes #565 | Armin Ronacher | 2017-01-06 | 1 | -16/+19 |
| | |||||
* | Optimize emitting of forced yields | Armin Ronacher | 2017-01-06 | 1 | -4/+3 |
| | |||||
* | Support yield from if we can use it | Armin Ronacher | 2017-01-05 | 1 | -16/+42 |
| | |||||
* | Changed behavior of macro defaults to be frame bound | Armin Ronacher | 2017-01-03 | 1 | -10/+20 |
| | |||||
* | Alias resolve and undefined | Armin Ronacher | 2017-01-03 | 1 | -4/+10 |
| | |||||
* | Kill stray print | Armin Ronacher | 2017-01-03 | 1 | -1/+0 |
| | |||||
* | Small optimizations for escape branches | Armin Ronacher | 2017-01-03 | 1 | -5/+5 |
| | |||||
* | Small optimization for recursive loops | Armin Ronacher | 2017-01-03 | 1 | -1/+2 |
| | |||||
* | Use a separate scope for the loop else branch | Armin Ronacher | 2017-01-03 | 1 | -6/+8 |
| | |||||
* | Clarified for else todo | Armin Ronacher | 2017-01-03 | 1 | -1/+2 |
| | |||||
* | Small optimization for python scopes | Armin Ronacher | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | Fixed a typo | Armin Ronacher | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | Cleaned up some code that no longer needs to exist | Armin Ronacher | 2017-01-03 | 1 | -6/+3 |
| | |||||
* | Stop assigning stuff to the frame that does not belong there | Armin Ronacher | 2017-01-03 | 1 | -13/+19 |
| | |||||
* | Kill now unused assigned_names | Armin Ronacher | 2017-01-03 | 1 | -5/+0 |
| | |||||
* | Kill some dead code | Armin Ronacher | 2017-01-03 | 1 | -11/+0 |
| | |||||
* | Force missing to be a local | Armin Ronacher | 2017-01-03 | 1 | -2/+4 |
| | |||||
* | Fixed from imports with context | Armin Ronacher | 2017-01-03 | 1 | -2/+3 |
| | |||||
* | Made all tests pass again | Armin Ronacher | 2017-01-03 | 1 | -4/+4 |
| | |||||
* | Fixed various breakage from the new id tracking | Armin Ronacher | 2017-01-03 | 1 | -49/+36 |
| | |||||
* | Reset variables for scoping | Armin Ronacher | 2017-01-03 | 1 | -27/+68 |
| | |||||
* | First pass on integrating id tracking | Armin Ronacher | 2017-01-03 | 1 | -364/+88 |
| | |||||
* | Support block-set in toplevel situations when extends is used | Armin Ronacher | 2016-12-31 | 1 | -0/+4 |
| | |||||
* | First pass on async support for filters | Armin Ronacher | 2016-12-28 | 1 | -0/+4 |
| | |||||
* | Made the env._async property public for filters | Armin Ronacher | 2016-12-28 | 1 | -23/+23 |
| | |||||
* | Support the same set of loop functions for async mode | Armin Ronacher | 2016-12-28 | 1 | -8/+10 |
| | |||||
* | Fixed error message | Armin Ronacher | 2016-12-28 | 1 | -1/+1 |
| | |||||
* | Added support for async loop context | Armin Ronacher | 2016-12-28 | 1 | -4/+11 |
| | |||||
* | Added basic support for async iter | Armin Ronacher | 2016-12-28 | 1 | -2/+14 |
| | |||||
* | Added tests for async functionality with imports and includes | Armin Ronacher | 2016-12-28 | 1 | -5/+13 |
| |