Commit Graph

1375 Commits

Author SHA1 Message Date
Matthias BUSSONNIER
eeea623161 Add event to kernel execution/shell reply.
This should allow to hook more easily phantomjs for testing.
2012-10-26 22:03:57 +02:00
Paul Ivanov
7701373695 Merge pull request #2519 from ivanov/clear-input-prompt-on-clear-all-output
clear In[ ] prompt numbers again
2012-10-26 00:59:39 -07:00
Paul Ivanov
0b3cb7764d clear In[ ] prompt numbers again 2012-10-25 19:54:56 -07:00
Brian E. Granger
82dae6715b Merge pull request #2349 from ahmadia/mathjax_fix
ENH: added StackExchange-style MathJax filtering
2012-10-20 13:44:40 -07:00
Min RK
a84955b4a8 Merge pull request #2492 from minrk/pygments_setup
add missing 'qtconsole' extras_require

The docs mention `easy_install ipython[qtconsole]`, but that would fail because it was undefined.  It now implies the pygments extra dependency described in the docs.
2012-10-15 10:05:55 -07:00
MinRK
660ea94d73 add missing 'qtconsole' extras_require
The docs mention `easy_install ipython[qtconsole]`, but that would fail. The alternative would be to change the docs, but then we would have no expression of the pygments optional dependency.

should be back ported to 0.13.1
2012-10-14 14:09:27 -07:00
Aron Ahmadia
8d3fbe5901 Refactored to JS standards. Fixed Attribution.
thisStyle      --> this_style.
function foo() --> var foo = function()

StackExchange improperly attributed for Davide Cervone's
Markdown+MathJax handling.  This has been fixed.

Ref:
http://stackoverflow.com/a/11231030/122022
http://www.math.union.edu/~dpvc/transfer/mathjax/mathjax-editing.js
2012-10-13 14:29:17 +03:00
Aron Ahmadia
2ec0115f77 added math typesetting example notebook 2012-10-13 14:10:22 +03:00
Aron Ahmadia
346173bcad correct environment rendering 2012-10-13 14:10:21 +03:00
Aron Ahmadia
0caac8cd28 partial refactor, can't quite get environments working 2012-10-13 14:10:21 +03:00
Brian E. Granger
bcdec179f8 Merge pull request #2474 from Carreau/bootstrap_name_conflict
fix bootstrap name conflicts
2012-10-10 20:55:45 -07:00
Matthias BUSSONNIER
aa9a5db301 fix bootstrap name conflicts
change .tooltip to .ipython_tooltip
class name in css to avoid conflic with bootstrap

don't put header logo in h1 to also avoid conflict
2012-10-07 18:57:01 +02:00
Min RK
a9dbe36baa Merge pull request #2468 from bfroehle/pycache
Tell git to ignore __pycache__ directories.
2012-10-04 13:54:06 -07:00
Bradley M. Froehle
e3ae952054 Tell git to ignore __pycache__ directories. 2012-10-04 12:19:18 -07:00
Brian E. Granger
2be72dae5d Merge pull request #2421 from Carreau/nbconsole
Some notebook tweaks.
2012-10-03 12:48:52 -07:00
Matthias BUSSONNIER
20fec7b2d0 remove rogue codemirror onUpdate 2012-10-03 17:20:27 +02:00
Brian E. Granger
7ae77c8372 Merge pull request #2127 from Carreau/jsToolbar
Ability to build toolbar in JS
2012-10-02 09:58:48 -07:00
Bussonnier Matthias
362eab83aa Merge pull request #2216 from Carreau/autohighlight
Autochange highlight with cell magics

Highlight change is made on cell load and Enter keypress.
For now, it recognizes %%javascript, %%python[3], %%ruby, %%bash , %%R, %%perl.

new modes can easily be added by adding regular expression on config.js
2012-09-29 06:12:39 -07:00
Bussonnier Matthias
b1662530a0 Merge pull request #2442 from minrk/signithalt
allow iptest to be interrupted
2012-09-28 01:14:45 -07:00
Min RK
9eb2b0b161 Merge pull request #2240 from minrk/stranded_metadata
fix message built for engine dying during task

would result in KeyError on missing 'metadata'
2012-09-27 16:30:44 -07:00
MinRK
d6db92b7e6 allow iptest to be interrupted
Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.

This change makes iptest take notice of sigint in a test runner, and aborts the run.
2012-09-27 15:58:00 -07:00
Bussonnier Matthias
01cdf460cc align output with input 2012-09-23 16:20:19 +02:00
Bussonnier Matthias
a03764ed67 add ability to create continuation prompt 2012-09-23 16:20:11 +02:00
Bussonnier Matthias
045973b6bb add insert_cell_at_bottom prototype 2012-09-23 14:05:12 +02:00
Bradley M. Froehle
4982a24bd7 Merge pull request #2326 from Carreau/detachable-pager
Detachable pager in notebook.
2012-09-18 13:28:00 -07:00
Bradley M. Froehle
de74e85246 Merge pull request #2377 from astrofrog/fix-man-python3
Fix installation of man pages in Python 3
2012-09-18 13:20:09 -07:00
Bussonnier Matthias
3e1b58df54 Merge pull request #2408 from donowitz/master
Fix Issue #2366

If a file notebook is used, and a relative directory is given, make it
absolute.
2012-09-17 08:24:21 -07:00
Thomas Robitaille
a3500c3b15 Fix a bug that caused man pages to not be installed in Python 3 when running from the source tree. 2012-09-17 10:49:21 +02:00
Ohad Ravid
c58e152f57 Answer Issue #2366
If a file notebook is used, and a relative directory is given, make it
absolute.
2012-09-17 00:03:06 +03:00
Bussonnier Matthias
3119f11ba6 change detach icon and tab title 2012-09-15 13:37:41 +02:00
Bussonnier Matthias
a8ed452103 Merge pull request #2400 from Carreau/scroll_to_cell
Add scroll_to_cell(cell_number) to the notebook
2012-09-13 10:58:03 -07:00
Matthias BUSSONNIER
e0e519afcb Add scroll_to_cell(cell_number) to the notebook 2012-09-11 21:59:31 +02:00
Bussonnier Matthias
e08873d7f6 Merge pull request #2368 from Carreau/fixes_2367
remove notification widget leftover
2012-08-31 12:54:06 -07:00
Matthias BUSSONNIER
f4d9dabc31 remove notification widget leftover
fixes #2367
2012-08-31 20:08:15 +02:00
Bussonnier Matthias
771d67ada7 Merge pull request #2352 from bfroehle/notebook_unique_cookie_name
Notebook: Store the username in a cookie whose name is unique.

Cookies cannot be saved on a per-port basis, so a cookie "username" is shared
across all running IPython notebooks with the same hostname. Using a unique
cookie name prevents this collision.

This allows a user to start multiple IPython notebooks and be logged into
each.
2012-08-31 00:11:36 -07:00
Fernando Perez
4587c15f40 Merge pull request #2365 from minrk/nbname
fix names of notebooks for download/save from the browser, so that instead of being called 'notebook' the resulting file has the actual notebook name.

closes #2227
2012-08-30 20:36:39 -07:00
MinRK
a9db0585d6 fix names of notebooks for download/save
was using notebook.get('name') instead of notebook.metadata.get('name'),
where the name is actually stored.  The result was that all downloaded notebooks were called 'notebook'.

closes #2227
2012-08-30 14:24:44 -07:00
Bradley M. Froehle
727379ec4f Notebook: Store the username in a cookie whose name is unique.
Cookies cannot be saved on a per-port basis, so a cookie "username" is
shared across all running IPython notebooks with the same hostname.
Using a unique cookie name prevents this collision.

This allows a user to start multiple IPython notebooks and be logged into
each.
2012-08-27 16:59:58 -07:00
Bussonnier Matthias
45f79e0509 Merge pull request #2192 from Carreau/notification
Introduce Notification Area

This allow several notification widget to be next one to the other in the notification area.
The Api allow also to register a callback if the user click on the notification. and allows sticky and non sticky notification.
2012-08-25 06:37:17 -07:00
Matthias BUSSONNIER
6526b6ea68 fix some whitespace 2012-08-24 11:52:31 +02:00
Matthias BUSSONNIER
645ac8df8e add tooltip to pager button 2012-08-22 11:21:50 +02:00
Matthias BUSSONNIER
5134212a4c This create the ability to detach the pager
When detached, the pager is collapsed and it's content is send into it's
own window/tab depending of the browser configuration.
2012-08-22 11:18:47 +02:00
Bradley M. Froehle
e54ce19728 Merge pull request #2295 from benjiec/pip-install-from-git
allow pip install from github repository directly
2012-08-13 10:02:16 -07:00
Benjie Chen
ab1aef9b88 allow pip install from github repository directly 2012-08-13 10:19:45 -04:00
Matthias BUSSONNIER
5e1ba95f6d check for selector only in parent classes 2012-08-12 14:43:50 +02:00
Matthias BUSSONNIER
00fcd46323 reorder methods and fix typo 2012-08-12 14:43:50 +02:00
Matthias BUSSONNIER
feabba941f space around : , bis 2012-08-12 14:31:33 +02:00
Matthias BUSSONNIER
299106fe38 space around : 2012-08-12 14:30:18 +02:00
Matthias BUSSONNIER
c2cf3a07dd jslint 1 2012-08-12 14:26:40 +02:00
Matthias BUSSONNIER
2b26c6a7d4 optionally 1n, 2l 2012-08-12 14:21:59 +02:00