Géry Debongnie
35c1de26b8
[IMP] component: allow component name in templates
...
closes #186
2019-06-18 15:02:35 +02:00
Géry Debongnie
f013c57050
[REF] component: rename t-async into t-asyncroot
2019-06-14 15:40:32 +02:00
Géry Debongnie
b9fae87273
[DOC] doc: miscellaneous formatting updates
2019-06-14 15:33:43 +02:00
Géry Debongnie
c481a73a76
[ADD] component: implement t-model directive
...
closes #170
2019-06-14 15:01:29 +02:00
Aaron Bohy
e64e415b3b
[IMP] qweb: add t-async directive on t-widget
...
Closes #98
2019-06-14 14:58:24 +02:00
Géry Debongnie
710f42d4e4
[IMP] qweb: add t-slot directive
...
Closes #67
2019-06-12 14:54:24 +02:00
Géry Debongnie
54c3dd76e4
[FIX] doc: fix all dead links
...
closes #149
2019-06-07 15:40:03 +02:00
Géry Debongnie
7b887447da
[IMP] qweb: implements an expression evaluator
...
closes #5
2019-06-07 15:37:45 +02:00
Aaron Bohy
49baf0de6e
[REF] qweb: t-foreach: remove integer support for t-value
...
Handling it complexifies the compiled code, and it is not really
useful (the same result can be achieved with t-foreach="Array(n)")
Part of #128
2019-06-07 14:52:12 +02:00
Aaron Bohy
b14d069ee7
[REF] qweb: drop support of #{.} string interpolation
...
We only support the {{.}} syntax.
Part of #128
2019-06-07 14:52:12 +02:00
Aaron Bohy
e14a4fe338
[REF] qweb: t-foreach: remove x_parity
...
Part of #128
2019-06-07 14:52:12 +02:00
Géry Debongnie
d22219f084
[DOC] reorganize qweb/component doc
...
Also, document t-foreach
closes #146
2019-06-05 10:28:30 +02:00
Aaron Bohy
2f9d7ea58f
[REF] qweb: revamp event management
...
Closes #111
2019-06-04 11:59:21 +02:00
Géry Debongnie
f8e07f6d30
[DOC] *: remove all remaining references to t-props
...
closes #135
2019-06-03 13:34:01 +02:00
Géry Debongnie
34b5049dee
[DOC] doc: small misc fixes
2019-05-31 12:40:02 +02:00
Aaron Bohy
376f801541
[IMP] qweb: t-widget: accept dyn values
2019-05-29 11:22:12 +02:00
Aaron Bohy
26f14180e2
[IMP] qweb: t-ref: dyn values with string interpolation
...
Closes #100
2019-05-29 11:22:12 +02:00
Géry Debongnie
a4cc085b6d
[DOC] qweb: add note to explain t-transition limitation
2019-05-27 12:46:20 +02:00
Aaron Bohy
7cdd1aa9a1
[IMP] qweb: add global Component registry to qweb
...
Closes #112
2019-05-27 12:10:33 +02:00
Aaron Bohy
639908366a
[IMP] allow to combine t-transition and t-widget
...
Closes #94
2019-05-27 11:50:21 +02:00
Aaron Bohy
8a32d823cd
[IMP] support modifiers with t-on directive
...
Supported modifiers are stop, prevent and self.
Closes #115 .
2019-05-23 23:33:09 +02:00
Géry Debongnie
a1d7e6c987
[FIX] qweb: support #{} syntax in attribute string interpolation
...
closes #113
2019-05-17 16:20:25 +02:00
Géry Debongnie
7df0fdcc0a
[DOC] qweb: add some documentation on owl qweb extensions
2019-05-16 10:23:18 +02:00
Géry Debongnie
9556696fa8
[REF] qweb: rename loadTemplates into addTemplates
2019-05-15 11:04:22 +02:00
Aaron Bohy
0aba9748c9
[IMP] add t-mounted directive
...
closes #45
2019-05-10 19:31:09 +02:00
Géry Debongnie
ff2393f5df
[DOC] doc: update qweb.md
2019-05-03 16:19:33 +02:00
Géry Debongnie
0da44033ac
[IMP] qweb: add preliminary support for transitions
...
Still very naive...
Part of #66
2019-05-03 09:35:35 +02:00
Géry Debongnie
896efca43f
[DOC] qweb: add info on root nodes
2019-05-01 10:50:04 +02:00
Géry Debongnie
efe82b6cd0
[DOC] doc: add some info on t-key directive
2019-04-30 10:41:21 +02:00
Géry Debongnie
46e05f1c96
[DOC] qweb: add some documentation
2019-04-29 14:15:19 +02:00
Géry Debongnie
4a748d2ea4
[IMP] qweb: add t-debug and t-log directives
2019-04-29 14:07:08 +02:00
Géry Debongnie
d52177560b
[DOC] doc: add some qweb documentation
2019-04-27 19:14:40 +02:00
Géry Debongnie
c405dadc1b
[DOC] doc: improve qweb documentation
2019-04-26 09:55:17 +02:00
Géry Debongnie
d509373228
[DOC] doc: rewrite component/quick start documentation
2019-04-25 13:55:40 +02: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
f1a18efd8b
update component and qweb doc
2019-03-14 14:23:27 +01:00
Géry Debongnie
80745c6b09
update documentation and readme
2019-03-14 13:17:19 +01:00