Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix custom contexts in fast resolve mode | Adrian Moennich | 2017-03-15 | 1 | -1/+3 |
| | | | | closes #675 | ||||
* | Fixed async macro autoescape. Fixes #671 | Armin Ronacher | 2017-01-28 | 1 | -0/+4 |
| | |||||
* | Add support back for custom resolves on old resolve method | Armin Ronacher | 2017-01-12 | 1 | -10/+58 |
| | |||||
* | Fixed some string literal warnings. Fixes #646 | Armin Ronacher | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | Support new scoping rules in scoped blocks | Armin Ronacher | 2017-01-08 | 1 | -3/+5 |
| | |||||
* | Add support for explicit callers | Armin Ronacher | 2017-01-08 | 1 | -1/+15 |
| | | | | | | | | | 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 | ||||
* | 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 | -2/+7 |
| | |||||
* | Fixed self references in macros | Armin Ronacher | 2017-01-06 | 1 | -1/+3 |
| | |||||
* | Set macro autoescape behavior at call instead of compile time. Fixes #565 | Armin Ronacher | 2017-01-06 | 1 | -3/+35 |
| | |||||
* | Do not emit make_logging_undefined to runtime | Armin Ronacher | 2017-01-05 | 1 | -1/+1 |
| | |||||
* | Changed behavior of macro defaults to be frame bound | Armin Ronacher | 2017-01-03 | 1 | -7/+2 |
| | |||||
* | First pass on integrating id tracking | Armin Ronacher | 2017-01-03 | 1 | -6/+13 |
| | |||||
* | Changelog and __rsub__ handling | Armin Ronacher | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #530 from nick-garcia/master | Armin Ronacher | 2017-01-03 | 1 | -1/+1 |
|\ | | | | | Subtraction from Undefined does not raise UndefinedError | ||||
| * | Setting __sub__ equal to _fail_with_undefined_error so subtractions with | Nick Garcia | 2016-01-07 | 1 | -1/+1 |
| | | | | | | | | undefined variables will fail properly like other arithemtic operations. | ||||
* | | Support the same set of loop functions for async mode | Armin Ronacher | 2016-12-28 | 1 | -24/+24 |
| | | |||||
* | | Added support for async loop context | Armin Ronacher | 2016-12-28 | 1 | -12/+21 |
|/ | |||||
* | Let the Environment override the Context | ThiefMaster | 2015-04-06 | 1 | -1/+2 |
| | | | | closes #404 | ||||
* | Fix doctests | Markus Unterwaditzer | 2015-03-22 | 1 | -7/+7 |
| | | | | Fix #427 | ||||
* | Fixed a Python 3 regression. | Armin Ronacher | 2014-06-06 | 1 | -10/+16 |
| | |||||
* | Added tests for logging undefined and added it to the docs. | Armin Ronacher | 2014-06-06 | 1 | -18/+61 |
| | |||||
* | Added support for logging of undefined objects. | Armin Ronacher | 2014-06-06 | 1 | -6/+41 |
| | | | | | | fixup! fixup! | ||||
* | Fix loop context length calculation for iterators. Fixes #244 | Christoph Reiter | 2014-03-30 | 1 | -2/+3 |
| | | | | | This resulted in wrong values for revindex and revindex0 while looping over an iterator. | ||||
* | Merge branch '2.7-maintenance' | Armin Ronacher | 2013-08-07 | 1 | -1/+11 |
|\ | |||||
| * | Fixed warnings if Python is run with -3. | Armin Ronacher | 2013-08-07 | 1 | -1/+11 |
| | | | | | | | | | | | | | | This also adds proper hashing and comparision support to undefined objects. This fixes #224 | ||||
* | | Since we no longer support 2.5 we can use the builtin next() function | Armin Ronacher | 2013-05-20 | 1 | -1/+1 |
|/ | |||||
* | Documented loop.depth and added loop.depth0. | Armin Ronacher | 2013-05-20 | 1 | -2/+4 |
| | |||||
* | feature to version check for context dict methods | Armin Ronacher | 2013-05-20 | 1 | -2/+2 |
| | |||||
* | Removed an unnecessary check | Armin Ronacher | 2013-05-20 | 1 | -8/+7 |
| | |||||
* | Make the runtime leak less of the version hacks | Armin Ronacher | 2013-05-20 | 1 | -13/+13 |
| | |||||
* | Added unicode mixin for unified string logic | Armin Ronacher | 2013-05-19 | 1 | -17/+3 |
| | |||||
* | PY3 -> PY2 macro | Armin Ronacher | 2013-05-19 | 1 | -7/+7 |
| | |||||
* | Moved all six usages (ignoring testsuite) into jinja2._compat | Armin Ronacher | 2013-05-19 | 1 | -19/+24 |
| | |||||
* | six.advance_iterator -> next | Armin Ronacher | 2013-05-19 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' into sprint-branch | Armin Ronacher | 2013-05-18 | 1 | -0/+11 |
|\ | |||||
| * | Cleanup and changelog entry for new contextfunction behavior | Armin Ronacher | 2013-05-18 | 1 | -5/+5 |
| | | |||||
| * | - Allow callable classes to have contextfunction and the like | Richard Eames | 2013-04-15 | 1 | -0/+11 |
| | | |||||
* | | Remove unused imports | Daniel Neuhäuser | 2013-05-18 | 1 | -2/+2 |
| | | |||||
* | | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixers | Thomas Waldmann | 2013-05-18 | 1 | -14/+19 |
| | | |||||
* | | python 3 port: automated changes by a slightly modified python-modernize | Thomas Waldmann | 2013-05-17 | 1 | -4/+5 |
|/ | | | | (replacing unicode with six.text_type, but not replacing u"" by six.u("")) | ||||
* | Added changelog entry for #92 and changed LoopContext.End to _last_iteration | Armin Ronacher | 2012-01-25 | 1 | -5/+6 |
| | |||||
* | Fixed loop.last to not consume the entire iterator to determine if this is | Jason Kotenko | 2012-01-24 | 1 | -2/+14 |
| | | | | the last iteration of the loop. | ||||
* | Removed dead code. | jason kirtland | 2011-04-25 | 1 | -2/+0 |
| | |||||
* | join now also accepts parameters | Armin Ronacher | 2011-01-24 | 1 | -1/+0 |
| | |||||
* | Fixed imports with scoped blocks | Armin Ronacher | 2010-12-22 | 1 | -0/+1 |
| | |||||
* | Undefineds now support attribute errors for special attributes. This fixes #6 | Armin Ronacher | 2010-11-19 | 1 | -2/+8 |
| | |||||
* | Calls to functions in templates are now intercepted for StopIteration. | Armin Ronacher | 2010-06-05 | 1 | -11/+20 |
| | | | | | | | Improved performance of macro call slightly. --HG-- branch : trunk | ||||
* | Next try for a Python 3 fix | Armin Ronacher | 2010-05-29 | 1 | -4/+1 |
| | | | | | --HG-- branch : trunk | ||||
* | Fixed a Python 3 bug. | Armin Ronacher | 2010-05-29 | 1 | -0/+3 |
| | | | | | --HG-- branch : trunk |