anatoly
5275023b38
add deps.edn
2024-03-05 22:49:19 -05:00
anatoly
2d050e9055
fix: swap-states non string rollback
...
thanks to @egg-juxt for bringing it up
2022-12-19 15:17:38 -05:00
Andrea Richiardi
dc59f3ec98
Add minimal self-host testing
2018-04-06 22:29:43 -07:00
anatoly
e247636be6
reformat all with linter
2018-03-15 23:50:49 -04:00
anatoly
4d961b56c0
:on-reload :noop should not leave stale references
2017-04-06 23:33:27 -04:00
Chris Perkins
ce5f5ed90a
Do not start a DerefableState as a side-effect of printing
...
See: b80e1fe4b1/src/clj/clojure/core_print.clj (L422-L446)
2017-01-22 06:01:21 -07:00
anatoly
62cb9dd516
#69 : stop accepts collections of states
...
vs. an implicit all and varargs
2016-11-28 11:34:32 -05:00
anatoly
e2ef7bba55
#68 : swap-states and start-with-states take values
...
in a form of {:start fn :stop fn}
2016-11-24 01:54:24 -05:00
anatoly
f49fceb518
#65 : (mount/start #{}) is a noop
2016-11-14 17:25:24 -05:00
anatoly
78b9a23c71
no start/stop sample logging for started/stopped states
2016-03-04 16:29:20 -05:00
Anatoly
926e4a9d2a
#47 composition tests are in
2016-02-23 00:18:57 -05:00
anatoly
977806626d
#47 swap-states tests are in. composability tests ...next
2016-02-22 17:26:07 -05:00
anatoly
b77bef3457
#47 except, with-args, only, swap tests.. more to come
2016-02-22 16:48:05 -05:00
anatoly
dc91a44f72
#46 : removing :suspend and :resume... [done]
2016-02-03 23:20:54 -05:00
anatoly
d8749261df
#36 : adding ^{:on-reload action}
...
actions are: :noop :stop :restart
:restart is a default action: i.e. if no :on-reload meta is added
2016-01-31 14:08:49 -05:00
anatoly
b4a79f7ba3
#45 : swapping with values is.. in
2016-01-20 17:13:04 -05:00
anatoly
c918a11e3a
#42 : cleanup states that were removed from ns
2016-01-17 01:39:38 -05:00
Malchevskiy Misha
76225dd4ca
Simplify without-logging-status
2015-12-24 15:41:17 +03:00
anatoly
f98df5b2c4
#22 , #25 , #26 : states with no :stop are restarted on ns recompile
2015-12-23 11:04:47 -05:00
anatoly
2d25fd9b58
#22 : restarting a state on ns recompile
...
vs. just stopping it, which is not well expected from the users
2015-12-22 23:01:11 -05:00
anatoly
c7a737126f
[boot]: plugging in boot-cljs-test
2015-12-21 16:49:13 -05:00
anatoly
a75b087b8f
[boot]: moving tests to test/core
...
to avoid "boot => The :source-paths, :resource-paths, and :asset-paths must not overlap."
2015-12-20 19:22:17 -05:00
anatoly
5aac6198d0
refactoring example app: + www
2015-12-16 18:16:23 -05:00
anatoly
3fc53f747e
cljs tests are in
2015-12-09 22:27:02 -05:00
anatoly
4b6a4b1658
bringing all the clj tests home. cljs suite next.
2015-12-09 00:06:23 -05:00
anatoly
c32f7a892f
cljs var-to-str + parts test
2015-12-08 22:07:26 -05:00
anatoly
f06dc427f0
[cljs tests]: splicing :clj imports
2015-12-08 00:56:34 -05:00
anatoly
268162324f
starting cljs tests
2015-12-08 00:49:41 -05:00
anatoly
8e34001122
reorging sample clj/cljs apps. ready for cljs tests
2015-12-07 19:50:03 -05:00
anatoly
8a57f8590f
#10 : formating audit logs (joda/hiccup and friends)
2015-12-07 15:57:51 -05:00
anatoly
d1d14bc710
#10 : adding datascript to the cljs example app
2015-12-07 13:16:53 -05:00
anatoly
87e59dedcc
#10 : first pass on cljs support is in
2015-12-07 00:00:52 -05:00
anatoly
362036a3b9
[ #10 ]: plugin cljs/figwheel; IDeref from cljs
2015-12-06 17:57:28 -05:00
anatoly
b07b29f028
reloading between tests in clj/c modes
...
also "defstate"'s "defonce" is now "def"
2015-12-05 23:59:27 -05:00
anatoly
2697494268
swapping fun with values (deref vs. values)
2015-12-05 23:00:13 -05:00
anatoly
3d95aa9fc6
#10 : adding cljc mode (DerefableState). cljs is next.
2015-12-05 22:55:51 -05:00
anatoly
fb45dbbb4e
removing dependency on var meta
2015-12-05 20:31:17 -05:00
anatoly
7f720403ea
[ #21 ]: examples of "fn" vs. "(fn)" for a lifecycle fns
2015-12-01 08:46:43 -05:00
anatoly
f404bb4420
[logging]: status vs. started? suspendes?..
2015-11-30 22:06:24 -05:00
anatoly
958d7e345c
dev.clj: replacing start-without with start
2015-11-30 21:19:58 -05:00
anatoly
325eecf0c9
[ #21 ]: test for lifecycle private fn with args
2015-11-30 21:13:30 -05:00
anatoly
f2f4c1f3ea
removing 'replled' (run-tests)
2015-11-30 17:33:33 -05:00
anatoly
20e230b5dd
[ #20 , #21 ]: removing trampoline to take functions as values
2015-11-30 17:23:03 -05:00
anatoly
0e4e507343
unpounding lifecycle fns
2015-11-30 13:12:44 -05:00
anatoly
ead12a7e88
[ #18 ]: cleaning up stale states
...
stale running instances are going into limbo on redefs
caused by recompiling namespaces with defstates, tn/refresh, tn/refresh-all, etc.
cleaning those stale instances with their stop functions before redefining their states
2015-11-30 13:00:56 -05:00
anatoly
339d79e508
[ #19 ]: consolidating status (improvement from @aroemers)
2015-11-29 13:28:38 -05:00
anatoly
1c970e152a
[ #20 ] lifecycle fns take fns and values
2015-11-27 12:48:35 -05:00
anatoly
bbf06c46b1
[dev.clj]: (with-logging-status) on start
2015-11-23 13:28:17 -05:00
anatoly
432496863e
[ #15 ]: ">>" "<<" for start/stop logging
2015-11-23 10:51:27 -05:00
anatoly
2d1f77df92
[ #15 ]: adding logging AOP for REPL examples
2015-11-23 10:43:35 -05:00