Géry Debongnie
7974ce4963
[IMP] qweb: crash if t-on directive is used with no event
...
closes #33
2019-04-16 14:07:51 +02:00
Géry Debongnie
85eb30626d
[FIX] qweb: t-set expressions are evaluated only once
...
closes #23
2019-04-15 14:38:08 +02:00
Géry Debongnie
d7bed96667
[IMP] qweb: crashes if unknown directive
...
closes #22
2019-04-14 10:43:27 +02:00
Géry Debongnie
2ea01455cb
[FIX] qweb: fix issue with expression formatting
...
closes #21
2019-04-12 15:27:44 +02:00
Géry Debongnie
370a92b67e
imp: t-ref directive is now dynamic
...
closes #11
2019-04-09 10:33:08 +02:00
Géry Debongnie
7ebea5a486
imp: better error message when evaluating/compiling templates
...
fixes #3
2019-04-02 11:03:04 +02:00
Géry Debongnie
56be87f26e
fix: allow t-attf- attributes to combine with regular attrs
...
fixes #10
2019-04-02 09:22:37 +02:00
Géry Debongnie
d6e61c2203
imp: qweb engine can be initialized with templates
2019-03-29 16:40:59 +01:00
Géry Debongnie
e6b0d06e3e
fix: make sure qweb throw error if invalid templates
2019-03-29 15:37:42 +01:00
Géry Debongnie
a7d2edd0c9
imp: qweb compiler now condenses whitespaces
...
This is a pretty big breaking change: the html output by qweb is now
different.
The main goal is to optimize the compiled templates:
- condense all consecutive whitespaces into a single spaces
- if possible, drop completely some text nodes, based on the following
heuristic: if a text node is only composed of whitespaces, and
contains at least one linebreak, then it can be dropped.
This leads in my benchmark test to an improvement of about 10%, in
rendering speed and in memory consuption.
Note: whitespace here means anything that matches the \s regexp: newlines,
tabs, ...
close #8
2019-03-22 12:04:50 +01:00
Géry Debongnie
a34fc39100
imp: allow object descriptors for attributes
...
close #6
2019-03-21 11:15:06 +01:00
Géry Debongnie
a8b3ec7726
support using object variables in t-esc
2019-03-21 10:47:08 +01:00
Géry Debongnie
9baf3ad4a7
add support for boolean properties, such as 'checked'
...
fix #5
2019-03-20 13:19:08 +01:00
Géry Debongnie
bd7a2bfc67
fix crash in template compilation with objects in props
...
fix #1
2019-03-19 10:44:01 +01:00
Géry Debongnie
ce8c176578
rename qweb_vdom into qweb
2019-03-14 14:32:29 +01:00
Géry Debongnie
041830c684
remove old code
2019-01-20 09:29:18 +01:00
Géry Debongnie
f0d529139b
basic project infrastructure
2019-01-16 16:17:25 +01:00
Géry Debongnie
0f3b2d10da
initial commit
2019-01-16 11:28:05 +01:00