Commit Graph

839 Commits

Author SHA1 Message Date
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
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
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