MinRK
c85292cf2e
add js_extensions_path
...
serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`.
This is a location for users / devs to drop-in frontend customization as js modules, css, etc.
The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.
It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.
13 years ago
Brian E. Granger
54c751ce50
Merge pull request #4229 from jdfreder/clearoutput
...
Clear_output: Animation & widget related changes.
13 years ago
Brian E. Granger
fc9f3fe72b
Merge pull request #4166 from minrk/localinterfaces
...
avoid executing code in utils.localinterfaces at import time
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
MinRK
c8cea9d807
avoid executing code in utils.localinterfaces at import time
...
moves away from global constants to utility functions.
The code is still only executed once,
but instead of at import time, it is executed at first request.
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
MinRK
b322e72bee
add Kernel.clear_callbacks_for_msg
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
ddfeab7728
Merge pull request #4193 from juhasch/overflow-x
...
Firefox seems to require an additional "url-prefix()" for #3549 to work.
13 years ago
MinRK
a1fc91d9ff
fab css
13 years ago
Min RK
4ec07adc60
Merge pull request #4201 from minrk/no-merge-heading
...
HeadingCells cannot be split or merged
closes #4200
13 years ago
Matthias Bussonnier
89109e73d1
Merge pull request #4079 from minrk/status_started
...
trigger `Kernel.status_started` after websockets open
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
juhasch
deab820002
append Firefox overflow-x fix
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
Paul Ivanov
c3b1e07d70
Merge pull request #4125 from minrk/test-help-output
...
Basic exercise of `ipython [subcommand] -h` and help-all
13 years ago
Min RK
287f432d20
Merge pull request #4159 from minrk/minor-style
...
don't split `.cell` and `div.cell` CSS
I know we have bigger CSS scoping issues to deal with, but this is an easy fix for an obvious problem.
13 years ago
Min RK
90d3e90afe
Merge pull request #4065 from Carreau/ecss
...
do not include page css in ipython.min.css
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
3211227ecf
fab css
13 years ago
MinRK
29c48fd538
don't split `.cell` and `div.cell` CSS
...
`.cell` matches non-IPython things that it shouldn't (inside highlighted code),
everything `.cell` should match in IPython is a div.
13 years ago
MinRK
80d2d15620
only test `--help-all`
...
help-all is a superset of `-h`, so no need to do both,
since these tests are slow.
13 years ago
MinRK
50b31960b3
test that `-h` and `--help-all` work for various IPython entry points
...
should help catch when we break these things.
13 years ago
MinRK
3eac345480
update example custom.js
...
fix event for at-page-load events
use font-awesome icon, not jquery-ui
closes #3998
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
MinRK
bce60e1be7
pass profile-dir instead of profile to Kernel
...
avoids relative path issues for local profiles
when the notebook server starts in a different directory
from the kernels.
13 years ago
MinRK
971aea1eda
trigger `Kernel.status_started` after websockets open
...
This leads to a more logical state for event watchers to expect.
13 years ago
Zachary Sailer
a16211ceff
minor bug fix, define 'var' in dialog.js.
...
The 'cell' variable isn't defined and causes and error in the
console
13 years ago
Matthias Bussonnier
b6e5dc0f65
catch if cm_config of other key undefined
13 years ago
Matthias BUSSONNIER
a363216d89
do not include specific css in embedable one
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
Matt Henderson
b7ed106d11
must...bring...back...comma
13 years ago
Matt Henderson
af03eb6d1b
Modified initial template_path to pickup any overridden value by the user
13 years ago
Matt Henderson
918d872f2c
needed proper dict syntax
13 years ago
Matt Henderson
56b33145e7
Fixed custom jinja2 templates being ignored when setting template_path
13 years ago
Paul Ivanov
2778e98945
DOC: fix links to matplotlib, notebook docs
...
I've added a link to pandas, made all matplotlib links point to
matplotlib.org, and fixed a link in the notebook help menu to point to
our new notebook.html, now that htmlnotebook.html is a redirect.
Whoever ends up merging this PR should backport it to 1.x.
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
ddca43174d
Merge pull request #3955 from Carreau/fix-3954
...
complete on % for magic in notebook
13 years ago