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
9629bce503
fix url encoding in services
...
At this point, zero attributes should be encoded URLs
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
MinRK
3ad0072c9e
make sure to encode URL components for API requests
...
notebook names can have spaces, hashes, other special characters.
12 years ago
MinRK
b666345633
allow callbacks on status messages
12 years ago
MinRK
9e198d2bd6
attach comm_manager to kernel
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
fc4fb92580
review pass on multidir js
12 years ago
MinRK
e16a5807c7
fixup bad rebase
12 years ago
Zachary Sailer
8c2009874c
session manager restructuring
...
Redid the sessionmanager, added tests for the session manager,
and added a sqlite database to hold kernel,session,nb mapping.
12 years ago
Zachary Sailer
8261ac2cb9
change standard money keys
12 years ago
Zachary Sailer
385ad6f509
manual rebase static/services (add session.js)
12 years ago
Jason Grout
54aa8a9f61
Make parameters for kernel start method more general
12 years ago
MinRK
b322e72bee
add Kernel.clear_callbacks_for_msg
13 years ago
MinRK
971aea1eda
trigger `Kernel.status_started` after websockets open
...
This leads to a more logical state for event watchers to expect.
13 years ago
Andrea Bedini
47b873295a
Fix documentation of Kernel.stop_channels
13 years ago
Min RK
ac88931fee
Merge pull request #3850 from minrk/store_history
...
add missing store_history key to Notebook execute_requests
13 years ago
MinRK
9845ba1416
add missing store_history key to Notebook execute_requests
13 years ago
MinRK
6277c845c3
update payload source
...
should be simple key, not Python (or worse, IPython) specific long key.
I could have sworn I did this long ago,
but apparently the source key was only updated in display_data,
not execute_reply.
13 years ago
MinRK
d3540da8f5
add missing block key in complete_request
13 years ago
MinRK
defd49a8b9
comply with the message spec in object_info requests
...
missing detail_level key
13 years ago
MinRK
cea07fb351
bind kernel events in Kernel.bind_events
...
avoids multiple-register of send_input event
13 years ago
MinRK
d8fa8eea04
add a dialog when the kernel is auto-restarted
...
adds the autorestart status event for the dialog
so that user-restart is distinct from server-side auto restart.
closes #3490
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago