Commit graph

293 commits

Author SHA1 Message Date
Andreas Rumpf
6ea55856b5 added JDict.keys iterator 2017-10-05 14:55:14 +02:00
Andreas Rumpf
6bd32a0e88 added toChecked and toDisabled helpers 2017-10-05 12:32:14 +02:00
Andreas Rumpf
9a8b020269 added 'kstrLits' macro 2017-10-05 12:29:52 +02:00
Andreas Rumpf
5bc983e0bf added lookuptables.nim helper module 2017-10-03 09:35:28 +02:00
Andreas Rumpf
8e8ada7cd2 move karax source code from 'src' to 'karax'; make karaxdsl work with native Nim; added jjson and jwebsockets modules 0.2.0 2017-10-02 22:54:25 +02:00
Andreas Rumpf
bb1732c834 make tests green again 2017-10-02 16:00:30 +02:00
Andreas Rumpf
57a6fca9d1 implement a autocomplete widget (work in progress) 2017-10-02 13:53:53 +02:00
Andreas Rumpf
312eb5180a added getVNodeById() for easier form handling 2017-10-02 13:52:49 +02:00
Andreas Rumpf
45951c96a4 added an example of how to do menus and auto-completion with Karax 2017-09-22 18:10:30 +02:00
Andreas Rumpf
55b551678a Merge branch 'master' of github.com:pragmagic/karax 2017-09-19 16:20:56 +02:00
Andreas Rumpf
34e2b8b7b4 added karax.runLater 2017-09-19 16:20:33 +02:00
Araq
a6a1d7e150 Merge branch 'master' into devel 2017-09-18 17:37:16 +02:00
konqoro
79d0b21cb3 Fix ending .} of pragmas (#39) 2017-09-17 18:16:30 +02:00
Araq
c324793f62 disable input text overwritings; needs further throughts 2017-09-06 16:36:27 +02:00
Andreas Rumpf
741ff50cae allow newRSeq[T]() as construction 2017-08-31 21:44:51 +02:00
Andreas Rumpf
2c3e8be9b4 support parameter-less event handlers 2017-08-29 19:32:49 +02:00
Andreas Rumpf
539f6d7244 use the generated getters to make the reactive extensions more robust 2017-08-29 10:53:16 +02:00
Andreas Rumpf
e70924c88e nextgen example now uses the makeReactive macro 2017-08-28 12:23:32 +02:00
Andreas Rumpf
db0bba2c3f change DSL: assume nkInfix nodes imply a void context 2017-08-28 12:15:58 +02:00
Andreas Rumpf
775a4a1289 nextgen example works now 2017-08-28 12:10:48 +02:00
Andreas Rumpf
f663d2f21b removed debugging code 2017-08-28 11:48:04 +02:00
Andreas Rumpf
4032bed306 created a nice 'makeReactive' macro 2017-08-28 11:29:43 +02:00
Andreas Rumpf
cb2dd6331d improvments to the new local diff algorithm 2017-08-28 11:29:12 +02:00
Andreas Rumpf
2482c772f8 more reactive stuff works now 2017-08-23 19:35:27 +02:00
Andreas Rumpf
9fce711bd6 wip; nothing works 2017-08-22 18:04:49 +02:00
Andreas Rumpf
56a50679de reactive sequence works now 2017-08-19 14:54:10 +02:00
Andreas Rumpf
46b1259498 added .track macro 2017-08-17 11:28:11 +02:00
Andreas Rumpf
bfb9985754 nextgen uses the karax DSL and DOM diffing 2017-08-17 08:36:17 +02:00
Andreas Rumpf
7c08c6bb76 first version; wip 2017-08-16 19:42:16 +02:00
Andreas Rumpf
bb846644b5 added support for a --define:karaxDebug switch 2017-08-08 13:29:29 +02:00
Araq
f9525dc646 added support for i18n (candidate for the stdlib?) 2017-07-14 16:17:06 +02:00
Andreas Rumpf
e94071b077 components work without 'key' attribute set 2017-07-12 13:23:58 +02:00
Andreas Rumpf
2ced690387 better event merging for components 2017-07-12 12:23:24 +02:00
Andreas Rumpf
e4d8cb4c20 make tests green again 2017-07-11 22:26:46 +02:00
Andreas Rumpf
b3c83ed119 optimized the diff algorithm further 2017-07-11 20:41:01 +02:00
Andreas Rumpf
507094bdfd better event handling for components and in the DSL 2017-07-11 18:59:38 +02:00
Andreas Rumpf
91d7ba25ea renamed key to 'index'; all virtual components have a 'key' attribute 2017-07-11 12:54:53 +02:00
Andreas Rumpf
5838271f8b nicer indentation 2017-07-11 12:43:32 +02:00
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