David Wyde
904be21a9f
Prevent errors when up/down arrows are pressed in an empty notebook.
...
Notebook.get_selected_cell() returns `null` in an empty notebook.
13 years ago
Matthias Bussonnier
a8873230bf
Merge pull request #3102 from minrk/spellcheck
...
set `spellcheck=false` in CodeCell inputarea
13 years ago
Matthias Bussonnier
061d27e877
Merge pull request #3064 from minrk/header-anchors
...
add anchors to heading cells
13 years ago
MinRK
7a648670af
set `spellcheck=false` in CodeCell inputarea
...
prevents autocorrect from firing in Safari (weirdly, autocorrect does not have this effect).
Note: must be `false`, not `off`
closes #3087
13 years ago
Matthias Bussonnier
7bc51fd945
Merge pull request #3078 from minrk/link_re
...
fix regular expression for detecting links in stdout
13 years ago
Matthias Bussonnier
98aba52c58
Merge pull request #3054 from minrk/auto-cluster-size
...
restore default behavior for automatic cluster size
13 years ago
MinRK
4cd0d6e7bb
fix regular expression for detecting links in stdout
...
The previous expression was matching both the beginning and the end of the line,
which would end up swallowing the next match,
ultimately matching every other URL in the string.
This removes the end-of-line check, so it will match every URL.
The wrapURLs function to make URLs easier to identify does not seem to have been necessary,
and has thus been removed.
closes #2834
13 years ago
David Wyde
7a10342d6f
Add YUIDoc in notebook.js.
13 years ago
Paul Ivanov
9ca886dc11
check for SIGUSR1 before using it, closes #3074
...
thanks @takluyver for spotting this
13 years ago
Min RK
b218a55a5d
Merge pull request #3051 from minrk/vbox-ff-fail
...
add width:100% to vbox for webkit / FF consistency
closes #3049
13 years ago
MinRK
b110a02e7a
s/heading-link/heading-anchor/
13 years ago
MinRK
ede5a66198
put the anchor inside the header tag
...
instead of the other way around.
This way, only clicking the text loads the hash link,
rather than the whole area.
13 years ago
Min RK
d4c6bef1f5
Merge pull request #3033 from ivanov/print-server-info
...
on resume, print server info again
13 years ago
Paul Ivanov
6334a481b2
print info string on interrupt, log it on startup
13 years ago
MinRK
7e6b5d98c7
trigger hash on notebook load
...
enables direct links to anchors within notebooks
13 years ago
MinRK
ba4b1d6e1c
add anchor and link to heading cells
13 years ago
MinRK
276d8b68bb
restore default behavior for automatic cluster size
...
the up/down buttons still work, but it doesn't populate everything with 2,
which was wrong.
13 years ago
MinRK
7fcc683e6f
add width:100% to vbox for webkit / FF consistency
...
closes #3049
13 years ago
Paul Ivanov
fd467e75b6
make SIGUSR1 and SIGINFO trigger printing of info
...
Directory and url/port information for the notebook server is now
printed when it receives one of these signals. SIGINFO is available only
on BSD-based systems, and is triggered via Ctrl-T.
13 years ago
Paul Ivanov
218087104d
log the notebook server directory
...
suggestion provided by @Carreau
13 years ago
Paul Ivanov
786396cbb0
on resume, print server info again
...
This commit makes it possible to differentiate between many different
long-running notebook servers, where the original ip address and port
information printed at the beginning has scrolled out of the screen.
We save the server location string that gets printed on startup, and
re-print it when the user attempts to interrupt the server with Ctrl-C
Thanks to @minrk for discussion on how this should work.
Also added a docstring to the start() method
13 years ago
Olivier Verdier
a7a73c4285
fix time format to international time format
...
use the ISO 8601 standard
see http://en.wikipedia.org/wiki/ISO_8601#Times
13 years ago
Harry Moreno
21fc8cd23b
changed instances of 'outout' to 'output' in alt text's
13 years ago
Matthias BUSSONNIER
3b37cd80e4
fix css in .output_area pre
...
font: inherit conflict with monospace, wich in some cases
leads to non-monospace font (nbviewer for example)
13 years ago
Matthias BUSSONNIER
f84acbbaff
fix run-all (that-> this)
13 years ago
Brian E. Granger
4843a7acd2
Merge pull request #2942 from Carreau/cm-ipython-css
...
Move CM IPython theme out of codemirror folder
13 years ago
Brian E. Granger
66049a99f0
Merge pull request #2929 from Carreau/cleanup-cell-insertion
...
Cleanup cell insertion
13 years ago
Matthias BUSSONNIER
914dfb9f61
fix one more == to ===
13 years ago
Matthias BUSSONNIER
10e92b3034
fix i/index in move up/down and == -> ===
13 years ago
Matthias BUSSONNIER
0033b3e6c5
fix notebook deletion.
...
do not thrust what "that" is in a 3 level deep
callback
13 years ago
MinRK
acf3b2bf21
fix logic for append_javascript
...
PR #2911 results in appending javascript even if dynamic is false,
so in current master all javascript outputs are actually run at load.
13 years ago
Matthias BUSSONNIER
e4cbf5e717
move CM IPython theme out of codemirror folder
13 years ago
Matthias BUSSONNIER
6ed926be7b
fix baseUrl
13 years ago
Bussonnier Matthias
9cd9e5db73
Merge pull request #2903 from Carreau/toggle-line-number
...
Specify toggle value on cell line number
13 years ago
Bussonnier Matthias
a1a32e82ff
Merge pull request #2911 from Carreau/output-order-conf
...
display order in output area configurable
13 years ago
Bussonnier Matthias
f99f0571d7
Merge pull request #2897 from Carreau/baseurl-meth
...
Dont rely on BaseProjectUrl data in body tag
13 years ago
Bussonnier Matthias
0a25fb8749
Merge pull request #2894 from Carreau/cm-configurable
...
Cm configurable
13 years ago
Matthias BUSSONNIER
f6298c6c7f
use show method in toggle method
13 years ago
Matthias BUSSONNIER
1f402a1dac
remove unused/not working function
13 years ago
Matthias BUSSONNIER
e965757a33
simplify logic
13 years ago
Bussonnier Matthias
b8fe73ba3c
Merge pull request #2932 from takluyver/get-static-files
...
Simplify using notebook static files from external code
13 years ago
Thomas Kluyver
9e2894caa2
Simplify using notebook static files from external code.
13 years ago
Bussonnier Matthias
1467f5b59f
abstract, cleanup and document
...
Separate the methods that actually insert dom element for easier
testing.
Cleanup, and order methods more logically
add "docstring"
13 years ago
Bussonnier Matthias
0c5c5b9c83
Merge pull request #2906 from Carreau/mkypatch-cm
...
Unpatch/Monkey patch CM
13 years ago
Matthias BUSSONNIER
44385d9c7f
jslint
13 years ago
Matthias BUSSONNIER
bd59389626
fix bad logic
13 years ago
MinRK
b7fe08c91c
add disabled state to undo-delete-cell when unavailable.
13 years ago
MinRK
7566379d14
add menu item for undo delete cell
...
closes #2920
13 years ago
Matthias BUSSONNIER
d9480a5643
refactor cellc
13 years ago
Matthias BUSSONNIER
2d07627cb1
factor valid cell index logic
13 years ago