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
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Matthias BUSSONNIER
98101f9c6c
add js kernel_info request
12 years ago
Jonathan Frederic
469c865603
Added support for multiple kernels.
12 years ago
Jonathan Frederic
6871c8f9e0
Cherry pick of @jasongrout 's 2bc2f96.
...
Only merged changes to notebook and kernel... (see original comment below).
Separate the widget registry from the widget managers;
attach widget managers to kernels.
Yet to do: take care of clean-up when a kernel is deleted
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jason Grout
00472333ec
log the error stack for a kernel javascript error message
12 years ago
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
12 years ago
MinRK
3ad0072c9e
make sure to encode URL components for API requests
...
notebook names can have spaces, hashes, other special characters.
12 years ago
Min RK
0aaafce4af
Merge pull request #4195 from minrk/widget-msg
...
IPEP 21: widget messages
12 years ago
Paul Ivanov
357b78171a
fix: JS kernel state should reflect killed state
12 years ago
MinRK
4a3978ec28
don't expose comm_id arg via new_comm
12 years ago
MinRK
b666345633
allow callbacks on status messages
12 years ago
MinRK
34efd17408
catch errors in comm callbacks
12 years ago
MinRK
938dc589dd
Add CommManager.new_comm
...
Javascript-side version for creating and connecting Comms in one call
Without a `get_ipython()`-like global handle,
Comm constructor can't do the same magic as the IPython one.
12 years ago
MinRK
0a89edc641
log exceptions in Comm handlers
12 years ago
MinRK
8bcf95404d
add unregister_target to CommManagers
12 years ago
MinRK
9e198d2bd6
attach comm_manager to kernel
12 years ago
MinRK
5c83cd3e52
move comm.js to kernel service
12 years ago
MinRK
04adce96af
add message metadata to comm and kernel.send_shell_message
12 years ago
MinRK
4fdc4bb3fc
get clear_output callback properly
12 years ago
MinRK
76994d2ff8
update callback structure in js commands
12 years ago
MinRK
f7e6435256
only pass shell.reply callback to oinfo / complete
...
These should not have side effects, so no need to expose full callback structure.
Also, object_info method shouldn't have `_request` in its name.
12 years ago
MinRK
d99e25f245
refactor js callbacks
...
all callbacks get the whole message
12 years ago
MinRK
8199909e62
Improvements to kernel.js
...
- dispatch iopub handlers by msg_type
- add Kernel.send_shell_message public API
- use strict (and related fixes)
12 years ago
MinRK
aea1bbde6a
s/session_id/id
12 years ago
MinRK
0558ec4ce0
Cells shouldn't know about Sessions
12 years ago
MinRK
fc4fb92580
review pass on multidir js
12 years ago
MinRK
e16a5807c7
fixup bad rebase
12 years ago
Zachary Sailer
da58c8c470
Fixed session js ajax request.
...
Session was not creating a kernel object on the client side,
after the server created successfully created a session.
12 years ago
Zachary Sailer
c26700cd3a
changes after session manager code review
12 years ago
Zachary Sailer
04c6a3cfac
refactoring of nbmanager and filenbmanager
...
major clean up of the two managers. We make sure to follow
the standard models described in IPEP 16
12 years ago
Zachary Sailer
e9ac1c2d37
add tests for session api
12 years ago