Brian E. Granger
5137961bf2
Protect against navigator undefined in platform.
12 years ago
Brian E. Granger
0af185787a
Added platform dep. logic.
12 years ago
MinRK
c7a3676804
allow utils.js to be loaded in node
...
where navigator is undefined
12 years ago
Brian E. Granger
06aa0d540d
Using a more specific approach for managing CM focus.
...
I used to try and enter command mode when a cell looses focus. The
problem with that is that focusing an output area would remain in
edit mode.
Now, I bind this logic to the code mirror blur event, so that
focusing the output area enters command mode.
12 years ago
Brian E. Granger
b865c98567
Removing KBN null mode and replacing with enable/disable.
12 years ago
Brian E. Granger
caffba142e
Adding keyboard manager logic.
...
This is currently very broken.
12 years ago
MinRK
1869e1a1a3
add utils.url_join_encode
...
like url_path_join, but escapes url components
12 years ago
MinRK
71d6a80629
add `setup.py jsversion`
...
for writing the IPython version to `IPython.version` in javascript.
supersedes #4357
12 years ago
Min RK
0aaafce4af
Merge pull request #4195 from minrk/widget-msg
...
IPEP 21: widget messages
12 years ago
Paul Ivanov
19a20a3c70
add Ctrl-M keyboard shortcut
12 years ago
Paul Ivanov
65810a49e4
utility functions + tests for shift- & ctrl-enter
12 years ago
Paul Ivanov
c68eaca621
added a shorthand way to trigger keyboard events
...
as suggested by @ellisonbg in #4285
12 years ago
MinRK
5c83cd3e52
move comm.js to kernel service
12 years ago
MinRK
04adce96af
add message metadata to comm and kernel.send_shell_message
12 years ago
MinRK
99680e21bd
move comm.js to base
12 years ago
MinRK
9206d1e87f
add utils.always_new
...
wrapper allows passing constructors as callbacks, where `new` is required.
12 years ago
MinRK
11013e648d
add utils.splitext to js
...
mimic Python os.path.splitext
12 years ago
MinRK
5593526108
don't let empty strings introduce extra slashes in url_path_join
12 years ago
MinRK
40f577b538
add utils.url_path_join
...
javascript equivalent of Python-side function.
12 years ago
MinRK
8577550756
move edit_metadata to IPython.dialog
12 years ago
Zachary Sailer
a16211ceff
minor bug fix, define 'var' in dialog.js.
...
The 'cell' variable isn't defined and causes and error in the
console
13 years ago
Matthias BUSSONNIER
13ff842be5
"use strict" in most (if not all) our javascript
...
+ fix one variable leaking in global nameespace
13 years ago
Andrea Bedini
0fd65c4de3
Fix ansi color code for background yellow
13 years ago
MinRK
79d9f0f039
refocus active cell on dialog close
...
if there is one
Otherwise, the cursor is lost on kernel restart, etc.
13 years ago
MinRK
c800ed9671
be pedantic about VT100 vs ANSI in comments
13 years ago
MinRK
13a89a74e3
add indexed-color in 256-color support
13 years ago
MinRK
49e6a36f7c
add ansi background colors
13 years ago
MinRK
1186d575a9
expand ANSI color support
...
adds support for 256 colors
does not yet add support for themed 16-color mapping ([01;38;5;[0-15])
closes #3617
13 years ago
MinRK
55192ef881
fix regular expression for ANSI escapes
...
wouldn't catch `\x1b[01;`, only `\x1b[0;` or `\x1b[1;`.
closes #3614
13 years ago
MinRK
cf726d6a40
mv IPython.html.notebook -> IPython.html
13 years ago