Géry Debongnie
777b2aae5e
[IMP] add support for top level comments
2021-11-29 15:36:45 +01:00
Géry Debongnie
5b0dce94cf
[REF] code_generator: move generating code to CodeTarget
...
Before this commit, we had two places with code that generate a function
code. Now, all this code is moved in a method 'generateCode' on
CodeTarget.
2021-11-26 09:17:49 +01:00
Géry Debongnie
a1d435c5a5
[FIX] compiler: call dynamic templates with correct this
2021-11-25 17:29:30 +01:00
Samuel Degueldre
58b8572f0a
[FIX] components: capture context in prop expressions
2021-11-22 13:18:17 +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
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
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
04334e23d7
[REF] compiler: rename qweb/ into compiler/
2021-11-15 09:35:13 +01:00