Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
12 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.
12 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.
12 years ago
Brian E. Granger
df578b8835
Merge pull request #7307 from Carreau/remove-white
...
remove whitespace below menubar when toolbar hidden.
12 years ago
Brian E. Granger
87ab53bcfe
Merge pull request #7311 from Carreau/reform-css-2
...
Reform css 2
12 years ago
Matthias Bussonnier
031e829daf
stack vertically keyboard shortcut on narrow viewport.
12 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.
12 years ago
Min RK
729c233f7d
Merge pull request #7308 from Carreau/reform-css
...
reformat css
12 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.
12 years ago
Min RK
d94479ad29
Merge pull request #7251 from Carreau/unregister-preset
...
add ability to unregister a preset
12 years ago
Matthias Bussonnier
54a3f47905
remove whitespace below menubar when toolbar hidden.
...
closes #7292
12 years ago
Min RK
47b41d980b
Merge pull request #7287 from Carreau/mistake
...
binary or is rare in JS
12 years ago
Jonathan Frederic
09b289d932
Merge pull request #7274 from Carreau/global-command
...
make global css change on command/edit mode
12 years ago
Matthias Bussonnier
1dfdda6e97
binary or is rare in JS
12 years ago
Min RK
43da311f5e
add Notebook.ensure_extension
...
allows override of file-extension logic in notebook extensions
12 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
12 years ago
Bussonnier Matthias
15ab64e884
make global css change on command/edit mode
12 years ago
Jonathan Frederic
028b79b385
Move kernel logo to right margin.
12 years ago
Jonathan Frederic
2c714357c4
Review comments
12 years ago
Jonathan Frederic
cda53215ba
Improve edit app
12 years ago
Jonathan Frederic
972065ad22
Additional aesthetic clean-up
12 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
12 years ago
Bussonnier Matthias
2b0147c21a
no shadow on print media
...
Also hide celltoolbars
12 years ago
Matthias Bussonnier
6e9ef7abeb
Style notebook as a document
12 years ago
Jonathan Frederic
3969f0ec84
Move terminal less into better location
12 years ago
Min RK
9f9714e11f
remove kernel logo text placeholder
12 years ago
Min RK
da88bff678
add text placeholder for kernels with no logo
...
capital first initial on gray field
12 years ago
Min RK
d5f6aaa1f6
remove kernel selector from header
...
- add kernel name to indicator
- float kernel logo where indicator used to be
12 years ago
Brian E. Granger
6c55690994
Merge pull request #7227 from jdfreder/undead
...
Add visual cue for widgets with dead comms
12 years ago
Thomas Kluyver
5a5f621591
Merge pull request #7247 from Carreau/fix-restore-checkpoint
...
fix restore checkpoint add an empty cell
12 years ago
Thomas Kluyver
2dbc8f5304
Merge pull request #7248 from Carreau/config-ctm
...
pass config to contentsManager
12 years ago
Bussonnier Matthias
f0c5de7c7e
make method private
12 years ago
Bussonnier Matthias
ddbd7aa4fa
add ability to unregister a preset
...
fix #7218
12 years ago
Bussonnier Matthias
3bce53e32e
fix logo on base_url prefix
12 years ago
Bussonnier Matthias
51f1cad6e4
pass config to contentsManager
12 years ago
Bussonnier Matthias
df418c6a62
fix restore checkpoint add an empty cell
12 years ago
Matthias Bussonnier
449384e85f
Merge pull request #7224 from jasongrout/fix-toolbarjs
...
Fix javascript iteration through array
12 years ago
Matthias Bussonnier
7eb4d1b84d
Merge pull request #7225 from Carreau/fix-actions
...
fix leading underscore
12 years ago
Jonathan Frederic
9e67a34891
Bubble event and implement logic in CodeCell
12 years ago
Min RK
26136f44d2
Merge pull request #7088 from Carreau/kernel.js
...
Load the per kernel kernel.js and kernel.css
12 years ago
Bussonnier Matthias
737064d9db
fix leading underscore
...
mering object with itself is stupid otherwise
12 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]
12 years ago
Matthias Bussonnier
031252d44f
Merge pull request #7207 from takluyver/rm-nb-user-config
...
WIP: Remove js user_config module
12 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
12 years ago
Thomas Kluyver
7f221537d4
Fix default_cell_type option for notebook
12 years ago
Thomas Kluyver
938630b475
Remove user_config js module
12 years ago
Brian E. Granger
e090b609d1
Merge pull request #7169 from jdfreder/pager-style
...
Make the new pager look better
12 years ago
Jonathan Frederic
12366e8e8d
Clean up comments
12 years ago
Jonathan Frederic
1e0acbeb31
Write a plugin to handle private function automatically.
12 years ago
Jonathan Frederic
c703b3f3f5
Some clean-up
12 years ago
Jonathan Frederic
beb5ea6deb
Make sure every function appears in the Notebook class.
12 years ago
Jonathan Frederic
d756816e2b
Some typo fixes
12 years ago
Jonathan Frederic
5802309151
Make notebook.js jsdoc compatible
12 years ago
Jonathan Frederic
1aa280d9c9
Start JSDoc integration
12 years ago
Min RK
6661a0a301
fix regular checkpoint updates in notebook
...
in master, this was updating every 10 hours,
regardless of the value, due to a variety of bugs,
including using relativeTimeThreshold getters
that do not exist in moment.js 2.7.
12 years ago
Min RK
982a742112
Merge pull request #6700 from Carreau/actions-2
...
Use notebook actions in toolbar
12 years ago
Bussonnier Matthias
cd67e1aca7
return elements instead of append them directly
...
+ jshint fixes
12 years ago
Jonathan Frederic
12ef806b58
Thinner handle, single handlebar
12 years ago
Bussonnier Matthias
07c6dd8b5d
move setting nb.kernelselector inside kernelselector itself
12 years ago
Bussonnier Matthias
7a3a61fe81
make pseudo action in their own dcit.
...
make test more reliable by adding data-attributes to buttons.
12 years ago
Bussonnier Matthias
08dbdb1640
note to self
12 years ago
Matthias Bussonnier
199483b82d
fix rebase after kill of layout manager
12 years ago
Jonathan Frederic
eb34a4c6c2
Add shadow to pager handle
12 years ago
Jonathan Frederic
9879a3c16c
Make the pager look better
12 years ago
Jonathan Frederic
b1b88a7855
Merge pull request #7147 from jdfreder/print
...
Meta-p for print
12 years ago
Matthias Bussonnier
2d51cec3c8
adresses Min comments x2
12 years ago
Bussonnier Matthias
fc6f562317
complete unicode mac symbol
12 years ago
Bussonnier Matthias
e292a82dff
Fix comments
...
move humanize-map out of function call to have only one instance
12 years ago
Bussonnier Matthias
5be62ba538
fix john coments
12 years ago
Matthias Bussonnier
f43d8585d1
Add notion of actions to celltoolbar
...
modify toolbar.js to be able to deal with actions.
modify maintoolbar to deal with the new action architecture
add a way to triger notification widget hiding
12 years ago
Matthias Bussonnier
f1a167ee19
add an humanize function that prettify shortcut on macos
12 years ago
Jonathan Frederic
bdb0e9dd7a
Move header styles into base less
12 years ago
Jonathan Frederic
f497d06d0c
Avoid using important
12 years ago
Min RK
73c33f402c
remove references to defunct layout_manager in ToolBar
12 years ago
Matthias Bussonnier
912c4bb683
adresses Min comments
12 years ago
Matthias Bussonnier
47822187c1
Fix typos, rephrase english. Thanks Kyle.
12 years ago
Matthias BUSSONNIER
4239dc03f3
load the per kernel kernel.js and kernel.css
...
As per discussion, each kernel can provide a file name kernel.js that
we try to load at kernel switching. If such a file exist we assume that
the kernel pathches the javasscript and that this javascript cannot be
unpatched, and further switching of the kernel cannot be undone without
reloading the page. (separate PR for UI)
if a kernel provide kernel.js, the it should consist into a AMD module
definition that uses require.js the module shoudl define a function name
`onload` that will be called at the appropriate moment before the kernel
starts.
12 years ago
Min RK
e890122c3e
Merge pull request #6537 from takluyver/kernelspec-logos
...
Initial support for supplying kernel logos in kernel spec
12 years ago
Jonathan Frederic
b29d81ee23
Add LESS that enables meta-p printing
12 years ago
Thomas Kluyver
3e2f6dba98
logo-64 -> logo-64x64
12 years ago
Thomas Kluyver
4cee2f5f3a
Merge pull request #7128 from minrk/more-v-less-m
...
A little more V, a little less M in the text editor
12 years ago
Thomas Kluyver
7cc07251e4
Use double resolution logo to support hires displays
12 years ago
Thomas Kluyver
cad0c32137
Hide kernel logo if it's missing
12 years ago
Thomas Kluyver
f123b0d2ad
Initial support for supplying kernel logos in kernel spec
12 years ago
Jonathan Frederic
5d4b83ba4a
Add an event that fires before the notebook saves
12 years ago
Jonathan Frederic
8a5770b811
Add convenience API
12 years ago
Jonathan Frederic
e02a5ec201
Promises...
12 years ago
Jonathan Frederic
d466601dbb
Persistence API,
...
This is a combination of 10 commits.
Enable widget instanciation from front-end.
Address @minrk 's review comments.
Make API that allows users to persist widget state easily.
Added support for view persistence
Started adding support for model persistence.
Half way there!
Finished persistence API.
Move persistence code into the widget framework.
Fin.
Bug fixes
12 years ago
Min RK
c58070a702
make savewidget css a little more generic
...
- use classes instead of IDs
- use .filename instead of #notebook_name
12 years ago
Min RK
2452c0c2f7
checkpoint
12 years ago
Min RK
0b46e2aff2
remove some custom css
...
mainly in navbars, where we were doing custom
things that bootstrap already did with classes.
This did require the removal of multiple class LESS inheritance for
navbar buttons, because it doesn't work properly. Seems like a LESS bug, but I'm not sure.
12 years ago
Nicholas Bollweg (Nick)
c72ad2754c
more fidgeting before starting over
12 years ago
Nicholas Bollweg (Nick)
5858350cc3
handling explicitly provided modes from kernelspec.language_info
12 years ago
Nicholas Bollweg (Nick)
8f5b447eaf
removing monkeypatch, importing rest of codemirror default theme
12 years ago
Nicholas Bollweg (Nick)
68c4714338
using codemirror mode/meta for detection
12 years ago
Matthias Bussonnier
a9fffc41ab
Merge pull request #6950 from minrk/new-new-dropdown
...
Add kernel-select dropdown to new notebook button
12 years ago
Thomas Kluyver
615f5dd13a
Merge pull request #7118 from minrk/script-dispatch
...
Dispatch to custom exporter in ScriptExporter
12 years ago
Min RK
93bbf6d52e
remove nbconvert_exporter handling from frontend
...
dispatch happens in the script exporter,
frontend doesn't need to know about it anymore.
12 years ago
Min RK
befb16ebe3
Merge pull request #6948 from bollwyvl/graceful-mathjax-widgets
...
Ignore failure of widget MathJax typesetting
12 years ago
Min RK
11ef669ec6
kernelspecs is a dict
...
sort menus client-side
12 years ago