Commit graph

2096 commits

Author SHA1 Message Date
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
Nathaniel Nicandro
48c6f1bfab Remove :content key in request functions 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
ab4e53c1bf Set IO slot after making client instance
Apparently this is needed.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
17460f8b7c Use jupyter-*-request 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
f5d8e7c535 Remove unused function 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
b95eef470b Make client slot of jupyter-request writable 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
bd6e2c3228 jupyter-monads.el: Require jupyter-base 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
84b2e140a4 jupyter-publisher: Mention jupyter-subscriber in doc 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
fa43656632 jupyter-pseudo-bind-content: Mention errors in doc 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
162a0969b9 jupyter-shutdown-kernel 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e19140fa94 Flush out how a client connects to a kernel 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
f28c1c649a Make jupyter-request pure 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
ee0446ccaa Take into account the changes in a kernel's I/O publisher
Messages received by a kernel's I/O publisher are solely message
property lists.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
fc0321a1fd Distinguish between a publisher and subscriber error 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
1739346990 Remove unused function 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
f09fd3618c Modify the subscriber list instead of setting it
This is to account for the asynchronous nature of calls to Emacs
process filter functions.  The old way had
`jupyter-pseudo-bind-content` return a new list of subscribers to set
so ultimately, if the same publisher was called recursively the
outer (older) call would set the list.
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
9f23483681 jupyter-request 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
680d8d845a jupyter-publish: Simplify doc 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e1843d719e jupyter-filter and jupyter-filter-content 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
23e58afc35 jupyter-kernel-launch 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
155f421aed jupyter-io definition of jupyter-kernel 2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e6dd933801 jupyter-kernel-process-io 2023-02-13 20:22:50 -06:00