MinRK
37cb0fbdee
remove websocket url
...
websockets should follow the kernel URL
(normal behavior is unchanged, only unused configurability is removed)
2014-02-20 22:54:36 -08:00
MinRK
9629bce503
fix url encoding in services
...
At this point, zero attributes should be encoded URLs
2014-02-08 23:09:25 -08:00
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
2014-01-28 14:58:00 -08:00
Matthias BUSSONNIER
98101f9c6c
add js kernel_info request
2014-01-22 09:01:13 +01:00
Jonathan Frederic
469c865603
Added support for multiple kernels.
2014-01-17 16:22:57 +00:00
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
2014-01-17 15:36:49 +00:00
Jason Grout
00472333ec
log the error stack for a kernel javascript error message
2014-01-16 10:57:11 +00:00
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
2014-01-16 10:57:10 +00:00
MinRK
3ad0072c9e
make sure to encode URL components for API requests
...
notebook names can have spaces, hashes, other special characters.
2013-11-22 11:21:01 -08:00
MinRK
4a3978ec28
don't expose comm_id arg via new_comm
2013-10-22 20:25:04 -07:00
MinRK
b666345633
allow callbacks on status messages
2013-10-22 20:11:38 -07:00
MinRK
34efd17408
catch errors in comm callbacks
2013-10-22 19:45:39 -07:00
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.
2013-10-22 19:45:39 -07:00
MinRK
0a89edc641
log exceptions in Comm handlers
2013-10-22 19:45:38 -07:00
MinRK
8bcf95404d
add unregister_target to CommManagers
2013-10-22 19:45:38 -07:00
MinRK
9e198d2bd6
attach comm_manager to kernel
2013-10-22 19:44:46 -07:00
MinRK
5c83cd3e52
move comm.js to kernel service
2013-10-22 19:44:44 -07:00
MinRK
04adce96af
add message metadata to comm and kernel.send_shell_message
2013-10-22 19:43:56 -07:00
MinRK
4fdc4bb3fc
get clear_output callback properly
2013-10-22 19:43:56 -07:00
MinRK
76994d2ff8
update callback structure in js commands
2013-10-22 19:43:55 -07:00
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.
2013-10-22 19:43:52 -07:00
MinRK
d99e25f245
refactor js callbacks
...
all callbacks get the whole message
2013-10-22 19:43:01 -07:00
MinRK
8199909e62
Improvements to kernel.js
...
- dispatch iopub handlers by msg_type
- add Kernel.send_shell_message public API
- use strict (and related fixes)
2013-10-22 19:40:32 -07:00
MinRK
fc4fb92580
review pass on multidir js
2013-10-17 14:09:18 -07:00
MinRK
e16a5807c7
fixup bad rebase
2013-10-17 14:09:18 -07:00
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.
2013-10-17 14:09:09 -07:00
Zachary Sailer
8261ac2cb9
change standard money keys
2013-10-17 14:09:06 -07:00
Zachary Sailer
385ad6f509
manual rebase static/services (add session.js)
2013-10-17 14:07:49 -07:00
Jason Grout
54aa8a9f61
Make parameters for kernel start method more general
2013-10-03 22:50:34 -05:00
MinRK
b322e72bee
add Kernel.clear_callbacks_for_msg
2013-09-17 11:02:51 -07:00
MinRK
971aea1eda
trigger Kernel.status_started
after websockets open
...
This leads to a more logical state for event watchers to expect.
2013-08-21 09:46:28 +02:00
Andrea Bedini
47b873295a
Fix documentation of Kernel.stop_channels
2013-08-04 13:07:50 +10:00
Min RK
ac88931fee
Merge pull request #3850 from minrk/store_history
...
add missing store_history key to Notebook execute_requests
2013-07-30 18:25:37 -07:00
MinRK
9845ba1416
add missing store_history key to Notebook execute_requests
2013-07-30 16:29:35 -07:00
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.
2013-07-30 13:04:27 -07:00
MinRK
d3540da8f5
add missing block key in complete_request
2013-07-25 13:19:07 -07:00
MinRK
defd49a8b9
comply with the message spec in object_info requests
...
missing detail_level key
2013-07-25 13:11:07 -07:00
MinRK
cea07fb351
bind kernel events in Kernel.bind_events
...
avoids multiple-register of send_input event
2013-07-21 10:40:09 -07:00
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
2013-06-29 15:35:39 -07:00
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
2013-06-27 11:14:10 -07:00