Samuel Degueldre
58b8572f0a
[FIX] components: capture context in prop expressions
2021-11-22 13:18:17 +01:00
Géry Debongnie
4a4b1fbba5
[IMP] app: add templates in app config
...
Also, improve the parsing code
2021-11-22 10:56:16 +01:00
Bruno Boi
345c44b952
fixup! [IMP] svg namespace support
2021-11-19 12:47:51 +01:00
Bruno Boi
ea74739d46
[IMP] svg namespace support
2021-11-19 11:55:18 +01:00
Géry Debongnie
48650da62e
[REM] remove some outdated tests
2021-11-17 09:21:55 +01:00
Lucas Perais (lpe)
6ea40a66da
[IMP] app, compiler: introduce t-out
...
t-out automatically escaped content when it is a string not marked
with the `markup` function
t-out renders the raw content if it is a Block, or if it has been marked
with the `markup` funtion.
t-esc has been kept since it is safe and is optimized to render text nodes.
all t-raw calls are in fact the same as t-out.
2021-11-16 14:37:53 +01:00
Lucas Perais (lpe)
2806cda420
[FIX][BREAKING] t-esc on component is not supported anymore
2021-11-16 14:37:53 +01:00
Bruno Boi
cb0b525f32
[IMP] templates: can load multiple at once and also from XMLDocument
2021-11-16 13:10:09 +01:00
Géry Debongnie
6aeff21d9a
[FIX] tests: remove useless log
2021-11-15 09:35:13 +01:00
Géry Debongnie
9163bb1e08
[REF] app: move TemplateSet into its own file
2021-11-15 09:35:13 +01:00
Géry Debongnie
a187a376a0
[REF] move app and compiler code around
2021-11-15 09:35:13 +01:00
Géry Debongnie
04334e23d7
[REF] compiler: rename qweb/ into compiler/
2021-11-15 09:35:13 +01:00