summaryrefslogtreecommitdiff
path: root/jinja2/runtime.py
Commit message (Collapse)AuthorAgeFilesLines
...
* six.advance_iterator -> nextArmin Ronacher2013-05-191-1/+2
|
* Merge branch 'master' into sprint-branchArmin Ronacher2013-05-181-0/+11
|\
| * Cleanup and changelog entry for new contextfunction behaviorArmin Ronacher2013-05-181-5/+5
| |
| * - Allow callable classes to have contextfunction and the likeRichard Eames2013-04-151-0/+11
| |
* | Remove unused importsDaniel Neuhäuser2013-05-181-2/+2
| |
* | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixersThomas Waldmann2013-05-181-14/+19
| |
* | python 3 port: automated changes by a slightly modified python-modernizeThomas Waldmann2013-05-171-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_iterationArmin Ronacher2012-01-251-5/+6
|
* Fixed loop.last to not consume the entire iterator to determine if this isJason Kotenko2012-01-241-2/+14
| | | | the last iteration of the loop.
* Removed dead code.jason kirtland2011-04-251-2/+0
|
* join now also accepts parametersArmin Ronacher2011-01-241-1/+0
|
* Fixed imports with scoped blocksArmin Ronacher2010-12-221-0/+1
|
* Undefineds now support attribute errors for special attributes. This fixes #6Armin Ronacher2010-11-191-2/+8
|
* Calls to functions in templates are now intercepted for StopIteration.Armin Ronacher2010-06-051-11/+20
| | | | | | | Improved performance of macro call slightly. --HG-- branch : trunk
* Next try for a Python 3 fixArmin Ronacher2010-05-291-4/+1
| | | | | --HG-- branch : trunk
* Fixed a Python 3 bug.Armin Ronacher2010-05-291-0/+3
| | | | | --HG-- branch : trunk
* Tip is now 2.5. Started work on newstyle gettext translations.Armin Ronacher2010-05-291-1/+4
| | | | | --HG-- branch : trunk
* Fixed a failing testcase. (Error caused by constant folding of undefinedArmin Ronacher2010-05-231-7/+2
| | | | | | | values) --HG-- branch : trunk
* Improved error message for undefinedsArmin Ronacher2010-04-121-6/+7
| | | | | --HG-- branch : trunk
* Undefineds give better hints for `None` objects now.Armin Ronacher2010-04-121-3/+3
| | | | | --HG-- branch : trunk
* autoescape no longer is a plain boolean value but can also be a functionArmin Ronacher2010-04-051-3/+3
| | | | | | | | to enable or disable autoescaping for certain filenames (or file extensions for that matter) --HG-- branch : trunk
* Biggest change to Jinja since the 1.x migration: added evaluation contextsArmin Ronacher2010-03-141-2/+7
| | | | | | | | | which make it possible to keep the ahead of time optimizations and provide dynamic activation and deactivation of autoescaping and other context specific features. --HG-- branch : trunk
* broke a line into two. (test commit)Armin Ronacher2010-02-171-1/+2
| | | | | --HG-- branch : trunk
* Added comment to why __unicode__ goes after __str__.Armin Ronacher2010-02-101-0/+4
| | | | | --HG-- branch : trunk
* Propably delaying release for better python 3 support. Started working onArmin Ronacher2010-02-091-2/+2
| | | | | | | that. --HG-- branch : trunk
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* Reverted [73b04625ab54]. The old behavior is the new behavior, the otherArmin Ronacher2009-10-261-44/+1
| | | | | | | is not consistenly implementable. --HG-- branch : trunk
* added a deprecation warning for a variable assignment, scope bugArmin Ronacher2009-09-181-0/+43
| | | | | | | | | | that exists since 2.0, code could depend on. See :ref:`jinja-scoping-bug` for more information on this problem. Tip is 2.3 as this will be the next release (will happen soon!) --HG-- branch : trunk
* More Python 3 support.Armin Ronacher2009-08-051-4/+10
| | | | | --HG-- branch : trunk
* Started to work on Python 3 support.Armin Ronacher2009-08-051-3/+6
| | | | | --HG-- branch : trunk
* Improved Jinja's debugging support by introducing "@internalcode" which ↵Armin Ronacher2009-02-241-1/+6
| | | | | | | marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger. --HG-- branch : trunk
* Added proper super() support for scoped blocks.Armin Ronacher2009-02-191-2/+4
| | | | | --HG-- branch : trunk
* Added support for optional `scoped` modifier to blocks.Armin Ronacher2009-02-191-20/+45
| | | | | --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Include statements can now be marked with ``ignore missing`` to skipArmin Ronacher2008-12-271-2/+3
| | | | | | | non existing templates. --HG-- branch : trunk
* Fixed a small bug with the undefined object: the error message on divisions ↵Armin Ronacher2008-11-021-2/+3
| | | | | | | with undefined objects was misleading. --HG-- branch : trunk
* Various cleanups and added custom cycler.Armin Ronacher2008-10-051-4/+4
| | | | | --HG-- branch : trunk
* Unified some code in the super/template reference system.Armin Ronacher2008-09-201-10/+32
| | | | | --HG-- branch : trunk
* It's now possible to create weak references to template contexts.Armin Ronacher2008-09-181-1/+1
| | | | | --HG-- branch : trunk
* More work on the ironpython supportArmin Ronacher2008-08-171-7/+4
| | | | | --HG-- branch : trunk
* Removed a few stdlib dependencies. This is the first step for IronPython ↵Armin Ronacher2008-08-131-2/+7
| | | | | | | support, the second one being a new lexer. --HG-- branch : trunk
* fixed a few broken license declarations. should have been BSD not GPLArmin Ronacher2008-07-151-1/+1
| | | | | --HG-- branch : trunk
* Fixed a bug with the loop context of a for loop if the iterator passed has a ↵Armin Ronacher2008-07-041-20/+20
| | | | | | | volatile `__len__` like the listreverseiterator. `else` in inline if-expressions is optional now. --HG-- branch : trunk
* Added non-babel output mode to extract_from_ast, integreated jinja2 doctests ↵Armin Ronacher2008-06-271-5/+5
| | | | | | | directly into the py.test suite (ugh, that's an ugly hack) --HG-- branch : trunk
* some more documentation updates and minor code cleanups. Additionally True ↵Armin Ronacher2008-05-281-27/+39
| | | | | | | and true in the template are the same now, same for false/False and none/None. --HG-- branch : trunk
* improved sandbox and updated setup.pyArmin Ronacher2008-05-261-4/+0
| | | | | --HG-- branch : trunk
* added attr filterArmin Ronacher2008-05-261-4/+10
| | | | | --HG-- branch : trunk
* fixed a bug in error reporting and some small documentation updatesArmin Ronacher2008-05-261-1/+0
| | | | | --HG-- branch : trunk
* even more tests, fixed severe bug with autoescaping.Armin Ronacher2008-05-251-1/+1
| | | | | --HG-- branch : trunk
* all calls are proxied by context.call now so that we can inject environment ↵Armin Ronacher2008-05-251-8/+11
| | | | | | | and context as first arguments. This slows calls down a bit but is a lot more user friendly. Added first draft of FAQ --HG-- branch : trunk