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
Matthias BUSSONNIER
0fa8b2236a
fix and retab javascript
14 years ago
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
14 years ago
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
14 years ago
Matthias BUSSONNIER
a4dc3f1e3f
position upload form for firefox
14 years ago
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
14 years ago
Matthias BUSSONNIER
981738f9e3
change upload sentense
14 years ago
Bussonnier Matthias
242d3df5c2
Merge pull request #1705 from Carreau/draggablePager
...
[notebook] Make pager resizable, and remember size...
14 years ago
Matthias BUSSONNIER
1eeff0e5c8
Revert "esc collapse pager"
...
This reverts commit c8e47d45dbd7c17293de0d9218e8f52247b79d1d.
14 years ago
Matthias BUSSONNIER
73ff1c5cde
fix upload button selection by class
...
superseed #1676 #1658 (and correct bug in 1676 where one con't upload
notebook because of refresh)
14 years ago
Matthias BUSSONNIER
b2291b14dc
Drag target bigger for empty notebook dashboard
...
When no notebooks, show "Notebook list empty", which increase the size
of the drag target.
fixes #1492
14 years ago
Matthias BUSSONNIER
1eae6f060a
do not expose enable/disable autorefresh
14 years ago
Matthias BUSSONNIER
231e8f93f2
remove underscore in filename
14 years ago
Matthias BUSSONNIER
ee857f1bd9
remove extra console.log
14 years ago
Matthias BUSSONNIER
d549731d32
add 'Close and halt' in notebook filemenu
14 years ago
Matthias BUSSONNIER
13cf61912b
prevent autorefresh when pending upload
...
don't clear list if 'upload' button are present to avoid clearing the
list and the upload form
14 years ago
Matthias BUSSONNIER
a6f78c90b3
Check for null rather than undefined
...
set kernel id to None/null if not started
14 years ago
Matthias BUSSONNIER
2faee858af
rename kernel_status -> kernel_id
14 years ago
Matthias BUSSONNIER
34deb138c8
test kernel for undefined rather than off
14 years ago
Matthias BUSSONNIER
fc59441dda
dashboard autorefresh
...
refresh notebook list and cluster list when :
- page get focus
- every 60 sec when page is on focus
stop refreshing every 60 sec when page loose focus
14 years ago
Matthias BUSSONNIER
4af8cb6c9a
proof of concept
14 years ago
Matthias BUSSONNIER
ca089cc7cf
alternate notebook upload methods
...
fixes #1562
14 years ago
Matthias BUSSONNIER
6acefdacb2
pep 8 and js
...
space after comma, space around equal, space before if and curly bracket
14 years ago
Matthias BUSSONNIER
4cfd7e9df6
fix firefox compatibility
14 years ago
Matthias BUSSONNIER
785fbd9d9a
esc collapse pager
14 years ago
Matthias BUSSONNIER
976c433fe4
Make pager resizable, and remember size...
...
Resizing to small collapse the pager keeping the size to at least 20%
height
(trying to) resize a collapsed pager to more than 10% "expand" it.
Pager can remember it size when toggling by clicking.
14 years ago
Matthias BUSSONNIER
8462288405
fix tooltip on token with number
...
fixes #1696
allow number in matched token for tooltip, except first position
also prevent matching token starting wit a dot
14 years ago
MinRK
97151aa3b8
revert PR #1659
...
caused critical problems with subprocess output.
See `!ls` for an example.
14 years ago
Michael Droettboom
a5d7dd8d2b
Fix typo in comment
14 years ago
Michael Droettboom
e8be6bbe50
Fix the "test for nothing was streamed" so it doesn't add empty elements -- but only when there wasn't already something there.
14 years ago
Michael Droettboom
50fa35b1cc
Handle carriage return characters ("\r") in HTML notebook output.
14 years ago
Paul Ivanov
06dd2b00c6
clear In[] prompt numbers on "Clear All Output"
14 years ago
Fernando Perez
0344f92a62
Merge pull request #1490 from minrk/raw
...
rename plaintext cell -> raw cell
Raw cells should be *untransformed* when writing various output formats, as the point of them is to let users pass through IPython to their rendered document format (rst, latex, etc.). This is different from what is the logical meaning of 'plaintext', which would suggest that the contents should be preserved as unformatted plaintext (e.g. in a `<pre>` tag, or literal block).
In the UI, these cells will be displayed as 'Raw Text'.
WARNING: any existing v3 notebooks which use plaintext cells, when read in by versions after this merge, will silently rename those cells to 'raw'. But if such a notebook is uploaded into a pre-merge IPython, cells labeled as 'raw' will simply *not be displayed*.
14 years ago
MinRK
e7a45e9454
add VERSIONHACK markers for never-released plaintext handling
14 years ago
MinRK
9cb1559d5e
document initially hidden javascript container
14 years ago
MinRK
c21be2f386
hide output_area for js
...
prevents growing vertical space from adding empty output_areas.
14 years ago
MinRK
5c6c247b65
[notebook] clear_output is handled after a delay
...
This reduces flicker during common loops like:
for step in stuff:
clear_output()
print something
the timeout is flushed *immediately* on any subsequent output.
14 years ago
MinRK
f036c032c7
interpret 'plaintext' cells with their new name 'raw'
14 years ago
MinRK
9ffc7829da
rename plaintext cell -> raw cell
14 years ago
Brian Granger
19322be14d
Chaging # of engines format in cluster list.
14 years ago
Brian Granger
c0a87aa940
Notebook cluster manager now uses proper launchers.
14 years ago