MinRK
aa0387a647
s/target/target_name
13 years ago
MinRK
f833b1ca03
hook up output for comm messages
13 years ago
MinRK
3d3c3fd504
COMM: mirror Python callback API in Javascript
13 years ago
MinRK
15819e8535
pass whole message to Comm handlers
13 years ago
MinRK
3665cc241f
rename widget to comm
13 years ago
MinRK
14fcdab73b
make js / Python widgets symmetrical
...
don't enforce creation on Kernel side
also removed weak refs - premature optimization,
we can think about this later.
13 years ago
MinRK
230a2261e8
fix js/Python WidgetManager symmetry
...
remove some log statements
13 years ago
MinRK
6643cffa23
add javascript-side widgets
13 years ago
Min RK
bc0dc279f1
Merge pull request #4303 from ipython/multidir
...
Add multidirectory support for the Notebook.
Major change to URL schemes in the notebook server,
documented in [IPEP 16](https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping ).
13 years ago
Paul Ivanov
b117f59b82
javascript is no place to start adding title tags
13 years ago
Paul Ivanov
8b26933af5
Merge pull request #4378 from minrk/split-below
...
split adds new cell above, rather than below
13 years ago
Paul Ivanov
a2d731ff39
fix 'close and halt' in notebook File menu
13 years ago
MinRK
50665831bd
update copy API in js
13 years ago
MinRK
0558ec4ce0
Cells shouldn't know about Sessions
13 years ago
MinRK
d1a36fe4c0
use 'id' for checkpoint ID key
...
rather than redundant checkpoint.checkpoint_id
13 years ago
MinRK
5ca1ad666d
add missing cell.session in tooltip.js
13 years ago
Brian E. Granger
51fc769edd
Handle notebook downloads through the /files URL.
13 years ago
MinRK
4a12890d65
disable download-as-pt
...
since it doesn't work. Adds a note about nbconvert needed to bring it back.
13 years ago
MinRK
fc4fb92580
review pass on multidir js
13 years ago
MinRK
e16a5807c7
fixup bad rebase
13 years ago
MinRK
a7f297f8f3
save before download-as
...
uses `async : false`
closes #852
download-as-py still unavailable.
13 years ago
MinRK
8b94ee2b47
use `async : false` to avoid pop-up blocker on New / Copy notebook
13 years ago
MinRK
b33ffa7068
update upload and copy
...
adds 'notebook.ipynb/copy' url handler
because we were putting too many things in a single POST handler.
13 years ago
MinRK
4e12521082
fix dashboard upload
13 years ago
MinRK
40f577b538
add utils.url_path_join
...
javascript equivalent of Python-side function.
13 years ago
Zachary Sailer
da58c8c470
Fixed session js ajax request.
...
Session was not creating a kernel object on the client side,
after the server created successfully created a session.
13 years ago
Zachary Sailer
7aaaab0668
fixed notebook rename after nbmanager refactor
13 years ago
Zachary Sailer
34b9840786
fixing broken links from recent changes.
...
After fixing operating system path changes in previous commits,
many links needed to be adjusted to direct to the correct URL.
13 years ago
Zachary Sailer
470595f9e7
handle path separators with os.sep and add tests
...
Added more tests to the notebook manager to check for the correct
path separators on different operating system. Fixed the get_path
method.
13 years ago
Zachary Sailer
1f04b48725
Renaming fixed
13 years ago
Zachary Sailer
f3af343f4f
Change new/copy URLS to POST requests
13 years ago
Zachary Sailer
a74b9a018b
removed '/new' URL and added POST notebook request
13 years ago
Zachary Sailer
8261ac2cb9
change standard money keys
13 years ago
Zachary Sailer
1b2e41eea4
path with spaces completely fixed
13 years ago
Zachary Sailer
eb1690255d
allow spaces in notebook path
13 years ago
Zachary Sailer
5af83cd705
redirect url after notebook rename
13 years ago
Zachary Sailer
6114d4c338
drop file ext off notebook name in notebook
13 years ago
Zachary Sailer
f55381d55b
completer now recognizes session
13 years ago
Zachary Sailer
d4ee2da291
proper '.py' and '.ipynb' download files
13 years ago
Zachary Sailer
bfff3d817d
Fixed bug when linking kernel to new code cells
13 years ago
Zachary Sailer
ece92127d3
Add 'patch' to session & notebook, rename working
13 years ago
Zachary Sailer
d41544865a
fix kill_and_exit button in notebook
13 years ago
Zachary Sailer
62ec52e276
fix restart/interrupt kernel buttons
13 years ago
Zachary Sailer
20324bafd0
fixing path redirects, cleaning path logic
13 years ago
Zachary Sailer
0f52ffa756
manual rebase static/notebook/js files
13 years ago
Min RK
1b9aef3959
Merge pull request #4377 from minrk/fix-cancel
...
fix tooltip cancel
pending tooltip from open-parenthesis was not being cancelled properly
13 years ago
Matthias Bussonnier
f11b95358c
Merge pull request #4293 from Carreau/tooltip-mkp
...
Factorise code in tooltip for julia monkeypatching
13 years ago
Matthias Bussonnier
40eb635824
Merge pull request #4292 from Carreau/more-cpl
...
improve js-completer logic.
13 years ago
Paul Ivanov
7f5e7f4e6d
fix (CTRL-M -) shortcut for splitting cell in FF
...
fun-fact: Chromium uses a different keycode for hyphen/minus than does
Opera and Firefox.
13 years ago
Paul Ivanov
c165b57132
split focuses the top of the newly created cell
13 years ago
MinRK
7080a10362
split adds new cell above, rather than below
...
preserves the order of code and output across split event
rather than moving output into the middle of the split.
13 years ago
MinRK
543b317d92
fix tooltip cancel
...
pending tooltip from open-parenthesis was not being cancelled properly
13 years ago
Brian E. Granger
7ccb1bbc8a
Merge pull request #4154 from ellisonbg/mathstyle
...
Center LaTeX and figures in markdown
13 years ago
Brian E. Granger
882c791a8a
Fixing comments on equation justification.
13 years ago
Matthias Bussonnier
598409c8f0
Merge pull request #4333 from minrk/notebook-metadata
...
Add Edit Notebook Metadata to Edit menu
13 years ago
MinRK
4a04553acd
add Edit Notebook Metadata to Edit menu
13 years ago
Matthias BUSSONNIER
fa23fb9d6d
Partial fix to #3653 (from foo import <tab>)
...
Some configurability for Julia
(change the regexp because ! is a valid char in token from them)
13 years ago
Brian E. Granger
1963605e1f
Fixing minor comment.
13 years ago
Brian E. Granger
b41b519127
Removing inversion of the completion list.
13 years ago
Brian E. Granger
c3d128d38a
Adjust tab completion widget if too close to bottom of page.
13 years ago
Matthias Bussonnier
7c4c9d1c1b
Merge pull request #4289 from jdfreder/clearoutput
...
Fix scrolling output (not working post clear_output changes)
Regression introduced in #4229
13 years ago
Jason Grout
54aa8a9f61
Make parameters for kernel start method more general
13 years ago
Jonathan Frederic
39c6103159
s/'auto'/''
13 years ago
MinRK
8577550756
move edit_metadata to IPython.dialog
13 years ago
Matthias BUSSONNIER
1a3881dd54
Factorise code in tooltip for julia monkeypatching
13 years ago
Jonathan Frederic
6f0bbe91e1
Fix scrolling output not working
...
by adding a conditional for the append output
height reset.
13 years ago
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
ba38fad3b8
Refactoring the center/left justify.
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