Brian E. Granger
5137961bf2
Protect against navigator undefined in platform.
12 years ago
Brian E. Granger
fd07bb54b6
Fixing shortcut counts to work for n>2.
12 years ago
Brian E. Granger
0af185787a
Added platform dep. logic.
12 years ago
Brian E. Granger
1af4bfb3ce
Misc work on shortcuts:
...
* shift+v for paste above.
* ii for interrupt
* 00 for restart
* All shortcuts can have a count field for multiple press.
12 years ago
Min RK
0b70f26f0e
Merge pull request #4655 from minrk/marked-nbconvert
...
prefer marked to pandoc for markdown2html
12 years ago
MinRK
e6f84111cd
treat all falsy values the same in tooltip
...
undefined, null, and empty string are all treated the same.
12 years ago
MinRK
a7bd321648
don't show tooltip if object is not found
...
closes #4875
12 years ago
Min RK
64421304c0
Merge pull request #4826 from Carreau/no-html
...
some $.html( -> $.text(
12 years ago
Min RK
b5a85af6e5
Merge pull request #4847 from Carreau/js-kernel-info
...
add js kernel_info request
12 years ago
MinRK
848010e911
fix tooltip token regex for single-character names
...
closes #4808
12 years ago
Matthias BUSSONNIER
f5fa732bd3
avoid injection in input prompt
12 years ago
Matthias BUSSONNIER
98101f9c6c
add js kernel_info request
12 years ago
Matthias BUSSONNIER
149867e74c
some $.html( -> $.text(
...
Thoses that are obvious and easy to fix.
we shoudl have I think a travis test that grep for .html( and return
less than 20 lines :-)
12 years ago
MinRK
c7a3676804
allow utils.js to be loaded in node
...
where navigator is undefined
12 years ago
MinRK
283756ff03
don't require mathjax on the page in mathjax utils
...
required for reusing mathjaxutils in node
12 years ago
MinRK
829495c6b9
validate output types in append_output
...
validates from files, as well as from kernels
12 years ago
MinRK
19e4b74678
revert output area changes
12 years ago
MinRK
d6deaaaf1f
protect javascript from invalid mime-type data
...
everything is a string, if anything else is sent,
drop it so it doesn't show up in the notebook document.
12 years ago
Paul Ivanov
5209e82a96
fix mathjax typesetting
12 years ago
Paul Ivanov
ea8a7745d8
love javascript.
...
it gives me many opportunities to be sarcastic in my commit messages
12 years ago
Paul Ivanov
ebe9c20ca2
fix small bug in dropping metadata
12 years ago
Paul Ivanov
0e72314379
minor cleanup
12 years ago
Paul Ivanov
a001003d67
remove dynamic keyword, handling it in fromJSON
...
After discussing this in person with @minrk, we decided instead of
passing this parameter around and special-casing javascript, it's easier
to just remove javascript from the display_order for the duration of
fromJSON, since that's the only place where dynamic was set to False,
and then put it back in at the end of the fromJSON call.
12 years ago
Paul Ivanov
f147e50545
hardcode type into the mimetype specific functions
12 years ago
Paul Ivanov
e094fca4ef
dispatch on mime type for append methods
12 years ago
Paul Ivanov
a6be6e9821
love them semicolons
12 years ago
Paul Ivanov
b4c9df8ecc
fix stream saving
12 years ago
Paul Ivanov
a7ca25a602
fix toJSON/fromJSON renaming
12 years ago
Paul Ivanov
d4ab0f4466
unify key renaming for to/from json short keys
12 years ago
Paul Ivanov
ee9ecc5548
convert back to short names when writing to JSON
12 years ago
Paul Ivanov
6089570dec
stop using convert_to_mime_types
...
the in-memory representation and the messsage spec now all use mimetype
names for the JSON keys.
12 years ago
Paul Ivanov
d26ce5ffa2
fix png inlining
12 years ago
Paul Ivanov
7aaa3a9203
convert short names like 'png' to mimetype names
12 years ago
Paul Ivanov
b415af3dba
align with current master
12 years ago
Paul Ivanov
ef60127e6e
use mime type in memory
12 years ago
Paul Ivanov
e8aa99b603
check mime-keyed metadata first, then top level
12 years ago
MinRK
d9e57a5b6a
passthrough unrecognized output mime-types
...
preserves the bad mime-type -> short name conversion for supported types,
but allows passthrough for additional mime-types,
so at least data is not discarded.
12 years ago
Paul Ivanov
459b5ea7ad
use non-mimetype-keyed metadata in the outputarea
12 years ago
Paul Ivanov
2e72ab3cd6
make output code not drop non-mimetype-keyed json
12 years ago
Min RK
f7388dd2ea
Merge pull request #4785 from SylvainCorlay/master
...
Replacing a for-in loop by an index loop on an array
12 years ago
Sylvain Corlay
a053ba2419
Replacing a for-in loop by an index loop on an array, to avoid enumerating inherited properties
12 years ago
Brian E. Granger
d8db72564a
Merge pull request #3605 from ellisonbg/newux
...
Modal UI - a whole new world of fun....its like vim, but not!
12 years ago
Brian E. Granger
06d40366aa
Work on shortcuts and examples notebook.
12 years ago
Brian E. Granger
a324259c49
Minor changes to KB handling.
12 years ago
Brian E. Granger
c0fadb245d
Fixing design of quickhelp.
12 years ago
Brian E. Granger
506ffe5adf
Adding sorting and better layout to the KB shortcuts.
12 years ago
Brian E. Granger
5e706935e1
Semicolon cleanup.
12 years ago
Thomas Kluyver
c0f346c4e3
Merge pull request #4735 from minrk/better-errors
...
add some HTML error pages
12 years ago
Brian E. Granger
c54f48278d
canonicalize -> normalize in keyboard manager.
12 years ago
Brian E. Granger
c888f9d3e4
Cleaning up console log messages.
12 years ago