Commit Graph

278 Commits

Author SHA1 Message Date
Mike Thompson db9aa06de9 Comment wording 2016-08-13 13:17:47 +10:00
Mike Thompson 6d3acf2c08 Add get-hander arity which returns an entire kind 2016-08-12 13:19:48 +10:00
Mike Thompson ec08a824a1 Fix bug which meant unknown effects were silently ignored. 2016-08-12 13:18:59 +10:00
Mike Thompson add6b79168 Improve comment 2016-08-10 18:25:45 +10:00
Mike Thompson b7deb29f84 Move comment and readjust format. 2016-08-10 18:25:44 +10:00
Sam Roberton 60fa4bf5e1 Keep JVM thread bindings on next-tick
... to enable clojure.test reporting to identify the current test.
2016-08-10 09:40:06 +10:00
Mike Thompson 486c7e61ee Slight rework of `debug` interceptor 2016-08-09 19:26:03 +10:00
Mike Thompson c891b784e8 Correct bug in example code 2016-08-09 19:25:26 +10:00
Mike Thompson 69c396c793 Start tranistion to always call first `-fx` parameter `coeffects`, not `world`. 2016-08-09 19:24:32 +10:00
Mike Thompson e45fd8b858 If debug interceptor was "to the left" of path, debug would not show correct diffs. Make path reinstate effect to fix this. 2016-08-09 19:22:15 +10:00
Alan Leal 28afe57b96 fixes typo in log level warn (#190) 2016-08-09 12:18:22 +12:00
Mike Thompson a475767ce0 More consistent naming 2016-08-08 23:15:26 +10:00
Mike Thompson 6a172ddbe0 Fix bug identified by @samroberton https://github.com/Day8/re-frame/pull/189 2016-08-08 23:10:41 +10:00
Mike Thompson c8659d6770 Version 0.8.0-alpha10 2016-08-08 15:30:38 +10:00
Mike Thompson f78541af59 Split clj and cljs code into more distinct sections, rather than have them interspersed. 2016-08-04 22:20:23 +10:00
Mike Thompson fe6148a554 Comment fiddling 2016-08-04 22:19:25 +10:00
Mike Thompson 3ecfbcd41c Add note on registrar needs. 2016-08-04 22:19:04 +10:00
Mike Thompson 2c7812374d Make interceptor API available. I find I need to use it in the undo library. 2016-08-04 22:18:43 +10:00
Mike Thompson 4ade89c74e rework implementation of subscriptions 2016-08-04 17:08:08 +10:00
Mike Thompson d70c8c2c5e No longer remembering dispatch stack 2016-08-04 11:15:58 +10:00
Mike Thompson 139e27c706 Colocate TODOs 2016-08-03 18:40:38 +10:00
Mike Thompson d3ffbf1415 Remove completed todos 2016-08-03 18:39:39 +10:00
Mike Thompson fbbcfc165b Improve deprecation messages. 2016-08-03 18:09:53 +10:00
Mike Thompson ea2dbff974 Work on Changes.md 2016-08-03 17:36:18 +10:00
Mike Thompson 5d87acbd3e Fix up ctx registration 2016-08-03 17:35:49 +10:00
Mike Thompson e527deea99 Add deprecation for reg-event. 2016-08-03 17:35:17 +10:00
Mike Thompson 8737d57b0d Misc interceptor cleanups 2016-08-03 17:34:30 +10:00
Mike Thompson a97741ada0 Add `ctx-handler->interceptor` 2016-08-03 17:33:18 +10:00
Mike Thompson 8ef5c6b8ba Reorganize my lets 2016-08-03 17:32:42 +10:00
Mike Thompson 3b14f3ffb6 Give names to anonymous functions 2016-08-03 17:32:06 +10:00
Mike Thompson 3e203c6650 Improve comment 2016-08-03 17:30:46 +10:00
Mike Thompson 600c12a285 Provide an example of a coeffect-ing interceptor 2016-08-03 17:19:28 +10:00
Mike Thompson 311367dc3d Change to Interceptors (away from middleware). This is a big code drop.
Tests pass and todomvc works.
But there is some ugliness to now resolve, and a couple of  unresolved issues.
2016-08-03 12:53:01 +10:00
Mike Thompson 7fff9c6039 Improve comments around post-event-callback stuff 2016-07-29 14:31:31 +10:00
Mike Thompson 996eda62ce alpha9 - fix another bug 2016-07-28 19:00:17 +10:00
Mike Thompson 16d4da2c62 Fix bug with queue initialisation 2016-07-28 18:52:35 +10:00
Mike Thompson 9f61691279 Add helpful warnings when post event callback fns find a problem 2016-07-28 16:37:57 +10:00
Mike Thompson a5a2cc9bdc rename fmap to map-vals 2016-07-28 15:55:24 +10:00
Mike Thompson c250bbbc9d Comment change 2016-07-28 15:55:02 +10:00
Mike Thompson e2034f4576 Allow registration and de-registration of post event callbacks via an id. 2016-07-28 14:50:39 +10:00
Mike Thompson 05c1e1fbd9 Produce deprecation warnings rather than errors. Dispense with warnings on earlier alpha changes. 2016-07-28 14:01:03 +10:00
Mike Thompson 358efc7091 Remove old todos 2016-07-27 22:34:04 +10:00
Mike Thompson c60e096d55 Correct bug in previous commit 2016-07-27 22:31:36 +10:00
Mike Thompson 29e3bfe145 Improve error strings. Use destructure 2016-07-27 22:26:22 +10:00
hipitihop e884dcadb6 Simplify :dispatch-later and only support single :dispatch 2016-07-27 16:03:29 +10:00
hipitihop 12f6eeee3c Change :dispatch-later fx handler now expects vector of {:ms ... :dispatch ...} & add unit test 2016-07-27 15:43:47 +10:00
hipitihop 6344d0a53c fx - check :dispatch effect val to be vector? & introduce new effect :dispatch-n for 2016-07-26 16:53:50 +10:00
Daniel Compton 0ce1a04930 Return nil when registering a handler 2016-07-26 16:09:56 +12:00
Mike Thompson e47caa2f34 Improve comment 2016-07-26 11:42:02 +10:00
Mike Thompson d2645c089d add helpful error messages which explain recent renaming 2016-07-24 18:14:43 +10:00