Commit Graph

2384 Commits

Author SHA1 Message Date
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
211eb6fb4e Try including everything
(Trying to get config tests to pass)
2013-07-17 17:16:29 -07:00
Jonathan Frederic
2cf4fffb3b Copy ipynb example files need for nbconvert tests 2013-07-17 16:50:23 -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
c1731d914e add 'all' extras
which should get everything
2013-07-17 15:05:08 -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
Min RK
33c5e5c90f Merge pull request #3626 from ivanov/fix-3625
passing cell to showInPager

closes #3625
2013-07-13 14:13:12 -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
Paul Ivanov
2ef246f1a5 Merge pull request #3618 from minrk/ansilinux
expand terminal color support (16 and 256 ANSI colors)
2013-07-12 17:28:01 -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
9126384480 add ANSI color test notebook to examples/tests 2013-07-12 11:57:56 -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
Matthias Bussonnier
7181706d3f Merge pull request #3612 from ivanov/mailmap
updated .mailmap
2013-07-12 00:33:07 -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
Fernando Perez
3e2e9d736e Merge pull request #3615 from minrk/ansilinux
Fix regular expression for ANSI escapes, which wouldn't catch `\x1b[01;`, only `\x1b[0;` or `\x1b[1;`.

Closes #3614.
2013-07-11 15:40:41 -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
Paul Ivanov
aac19df0a7 updated .mailmap 2013-07-11 10:36:26 -07:00
Matthias Bussonnier
641a5e153b Merge pull request #3611 from ivanov/no-markdown-check
check for markdown no longer needed, closes #3610

After #3582 was merged, we no longer depend on a python version of
markdown.
2013-07-11 03:28:02 -07:00
Paul Ivanov
1f997d3892 check for markdown no longer needed, closes #3610
After #3582 was merged, we no longer depend on a python version of
markdown
2013-07-10 22:23:50 -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
f373e850ae Merge pull request #3595 from Carreau/rever-md-in-head
Revert "allow markdown in heading cells"
2013-07-10 07:06:36 -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
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
2013-07-10 01:59:53 -07:00
damianavila
7aab2ec291 Added '-' as a shortcut for splitting cells. 2013-07-09 17:55:13 -03:00
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
2013-07-09 11:50:53 -07:00
MinRK
39578beabc remove max_msg_size altogether
It was a security feature without an application.
2013-07-09 09:37:36 -07: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