Commit Graph

1059 Commits

Author SHA1 Message Date
Paul Ivanov
3cf601b58e initial bootstrap tour
One way to get it to play currently is with a cell like this:

    %%javascript
    $.getScript('/static/notebook/js/tour.js')

provided that you have Bootstrap Tour installed in the components
2014-02-28 20:01:48 -08:00
MinRK
15fac2c1d6 make input_area css generic to cells
removes otherwise-identical text_cell_input class in text cells
2014-02-28 16:52:00 -08:00
MinRK
983271a36f use on-load event to trigger resizable images
instead of timeout, which could get incorrect size information.

closes #5219
2014-02-28 16:46:55 -08:00
Brian E. Granger
88460cd212 Merge pull request #5175 from jdfreder/html-take2
Audit .html() calls take #2
2014-02-28 15:56:12 -08:00
Brian E. Granger
88fc1a0737 Merge pull request #5146 from jdfreder/modal-fix
Dual mode bug fixes.
2014-02-28 15:54:41 -08:00
Jonathan Frederic
39d39d0ea6 s/trigger_edit_mode/edit_mode 2014-02-28 15:52:28 -08:00
Jonathan Frederic
c41fe67da2 Re-added removed refresh 2014-02-28 15:22:30 -08:00
Jonathan Frederic
3bcee30e8c Added comments to kbm and shrunk focus_cell lines 2014-02-28 15:11:21 -08:00
Jonathan Frederic
69e760841a Move should cancel blur into codecell 2014-02-28 15:06:47 -08:00
Jonathan Frederic
4fdc99e111 Remove notebook load log succes 2014-02-28 15:03:27 -08:00
Jonathan Frederic
a6f883d7f2 Couple of whiteboard logic implementation misses 2014-02-28 14:30:06 -08:00
Jonathan Frederic
9451589e38 implemented whiteboard logic 2014-02-28 14:18:56 -08:00
Paul Ivanov
f8ab13b675 Merge pull request #5215 from ivanov/running-kernels
Dashboard "Running" Tab
2014-02-27 19:57:50 -08:00
Paul Ivanov
938f4bdfc4 small whitespace cleanup, renamed drag_info
in the dashboard, I've renamed drag_info to notebook_list_info, so
applying style to notebook_list_info and running_list_info can be done
in one place.
2014-02-27 19:36:42 -08:00
Paul Ivanov
eb4e674598 remove redundant checks in code 2014-02-27 18:13:53 -08:00
Paul Ivanov
14239c01e4 use explicit running header name + jquery's toggle 2014-02-27 17:59:16 -08:00
Jonathan Frederic
0884716a7d Re-added widget textbox blur fix FF 2014-02-27 16:15:11 -08:00
Jonathan Frederic
bfc51c2a29 Final touches? 2014-02-27 16:09:00 -08:00
Jonathan Frederic
c5fb037e41 Reorg index and focus_editor params on edit_mode func 2014-02-27 15:52:05 -08:00
Jonathan Frederic
048ca30b0c Remove fixes that are implemented correct in new CM 2014-02-27 15:47:01 -08:00
Brian E. Granger
e847a31348 Always refresh the CM editor upon TextCell unrender. 2014-02-27 15:45:06 -08:00
Jonathan Frederic
b976804051 Moved edit_mode canceling logic back into cell. 2014-02-27 15:45:06 -08:00
Jonathan Frederic
ff37fb7a36 Standardized comments and removed last logs 2014-02-27 15:45:06 -08:00
Jonathan Frederic
64ae25508d Removed change that is no longer needed 2014-02-27 15:45:06 -08:00
Jonathan Frederic
70086d352f s/unfocus/blur 2014-02-27 15:45:06 -08:00
Jonathan Frederic
c7860d8bc8 Post in person review
Removed logic for reverse ordered events
Removed almost all of the log statements
Removed list for should unfocus callbacks
Removed all the logic in focus_editor
Only call focus_editor if the keyboard was used to enter edit mode
2014-02-27 15:45:06 -08:00
Jonathan Frederic
3595c099c2 Fixed rebase problems 2014-02-27 15:45:06 -08:00
Jonathan Frederic
10d79a9102 Added cell unfocus event canceller API 2014-02-27 15:45:05 -08:00
Jonathan Frederic
a6aaa8a886 Use is_focused for element kbman removal event 2014-02-27 15:45:05 -08:00
Jonathan Frederic
6f7c502157 Fixed lots of bugs
Half overhaul of notebook focus events...
2014-02-27 15:45:05 -08:00
Jonathan Frederic
206d35a89e DEBUG
Added lots of log calls and a couple small 'fixes' (attempts)
2014-02-27 15:45:05 -08:00
Jonathan Frederic
7913305312 jshint 2014-02-27 15:45:05 -08:00
MinRK
bdde544d47 don't forget base_url when updating address bar in rename 2014-02-26 15:01:07 -08:00
Paul Ivanov
b74b10e308 added IPython.session_list
before this, kernel_list and notebook_list each fetched and held onto
their own copy of the sessions.
2014-02-25 18:09:16 -08:00
Jonathan Frederic
6c1ef48f1a Merge pull request #5173 from jdfreder/movewidgets
Moved widget files into static/widgets/*
2014-02-25 16:14:10 -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
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
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
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
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
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
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
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
Paul Ivanov
3b109de563 minimal KernelList 2014-02-20 17:37:46 -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
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
d1d863af86 fab css 2014-02-19 14:14:14 -08:00
Jonathan Frederic
3b8beec541 Added a class for RadioButtons container
with appropriate top padding...
2014-02-19 14:14:14 -08:00
Jonathan Frederic
033ea6d88c Added bottom margin to text widget 2014-02-19 14:14:14 -08:00
Paul Ivanov
efc01b8854 remove append_json reference
we never had such a method
2014-02-18 23:41:10 -08:00
Paul Ivanov
7b5c834649 fix IPython typo, closes #5155 2014-02-18 21:10:25 -08:00
Jonathan Frederic
a7fb5e1e55 Merge pull request #5114 from minrk/empty-button
use non-breaking space for button with no description
2014-02-17 08:37:08 -08:00
MinRK
ea8896399b remove application/pdf->pdf transform in javascript
We have the old transforms because they were added before we realized it was a bad idea. We should not add new ones.
2014-02-15 13:21:37 -08:00
Thomas Kluyver
d6986cf4ec Merge pull request #4778 from minrk/install-nbextensions
add APIs for installing notebook extensions
2014-02-14 15:21:15 -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
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
MinRK
a184724bdb remove base_kernel_url 2014-02-11 21:26:10 -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
Jonathan Frederic
1c564131c5 Fixed, set on recieve update triggering echos. 2014-02-10 15:46:28 -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
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
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
Jonathan Frederic
ff14cabf7f Change stretch to flex-start 2014-02-09 13:51:19 -08:00
Jonathan Frederic
184a0933df fab css 2014-02-09 13:51:18 -08:00
Jonathan Frederic
aba9f7e9f8 Automatic width adjustment for flex0 2014-02-09 13:51:18 -08:00
Jonathan Frederic
2d367aa7ab fab css 2014-02-09 13:51:17 -08:00
Jonathan Frederic
7ae028e01f Corrected a lot of small misuses of the new flex model. 2014-02-09 13:51:17 -08:00
MinRK
8264362179 document utils.parse_url 2014-02-08 23:09:25 -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
24e59106c0 add utils.parse_url
strip repeated '//' in url_path_join
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
e7db8cfd4e fix notebook_path in menu bar 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
24703985e9 only add .ipynb if extension is not included
prevents .ipynb.ipynb double extension
2014-02-08 23:09:24 -08:00
MinRK
61b06a39e2 holy crap, semicolons 2014-02-08 23:09:23 -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
MinRK
beaa75b416 add utils.get_data
for extracting *decoded* items from $('body').data
2014-02-08 23:09:23 -08:00
MinRK
f3f1695b06 add IPython.load_extensions in js 2014-02-08 21:32:31 -08:00
Brian E. Granger
d3567f4cb0 Merge pull request #4920 from ellisonbg/pdf-formatter
Adding PDFFormatter and kernel side handling of PDF display data
2014-02-08 10:11:34 -08:00
Brian E. Granger
fc6b68a8aa Merge pull request #5048 from ellisonbg/modal-indicator
Add edit/command mode indicator
2014-02-08 10:04:27 -08:00
Brian E. Granger
9b21f618e6 Merge pull request #5061 from minrk/execute-button
make execute button in menu bar match shift-enter
2014-02-08 10:03:24 -08:00
Brian E. Granger
22136b5e38 Merge pull request #5052 from ellisonbg/pager-q
Add q to toggle the pager.
2014-02-08 10:02:56 -08:00
MinRK
95d3d6de8b fix flex: auto
flex: 0 doesn't seem to mean what box-flex meant (auto)

closes #5069
2014-02-07 20:20:24 -08:00
Brian E. Granger
5a087f2a66 To the most conservative choice. 2014-02-07 20:00:25 -08:00
Brian E. Granger
31301c4194 Just close the pager with q, not toggle. 2014-02-07 19:43:20 -08:00
Brian E. Granger
4e37e901d8 Add q to toggle the pager. 2014-02-07 19:37:27 -08:00
MinRK
24ef1be736 make execute button in menu bar match shift-enter
Noticed this when testing the UI on the IPad.
I expected the button to perform the default execute behavior,
but it doesn't.
2014-02-07 15:26:20 -08:00
Thomas Kluyver
2d973d2b14 Merge pull request #5051 from jdfreder/ff-hscroll2
FF Fix: code cell missing hscroll (2)
2014-02-07 15:19:52 -08:00
Jonathan Frederic
b5d772eb65 fab css 2014-02-07 15:08:57 -08:00
MinRK
7032e9ef69 set overflow-x: hidden on Firefox only
workaround crazy Firefox-only behavior when selecting newlines

closes #3549
Conflicts:
	IPython/html/static/style/style.min.css
2014-02-07 15:08:35 -08:00
Jonathan Frederic
33586b7ac8 Convert tabs to spaces 2014-02-06 16:27:45 -08:00
Brian E. Granger
445f6225e8 Spinning sun + nothing for command mode. 2014-02-06 14:54:40 -08:00
Brian E. Granger
2b4559513d Adding basic append_pdf in OutputArea. 2014-02-06 14:22:50 -08:00
Jonathan Frederic
cbffa6433f fab css 2014-02-06 14:04:25 -08:00
Jonathan Frederic
66c14d34ce New 'flex' support
http://dev.w3.org/csswg/css-flexbox/
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes
2014-02-06 14:02:18 -08:00
Jonathan Frederic
5e5aecb4c2 Revert #3552 2014-02-06 10:24:54 -08:00
Jonathan Frederic
0ec796cfc7 Removed #4986 2014-02-06 10:21:16 -08:00
Brian E. Granger
2d1f3c86d1 Delete old timeout. 2014-02-05 23:05:40 -08:00
Brian E. Granger
af884b797f Add edit/command mode indicator. 2014-02-05 22:58:33 -08:00
Brian E. Granger
62d118afc7 Clear timeout in multi-press keyboard shortcuts. 2014-02-05 19:15:01 -08:00
Brian E. Granger
2b248d65b0 Merge pull request #5035 from jdfreder/ff-hscroll
FF Fix: code cell missing hscroll
2014-02-05 18:46:11 -08:00
Min RK
cd7c1e6fae Merge pull request #5001 from ellisonbg/dashboard-dirs
Add directory navigation to dashboard
2014-02-05 17:21:43 -08:00
Brian E. Granger
7ab69652ea Breadcrumb home icon. 2014-02-05 15:35:46 -08:00
Jonathan Frederic
a11596f7e7 fab css 2014-02-05 12:46:20 -08:00
Jonathan Frederic
65fba24d92 FF Fix: make ext icon same line as txt 2014-02-05 12:45:52 -08:00
MinRK
e0a7793226 don't strip '.ipynb' from notebook names in nblist
The only place the extension is not wanted is editing a name during upload.
Everywhere else, it's actually wanted.
2014-02-05 12:25:55 -08:00
Jonathan Frederic
17abd86054 fab css 2014-02-05 12:01:08 -08:00
Jonathan Frederic
635fc4fbe2 FF Fix: missing scrollbars on inner_cells 2014-02-05 11:57:29 -08:00
Min RK
a5feb922a3 Merge pull request #4774 from Carreau/emit-output
emit event on appended element on dom
2014-02-04 16:53:51 -08:00
Brian E. Granger
e765f894b6 Merge pull request #5023 from jdfreder/widget-arrays
Widgets- add ability to pack and unpack arrays on JS side.
2014-02-04 16:43:50 -08:00
Brian E. Granger
9f9fe08f0f Cleaning up the dashboard CSS and fixing small visual problems. 2014-02-04 15:53:27 -08:00
Brian E. Granger
dd126fce6d Tighten spacing of dashboard. 2014-02-04 15:53:27 -08:00
Brian E. Granger
e6c0e462ac Taking it down to 3px. 2014-02-04 15:53:27 -08:00
Brian E. Granger
2df5c0b7d1 Adding btn-danger to Shutdown button. 2014-02-04 15:53:27 -08:00
Brian E. Granger
58a3daba5c Tighten up vertical spacing of notebook list. 2014-02-04 15:53:27 -08:00
Brian E. Granger
775ebc72e0 Update styling of dashboard. 2014-02-04 15:53:27 -08:00
Brian E. Granger
86ba08213f Add directory browsing to the dashboard. 2014-02-04 15:52:49 -08:00
Brian E. Granger
a3ef3109db Server side logic for directories. 2014-02-04 15:52:49 -08:00
Brian E. Granger
2c5db865d4 Merge pull request #4974 from ivanov/better-paste
make paste focus the pasted cell
2014-02-04 15:36:36 -08:00
Brian E. Granger
350705075b Merge pull request #5012 from minrk/selection-dict
Make `SelectionWidget.values` a dict
2014-02-04 15:27:23 -08:00
Jonathan Frederic
818f5e7824 Added ability to pack and unpack arrays. 2014-02-04 15:05:17 -08:00
Min RK
0cb4a450a6 Merge pull request #5014 from jdfreder/widget-popup-keys
Fix command mode & popup view bug
2014-02-04 10:13:52 -08:00
Jonathan Frederic
4a314ea3da Unconditionally register $el with keyboard manager
also s/elements/additional_elements
2014-02-04 09:44:38 -08:00
Matthias BUSSONNIER
bb27cd0de5 more subtle kernel indicator
add casper.wait_for_busy
like wait_for_idle, but busy

restore kernel notification widget
it's still used for interrupt / restart

use wait_for_busy in check_interrupt test
2014-02-04 11:40:39 +01:00
MinRK
3e1f2e22f8 Make SelectionWidget.values a dict
rename 'labels' and '_value' to 'value_names' and 'value_name'.

To specify a mapping of value names and values, use a dict.
If you specify `values=[list]`, then an OrderedDict will be used.

Assignment after construction only supports a dict.
2014-02-03 17:15:06 -08:00
Jonathan Frederic
ef2c71c34d Fix command mode & popup view bug
Added elements property to PopupView
2014-02-03 16:47:06 -08:00
Thomas Kluyver
0ec7cf1b30 Merge pull request #5010 from jdfreder/widget-ff
Fixes for widget alignment in FF
2014-02-03 15:15:38 -08:00
Jonathan Frederic
1ddceb3844 Container classes should default with 'vbox' css 2014-02-03 12:52:51 -08:00
Jonathan Frederic
f015aabba6 fab css 2014-02-03 12:43:50 -08:00
Jonathan Frederic
b20466386c fix width overriden by 04abbe99 2014-02-03 12:41:52 -08:00
Brian E. Granger
2b7310f794 Merge pull request #4933 from jdfreder/widget-model-name
Small Widget inconsistency fixes
2014-02-03 12:38:03 -08:00
Thomas Kluyver
91054043c0 Merge pull request #4979 from minrk/clear-output-msgspec
add versioning notes to small message spec changes
2014-02-03 12:19:07 -08:00
Thomas Kluyver
7c64d8de34 Merge pull request #4893 from minrk/font-awesome-3.2
add font-awesome 3.2.1
2014-02-03 12:09:30 -08:00
Brian E. Granger
5fc70a924d Merge pull request #4982 from ellisonbg/slider-readout
Live readout for slider widgets
2014-02-03 12:05:47 -08:00
Thomas Kluyver
fae8b28ba8 Merge pull request #4813 from Carreau/help-link
make help menu a template
2014-02-03 11:02:06 -08:00
Paul Ivanov
0f86d8c909 Merge pull request #4964 from ptone/merge-above
remove shift-= merge keyboard shortcut
2014-02-02 17:18:35 -08:00
Preston Holmes
1d1e3b3932 remove alternate merge down shortcut
as shift+m is universal and sufficient
2014-02-02 07:45:00 -08:00
damianavila
6ced0bcbac Added automatic close of Brackets. 2014-02-01 11:43:39 -03:00
Matthias BUSSONNIER
03b5e0b2e0 put OutputArea map at the end 2014-02-01 11:42:28 +01:00
Matthias BUSSONNIER
38807bb59f make help menu a templates
add splitline after keyboard shortcut
float external-link icon to the right

and move the 'title' to the individual elements,
so it follows hover.
2014-02-01 11:26:00 +01:00
Brian E. Granger
651599d092 Finishing the readout style and functionality. 2014-01-31 21:17:32 -08:00
Brian E. Granger
cef93c8cfb Adding initial version of readout to sliders. 2014-01-31 20:56:12 -08:00
Min RK
fbece64242 Merge pull request #4929 from ellisonbg/modal-fixes
Fixing various modal/focus related bugs

closes #4809
closes #4951
2014-01-31 20:40:25 -08:00
Min RK
003c5e8eda Merge pull request #4971 from ellisonbg/testjs-fd
Fixing issues with js tests
2014-01-31 20:38:32 -08:00
Brian E. Granger
82a4538759 Notebook.delete should take no args. 2014-01-31 18:13:01 -08:00
MinRK
1b74ee0c3e note v4.1 msg spec change in clear_output handler 2014-01-31 16:54:30 -08:00
Paul Ivanov
836fd887dc make paste focuses the pasted cell
This is to make paste behave in the same manner that insert cell above
and below currently work (inserting a new item causes that item to
receive focus).

This solves a problem where, if a user pastes below a cell whose bottom
edge is below the current viewing area, they have no indication that any
action has occurred. The same applies for paste above a cell whose top
edge is occluded.
2014-01-31 12:03:30 -08:00
Brian E. Granger
aa71651468 Fixing issues with js tests.
* Closing old pages to prevent fd leaks.
* Making sure kernels are killed to prevent fd leaks.
* Moving towards deleting old notebooks (this is not done, but
  this should be merged as is).
2014-01-31 10:42:23 -08:00
Min RK
7f9ee9cba7 Merge pull request #4916 from ellisonbg/modalbehavior
Fine tuning the behavior of the modal UI

swap back shift- and ctrl-enter, to their rightful places.
2014-01-31 10:32:27 -08:00
MinRK
2477ed0fed update css with font-awesome 3.2.1 2014-01-31 10:25:20 -08:00
MinRK
3535163f67 font-awesome 3.2 moved resources 2014-01-31 10:24:23 -08:00
Kieran O'Mahony
699bfcc709 Fix error message typo on web socket fail 2014-01-31 15:07:43 +11:00
Preston Holmes
547316fec3 Fixed typos in quick-help text 2014-01-30 14:31:30 -08:00
Brian E. Granger
e2c20e0675 Rename _handle_new_view->_handle_display_view. 2014-01-30 13:44:31 -08:00
Brian E. Granger
6298b16a44 Fixing help strings for shift|ctrl+enter. 2014-01-30 10:11:36 -08:00
Brian E. Granger
dbed35c5b1 shift+enter and ctrl+enter swapped. 2014-01-30 10:11:36 -08:00
Brian E. Granger
bcd4209375 alt+enter should always insert below 2014-01-30 10:11:36 -08:00
Brian E. Granger
4c7ce61011 Don't enter edit mode when changing cell type and preserve renderd. 2014-01-30 10:11:35 -08:00
Brian E. Granger
8c046fef99 Only call register_events on top level widget. 2014-01-30 10:11:12 -08:00
Brian E. Granger
36ca1b0baf Dont' force command mode in kbm.register_events. 2014-01-30 10:11:12 -08:00
Brian E. Granger
63ae9e2fd7 Fixing this->that. 2014-01-30 10:11:12 -08:00
Brian E. Granger
5f4d4017c1 Only call CM.focus() if CM is not already focused. 2014-01-30 10:11:11 -08:00
Min RK
888698e12f Merge pull request #4662 from ellisonbg/menu-cleanup
Menu cleanup
2014-01-29 20:23:12 -08:00
Brian E. Granger
7c722d4b6c Merge pull request #4824 from minrk/sign-notebooks
sign notebooks
2014-01-29 16:38:08 -08:00
Brian E. Granger
d21258bbcc Reset file upload form after an upload. 2014-01-29 15:53:20 -08:00
Brian E. Granger
9fbeaa1e37 Properly set uploaded notebook path. 2014-01-29 15:33:02 -08:00
Jonathan Frederic
6f3ef63ac9 s/Underscore/_ 2014-01-29 12:37:45 -08:00
Brian E. Granger
ffe92842fc Merge pull request #4853 from minrk/imgmd
fix setting image height/width from metadata
2014-01-29 10:56:50 -08:00
Matthias BUSSONNIER
9d54212f17 reorder class properties 2014-01-29 08:13:26 +01:00
Matthias BUSSONNIER
8c57e9e788 Fixme comment + whatsnew 2014-01-29 08:06:19 +01:00
Matthias BUSSONNIER
aa5477beb7 fix Brian and Min comment 2014-01-29 08:06:18 +01:00
Matthias BUSSONNIER
9f2203340a emit event when mimetype are append to output area. 2014-01-29 08:04:35 +01:00
Brian E. Granger
ff6d6abb12 Formatting cleanup of renderedhtml.less. 2014-01-28 19:43:14 -08:00