Commit Graph

2642 Commits

Author SHA1 Message Date
Matthias BUSSONNIER
8c6665ab4c Exporter -> TemplateExporter / BaseExporter 2013-09-12 08:33:57 -07:00
Min RK
4fc0465f42 Merge pull request #4190 from minrk/byebye2.6
update version-check message in setup.py and IPython.__init__

clearer message that IPython no longer supports 2.6.
2013-09-10 14:16:06 -07:00
juhasch
deab820002 append Firefox overflow-x fix 2013-09-10 22:14:54 +02:00
MinRK
0b97ac8138 update version-check message in setup.py and IPython.__init__
clearer message that IPython no longer supports 2.6.
2013-09-09 11:13:28 -07:00
Takeshi Kanmae
9ceedb62d0 Have remove_and_cancel_tooltip() return a boolean 2013-09-08 15:58:39 -08:00
Takeshi Kanmae
a11ebc8b0a ESC should be handled by CM if tooltip is not on 2013-09-07 13:21:27 -08:00
MinRK
398a2d1da3 update nbconvert docs about reveal.js 2013-09-04 16:40:26 -07:00
Min RK
5e590218f2 Merge pull request #4136 from minrk/catch-js
catch javascript errors in any output

not just javascript.

catches js errors appending anything to the output area, such as js in HTML (#4095).

closes #4095
2013-09-04 15:54:06 -07:00
Thomas Kluyver
70e0836734 Merge pull request #4167 from ivanov/parallel-tests
--fast flag for test suite!
2013-09-04 15:39:46 -07:00
Paul Ivanov
7e255d42dd remove unnecessary print statement 2013-09-04 15:27:06 -07:00
Paul Ivanov
c3b1e07d70 Merge pull request #4125 from minrk/test-help-output
Basic exercise of `ipython [subcommand] -h` and help-all
2013-09-04 11:57:25 -07:00
Min RK
287f432d20 Merge pull request #4159 from minrk/minor-style
don't split `.cell` and `div.cell` CSS

I know we have bigger CSS scoping issues to deal with, but this is an easy fix for an obvious problem.
2013-09-04 10:38:38 -07:00
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