Commit Graph

2090 Commits

Author SHA1 Message Date
Thomas Kluyver
a2bf752dba Remove unused imports in IPython.html 2013-07-02 22:31:40 +01:00
Min RK
7084556f19 Merge pull request #3510 from minrk/ffisbroken
use `window.onbeforeunload=` for nav-away warning

Firefox 22 broke `$(window).on("beforeunload")` somehow, for some reason, resulting in always showing a dialog, regardless of the function's return value.

closes #3509

The only fix I could find was resorting to the basic low-level API.
2013-07-02 09:51:51 -07:00
MinRK
b9706f23f5 use window.onbeforeunload= for nav-away warning
Firefox 22 broke `$(window).on("beforeunload")` somehow, for some reason,
resulting in always showing a dialog, regardless of the function's return value.

The only fix I could find was resorting to the basic low-level API.
2013-07-01 21:49:39 -07:00
Min RK
5fda0b9c52 Merge pull request #3504 from minrk/fixsession
don't use parent=self in handlers

handlers aren't configurable, so shouldn't be passed as parent.

closes #3502
2013-07-01 11:11:22 -07:00
MinRK
88668e65f8 don't use parent=self in handlers
handlers aren't configurable, so shouldn't be passed as parent.

closes #3502
2013-07-01 10:55:48 -07:00
Brian E. Granger
13c93844ed Merge pull request #3500 from ipython/nbconvert
Merge nbconvert into IPython
2013-07-01 10:33:20 -07:00
Brian E. Granger
202dec41e6 Merge pull request #3478 from minrk/rewarn
restore "unsaved changes" warning on unload
2013-06-30 21:52:19 -07:00
Brian E. Granger
b3dc666ac9 Merge pull request #3493 from minrk/restart-dialog
add a dialog when the kernel is auto-restarted
2013-06-30 21:50:09 -07:00
Brian E. Granger
70f726517a Merge pull request #3488 from takluyver/test_autoreload
Add test suite for autoreload extension
2013-06-30 21:42:40 -07:00
Brian E. Granger
c323717fe7 Merge pull request #3430 from minrk/configinstance
add parent to Configurable
2013-06-30 21:27:46 -07:00
Brian E. Granger
7d7912d732 Fixing test logic for nbconvert to get tests to pass. 2013-06-30 20:59:21 -07:00
Brian E. Granger
1c478745fa Fixing imports in setupbase.py. 2013-06-30 20:59:12 -07:00
Brian E. Granger
072a94370d Fixing install logic for nbconvert. 2013-06-30 18:05:02 -07:00
Brian E. Granger
390717c53a Fixing import for nbconvert. 2013-06-30 18:04:56 -07:00
MinRK
c7355b8ba7 move nbconvert into place as subpackage 2013-06-30 18:03:29 -07:00
MinRK
9fca75762f merge nbconvert 2013-06-30 18:02:21 -07:00
MinRK
1d64597ea8 move restart dialog to notebook.js 2013-06-29 15:48:14 -07:00
MinRK
d8fa8eea04 add a dialog when the kernel is auto-restarted
adds the autorestart status event for the dialog

so that user-restart is distinct from server-side auto restart.

closes #3490
2013-06-29 15:35:39 -07:00
Min RK
a06509f8e1 Merge pull request #3491 from takluyver/notebook-kernel-died
Remove unexpected keyword parameter to remove_kernel

now is a relic from before cleaning up the kernel manager / restart logic

closes #3474
2013-06-29 15:16:46 -07:00
Thomas Kluyver
acb7eefef8 Remove unexpected keyword parameter to remove_kernel
Closes gh-3474
2013-06-29 23:01:34 +01:00
Thomas Kluyver
e4a08d1036 Add test suite for autoreload extension
Closes gh-1912
2013-06-29 22:29:51 +01:00
MinRK
bd03a99e28 use parent=self throughout IPython
instead of `config=self.config`

only real effective change: IPythonKernelApp.parent has been renamed to IPKernelApp.parent_handle.
2013-06-29 12:41:17 -07:00
Paul Ivanov
458d84bd58 Merge pull request #3482 from vitaut/master
Use an absolute path to iptest, closes #3480
2013-06-29 10:14:27 -07:00
Victor Zverovich
99eedefa41 Use absolute path to iptest, because the tests are not always run from $IPYTHONDIR. 2013-06-29 07:36:28 -07:00
Paul Ivanov
0c11e07148 Merge pull request #3381 from minrk/retina
enable 2x (retina) display
2013-06-28 16:02:52 -07:00
MinRK
a51f9e1a6e update before unload message
mention pending autosave, if applicable
2013-06-28 15:40:40 -07:00
MinRK
09c7bba2b4 restore "unsaved changes" warning on unload
Autosave is triggered at this event, but it seems to fail sometimes (perhaps when it's too slow?).

closes #3475
2013-06-28 15:40:40 -07:00
Fernando Perez
90e2f601b8 Merge pull request #3450 from ipython/flatten
Flatten IPython.frontend, moving all its components to the top-level of IPython.

This includes a shim module that allows older projects to maintain backwards compatibility while warning them loudly about the change, so they can adapt to the new API.
2013-06-28 13:10:40 -07:00
MinRK
a3653e34b1 update references for IPython.html 2013-06-27 11:14:10 -07:00
MinRK
cf726d6a40 mv IPython.html.notebook -> IPython.html 2013-06-27 11:14:10 -07:00
MinRK
eaffc26e9c update frontend in MANIFEST and .gitignore 2013-06-27 11:14:09 -07:00
MinRK
7f255c9d26 remove a few dangling frontends from setupbase 2013-06-27 11:14:09 -07:00
Fernando Perez
a1c0b749ff Fix imports in test suite. 2013-06-27 11:14:08 -07:00
Fernando Perez
f150b6f6a9 Fix all remaining imports that used IPython.frontend. 2013-06-27 11:14:07 -07:00
Fernando Perez
9858a93794 Fix all imports for the notebook. 2013-06-27 11:14:07 -07:00
Fernando Perez
20a015c1e6 Move frontend/html directory to top level. 2013-06-27 11:14:04 -07:00
Min RK
5a193bead5 Merge pull request #3456 from ivanov/noscript
Add notice for users who disable javascript
2013-06-24 15:26:02 -07:00
Paul Ivanov
df02517c93 use less.css for the style of the noscript message 2013-06-24 14:37:08 -07:00
Matthias Bussonnier
c4ad08f31f Merge pull request #178 from Carreau/fix-config
fix config inheriting
2013-06-24 12:30:58 -07:00
Paul Ivanov
d57d6da8f0 Notice for users who disable javascript 2013-06-21 17:01:29 -07:00
Min RK
f3ac52b5bc Merge pull request #3453 from ivanov/fix-3447
fix websocket connection in old Firefox

location.origin is a too recent addition.

closes #3447
2013-06-21 14:35:20 -07:00
Paul Ivanov
b76f839a9b fix cell execution in firefox, closes #3447
location.origin is specific to WebKit only. The fix is to use a
combination of location.protocol and location.host
2013-06-20 15:27:59 -07:00
Brian E. Granger
cfcc56b139 Merge pull request #3393 from minrk/bootstrap
[WIP] bootstrapify
2013-06-17 12:57:46 -07:00
MinRK
7f3f064067 compress menubar a few pixels vertically 2013-06-16 12:48:51 -04:00
MinRK
bff456dd49 menubar not full-width
let it hang from the header

match inner shadow on menubar container for symmetry
2013-06-16 12:40:57 -04:00
Matthias BUSSONNIER
478f3244bf fix config inheriting 2013-06-16 13:23:22 +02:00
MinRK
5a932602b6 fix cell alignment by a few pixels 2013-06-15 18:07:24 -04:00
MinRK
d4a9cade35 reduce height of notification_widget by a few pixels 2013-06-15 15:34:32 -04:00
MinRK
3761f6270e add break between prompt and input in Rename dialog 2013-06-15 15:30:22 -04:00
MinRK
dea453be98 reduce horizontal padding for pager-container 2013-06-15 15:28:02 -04:00