Commit Graph

53 Commits

Author SHA1 Message Date
mike-thompson-day8 ecead71638 Merge branch 'develop' of https://github.com/Day8/re-frame into develop 2015-03-03 16:33:46 +11:00
hipitihop 0ebc84f72b Undo
- correct bug in undo
- use pos? and reuse undo? redo? in handlers
2015-03-03 14:13:06 +10:00
mike-thompson-day8 989c67a4cc Merge branch 'develop' of https://github.com/Day8/re-frame into develop 2015-03-03 13:16:34 +11:00
mike-thompson-day8 f1684d5db1 Improve comments 2015-03-03 13:16:23 +11:00
hipitihop 459e265c9d Undo
- merge changes incorrectly pushed to master.
- reinstate use of ratoms.
- correct extracted undo/redo counts.
2015-03-03 12:09:19 +10:00
hipitihop c8bd955c63 Merge branch 'master' into develop 2015-03-03 09:10:32 +10:00
mike-thompson-day8 48e058f6dc improve comments 2015-03-03 01:06:45 +11:00
mike-thompson-day8 e5a4e9b525 Improve debug output 2015-03-03 01:06:32 +11:00
mike-thompson-day8 95de45a252 WIP 2015-03-03 01:03:09 +11:00
mike-thompson-day8 f5df77163b Middleware can now be supplied as a vector (containing nils, which are ignored). This is going to make generating middleware much easier.
For example, Debug middleware can now more easily be conditionally added and removed.
2015-03-03 00:10:05 +11:00
mike-thompson-day8 6ff74a112b Improve comments. And debug output 2015-03-02 23:55:05 +11:00
mike-thompson-day8 66191655c9 Improve comments. Improve debug middleware 2015-03-02 23:06:34 +11:00
mike-thompson-day8 fe29846660 Add other round of console API methods. Not very happy about this. But will sort it out later. 2015-03-02 23:06:02 +11:00
mike-thompson-day8 7b0799c80f Split function. 2015-03-02 23:03:49 +11:00
mike-thompson-day8 f3bb482591 Add new API
- a noop middleware
   - a comp-middleware
2015-03-02 23:02:56 +11:00
hipitihop 76068c2cb9 - remove usage of historian & dependency
- update dependency to [re-frame "0.1.8"]
- use new register-pure-handler in all steps
NOTE: functional but daypart unit tests failing + history not yet working
2015-03-02 17:49:03 +10:00
mike-thompson-day8 dc74e017df No need to use ratoms, can use normal atoms. 2015-03-02 15:46:46 +11:00
mike-thompson-day8 406cbe261c Improve the output of debug middleware 2015-03-02 10:07:48 +11:00
mike-thompson-day8 3e7ed53f34 Expose debug middleware through API 2015-03-02 07:58:34 +11:00
mike-thompson-day8 6a3f2e4b74 Improve comments on handlers 2015-03-02 07:57:11 +11:00
mike-thompson-day8 56aecc0866 Add new debug middleware 2015-03-02 07:55:17 +11:00
mike-thompson-day8 3c43bd3cf4 Fix typo pointed out by @btheado cond -> conp 2015-03-01 09:06:54 +11:00
mike-thompson-day8 1d2ffb0d4f Rename apply-event to trim-v, allow handler to get vector of middleware 2015-02-27 02:07:35 +11:00
mike-thompson-day8 42d1d9e0e6 Further iteration on todomvc 2015-02-27 02:06:23 +11:00
Stuart Mitchell 6e430b0ca7 reverted middleware order 2015-02-26 16:24:50 +13:00
Stuart Mitchell 6a776faa82 fixes 2015-02-26 15:41:50 +13:00
mike-thompson-day8 0039cd651e Clarify Licence 2015-02-26 08:26:08 +11:00
mike-thompson-day8 00ba238b74 New middleware, mostly untested. 2015-02-25 22:03:47 +11:00
mike-thompson-day8 e548759fe6 new core 2015-02-25 22:03:25 +11:00
mike-thompson-day8 faf340573f Create a core which carries the API 2015-02-25 22:03:02 +11:00
mike-thompson-day8 16b4efa3fd New middleware, largely untested 2015-02-25 21:51:38 +11:00
mike-thompson-day8 44b50e4feb Tweaks and cleanup 2015-02-25 12:51:30 +11:00
mike-thompson-day8 474b2e4bac Middleware now working. Bump to version 0.1.6 2015-02-25 11:43:10 +11:00
mike-thompson-day8 947de41d02 Back to compiling (removed namespace cycle) 2015-02-25 09:53:04 +11:00
mike-thompson-day8 ab7e613cbb Introduce new middleware DO NOT USE YET. THIS PUSH DOES NOT EVEN COMPILE 2015-02-25 08:58:55 +11:00
mike-thompson-day8 9f233f07b7 Change warning 2015-02-25 08:26:47 +11:00
mike-thompson-day8 031e9fde53 renaming and word fiddling 2015-02-25 00:26:49 +11:00
mike-thompson-day8 a8a1dcd890 Remove use of historian. An atom-watcher based approach complicates our life. Via middleware we will not explicitly snapshot. 2015-02-25 00:24:31 +11:00
mike-thompson-day8 a9c8d76e1e Tweaks mostly. 2015-02-22 22:28:40 +11:00
mike-thompson-day8 a3c88750e5 Re-work handlers, routers and dispatchers. More comments 2015-02-21 00:47:01 +11:00
mike-thompson-day8 7c1b48e3a6 Add ability to (dispatch [:flush-reagent]) 2015-02-20 16:46:40 +11:00
mike-thompson-day8 1fadc82700 Introduce a timeout into the router, so that the GUI gets a look in, if we have one event after another. 2015-02-18 19:43:50 +11:00
hipitihop 94748ad0dc - correct rgression off-the-record! caused by healdess git push fuffle
- move load-mwi subscriptions to subs.cljs
2015-01-06 16:50:50 +10:00
hipitihop 3a977a0242 Merge remote-tracking branch 'origin/master' 2015-01-06 16:06:00 +10:00
hipitihop 79e3f08d96 - convert :no-history-while from dispatch to direct call off-the-record! 2015-01-06 16:05:39 +10:00
Stuart Mitchell f442460905 added a dispatch-sync 2015-01-06 10:49:20 +13:00
mike-thompson-day8 d733c9c6b1 Make dispatch async.
WARNING: not tested.
2014-12-20 13:12:40 +11:00
hipitihop a46ab9b345 - remove handlers/get-in-db
- switch project back to [lein-cljsbuild "1.0.3"]
2014-12-16 12:34:27 +10:00
hipitihop bac24cfd37 - typo and temporary re-instate of get-in-db to get refactors and unit tests running 2014-12-16 11:48:41 +10:00
mike-thompson-day8 8654613087 Split handlers from subscriptions 2014-12-15 22:56:32 +11:00