MinRK
13a89a74e3
add indexed-color in 256-color support
2013-07-12 11:47:59 -07:00
MinRK
49e6a36f7c
add ansi background colors
2013-07-12 11:47:48 -07:00
MinRK
1186d575a9
expand ANSI color support
...
adds support for 256 colors
does not yet add support for themed 16-color mapping ([01;38;5;[0-15])
closes #3617
2013-07-11 17:47:28 -07:00
MinRK
55192ef881
fix regular expression for ANSI escapes
...
wouldn't catch `\x1b[01;`, only `\x1b[0;` or `\x1b[1;`.
closes #3614
2013-07-11 12:19:03 -07:00
MinRK
47061360da
remove unnecessary heading-anchor
...
residue from when the heading text itself was a link
the id is on the header tag itself,
and the link is anchor-link
2013-07-10 15:14:02 -07:00
MinRK
185769d1b9
merge heading lines
...
markdown headings must be a single line
2013-07-10 14:41:03 -07:00
MinRK
b5f0be18de
truncate invalid multi-line headers
2013-07-10 14:36:12 -07:00
MinRK
45d0dd0a45
Markdown in heading cells (take 2)
...
small typo prevented the previous implementation from working.
This also moves the rendering to the 'render' method,
away from set_rendered.
closes #3053
(again)
2013-07-10 13:43:07 -07:00
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
2013-07-10 10:18:59 -07:00
Matthias BUSSONNIER
1fbf5a6a2c
Revert "allow markdown in heading cells"
...
This reverts commit 8c83c3b958b3c9f65d9446f69b2704a0b263b07b.
2013-07-10 15:58:45 +02:00
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]`.
2013-07-10 14:16:35 +02:00
damianavila
7aab2ec291
Added '-' as a shortcut for splitting cells.
2013-07-09 17:55:13 -03:00
Matthias Bussonnier
b0922caa81
Merge pull request #3567 from Carreau/app-init-event
...
Trigger a single event on js app initilized.
2013-07-09 08:41:56 -07:00
Matthias Bussonnier
1f2c975c84
Merge pull request #3531 from minrk/headingmath
...
allow markdown in heading cells
2013-07-09 08:34:14 -07:00
Matthias BUSSONNIER
755b13a7c4
Simplify codemirror ipython-mode
...
make it a subset of python mode, only with configuration
2013-07-08 10:49:05 +02:00
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.
2013-07-07 18:56:07 +02:00
damianavila
73e88b6677
Added shorcuts to split cell, merge cell above and merge cell below.
2013-07-06 18:59:54 -03:00
Matthias Bussonnier
fc5ea27155
Merge pull request #3566 from Carreau/fix-event-name
...
fix event names
2013-07-06 11:18:04 -07:00
Matthias BUSSONNIER
621c8c40a3
Trigger a single event on js app initilized
...
Usefull to bind to extension loading, to load only once
2013-07-06 19:49:24 +02:00
Matthias BUSSONNIER
41c84eb40e
fix event names
2013-07-06 19:43:23 +02:00
MinRK
5e20d457cd
add create.Cell and delete.Cell js events
...
The events fire after the cell has been created or deleted.
closes #3154
2013-07-05 22:05:53 -07:00
MinRK
0c6fe836ca
open markdown links in new tabs
...
restores earlier behavior lost when we switched to marked.
closes #3439
2013-07-05 20:56:51 -07:00
MinRK
ee6f7f4c3d
set overflow-x: hidden on Firefox only
...
workaround crazy Firefox-only behavior when selecting newlines
closes #3549
2013-07-05 12:31:48 -07:00
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
2013-07-05 09:51:55 -07:00
Thomas Kluyver
e7bfd55357
Change to standard save icon in Notebook toolbar
...
Closes gh-3545
2013-07-05 17:00:16 +01:00
Matthias Bussonnier
2052b1f1cf
Merge pull request #3513 from minrk/nocp
...
add 'No Checkpoints' to Revert menu
2013-07-05 05:03:43 -07:00
MinRK
09567f835b
remove debug statement
...
and anchor
2013-07-04 08:58:43 -07:00
MinRK
d1a8c06c91
allow markdown in heading cells
...
italics, bold, math, etc.
closes #3053
2013-07-03 18:33:57 -07: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
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
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
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
cf726d6a40
mv IPython.html.notebook -> IPython.html
2013-06-27 11:14:10 -07:00