Matthias BUSSONNIER
b1a9677cc0
fix less css
14 years ago
Matthias BUSSONNIER
370b723cb6
Revert "remove less CSS"
...
This reverts commit 185c4ee21a4b658b55d313d1813a5bfeccaa20ef.
14 years ago
Brian Granger
644b1f85ed
Fixing bug in prompt_area handling of OutputArea.
14 years ago
Brian Granger
6268e0a4b1
Removing stale code in CodeCell.
14 years ago
Brian Granger
fd4ecebc9d
Adding missing var statements in notebook.js.
14 years ago
Brian Granger
b274a86b8c
Adding back kernel dead choice for user.
...
I had removed the choice for the user to not restart a dead kernel
but we are using that elsewhere. Eventually we may not give them
a choice, but for now we will use that model.
14 years ago
Brian Granger
ae2bea23fa
Refactored CodeCell to use new OutputArea object for output.
...
This allows us to have a reusable object for formatting output.
Javascript widgets can now use this to format output as well.
14 years ago
Brian Granger
f306423c7e
Adding options to Kernel.execute with a default of silent=true.
14 years ago
Matthias BUSSONNIER
2976d8ea10
fix multiple busy in title bar due to completer
14 years ago
Matthias BUSSONNIER
7301213124
simplify completer logic as we don't exec on behalf of cell
...
also skip making kernel completion request if kernel is busy
14 years ago
Matthias BUSSONNIER
e8632ff7ee
clean code, show clock if tooltip is 'sticky'
...
- make code more concise
- remove trailing space
- add some animation
- put some function/variable private with leading underscore
14 years ago
Matthias BUSSONNIER
8f33caf0dc
make tooltip tabs fonction configurable
14 years ago
Matthias BUSSONNIER
bf5cf0dd3a
move some tooltip logic away from codecell.js
14 years ago
Matthias BUSSONNIER
98303f5f7d
Clean code, retab and minor fix
...
remove unused code, convert some tab to space, and correct some
semicolon according to jslint
jlint fixes
14 years ago
Matthias BUSSONNIER
a280495173
remove less CSS
14 years ago
Brian Granger
0d6a698688
Major refactoring of the Notebook, Kernel and CodeCell JavaScript.
...
* Kernel doesn't depend on Notebook or CodeCell.
* CodeCell doesn't depend on Notebook, only Kernel.
* All of the kernel management logic has been moved out of the
Notebook into the Kernel.
* Public methods of the Kernel (execute, complete, etc) take
a callbacks object that registers the callbacks for that msg.
(rebased, cherrypicked, by Bussonnier Matthias <bussonniermatthias@gmail.com>)
(and tabs removed)
Conflicts:
IPython/frontend/html/notebook/static/js/codecell.js
IPython/frontend/html/notebook/static/js/completer.js
IPython/frontend/html/notebook/static/js/tooltip.js
14 years ago
Matthias BUSSONNIER
94d8683400
allow number in tokens
14 years ago
Matthias BUSSONNIER
068a60a8b7
fix print view
...
construct a completer only if the class exist
otherwise print view won't load.
14 years ago
Matthias BUSSONNIER
507a66235b
fix typo that->this
14 years ago
Matthias BUSSONNIER
b6fcb806d6
fix cancel_stick typo
14 years ago
Matthias BUSSONNIER
d7b42270ee
remove console.log
14 years ago
Matthias BUSSONNIER
73cc002110
clean and comment tooltip file
14 years ago
Matthias BUSSONNIER
5064568730
should fix click on close works when sticky
14 years ago
Matthias BUSSONNIER
d2f803bff2
multiple tooltip action
...
consecutives tab pressing with tooltip does :
- fisrt : show it
- second : expand it
- third : make it sticky for 10s (typing wont dismiss it)
- forth : send the content into the Pager
14 years ago
Matthias BUSSONNIER
72e3ea89ee
remove global
14 years ago
Matthias BUSSONNIER
5d8f0da694
almost all logic in tooltip.js, padding right button
14 years ago
Matthias BUSSONNIER
ca68062413
call tooltip after time
14 years ago
Matthias BUSSONNIER
0bfa18dd46
call tooltip by cell reference
14 years ago
Matthias BUSSONNIER
52d5f3beb2
move arow with tooltip positoin
14 years ago
Matthias BUSSONNIER
fa5aae3f43
shorten prearrow
14 years ago
Matthias BUSSONNIER
17a4f13a81
animation if already shown
14 years ago
Matthias Bussonnier
e0cf20b423
animate tooltip position
14 years ago
Matthias Bussonnier
b26b20e94f
fix scrolltop
14 years ago
Matthias Bussonnier
a84a7f03b0
play with tooltip growing css
...
don't forget to reenqble keyframe with a more
recent less compiler
14 years ago
Matthias Bussonnier
775c9e9317
comment a little
14 years ago
Matthias BUSSONNIER
22a44e79f8
change new tooltip appearence
...
temporarly (or maybe not) use less css to produce the css for the
tooltip.
14 years ago
Matthias BUSSONNIER
7b5b591425
improve new tooltip
14 years ago
Matthias BUSSONNIER
b463c64b32
new tooltip style
14 years ago
Matthias Bussonnier
85a09de995
tooltip to mac
14 years ago
Matthias Bussonnier
0247ac16f6
tooltip to mac
14 years ago
Matthias BUSSONNIER
7e7df86761
more cleaning
14 years ago
Matthias BUSSONNIER
cf19389cdd
clean code, remove duplicate unused lines
14 years ago
Matthias BUSSONNIER
6a658a6fa8
move more code into the completer itself
14 years ago
Matthias BUSSONNIER
e4784b984b
be smarter for context completion
...
Completion source based on context is smarter and use codemirror token
mecanisme to propose completions, instead of just plitting text at
whitespace and before dots.
14 years ago
Matthias BUSSONNIER
23ef964f06
add ctrlKey.which to utils
...
and modifies some file to use it
14 years ago
Matthias BUSSONNIER
3919267750
Removing some code that seem not to be usefull anymore
...
if having problem with Tab Completion try to revese this commit
14 years ago
Matthias BUSSONNIER
cfaa7ba427
import Utils keycodes into the completer
14 years ago
Matthias BUSSONNIER
fa6b8974ea
add a keycodes structure to utils
...
this structure (IPython.utils.keycodes)
add some common keycodes like tab...etc
and start modifying codecell.js to use it for better readability
14 years ago
Matthias BUSSONNIER
472fe4c19e
fix replace range bug
...
pylab.l<tab><tab> would be replace by .l because of a bug in common
start finding .l on the fifth position of pylab.start.
14 years ago
Matthias BUSSONNIER
839b8489c8
comment more
14 years ago