summaryrefslogtreecommitdiff
path: root/jinja2/ext.py
Commit message (Collapse)AuthorAgeFilesLines
* use "Jinja" instead of "Jinja2"David Lord2019-10-231-3/+3
|
* clean up i18n documentationDavid Lord2019-10-191-1/+5
| | | | | | | | explain enabling newstyle organize newstyle advantages mention escaping percent signs for formatting mention marking format parameters as safe fix newstyle ref
* document debug extensionDavid Lord2019-10-041-27/+20
|
* don't bypass autoescapeDavid Lord2019-10-041-16/+12
|
* Add support for a {% debug %} extension tag.Shaheed Haque2019-10-041-2/+64
| | | | This dumps the available variables, filters and tests.
* Trivial typosUnknown2017-11-081-1/+1
| | | Most non-user facing.
* Add support for `{% trans trimmed ... %}`Adrian Moennich2017-07-031-1/+19
| | | | | | | Same behavior as in Django: All linebreaks and the whitespace surrounding linebreaks are replaced with a single space. closes #504
* Fix another invalid \s escale sequenceAdrian Moennich2017-01-091-1/+1
|
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Move the autoescape extension and with statement to be built-inArmin Ronacher2017-01-071-29/+2
|
* 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-6/+5
|
* six.advance_iterator -> nextArmin Ronacher2013-05-191-12/+13
|
* Merge remote-tracking branch 'apollo13/master'Armin Ronacher2013-05-191-2/+12
|\
| * fix previous commit, which was kinda nonfunctionalFlorian Apolloner2012-01-181-2/+9
| |
| * don't evaluate trans arguments twice.Florian Apolloner2012-01-181-1/+4
| |
* | Merge remote-tracking branch 'kristi/master'Armin Ronacher2013-05-191-1/+6
|\ \ | |/
* | Merge remote-tracking branch 'wking/keep-trailing-newline'Armin Ronacher2013-05-191-1/+3
|\ \
| * | Add `keep_trailing_newline` to configure final endline strippingW. Trevor King2013-01-111-1/+3
| |/ | | | | | | | | | | | | | | | | | | This option defaults to False for compatibility with the existing behaviour. I've added the option because I expect I won't remember to keep an extra trailing newline in my templates, and some non-HTML templates *need* that last newline. See also: https://groups.google.com/d/msg/pocoo-libs/6DylMqq1voI/GXTbZJ1Tr-sJ
* | Remove unused importsDaniel Neuhäuser2013-05-181-2/+1
| |
* | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixersThomas Waldmann2013-05-181-16/+16
| |
* | python 3 port: automated changes by a slightly modified python-modernizeThomas Waldmann2013-05-171-2/+3
|/ | | | (replacing unicode with six.text_type, but not replacing u"" by six.u(""))
* Fixed a bug in the i18n extraction option handling and added a silent option.Armin Ronacher2011-12-151-1/+9
|
* Damn you SphinxArmin Ronacher2011-01-241-1/+3
|
* Added new testcaseArmin Ronacher2010-07-061-1/+1
| | | | | --HG-- branch : trunk
* babel extraction can now properly extract newstyle gettext calls.Armin Ronacher2010-07-011-11/+17
| | | | | | | | using the variable `num` in newstyle gettext for something else than the pluralize count will no longer raise a :exc:`KeyError`. --HG-- branch : trunk
* Added a small improvement for the code generation of newstyle gettextArmin Ronacher2010-05-291-5/+14
| | | | | | | calls. --HG-- branch : trunk
* Removed debug printArmin Ronacher2010-05-291-1/+0
| | | | | --HG-- branch : trunk
* it's now possible to register extensions after an environmentArmin Ronacher2010-05-291-9/+13
| | | | | | | was created. --HG-- branch : trunk
* Finished support for newstyle gettext translationsArmin Ronacher2010-05-291-13/+9
| | | | | --HG-- branch : trunk
* Tip is now 2.5. Started work on newstyle gettext translations.Armin Ronacher2010-05-291-14/+57
| | | | | --HG-- branch : trunk
* Added extension ordering, this fixes #376.Armin Ronacher2010-04-121-0/+7
| | | | | --HG-- branch : trunk
* Biggest change to Jinja since the 1.x migration: added evaluation contextsArmin Ronacher2010-03-141-0/+15
| | | | | | | | | 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
* added with-statement extension.Armin Ronacher2010-02-071-0/+22
| | | | | --HG-- branch : trunk
* added support for translator comments if extracted via babel.Armin Ronacher2010-02-061-2/+54
| | | | | --HG-- branch : trunk
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* More Python 3 support.Armin Ronacher2009-08-051-11/+11
| | | | | --HG-- branch : trunk
* Added support for line-based comments.Armin Ronacher2009-03-301-0/+1
| | | | | --HG-- branch : trunk
* Same thing for extensions.Armin Ronacher2009-01-051-6/+6
| | | | | --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Added experimental and undocumented bytecode cache supportArmin Ronacher2008-09-171-2/+3
| | | | | --HG-- branch : trunk
* Fixed a confusing edge case (thanks apollo13)Armin Ronacher2008-09-151-4/+7
| | | | | --HG-- branch : trunk
* Fixed a bug in the i18n extension that caused the explicit pluralization ↵Armin Ronacher2008-09-061-1/+13
| | | | | | | block to look up the wrong variable. --HG-- branch : trunk
* Skip templates with syntax errors on babel extractArmin Ronacher2008-06-291-1/+5
| | | | | --HG-- branch : trunk
* Added non-babel output mode to extract_from_ast, integreated jinja2 doctests ↵Armin Ronacher2008-06-271-5/+37
| | | | | | | directly into the py.test suite (ugh, that's an ugly hack) --HG-- branch : trunk
* Added example extension that uses the stream filtering and added unittests.Armin Ronacher2008-06-141-1/+6
| | | | | --HG-- branch : trunk
* added support for token stream filtering and preprocessing.Armin Ronacher2008-06-131-0/+16
| | | | | --HG-- branch : trunk
* moved environment defaults to jinja2.defaultsArmin Ronacher2008-05-231-20/+17
| | | | | --HG-- branch : trunk
* end of line sequence is no configurableArmin Ronacher2008-05-231-1/+1
| | | | | --HG-- branch : trunk