MinRK
38869a60e4
catch any exception appending output
...
HTML output can have javascript with errors, etc.
No output should ever raise, no matter what.
closes #3620
13 years ago
MinRK
55192ef881
fix regular expression for ANSI escapes
...
wouldn't catch `\x1b[01;`, only `\x1b[0;` or `\x1b[1;`.
closes #3614
13 years ago
Min RK
2e417e82f0
Merge pull request #3594 from Carreau/fixes-3563
...
Fix duplicate completion in notebook
comparaison between kernel completion and context-completin were
returning duplicate entry in some cases, due to trailing space.
sripping trailing space in comparaison prevent this.
closes #3563
13 years ago
Matthias Bussonnier
f373e850ae
Merge pull request #3595 from Carreau/rever-md-in-head
...
Revert "allow markdown in heading cells"
13 years ago
Matthias BUSSONNIER
1fbf5a6a2c
Revert "allow markdown in heading cells"
...
This reverts commit 8c83c3b958b3c9f65d9446f69b2704a0b263b07b.
13 years ago
Matthias BUSSONNIER
1e75582e48
Fix duplicate completion in notebook
...
comparaison between kernel completion and context-completin were
returning duplicate entry in some cases, due to trailing space.
sripping trailing space in comparaison prevent this.
fixes #3563
example
import bar
from foo im<tab>
used to propose `import` twice (actually `import` and `import[space]` as$
`import` was a token on the first line) now just complete directly to$
`import[space]`.
13 years ago
Matthias Bussonnier
9b08a557e5
Merge pull request #3538 from minrk/launch_ip
...
add IPython.start_ipython
A public API for starting a real (non-embedded) IPython instance.
should avoid API breakage in the future due to simple module renames, as has just happened with the removal of frontend.
For implementation purposes, I have added launch_new_instance as a classmethod on Application. I did this, because I wanted to add the ability to pass arguments to the instance, and didn't want to manually update every duplicate launch_new_instance.
closes #1537
13 years ago
Min RK
f0db998d4d
Merge pull request #3560 from minrk/longcell
...
Remove max_msg_size
The max_msg_size safety limit is just removed.
closes #3124
13 years ago
MinRK
39578beabc
remove max_msg_size altogether
...
It was a security feature without an application.
13 years ago
Matthias Bussonnier
b0922caa81
Merge pull request #3567 from Carreau/app-init-event
...
Trigger a single event on js app initilized.
13 years ago
Matthias Bussonnier
1f2c975c84
Merge pull request #3531 from minrk/headingmath
...
allow markdown in heading cells
13 years ago
Matthias BUSSONNIER
755b13a7c4
Simplify codemirror ipython-mode
...
make it a subset of python mode, only with configuration
13 years ago
Matthias BUSSONNIER
2272edf715
correct static path for CM modes autoload
...
this shoudl also allow to require CM python mode for ipython mode and
only pass a config options.
13 years ago
Matthias Bussonnier
e9c2ac802d
Merge pull request #3561 from minrk/double-c-c
...
mention double-control-C to stop notebook server in the initial log message.
13 years ago
Matthias Bussonnier
fc5ea27155
Merge pull request #3566 from Carreau/fix-event-name
...
fix event names
13 years ago
MinRK
7fe1b00cdc
mention double-control-C to stop notebook server
...
in the initial log message.
closes #2971
13 years ago
Matthias BUSSONNIER
621c8c40a3
Trigger a single event on js app initilized
...
Usefull to bind to extension loading, to load only once
13 years ago
Matthias BUSSONNIER
41c84eb40e
fix event names
13 years ago
MinRK
4408ab6ca1
warn about messages dropped due to oversize
13 years ago
MinRK
563d9372bf
up default max_msg_size to 1MB
13 years ago
MinRK
0c6fe836ca
open markdown links in new tabs
...
restores earlier behavior lost when we switched to marked.
closes #3439
13 years ago
MinRK
ee6f7f4c3d
set overflow-x: hidden on Firefox only
...
workaround crazy Firefox-only behavior when selecting newlines
closes #3549
13 years ago
Brian E. Granger
7941da8fe2
Merge pull request #3498 from ellisonbg/nbname
...
When a notebook is written to file, name the metadata name u''.
13 years ago
Paul Ivanov
735ed2c67f
Merge pull request #3548 from takluyver/save-icon
...
Change to standard save icon in Notebook toolbar
What used to be a hard drive image is now the more traditional floppy image
13 years ago
Thomas Kluyver
e7bfd55357
Change to standard save icon in Notebook toolbar
...
Closes gh-3545
13 years ago
Matthias Bussonnier
cefbcbead1
Merge pull request #3526 from minrk/clusterlist
...
ensure 'default' is first in cluster profile list
when sorting, 'default' is transformed to ''.
13 years ago
Matthias Bussonnier
8e211a1290
Merge pull request #3525 from minrk/utc
...
Fix basic timezone info
minor tweaks to jsonutil, to include timezone info if available
add IPython.utils.tz, which just has basic info for making utcnow(), etc. include tzinfo in the datetime object
use this tzinfo in the last_modified keys in notebook managers, which fixes Firefox's timezone offset for checkpoints
13 years ago
Matthias Bussonnier
2052b1f1cf
Merge pull request #3513 from minrk/nocp
...
add 'No Checkpoints' to Revert menu
13 years ago
MinRK
3ffc6d0ab5
Application.launch_instance
...
removes `new` from method name, since it isn't accurate.
13 years ago
MinRK
63b65b8c6c
use launch_new_instance classmethod to launch apps
13 years ago
MinRK
09567f835b
remove debug statement
...
and anchor
13 years ago
Matthias Bussonnier
9640b57161
Merge pull request #3528 from minrk/staticbase
...
fix local mathjax with custom base_project_url
13 years ago
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.
13 years ago
MinRK
d1a8c06c91
allow markdown in heading cells
...
italics, bold, math, etc.
closes #3053
13 years ago
MinRK
b20845172b
fix local mathjax with custom base_project_url
...
closes #2720
13 years ago
MinRK
13408ecf71
ensure 'default' is first in cluster profile list
...
when sorting, `'default'` is transformed to `''`.
13 years ago
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
13 years ago
Thomas Kluyver
679458f3b9
Fix test import
13 years ago
Thomas Kluyver
1b66bd9615
Remove unused imports in IPython.testing
13 years ago
Thomas Kluyver
a2bf752dba
Remove unused imports in IPython.html
13 years ago
MinRK
d12a9b19c9
use bootstrap `disabled` instead of `ui-state-disabled`
...
in menubar
13 years ago
MinRK
40b882906f
add 'No Checkpoints' to Revert menu
...
when there are None, rather than an empty menu.
closes #3261
13 years ago
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.
13 years ago
MinRK
88668e65f8
don't use parent=self in handlers
...
handlers aren't configurable, so shouldn't be passed as parent.
closes #3502
13 years ago
Brian E. Granger
13c93844ed
Merge pull request #3500 from ipython/nbconvert
...
Merge nbconvert into IPython
13 years ago
Brian E. Granger
202dec41e6
Merge pull request #3478 from minrk/rewarn
...
restore "unsaved changes" warning on unload
13 years ago
Brian E. Granger
b3dc666ac9
Merge pull request #3493 from minrk/restart-dialog
...
add a dialog when the kernel is auto-restarted
13 years ago
Brian E. Granger
70f726517a
Merge pull request #3488 from takluyver/test_autoreload
...
Add test suite for autoreload extension
13 years ago
Brian E. Granger
c323717fe7
Merge pull request #3430 from minrk/configinstance
...
add parent to Configurable
13 years ago
Brian E. Granger
7d7912d732
Fixing test logic for nbconvert to get tests to pass.
13 years ago