Commit Graph

2380 Commits

Author SHA1 Message Date
Min RK
8fd42ab815 Merge pull request #4165 from takluyver/parametric-begone
Remove use of parametric tests

As discussed on the mailing list, our parametric tests system has been the source of various problems, and we've decided to get rid of it.
2013-09-04 10:35:31 -07:00
Min RK
f69fceb1c8 Merge pull request #4147 from kermit666/patch-1
Reference notebook examples in docs.
2013-09-03 16:30:35 -07:00
Min RK
90d3e90afe Merge pull request #4065 from Carreau/ecss
do not include page css in ipython.min.css
2013-09-03 16:06:58 -07:00
Min RK
76f8de32ea Merge pull request #4064 from Carreau/default_mode
Store default codemirror mode in only 1 place
2013-09-03 15:48:11 -07:00
Min RK
e992e6b7e2 Merge pull request #4161 from kevinburke/select
Select name when renaming a notebook
2013-09-03 15:29:28 -07:00
Paul Ivanov
396ac5c74f removing unnecessary print statements 2013-09-03 15:25:15 -07:00
Paul Ivanov
da4379ec26 parallel is slowest of all, moving it to the front
suggested by @minrk
2013-09-03 14:54:20 -07:00
Paul Ivanov
596df103e3 added prettier printing 2013-09-03 14:37:26 -07:00
Paul Ivanov
1c4f6afc0a run test in parallel (FASTER) 2013-09-03 14:37:26 -07:00
Thomas Kluyver
d3a063cc27 Remove most uses of ParametricTestCase 2013-09-03 10:13:49 -07:00
Kevin Burke
2cf73980c0 Select default title when renaming a notebook
The default notebook name is Untitled<x>. It is unlikely the user will want to
keep this name or part of it. Instead, select the text in the input field so the
user can easily type over the name and change it.
2013-09-01 21:30:42 -07:00
MinRK
3211227ecf fab css 2013-09-01 15:59:31 -07:00
MinRK
29c48fd538 don't split .cell and div.cell CSS
`.cell` matches non-IPython things that it shouldn't (inside highlighted code),
everything `.cell` should match in IPython is a div.
2013-09-01 15:59:24 -07:00
Dražen Lučanin
7d9b220417 Reference notebook examples, fixes #4146. 2013-09-01 19:16:52 +02:00
Brian E. Granger
fdc32d54a8 Merge pull request #4090 from ellisonbg/citation
Add LaTeX citation handling to nbconvert
2013-08-30 16:40:00 -07:00
Matthias Bussonnier
fc134389a2 Merge pull request #4143 from minrk/custom-icon
update example custom.js
2013-08-30 01:12:14 -07:00
MinRK
80d2d15620 only test --help-all
help-all is a superset of `-h`, so no need to do both,
since these tests are slow.
2013-08-29 17:26:49 -07:00
MinRK
50b31960b3 test that -h and --help-all work for various IPython entry points
should help catch when we break these things.
2013-08-29 17:25:50 -07:00
MinRK
3eac345480 update example custom.js
fix event for at-page-load events
use font-awesome icon, not jquery-ui

closes #3998
2013-08-29 15:44:34 -07:00
Thomas Kluyver
dd52f45a35 Merge pull request #4142 from minrk/badwrap
DOC: unwrap openssl line in public_server doc
2013-08-29 15:31:04 -07:00
MinRK
d8eebfe3b7 unwrap openssl line in public_server doc
was inappropriately hard-wrapped, potentially causing bad copy/paste
2013-08-29 15:29:40 -07:00
Thomas Kluyver
56f0bf3234 Merge pull request #4098 from minrk/profile-dir
pass profile-dir instead of profile name to Kernel
2013-08-29 14:57:18 -07:00
Thomas Kluyver
07cf28d43b Merge pull request #4120 from minrk/input-py2
support `input` in Python 2 kernels
2013-08-29 14:33:32 -07:00
MinRK
5c607a9e8a use _safe_append for all output
catches js errors appending anything to output,
including javascript in an HTML output.

closes #4095
2013-08-29 12:29:12 -07:00
MinRK
cc41ab26c7 update raw_input in example notebook 2013-08-27 16:01:25 -07:00
MinRK
bce60e1be7 pass profile-dir instead of profile to Kernel
avoids relative path issues for local profiles
when the notebook server starts in a different directory
from the kernels.
2013-08-23 09:17:35 +02:00
Thomas Kluyver
ffbf79c20c Merge pull request #4069 from takluyver/drop-nosepatch
Drop monkeypatch for pre-1.0 nose
2013-08-21 18:36:16 -07:00
Brian E. Granger
779b4cc83b Adding docs about latex citations. 2013-08-21 14:19:17 -07:00
MinRK
971aea1eda trigger Kernel.status_started after websockets open
This leads to a more logical state for event watchers to expect.
2013-08-21 09:46:28 +02:00
Matthias Bussonnier
ad38a330f4 Merge pull request #4068 from Zsailer/jsfix
minor bug fix, define 'cell' in dialog.js.
2013-08-20 01:21:17 -07:00
Thomas Kluyver
7a07a1c88d Drop monkeypatch for pre-1.0 nose
Closes gh-484
2013-08-19 14:56:45 -07:00
Zachary Sailer
a16211ceff minor bug fix, define 'var' in dialog.js.
The 'cell' variable isn't defined and causes and error in the
console
2013-08-19 14:47:18 -07:00
Matthias Bussonnier
b6e5dc0f65 catch if cm_config of other key undefined 2013-08-19 16:49:58 +02:00
Matthias BUSSONNIER
a363216d89 do not include specific css in embedable one 2013-08-19 14:44:59 +02:00
Matthias BUSSONNIER
fc8f118610 store default codemirror mode in only 1 place 2013-08-19 14:11:48 +02:00
Matthias Bussonnier
a133236f56 Merge pull request #3969 from Carreau/usestrict
"use strict" in most (if not all) our javascript

plus fix one variable leaking in global namespace
2013-08-19 04:26:17 -07:00
Matthias Bussonnier
44e0d28345 Merge pull request #3863 from damianavila/speaker_notes
Added working speaker notes for slides.

To resume, I fetch the cdn containing the files we need to make speaker notes works. Then I pass this info using the resources dict to the write which output the files in the correct path...
I make some other additions to make this feature an option from the command line, ie:

if you want a simple slideshow:
ipython nbconvert your_slides.ipynb --to slides

if you want a simple served slideshow:
ipython nbconvert your_slides.ipynb --to slides --post serve

if you want to use a local copy of the reveal.js library:
ipython nbconvert your_slides.ipynb --to slides --post serve --local reveal.js

and if you want to use speaker notes:
ipython nbconvert your_slides.ipynb --to slides --post serve --notes True
or
ipython nbconvert your_slides.ipynb --to slides --post serve --notes True --local reveal.js 
but this last one is redundant because if you are using a local reveal.js library the speaker notes are functional by default.
2013-08-16 00:50:34 -07:00
Min RK
5b4b944a4d Merge pull request #4035 from mlhenderson/master
Fixed custom jinja2 templates being ignored when setting template_path
2013-08-15 17:10:38 -07:00
Matt Henderson
b7ed106d11 must...bring...back...comma 2013-08-15 16:49:42 -07:00
Matt Henderson
af03eb6d1b Modified initial template_path to pickup any overridden value by the user 2013-08-15 16:28:19 -07:00
Thomas Kluyver
993d9e6b44 Merge pull request #4002 from takluyver/drop-26-32
Drop Python 2.6 and 3.2
2013-08-15 15:47:01 -07:00
Matt Henderson
918d872f2c needed proper dict syntax 2013-08-14 18:17:44 -07:00
Matt Henderson
56b33145e7 Fixed custom jinja2 templates being ignored when setting template_path 2013-08-14 17:40:48 -07:00
Paul Ivanov
7a6c4f9703 Merge pull request #4022 from ivanov/doc-links
DOC: fix links to matplotlib, notebook docs
2013-08-14 15:41:56 -07:00
Paul Ivanov
2778e98945 DOC: fix links to matplotlib, notebook docs
I've added a link to pandas, made all matplotlib links point to
matplotlib.org, and fixed a link in the notebook help menu to point to
our new notebook.html, now that htmlnotebook.html is a redirect.

Whoever ends up merging this PR should backport it to 1.x.
2013-08-13 20:56:19 -07:00
damianavila
5a3414ff52 Fixed doc about using PR-related aliases. 2013-08-13 14:18:47 -03:00
Thomas Kluyver
09bb0830a8 Remove extra assert methods needed for Python 2.6 2013-08-12 17:52:55 -07:00
Matthias Bussonnier
f996a93455 Merge pull request #3937 from Carreau/redtab
make tab visible in codemirror
2013-08-12 00:02:41 -07:00
Matthias Bussonnier
d04be020c1 Merge pull request #3939 from minrk/checkpoints
minor checkpoint cleanup

remember list of checkpoints browser-side
don't clobber list when a new checkpoint is created
cleanup references in MenuBar restore list. There was a closure issue, where multiple menu items would actually all restore the same checkpoint.
2013-08-10 01:34:29 -07:00
Matthias Bussonnier
ddca43174d Merge pull request #3955 from Carreau/fix-3954
complete on % for magic in notebook
2013-08-10 01:30:19 -07:00