Min RK
4335486bdc
Merge pull request #7263 from takluyver/nb-common-config
...
Add common config section for frontend config
11 years ago
Thomas Kluyver
0a28783871
Expose load_extensions in utils
11 years ago
dongweiming
491046425d
fix widget description can not display when use --no-mathjax
11 years ago
Thomas Kluyver
c719d2fe83
Refactor out load_extensions_from_config function
11 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
11 years ago
Min RK
b11fe93abb
add utils.time
...
consolidate some time-related utils, used in save widgets
11 years ago
Min RK
1512598b83
various fixes in utils.js
...
revealed by linters
- remove duplicate WrappedError definition
- regex_split doesn't actually allow string separator
- remove various unused variables
- fix some incorrect regex escaping
- add missing quotes in $('body')
- remove a `for(attr in object)` because javascript
11 years ago
Nicholas Bollweg (Nick)
d3601f90ef
checking in css
11 years ago
Nicholas Bollweg (Nick)
c72ad2754c
more fidgeting before starting over
11 years ago
Nicholas Bollweg (Nick)
5858350cc3
handling explicitly provided modes from kernelspec.language_info
11 years ago
Nicholas Bollweg (Nick)
8f5b447eaf
removing monkeypatch, importing rest of codemirror default theme
11 years ago
Nicholas Bollweg (Nick)
68c4714338
using codemirror mode/meta for detection
11 years ago
Matthias Bussonnier
a9fffc41ab
Merge pull request #6950 from minrk/new-new-dropdown
...
Add kernel-select dropdown to new notebook button
11 years ago
Min RK
f94e482478
handle undefined settings in promising_ajax
11 years ago
Min RK
9e809126e4
add utils.get_url_param
...
I really cannot believe that we need to write this ourselves
11 years ago
Nicholas Bollweg (Nick)
83757b6a0e
moving typeset to utils, usage in cell and outputarea
11 years ago
Jonathan Frederic
5a9e4d7986
Manual fixes
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Jonathan Frederic
f9d730d01e
Address @takluyver 's review comments
11 years ago
Jonathan Frederic
bed3a4cfda
use es6
11 years ago
Jonathan Frederic
fed878fed9
Don't throw Errors with Objects as the message/
11 years ago
Jonathan Frederic
bbcd5cb55f
Bug fixes
11 years ago
Jonathan Frederic
3870bb571b
Use rsvp.js for Promises
11 years ago
Jonathan Frederic
1d1572421f
Add a WrappedError class
11 years ago
Jason Grout
f11a51bb77
Dictionary key/value typo
11 years ago
Jason Grout
fc94383487
Better error messages with correct stack traces
11 years ago
Jason Grout
686e73dfdf
More simplifications due to promises
11 years ago
Jason Grout
4412c12929
Simplify code by using Promises in a better way; try_load -> load
11 years ago
Jonathan Frederic
4beda5d0fb
Initial stab at adding promises to the widget framework.
11 years ago
Thomas Kluyver
8c962df79c
Load promises polyfill from a script tag
...
So all JS code can assume promises work, without needing to require it.
11 years ago
Thomas Kluyver
0295f5a487
Semicolons
11 years ago
Thomas Kluyver
9b2dac3fc1
Infrastructure for AJAX requests returning ES6 promises
11 years ago
Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
11 years ago
Kester Tong
89df330129
Modifies Contents API to return Error objects
...
Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.
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
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
11 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
11 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
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
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
Jessica B. Hamrick
d606d53b4e
More informative error messages
11 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
11 years ago
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
12 years ago
MinRK
6d542013a4
add utils.ajax_error_msg for extracting the JSON error message.
12 years ago
Jonathan Frederic
ee76005bc2
More review changes
12 years ago
Jonathan Frederic
188072d190
@carreau review changes
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
152e23dc76
Progress...
12 years ago
Jonathan Frederic
855815d207
Make page.html require.js friendly.
12 years ago
MinRK
33d2176bc5
complete_reply has cursor_start and cursor_end, not matched_text
12 years ago