Min RK
ed6fa478f0
disable keyboard events on main toolbar
...
closes #5829
11 years ago
Min RK
0327b39a67
console.log
11 years ago
Min RK
b5abeb8ed6
kernelselector lint
11 years ago
Min RK
5f9e75dcef
cleanup kernelspec loading
...
- kernel_selector.set_kernel validates selection and triggers 'spec_changed.Kernel'. It does not start the session anymore.
- notebook calls kernel_selector.set_kernel when:
- kernelspec is in notebook metadata
- session is loaded (e.g. no kernelspec metadata)
- notebook starts session, loads metadata on spec_changed.kernel
The only case where starting the session is not triggered by spec_changed is on notebook load with no kernel metadata
11 years ago
Min RK
0e5ee5bc34
move promise sync to kernelselector, from notebook
11 years ago
Min RK
1028c8d192
use promises to wait for kernelspecs on notebook load
...
should avoid race condition that causes attempt to load kernelspec
prior to loading the kernelspec list
11 years ago
Mathieu
d90cc0e0de
put current kernel at the top
11 years ago
Mathieu
4e5839dde4
add choice of kernel for new notebook
11 years ago
Mathieu
0eb340b3e2
create new notebook with same kernel
11 years ago
Matthias Bussonnier
2b7568c13f
Merge pull request #7375 from minrk/empty-execute-result
...
ensure data, metadata are set in execute_results
11 years ago
Matthias Bussonnier
87b7f7599c
Merge pull request #7278 from minrk/nb-file-ext
...
don't enforce .ipynb extension in URLs
11 years ago
Min RK
d2335ab000
handle missing data, metadata in validate_mimebundle
11 years ago
Min RK
ffaa09492a
Merge pull request #7315 from Carreau/codacy2
...
miscellaneous cleanup
11 years ago
Matthias Bussonnier
214195ce5f
Merge pull request #7327 from minrk/kernel-links
...
move Python-specific help links to kernel_info
11 years ago
Matthias Bussonnier
c0efca80ea
Merge pull request #7331 from minrk/fix-scroll
...
fix scroll actions
11 years ago
Matthias Bussonnier
ea5f2066af
Merge pull request #7340 from minrk/kernel-js-event
...
load kernel js, css, logo on spec_changed event
11 years ago
Jonathan Frederic
b37c5d21d0
When executing a cell, clear output and ignore queued animations.
11 years ago
Min RK
2587cf710c
load kernel js, css, logo on spec_changed event
...
Ensures kernel.js is always loaded.
It wasn't being loaded when creating a new notebook with a particular kernel because `change_kernel` wasn't being called. Only the `spec_changed` event is triggered by all the various ways a kernel can be loaded,
so load kernel stuff on that event.
11 years ago
Matthias Bussonnier
c1d9f4d436
Merge pull request #7283 from minrk/kernel-spec-model
...
add resource URLs to kernelspec model
11 years ago
Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
11 years ago
Min RK
96a5661648
fix scroll actions
...
div#notebook no longer scrolls at all.
Instead, only the body scrolls.
This may be a problem, but at least scroll actions work now.
11 years ago
Min RK
83f51e877c
move Python-specific help links to kernel_info
...
help_links in kernel_info were already in the msg spec,
but not implemented.
Python-specific docs are now linked to the Python version.
11 years ago
Matthias Bussonnier
031e829daf
stack vertically keyboard shortcut on narrow viewport.
11 years ago
Min RK
d94479ad29
Merge pull request #7251 from Carreau/unregister-preset
...
add ability to unregister a preset
11 years ago
Min RK
47b41d980b
Merge pull request #7287 from Carreau/mistake
...
binary or is rare in JS
11 years ago
Matthias Bussonnier
1dfdda6e97
binary or is rare in JS
11 years ago
Min RK
43da311f5e
add Notebook.ensure_extension
...
allows override of file-extension logic in notebook extensions
11 years ago
Min RK
a417785c5e
add resource URLs to kernelspec model
...
- move kernelspec itself to model.spec
- add resources top-level key with resource URLs
- no more 404s or HEAD requests under normal circumstances
11 years ago
Bussonnier Matthias
15ab64e884
make global css change on command/edit mode
11 years ago
Min RK
9f9714e11f
remove kernel logo text placeholder
11 years ago
Min RK
da88bff678
add text placeholder for kernels with no logo
...
capital first initial on gray field
11 years ago
Min RK
d5f6aaa1f6
remove kernel selector from header
...
- add kernel name to indicator
- float kernel logo where indicator used to be
11 years ago
Brian E. Granger
6c55690994
Merge pull request #7227 from jdfreder/undead
...
Add visual cue for widgets with dead comms
11 years ago
Thomas Kluyver
5a5f621591
Merge pull request #7247 from Carreau/fix-restore-checkpoint
...
fix restore checkpoint add an empty cell
11 years ago
Thomas Kluyver
2dbc8f5304
Merge pull request #7248 from Carreau/config-ctm
...
pass config to contentsManager
11 years ago
Bussonnier Matthias
f0c5de7c7e
make method private
11 years ago
Bussonnier Matthias
ddbd7aa4fa
add ability to unregister a preset
...
fix #7218
11 years ago
Bussonnier Matthias
3bce53e32e
fix logo on base_url prefix
11 years ago
Bussonnier Matthias
51f1cad6e4
pass config to contentsManager
11 years ago
Bussonnier Matthias
df418c6a62
fix restore checkpoint add an empty cell
11 years ago
Matthias Bussonnier
449384e85f
Merge pull request #7224 from jasongrout/fix-toolbarjs
...
Fix javascript iteration through array
11 years ago
Matthias Bussonnier
7eb4d1b84d
Merge pull request #7225 from Carreau/fix-actions
...
fix leading underscore
11 years ago
Jonathan Frederic
9e67a34891
Bubble event and implement logic in CodeCell
11 years ago
Min RK
26136f44d2
Merge pull request #7088 from Carreau/kernel.js
...
Load the per kernel kernel.js and kernel.css
11 years ago
Bussonnier Matthias
737064d9db
fix leading underscore
...
mering object with itself is stupid otherwise
11 years ago
Jason Grout
efc1fee242
Fix javascript iteration through array
...
for(var k in config) was assigning k to the properties of Array, not just the numeric indices
the second argument of add_buttons_group, k[1], should be config[k][1]
11 years ago
Matthias Bussonnier
031252d44f
Merge pull request #7207 from takluyver/rm-nb-user-config
...
WIP: Remove js user_config module
11 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
11 years ago
Thomas Kluyver
7f221537d4
Fix default_cell_type option for notebook
11 years ago
Thomas Kluyver
938630b475
Remove user_config js module
11 years ago