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
Nathaniel Nicandro
d57eff4fa0
jupyter--kernel-processes: Update documentation
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
9aaff6bfcd
Request kernel shutdown when killing REPL buffer
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
357cc08856
jupyter-kernel-process.el: Update to use publisher/subscribers
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
01f76e07a7
jupyter-monads.el: Add jupyter-io
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
c12a519ac0
Add TODO
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
550ced27bc
jupyter-client.el: Introduce io
slot
2023-02-13 20:22:50 -06:00
Nathaniel Nicandro
e1f6d8b0c4
jupyter-messages.el: Use strings for request types
2023-02-13 20:22:50 -06:00