Commit Graph

391 Commits

Author SHA1 Message Date
Géry Debongnie cf47f8459a [REF] utils: remove id generator 2019-04-25 16:45:09 +02:00
Géry Debongnie 8f7d06a5bd [DOC] readme: add link to project page 2019-04-25 16:00:02 +02:00
Géry Debongnie d1708fc252 [IMP] doc: change main doc page title 2019-04-25 15:57:13 +02:00
Géry Debongnie f23a26426d [DOC] doc: add observer doc 2019-04-25 15:47:02 +02:00
Géry Debongnie 40613e0a76 [IMP] observer: add observer to exported objects 2019-04-25 15:47:01 +02:00
Géry Debongnie aa11229641 [DOC] doc: slightly improve readme.md 2019-04-25 14:55:08 +02:00
Géry Debongnie 754272b436 [IMP] component: give snapshot from 'willPatch' to 'patched' 2019-04-25 14:46:04 +02:00
Géry Debongnie d509373228 [DOC] doc: rewrite component/quick start documentation 2019-04-25 13:55:40 +02:00
Alexandre Kühn 379cd2a90f [FIX] component: t-refs are bound/unbound at proper timing
With this commit, we make sure that bound references are removed when a
widget is removed from the DOM.

closes #59
2019-04-25 10:40:45 +02:00
Géry Debongnie 4c2115d365 [DOC] readme: improve example 2019-04-24 10:32:17 +02:00
Géry Debongnie 94b48cb389 [DOC] readme: udpate links to playground 2019-04-24 10:29:10 +02:00
Géry Debongnie 3ecb772a56 [DOC] fix download link 2019-04-24 10:20:21 +02:00
Géry Debongnie b14d264718 [REL] bump to v0.8.0 v0.8.0 2019-04-24 10:11:32 +02:00
Géry Debongnie 1a778922af [DOC] doc: update a lot of the documentation 2019-04-24 10:10:04 +02:00
Géry Debongnie 79b97c6d24 [FIX] owl: correct path for build script
This is a critical error, the build script was not updated to the
correct path...
2019-04-23 14:37:59 +02:00
Géry Debongnie a8e919f382 [DOC] update main readme.md 2019-04-23 11:47:19 +02:00
Géry Debongnie 20b33f50fa [FIX] component: bind t-ref widgets at correct moment
closes #51
2019-04-23 11:28:30 +02:00
Géry Debongnie 9170882010 [MERGE] fork snabbdom
With a custom version of snabbdom, we are now free to optimize owl a
little bit more.  We can for example remove unused hooks.

closes #8
2019-04-23 11:02:46 +02:00
Géry Debongnie ae36cca2ef [ADD] vdom: readd original snabbdom tests 2019-04-23 10:58:37 +02:00
Géry Debongnie f5ce05c81e [FIX] vdom: fix typing issues, small cleanup 2019-04-22 21:22:21 +02:00
Géry Debongnie 2fbf4f2c22 [REM] snabbdom: remove library 2019-04-20 09:35:18 +02:00
Géry Debongnie 8a4fd5015a [REF] vdom: fork snabbdom and use custom version 2019-04-20 09:34:51 +02:00
Géry Debongnie de04ed2339 [MISC] update a few dependencies in package.json 2019-04-18 22:44:00 +02:00
Géry Debongnie ae263730d9 [ADD] utils: add loadTemplates function 2019-04-18 22:42:37 +02:00
Géry Debongnie 85418043f4 [MISC] update .gitignore and package.json 2019-04-18 18:15:25 +02:00
Géry Debongnie 4fb2733321 [FIX] observer: better handling of reassigning state
closes #50
2019-04-18 13:14:10 +02:00
Géry Debongnie d9d109c9a2 [REF] owl: rename Lab into Library
closes #25
2019-04-18 10:18:53 +02:00
Géry Debongnie 4ee39282ca [IMP] component: add 'set' method to allow extending state
closes #49
2019-04-18 10:15:50 +02:00
Géry Debongnie 3b3fd8a6c9 [REF] component: make observer and state optional 2019-04-18 10:11:16 +02:00
Géry Debongnie 29111a5c10 [IMP] component: disable mutations in render phase
closes #48
2019-04-18 10:11:04 +02:00
Géry Debongnie 4b30d0b412 [FIX] observer: protect observed state against changes 2019-04-18 07:59:30 +02:00
Géry Debongnie d07f396578 [REF] move jest.config.js into package.json 2019-04-18 07:40:56 +02:00
Géry Debongnie 2c218c4463 [REM] examples: remove benchmarks app
This will be moved in a different branch

closes #44
2019-04-17 16:22:33 +02:00
Géry Debongnie af83a8249e [REM] examples: remove todoapp
It now is available on the playground
2019-04-17 15:37:04 +02:00
Géry Debongnie 4807389012 [REL] bump to v0.7.0 v0.7.0 2019-04-17 11:00:29 +02:00
Géry Debongnie 7a479baf63 [DOC] doc: remove references to updateState 2019-04-17 10:59:03 +02:00
Géry Debongnie ce87dd705e [FIX] examples: update benchmarks/todoapp to new code 2019-04-17 10:59:03 +02:00
Géry Debongnie 94ed6ebe60 [IMP] component: remove updateState method 2019-04-17 10:59:03 +02:00
Géry Debongnie 619e455dd5 [IMP] component: observe the state and rerender if it changes
closes #35
2019-04-17 10:58:54 +02:00
Géry Debongnie 94e7d9aa39 [REF] observer: move batch code out of store, add notifycb 2019-04-17 09:16:48 +02:00
Géry Debongnie c47c4ccc60 [REF] observer: turn the observer into a class 2019-04-16 22:34:26 +02:00
Géry Debongnie b89327c831 [IMP] qweb: log a warning if a t-foreach is used without t-key
closes #40
2019-04-16 17:49:33 +02:00
Géry Debongnie e19540fb04 [FIX] examples: update benchmarks code to new structure 2019-04-16 17:25:43 +02:00
Géry Debongnie c67ab3d712 [IMP] owl: add github project url to exported object 2019-04-16 17:23:31 +02:00
Géry Debongnie 8163e2b0e4 [REM] component: remove PureComponent 2019-04-16 17:20:32 +02:00
Géry Debongnie e5e6c50fff [FIX] examples: adapt todoapp to new owl structure 2019-04-16 17:20:32 +02:00
Géry Debongnie a22dcdaddf [REF] owl: reorganize exports, remove registry, remove web example
closes #38
2019-04-16 17:20:23 +02:00
Géry Debongnie eac49562fa [REF] owl: export owl elements in one object 2019-04-16 16:26:06 +02:00
Géry Debongnie 460ae4bb34 [REF] qweb: add missing semicolon to compiled template 2019-04-16 16:16:08 +02:00
Géry Debongnie c52e86feaf [FIX] qweb: t-set should reuse variable if possible
closes #41
2019-04-16 16:04:44 +02:00