Commit graph

2227 commits

Author SHA1 Message Date
Nathaniel Nicandro
f81a44b865 Comment out failing part of test 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
dc336ae638 Fix input_request client handler 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
134167e65e Remove keyword message types 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0f51e18655 Remove unnecessarily complicated code 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
cbd521dc72 Remove jupyter-find-server
The same `jupyter-server` instance is always returned for the same URL
by a call to `jupyter-server` so there is no need to find a server
anymore.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
ef26ef1b08 Remove jupyter-io 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
fed966fc27 Remove unused function 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f02337c23c Skip jupyter-connect-repl test
Connecting to a REPL via a JSON file is no longer possible.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f6233088aa Refactor to remove long line 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
bbd0c4fd85 Use pub/sub pattern for server re-authentication 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f62c6e9e2f Don't close websockets on :shutdown-reply 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a430f4f0e1 Remove jupyter-channels-running-p 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
2f87fe3ca9 Use jupyter-default-server 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b68e435b7a Add jupyter-default-server
Used by `jupyter-run-repl` to launch a kernel on a notebook process
associated with the current Emacs session.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
548b23cba2 test/test-helper.el: Fix client cache cleanup 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
436329ee50 Fix wrong slot name 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
0c0ff8fb0b Fix wrong usage of jupyter-request in tests 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f2cc7ef269 Fix Org :dir header arg test
Since notebook kernels are being used, the directory switched to needs
to be under the tree accessible by the kernel.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a66e15277d Actually delete temporary test directory after running tests 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
c002c0cb0c Simplify jupyter-eval-string for REPL clients 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
421fc840b0 Make client arg optional in jupyter-repl-execute-cell 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b0a9258bd7 Fix jupyter-send calls in tests 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
2cf188d761 Remove zmq dependency 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
67b633d52d Update jupyter-test-with-kernel-client to use a notebook kernel 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
a23f8fe864 Use jupyter-generate-request in jupyter-request 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
057c064fee Fix comm related request functions 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
f4df7d98e1 Add jupyter-kernel-name 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
b25fef36fb Remove call to jupyter-io 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
48730c0baf Fix call to websocket-open 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
1323feb33f Simplify jupyter-websocket-io 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
2c85a3bdc3 Make delete-instance aware of jupyter--servers-1
So that instance tracking is aware of per URL server instances.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
79500c010e Remove old default kernel interrupt implementation 2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
13404ccd2d Remove extra I/O functionality
From an older implementation.  I'm sticking to websockets now.
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
472d6bf322 Remove no longer used files 2023-02-13 20:25:02 -06:00
Nathaniel Nicandro
b44bd8fff1 Remove more references to kernel managers 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
18027386d4 Update test helpers 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e7c0919fce Remove tests related to jupyter-kernel-process, ioloop, comm, zmq, and channels 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e1bf33ea55 Update jupyter-send calls in tests 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
9d801b72a3 Remove jupyter-connection.el 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
17a09d5ac8 Don't ask to shutdown kernel when killing REPL buffer 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
2b668f755e Have a client keep a reference to the kernel its connected to 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
b84e1320c6 Add jupyter-connected-p 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
3b8865d222 Remove kernel manager related code 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
886d2b636b Merge jupyter--websocket-io and jupyter-websocket-io 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
738d5d5295 Remove jupyter-server-kernel-manager 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
a8d79c5645 Add jupyter-server-repl
Does the core work of jupyter-(run|connect)-server-repl.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
c03493d82e Fix timing bug 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
658886780e Turn jupyter-add-finalizer into a function 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
36f714a0d0 Use a more appropriate name for a function 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
ab616e4609 Simplify jupyter-request message collecting 2023-02-13 20:22:50 -06:00