Jessica B. Hamrick
2dbfc30934
Add no_kernel.Kernel event
11 years ago
Jessica B. Hamrick
999daf041c
Handle query string in Kernel.start
11 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
11 years ago
Jessica B. Hamrick
741b2e97b1
Only set channels to null when they are fully closed
11 years ago
Jessica B. Hamrick
a601531e1c
Move channels into their own object
11 years ago
Jessica B. Hamrick
cf98a0a5a0
Better respect for abstraction barriers
11 years ago
Jessica B. Hamrick
2f3d8617b4
Fix shutdown test
11 years ago
Jessica B. Hamrick
ade7692ccd
Fix bugs in kernel.js
11 years ago
Jessica B. Hamrick
bd16964276
Clean up kernel.js
11 years ago
Jessica B. Hamrick
c0eb372612
Fix bugs introduced into session.js
11 years ago
Jessica B. Hamrick
8d76a40677
Clean up session class
11 years ago
Jessica B. Hamrick
c4a89cd54d
Better user experience when kernel isn't found
11 years ago
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
11 years ago
Sylvain Corlay
c4006f1439
status_started.Kernel was never triggered
12 years ago
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
12 years ago
MinRK
0909694b50
avoid race condition when deleting/starting sessions
...
javascript doesn't guarantee the order of AJAX requests,
so we give `Session.delete` and `Kernel.kill` a callback signature.
Changing the kernel type calls `Notebook.start_kernel`,
which terminates the previous session, if defined,
before starting the new one.
A flag is stored, to prevent multiple simultaneous attempts to start sessions, raising a SessionAlreadyStarting Error,
preventing the spec_changed event from firing.
12 years ago
MinRK
e3696996be
JS: close WebSockets when killing kernels
...
by calling Kernel.stop_channels() in Session.delete and Kernel.kill
12 years ago
Min RK
d093237f2f
Merge pull request #6216 from SylvainCorlay/comm-unregister
...
Unregistering comms in Comm Manager
12 years ago
Sylvain Corlay
2c648fe4d0
bad call and missing call to unregister_comm
12 years ago
Thomas Kluyver
76477386ae
Don't refer to global kernelselector object in Session
12 years ago
Thomas Kluyver
c432af1af5
Use JS events for switching kernelspecs
12 years ago
Thomas Kluyver
b644ddbe36
Store kernelspec in notebook metadata on change
12 years ago
Thomas Kluyver
9581bd7dc3
Change displayed kernel name when our session is started
12 years ago
MinRK
137f98014a
pass ws_url to kernel constructor
...
via session constructor via notebook constructor…
12 years ago
MinRK
579f5101f0
restore websocket_url configurable
...
allows ws to be handled via separate proxies,
as appears to be the case on OpenShift and some other hosting services.
12 years ago
Thomas Kluyver
6efbe46b73
Update JS for kernels and sessions APIs
12 years ago
Jonathan Frederic
2d7a4a7879
Some JS test fixes
12 years ago
jon
d9ab2d203a
In person review with @ellisonbg
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0edfdbc703
Return dicts instead of classes,
...
this makes require.js more Python import like.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Thomas Kluyver
2cc7b1ca30
Merge pull request #4536 from minrk/msgspec5
...
Updating the message spec (finish IPEP 13, 24)
12 years ago
MinRK
58aca05486
add version key to js message headers
12 years ago
MinRK
fb72c3d863
remove an inappropriate `!`
...
the logic was backwards.
12 years ago
MinRK
b78c5b1554
s/object_info_request/inspect_request
12 years ago
MinRK
a74c79ceab
update completion_ and objection_info_request
...
both requests take:
- code (up to full cell)
- cursor_pos (cursor offset in unicode characters)
and object_info_replies return a mime-bundle, instead of structured data
12 years ago
MinRK
5e8ce3b7e1
remove user_variables
...
leave only user_expressions
12 years ago
MinRK
5fb9837f5a
pyerr -> error
12 years ago
MinRK
38c76aa913
pyout -> execute_result
...
nbformat and nbconvert are not affected
12 years ago
Min RK
6b7d3fddec
Merge pull request #5668 from minrk/async-output
...
allow async output on the most recent request
12 years ago
MinRK
82964a09c2
log all failed ajax API requests
12 years ago
MinRK
66ee7dcea4
allow async output on the most recent request
...
Keeps track of the most recent request, so async output is still allowed
12 years ago
Jason Grout
ea66ebe316
Change $.post to this.post in the kernel js file
...
This makes it easy to override the post function for custom communication requirements. Any replacement function, of course, needs to have the same semantics as $.post.
12 years ago
MinRK
37cb0fbdee
remove websocket url
...
websockets should follow the kernel URL
(normal behavior is unchanged, only unused configurability is removed)
12 years ago
MinRK
a184724bdb
remove base_kernel_url
12 years ago
MinRK
9629bce503
fix url encoding in services
...
At this point, zero attributes should be encoded URLs
12 years ago
MinRK
a93040e810
s/get_data/get_body_data/
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
MinRK
13fc9022d9
various unicode fixes
...
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request
Should fix issues with double-escaping
12 years ago