Matthias Bussonnier
a133236f56
Merge pull request #3969 from Carreau/usestrict
...
"use strict" in most (if not all) our javascript
plus fix one variable leaking in global namespace
13 years ago
Matthias Bussonnier
f996a93455
Merge pull request #3937 from Carreau/redtab
...
make tab visible in codemirror
13 years ago
Matthias Bussonnier
d04be020c1
Merge pull request #3939 from minrk/checkpoints
...
minor checkpoint cleanup
remember list of checkpoints browser-side
don't clobber list when a new checkpoint is created
cleanup references in MenuBar restore list. There was a closure issue, where multiple menu items would actually all restore the same checkpoint.
13 years ago
Matthias BUSSONNIER
1f4a7eae4e
remove red background, cleanup less file
13 years ago
Bussonnier Matthias
0226efa02d
make tab visible in codemirror and light red background
...
Shoudl fix #3935
13 years ago
Matthias BUSSONNIER
13ff842be5
"use strict" in most (if not all) our javascript
...
+ fix one variable leaking in global nameespace
13 years ago
Matthias BUSSONNIER
57c5d901dc
fix completion when shared start among completion item is null
13 years ago
Matthias BUSSONNIER
faa6d63176
complete on % for magic in notebook
...
fixes #3954
13 years ago
MinRK
3f3709526c
minor checkpoint cleanup
...
- remember list of checkpoints browser-side
- cleanup references in MenuBar restore list.
There was a closure issue, where multiple menu items would actually all restore the same checkpoint.
13 years ago
MinRK
c0ec02bdb4
swallow enter event in rename dialog
...
avoids adding newline in cell after dialog is closed.
closes #3926
13 years ago
Paul Ivanov
481a6a3070
two column quickhelp dialog, closes #3895
...
now that quickhelp is a modal dialog, it makes sense to have it be wider
and have the shortcuts take up two columns, instead of one. This change
makes that possible. See the results here:

13 years ago
Min RK
ac88931fee
Merge pull request #3850 from minrk/store_history
...
add missing store_history key to Notebook execute_requests
13 years ago
Min RK
40b113fc4e
Merge pull request #3848 from minrk/empty-docstring
...
fix incorrect `empty-docstring`
13 years ago
MinRK
9845ba1416
add missing store_history key to Notebook execute_requests
13 years ago
MinRK
1f97024d2b
fix incorrect `empty-docstring`
...
in notebook tooltip.
The else condition wasn't quite right, and would set doctsring to 'empty doctsring'
even when there was a doctoring.
13 years ago
Jessica B. Hamrick
3001ef8535
Parse markdown correctly when mathjax is disabled
13 years ago
MinRK
ef6b991881
don't set target on internal markdown links
...
simple in-page anchor-nav shouldn't open a new tab.
13 years ago
Jessica B. Hamrick
9973445f9a
Closes #3788
13 years ago
Matthias Bussonnier
e07ddebdf6
Merge pull request #3743 from minrk/noro
...
remove notebook read-only view
it is largely broken, and had problematic security issues.
13 years ago
Matthias Bussonnier
b78f0851a3
Merge pull request #3732 from minrk/slow-save-on-close
...
add delay to autosave in beforeunload
allows forceful 'discard changes' by reloading the page and dismissing the warning.
The timer doesn't start until after the dialog is dismissed, so if you decide to nav away without saving changes, the changes will actually not be saved.
13 years ago
Matthias Bussonnier
68cf7df38a
Merge pull request #3741 from minrk/badnbmsg
...
better message when notebook format is not supported
different messages for bad version and bad JSON.
closes #1592
13 years ago
Stefan Karpinski
f0cb45536c
handle empty metadata in pyout messages more gracefully.
13 years ago
MinRK
f9dd129e1c
remove notebook read-only view
...
it is largely broken, and had problematic security issues.
13 years ago
MinRK
2a09958bb6
better message when notebook format is not supported
...
Different messages for bad version and bad JSON.
closes #1592
13 years ago
MinRK
6970a79e6a
add delay to autosave in beforeunload
...
allows forceful 'discard changes' by reloading the page and dismissing the warning,
which @fperez really wanted today.
13 years ago
MinRK
6fbbd1dea3
remove any lingering raw_inputs on raw_input
...
There should never be more than one,
so ensure that is the case on creation.
closes #3710
13 years ago
Min RK
73771392aa
Merge pull request #3685 from minrk/pager
...
fix Pager.detach
detaching the pager would result in the pager not working anymore.
13 years ago
Rick Lupton
7b474e5ce6
Fix rename notebook - show error with invalid name
...
Before the dialog was closing anyway so you couldn't see the error message.
13 years ago
MinRK
0f5de6f4f8
fix Pager.detach
...
detaching the pager would result in the pager not working anymore.
13 years ago
Matthias BUSSONNIER
38fc90a1b0
add mising semicolon
13 years ago
Matthias BUSSONNIER
42fb90acac
patch header-cell and use-strict
13 years ago
Matthias BUSSONNIER
e166732257
linting and remove unused var
13 years ago
Matthias BUSSONNIER
7a452f10ca
statelessify matjaxutils
...
stateless-ification of function that was using module level
variable to share data.
Now varaible are passed around, and usage of replace math
require user to pass a return value of remove_math around
13 years ago
Matthias Bussonnier
ba24f709cb
Merge pull request #3673 from minrk/cm-comment
...
enable comment/uncomment selection in notebook
Bound to `(cmd|ctrl)-/`
13 years ago
MinRK
127a0669ff
enable comment/uncomment selection
...
with `(cmd|ctrl)-/`
closes #1540
13 years ago
Min RK
374579a65c
Merge pull request #3559 from minrk/create_delete_events
...
add create.Cell and delete.Cell js events
closes #3154
13 years ago
Min RK
99a9782eb7
Merge pull request #3601 from minrk/headingmath2
...
Markdown in heading cells (take 2)
closes #3053
closes #3597
13 years ago
Min RK
f395271e95
Merge pull request #3621 from minrk/htmlerror
...
catch any exception appending output
HTML output can have javascript with errors, etc.
No output should ever raise, no matter what.
closes #3620
13 years ago
Min RK
51f4b08174
Merge pull request #3571 from damianavila/split_shortcut
...
Added `^M -` as shorcut to split cell.
13 years ago
Paul Ivanov
03006024ba
passing cell to showInPager, closes #3625
13 years ago
MinRK
38869a60e4
catch any exception appending output
...
HTML output can have javascript with errors, etc.
No output should ever raise, no matter what.
closes #3620
13 years ago
MinRK
49e6a36f7c
add ansi background colors
13 years ago
MinRK
47061360da
remove unnecessary heading-anchor
...
residue from when the heading text itself was a link
the id is on the header tag itself,
and the link is anchor-link
13 years ago
MinRK
185769d1b9
merge heading lines
...
markdown headings must be a single line
13 years ago
MinRK
b5f0be18de
truncate invalid multi-line headers
13 years ago
MinRK
45d0dd0a45
Markdown in heading cells (take 2)
...
small typo prevented the previous implementation from working.
This also moves the rendering to the 'render' method,
away from set_rendered.
closes #3053
(again)
13 years ago
Min RK
2e417e82f0
Merge pull request #3594 from Carreau/fixes-3563
...
Fix duplicate completion in notebook
comparaison between kernel completion and context-completin were
returning duplicate entry in some cases, due to trailing space.
sripping trailing space in comparaison prevent this.
closes #3563
13 years ago
Matthias BUSSONNIER
1fbf5a6a2c
Revert "allow markdown in heading cells"
...
This reverts commit 8c83c3b958b3c9f65d9446f69b2704a0b263b07b.
13 years ago
Matthias BUSSONNIER
1e75582e48
Fix duplicate completion in notebook
...
comparaison between kernel completion and context-completin were
returning duplicate entry in some cases, due to trailing space.
sripping trailing space in comparaison prevent this.
fixes #3563
example
import bar
from foo im<tab>
used to propose `import` twice (actually `import` and `import[space]` as$
`import` was a token on the first line) now just complete directly to$
`import[space]`.
13 years ago
damianavila
7aab2ec291
Added '-' as a shortcut for splitting cells.
13 years ago