Alexandre Kühn
|
4a5db0c283
|
[FIX] qweb: t-component + class with extra whitespaces
Crashed due to `DOMTokenList.add(string)` requiring non-empty string.
|
2019-06-25 13:08:14 +02:00 |
|
Géry Debongnie
|
1e2b204fdd
|
[FIX] component: default slot now works with textnodes
closes #209
|
2019-06-25 09:37:26 +02:00 |
|
Géry Debongnie
|
34695883c2
|
[REF] component: use __ for private methods
closes #202
|
2019-06-24 13:42:20 +02:00 |
|
Géry Debongnie
|
3d2e2a1873
|
[FIX] components: ignore slot if no definition is given
closes #203
|
2019-06-24 13:38:32 +02:00 |
|
Géry Debongnie
|
af6aca83a2
|
[IMP] components: allow multiple roots in slots
closes #199
|
2019-06-24 13:36:11 +02:00 |
|
Géry Debongnie
|
8c8ffb6a6b
|
[IMP] qweb,component: make QWeb an event bus
closes #197
|
2019-06-24 09:47:11 +02:00 |
|
Géry Debongnie
|
63a8fcd7e2
|
[FIX] component: scoping issue with t-on and t-foreach
closes #193
|
2019-06-21 16:31:24 +02:00 |
|
Géry Debongnie
|
e6a5934162
|
[REF] component: use 'component' instead of 'widget'
|
2019-06-20 12:31:00 +02:00 |
|
Géry Debongnie
|
35c1de26b8
|
[IMP] component: allow component name in templates
closes #186
|
2019-06-18 15:02:35 +02:00 |
|
Géry Debongnie
|
5ff501f8b8
|
[IMP] component: add support for default slot
closes #180
|
2019-06-17 09:26:37 +02:00 |
|
Géry Debongnie
|
b201ef8162
|
[FIX] component: crashes if no template can be found
closes #178
|
2019-06-14 23:33:45 +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
|
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 |
|
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
|
1f9ec46236
|
[FIX] qweb: keep ref of unmounted (kept alive) widget
Fixes #120
|
2019-06-06 09:11:52 +02:00 |
|
Aaron Bohy
|
32921ecc20
|
[IMP] qweb: t-on with t-widget: allow to bind args
|
2019-06-04 11:59:21 +02:00 |
|
Aaron Bohy
|
1c290c1172
|
[IMP] qweb: handle t-on modifiers with t-widget
|
2019-06-04 11:59:21 +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
|
187eb922c0
|
[IMP] component: define props as attribute (remove t-props)
|
2019-06-03 13:34:01 +02:00 |
|
Géry Debongnie
|
466c12a0e6
|
[FIX] component: reuse widget if possible
Previous code always destroy and recreate widgets.
|
2019-06-03 13:34:01 +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 |
|
Aaron Bohy
|
7cdd1aa9a1
|
[IMP] qweb: add global Component registry to qweb
Closes #112
|
2019-05-27 12:10:33 +02:00 |
|
Aaron Bohy
|
050694414c
|
[REF] move animations tests into their own file
|
2019-05-27 11:50:21 +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
|
649e20b956
|
[IMP] improve tests of transition directive
|
2019-05-27 11:49:09 +02:00 |
|
Géry Debongnie
|
a1e982aba5
|
[REF] tests: rename makeTestWEnv to makeTestEnv
|
2019-05-17 15:52:16 +02:00 |
|
Géry Debongnie
|
2ce027a0a6
|
[REF] component: remove isStarted key
|
2019-05-17 15:50:55 +02:00 |
|
Géry Debongnie
|
8758dfcedf
|
[IMP] component: better error if cannot find widget
closes #54
|
2019-05-15 17:17:39 +02:00 |
|
Géry Debongnie
|
0a10bbc023
|
[IMP] component: remove support for inlineTemplate
closes #93
|
2019-05-15 15:54:18 +02:00 |
|
Géry Debongnie
|
9c1d369e94
|
[FIX] qweb/component: fix scoping issue with list of widgets
In a t-foreach loop, there was a bad interaction between variables
defined with the `var` keyword and asynchronous code.
closes #108
|
2019-05-15 15:42:45 +02:00 |
|
Géry Debongnie
|
04eb720619
|
[IMP] qweb: add default template in QWeb
|
2019-05-15 10:55:17 +02:00 |
|
Géry Debongnie
|
361ecbe90b
|
[IMP] component: deduce template name from component name
closes #102
|
2019-05-15 10:40:23 +02:00 |
|
Géry Debongnie
|
53911de00a
|
[FIX] component: make t-widget work with t-elif
closes #97
|
2019-05-10 19:36:44 +02:00 |
|
Aaron Bohy
|
1760d0d336
|
[FIX] allow to combine directives using node hooks
e.g. t-ref and t-transition, or t-mounted and t-transition.
|
2019-05-10 19:31:09 +02:00 |
|
Aaron Bohy
|
0aba9748c9
|
[IMP] add t-mounted directive
closes #45
|
2019-05-10 19:31:09 +02:00 |
|
Aaron Bohy
|
8ee0973dab
|
[REF] autoformat some files
|
2019-05-10 19:31:09 +02:00 |
|
Géry Debongnie
|
7f33f9b68e
|
[FIX] component: call patch between willpatch and patched
closes #91
|
2019-05-09 15:22:59 +02:00 |
|
Géry Debongnie
|
b7860a95b0
|
[REF] store: typecheck code
closes #87
closes #39
|
2019-05-07 11:47:09 +02:00 |
|
Géry Debongnie
|
ba506be58d
|
[FIX] component: fix issue with crash caused by async rendering
This may (or may not?) closes #85
|
2019-05-06 14:23:29 +02:00 |
|
Géry Debongnie
|
91896942dd
|
[FIX] component: prevent rendering if not mounted
|
2019-05-06 13:45:50 +02:00 |
|
Géry Debongnie
|
b9591cfecd
|
[IMP] component: add support for dynamic css on t-widget
closes #80
|
2019-05-06 11:19:18 +02:00 |
|
Géry Debongnie
|
51320204f9
|
[IMP] component: add static css support for sub components
part of issue #80
|
2019-05-06 10:22:53 +02:00 |
|
Géry Debongnie
|
eb508b7660
|
[FIX] component: capture ref key in closure
This is what commit d3197e9865 should have
done. Many changes should be done on normal nodes and on components!
closes #77
|
2019-05-04 22:48:50 +02:00 |
|
Géry Debongnie
|
4e982f5460
|
[IMP] qweb: add warning if t-key is missing in some cases
closes #71
|
2019-05-03 10:22:57 +02:00 |
|
Géry Debongnie
|
6350d9598d
|
[REF] qweb, component: small code refactoring
|
2019-05-02 10:58:47 +02:00 |
|
Géry Debongnie
|
40e486a9eb
|
[REF] component: remove updateProps
it is actually now a private method
|
2019-04-29 16:50:49 +02:00 |
|