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
a184724bdb
remove base_kernel_url
2014-02-11 21:26:10 -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
MinRK
a93040e810
s/get_data/get_body_data/
2014-02-08 23:09:24 -08:00
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
2014-02-08 23:09:24 -08:00
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
2014-02-08 23:09:23 -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
Min RK
0aaafce4af
Merge pull request #4195 from minrk/widget-msg
...
IPEP 21: widget messages
2013-10-24 12:19:41 -07:00
Paul Ivanov
357b78171a
fix: JS kernel state should reflect killed state
2013-10-23 12:22:08 -07: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
aea1bbde6a
s/session_id/id
2013-10-18 16:13:53 -07:00
MinRK
0558ec4ce0
Cells shouldn't know about Sessions
2013-10-18 16:13:53 -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
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.
2013-10-17 14:09:12 -07:00
Zachary Sailer
c26700cd3a
changes after session manager code review
2013-10-17 14:09:12 -07:00
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
2013-10-17 14:09:10 -07:00
Zachary Sailer
e9ac1c2d37
add tests for session api
2013-10-17 14:09:10 -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
fd282698bc
removing debug logs
2013-10-17 14:09:05 -07:00
Zachary Sailer
bfff3d817d
Fixed bug when linking kernel to new code cells
2013-10-17 14:07:51 -07:00
Zachary Sailer
ece92127d3
Add 'patch' to session & notebook, rename working
2013-10-17 14:07:51 -07:00
Zachary Sailer
d41544865a
fix kill_and_exit button in notebook
2013-10-17 14:07:50 -07:00
Zachary Sailer
62ec52e276
fix restart/interrupt kernel buttons
2013-10-17 14:07:50 -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