Commit graph

164 commits

Author SHA1 Message Date
Gered b5fd5ca215 update project version to include patch number (1.6 -> 1.6.0)
needed for lein release usage
2022-01-12 17:33:38 -05:00
Gered 25a2b3eae8 update README.md 2022-01-12 17:32:36 -05:00
Gered 55fa4e485e update project.clj with lein release config stuff 2022-01-12 16:23:24 -05:00
Gered 7f1cbadf8b update project groupId 2022-01-12 16:10:53 -05:00
Gered e61d678003 update dependencies
also remove dependency on prismatic plumbing, since clojure 1.9 added
the swap-vals! function
2022-01-12 16:10:23 -05:00
Gered e334b36516 bump version for development 2016-06-27 18:38:16 -04:00
Gered 8b52af14b6 version 1.5 2016-06-27 18:35:13 -04:00
Gered ceb1bc6e1f minor cleanup 2016-06-27 18:35:01 -04:00
Gered 586ea80453 update README.md 2016-06-04 15:29:48 -04:00
Gered 75e2e9c506 update README.md with lots of usage documentation (finally!?) 2016-06-02 19:28:16 -04:00
Gered 5780d6d3a3 add tests for init! argument changes made earlier 2016-05-29 18:27:40 -04:00
Gered eed182bdd1 minor cleanups and addition of missing function doc comments 2016-05-29 18:19:17 -04:00
Gered 123b343e81 clean up a bunch of function return values
returning the view-system atom in almost all functions where it makes
sense (at the very least, now chaining calls is much more convenient)
2016-05-29 18:15:53 -04:00
Gered 4a6794ff73 make waiting for threads to exit behaviour the default
switching the optional boolean arg to now be used to decide whether
to skip waiting for the threads or not (default not)
2016-05-29 18:04:40 -04:00
Gered 3e28d19474 make some more internal-use functions private 2016-05-29 18:00:28 -04:00
Gered 3c1b145f2d update unit tests 2016-05-29 17:57:05 -04:00
Gered 280d91b12b go back to non single/global view-system state atom
after thinking about it some more, this way definitely does make
more logical sense to me when it comes to integrating it into a
"Reloaded" type of setup via mount/component. even though i will
almost certainly never use more then 1 simultaneous view-system in any
given project.
2016-05-29 17:56:51 -04:00
Gered f857edd0d6 move statistics out of it's own atom into view-system 2016-05-27 23:17:57 -04:00
Gered 24646b1077 simplify queue-hints! 2016-05-27 23:07:07 -04:00
Gered 343d12849e add some test helper function comments 2016-05-27 15:37:37 -04:00
Gered 6baf8c3c48 add refresh hint tests 2016-05-27 15:29:42 -04:00
Gered 1f92c3fd2e update test memory database in prep. for usage in upcoming tests 2016-05-27 13:21:12 -04:00
Gered e3e29d1d34 refactoring and cleanup 2016-05-27 12:47:22 -04:00
Gered 1c47d4ca67 move actual view refresh processing to new fn to make testing easier 2016-05-27 11:46:46 -04:00
Gered c31a896bd0 refactor 2016-05-26 18:16:17 -04:00
Gered f5e5ec130f add subscription/unsubscription tests 2016-05-26 18:09:43 -04:00
Gered 8b41703f97 remove old unit tests, begin adding new test suite 2016-05-26 13:24:55 -04:00
Gered 41edaf8665 add option to shutdown fns to allow blocking until threads finish 2016-05-26 13:24:23 -04:00
Gered c75cf6abbc fix options comment showing incorrect function argument order 2016-05-25 17:43:40 -04:00
Gered 3a49cf561f clean up error logging 2016-05-25 17:26:40 -04:00
Gered 2fc27341fe add missing cleanup of unneeded view hashes in unsubscribe-all 2016-05-24 10:42:11 -04:00
Gered ff15c42f9a better way of picking which namespace to use in subscribe/unsubscribe
if the view sig specified includes a namespace (even a nil one), then
use it for the subscription. otherwise, call namespace-fn to get one
to use in the subscription.
2016-05-23 12:18:28 -04:00
Gered 8fb1a2cbbb update subscription auth failure handling & non-existing view handling
- if the view specified does not exist, throw an exception instead of
  silently failing
- add "on-unauth-fn" option to view system. call this function if
  subscription authorization fails (some applications may want to audit
  this kind of event)
2016-05-22 22:31:43 -04:00
Gered b9512ff9ba update gitignore 2016-05-22 15:24:59 -04:00
Gered 38f74a880d keep a copy of the options used during init! in view-system 2016-05-22 10:57:53 -04:00
Gered f41b6d5c81 update project.clj 2016-05-21 19:45:39 -04:00
Gered 94e4e6443f update README.md 2016-05-21 19:33:15 -04:00
Gered 93617a4857 update project.clj
i don't need a bunch of this stuff in this fork. no sense keeping it
around (can re-add later if need-be)
2016-05-21 19:27:47 -04:00
Gered 1d42cd4c2e remove environ dependency (not needed anymore) 2016-05-21 19:16:49 -04:00
Gered 943a99717f move refresh queue array object into view-system atom
also means the size is now configured via init! and not an environment
variable
2016-05-21 19:15:17 -04:00
Gered 36f3bdfc64 logging updates 2016-05-21 18:49:33 -04:00
Gered 06f275399a clean up init! and how view-system options are set 2016-05-21 18:19:21 -04:00
Gered 4458ba3ea3 replace add-hint! with queue-hints! 2016-05-21 17:21:03 -04:00
Gered 874cabdb2d add put-hints!
mainly just a convenience function intended for iview implementation
libraries to make use of
2016-05-21 16:29:00 -04:00
Gered 2faf596777 add main init/shutdown to start/stop logging if logger option is given 2016-05-21 15:59:22 -04:00
Gered 323e7497c3 add start/stop functions for the statistics logger 2016-05-21 15:50:39 -04:00
Gered eb55744429 minor cleanup 2016-05-21 14:38:57 -04:00
Gered 2045333ef1 doc comment updates/additions 2016-05-20 19:20:05 -04:00
Gered 172a165549 cleanup old commented out test code 2016-05-20 18:36:19 -04:00
Gered e2dc232392 add "type" to hint maps 2016-05-20 18:13:55 -04:00