summaryrefslogtreecommitdiff
path: root/jinja2/nodes.py
Commit message (Collapse)AuthorAgeFilesLines
* use "Jinja" instead of "Jinja2"David Lord2019-10-231-1/+1
|
* document how ContextReference relates to contextfunctionDavid Lord2019-10-181-0/+5
| | | | closes #762
* Fix typos (#815)luzpaz2018-02-181-1/+1
| | | Found via `codespell -q 3` using v1.12.0.dev0
* Fix typo instanciable > instantiableMd. Sabuj Sarker2017-12-021-1/+1
|
* Support filters in set blockThiefMaster2017-10-311-1/+1
| | | | | - e.g {% set foo | trim %}...{% endset %} - closes #486
* Merge branch '2.9-maintenance'Adrian Moennich2017-08-221-1/+1
|\
| * Compile `elif` tag to `elif` instead of `else: if`2.9-maintenanceAdrian Moennich2017-08-221-1/+1
| | | | | | | | | | | | | | | | 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
* | Inline template tests during optimizationSebastian Noack2017-07-071-15/+47
| |
* | Add support for namespace attribute assignmentAdrian Moennich2017-06-241-0/+12
| |
* | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-1/+1
|\ \ | |/
| * Fixed some string literal warnings. Fixes #646Armin Ronacher2017-01-081-1/+1
| |
* | Merge branch '2.9-maintenance'Armin Ronacher2017-01-081-0/+9
|\ \ | |/
| * Implement with-tag with a custom nodeArmin Ronacher2017-01-081-0/+9
| |
* | Added support for unoptimized scopesArmin Ronacher2017-01-081-2/+10
| |
* | WIP for overlay scopesArmin Ronacher2017-01-081-0/+8
|/
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Add a policy for the ascii literal behavior. Fixes #392Armin Ronacher2017-01-071-2/+9
|
* Smaller fixes to stuff that broke on 3.xArmin Ronacher2017-01-071-0/+7
|
* Kill const folding for call which does not work anywaysArmin Ronacher2017-01-061-32/+0
|
* 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