summaryrefslogtreecommitdiff
path: root/jinja2/ext.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Environment.lex returns unicode tokens now, even if the input data was a ↵Armin Ronacher2008-05-231-2/+7
| | | | | | | bytestring. --HG-- branch : trunk
* added loopcontrols extension and added unittests for itArmin Ronacher2008-05-231-0/+12
| | | | | --HG-- branch : trunk
* improved exception system. now both name (load name) and filename are passed.Armin Ronacher2008-05-161-14/+8
| | | | | --HG-- branch : trunk
* void -> doArmin Ronacher2008-05-151-0/+13
| | | | | --HG-- branch : trunk
* the two escape implementations work the same now, updated jinja2-debug to ↵Armin Ronacher2008-05-141-5/+4
| | | | | | | load the i18n extension --HG-- branch : trunk
* improved variable exporting, added TODO fileArmin Ronacher2008-05-121-5/+5
| | | | | --HG-- branch : trunk
* added parsing code for "for item in seq recursive" and improved parser ↵Armin Ronacher2008-05-111-1/+1
| | | | | | | interface a bit --HG-- branch : trunk
* fixed a bug in extension handlingArmin Ronacher2008-05-111-0/+11
| | | | | --HG-- branch : trunk
* more updates on the extension APIArmin Ronacher2008-05-081-36/+38
| | | | | --HG-- branch : trunk
* First extension interface documentation and updates in that interfaceArmin Ronacher2008-05-081-12/+45
| | | | | --HG-- branch : trunk
* some documentation updatesArmin Ronacher2008-05-071-5/+10
| | | | | --HG-- branch : trunk
* Jinja doesn't have keywords any longer. The reason for this radical change ↵Armin Ronacher2008-05-011-1/+0
| | | | | | | is that the previous keywords where incompatible with the python keywords which made it impossible to name a variable "filter" or call a function with such a keyword parameter. --HG-- branch : trunk
* moved caching from loaders to environment and added environment overlaysArmin Ronacher2008-04-301-3/+18
| | | | | --HG-- branch : trunk
* again documentation updates fixed another python 2.4 bug. Imports are not ↵Armin Ronacher2008-04-291-4/+8
| | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk