Commit graph

189 commits

Author SHA1 Message Date
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
Fabian Keller
7b246d0d40 added travis link 2017-06-17 16:57:36 +02:00
Araq
e68d92d22a Merge branch 'draft/refs' of https://github.com/bluenote10/karax into bluenote10-draft/refs 2017-06-17 00:00:38 +02:00
Araq
28c4f4b76a update kajax.nim to use the 'kxi' context too 2017-06-16 22:57:32 +02:00
Araq
b3fba429ad introduce KaraxInstance; 100% backwards compatible 2017-06-16 18:02:35 +02:00
Araq
08538f7f26 move parseInt to jstrutils.nim to avoid conflicts; introduce travis testing 2017-06-16 16:45:06 +02:00
Fabian Keller
e33b9dc09a added base methods for VNodeRef 2017-06-15 19:01:15 +02:00
Fabian Keller
472f1deb58 cleaned up example 2017-06-15 14:38:39 +02:00
Fabian Keller
14660f9d68 implemented refs draft 2017-06-15 13:53:53 +02:00
Andreas Rumpf
45931c5e4a Merge pull request #16 from bluenote10/feature/post_render_callback
Enable list transitions
2017-06-10 10:37:51 +02:00
Fabian Keller
d5596c8ff5 added post render callback 2017-06-09 19:10:21 +02:00
Andreas Rumpf
3277f19503 Merge pull request #13 from alehander42/vdom-submit-form
Support submit and input event in the vdom
2017-06-09 12:14:28 +02:00
Andreas Rumpf
f9460e6e05 Merge pull request #22 from pragmagic/feature/stop-propagation
Added stopPropagation event method
2017-06-09 11:07:06 +02:00
Pavel Nuzhdin
dc5ba1f646 Added stopPropagation event method 2017-06-09 15:44:16 +07:00
Andreas Rumpf
f17e37ac95 Merge branch 'master' into smart-vstyle-diff 2017-06-07 12:35:21 +02:00
Andreas Rumpf
e49fa7edf7 disable smart vstyle diffing for now 2017-06-07 10:07:37 +02:00
Andreas Rumpf
18d0187228 Merge pull request #21 from bluenote10/feature/all_css_styles
added all css styles to close #20
2017-06-07 08:28:51 +02:00