MinRK
cc1ba8b1f7
remove incorrect is instance check in children_changed
2014-02-25 15:00:48 -08:00
MinRK
c89ec19fca
don't check shape of ContainerWidget.children
2014-02-25 14:37:12 -08:00
Jonathan Frederic
7855de2f13
s/CTuple/Tuple
2014-02-25 13:50:58 -08:00
Jonathan Frederic
dedbc3b0e1
Changed children list to CTuple.
...
Also removed some unused refences in the widget code
and added support for tuples in the pack/unpack code.
2014-02-25 09:46:27 -08:00
Min RK
0117b587ab
Merge pull request #4985 from damianavila/closebrackets
...
Enable autoCloseBrackets in CodeMirror by default.
2014-02-25 09:04:22 -08:00
MinRK
bb7f27541f
write config instead of direct assignment from the command-line
...
Gross.
2014-02-24 15:48:43 -08:00
MinRK
6e09314027
fixup positional arg parsing in notebook app
...
- `ipnb .` triggers override of sub-config, even when the parent isn't changed
- `ipnb /path/nb.ipynb` sets notebook_dir to `/path`
2014-02-24 15:42:49 -08:00
Paul Ivanov
06c689caa3
remove reiterated repetitively redundant "actively"
2014-02-24 15:02:08 -08:00
Paul Ivanov
a2b9c75e93
don't double-join the notebook path
2014-02-24 14:18:22 -08:00
Paul Ivanov
a27168ae3b
refresh of Notebook list should reload sessions
2014-02-24 13:12:15 -08:00
Paul Ivanov
af90cd8c62
fix typo in method name
2014-02-24 13:11:50 -08:00
Paul Ivanov
cb1bb62272
ok, Running tab is working now
2014-02-24 13:11:13 -08:00
Min RK
c73acb300f
Merge pull request #5200 from Carreau/jinja-no-cache
...
Allow to pass option to jinja env
2014-02-23 22:15:29 -08:00
Matthias BUSSONNIER
816df5bb34
Allow to pass option to jinja env
...
Mainly to pass cache_size=-1 while developping not to cache templates
2014-02-23 23:28:57 +01:00
zah
439003d709
Children fire event
...
Now when a container widget is displayed, the _handle_displayed method
of each of its children is fired.
2014-02-23 20:31:39 +01:00
MinRK
e02308e436
capture logging in a few tests
...
this could probably be made more general,
but these were the two places I noticed log output.
2014-02-22 21:12:19 -08:00
Fernando Perez
371afec677
Merge pull request #5112 from minrk/completion-band-aid
...
Band-aid for completion in the notebook: not the ideal solution, but will have to do the job for now so that typing while completing works.
closes #4860
2014-02-21 18:08:19 -08:00
Brian E. Granger
84c9b8e041
Merge pull request #5181 from minrk/gnureadline
...
use gnureadline on OS X
2014-02-21 16:34:50 -08:00
Brian E. Granger
708c30c912
Merge pull request #5136 from minrk/interact-default
...
set default value from signature defaults in interact
2014-02-21 16:28:52 -08:00
Brian E. Granger
edb8d68331
Merge pull request #5132 from minrk/oops-pdf-transform
...
remove application/pdf->pdf transform in javascript
2014-02-21 16:28:12 -08:00
Brian E. Granger
7a35e2a0be
Merge pull request #5116 from minrk/os_path
...
reorganize who knows what about paths
2014-02-21 16:27:05 -08:00
Jonathan Frederic
28423647a2
Updated require references to point to new files
2014-02-21 16:25:52 -08:00
Jonathan Frederic
e0ba52c802
Moved widget files into static/widgets/*
...
Since they do not depend on anything ntoebook related
2014-02-21 16:25:52 -08:00
Min RK
612acd2e08
Merge pull request #5170 from jdfreder/widget-throttle-trait
...
Added msg_throttle sync=True widget traitlet
2014-02-21 15:32:10 -08:00
MinRK
386274488d
don't create notebook_dir if it doesn't exist
2014-02-21 13:22:57 -08:00
MinRK
d37780c6a6
use config instead of App.instance to propagate notebook_dir
...
Should behave more logically (I hope).
2014-02-21 13:22:57 -08:00
MinRK
f9e8824fef
use NotebookManager APIs in nbconvert handler
2014-02-21 13:22:56 -08:00
MinRK
cb25736a24
reorganize who knows what about paths
...
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir
Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.
SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
2014-02-21 13:22:56 -08:00
Brian E. Granger
eda4569099
Merge pull request #5037 from jdfreder/ff-widget-align
...
FF Fix: alignment and scale of text widget
2014-02-21 12:37:40 -08:00
MinRK
9417c4071d
only depend on readline package in CPython
...
shouldn't try to install it on PyPy
not sure about PyReadline on PyPy on Windows
2014-02-21 12:16:19 -08:00
Brian E. Granger
9c8757bc63
Merge pull request #5179 from minrk/rm-ws-url
...
remove websocket url
2014-02-21 11:39:41 -08:00
Jonathan Frederic
ef3f61f906
Use set_rendered to set the error msg of the cell.
2014-02-21 10:31:29 -08:00
Jonathan Frederic
946212d5fa
Treat set_rendered as unsafe.
2014-02-21 10:05:07 -08:00
Jonathan Frederic
407fc0a017
s/with with/with
2014-02-21 09:42:14 -08:00
Jonathan Frederic
6a224d131b
Move todos into set_rendered
2014-02-21 09:40:14 -08:00
MinRK
990756af98
adjust dependency check for gnureadline on OS X
...
- always depend when making a bdist (for consistency)
- otherwise only depend if missing (e.g. pip install -e)
2014-02-21 01:57:14 -08:00
MinRK
1491e4cec6
depend on new gnureadline instead of readline on OS X
...
this is the same package under a different name,
to avoid the stdlib-overriding behavior that relied on easy_install's unpleasantness.
2014-02-21 01:50:36 -08:00
MinRK
62f318c777
undo failed changes
...
before raising
otherwise, invalid values were still accepted
2014-02-20 22:57:01 -08:00
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
b51cc50357
further tests for default values in interact
...
both valid and invalid
2014-02-20 22:37:04 -08:00
MinRK
acfc2d5308
set default value from dict
2014-02-20 22:36:42 -08:00
Paul Ivanov
3b109de563
minimal KernelList
2014-02-20 17:37:46 -08:00
Brian E. Granger
4bd315bda0
Merge pull request #5147 from minrk/static-url-version
...
Some template URL changes
2014-02-20 17:05:09 -08:00
Paul Ivanov
b3c1164798
put Running tab on the page
2014-02-20 17:01:51 -08:00
Brian E. Granger
db4960769b
Merge pull request #5100 from minrk/base_kernel_url
...
remove base_kernel_url
2014-02-20 17:00:38 -08:00
Jonathan Frederic
ad03225cf6
Audit .html() calls take #2
2014-02-20 15:46:44 -08:00
Jonathan Frederic
82bbcf166d
Fixed .. typo
2014-02-20 13:14:37 -08:00
Jonathan Frederic
0e56051a01
Added parentheses to emphasize order of op.
2014-02-20 08:48:05 -08:00
Jonathan Frederic
0eebd9e05b
Added msg_throttle sync=True widget traitlet
2014-02-20 08:41:05 -08:00
Jonathan Frederic
cecf7cf06f
Fixed radio button selector for new radio button class
2014-02-19 14:48:21 -08:00