Brian Granger
b7dd63d720
Creating an ABC for kernel managers and channels.
13 years ago
Brian E. Granger
2900b67ff3
Adding calls to shell_channel.stop() to shutdown.
...
But this hangs the test suite for IPython.frontend.html.notebook.
13 years ago
Brian E. Granger
afaad23a57
Adding tested ipc support to MultiKernelManager.
13 years ago
Brian E. Granger
64bec56589
Refactoring kernel_died method to make subclass friendly.
13 years ago
Brian E. Granger
f37d707c08
Creating application.config attribute.
...
This creates less coupling between the handlers and the outer
IPython application.
13 years ago
Brian E. Granger
ac1a8b0458
Removing return value of restart_kernel.
...
The kernel_id is *always* the same under a restart and there
is no need to return it. The restart handler does pass
the original kernel_id back to the browser as it currently uses it.
13 years ago
Brian E. Granger
82f4cf5574
General cleanup of kernelmanger.MultiKernelManager.
13 years ago
Brian E. Granger
ea2dc2ecd5
Allow caller of MultiKernelManager.start_kernel to pass kernel_id.
13 years ago
Mikhail Korobov
57cecc70c2
P3K: fix cookie parsing under Python 3.x (+ duplicate import is removed)
13 years ago
Brian E. Granger
eff5fa878d
Merge pull request #2687 from Carreau/metaui-slideshow
...
[WIP] Metaui slideshow
13 years ago
Matthias BUSSONNIER
3e60977364
load slideshow by default
13 years ago
debjan
47466fb8ea
Chrome frame awareness
13 years ago
Matthias BUSSONNIER
7163dc717f
Uppercase and update path
13 years ago
Matthias BUSSONNIER
94279745b9
Change Slide denomination
...
> Slide
> Subslide
> Fragment
> Skip
> Notes
13 years ago
Matthias BUSSONNIER
705081cc04
add slideshow extension/preset for celltoolbar
13 years ago
Matthias BUSSONNIER
3e52d29b61
fix example.js
13 years ago
Matthias BUSSONNIER
7401054c94
Capitalize
13 years ago
Matthias BUSSONNIER
33b810fe53
fix celltoolbar select css
13 years ago
Matthias BUSSONNIER
4e20188968
Load default.js (for celltoolbar) by default
...
And change text.
13 years ago
Matthias BUSSONNIER
4e3f8edb88
add default celltoolbar UI
13 years ago
Matthias BUSSONNIER
69859c1057
change set_preset to activate_preset
...
update docs
13 years ago
Matthias BUSSONNIER
f76279d858
remove commented css
13 years ago
Matthias BUSSONNIER
28e90b40d2
fix lock cell button
...
'flase' is true while false is false
13 years ago
Matthias BUSSONNIER
c236253e80
change - to Hidden
13 years ago
Matthias BUSSONNIER
eb5911a3c1
create celltoolbar in cell.js and inherit
13 years ago
Matthias BUSSONNIER
08225b2ed4
slightly generalize utils generator
13 years ago
Matthias BUSSONNIER
8b7db8d6da
remove useless jquery selector
13 years ago
Matthias BUSSONNIER
f88001f481
fix css size
13 years ago
Matthias BUSSONNIER
1e4eb5c527
do not use alert on invalid json
13 years ago
Matthias BUSSONNIER
ffa1cf20a3
remove relative position
13 years ago
Matthias BUSSONNIER
4b957111ed
remove most of the duplicate example
13 years ago
Matthias BUSSONNIER
a16c361a4b
rename _button_list to _ui_controls_list
13 years ago
Matthias BUSSONNIER
c313127651
rename file metaui->celltoolbar
13 years ago
Matthias BUSSONNIER
f55a0a05b8
rename metaui -> celltoolbar
13 years ago
Matthias BUSSONNIER
3cc81dbb8f
convention, jQuery variable start with $
...
all this.xxxx = $(...) change to
this.$xxxx
I'm thinking of potentially doing it also in parameters that are
expected to be jQuery enabled.
13 years ago
Matthias BUSSONNIER
1c97a7232f
enable dropdown preset change
13 years ago
Matthias BUSSONNIER
040a27cacc
add a small default metaui-toolbar
...
just a question mark which pop-up a small text
13 years ago
Matthias BUSSONNIER
d18d975a50
create metadata-dropdowm-menu generator
13 years ago
Matthias BUSSONNIER
70f8001b14
Split metadataui into multiple file
...
Add example metadata UI into multiple categorized files.
And document how to load it using custom.js.
13 years ago
Matthias BUSSONNIER
1ae472cf1c
add utils and docs for metadata UI
...
add aconvenient utils to generate UI for checkboxes
and use it to generate 3 checkboxes for
new_section
new_subsection
new_fragment
13 years ago
Matthias BUSSONNIER
8022cff041
Add a per cell toolbar.
...
This add a per-cell globally toggleable toolbar
the main purpouse is to easily edit metadata.
this come with a few example like adding checkbox,
dropdown list, simple button, button with icon...
please see the js-doc of
IPython/frontend/html/notebook/static/js/MetaUI.js
for more info
13 years ago
Brian E. Granger
60d158af2a
Removing unused code in the notebook MappingKernelManager.
...
This cleans up the API for restarts in the notebook's kernel
manager classes.
13 years ago
Bussonnier Matthias
730eff0a1e
Merge pull request #2728 from Carreau/shifttab
...
also bind shift tab for tooltip + config
This does not change the curent behavior, only add the shift+tab shortcut.
Note that the shift tab shortcut has a slightly different behavior. You can select part of a line and pressing shift-tab will show you the tooltip only for the selection.
This is disabled for multiline selection to still allow to unindent block of code, Keep in mind that the real real shortcut for indent unindent is Ctrl+] or [ . Select/tab is not really supported by codemirror.
Finally the "tooltip_on_tab" behavior is globally configurable via IPython.config so that it could be easily switched to false.
It can be overridden via js console for test purpose.
IPython.config.tooltip_on_tab = true | false
Take effect immediately, only on current notebook.
or globally via custom.js
var user_conf = {tooltip_on_tab:false | true};
$.extend(IPython.config, user_conf)
13 years ago
Bussonnier Matthias
6c148e175a
Merge pull request #2723 from Carreau/fixes-2720
...
diverse fixes for project url
- Force leading and trailing slashes in base_project/kernel_url
- Add support for the prefix in template for static files
- Fix some forgotten quotes
- remove old make_static_url which is now a jinja2 macro
13 years ago
mr.Shu
5df5cc8035
added blockquote CSS
14 years ago
Bussonnier Matthias
5eb3850ae1
shift tqb for tooltip
14 years ago
Bussonnier Matthias
4e5b1eb41a
diverse fixes for project url
...
* Force leading and trailing slashes in base_project/kernel_url
* Add support for the prefix in template for static files
* Fix some forgotten quotes
* remove old make_static_url which is now a jinja2 macro
fixes-2720
14 years ago
Bussonnier Matthias
248eae08d6
remove unexisting headings level
14 years ago
Bussonnier Matthias
0904ff21fb
Merge pull request #2699 from crbates/jinja2
...
fix jinja2 rendering for password protected notebooks
14 years ago
Cameron Bates
8d1d5fb37c
Use the correct tornado import as suggested by @ivanov
14 years ago
Cameron Bates
cbe76aaf9b
fix jinja2 rendering for password protected notebooks
14 years ago
Yoav Ram
2518649d6c
for downloads, replaced window.open with window.location.assign
...
This doesn't actually open a new windows, so it's a bit nicer.
Not very important, though.
Source: [StackOverflow](http://stackoverflow.com/questions/1066452/easiest-way-to-open-a-download-window-without-navigating-away-from-the-page )
14 years ago
Bussonnier Matthias
51fb9a38ef
Merge pull request #2659 from kmike/master
...
Fix small typos and errors in JS.
14 years ago
Bussonnier Matthias
f9f46750fe
Merge pull request #2363 from crbates/jinja2
...
Refactor notebook templates to use Jinja2
14 years ago
Cameron Bates
6de923fb95
Rename "nb" variable to "template" for clarity
14 years ago
Cameron Bates
7493794594
Move environment setting from handler to the notebook application
14 years ago
Mikhail Korobov
4bca5a19ea
Some bugs in js (mostly scoping bugs) are fixed
14 years ago
Brian E. Granger
edd27cf292
Merge pull request #2312 from adamgd/master
...
Add bracket matching to code cells in notebook
14 years ago
Bussonnier Matthias
459f816d54
Merge pull request #2571 from Carreau/jsdoc
...
Start to document Javascript
see IPython/frontend/html/notebook/static/js/readme on how to compile/see it.
14 years ago
Matthias BUSSONNIER
31b18e69ad
undefinied that -> this
14 years ago
Cameron Bates
3d08384741
Make template environment a property and fix notebook location
14 years ago
Cameron Bates
7b3c01c667
Merge upstream changes
14 years ago
Bussonnier Matthias
01a54bee69
Merge pull request #2572 from dwf/paste_above_as_default
...
Make 'Paste Below' the default paste behavior in notebook.
14 years ago
Matthias BUSSONNIER
a56ee187ff
past below by default
14 years ago
Matthias BUSSONNIER
43fb0ef6af
document base of toolbar
14 years ago
Matthias BUSSONNIER
f91c4f447d
start docummenting kernel
14 years ago
Matthias BUSSONNIER
a2306cff89
Fix layout and add note about custom.css
14 years ago
Matthias BUSSONNIER
9c33de9102
document custom.js
14 years ago
Matthias BUSSONNIER
c83cd14d28
more docs, organize in namespace
14 years ago
dkua
5993c3bf9f
Made changes as per discussion in PR thread.
14 years ago
dkua
da8c05414e
Made some changes to message and logic as advised by Fernando.
14 years ago
dkua
c8d3dbcc98
Refactored warning printout as per Issue #2244
14 years ago
David Warde-Farley
a9910aa408
"Paste Cell Replace" -> "Paste Cell & Replace"
14 years ago
David Warde-Farley
01f0332add
Make 'Paste Above' the default paste behavior.
...
Destructive paste mapped to Ctrl-M V is a surprising choice given that
there was no drag-to-select on the area being replaced (there is a
weaker notion of "selected cell" but this does not map to will-be-replaced-
by-paste in the minds of participants in an unscientific poll at
PyConCA).
Destructive paste is still available as the last paste option in the
Edit menu, qualified as "Paste Cell Replace".
14 years ago
Matthias BUSSONNIER
22c477eecf
add doc to base Cell
14 years ago
Matthias BUSSONNIER
42737b6e4b
more docs in cell
14 years ago
Matthias BUSSONNIER
98738e8bc4
Document more function.
...
Change construcs to constructor to be recognized
14 years ago
Matthias BUSSONNIER
9c5516b356
start to document js
14 years ago
Bussonnier Matthias
a0544ec066
Merge pull request #2561 from takluyver/notebook-carriage-return
...
Fix display of plain text containing multiple carriage returns before line feed
14 years ago
Bussonnier Matthias
1f79f5b89e
Merge pull request #2549 from dwf/delete_undo
...
Add a simple 'undo' for cell deletion.
14 years ago
Bussonnier Matthias
56f1f39fbe
Merge pull request #2525 from Carreau/execute_hooks
...
Add event to kernel execution/shell reply.
14 years ago
Thomas Kluyver
015e8e73f4
Fix display of plain text containing multiple carriage returns before line feed.
...
Closes gh-2560
14 years ago
David Warde-Farley
8ecb8cd8fe
Make undelete respect order after insertions/deletions.
14 years ago
David Warde-Farley
bb8249864d
Add comment re: quickhelp key.
14 years ago
David Warde-Farley
f4d471c70e
Move undo quickhelp to more appropriate spot.
14 years ago
David Warde-Farley
33c1f78d33
Add a simple 'undo' for cell deletion.
...
I've accidentally deleted the wrong cell quite a few times and
it has been quite frustrating. This enables a very hacky backup of
the last cell deletion.
I'm sure the core devs will have some opinions on both the feature
and its implementation, I consider this very much a first pass.
14 years ago
Matthias BUSSONNIER
4aea2b495a
add status_started event to Kernel
14 years ago
Matthias BUSSONNIER
68fd917bfb
change all trigger parameter to (event,data)
14 years ago
Matthias BUSSONNIER
afa18913b9
invert event name
14 years ago
Aron Ahmadia
cf0254bc31
Finalizing fixes to MathJax enhancements
...
* Cell.prototype.typeset functionality restored
* MathJax configuration files back in .js, delayedStartup
* Renamed HUB to hub
* Removed vestigial comment
* Restored Markdown Cell placeholder render functionality
14 years ago
Aron Ahmadia
5863b6fd7f
undid unique ids, used jQuery
14 years ago
Aron Ahmadia
4620ce8348
Remove Equation References/Numbering, Fix Bugs
...
Equation References and Numbering are not going to be trivial to add,
so the code has been removed for now. Important fixes include
no-MathJax support (previously, the code was failing), and the
generation of unique ids for the rendering content in each cell,
tremendously speeding up MathJax rendering.
I am still not rendering placeholder text.
14 years ago
Aron Ahmadia
12c661f761
Improved MathJax, missing callback workaround
...
MathJax.InputJax.TeX.resetEquationNumbers is supposed to be available,
but isn't consistently loaded before the notebook fires off its first
re-render request. The code edits in mathjaxutils.js fix this issue.
Additionally, there was some init code in mathjaxutils.js that has been
properly excised to the html templates.
Removed some orphan rendering code so that all typesetting now goes
through mathjaxutils.js
Finally, removed an extra cell in the demo notebook.
14 years ago
Bussonnier Matthias
eba9044f2e
Merge pull request #2464 from iguananaut/nb-out-links
...
Locate URLs in notebook text output and convert them to hyperlinks.
14 years ago
Bussonnier Matthias
fcad4a3f2c
Merge pull request #2498 from Carreau/fixes2487
...
Don't catch tab press when something selected
allow to indent with 'tab' in some cases.
14 years ago
Paul Ivanov
b96b4689ed
added on-hover descriptions of the new menu items
14 years ago
Paul Ivanov
2949cd5787
fine-grained notebook 'run' controls, closes #2521
...
This adds "Run All Above" and "Run All Below" menu items to Cell thanks
to @Carreau for the implementation suggestion
14 years ago
Matthias BUSSONNIER
eeea623161
Add event to kernel execution/shell reply.
...
This should allow to hook more easily phantomjs for testing.
14 years ago
Paul Ivanov
0b3cb7764d
clear In[ ] prompt numbers again
14 years ago
Matthias BUSSONNIER
c1a11bbb3b
Don't catch tab press when something selected
...
fixes #2487
14 years ago