Thomas Kluyver
41062f87b3
Ensure AMSmath is loaded before calling resetEquationNumbers method
9 years ago
Thomas Kluyver
04c5aec072
Catch errors from queueing Mathjax resetEquationNumbers call.
9 years ago
Grant Nestor
dbda33090f
Merge pull request #2677 from mpacer/mjax_labels
...
clear equation labels on typesetting so that labels don't stop equations from rendering
9 years ago
Thomas Kluyver
5faa2ab9b5
Protect against no element with id=favicon
9 years ago
Thomas Kluyver
0bd5fe8759
Only show busy favicon when execution lasts > 1s
...
This avoids making lots of HTTP requests as we rapidly change the favicon
between the 'notebook' (idle) and 'busy' icons. Now it should be no more
than one per second in the most pathological case.
Closes gh-2673
9 years ago
M Pacer
e2405cebe9
clear equation labels on typesetting so that labels don't block renders
9 years ago
Thomas Kluyver
4542a514e8
More specific check for missing body data
...
Closes gh-2611
9 years ago
Min RK
ff5e64e431
no need to double-check second half of a surrogate pair
9 years ago
Min RK
dbb78b4167
protect against a beautiful future in which javascript handles unicode sensibly
...
We don't need to count surrogate pairs if js stops using them
9 years ago
Min RK
8b14a8d003
check more strictly for surrogate pairs
...
check both surrogates with strict bounds, not just the first, in case of weirdness.
9 years ago
Min RK
a5e64e10b7
handle surrogate pairs
...
CodeMirror / javascript use utf16 code unit offsets,
but Jupyter protocol expects unicode *character* offsets,
so we need to translate back and forth.
9 years ago
Grant Nestor
3e01e128f5
Use animated favicon for kernel busy indicator
9 years ago
Min RK
76c6617b28
delete settings.url when pulling it out
9 years ago
Min RK
25c4ff33e4
accept jquery's ajax({url: '...'}) signature
...
to ease extensions updating from `$.ajax` to `utils.ajax`
9 years ago
Tony Cebzanov
cb247590c7
Support ANSI underline and inverse properties.
...
* Parse underline and inverse in ANSI escape codes
* Add CSS classes for same, using a subtle outline for inverse
9 years ago
Thomas Kluyver
666ecbf35c
Merge pull request #2011 from minrk/unwebpack
...
unwebpackify
9 years ago
Min RK
7188f02763
check if module is defined before checking for items on it
9 years ago
Andrew Shaffer
28008783e1
Merge branch 'master' of ssh://github.com/ashaffer/notebook
9 years ago
Andrew Shaffer
e16c590b73
throttle element resizing in output areas
9 years ago
Min RK
47d4451958
remove webpack shims
...
restore explicit imports of jquery, etc.
9 years ago
Min RK
2da82f909c
get xsrf from cookie, not body data
...
so that it can't be skimmed with a GET of the page
9 years ago
Min RK
9478a6b82b
use tornado xsrf token in API
...
- Cookie-authenticated API requests must use set X-XSRFToken header
- add utils.ajax for making ajax requests, adding xsrf header from default location
9 years ago
Min RK
a2f7325537
fix carriage return handling
...
The only real fix is an errant `+` on the final replacement, which would end up skipping sequential replacements.
- leaves trailing `\r` on the text, if there is one
- use groups to avoid unnecessary replace calls (no change)
- includes test
9 years ago
Grant Nestor
d2a6221c23
Fix: Carriage symbol should behave like in console
10 years ago
Thomas Kluyver
e77d7ebfb0
Process backspace characters in output
...
These are like carriage return, but only affect a character before them
instead of the whole line. I've checked that this makes the output from
'man ls' look OK.
Closes gh-1572
10 years ago
Julien Rebetez
14f7c2ccc0
Better handling of dnd events to correctly remove the dropzone effect when escape is pressed.
10 years ago
Jonathan Frederic
255e5888fc
Revert fancy pants changes
10 years ago
Peter Parente
705992b6a6
Fix is_loaded semantics
10 years ago
Peter Parente
00ef5b1314
Downgraded ipywidget hack
...
Fixed whitespace for jon's PR #1278
10 years ago
Min RK
41d6da235c
Merge pull request #879 from ellisonbg/nbext-pain
...
New nbextensions installation API
10 years ago
Matthias Geier
2bad374763
Inline _parseNumbers()
10 years ago
Matthias Geier
52fae53534
Add error messages to the RangeErrors
10 years ago
Matthias Geier
9d052588b5
Update ANSI tests
10 years ago
Matthias Geier
245287a83c
Remove ES 6 syntax and make integer conversion stricter
10 years ago
Matthias Geier
7bee6c5c2d
Re-factor ANSI color handling
...
The implementation is based on Python code from
nbconvert.filters.ansi2html().
Among other things, this fixes #988 .
10 years ago
Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Brian E. Granger
de42e6d9d2
Working on logging.
10 years ago
Brian E. Granger
7705bfd5ab
New approach working, old approach gone.
10 years ago
Brian E. Granger
49b7b8c071
This part of things is working.
10 years ago
Julien Rebetez
aa460ffecc
Fix speed issues when attaching large images
10 years ago
Julien Rebetez
398c90b0aa
Use the cell ‘attachments’ property instead of ‘metadata.attachments’.
...
Use the mime-bundle storage format to store the attachments
10 years ago
Jonathan Frederic
3fb25c5915
Explicitly use requirejs where requirejs should be used
10 years ago
Jonathan Frederic
1ae63ce185
Load jquery and friends globally
10 years ago
Safia Abdalla
a02148f3ad
Updated format_datetime to return human-friendly dates
10 years ago
Safia Abdalla
0bf3767b88
Updated format string for last modified datetime
10 years ago
Safia Abdalla
23aeb32cc5
Added datetime_sort_helper function
10 years ago
Safia Abdalla
97cfe14abf
Added format_datetime utility function
10 years ago
Matthias Bussonnier
ef0f3b9c0e
Do not allow `<` in url.
...
fix #904
10 years ago
Matthias Bussonnier
f99ee3025c
Fix closing ansi handling.
...
The following was wrong:
IPython.utils.ansispan("\x1b[38;5;28;01mtry\x1b[39;00m")
"<span style="color: rgb(0,102,0);" class="ansibold">try< span>"
11 years ago
Jason Grout
b3bfe1bb1c
Nicer logging of error messages
11 years ago