summaryrefslogtreecommitdiff
path: root/jinja2/parser.py
Commit message (Collapse)AuthorAgeFilesLines
...
* variables starting with one or more underscores are not exportedArmin Ronacher2008-05-231-2/+2
| | | | | --HG-- branch : trunk
* removed attribute local aliasing again because that implementation was brokenArmin Ronacher2008-05-161-2/+0
| | | | | --HG-- branch : trunk
* improved exception system. now both name (load name) and filename are passed.Armin Ronacher2008-05-161-24/+24
| | | | | --HG-- branch : trunk
* simplified from importsArmin Ronacher2008-05-151-1/+1
| | | | | --HG-- branch : trunk
* fixed bug with parameter parsingArmin Ronacher2008-05-151-0/+1
| | | | | --HG-- branch : trunk
* switched back to explicit set for assignments. {% foo = 42 %} becomes {% ↵Armin Ronacher2008-05-131-31/+25
| | | | | | | set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit. --HG-- branch : trunk
* added parsing code for "for item in seq recursive" and improved parser ↵Armin Ronacher2008-05-111-41/+33
| | | | | | | interface a bit --HG-- branch : trunk
* added support for dotted names in tests and filtersArmin Ronacher2008-05-101-2/+8
| | | | | --HG-- branch : trunk
* added a function to parse assign targes and documented it for the extension ↵Armin Ronacher2008-05-101-51/+45
| | | | | | | interface --HG-- branch : trunk
* more updates on the extension APIArmin Ronacher2008-05-081-2/+9
| | | | | --HG-- branch : trunk
* First extension interface documentation and updates in that interfaceArmin Ronacher2008-05-081-25/+48
| | | | | --HG-- branch : trunk
* fixed a bug with filtered loopsArmin Ronacher2008-05-041-1/+1
| | | | | --HG-- branch : trunk
* updated filters: wordwraps uses the wordwrap module and urlize marks the ↵Armin Ronacher2008-05-031-3/+2
| | | | | | | result as HTML now if in autoescape mode --HG-- branch : trunk
* added "with context" or "without context" import/include modifiersArmin Ronacher2008-05-021-7/+29
| | | | | --HG-- branch : trunk
* moved code from datastructure into lexer as the module only holds code for ↵Armin Ronacher2008-05-011-1/+0
| | | | | | | 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-53/+68
| | | | | | | 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
* fixed some NameErrorsBenjamin Wiegand2008-04-281-1/+1
| | | | | --HG-- branch : trunk
* more docs and fixed bug in parser that assigned lineno for ExprStmt wrongArmin Ronacher2008-04-281-1/+1
| | | | | --HG-- branch : trunk
* all unittests pass, the special and dependency lookups have their own ↵Armin Ronacher2008-04-271-0/+3
| | | | | | | visitors now, with `self` one can get a reference to the current template and render blocks multiple times. --HG-- branch : trunk
* added spitfire to bench and did some more refactoringArmin Ronacher2008-04-261-2/+1
| | | | | --HG-- branch : trunk
* there is now a workaround in the compiler that makes sure it's possible to ↵Armin Ronacher2008-04-261-2/+11
| | | | | | | call things with python keywords. {{ foo(class=42) }} works again --HG-- branch : trunk
* revamped jinja2 import system. the behavior is less confusing now, but it's ↵Armin Ronacher2008-04-251-18/+44
| | | | | | | 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-9/+6
| | | | | | | unittests --HG-- branch : trunk
* fixed more unittestsArmin Ronacher2008-04-221-4/+4
| | | | | --HG-- branch : trunk
* fixed setup.py, a type and removed the possibility to use multiple ↵Armin Ronacher2008-04-211-28/+6
| | | | | | | statements per block. The latter makes it easier to write custom tags --HG-- branch : trunk
* refactored extensions a bitArmin Ronacher2008-04-201-18/+4
| | | | | --HG-- branch : trunk
* added first code for parser extensions and moved some code in speedups aroundArmin Ronacher2008-04-201-19/+34
| | | | | --HG-- branch : trunk
* loops and `tests` tests pass nowArmin Ronacher2008-04-181-2/+2
| | | | | --HG-- branch : trunk
* fixed a few bugs from the unittestsArmin Ronacher2008-04-181-1/+1
| | | | | --HG-- branch : trunk
* improved undefined behaviorArmin Ronacher2008-04-171-1/+1
| | | | | --HG-- branch : trunk
* reimplemented {% trans %}Armin Ronacher2008-04-161-2/+8
| | | | | --HG-- branch : trunk
* added loop filteringArmin Ronacher2008-04-131-9/+15
| | | | | --HG-- branch : trunk
* filter tag works nowArmin Ronacher2008-04-121-5/+16
| | | | | --HG-- branch : trunk
* added support for new call statementArmin Ronacher2008-04-121-17/+23
| | | | | --HG-- branch : trunk
* added support for line statement prefixes (cheetah/mako/erb like)Armin Ronacher2008-04-121-3/+1
| | | | | --HG-- branch : trunk
* fixed includeArmin Ronacher2008-04-121-4/+7
| | | | | --HG-- branch : trunk
* implemented includesArmin Ronacher2008-04-111-4/+9
| | | | | --HG-- branch : trunk
* work on tha runtimeArmin Ronacher2008-04-111-2/+0
| | | | | --HG-- branch : trunk
* fixed one bug with blocks, one to goArmin Ronacher2008-04-101-2/+4
| | | | | --HG-- branch : trunk
* nodes have access to environment nowArmin Ronacher2008-04-091-8/+7
| | | | | --HG-- branch : trunk
* more compiler stuffArmin Ronacher2008-04-081-3/+4
| | | | | --HG-- branch : trunk
* added first working pieces of compilerArmin Ronacher2008-04-071-27/+113
| | | | | --HG-- branch : trunk
* first version of new parserArmin Ronacher2008-03-311-3/+533
| | | | | --HG-- branch : trunk
* a clean restartArmin Ronacher2008-03-311-0/+39
--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