Commit graph

255 commits

Author SHA1 Message Date
Andreas Rumpf
1e378b2ac2 separate component updating from diffing algorithm 2017-07-11 00:20:43 +02:00
Andreas Rumpf
6c152ed516 smart attribute comparisons 2017-07-10 21:42:22 +02:00
Andreas Rumpf
ec4a413a7b bugfix: better diff'ing for complex components 2017-07-10 18:00:35 +02:00
Andreas Rumpf
dc88eeaae3 make todoapp work again 2017-07-07 17:37:29 +02:00
Andreas Rumpf
920bd2db9d bugfix: component handling 2017-07-07 16:40:48 +02:00
Andreas Rumpf
dc7409e52e Merge branch 'stateful-components3' into devel 2017-07-06 20:26:51 +02:00
Andreas Rumpf
907c372c27 code cleanups 2017-07-06 18:53:07 +02:00
Andreas Rumpf
7779560b6b more tests and diff fixes; wip 2017-07-06 18:34:32 +02:00
Andreas Rumpf
a93e739081 new component system: blur.nim example now works 2017-07-05 16:07:52 +02:00
Andreas Rumpf
5f7f33bb02 wip 2017-07-04 08:04:04 +02:00
Andreas Rumpf
43ee890356 fix exponential blowup in diff algorith; wip 2017-07-03 23:03:30 +02:00
Araq
d538b7bc93 try to make components aware of the previous state 2017-07-02 09:34:58 +02:00
Andreas Rumpf
ea7eee7564 better input element handling 2017-06-29 17:10:29 +02:00
Andreas Rumpf
8e777a0c19 different detach handling to make event handlers work better 2017-06-29 12:25:08 +02:00
Andreas Rumpf
e739909466 rollback dom.value behaviour; fixes removeEventListener problem 2017-06-29 11:04:43 +02:00
Andreas Rumpf
8eef2074b4 make setFocus: bool work 2017-06-28 22:54:24 +02:00
Andreas Rumpf
c681f0055f update value property of real DOM nodes; minor DOM diff speedups; allow setFocus=false in the DSL 2017-06-28 15:23:19 +02:00
Andreas Rumpf
4199c42e3b combined components work 2017-06-28 12:56:51 +02:00
Andreas Rumpf
0ad9d68c81 fixes #35 2017-06-28 11:26:09 +02:00
Andreas Rumpf
ba88fb9a0b cancel redraw requests as an attempt to improve performance 2017-06-28 09:46:26 +02:00
Andreas Rumpf
c987323dba test nested components (still buggy) 2017-06-28 09:44:50 +02:00
Andreas Rumpf
fe7d72fa4e special treatment for input and textarea fields; minor code cleanups 2017-06-28 08:46:48 +02:00
Andreas Rumpf
418c027f6c smart-diff algorithm works now 2017-06-27 23:54:58 +02:00
Andreas Rumpf
8a1424669f optimized diff algorithm further; fixed a stupid bug; cleaned up the tests 2017-06-26 21:03:39 +02:00
Andreas Rumpf
09a5e1c34e optimized the new diff algorihtm 2017-06-24 08:23:22 +02:00
Andreas Rumpf
4bfe66edd6 optimized VStyle representation 2017-06-24 08:22:31 +02:00
Andreas Rumpf
74c07f0634 code cleanups 2017-06-23 22:21:06 +02:00
Andreas Rumpf
f89da765fa another bugfix for smart-diffing 2017-06-23 21:33:48 +02:00
Andreas Rumpf
64bc900456 rewritten diff algorithm 2017-06-23 21:03:31 +02:00
Andreas Rumpf
cd74cd9d4e another attempt to fix bug #31 2017-06-23 11:09:22 +02:00
Andreas Rumpf
9aa3ba545d wip 2017-06-22 21:21:54 +02:00
Andreas Rumpf
79270c3423 fixes #31 2017-06-22 09:34:44 +02:00
Andreas Rumpf
2d48975e97 Merge branch 'master' into stateful-components2 2017-06-22 09:17:24 +02:00
Andreas Rumpf
c8030bc185 diff algorithm also diffs components' expansions 2017-06-22 09:17:19 +02:00
Andreas Rumpf
051e9985b1 added 'karun' tool for convenient testing of karax apps 2017-06-21 21:08:20 +02:00
Pavel Nuzhdin
bd2d8e7d3f Added pointer-events style (#30) 2017-06-21 20:11:54 +02:00
Pavel Nuzhdin
8a2b893d5e Added onfocus (#29) 2017-06-21 20:09:52 +02:00
Andreas Rumpf
67ee246f40 fixes new rgba proc 2017-06-21 20:11:41 +02:00
Andreas Rumpf
994a51a1f0 Merge branch 'master' into stateful-components2 2017-06-21 18:54:41 +02:00
Andreas Rumpf
8dbc1da708 fixes #28 2017-06-21 18:20:57 +02:00
Andreas Rumpf
a535ad709b carousel is now a real example 2017-06-21 17:57:02 +02:00
Andreas Rumpf
d9648be60c sane markDirty() mechanism for components 2017-06-21 17:20:31 +02:00
Andreas Rumpf
ad0a3ffda9 Merge branch 'master' of github.com:pragmagic/karax 2017-06-21 08:21:19 +02:00
Andreas Rumpf
e58cbb78d2 fixes jstrutils.isInt 2017-06-21 08:21:05 +02:00
Andreas Rumpf
c86916e37d stateful components now in a workable state; renamed .component macro to .compact which much better captures its meaning 2017-06-20 00:14:54 +02:00
Andreas Rumpf
4801b8d8c1 new component example works 2017-06-19 21:25:34 +02:00
Araq
d1e0e1367b wip 2017-06-18 18:01:48 +02:00
Fabian Keller
b189b24a4f fixes #25 (#26) 2017-06-18 00:01:27 +02:00
Andreas Rumpf
2c05c772ca Merge pull request #27 from bluenote10/added_travis_link
Added travis link
2017-06-18 00:00:05 +02:00
Fabian Keller
972fcb0950 proper rst solution 2017-06-17 17:05:37 +02:00