summaryrefslogtreecommitdiff
path: root/jinja2/lexer.py
Commit message (Collapse)AuthorAgeFilesLines
* go back to generating regex, simplifiedfeature/kill-stringdefsDavid Lord2017-07-041-9/+12
| | | | | | new version uses ~2KB vs 200KB memory, is ~100x faster to load move script to generate pattern to scripts directory add more tests
* remove unnecessary \b from name regexDavid Lord2017-07-031-7/+5
|
* test for new identifier lexerDavid Lord2017-07-021-1/+1
| | | | currently fails on special case unicode
* Added missing identifiers to the name reArmin Ronacher2017-07-021-1/+7
|
* Inversed invalid logicArmin Ronacher2017-07-011-3/+3
|
* Use str.isidentifier to match idents on python 3Armin Ronacher2017-07-011-20/+12
|
* Reduce unused unicodedata dump. Fixes #666Armin Ronacher2017-01-241-7/+20
|
* Remove unused/duplicate importsAdrian Moennich2017-01-091-2/+1
|
* Fixed some string literal warnings. Fixes #646Armin Ronacher2017-01-081-4/+4
|
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Add a policy for the ascii literal behavior. Fixes #392Armin Ronacher2017-01-071-9/+0
|
* Merge pull request #312 from fengsp/masterArmin Ronacher2014-06-061-2/+2
|\ | | | | Removed duplication from ignored_tokens in lexer
| * Removed duplication from ignored_tokens in lexerfsp2014-03-181-2/+2
| |
* | Fix for #304Armin Ronacher2014-06-061-5/+6
|/
* Since we no longer support 2.5 we can use the builtin next() functionArmin Ronacher2013-05-201-1/+1
|
* Make the runtime leak less of the version hacksArmin Ronacher2013-05-201-9/+6
|
* Moved all six usages (ignoring testsuite) into jinja2._compatArmin Ronacher2013-05-191-8/+7
|
* six.advance_iterator -> nextArmin Ronacher2013-05-191-8/+10
|
* Merge remote-tracking branch 'kristi/master'Armin Ronacher2013-05-191-3/+40
|\
| * Apply lstrip_blocks to comments (match trim_blocks behavior)Kristi Tsukida2012-07-121-11/+22
| |
| * Don't match variable or comment blocks, Use {%+ to disable lstrip_blocks ↵Kristi Tsukida2012-07-121-8/+27
| | | | | | | | behavior manually
| * hash lstrip_blocks in lexer cacheKristi Tsukida2012-07-121-0/+1
| |
| * remove debug codeKristi Tsukida2012-07-101-2/+0
| |
| * add lstrip_blocks environment setting, fix lexerKristi Tsukida2012-07-101-5/+9
| |
| * lstrip spaces (but not newlines) from block tagsKristi Tsukida2012-07-101-2/+6
| |
* | Merge remote-tracking branch 'wking/keep-trailing-newline'Armin Ronacher2013-05-191-2/+11
|\ \
| * | Add `keep_trailing_newline` to configure final endline strippingW. Trevor King2013-01-111-2/+11
| |/ | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #203 from aspiers/masterArmin Ronacher2013-05-191-1/+1
|\ \ | | | | | | Prevent line statements eating newlines (fixes #52)
| * | Prevent line statements eating newlines (fixes #52)Adam Spiers2013-05-011-1/+1
| |/
* | python 3 port: manual fixes, remove 2to3 from setup.py, remove fixersThomas Waldmann2013-05-181-15/+22
| |
* | python 3 port: automated changes by a slightly modified python-modernizeThomas Waldmann2013-05-171-6/+7
|/ | | | (replacing unicode with six.text_type, but not replacing u"" by six.u(""))
* couple of typos in commentsDmitry Jemerov2011-09-261-4/+4
|
* Committed fix for raw testcase.Armin Ronacher2010-06-051-1/+2
| | | | | --HG-- branch : trunk
* Down to 7 failures for Python 3. We're onto something.Armin Ronacher2010-02-101-1/+2
| | | | | --HG-- branch : trunk
* greatly improved error message reporting. This fixes #339Armin Ronacher2010-02-061-6/+42
| | | | | | --HG-- branch : trunk extra : rebase_source : d8f677273490fa73d5603b68478fa3b54f60ccb9
* It's a new yearArmin Ronacher2010-01-221-1/+1
| | | | | --HG-- branch : trunk
* More Python 3 support.Armin Ronacher2009-08-051-8/+19
| | | | | --HG-- branch : trunk
* Started to work on Python 3 support.Armin Ronacher2009-08-051-2/+1
| | | | | --HG-- branch : trunk
* Broken overlong line.Armin Ronacher2009-04-021-1/+2
| | | | | --HG-- branch : trunk
* Fixed another bug with line commentsArmin Ronacher2009-04-011-2/+2
| | | | | --HG-- branch : trunk
* Fixed bug in line-based comments with priority.Armin Ronacher2009-03-311-8/+12
| | | | | --HG-- branch : trunk
* Added support for line-based comments.Armin Ronacher2009-03-301-19/+38
| | | | | --HG-- branch : trunk
* Improved usage of string interning. This should fix the problems with jython.Armin Ronacher2009-02-041-49/+97
| | | | | --HG-- branch : trunk
* This commit makes the parser and lexer use regular string comparison to ↵Ali Afshar2009-01-051-3/+3
| | | | | | | support jython --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Added support for `Environment.compile_expression`.Armin Ronacher2008-11-021-4/+9
| | | | | --HG-- branch : trunk
* It's now possible to use ``{{ foo.0.0 }}``Armin Ronacher2008-09-101-1/+1
| | | | | --HG-- branch : trunk
* Removed a few stdlib dependencies. This is the first step for IronPython ↵Armin Ronacher2008-08-131-25/+18
| | | | | | | support, the second one being a new lexer. --HG-- branch : trunk
* Added example extension that uses the stream filtering and added unittests.Armin Ronacher2008-06-141-0/+7
| | | | | --HG-- branch : trunk
* Added unittests for stream filtering and preprocessing features of extensions.Armin Ronacher2008-06-141-1/+0
| | | | | --HG-- branch : trunk