summaryrefslogtreecommitdiff
path: root/jinja2/lexer.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* added support for token stream filtering and preprocessing.Armin Ronacher2008-06-131-54/+56
| | | | | --HG-- branch : trunk
* fixed bug with static unicode strings and auto escapingArmin Ronacher2008-05-241-1/+1
| | | | | --HG-- branch : trunk
* end of line sequence is no configurableArmin Ronacher2008-05-231-7/+12
| | | | | --HG-- branch : trunk
* Environment.lex returns unicode tokens now, even if the input data was a ↵Armin Ronacher2008-05-231-2/+1
| | | | | | | bytestring. --HG-- branch : trunk
* lex includes whitespace now which makes it a lot more usefulArmin Ronacher2008-05-221-11/+5
| | | | | --HG-- branch : trunk
* temporary identifiers are prefixed with "t_" now and the ↵Armin Ronacher2008-05-191-4/+1
| | | | | | | _node_setup_finished hack went away --HG-- branch : trunk
* improved exception system. now both name (load name) and filename are passed.Armin Ronacher2008-05-161-42/+23
| | | | | --HG-- branch : trunk
* added parsing code for "for item in seq recursive" and improved parser ↵Armin Ronacher2008-05-111-11/+19
| | | | | | | interface a bit --HG-- branch : trunk
* Backed out changeset 6afb554797b6, which added unicode identifier support. ↵Armin Ronacher2008-05-111-12/+11
| | | | | | | This doesn't work in reality under Python 2.6 properly. --HG-- branch : trunk
* added support for unicode identifiersArmin Ronacher2008-05-111-11/+12
| | | | | --HG-- branch : trunk
* First extension interface documentation and updates in that interfaceArmin Ronacher2008-05-081-11/+9
| | | | | --HG-- branch : trunk
* updated filters: wordwraps uses the wordwrap module and urlize marks the ↵Armin Ronacher2008-05-031-2/+2
| | | | | | | result as HTML now if in autoescape mode --HG-- branch : trunk
* added "with context" or "without context" import/include modifiersArmin Ronacher2008-05-021-1/+1
| | | | | --HG-- branch : trunk
* moved code from datastructure into lexer as the module only holds code for ↵Armin Ronacher2008-05-011-1/+151
| | | | | | | the lexer and is not that big. --HG-- branch : trunk
* Jinja doesn't have keywords any longer. The reason for this radical change ↵Armin Ronacher2008-05-011-11/+1
| | | | | | | 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
* added cache_clear functionArmin Ronacher2008-05-011-1/+1
| | | | | --HG-- branch : trunk
* revamped jinja2 import system. the behavior is less confusing now, but it's ↵Armin Ronacher2008-04-251-1/+2
| | | | | | | not backwards compatible. I like it though ;) --HG-- branch : trunk
* moved trans extension from jinja2.i18n to jinja2.ext and fixed some more ↵Armin Ronacher2008-04-251-88/+19
| | | | | | | unittests --HG-- branch : trunk
* inheritance uses a less awkward hack for contexts now and subclassing ↵Armin Ronacher2008-04-241-8/+8
| | | | | | | templates is possible --HG-- branch : trunk
* fixed more unittestsArmin Ronacher2008-04-221-3/+6
| | | | | --HG-- branch : trunk
* fixed setup.py, a type and removed the possibility to use multiple ↵Armin Ronacher2008-04-211-3/+2
| | | | | | | statements per block. The latter makes it easier to write custom tags --HG-- branch : trunk
* added first code for parser extensions and moved some code in speedups aroundArmin Ronacher2008-04-201-3/+3
| | | | | --HG-- branch : trunk
* reimplemented {% trans %}Armin Ronacher2008-04-161-32/+13
| | | | | --HG-- branch : trunk
* added support for new call statementArmin Ronacher2008-04-121-12/+8
| | | | | --HG-- branch : trunk
* added support for line statement prefixes (cheetah/mako/erb like)Armin Ronacher2008-04-121-3/+24
| | | | | --HG-- branch : trunk
* work on tha runtimeArmin Ronacher2008-04-111-3/+0
| | | | | --HG-- branch : trunk
* added first working pieces of compilerArmin Ronacher2008-04-071-7/+8
| | | | | --HG-- branch : trunk
* first version of new parserArmin Ronacher2008-03-311-4/+4
| | | | | --HG-- branch : trunk
* a clean restartArmin Ronacher2008-03-311-0/+503
--HG-- branch : trunk rename : jinja/__init__.py => jinja2/__init__.py rename : jinja/_debugger.c => jinja2/_debugger.c rename : jinja/_native.py => jinja2/_native.py rename : jinja/_speedups.c => jinja2/_speedups.c rename : jinja/constants.py => jinja2/constants.py rename : jinja/contrib/__init__.py => jinja2/contrib/__init__.py rename : jinja/contrib/_djangosupport.py => jinja2/contrib/_djangosupport.py rename : jinja/contrib/djangosupport.py => jinja2/contrib/djangosupport.py rename : jinja/datastructure.py => jinja2/datastructure.py rename : jinja/defaults.py => jinja2/defaults.py rename : jinja/environment.py => jinja2/environment.py rename : jinja/exceptions.py => jinja2/exceptions.py rename : jinja/filters.py => jinja2/filters.py rename : jinja/lexer.py => jinja2/lexer.py rename : jinja/loaders.py => jinja2/loaders.py rename : jinja/nodes.py => jinja2/nodes.py rename : jinja/parser.py => jinja2/parser.py rename : jinja/tests.py => jinja2/tests.py rename : jinja/translators/__init__.py => jinja2/translators/__init__.py rename : jinja/translators/python.py => jinja2/translators/python.py rename : jinja/utils.py => jinja2/utils.py