Aaron Bohy
a56939f13a
[IMP] store: memoize getters
...
Closes #95
2019-06-17 15:46:48 +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
60917bb102
[DOC] improve main readme.md
2019-06-15 10:38:29 +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
9cacc78ad7
[DOC] component: add section on root widget
2019-06-14 23:11:23 +02:00
Géry Debongnie
0d933b8570
[IMP] tools: improve playground samples
...
closes #177
2019-06-14 21:44:12 +02:00
Aaron Bohy
72f6daa695
[FIX] playground: t-async leftover in sample
2019-06-14 21:03:21 +02:00
Géry Debongnie
567d78a9ac
[DOC] component: put input bindings section higher
2019-06-14 15:46:14 +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
1f0457f69b
[REF] tools: use t-model in benchmarks
2019-06-14 15:01:29 +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
aa406b53e2
[FIX] tools: react benchmarks did not look like the others
2019-06-14 09:36:29 +02:00
Géry Debongnie
57027bd0fa
[FIX] doc: add missing link
2019-06-13 16:02:35 +02:00
Aaron Bohy
671c662fee
[FIX] playground: don't remove empty tabs
...
Fixes #169
2019-06-13 14:04:59 +02:00
Géry Debongnie
0ae70b1d63
[ADD] tools: add v0.14.0 benchmark
2019-06-13 12:22:38 +02:00
Géry Debongnie
2701a7d861
[REL] bump to v0.14.0
v0.14.0
2019-06-13 12:10:52 +02:00
Aaron Bohy
3ebe985c3c
[FIX] qweb: no more duplicated nodes during transitions
...
If a node was re-added while being removed (i.e. during the remove
transition), the node was duplicated in the DOM for the delay of
the remove transition. This rev. removes the old occurence directly
in that case.
Fixes #121
2019-06-13 11:55:10 +02:00
Aaron Bohy
1c0d4b5832
[FIX] tests: update snapshots
2019-06-13 11:55:10 +02:00
Géry Debongnie
2840794fa2
[IMP] tools: rework benchmarks application
...
closes #130
2019-06-13 11:41:49 +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
45a2b0122d
[FIX] qweb: add better support for template with only strings
2019-06-12 14:54:24 +02:00
Géry Debongnie
4c41f62364
[FIX] owl: remove inline source maps
...
They are wrong anyway. Simpler to work with the raw javascript.
2019-06-12 14:54:24 +02:00
Aaron Bohy
c2ab9774fb
[IMP] utils: whenReady now returns a Promise
...
Closes #160
2019-06-11 14:45:56 +02:00
Aaron Bohy
22e48e3be0
[REF] store: simplify connect API
...
Closes #158
2019-06-11 11:41:29 +02:00
Aaron Bohy
1ff3c32fe4
[IMP] store: allow connecting to another store
...
Closes #58
2019-06-11 11:41:29 +02:00
Géry Debongnie
9a3e1ed99e
[FIX] benchmarks: two small fixes
2019-06-11 11:29:31 +02:00
Géry Debongnie
438e2fbc2e
[FIX] qweb: add some missing operators
...
closes #162
2019-06-11 10:45:20 +02:00
Géry Debongnie
b3db085745
[REF] vdom: simplify vnode function
...
This is a snabbdom commit
2019-06-11 10:23:57 +02:00
Géry Debongnie
b948c59c6d
[DOC] *: improve some parts of the doc
2019-06-11 10:23:46 +02:00
Géry Debongnie
6426fe98f9
[DOC] tooling: improve doc
2019-06-10 09:31:06 +02:00
Géry Debongnie
4dd9de349e
[FIX] tests: check links for main README.md as well
2019-06-10 09:31:06 +02:00
Géry Debongnie
e1bcea77b5
[REF] tools: rename extras into tools
2019-06-10 09:31:06 +02:00
Géry Debongnie
2a19aeb6a3
[REF] extras: start loading templates earlier
2019-06-08 16:29:01 +02:00
Géry Debongnie
b53a34b7d1
[FIX] utils: whenReady should work for all document states
...
Document readyState can be either 'loading', 'interactive' or
'complete'. We can access the DOM whenever we are no longer in 'loading'
state.
2019-06-08 16:20:44 +02:00
Géry Debongnie
f881640d3d
[DOC] event_bus: add initial doc
...
closes #157
2019-06-07 16:07:41 +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
Géry Debongnie
438b21df3f
[REF] qweb: improve variable handling
2019-06-07 15:37:45 +02:00
Aaron Bohy
d1094f647a
[IMP] observer: add set and delete static functions
...
This rev. add a 'set' and 'delete' static functions to the Observer.
They allow to set or delete (only for objects) properties on
observed objects or arrays.
With this, the 'set' functions in Store and Component are no longer
necessary, so they have been removed.
Closes #138
2019-06-07 14:55:12 +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
Aaron Bohy
1f9ec46236
[FIX] qweb: keep ref of unmounted (kept alive) widget
...
Fixes #120
2019-06-06 09:11:52 +02:00
Géry Debongnie
1464a3631b
[ADD] benchmarks: add 0.13.0 to the list
2019-06-05 11:24:27 +02:00
Géry Debongnie
7d3c374b78
[REL] bump to v0.13.0
v0.13.0
2019-06-05 10:47:39 +02:00
Géry Debongnie
1dd257f33c
[DOC] owl: add comment on updating the doc
2019-06-05 10:44:58 +02:00
Vincent Schippefilt
1206afe6be
[FIX] base: compile correctly on windows
...
Fix package.json and tsconfig.json to build correctly on windows:
the extention scr/* doesn't expand on windows, so I removed it.
Added a precompilation step on npm run extras:watch
2019-06-05 10:31:18 +02:00
Vincent Schippefilt
5842ed51b0
[IMP] extras: update server to python3, disable cache
2019-06-05 10:31:18 +02:00