Commit Graph

814 Commits

Author SHA1 Message Date
Dan Holmsand e11c881aa7 Add rswap!
Works just like swap!, except that it allows recursive swaps on
the same atom, and it always returns nil.
2015-09-14 19:35:48 +02:00
Dan Holmsand 8e7624ea45 Add a test for monitor! 2015-09-14 18:14:13 +02:00
Dan Holmsand 9e9cf93016 Simmplify new cursor a bit 2015-09-14 18:02:13 +02:00
Dan Holmsand fdef5e6c9f Make cursor used cached reactions 2015-09-14 15:03:39 +02:00
Dan Holmsand 653e4c15f9 Prepare cursor for cached reaction 2015-09-14 14:47:38 +02:00
Dan Holmsand 3acfa689d9 Start to rework cursor 2015-09-14 14:03:32 +02:00
Dan Holmsand d362e0a26c Mix calling style a bit in tests 2015-09-14 13:34:54 +02:00
Dan Holmsand 995e110946 Setting dirty on on-set is not necessary any more 2015-09-14 13:34:17 +02:00
Dan Holmsand e05c74e6a5 More tests for monitor 2015-09-14 09:09:04 +02:00
Dan Holmsand b0d86598ce Start to add tests for monitor 2015-09-13 20:31:31 +02:00
Dan Holmsand aaf1d56edb More work on monitor 2015-09-13 19:01:58 +02:00
Dan Holmsand ee72c60d3a Start implementing monitor 2015-09-13 18:17:38 +02:00
Dan Holmsand e12716da5d Log caught errors instead of rethrowing 2015-09-13 14:30:19 +02:00
Dan Holmsand 04daf6ac57 Exceptions from reactions are now thrown on deref only 2015-09-13 11:00:46 +02:00
Dan Holmsand b036cf938e Complete async testing 2015-09-12 19:13:31 +02:00
Dan Holmsand 544a3339d0 Start testing async reaction 2015-09-12 18:34:10 +02:00
Dan Holmsand bc711c4228 Add async reaction 2015-09-12 18:31:20 +02:00
Dan Holmsand f18d4a7656 Get rid of norun 2015-09-12 09:37:15 +02:00
Dan Holmsand bb1fa312d6 Use = in deref as well, for consistency 2015-09-11 22:13:36 +02:00
Dan Holmsand b0395b5461 Make reaction notify only when it actually changes 2015-09-11 20:37:23 +02:00
Dan Holmsand 2895c9bed7 A little cleanup 2015-09-11 18:23:18 +02:00
Dan Holmsand c689d01452 New snapshot 2015-09-11 16:34:46 +02:00
Dan Holmsand abcf6cb9e1 Version 0.5.1 2015-09-11 16:31:20 +02:00
Dan Holmsand b1acdea090 Use lazy reactions in components 2015-09-11 15:06:42 +02:00
Dan Holmsand 679136f5d5 Make constants const 2015-09-11 12:35:06 +02:00
Dan Holmsand f785362b46 Some cleanup 2015-09-10 21:27:02 +02:00
Dan Holmsand 0b77d9af31 Get rid of active? 2015-09-10 20:51:09 +02:00
Dan Holmsand 67a724b540 Cleaner update logic 2015-09-10 20:27:52 +02:00
Dan Holmsand fe091ad5c1 Back to defining everything inside deftype 2015-09-10 19:53:24 +02:00
Dan Holmsand 80a3c27fac Some performance tweaking 2015-09-10 18:30:00 +02:00
Dan Holmsand c6ca75ff0e Revert last commit 2015-09-10 17:43:07 +02:00
Dan Holmsand e09534c8cd Experiment with alternative to set 2015-09-10 17:40:55 +02:00
Dan Holmsand 31b06375ef Use run instead of deref 2015-09-10 16:06:53 +02:00
Dan Holmsand 0634806104 wip 2015-09-10 15:14:20 +02:00
Dan Holmsand 02be9425e5 Move parts of Reaction to plain functions 2015-09-10 14:55:07 +02:00
Dan Holmsand f8c37c4004 Tweak news text 2015-09-10 09:04:46 +02:00
Dan Holmsand 2cb96ca5d2 Cosmetics 2015-09-09 22:05:14 +02:00
Dan Holmsand 679d75bf5d Wip 2015-09-09 17:39:18 +02:00
Dan Holmsand 26dead76b4 Modify news text 2015-09-09 17:00:49 +02:00
Dan Holmsand c289055133 Add news for 0.5.1 2015-09-09 16:44:42 +02:00
Dan Holmsand 440956c9a9 cleanup 2015-09-09 16:00:21 +02:00
Dan Holmsand 680b19a772 Cleanup 2015-09-09 12:36:04 +02:00
Dan Holmsand 27ef8a42fd Cleanup 2015-09-09 12:13:04 +02:00
Dan Holmsand 7284460ef7 rswap! always reutrns nil 2015-09-09 11:46:41 +02:00
Dan Holmsand 47a0d80a70 Simplify 2015-09-09 10:51:37 +02:00
Dan Holmsand 007de00033 wip 2015-09-09 10:17:06 +02:00
Dan Holmsand 5be4845be1 Make rswap exception safe 2015-09-09 09:29:09 +02:00
Dan Holmsand db11a1c353 wip 2015-09-08 21:49:05 +02:00
Dan Holmsand 12dd517b55 Cleanup 2015-09-08 20:26:07 +02:00
Dan Holmsand ee2644836d add back register-page 2015-09-08 20:18:27 +02:00