summaryrefslogtreecommitdiff
path: root/jinja2/runtime.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* more unittests and updated documentation for extensions. Fixed bug in ↵Armin Ronacher2008-05-231-1/+1
| | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk
* fixed an embarrassing mistake in the documentationArmin Ronacher2008-05-191-4/+7
| | | | | --HG-- branch : trunk
* some more cleaning upArmin Ronacher2008-05-181-0/+2
| | | | | --HG-- branch : trunk
* small refactoringArmin Ronacher2008-05-181-6/+23
| | | | | --HG-- branch : trunk
* added a semi realworld benchmark (jinja2 and mako)Armin Ronacher2008-05-151-4/+4
| | | | | --HG-- branch : trunk
* fixed bug with parameter parsingArmin Ronacher2008-05-151-2/+1
| | | | | --HG-- branch : trunk
* reversed the internal structure for blocksArmin Ronacher2008-05-151-4/+2
| | | | | --HG-- branch : trunk
* added unittest for recursive for loopArmin Ronacher2008-05-111-2/+6
| | | | | --HG-- branch : trunk
* readded support for recursive for-loopsArmin Ronacher2008-05-111-1/+8
| | | | | --HG-- branch : trunk
* documentation updateArmin Ronacher2008-05-071-3/+5
| | | | | --HG-- branch : trunk
* some documentation improvements, jinja escapes " and ' now, both into ↵Armin Ronacher2008-05-061-6/+31
| | | | | | | charpoints and no named entities for html 3.2 support ;-) --HG-- branch : trunk
* moved concat to utils, fixed a few docstrings, fixed memory leak in ↵Armin Ronacher2008-05-031-22/+1
| | | | | | | _speedups.escape --HG-- branch : trunk