Min RK
015b68e7b4
Merge pull request #7413 from Carreau/end_Space
...
fix end_space size
closes #7409
closes #7372
11 years ago
Min RK
5b4657e9c5
disable trust-notebook click event
...
when trust-notebook item is disabled
11 years ago
Min RK
a900545e78
Merge pull request #7440 from mathieu1/new-notebook-fix-list-logic
...
Fix kernel change breaking "new notebook" list
11 years ago
Matthias Bussonnier
f064f8e113
also fix action in kernelselector.js
11 years ago
Matthias Bussonnier
3aef283f79
Prevent jump when clicking on action in menu.
...
To do so prevent even default action;
Closes #7367
11 years ago
Mathieu
f3cfed13ac
fix kernel change breaking new notebook list
11 years ago
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
Matthias Bussonnier
c106e76a66
fix end_space size
...
closes #7409
Mostly a symptome of too many nested div that do different things.
don't try to both have an end space inside and outside the 'document'
area. And don't try to also get the things to be 100viewport height by
hacking around and make them smaller;
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
Matthias Bussonnier
f51872c4c2
Merge pull request #7346 from jdfreder/terminal-page
...
Use page backdrop color in terminal page
11 years ago
Jonathan Frederic
f0da3c863c
Make headerbar -1 margin global
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
Brian E. Granger
df578b8835
Merge pull request #7307 from Carreau/remove-white
...
remove whitespace below menubar when toolbar hidden.
11 years ago
Brian E. Granger
87ab53bcfe
Merge pull request #7311 from Carreau/reform-css-2
...
Reform css 2
11 years ago
Matthias Bussonnier
031e829daf
stack vertically keyboard shortcut on narrow viewport.
11 years ago
Matthias Bussonnier
0165e97c7c
unify submenu style with menu style
...
closes #7303 .
Also change the arrow that indicate submenu for a fontawesoem icon,
instead of the ugly hack that show only the left border of a rectangle element
which with is twice the one of its border to get a triangle.
11 years ago
Min RK
729c233f7d
Merge pull request #7308 from Carreau/reform-css
...
reformat css
11 years ago
Matthias Bussonnier
160690f50a
reformat css
...
cause I want to inject some variable in it after (like border radius)
and a few other thigs.
This is just a reformating that does not change the generated css.
11 years ago
Min RK
d94479ad29
Merge pull request #7251 from Carreau/unregister-preset
...
add ability to unregister a preset
11 years ago
Matthias Bussonnier
54a3f47905
remove whitespace below menubar when toolbar hidden.
...
closes #7292
11 years ago
Min RK
47b41d980b
Merge pull request #7287 from Carreau/mistake
...
binary or is rare in JS
11 years ago
Jonathan Frederic
09b289d932
Merge pull request #7274 from Carreau/global-command
...
make global css change on command/edit mode
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
Jonathan Frederic
028b79b385
Move kernel logo to right margin.
11 years ago
Jonathan Frederic
2c714357c4
Review comments
11 years ago
Jonathan Frederic
cda53215ba
Improve edit app
11 years ago
Jonathan Frederic
972065ad22
Additional aesthetic clean-up
11 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
11 years ago