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
2012-05-31 13:08:21 -07:00
Matthias BUSSONNIER
a280495173
remove less CSS
2012-05-31 13:08:21 -07:00
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
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
94d8683400
allow number in tokens
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
068a60a8b7
fix print view
...
construct a completer only if the class exist
otherwise print view won't load.
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
507a66235b
fix typo that->this
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
b6fcb806d6
fix cancel_stick typo
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
d7b42270ee
remove console.log
2012-05-31 13:08:20 -07:00
Matthias BUSSONNIER
73cc002110
clean and comment tooltip file
2012-05-31 13:08:19 -07:00
Matthias BUSSONNIER
5064568730
should fix click on close works when sticky
2012-05-31 13:08:19 -07:00
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
2012-05-31 13:08:19 -07:00
Matthias BUSSONNIER
72e3ea89ee
remove global
2012-05-31 13:08:19 -07:00
Matthias BUSSONNIER
5d8f0da694
almost all logic in tooltip.js, padding right button
2012-05-31 13:08:19 -07:00
Matthias BUSSONNIER
ca68062413
call tooltip after time
2012-05-31 13:08:18 -07:00
Matthias BUSSONNIER
0bfa18dd46
call tooltip by cell reference
2012-05-31 13:08:18 -07:00
Matthias BUSSONNIER
52d5f3beb2
move arow with tooltip positoin
2012-05-31 13:08:18 -07:00
Matthias BUSSONNIER
fa5aae3f43
shorten prearrow
2012-05-31 13:08:18 -07:00
Matthias BUSSONNIER
17a4f13a81
animation if already shown
2012-05-31 13:08:18 -07:00
Matthias Bussonnier
e0cf20b423
animate tooltip position
2012-05-31 13:08:17 -07:00
Matthias Bussonnier
b26b20e94f
fix scrolltop
2012-05-31 13:08:17 -07:00
Matthias Bussonnier
a84a7f03b0
play with tooltip growing css
...
don't forget to reenqble keyframe with a more
recent less compiler
2012-05-31 13:08:17 -07:00
Matthias Bussonnier
775c9e9317
comment a little
2012-05-31 13:08:17 -07:00
Matthias BUSSONNIER
22a44e79f8
change new tooltip appearence
...
temporarly (or maybe not) use less css to produce the css for the
tooltip.
2012-05-31 13:08:17 -07:00
Matthias BUSSONNIER
7b5b591425
improve new tooltip
2012-05-31 13:08:16 -07:00
Matthias BUSSONNIER
b463c64b32
new tooltip style
2012-05-31 13:08:16 -07:00
Matthias Bussonnier
85a09de995
tooltip to mac
2012-05-31 13:08:16 -07:00
Matthias Bussonnier
0247ac16f6
tooltip to mac
2012-05-31 13:08:16 -07:00
Matthias BUSSONNIER
7e7df86761
more cleaning
2012-05-31 13:08:15 -07:00
Matthias BUSSONNIER
cf19389cdd
clean code, remove duplicate unused lines
2012-05-31 13:08:15 -07:00
Matthias BUSSONNIER
6a658a6fa8
move more code into the completer itself
2012-05-31 13:08:15 -07:00
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.
2012-05-31 13:08:15 -07:00
Matthias BUSSONNIER
23ef964f06
add ctrlKey.which to utils
...
and modifies some file to use it
2012-05-31 13:08:15 -07:00
Matthias BUSSONNIER
3919267750
Removing some code that seem not to be usefull anymore
...
if having problem with Tab Completion try to revese this commit
2012-05-31 13:08:15 -07:00
Matthias BUSSONNIER
cfaa7ba427
import Utils keycodes into the completer
2012-05-31 13:08:14 -07:00
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
2012-05-31 13:08:14 -07:00
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.
2012-05-31 13:08:14 -07:00
Matthias BUSSONNIER
839b8489c8
comment more
2012-05-31 13:08:14 -07:00
Matthias BUSSONNIER
0fa8b2236a
fix and retab javascript
2012-05-31 13:08:14 -07:00
Matthias BUSSONNIER
856c872ba7
use strict and clean a little.
...
adding 'use strict' in some place to be more agressive on the
delaration of the variables.
clean name and details here and there
2012-05-31 13:08:13 -07:00
Matthias BUSSONNIER
5076118509
implement the completer in a separate class
...
more feature like
-completion based on 2 sources :
* introspection in kernel
* context of current cell (complete with matching words)
* each source has its color in the completer
2012-05-31 13:08:13 -07:00
Fernando Perez
9af0496692
Merge pull request #1811 from minrk/exclusions
...
Warn on nonexistent exclusions in iptest. This will help us avoid common and often baffling errors from simple typos, as well as keeping the exclusions list updated as the code evolves.
2012-05-31 12:35:23 -07:00
MinRK
45a3230d70
test for exclusions based on ipython_package_dir
2012-05-31 12:17:51 -07:00
Brian E. Granger
675aa0bbef
Merge pull request #1808 from Carreau/alternate-upload-ff
...
Reposition alternate upload for firefox [need cross browser/OS/language test]
2012-05-31 12:13:18 -07:00
MinRK
cd6fd19fd8
remove stale exclusions revealed by warning
2012-05-31 11:57:13 -07:00
MinRK
65ac94d8f4
warn on nonexistent exclusions
2012-05-31 11:56:06 -07:00
MinRK
3ac79da49c
add missing cython exclusion in iptest
2012-05-31 10:06:13 -07:00
Matthias BUSSONNIER
a4dc3f1e3f
position upload form for firefox
2012-05-31 18:58:03 +02:00
Bussonnier Matthias
711c2ef6cc
Merge pull request #1739 from Carreau/dashboardImprovement
...
Dashboard improvement
see #1658 #1676
Allow to shutdown the kernels from the dashboard,
autorefresh dashboard,
add a native upload method, especially for https/chrome/linux that prevent drag and drop
2012-05-31 00:24:14 -07:00
Matthias BUSSONNIER
981738f9e3
change upload sentense
2012-05-31 08:33:52 +02:00
Fernando Perez
c15e0fa132
Merge pull request #1770 from ellisonbg/cython_magic
...
Cython related magic functions: offers the new cell magics %%cython_inline, %%cython_pyximport and %%cython to make it very easy to put cython-accelerated code in a cell and have it loaded interactively.
2012-05-30 22:17:34 -07:00