Armin Ronacher
|
f15f5f7fd7
|
items have a higher priority than attributes now. That's compatible with Jinja1 and Django
--HG--
branch : trunk
|
2008-05-26 12:21:45 +02:00 |
|
Armin Ronacher
|
61a5a24a51
|
fixed a bug in error reporting and some small documentation updates
--HG--
branch : trunk
|
2008-05-26 12:07:44 +02:00 |
|
Armin Ronacher
|
5dfbfc1e75
|
updated FAQ for performance numbers. I guess I should remove that point anyways.
--HG--
branch : trunk
|
2008-05-25 18:10:12 +02:00 |
|
Armin Ronacher
|
5411ce72a7
|
even more tests, fixed severe bug with autoescaping.
--HG--
branch : trunk
|
2008-05-25 11:36:22 +02:00 |
|
Armin Ronacher
|
fd31049f62
|
all calls are proxied by context.call now so that we can inject environment and context as first arguments. This slows calls down a bit but is a lot more user friendly. Added first draft of FAQ
--HG--
branch : trunk
|
2008-05-25 00:16:51 +02:00 |
|
Armin Ronacher
|
9f258fffc4
|
added more unittests for various tasks
--HG--
branch : trunk
|
2008-05-24 22:28:52 +02:00 |
|
Armin Ronacher
|
e62b7eff81
|
more unittests
--HG--
branch : trunk
|
2008-05-24 20:47:29 +02:00 |
|
Armin Ronacher
|
9cf9591ef7
|
fixed bug with static unicode strings and auto escaping
--HG--
branch : trunk
|
2008-05-24 19:54:43 +02:00 |
|
Armin Ronacher
|
4e6f9a2549
|
added unittest for Markup and let the markup constructor accept __html__ objects
--HG--
branch : trunk
|
2008-05-23 23:57:38 +02:00 |
|
Armin Ronacher
|
4f5008ff19
|
moved environment defaults to jinja2.defaults
--HG--
branch : trunk
|
2008-05-23 23:36:07 +02:00 |
|
Armin Ronacher
|
f3c35c4245
|
end of line sequence is no configurable
--HG--
branch : trunk
|
2008-05-23 23:18:14 +02:00 |
|
Armin Ronacher
|
5c047ea2c3
|
Environment.lex returns unicode tokens now, even if the input data was a bytestring.
--HG--
branch : trunk
|
2008-05-23 22:26:45 +02:00 |
|
Armin Ronacher
|
6df604ec21
|
more unittests and updated documentation for extensions. Fixed bug in optimizer that caused blocks to be optimized away under some circumstances.
--HG--
branch : trunk
|
2008-05-23 22:18:38 +02:00 |
|
Armin Ronacher
|
3da9031b99
|
added loopcontrols extension and added unittests for it
--HG--
branch : trunk
|
2008-05-23 16:37:28 +02:00 |
|
Armin Ronacher
|
105f0dcdbe
|
refactored compiler and improved identifier handling for for-loops
--HG--
branch : trunk
|
2008-05-23 16:12:47 +02:00 |
|
Armin Ronacher
|
903d1682d4
|
variables starting with one or more underscores are not exported
--HG--
branch : trunk
|
2008-05-23 00:51:58 +02:00 |
|
Armin Ronacher
|
d8b8c3e0a6
|
lex includes whitespace now which makes it a lot more useful
--HG--
branch : trunk
|
2008-05-22 21:28:32 +02:00 |
|
Armin Ronacher
|
a2eb77deec
|
call is now handled like a regular unnamed macro, refactored compiled a bit
--HG--
branch : trunk
|
2008-05-22 20:28:21 +02:00 |
|
Armin Ronacher
|
7962ce7033
|
fixed babel entry point
--HG--
branch : trunk
|
2008-05-20 17:52:52 +02:00 |
|
Armin Ronacher
|
e25f24def5
|
more thread safety in LRUCache
--HG--
branch : trunk
|
2008-05-19 11:20:41 +02:00 |
|
Armin Ronacher
|
e2244881cd
|
improved thread safety of the LRUCache and fixed a bug in for loops
--HG--
branch : trunk
|
2008-05-19 09:25:57 +02:00 |
|
Armin Ronacher
|
8a1d27f1c6
|
temporary identifiers are prefixed with "t_" now and the _node_setup_finished hack went away
--HG--
branch : trunk
|
2008-05-19 08:37:19 +02:00 |
|
Armin Ronacher
|
bbbe062c7b
|
fixed an embarrassing mistake in the documentation
--HG--
branch : trunk
|
2008-05-19 00:23:37 +02:00 |
|
Armin Ronacher
|
771c7505c5
|
some more cleaning up
--HG--
branch : trunk
|
2008-05-18 23:14:14 +02:00 |
|
Armin Ronacher
|
ed1e0d4a8b
|
small refactoring
--HG--
branch : trunk
|
2008-05-18 20:25:28 +02:00 |
|
Armin Ronacher
|
522cad6913
|
added ImmutableSandboxedEnvironment .
--HG--
branch : trunk
|
2008-05-17 13:55:37 +02:00 |
|
Armin Ronacher
|
ab5ad8ca24
|
subscribe doesn't eat up unicode errors any longer
--HG--
branch : trunk
|
2008-05-17 00:34:11 +02:00 |
|
Armin Ronacher
|
67fdddf4f2
|
removed attribute local aliasing again because that implementation was broken
--HG--
branch : trunk
|
2008-05-16 09:27:51 +02:00 |
|
Armin Ronacher
|
7f15ef846f
|
improved exception system. now both name (load name) and filename are passed.
--HG--
branch : trunk
|
2008-05-16 09:11:39 +02:00 |
|
Armin Ronacher
|
a7f016dae2
|
added disclaimer to rwbench and fixed error reporting for one of the four Output cases
--HG--
branch : trunk
|
2008-05-16 00:22:40 +02:00 |
|
Armin Ronacher
|
5d2733fce8
|
void -> do
--HG--
branch : trunk
|
2008-05-15 23:26:52 +02:00 |
|
Armin Ronacher
|
a78d276ef7
|
simplified from imports
--HG--
branch : trunk
|
2008-05-15 23:18:07 +02:00 |
|
Armin Ronacher
|
dc02b64d62
|
added a semi realworld benchmark (jinja2 and mako)
--HG--
branch : trunk
|
2008-05-15 22:47:27 +02:00 |
|
Armin Ronacher
|
e9411b4189
|
fixed bug with parameter parsing
--HG--
branch : trunk
|
2008-05-15 16:22:07 +02:00 |
|
Armin Ronacher
|
151418ddce
|
fixed error on static subscribe aliasing if the subscription argument was a variable
--HG--
branch : trunk
|
2008-05-15 15:00:45 +02:00 |
|
Armin Ronacher
|
1f627ffab4
|
fixed error reporting for filtered statements
--HG--
branch : trunk
|
2008-05-15 13:23:26 +02:00 |
|
Armin Ronacher
|
83fbc0fa7e
|
reversed the internal structure for blocks
--HG--
branch : trunk
|
2008-05-15 12:22:28 +02:00 |
|
Armin Ronacher
|
b3a1fcfa3d
|
added support for local aliasing of some attributes. the technique used is not very good but covers at least some of the more common use cases
--HG--
branch : trunk
|
2008-05-15 11:04:14 +02:00 |
|
Armin Ronacher
|
9d42abf320
|
the two escape implementations work the same now, updated jinja2-debug to load the i18n extension
--HG--
branch : trunk
|
2008-05-14 18:10:41 +02:00 |
|
Armin Ronacher
|
08a6a3ba0f
|
improved subscribe
--HG--
branch : trunk
|
2008-05-13 15:35:47 +02:00 |
|
Armin Ronacher
|
981cbf6ea4
|
removed unused imports
--HG--
branch : trunk
|
2008-05-13 09:12:27 +02:00 |
|
Armin Ronacher
|
0a2ac69bb9
|
switched back to explicit set for assignments. {% foo = 42 %} becomes {% set foo = 42 %} and {% foo.something() }} becomes {{ void(foo.something() }} with this commit.
--HG--
branch : trunk
|
2008-05-13 01:03:08 +02:00 |
|
Armin Ronacher
|
69e12dbb95
|
improved variable exporting, added TODO file
--HG--
branch : trunk
|
2008-05-12 09:00:03 +02:00 |
|
Armin Ronacher
|
66a9344ed5
|
added unittest for recursive for loop
--HG--
branch : trunk
|
2008-05-11 23:42:19 +02:00 |
|
Armin Ronacher
|
1e1e890a09
|
readded support for recursive for-loops
--HG--
branch : trunk
|
2008-05-11 23:21:16 +02:00 |
|
Armin Ronacher
|
fdf953008b
|
added parsing code for "for item in seq recursive" and improved parser interface a bit
--HG--
branch : trunk
|
2008-05-11 22:20:51 +02:00 |
|
Armin Ronacher
|
27069d73ec
|
fixed a bug in extension handling
--HG--
branch : trunk
|
2008-05-11 19:48:12 +02:00 |
|
Armin Ronacher
|
d1ff858a7a
|
Backed out changeset 6afb554797b6, which added unicode identifier support. This doesn't work in reality under Python 2.6 properly.
--HG--
branch : trunk
|
2008-05-11 00:30:43 +02:00 |
|
Armin Ronacher
|
b5365480c7
|
added support for unicode identifiers
--HG--
branch : trunk
|
2008-05-11 00:18:35 +02:00 |
|
Armin Ronacher
|
b9e7875e43
|
added support for dotted names in tests and filters
--HG--
branch : trunk
|
2008-05-10 23:36:28 +02:00 |
|