Nathaniel Nicandro
275492b1a6
Re-organize jupyter-websocket-io
2023-02-13 20:30:20 -06:00
Nathaniel Nicandro
0a9aeb86bd
Silence the byte compiler
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
9d75eab5df
jupyter-websocket-io: Remove the use of websocket-ensure-connected
...
The function no longer exists in the `websocket` library.
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
7c3d3a70b4
jupyter-io (jupyter-server-kernel): Remove type checking on argument
...
The type checking happens inside the function already.
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
84282910f8
jupyter-server-kernel: Require missing dependency
2023-02-13 20:30:19 -06:00
Nathaniel Nicandro
1b7ac4506e
jupyter-websocket-io: Ignore unused variable
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
0c62d1b676
Remove an unnecessary publisher
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
1a10d900ba
Update documentation of jupyter-websocket-io
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
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
596ac40566
Refactor a function
2023-02-13 20:25:05 -06:00
Nathaniel Nicandro
dfd1d1e02d
Remove the kernel
slot of a client
...
`jupyter-websocket-io` now returns, in addition to an IO function, a
kernel action subscriber. A client now sends messages to the
subscriber to interrupt or shutdown a kernel instead of doing so using
a `kernel` slot.
Also add the `jupyter-kernel-action` convenience function for
evaluating arbitrary code on a client's kernel.
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
fed966fc27
Remove unused function
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
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
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
9d801b72a3
Remove jupyter-connection.el
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
36f714a0d0
Use a more appropriate name for a function
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
41a462712e
Fix websocket I/O functions
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e133c34707
Add do prefix to launch,shutdown,interrupt functions of a kernel
...
launch,shutdown,interrupt are now monadic functions.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
84e29366a7
Fix return value of jupyter-io
in one place
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
3f2cba6c21
Simplify
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
a17b67b519
Ensure jupyter-launch
only requires one argument
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
dcf2e2ef6e
Remove jupyter-finalized-object
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
3097590778
jupyter-server-kernel: Add TODO on read only id
slot
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
efecaeeedc
Add missing defvar
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
61776abcce
Add WebSocket I/O
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
cd276dcdb8
jupyter-server-kernel-io
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
7346571275
Discard I/O connection on shutdown
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
93ace12240
jupyter-server-kernel.el: Remove jupyter-connection
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
6e3974030c
jupyter-server-kernel.el: Update jupyter-server-kernel-io
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
db322d0734
jupyter-server-kernel.el: Refactor jupyter-server-io
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
5336f16851
jupyter-send-content -> jupyter-content
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
ad6ebb3bfb
server-kernel uses the new interface
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
a5c08e311c
Remove use of jupyter-run-handlers
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
e6ef8bb672
Fix unused lexical variable
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
9a1321f35d
Fix undefined function
2023-02-13 20:22:49 -06:00
Nathaniel Nicandro
9519daa105
Document jupyter-server-kernel
2023-02-13 20:22:49 -06:00