The notebook js transforms ANSI-escaped text to HTML. The transformed HTML was previously persisted to ipynb files, rather than the true output. This has been fixed, and notebooks with ANSI-colored output will need to be re-run for colored output (tracebacks) to be displayed correctly after this change.
Inoculate clearcmd extension into %reset functionality Restored the functionality of this quarantined module, added new tests for it and polished it a bit, and made it available as part of the `%reset` magic. Specifically, the `%clear` completions did not previously advertise the `array` argument option, and `clear in` did not clear `_i`, `_ii`, and `_iii` - both of these are now fixed. Removing the `shadow_compress` and `shadow_nuke` options, as they refer to functionality that does not appear to be used anywhere anymore.
Updating CodeMirror to the latest dev master. We had found a bug in CodeMirror that was forcing us to call refresh/focus/refresh on Firefox. This bug was fixed upstream. This PR pull in the latest CM with the bug fix and removes the extra refresh calls. All known CM bugs should be fixed, yeh!
Removing Ace edit capability. We have fixed some of the problems with CodeMirror and feel that the differences between Ace and CodeMirror are not great enough to justify having both. We may reintroduce a full-window edit mode using CodeMirror, but that will come separately.
this functionality used to live in extensions/clearcmd.py, and in PR #1309, due to the fact that we already had a %clear magic for resetting the screen, it was decided that it'd be best to incorporate the functionality inside the %reset magic.
This updates CodeMirror and refactors a good bit of the notebook code related to it. * Updated CodeMirror to the latest stable release. * Fix numerous bugs related to the CM update. * Refactored the Cell API and the notebook's cell handling methods. * Generalized split/merge to work with all cell types. * Generalized "Edit in Ace" to work with all cell types. * Loading optimizations: pager starts out hidden, faster loads. * Shading added to Markdown and HTML cells when they are being edited. * This branch will require solid usability testing on Safari, FF and Chrome before merging. * Fixed a number of CM related bugs.
two small heartbeat changes: * flush outgoing heartbeats (notebook and parallel): - Prevents mismatch between heartbeat timer and actual heartbeat send/recv events. * relax default heartbeat period in IPython.parallel to 3s from 1s - Matches heartbeats elsewhere. 3s should be extremely conservative, as most heartbeat responses are O(1ms) unless there's a bug in our code (like the above flush and previously-discovered GIL issues). closes #1304
Matches heartbeats elsewhere. 3s should be extremely conservative, as most heartbeat responses are O(1ms).