252 Commits

Author SHA1 Message Date
Mike Thompson
f6d191f425 Better docs on new effect 2016-07-15 18:46:16 +10:00
Mike Thompson
927d2c03a1 remove laziness 2016-07-15 14:15:30 +10:00
Mike Thompson
9294adb1b5 Improve warning message if incorrect use of fx detected. 2016-07-15 11:40:07 +10:00
Mike Thompson
daf070b1fd Merge branch 'develop' of https://github.com/Day8/re-frame into develop 2016-07-15 11:34:42 +10:00
Mike Thompson
800a1a2d6b closer now to having :forward-events working. 2016-07-15 11:33:35 +10:00
Mike Thompson
d0827bb578 Update comment for the new world 2016-07-15 11:33:07 +10:00
Mike Thompson
40d0a749d4 Remove incorrect use of re-frame.middleware/fx (should have been re-frame.fx/fx) 2016-07-15 11:32:44 +10:00
snowell
0f117eaac7 Insignificant typo correction in console output (#177) 2016-07-15 10:36:07 +12:00
Mike Thompson
2c9d140c22 Initial fx code now in. But it remains largely untested. 2016-07-14 16:41:54 +10:00
Mike Thompson
b75ec509bb Further towards fx 2016-07-14 00:32:36 +10:00
Mike Thompson
5572e6ebf1 Checkpoint. Further Miscellaneous work towards Effectual Handlers 2016-07-13 16:28:15 +10:00
Mike Thompson
b395ef40de Update and clarify in changes document. 2016-07-11 16:52:05 +10:00
Mike Thompson
0d31e3c7c6 Cut v0.8.0-alpha1 2016-07-07 14:52:13 +10:00
Mike Thompson
8747d2b14a Move to using reg-sub (rather than register-sub-pure) 2016-06-24 23:15:00 +10:00
Mike Thompson
cbef1ec268 Remove use of specific loggers. Everything now goes through re-frame.loggers/console. 2016-06-24 22:56:30 +10:00
Mike Thompson
72397eb6e7 Improve code layout in loggers. 2016-06-24 22:15:24 +10:00
Mike Thompson
6cb23b60a5 Put loggers into their own namespace 2016-06-24 22:09:07 +10:00
Mike Thompson
d384da1c75 Alter wording in comments. 2016-06-24 21:31:12 +10:00
Mike Thompson
a8b35cd9f1 Improve comment on function 2016-06-24 18:49:42 +10:00
Mike Thompson
5656f79f06 Improve warning message. 2016-06-24 18:26:45 +10:00
Mike Thompson
0b2bcbe65e Complete undo/redo work 2016-06-23 23:41:20 +10:00
Stuart Mitchell
f4fb65037e Subscriptions sugar - changed to provide a singleton 2016-06-22 15:41:22 +12:00
Stuart Mitchell
5c7d4ea3d1 Bug Fix for undo tests 2016-06-22 14:30:15 +12:00
Stuart Mitchell
addc55658e Bug fix for undo.cljs 2016-06-22 13:34:25 +12:00
Mike Thompson
9452998e0b WIP. undo test fails. 2016-06-22 10:54:41 +10:00
Mike Thompson
d03ef7bc7a remover excessive whitespace 2016-06-14 22:45:57 +10:00
Mike Thompson
af2fd0b21f Merge branch 'develop' of https://github.com/Day8/re-frame into develop
Conflicts:
	src/re_frame/subs.cljs
2016-06-14 21:14:49 +10:00
Mike Thompson
4741cd73d3 Better naming and comments. 2016-06-14 21:10:56 +10:00
Mike Thompson
6250c584da Add undo API 2016-06-14 21:09:21 +10:00
Mike Thompson
2822dc064a Put all undo related into a single namespace. Change the way middleware factories are done. 2016-06-14 21:08:32 +10:00
Stuart Mitchell
5a4d78ecc8 register-pure-sub: moved into correct namespace 2016-06-14 14:52:37 +12:00
Stuart Mitchell
1b698b3d8f register-pure: added code to enable spec checking of the fn args 2016-06-14 14:52:37 +12:00
Stuart Mitchell
48a1bda438 register-pure-sub: uses a function to do the work 2016-06-14 14:52:25 +12:00
Mike Thompson
ea1e9e7745 Light improvements to comments in core. 2016-06-11 22:23:53 +10:00
Mike Thompson
5a214fc83b Fix bug which meant that post-event-callbacks were not called for dispatch-sync 2016-06-04 00:13:41 +10:00
Mike Thompson
9adf4cf40b Improve API comment 2016-06-03 12:58:06 +10:00
Mike Thompson
5684543b1a Introduce new API - remove-post-event-callback 2016-06-03 12:49:49 +10:00
Mike Thompson
053771ad9d Breaking change to logging 2016-05-31 07:50:49 +10:00
Mike Thompson
3d4e8cde8f Introduce de-duplicated subscriptions. 2016-05-29 23:23:17 +10:00
Mike Thompson
c7fb38becf Error message made more generic 2016-05-29 22:48:18 +10:00
Mike Thompson
e562b06880 Better router loop comments 2016-05-29 22:47:25 +10:00
Mike Thompson
fe1b6bc729 improve trivial comment 2016-05-27 12:54:42 +10:00
Mike Thompson
45e0baee30 Get rid of code for Reagent pre-0.6.0. Plus add more comments. 2016-05-21 00:44:54 +10:00
Mike Thompson
5aafe09c1b Add link to alternative debug middleware 2016-05-21 00:44:16 +10:00
Mike Thompson
41593509be Improved comment 2016-05-20 22:36:35 +10:00
Daniel Compton
477459bae0 Fix grouping of debug/middleware 2016-05-05 12:40:02 +12:00
Daniel Compton
c085ac8bb0 middleware/debug: Log a single line if app-db not changed by a handler
middleware/debug logs a group to the console even if there has been no
change to app-db. This makes it harder to tell if you've made a mistake
in refactoring, as the same log message will be shown whether or not
app-db is changing.

This change will log a single line if app-db is not changed by a handler

Fixes #166
2016-05-05 11:56:09 +12:00
Mike Thompson
c182af1b59 Add comment on middleware 2016-03-22 14:11:21 +11:00
Mike Thompson
9b64df912d Actually remove log-ex. Commented out in last release. 2016-03-15 20:08:25 +11:00
Mike Thompson
9795a00ec7 Tweak debug middleware output so that exceptions don't get lost in collapsed Groups. 2016-03-14 23:32:24 +11:00