Commit Graph

329 Commits

Author SHA1 Message Date
MinRK
3ffc6d0ab5 Application.launch_instance
removes `new` from method name, since it isn't accurate.
2013-07-04 12:48:07 -07:00
MinRK
63b65b8c6c use launch_new_instance classmethod to launch apps 2013-07-04 12:23:31 -07:00
MinRK
09567f835b remove debug statement
and anchor
2013-07-04 08:58:43 -07:00
Matthias Bussonnier
9640b57161 Merge pull request #3528 from minrk/staticbase
fix local mathjax with custom base_project_url
2013-07-04 02:24:34 -07:00
Matthias Bussonnier
1bbbeddafd Merge pull request #3518 from takluyver/unused-imports
Clear up unused imports

Static analysis revealed a load of things that are imported but not used. I've tried to leave things that look like part of the API, and clear up other things.

Noticed a few test functions which had been copy-pasted without changing the name, in which case only the later one will run. I gave them separate names.
2013-07-04 02:24:15 -07:00
MinRK
d1a8c06c91 allow markdown in heading cells
italics, bold, math, etc.

closes #3053
2013-07-03 18:33:57 -07:00
MinRK
b20845172b fix local mathjax with custom base_project_url
closes #2720
2013-07-03 17:34:00 -07:00
MinRK
13408ecf71 ensure 'default' is first in cluster profile list
when sorting, `'default'` is transformed to `''`.
2013-07-03 16:18:10 -07:00
MinRK
bc4a457fdc add timezone info to last_modified in notebook managers
now Firefox won't get confused, turning utc timestamps into local times.

closes #3396
2013-07-03 12:16:22 -07:00
Thomas Kluyver
a2bf752dba Remove unused imports in IPython.html 2013-07-02 22:31:40 +01:00
MinRK
d12a9b19c9 use bootstrap disabled instead of ui-state-disabled
in menubar
2013-07-02 10:42:12 -07:00
MinRK
40b882906f add 'No Checkpoints' to Revert menu
when there are None, rather than an empty menu.

closes #3261
2013-07-02 10:38:05 -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
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
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
c323717fe7 Merge pull request #3430 from minrk/configinstance
add parent to Configurable
2013-06-30 21:27:46 -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
Thomas Kluyver
acb7eefef8 Remove unexpected keyword parameter to remove_kernel
Closes gh-3474
2013-06-29 23:01:34 +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
Brian E. Granger
a8dfc449a6 When a notebook is written to file, name the metadata name u''. 2013-06-28 21:35:20 -05: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
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
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