Matthias Bussonnier
fbbef5174a
Merge pull request #4282 from ellisonbg/linebreaks
...
Enable automatic line breaks in MathJax.
13 years ago
Matthias Bussonnier
b16530e57e
Merge pull request #4253 from Carreau/fix-4039
...
fixes #4039 .
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
13 years ago
Brian E. Granger
3ef9498d2f
Enable automatic line breaks in MathJax.
13 years ago
Brian E. Granger
54c751ce50
Merge pull request #4229 from jdfreder/clearoutput
...
Clear_output: Animation & widget related changes.
13 years ago
Matthias BUSSONNIER
e175bec1a7
fixes #4039 .
...
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
13 years ago
Brian E. Granger
523b3645fe
Merge pull request #4232 from minrk/no-lang-no-highlight
...
no highlight if no language specified
13 years ago
Jonathan Frederic
b8d7197ec6
Don't preserve height when clear_output(wait=False) is called
13 years ago
MinRK
e3f2eb8452
no highlight if no language specified
13 years ago
Jonathan Frederic
6bfd28b91d
Added wait flag to clear_output.
13 years ago
Jonathan Frederic
00f0c827e9
Removed ability to clear stdout and stderr individually.
13 years ago
Jonathan Frederic
2b6add80f1
Remove clear_output timeout callback in favor of fixed height
13 years ago
MinRK
5d19c204db
clear previous callbacks on execute
...
avoids mixed up display of multiple executions in one output area
when a cell is resubmitted.
closes #4223
13 years ago
Min RK
5a3da993e3
Merge pull request #4183 from tkanmae/fix-vim-escape
...
ESC should be handled by CM if tooltip is not displayed
13 years ago
Takeshi Kanmae
7071ae8d90
Update boolean tests
13 years ago
MinRK
2cf6921166
HeadingCells are not splittable or mergeable
...
closes #4200
13 years ago
MinRK
37a345bd93
add Cell.is_mergeable method
...
and check it in the Notebook merge methods
13 years ago
Takeshi Kanmae
9ceedb62d0
Have remove_and_cancel_tooltip() return a boolean
13 years ago
Takeshi Kanmae
a11ebc8b0a
ESC should be handled by CM if tooltip is not on
13 years ago
Min RK
5e590218f2
Merge pull request #4136 from minrk/catch-js
...
catch javascript errors in any output
not just javascript.
catches js errors appending anything to the output area, such as js in HTML (#4095 ).
closes #4095
13 years ago
Min RK
76f8de32ea
Merge pull request #4064 from Carreau/default_mode
...
Store default codemirror mode in only 1 place
13 years ago
Kevin Burke
2cf73980c0
Select default title when renaming a notebook
...
The default notebook name is Untitled<x>. It is unlikely the user will want to
keep this name or part of it. Instead, select the text in the input field so the
user can easily type over the name and change it.
13 years ago
MinRK
5c607a9e8a
use _safe_append for all output
...
catches js errors appending anything to output,
including javascript in an HTML output.
closes #4095
13 years ago
Matthias Bussonnier
b6e5dc0f65
catch if cm_config of other key undefined
13 years ago
Matthias BUSSONNIER
fc8f118610
store default codemirror mode in only 1 place
13 years ago
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
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
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