MinRK
8353e85e48
test check_nbextension
2014-02-13 19:46:36 -08:00
MinRK
e903297a15
clarify with all in check_nbextension
2014-02-13 19:38:16 -08:00
MinRK
475ac234b4
typo
2014-02-13 19:37:57 -08:00
Thomas Kluyver
df0743c41c
Merge pull request #5097 from minrk/logging-some-more
...
minor notebook logging changes
2014-02-13 17:26:01 -08:00
Thomas Kluyver
53cbcfc3bb
Merge pull request #5047 from minrk/check-pkg-data
...
only validate package_data when it might be used
2014-02-13 17:17:36 -08:00
Min RK
a7e9a3e867
Merge pull request #5121 from minrk/fix-remove-enable
...
fix remove event in KeyboardManager.register_events
2014-02-13 11:22:17 -08:00
MinRK
59d3a8ff5f
handle empty string in ToggleButtonsWidget
2014-02-13 11:08:45 -08:00
MinRK
9c452998ea
add utils.escape_html
2014-02-13 11:08:44 -08:00
MinRK
0eff2bb651
handle space-only strings, not just zero-length
2014-02-13 11:08:44 -08:00
MinRK
c50096334c
use non-breaking space for button with no description
...
to preserve button's size
reverses some inappropriate replacements of .html with .text.
closes #5113
2014-02-13 11:08:44 -08:00
MinRK
fd346d1790
fix remove event in KeyboardManager.register_events
...
only call enable on remove when focused.
fixes a bug where command mode could be entered inappropriately
when non-focused elements are removed from the page
(see first `@interact` example).
2014-02-13 10:51:33 -08:00
Min RK
3ff0cd79c4
Merge pull request #5119 from jdfreder/var_ins
...
Removed 'list' view from Variable Inspector example
2014-02-13 09:45:27 -08:00
Jonathan Frederic
f981625bbd
Removed 'list' view
...
Only provide 'details' view
2014-02-13 09:36:24 -08:00
Kyle Kelley
feccfa7823
Add pointers to simple nb manager and bookstore.
2014-02-13 10:16:13 -07:00
Min RK
3306e386d6
Merge pull request #4925 from khinsen/notebook-manager-api
...
Notebook manager API fixes
remove various `_model` suffixes
2014-02-12 21:36:47 -08:00
MinRK
a1e263785c
band-aid for completion
...
Unlike @Carreau's attempt at using proper CodeMirror completion,
this is just a band-aid to get the existing completion back to working for 2.0.
This adds a keypress handler on the completer,
which then calls insert with the charCode of the key press event,
replacing the final `elif` branch of the keydown handler.
This cannot be done with keydown,
since keydown doesn't know what character is incoming,
only the hardware key that is struck.
2014-02-12 17:21:40 -08:00
Kyle Kelley
c9adc812bf
Remove remaining refs to the Azure NB Manager
2014-02-12 14:18:04 -07:00
MinRK
a184724bdb
remove base_kernel_url
2014-02-11 21:26:10 -08:00
MinRK
e5df456949
minor notebook logging changes
...
log refer only on 4XX, and never log user agent
This function was ported from nbviewer, and some of the choices were not quite right for the notebook server.
2014-02-11 15:33:07 -08:00
Brian E. Granger
24c27ce5e5
Merge pull request #5059 from jdfreder/widgets-patch-fix
...
Fix incorrect `Patch` logic in widget code
2014-02-11 14:51:53 -08:00
Brian E. Granger
46c88a8875
Merge pull request #5075 from jdfreder/flex-model-2
...
More flexible box model fixes
2014-02-11 14:41:11 -08:00
Thomas Kluyver
4fe5e83f17
Merge pull request #5090 from khinsen/user-friendly-iptest
...
Print a warning when iptest is run from the IPython source directory
2014-02-11 10:43:54 -08:00
Konrad Hinsen
4058786dcd
Print a warning when iptest is run from the IPython source directory
2014-02-11 19:15:28 +01:00
Konrad Hinsen
fdb8ab37ae
Rearrange the NotebookManager methods for clarity
...
Methods are organized into three categories:
- Methods that must be implemented in subclasses
- Methods that have default implementations, but can
be overridden if required.
- Support methods meant to be called by methods in subclasses
2014-02-11 12:30:19 +01:00
Konrad Hinsen
b1c6ba2c97
Move method increment_filename from FileNotebookManager to NotebookManager
...
The implementation requires only a minor change (call notebook_exists
rather than checking for file existence) to be universally usable
in other notebook managers.
2014-02-11 12:26:57 +01:00
Konrad Hinsen
0a430f5840
Add method notebook_exists to NotebookManager.
...
It is called by IPython.html.notebook.NotebookHandler.get,
so it must be implemented by every notebook handler.
2014-02-11 12:26:06 +01:00
Konrad Hinsen
26e3e31ad8
NotebookManager API: rename *notebook_model methods to *notebook
2014-02-11 12:25:57 +01:00
Jonathan Frederic
1c564131c5
Fixed, set on recieve update triggering echos.
2014-02-10 15:46:28 -08:00
Jonathan Frederic
3d408f5241
Added a test to make sure full state was not getting sent.
2014-02-10 15:46:05 -08:00
Jonathan Frederic
7b2787e508
Fixed typo
2014-02-10 14:50:49 -08:00
Jonathan Frederic
f4f2c92285
Keep a running diff instead of forcing a full state update
2014-02-10 14:50:49 -08:00
Jonathan Frederic
770d2bd3a0
Only send diff message if diff isn't corrupt.
...
Diff will corrupt if more then one model.set(...) call is made
before model.save (or view.touch() in our case).
2014-02-10 14:50:49 -08:00
Jonathan Frederic
fbf700e5d2
Fixed typo in new test
2014-02-10 14:50:49 -08:00
Jonathan Frederic
a173e684c6
Added test that shows the problem.
2014-02-10 14:50:49 -08:00
Jonathan Frederic
5667947f9d
Revert "Let backbone get changed attrs"
...
This reverts commit 4dd4990ff146508894353e390601c659d2638ed3.
2014-02-10 14:50:49 -08:00
Jonathan Frederic
36b576b0bd
Let backbone get changed attrs
2014-02-10 14:50:49 -08:00
Jonathan Frederic
cd72883fc7
Revert "Fix incorrect usage of attrs"
...
This reverts commit 04aa0885bb143fd0409fe133ca572004ffa6dc0e.
2014-02-10 14:50:49 -08:00
Jonathan Frederic
0d80363240
Fix incorrect usage of attrs
2014-02-10 14:50:49 -08:00
Jonathan Frederic
04c38db197
fab css
2014-02-10 09:41:43 -08:00
Jonathan Frederic
81f37ab49f
Added align-start to widget container.
2014-02-10 09:40:32 -08:00
Jonathan Frederic
30e3ec1cc1
fab css
2014-02-09 14:54:48 -08:00
Jonathan Frederic
b7326707da
output_scroll can't be a vbox.
2014-02-09 14:54:18 -08:00
Brian E. Granger
54f7d42244
Merge pull request #5078 from ellisonbg/js-readme
...
Updating JS tests README.md
2014-02-09 14:27:33 -08:00
Brian E. Granger
38c369c0d8
Updating JS tests README.md.
2014-02-09 14:15:54 -08:00
Brian E. Granger
2ecc5cacac
Merge pull request #5083 from minrk/one-nb-server
...
don't create js test directories unless they are being used
2014-02-09 13:54:53 -08:00
Jonathan Frederic
92da2088cd
fab css
2014-02-09 13:51:21 -08:00
Jonathan Frederic
59eb13d80d
Align-start widget subarea
2014-02-09 13:51:21 -08:00
Jonathan Frederic
af5b5cea7d
Revert "Change stretch to flex-start"
...
This reverts commit 774073116dd4195037c452d48f05b432bba38801.
2014-02-09 13:51:20 -08:00
Jonathan Frederic
6568dd5d71
Revert "fab css"
...
This reverts commit a45a2c0f2ae26e7b731dc54965a6b224a39454b4.
2014-02-09 13:51:20 -08:00
Jonathan Frederic
82a9adb3c8
fab css
2014-02-09 13:51:19 -08:00