summaryrefslogtreecommitdiff
path: root/jinja2/nodes.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix various optimizer bugs. This fixes #548bugfix/inline-optmiizeArmin Ronacher2017-01-061-2/+2
|
* First pass on integrating id trackingArmin Ronacher2017-01-031-0/+29
|
* SECURITY: support sandboxing in format expressionsArmin Ronacher2016-12-291-1/+1
|
* Merge pull request #230 from p1otr/masterArmin Ronacher2014-06-101-1/+1
|\ | | | | documentation typos
| * fix a bunch of typos in the documentationJakub Wilk2013-05-251-1/+1
| |
* | Implemented a block set tag.Armin Ronacher2014-06-071-0/+5
| |
* | Merge branch '2.7-maintenance'Armin Ronacher2013-08-071-0/+3
|\ \ | |/ |/|
| * Fixed warnings if Python is run with -3.Armin Ronacher2013-08-071-0/+3
| | | | | | | | | | | | | | This also adds proper hashing and comparision support to undefined objects. This fixes #224
* | Removed duplication from types that was only necessary for IronPythonArmin Ronacher2013-05-201-3/+3
| |
* | Since we no longer support 2.5 we can use the builtin next() functionArmin Ronacher2013-05-201-1/+1
|/
* Some more small cleanup for metaclassesArmin Ronacher2013-05-201-1/+0
|
* Moved all six usages (ignoring testsuite) into jinja2._compatArmin Ronacher2013-05-191-8/+7
|
* six.advance_iterator -> nextArmin Ronacher2013-05-191-2/+4
|
* Merge pull request #76 from kracekumar/masterArmin Ronacher2013-05-191-1/+1
|\ | | | | Changed three to four in nodes.py at line no 107
| * Changed three major types to four major types in nodes.pykracekumar2011-11-251-1/+1
| |
* | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixersThomas Waldmann2013-05-181-3/+3
| |
* | python 3 port: automated changes by a slightly modified python-modernizeThomas Waldmann2013-05-171-3/+4
|/ | | | (replacing unicode with six.text_type, but not replacing u"" by six.u(""))
* join now also accepts parametersArmin Ronacher2011-01-241-0/+1
|
* Implemented operator interceptingArmin Ronacher2010-11-291-0/+8
|
* Changed naked except statements to catch only subclasses of Exception.Ian Lewis2010-11-071-11/+11
| | | | | | | | | | | | | | Naked except statements catch subclasses of BaseException which can occur anywhere (i.e. KeyboardInterrupt). Unexpected issues can occur when the exception happens during the loading of a module. The python interpreter doesn't know about a module's failed load and does not remove it from sys.modules. This is particularly a problem on AppEngine where python will think the module is loaded but in fact the module load has failed. See: http://code.google.com/p/googleappengine/issues/detail?id=1409 Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
* it's now possible to register extensions after an environmentArmin Ronacher2010-05-291-1/+6
| | | | | | | was created. --HG-- branch : trunk
* Tip is now 2.5. Started work on newstyle gettext translations.Armin Ronacher2010-05-291-0/+16
| | | | | --HG-- branch : trunk
* Fixed a failing testcase. (Error caused by constant folding of undefinedArmin Ronacher2010-05-231-7/+12
| | | | | | | values) --HG-- branch : trunk
* Fix unbound local error masked by bare except.Georg Brandl2010-05-231-1/+2
| | | | | --HG-- branch : trunk
* autoescape no longer is a plain boolean value but can also be a functionArmin Ronacher2010-04-051-2/+5
| | | | | | | | to enable or disable autoescaping for certain filenames (or file extensions for that matter) --HG-- branch : trunk
* Added improved documentation to the `ContextReference` node.Armin Ronacher2010-03-241-1/+10
| | | | | --HG-- branch : trunk
* Another documentation string fix.Armin Ronacher2010-03-151-1/+1
| | | | | --HG-- branch : trunk
* More documentation updates.Armin Ronacher2010-03-151-3/+14
| | | | | --HG-- branch : trunk
* Biggest change to Jinja since the 1.x migration: added evaluation contextsArmin Ronacher2010-03-141-65/+120
| | | | | | | | | 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
* Down to 7 failures for Python 3. We're onto something.Armin Ronacher2010-02-101-4/+9
| | | | | --HG-- branch : trunk
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* Added the `meta` module.Armin Ronacher2009-07-261-1/+3
| | | | | --HG-- branch : trunk
* Added support for optional `scoped` modifier to blocks.Armin Ronacher2009-02-191-1/+1
| | | | | --HG-- branch : trunk
* Fixed a bug that caused internal errors if names where used as iterationArmin Ronacher2009-02-111-0/+5
| | | | | | | | variable and regular variable *after* the loop if that variable was unused *before* the loop. (#331) --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-1/+1
| | | | | | | non existing templates. --HG-- branch : trunk
* Added support for `Environment.compile_expression`.Armin Ronacher2008-11-021-5/+0
| | | | | --HG-- branch : trunk
* Fixed a bug in constant folding of keyword arguments to filter calls. ↵Armin Ronacher2008-09-211-0/+3
| | | | | | | Thanks noskolo. --HG-- branch : trunk
* Removed a few stdlib dependencies. This is the first step for IronPython ↵Armin Ronacher2008-08-131-25/+0
| | | | | | | support, the second one being a new lexer. --HG-- branch : trunk
* Fixed a bug with the loop context of a for loop if the iterator passed has a ↵Armin Ronacher2008-07-041-0/+5
| | | | | | | volatile `__len__` like the listreverseiterator. `else` in inline if-expressions is optional now. --HG-- branch : trunk
* Changed all sentences with occurrences of subscribing to a similar sentence ↵Armin Ronacher2008-06-251-5/+5
| | | | | | | that uses the word "subscript". And the person that comes up with a less confusing verb for the attribute/item lookup method (that is not lookup!!1) gets an extra THANKS entry. --HG-- branch : trunk
* Improved attribute and item lookup by allowing template designers to express ↵Armin Ronacher2008-06-121-3/+19
| | | | | | | the priority. foo.bar checks foo.bar first and then foo['bar'] and the other way round. --HG-- branch : trunk
* some more documentation updates and minor code cleanups. Additionally True ↵Armin Ronacher2008-05-281-1/+2
| | | | | | | and true in the template are the same now, same for false/False and none/None. --HG-- branch : trunk
* even more tests, fixed severe bug with autoescaping.Armin Ronacher2008-05-251-0/+10
| | | | | --HG-- branch : trunk
* all calls are proxied by context.call now so that we can inject environment ↵Armin Ronacher2008-05-251-6/+4
| | | | | | | 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
* fixed bug with static unicode strings and auto escapingArmin Ronacher2008-05-241-15/+0
| | | | | --HG-- branch : trunk
* end of line sequence is no configurableArmin Ronacher2008-05-231-23/+0
| | | | | --HG-- branch : trunk
* more unittests and updated documentation for extensions. Fixed bug in ↵Armin Ronacher2008-05-231-1/+5
| | | | | | | optimizer that caused blocks to be optimized away under some circumstances. --HG-- branch : trunk
* added loopcontrols extension and added unittests for itArmin Ronacher2008-05-231-2/+4
| | | | | --HG-- branch : trunk
* refactored compiler and improved identifier handling for for-loopsArmin Ronacher2008-05-231-4/+9
| | | | | --HG-- branch : trunk