MinRK
3a4d719033
fix checkpoint filename
2013-10-23 10:37:08 -07:00
Thomas Kluyver
ab357f190b
Merge pull request #4393 from takluyver/tests-subproc-stream-capture
...
Capture output from subprocs during test, and display on failure
2013-10-23 10:28:16 -07:00
MinRK
922f458d6a
set kernel cwd to notebook's directory
...
closes #4424
2013-10-23 10:15:55 -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
90f67d3bbe
add CodeCell.get_callbacks
...
for reusing default execute callbacks
2013-10-22 19:45:36 -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
99680e21bd
move comm.js to base
2013-10-22 19:43:56 -07:00
MinRK
0e7f2831e4
test clear_output callback
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
aa388570d3
jshint on codecell
2013-10-22 19:43:55 -07:00
MinRK
7f9832fb73
add output callbacks test notebook
...
This should be converted to js tests after the testing framework has been merged.
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
9206d1e87f
add utils.always_new
...
wrapper allows passing constructors as callbacks, where `new` is required.
2013-10-22 19:41:06 -07:00
MinRK
111fccc8ab
open is not an event
...
target callback receives comm and open message, not just comm.
2013-10-22 19:40:36 -07:00
MinRK
aa0387a647
s/target/target_name
2013-10-22 19:40:35 -07:00
MinRK
f833b1ca03
hook up output for comm messages
2013-10-22 19:40:35 -07:00
MinRK
3d3c3fd504
COMM: mirror Python callback API in Javascript
2013-10-22 19:40:34 -07:00
MinRK
15819e8535
pass whole message to Comm handlers
2013-10-22 19:40:34 -07:00
MinRK
3665cc241f
rename widget to comm
2013-10-22 19:40:34 -07:00
MinRK
14fcdab73b
make js / Python widgets symmetrical
...
don't enforce creation on Kernel side
also removed weak refs - premature optimization,
we can think about this later.
2013-10-22 19:40:33 -07:00
MinRK
230a2261e8
fix js/Python WidgetManager symmetry
...
remove some log statements
2013-10-22 19:40:33 -07:00
MinRK
6643cffa23
add javascript-side widgets
2013-10-22 19:40:32 -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
Min RK
bc0dc279f1
Merge pull request #4303 from ipython/multidir
...
Add multidirectory support for the Notebook.
Major change to URL schemes in the notebook server,
documented in [IPEP 16](https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping ).
2013-10-22 18:45:30 -07:00
MinRK
ede0297874
tweak stat walk in forbid_hidden
2013-10-22 17:41:53 -07:00
MinRK
40cce4d7e3
s/os.path.sep/os.sep/
2013-10-22 17:36:34 -07:00
MinRK
112a694c5c
py3k bytes, for crying out loud
2013-10-22 17:32:24 -07:00
MinRK
2b54e36ab7
send ignored output to devnull
...
rather than PIPE, since Windows pipes can fill up.
2013-10-22 17:26:39 -07:00
MinRK
dbfea55e8a
stat has no st_flags on Windows (maybe elsewhere?)
2013-10-22 17:16:31 -07:00
MinRK
dfb538d881
Windows testing fixes
2013-10-22 17:16:31 -07:00
MinRK
77c1a10518
update test requirements for IPython.html
2013-10-22 16:29:59 -07:00
MinRK
1f90f4d7bb
test /files/ gives 403 on hidden files
2013-10-22 15:23:46 -07:00
MinRK
2fcc7fe97f
forbid serving hidden files from /files
2013-10-22 15:20:27 -07:00
Thomas Kluyver
bc16465b66
Clean up formatting sys info for test report
2013-10-22 15:17:38 -07:00
MinRK
a45e997176
don't warn when open_browser and not file_to_run
2013-10-22 09:54:28 -07:00
Paul Ivanov
8fb1d7391c
added some tooltips for the File menu
2013-10-21 23:42:03 -07:00
Paul Ivanov
474bd780ce
tooltips for View and Insert menus
2013-10-21 23:36:44 -07:00
Paul Ivanov
0f9a478abd
Kernel and Help menu tooltips
2013-10-21 23:31:27 -07:00
Paul Ivanov
69d06c02d7
add more tooltips for Cell menu
2013-10-21 23:24:48 -07:00
Paul Ivanov
bd22e4ae90
added descriptions which were deleted from JS
2013-10-21 22:40:48 -07:00
Paul Ivanov
b117f59b82
javascript is no place to start adding title tags
2013-10-21 22:34:08 -07:00