Géry Debongnie
efe82b6cd0
[DOC] doc: add some info on t-key directive
2019-04-30 10:41:21 +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
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
8f388e712e
[DOC] doc: add info on hook call order in documentation
2019-04-29 12:07:20 +02:00
Géry Debongnie
0a5b6aa0ec
[DOC] doc: use loadJS in code example
2019-04-29 11:21:02 +02:00
Géry Debongnie
d52177560b
[DOC] doc: add some qweb documentation
2019-04-27 19:14:40 +02:00
Géry Debongnie
b44f274e37
[FIX] component: do not call willPatch/patched if not in DOM
...
closes #62
2019-04-26 15:30:59 +02:00
Géry Debongnie
c405dadc1b
[DOC] doc: improve qweb documentation
2019-04-26 09:55:17 +02:00
Géry Debongnie
9544034e6f
[DOC] doc: update component.md to add info on t-widget
2019-04-25 17:10:07 +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
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
Géry Debongnie
1a778922af
[DOC] doc: update a lot of the documentation
2019-04-24 10:10:04 +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
7a479baf63
[DOC] doc: remove references to updateState
2019-04-17 10:59:03 +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
f960149ba2
rem: remove destroyed hook
2019-04-10 09:35:20 +02:00
Géry Debongnie
bc07c49a5f
imp: add willUpdateProps hook to components
2019-04-09 13:55:13 +02:00
Géry Debongnie
94c33af8e9
ref: rename 'detach' method to 'unmount'
2019-04-09 12:57:34 +02:00
Géry Debongnie
d10426c720
update component doc
2019-04-05 23:44:07 +02:00
Géry Debongnie
68731a435b
doc: improve the documentation, add a lot of information
2019-03-28 09:49:19 +01:00
Géry Debongnie
8e8d4a28c5
doc: add state management page, and update documentation
2019-03-27 17:02:35 +01: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
695636e60e
cleanup, rename setState into updateState
2019-03-19 10:35:41 +01:00
Géry Debongnie
d99ea4c9f4
rename updateState into setState
2019-03-15 11:54:59 +01:00
Géry Debongnie
f1a18efd8b
update component and qweb doc
2019-03-14 14:23:27 +01:00
Géry Debongnie
5d87ee5c9e
add quick start section to doc
2019-03-14 14:14:13 +01:00
Géry Debongnie
80745c6b09
update documentation and readme
2019-03-14 13:17:19 +01:00