Commit graph

2198 commits

Author SHA1 Message Date
Nathaniel Nicandro
942967f394 Partially revert "Remove zmq dependency"
This partially reverts commit 2ee94714cb.
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
170d63f278 Update jupyter-kernel-process test 2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
ea199e3f77 Fix return value of jupyter-zmq-io 2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
11456b4a4a Rename jupyter-kernel-process-io to jupyter-zmq-io 2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
c47345f6ec Fix jupyter-kernel method names for jupyter-kernel-process 2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
313cc02fa6 Re-add the jupyter-io method 2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
23b9d03f3e Partially revert "Remove no longer used files"
This partially reverts commit 472d6bf322.
2023-02-13 20:29:35 -06:00
Nathaniel Nicandro
db0f3678ac Revert "Remove tests related to jupyter-kernel-process, ioloop, comm, zmq, and channels"
This reverts commit 1381d7975d2c47ebcec1359dc24e443aa5af0fa2.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
56ada9392b Remove unused slot 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
13935fe38f Add jupyter-return-delayed-thunk 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
3db7446f3a Don't disconnect client after restart 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0c62d1b676 Remove an unnecessary publisher 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
365009352d Fix wrong use of kernelspec in one place 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
d32f293f86 Fix void variable 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f92e14f62b Add jupyter-restart-kernel 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
5857352135 Add the jupyter-kernelspecs method
Replaces both `jupyter-available-kernelspecs` and
`jupyter-server-kernelspecs`.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
35e44798c4 Refactor 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f2d99b2007 Reintroduce previously broken test 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
fb6611bc5d Fix test 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
23b51e275e Take into account changed return value of jupyter-available-kernelspecs 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
31e1cc68fd Fix call order in test clean up 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b55b27c0ce Fix jupyter-message-parent-type checks 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
4c5945c668 Better question when asking to kill a REPL buffer 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
1a10d900ba Update documentation of jupyter-websocket-io 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a1ea460349 Remove code duplication 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
45e611a2d8 Remove jupyter--subscribe 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a4a48f772b Refactor to remove a use of jupyter-current-io 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
1dacde77b8 Update commentary 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
66a72ad24c Resurrect jupyter-finalized-object 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
dcdda2bf92 Remove unused function 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
31d79dfd84 Remove do prefix of kernel action functions 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
c64d96836b Remove outdated comments 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
9b4877c603 Document some functions 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0f0d170fde Update widget support to work with recent changes 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
c1bff794d0 Add jupyter-reply-message 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
52847c2f51 Make jupyter--reauth-subsscribers a table of publisher values
As opposed to a table of list of subscriber values.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
970b4d1c21 Allow some tests to pass 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
07bdc46a87 Move some code to a more appropriate place 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0b32635a3a Remove some unused functions 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
3c2cc77348 Remove the callbacks slot of a jupyter-request
Callbacks are added to a request using `jupyter-message-subscribed`.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
fdf6407616 Remove a use of jupyter-request-last-message 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
bb12d37e05 Fix input_request handling 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
877070ea89 Remove a use of jupyter-request-callbacks 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
8acb7bc487 Simplify jupyter-wait-until-idle 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
22d2a3f327 Remove the jupyter-send method...
- Add a `message-publisher` slot to `jupyter-request`, set when
  sending a request.

- `*-request` functions now return a delayed request value instead of
  a request. Update call sites.

- Add the functions `jupyter-messages`, `jupyter-idle`,
`jupyter-message-subscribed` and `jupyter-client-subscribed`.

- Move client subscription to a request's messages to
  `jupyter-client-subscribed`.

- Request callbacks are now added via `jupyter-message-subscribed`.

- Reduce usage of callbacks in favor of searching `jupyter-messages`
  where appropriate.

- Update tests
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f957696f26 Set jupyter-current-io in jupyter-with-client 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
6842b84e2e Verify jupyter-inhibit-handlers outside of jupyter-send 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a27574f9bb Use pcase-let in a few places 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
039decdc97 Remove calls of jupyter-wait-until-received 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
d89e5f104d jupyter-eval-add-callbacks -> jupyter-eval-callbacks 2023-02-13 20:25:05 -06:00