Géry Debongnie
85f26a0286
[IMP] tools: update debug script, add tests
...
closes #525
closes #526
2019-12-03 08:28:46 +01:00
Géry Debongnie
8c17bb0411
[FIX] component: reorganize fiber update algorithm
...
Closes #473
Closes #484
Closes #489
Closes #492
Closes #512
Co-authored-by: Aaron Bohy <aab@odoo.com >
2019-11-29 15:13:37 +01:00
Géry Debongnie
bd39797f17
[FIX] component: propagate errors to caller
...
Errors from mounted/willPatch/patched should be returned to caller
(either mount or render functions)
part of #410
2019-11-18 14:29:54 +01:00
Géry Debongnie
56087b95cd
[REF] observer: notify subscribers directly
...
This rev. moves the logic of batching the notifications of changes
occurring in the same microtask tick, from the observer, to the
listeners (the context, and the render function of components).
By doing so in render, we ensure that similar renderings are
batched in a single one, wherever they come from (state change,
store change, direct call...).
2019-11-14 15:12:31 +01:00
Aaron Bohy
e5940b4b6b
[FIX] component: concurrent calls to mount and render
...
Closes #450
2019-11-14 15:12:31 +01:00
Aaron Bohy
9e37b968e8
[FIX] component: error handling: rendering with sub components
...
Closes #425
2019-10-30 13:27:48 +01:00
Géry Debongnie
9cee12d7b4
[IMP] component: propagate error to mount and render
2019-10-28 11:32:43 +01:00
Géry Debongnie
3c38bbc076
[REF] component: large cleanup of concurrency branch
...
We remove here old comments, add some tests and documentation, and in
general, make sure the state of the code is in a good shape
part of #330
2019-10-25 16:01:52 +02:00
Aaron Bohy
9c5cad15c1
[IMP] component: refactor rendering pipeline
...
This commit introduces a brand new rendering system based on a fiber
class and a scheduler.
closes #330
2019-10-25 16:01:52 +02:00