MinRK
defd49a8b9
comply with the message spec in object_info requests
...
missing detail_level key
2013-07-25 13:11:07 -07:00
Matthias Bussonnier
e07ddebdf6
Merge pull request #3743 from minrk/noro
...
remove notebook read-only view
it is largely broken, and had problematic security issues.
2013-07-25 10:51:26 -07:00
Matthias Bussonnier
b78f0851a3
Merge pull request #3732 from minrk/slow-save-on-close
...
add delay to autosave in beforeunload
allows forceful 'discard changes' by reloading the page and dismissing the warning.
The timer doesn't start until after the dialog is dismissed, so if you decide to nav away without saving changes, the changes will actually not be saved.
2013-07-25 10:50:39 -07:00
Matthias Bussonnier
68cf7df38a
Merge pull request #3741 from minrk/badnbmsg
...
better message when notebook format is not supported
different messages for bad version and bad JSON.
closes #1592
2013-07-25 00:11:39 -07:00
Stefan Karpinski
f0cb45536c
handle empty metadata in pyout messages more gracefully.
2013-07-24 21:03:57 -07:00
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
2013-07-23 13:22:05 -07:00
MinRK
2a09958bb6
better message when notebook format is not supported
...
Different messages for bad version and bad JSON.
closes #1592
2013-07-23 12:36:22 -07:00
MinRK
6970a79e6a
add delay to autosave in beforeunload
...
allows forceful 'discard changes' by reloading the page and dismissing the warning,
which @fperez really wanted today.
2013-07-22 18:07:12 -07:00
MinRK
6fbbd1dea3
remove any lingering raw_inputs on raw_input
...
There should never be more than one,
so ensure that is the case on creation.
closes #3710
2013-07-21 10:53:54 -07:00
MinRK
cea07fb351
bind kernel events in Kernel.bind_events
...
avoids multiple-register of send_input event
2013-07-21 10:40:09 -07:00
Min RK
73771392aa
Merge pull request #3685 from minrk/pager
...
fix Pager.detach
detaching the pager would result in the pager not working anymore.
2013-07-19 09:52:35 -07:00
Min RK
b7b9b8692f
Merge pull request #3671 from jdfreder/new_tests
...
start nbconvert tests
fixes a few things along the way
closes #3688
2013-07-19 09:48:59 -07:00
Rick Lupton
7b474e5ce6
Fix rename notebook - show error with invalid name
...
Before the dialog was closing anyway so you couldn't see the error message.
2013-07-19 10:59:14 +01:00
MinRK
0f5de6f4f8
fix Pager.detach
...
detaching the pager would result in the pager not working anymore.
2013-07-18 14:43:10 -07:00
Jonathan Frederic
6803663813
nbconvert no longer depends on markdown
2013-07-18 14:22:38 -07:00
Min RK
a7cf16ce98
Merge pull request #3660 from minrk/focusclick
...
refocus active cell on dialog close
if there is one.
Otherwise the cursor is lost on kernel restart, etc. and the mouse must be used to get back to work.
2013-07-18 11:13:06 -07:00
Matthias BUSSONNIER
38fc90a1b0
add mising semicolon
2013-07-18 18:48:27 +02:00
Matthias BUSSONNIER
42fb90acac
patch header-cell and use-strict
2013-07-18 18:29:41 +02:00
Matthias BUSSONNIER
e166732257
linting and remove unused var
2013-07-18 18:24:25 +02:00
Matthias BUSSONNIER
7a452f10ca
statelessify matjaxutils
...
stateless-ification of function that was using module level
variable to share data.
Now varaible are passed around, and usage of replace math
require user to pass a return value of remove_math around
2013-07-18 18:24:24 +02:00
Matthias Bussonnier
ba24f709cb
Merge pull request #3673 from minrk/cm-comment
...
enable comment/uncomment selection in notebook
Bound to `(cmd|ctrl)-/`
2013-07-18 08:56:16 -07:00
Jonathan Frederic
7782f29910
Re-enable files directory exclusion.
2013-07-17 16:17:25 -07:00
Jonathan Frederic
ed83c16fa4
Travis, test without exclusion...
2013-07-17 15:58:45 -07:00
Jonathan Frederic
86b4f48476
Exclude nbconvert testing config files from iptest interpretation.
2013-07-17 15:40:30 -07:00
MinRK
127a0669ff
enable comment/uncomment selection
...
with `(cmd|ctrl)-/`
closes #1540
2013-07-17 14:27:07 -07:00
Min RK
374579a65c
Merge pull request #3559 from minrk/create_delete_events
...
add create.Cell and delete.Cell js events
closes #3154
2013-07-17 14:08:48 -07:00
Min RK
5ac40d0746
Merge pull request #3651 from minrk/cleanup
...
remove a bunch of unused `default_config_file` assignments
These are never used, I don't know where they came from.
2013-07-16 15:00:52 -07:00
MinRK
79d9f0f039
refocus active cell on dialog close
...
if there is one
Otherwise, the cursor is lost on kernel restart, etc.
2013-07-16 14:51:06 -07:00
Min RK
117d99ad2a
Merge pull request #3630 from minrk/css
...
CSS adjustments
- remove boilerplate.css, as it is redundant with bootstrap's own reset.less
- add ipython.less / ipython.min.css for IPython-only CSS
- move font-awesome to outermost style.less, so it is not included in ipython.min.css,
where it is not desirable.
This doesn't do any of the naming / scoping cleanup that we should ultimately do, but it does create the file where that will have its desired effect.
2013-07-16 14:09:20 -07:00
Min RK
99a9782eb7
Merge pull request #3601 from minrk/headingmath2
...
Markdown in heading cells (take 2)
closes #3053
closes #3597
2013-07-16 13:00:32 -07:00
Min RK
f395271e95
Merge pull request #3621 from minrk/htmlerror
...
catch any exception appending output
HTML output can have javascript with errors, etc.
No output should ever raise, no matter what.
closes #3620
2013-07-15 17:10:30 -07:00
MinRK
af7564253d
remove a bunch of unused default_config_file
assignments
...
These are never used, I don't know where they came from
2013-07-15 17:01:43 -07:00
Min RK
51f4b08174
Merge pull request #3571 from damianavila/split_shortcut
...
Added `^M -` as shorcut to split cell.
2013-07-15 11:21:17 -07:00
Min RK
f3fa5cd181
Merge pull request #3624 from minrk/argunicode
...
fix some unicode in zmqhandlers
Prevented session identity from being set properly, which in turn prevented stdin from working in the notebook in Python 3.
closes #3494
2013-07-14 11:19:57 -07:00
MinRK
7ff586a134
move font-awesome to style.less from notebook-specific less
...
allows it to be excluded from ipython.min.css,
where it doesn't make much sense.
2013-07-13 17:57:10 -07:00
MinRK
68c314cb39
add IPython-only CSS
...
adds static/style/ipython.less and ipython.min.css
Which should contain minimal styling that conflicts with other CSS.
As we improve our CSS scoping and naming,
this file should eventually be enough to play nice with embedding IPython in other HTML contexts.
2013-07-13 17:56:12 -07:00
MinRK
409a1bb6e1
remove boilerplate.css
...
it is redundant with bootstrap reset
2013-07-13 14:44:55 -07:00
Paul Ivanov
03006024ba
passing cell to showInPager, closes #3625
2013-07-13 00:08:30 -07:00
MinRK
638c36a7f7
fix some unicode in zmqhandlers
...
prevented session identity from being set properly,
which in turn prevented stdin from working in the notebook in Python 3.
closes #3494
2013-07-12 18:47:56 -07:00
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
2013-07-12 14:26:43 -07:00
MinRK
c800ed9671
be pedantic about VT100 vs ANSI in comments
2013-07-12 11:56:59 -07:00
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