summaryrefslogtreecommitdiff
path: root/jinja2/environment.py
Commit message (Collapse)AuthorAgeFilesLines
...
* added "with context" or "without context" import/include modifiersArmin Ronacher2008-05-021-1/+11
| | | | | --HG-- branch : trunk
* reactivated syntax error translationsArmin Ronacher2008-05-011-1/+0
| | | | | --HG-- branch : trunk
* Jinja doesn't have keywords any longer. The reason for this radical change ↵Armin Ronacher2008-05-011-1/+2
| | | | | | | 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 typos in documentationLukas Meuser2008-05-011-0/+3
| | | | | --HG-- branch : trunk
* improved debugging for syntax errorsArmin Ronacher2008-05-011-4/+9
| | | | | --HG-- branch : trunk
* small performance improvementsArmin Ronacher2008-05-011-22/+21
| | | | | --HG-- branch : trunk
* moved caching from loaders to environment and added environment overlaysArmin Ronacher2008-04-301-52/+149
| | | | | --HG-- branch : trunk
* again documentation updates fixed another python 2.4 bug. Imports are not ↵Armin Ronacher2008-04-291-27/+17
| | | | | | | evaluated with the template context any longer which makes it possible to keep them in memory --HG-- branch : trunk
* autoescaping is separate from finalize now and Markup is completely ignored ↵Armin Ronacher2008-04-281-69/+149
| | | | | | | if the environment is not in autoescape mode --HG-- branch : trunk
* all unittests pass, the special and dependency lookups have their own ↵Armin Ronacher2008-04-271-10/+26
| | | | | | | 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
* worked on the tests and made undefined fail on comparisons nowArmin Ronacher2008-04-261-13/+18
| | | | | --HG-- branch : trunk
* there is now a workaround in the compiler that makes sure it's possible to ↵Armin Ronacher2008-04-261-7/+6
| | | | | | | call things with python keywords. {{ foo(class=42) }} works again --HG-- branch : trunk
* some performance improvementsArmin Ronacher2008-04-261-4/+4
| | | | | --HG-- branch : trunk
* `IncludedTemplate` uses getattr rather then getitem nowArmin Ronacher2008-04-251-7/+15
| | | | | --HG-- branch : trunk
* moved `IncludedTemplate` into the regular template API, fixed more unittestsArmin Ronacher2008-04-251-0/+29
| | | | | --HG-- branch : trunk
* moved trans extension from jinja2.i18n to jinja2.ext and fixed some more ↵Armin Ronacher2008-04-251-26/+27
| | | | | | | unittests --HG-- branch : trunk
* inheritance uses a less awkward hack for contexts now and subclassing ↵Armin Ronacher2008-04-241-50/+149
| | | | | | | templates is possible --HG-- branch : trunk
* refactored extensions a bitArmin Ronacher2008-04-201-7/+8
| | | | | --HG-- branch : trunk
* added first code for parser extensions and moved some code in speedups aroundArmin Ronacher2008-04-201-1/+15
| | | | | --HG-- branch : trunk
* fixed more unittestsArmin Ronacher2008-04-181-5/+17
| | | | | --HG-- branch : trunk
* improved undefined behaviorArmin Ronacher2008-04-171-3/+6
| | | | | --HG-- branch : trunk
* simplified loader api and added builtin cachingArmin Ronacher2008-04-171-3/+10
| | | | | --HG-- branch : trunk
* various docstring changesArmin Ronacher2008-04-171-2/+7
| | | | | --HG-- branch : trunk
* added autoescapingArmin Ronacher2008-04-171-7/+3
| | | | | --HG-- branch : trunk
* better debugging information. compiler knows about name and filename now ↵Armin Ronacher2008-04-161-5/+6
| | | | | | | (the first one is the load name, the second the estimated filename on the file system if such a name exists) --HG-- branch : trunk
* added new python only debug hackArmin Ronacher2008-04-161-7/+28
| | | | | --HG-- branch : trunk
* updated a few filters and improved i18nArmin Ronacher2008-04-161-0/+1
| | | | | --HG-- branch : trunk
* reimplemented {% trans %}Armin Ronacher2008-04-161-8/+14
| | | | | --HG-- branch : trunk
* added sandbox and exchageable undefined objectsArmin Ronacher2008-04-141-0/+75
| | | | | --HG-- branch : trunk
* hopefully fixed `Template`Armin Ronacher2008-04-131-6/+5
| | | | | --HG-- branch : trunk
* Automated merge with ssh://dev.pocoo.org/jinja2-mainChristoph Hack2008-04-131-8/+42
|\ | | | | | | | | --HG-- branch : trunk
| * added globalsArmin Ronacher2008-04-131-9/+43
| | | | | | | | | | --HG-- branch : trunk
* | converted unit tests, started rewriting filtersChristoph Hack2008-04-131-1/+3
|/ | | | | --HG-- branch : trunk
* some more stuff for jinja2Armin Ronacher2008-04-131-1/+0
| | | | | --HG-- branch : trunk
* filter tag works nowArmin Ronacher2008-04-121-0/+1
| | | | | --HG-- branch : trunk
* added support for line statement prefixes (cheetah/mako/erb like)Armin Ronacher2008-04-121-3/+5
| | | | | --HG-- branch : trunk
* implemented includesArmin Ronacher2008-04-111-1/+4
| | | | | --HG-- branch : trunk
* fixed a bug in the compilerArmin Ronacher2008-04-111-2/+1
| | | | | --HG-- branch : trunk
* filters are always used as locals now and we don't do any post-loop cleanupArmin Ronacher2008-04-111-1/+1
| | | | | --HG-- branch : trunk
* w000t. first templateArmin Ronacher2008-04-111-1/+6
| | | | | --HG-- branch : trunk
* work on tha runtimeArmin Ronacher2008-04-111-1/+52
| | | | | --HG-- branch : trunk
* fixed one bug with blocks, one to goArmin Ronacher2008-04-101-14/+10
| | | | | --HG-- branch : trunk
* simplified undefined behavior for better compile time processingArmin Ronacher2008-04-091-0/+4
| | | | | --HG-- branch : trunk
* first version of new parserArmin Ronacher2008-03-311-29/+7
| | | | | --HG-- branch : trunk
* a clean restartArmin Ronacher2008-03-311-0/+115
--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