Géry Debongnie
7ac4e63e51
doc: improve readme.md
2019-03-28 10:52:07 +01:00
Géry Debongnie
d804bcf2dd
doc: improve main page style
2019-03-28 10:42:12 +01:00
Géry Debongnie
c5951cc98e
bump to v0.4.0
...
- rebranding to OWL
- much better documentation
- qweb compiler optimizations/cleanup
- many bug fixes
v0.4.0
2019-03-28 09:51:40 +01: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
8c5919cbc9
doc: fix error in main examples
2019-03-27 16:42:21 +01:00
Géry Debongnie
1efa65ff04
doc: add another example in readme.md
2019-03-27 15:40:24 +01:00
Géry Debongnie
7473d45700
doc: update readme to add a minimal hello world
2019-03-27 15:36:09 +01:00
Géry Debongnie
80e2124cbf
imp: rename library into owl
2019-03-27 15:26:20 +01:00
Géry Debongnie
e53287b52e
ref: reorganize exports into core/extras
2019-03-27 15:18:25 +01:00
Géry Debongnie
2758269139
add patch/unpatch utility methods
2019-03-26 14:30:27 +01:00
Géry Debongnie
766d2f2301
ref: qweb context cleanup
...
Some code was uselessly duplicated. We simplify in this commit the
handling of subcontexts.
closes #9
2019-03-22 15:02:07 +01:00
Géry Debongnie
597adb3981
ref: improve qweb implementation
2019-03-22 14:51:02 +01:00
Géry Debongnie
6ea9ccf56f
fix: remove exprCache, as formatting is contextual
...
Formatting expressions now depends on the currently defined variables, so
it cannot be put in a cache.
2019-03-22 14:46:47 +01:00
Géry Debongnie
a444e3dcac
imp: export utils in main bundle
2019-03-22 12:08:55 +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
d81e5d8f4f
imp: add debug mode to store
2019-03-22 10:56:34 +01:00
Géry Debongnie
d48cb5aae4
imp: work on store, refactor, improve todoapp
2019-03-22 10:47:59 +01:00
Géry Debongnie
a236ae396a
fix: make sure props are always defined
...
fix #7
2019-03-22 09:28:56 +01:00
Géry Debongnie
add380f59b
ref: move PureWidget back to core, use updateEnv
2019-03-21 16:33:08 +01:00
Géry Debongnie
ad9fb77458
fix: force children to rerender when env changes
2019-03-21 16:06:06 +01:00
Géry Debongnie
4326d18961
imp: update build scripts
2019-03-21 14:51:54 +01:00
Géry Debongnie
88a3b6d25e
add some tests to store class
2019-03-21 12:09:17 +01:00
Géry Debongnie
a34fc39100
imp: allow object descriptors for attributes
...
close #6
2019-03-21 11:15:06 +01:00
Géry Debongnie
a8b3ec7726
support using object variables in t-esc
2019-03-21 10:47:08 +01:00
Géry Debongnie
d799e3dd47
prevent useless rerenders when updatingEnv on unmounted component
...
fix #4
2019-03-21 10:39:09 +01:00
Géry Debongnie
b446d5d338
add src/ folder to jest config
2019-03-21 10:37:24 +01:00
Géry Debongnie
71c1469124
update examples doc
2019-03-21 10:23:44 +01:00
Géry Debongnie
1020b35fe5
bump to v0.3.0
v0.3.0
2019-03-21 09:55:33 +01:00
Géry Debongnie
da8dd58490
add date and hash in build
2019-03-21 09:55:04 +01:00
Géry Debongnie
8e82a8612a
small cleanup of the store
2019-03-21 09:11:44 +01:00
Géry Debongnie
c32f1d1e38
complete base implementation of todoapp
2019-03-20 15:17:53 +01:00
Géry Debongnie
9baf3ad4a7
add support for boolean properties, such as 'checked'
...
fix #5
2019-03-20 13:19:08 +01:00
Géry Debongnie
5da7df8bf0
add todoapp
2019-03-20 11:49:45 +01:00
Géry Debongnie
c9796e6bdc
add store class to core
2019-03-20 11:49:41 +01:00
Géry Debongnie
6a2e4dbf2f
rename demo example into benchmarks
2019-03-19 13:55:27 +01:00
Géry Debongnie
91e7e00f97
clean component file, add some documentation
2019-03-19 13:46:18 +01:00
Géry Debongnie
38f307ef57
implement updateEnv feature
2019-03-19 13:26:05 +01:00
Géry Debongnie
bd7a2bfc67
fix crash in template compilation with objects in props
...
fix #1
2019-03-19 10:44:01 +01:00
Géry Debongnie
695636e60e
cleanup, rename setState into updateState
2019-03-19 10:35:41 +01:00
Géry Debongnie
7d10e57cc0
remove a leftover d.ts file
2019-03-18 16:15:08 +01:00
Géry Debongnie
1f602512a5
improve demo app
2019-03-18 16:15:08 +01:00
Géry Debongnie
65a65bd241
remove memory leak...
2019-03-18 16:15:08 +01:00
Géry Debongnie
cf289323c8
add demo application (benchmark)
2019-03-18 14:26:33 +01:00
Géry Debongnie
050025a922
update documentation
2019-03-17 15:44:02 +01:00
Géry Debongnie
9e608dae49
update documentation
2019-03-17 08:57:18 +01:00
Géry Debongnie
46aedf78af
move demo code to examples/
2019-03-15 12:21:55 +01:00
Géry Debongnie
d99ea4c9f4
rename updateState into setState
2019-03-15 11:54:59 +01:00
Alexandre Kühn
9be0b65cd3
make t-set works with t-props
...
test by aku, fix by ged
2019-03-15 11:06:05 +01:00
Géry Debongnie
733d5f81e6
slightly improve build script
2019-03-14 16:22:50 +01:00