MinRK
d979f4bedd
better regex replacement for MarkdownCell.set_heading_level
...
(c/o Matthias)
11 years ago
MinRK
dd95b1ef5f
remove heading cells in v4
11 years ago
MinRK
458dcd12e3
make markdown heading input match output size
11 years ago
MinRK
6ca260e611
output[mime/type] -> output.data[mime/type] in javascript
11 years ago
MinRK
a50042745f
semicolons, you guys!
11 years ago
MinRK
09acc6c854
msgspec: stream.data -> stream.text
11 years ago
MinRK
14cfb2efc1
s/prompt_number/execution_count in nbformat 4
11 years ago
MinRK
07079095a8
update html/js to nbformat 4
11 years ago
Min RK
1d7f8803e0
use ?download=1 to trigger download in /files/
...
sets `Content-Disposition: attachment...`
- master sets this unconditionally
- 2.x sets this iff file is a notebook
11 years ago
Thomas Kluyver
db6cd028ea
Merge pull request #6793 from takluyver/langinfo
...
Move language info from kernelspec to kernel_info_reply
11 years ago
Min RK
965102ba60
Merge pull request #6554 from Carreau/itsallaboutme
...
Add About IPython
11 years ago
Min RK
5ff9ded54a
Merge pull request #6614 from takluyver/nb-terminal-ui
...
Terminal emulator in the notebook
11 years ago
Mateusz Paprocki
3d825cfbcc
Allow to specify CodeMirror's syntax mode as MIME
...
This is required for e.g. Scala, where the mode is given as
text/x-scala, but the actual implementation is in clike mode.
This wouldn't be an issue, but IPython loads modes lazily, so
you need both mode name and MIME to resolve correct file and
configure CodeMirror.
11 years ago
Thomas Kluyver
659accf69e
Add event for Markdown cell rendered
11 years ago
Thomas Kluyver
8917e9951e
Move terminal CSS into LESS file
11 years ago
Bussonnier Matthias
1b200e5504
recompute dummy size dynamically + styling in css
11 years ago
Thomas Kluyver
9c7d73a05e
Move language info from kernelspec to kernel_info_reply
11 years ago
Thomas Kluyver
eacd05505c
Open download in a new window instead of changing the URL
...
Closes gh-6764
11 years ago
Thomas Kluyver
f0f6c0d29b
Merge pull request #6677 from minrk/services
...
remove unnecessary 'js' subdir from services
11 years ago
Thomas Kluyver
c39939869f
Merge pull request #6653 from mattpap/fix_ansispan
...
Fix IPython.utils.ansispan() to ignore stray [0m
11 years ago
MinRK
a67abc297d
remove unnecessary 'js' subdir from services
...
part of the point of services is that they are just code, so they won't have js/less/etc. files.
11 years ago
Matthias Bussonnier
103d5dc9b7
Merge pull request #6720 from takluyver/kernelspec-pygments-lexer
...
Respect kernelspec metadata for syntax highlighting in nbconvert
11 years ago
MinRK
e36df49c5f
tweak collapsed navbar style
...
- notification and indicators appear above menu on small screen
- collapsed menu button floats left
11 years ago
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
Thomas Kluyver
ddbe427dfa
Add pygments_lexer key to kernelspec
11 years ago
Matthias Bussonnier
bd8413dfc7
Use low overhead object heritence in Js (Object.create vs new)
...
the use of
XX.prototype = new YY();
Does trigger the constructor of YY without the nead for it. `Object.create`
does go around this limitation and target browser that are relatively Old.
Cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
for more info
It might help to get rid of some logic in constructors that check wether some
options are passed in, that were causing errors on noteboko load. Typically
`if(element){ }` on Abstract `Cell` constructor.
11 years ago
Matthias Bussonnier
6766daa397
Merge pull request #6705 from jhamrick/celltoolbar-justify
...
Right-justify celltoolbar instead of reversing
11 years ago
Matthias Bussonnier
e7c2c369e0
Add about dialog in Notebook Help Menu.
...
This allow to get info on version of IPython when running remotely.
The about dialog also send a kernel info request and display the banner
which is useful for non-python kernel that don't match IPython version
11 years ago
MinRK
2624f82787
set contentType='application/json'
...
instead of skipping straight to headers
avoids jQuery's crazy JSONP detection on `=.*??`,
which was triggered because it assumed the contentType was unspecified,
and thus should be guessed based on content.
11 years ago
Jessica B. Hamrick
b68507ae91
Display prompt in the notebook correctly
11 years ago
Jessica B. Hamrick
8294a5938b
Right-justify celltoolbar instead of reversing
11 years ago
Matthias Bussonnier
87dc17ccbc
cleanup style fixed in separate PR and few other things
11 years ago
Matthias Bussonnier
b24e69b058
cleanup whitespace
11 years ago
Matthias Bussonnier
c183aa5fe6
remove unused cm_loadmode
11 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
11 years ago
MinRK
7aed2fbb55
fix this.editor reference
11 years ago
Matthias Bussonnier
dc912dbdbd
handle somehting selected and multiple cursors and 4 tabs show content in pager
11 years ago
Matthias Bussonnier
e0f19a386e
protect agains undefined
11 years ago
Matthias Bussonnier
804d89351b
rework keyboard management to avoit completer and up/down bugs
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
Jonathan Frederic
262bf7d2c9
Merge pull request #6673 from jhamrick/fix-tooltip
...
Fix broken show in pager button
11 years ago
Jessica B. Hamrick
685040427a
Fix broken show in pager button
11 years ago
Min RK
63a7969123
Merge pull request #6416 from Carreau/foobarcode
...
Unify Text/CodeCell code.
11 years ago
Matthias BUSSONNIER
9657a3f7cd
Generalise render/unrender to all cells type
...
Allow change of behavior in pure (custom) css.
11 years ago
Matthias Bussonnier
b2a0798fdf
Merge pull request #6598 from minrk/nbformat-backport
...
nbformat validation
11 years ago
Matthias Bussonnier
a8949405da
Merge pull request #6644 from minrk/trust-changed
...
trigger trust_changed properly on load
11 years ago
MinRK
4ae05c729c
trust is stored in code_cell.metadata
...
not top-level code_cell
11 years ago
MinRK
ddd3aa2a5a
add dialogs for failed save/load
...
- failed validation doesn't prevent save/load,
but the user is now warned about it.
- there is now a warning dialog if fromJSON fails,
rather than the usual silent failure.
11 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
11 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
11 years ago