Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
jinja
/
ea847c5f3352393a69461255412311941add9a78
/
jinja2
/
compiler.py
ea847c5
added "with context" or "without context" import/include modifiers
by Armin Ronacher
· 16 years ago
19cf9c2
small performance improvements
by Armin Ronacher
· 16 years ago
d84ec46
again documentation updates fixed another python 2.4 bug. Imports are not evaluated with the template context any longer which makes it possible to keep them in memory
by Armin Ronacher
· 16 years ago
709f6e5
python2.4 compatibility and doc updates
by Armin Ronacher
· 16 years ago
d134231
autoescaping is separate from finalize now and Markup is completely ignored if the environment is not in autoescape mode
by Armin Ronacher
· 16 years ago
c9705c2
all unittests pass, the special and dependency lookups have their own visitors now, with `self` one can get a reference to the current template and render blocks multiple times.
by Armin Ronacher
· 16 years ago
32a910f
added spitfire to bench and did some more refactoring
by Armin Ronacher
· 16 years ago
5304229
worked on the tests and made undefined fail on comparisons now
by Armin Ronacher
· 16 years ago
2feed1d
there is now a workaround in the compiler that makes sure it's possible to call things with python keywords. {{ foo(class=42) }} works again
by Armin Ronacher
· 16 years ago
de6bf71
some performance improvements
by Armin Ronacher
· 16 years ago
0611e49
revamped jinja2 import system. the behavior is less confusing now, but it's not backwards compatible. I like it though ;)
by Armin Ronacher
· 16 years ago
6ce170c
`IncludedTemplate` uses getattr rather then getitem now
by Armin Ronacher
· 16 years ago
963f97d
moved `IncludedTemplate` into the regular template API, fixed more unittests
by Armin Ronacher
· 16 years ago
203bfcb
inheritance uses a less awkward hack for contexts now and subclassing templates is possible
by Armin Ronacher
· 16 years ago
7324eb8
removed custom nodes again
by Armin Ronacher
· 16 years ago
f59bac2
added first code for parser extensions and moved some code in speedups around
by Armin Ronacher
· 16 years ago
10f3ba2
loops and `tests` tests pass now
by Armin Ronacher
· 16 years ago
f64efb8
removed loop.parent. If this variable is wanted you can get it by doing something like `{% parent_looo = loop %}` before the iteration
by Armin Ronacher
· 16 years ago
be4ae24
fixed a few bugs from the unittests
by Armin Ronacher
· 16 years ago
9a82205
improved undefined behavior
by Armin Ronacher
· 16 years ago
68f7767
various docstring changes
by Armin Ronacher
· 16 years ago
5236d8c
`TemplateData` -> `Markup`
by Armin Ronacher
· 16 years ago
9a027f4
improved filters
by Armin Ronacher
· 16 years ago
18c6ca0
added autoescaping
by Armin Ronacher
· 16 years ago
8e8d071
better debugging information. compiler knows about name and filename now (the first one is the load name, the second the estimated filename on the file system if such a name exists)
by Armin Ronacher
· 16 years ago
ba3757b
added new python only debug hack
by Armin Ronacher
· 16 years ago
2e9396b
reimplemented {% trans %}
by Armin Ronacher
· 16 years ago
b6fc38c
Automated merge with ssh://team@pocoo.org/jinja2-main
by Armin Ronacher
· 16 years ago
c63243e
added sandbox and exchageable undefined objects
by Armin Ronacher
· 16 years ago
8090986
continued convertig filters
by Christoph Hack
· 16 years ago
62f8a29
added super()
by Armin Ronacher
· 16 years ago
fed44b5
added globals
by Armin Ronacher
· 16 years ago
625215e
optimizer can optimize filtered for loops now
by Armin Ronacher
· 16 years ago
3d8b784
added loop filtering
by Armin Ronacher
· 16 years ago
00d5d21
some more stuff for jinja2
by Armin Ronacher
· 16 years ago
fa865fb
filter tag works now
by Armin Ronacher
· 16 years ago
7108207
added support for new call statement
by Armin Ronacher
· 16 years ago
f059ec1
implemented includes
by Armin Ronacher
· 16 years ago
41ef36f
basic inheritance works now
by Armin Ronacher
· 16 years ago
449167d
fixed a bug in the compiler
by Armin Ronacher
· 16 years ago
d4c64f7
filters are always used as locals now and we don't do any post-loop cleanup
by Armin Ronacher
· 16 years ago
46f5f98
w000t. first template
by Armin Ronacher
· 16 years ago
bcb7c53
work on tha runtime
by Armin Ronacher
· 16 years ago
7a52df8
fixed a small bug
by Armin Ronacher
· 16 years ago
7fb3897
*now* we have no overhead :)
by Armin Ronacher
· 16 years ago
75cfb86
optimized child template code generation. we now have zero overhead for the most common inheritance case
by Armin Ronacher
· 16 years ago
2ba4c92
removed debug print
by Armin Ronacher
· 16 years ago
ebe55aa
assignments are traversed in the correct order now
by Armin Ronacher
· 16 years ago
8edbe49
fixed one bug with blocks, one to go
by Armin Ronacher
· 16 years ago
d55ab53
nodes have access to environment now
by Armin Ronacher
· 16 years ago
4dfc975
simplified undefined behavior for better compile time processing
by Armin Ronacher
· 16 years ago
180a1bd
tuple unpacking at compile time is handled properly now
by Armin Ronacher
· 16 years ago
ecb839e
removed unused import
by Armin Ronacher
· 16 years ago
9d99e47
added optimizer
by Christoph Hack
· 16 years ago
9706fab
updated macro stuff
by Armin Ronacher
· 16 years ago
4f62a9f
work on the macro stuff
by Armin Ronacher
· 16 years ago
fdbefac
merged
by Christoph Hack
· 16 years ago
f4fdc72
optimize filters on constant values
by Christoph Hack
· 16 years ago
acb130e
only import filters to the local namespace if they are called more than once
by Christoph Hack
· 16 years ago
8efc522
more compiler stuff
by Armin Ronacher
· 16 years ago
65642a5
added environment, make filters available locally
by Christoph Hack
· 16 years ago
e791c2a
added first working pieces of compiler
by Armin Ronacher
· 16 years ago